"use strict";var MasterDataService={getObjectsRegistrationFree:function(t,e){return $.ajax({url:"/api/dataentities/"+t+"/"+e,contentType:"application/json; charset=utf-8",type:"GET"})},getObjectRegistrationByEspecificField:function(t,e,a){var n={f:t,fq:t+":"+e};return $.ajax({url:"/api/ds/pub/documents/"+a,contentType:"application/json; charset=utf-8",data:n,type:"GET"})},saveData:function(t,e,a,n){return $.ajax({url:"/api/ds/pub/documents/"+e,enctype:null==a?"":a.enctype,cache:null==a?"":a.cache,processData:null==a?"":a.processData,contentType:null==a?"application/json; charset=utf-8":a.contentType,data:JSON.stringify(t),type:null==n?"POST":n})},addAttachment:function(t,e,a,n){return fetch("/api/dataentities/"+e+"/documents/"+a+"/"+n+"/attachments",{method:"POST",body:t})}};