import{b as l}from"./chunk-B47LJMRU.js";import{c as m}from"./chunk-CX23ZL4L.js";import{a as r}from"./chunk-KHAMQZND.js";import{c as u}from"./chunk-OBT56KUD.js";import{pa as $,ua as a}from"./chunk-IYD54RT7.js";import{a as h,b as n}from"./chunk-RVFOIZLJ.js";var S=(()=>{let s=class s{constructor(t,e){this.http=t,this.fileService=e}getScriptDefList(t,e){return this.http.get(`${r}/script/tmo/${t}/def/set/${e}`)}getScriptDefListPagination(t,e,i,p){let o={};return i&&(o=n(h({},o),{pageNum:i})),p&&(o=n(h({},o),{count:p})),this.http.get(`${r}/script/tmo/${t}/def/set/${e}`,{params:o})}getFilteredScriptDefCount(t,e){return this.http.get(`${r}/script/tmo/${t}/def/set/${e}/count`)}getScriptDef(t,e){return this.http.get(`${r}/script/tmo/${t}/def/${e}`)}getAllScriptResults(t){return this.http.get(`${r}/script/tmo/${t}/result`)}getScriptResults(t,e){return this.http.get(`${r}/script/tmo/${t}/result/def/${e}`)}getScriptResult(t,e){return this.http.get(`${r}/script/tmo/${t}/result/${e}/details`)}getBatch(t,e){return this.http.get(`${r}/script/tmo/${t}/batch/${e}`)}getBatches(t,e,i,p,o){return this.http.get(`${r}/script/tmo/${t}/batch/set/${e}`,{params:{count:o,pageNum:p,filter:i}})}getBatchesCount(t,e,i){return this.http.get(`${r}/script/tmo/${t}/batch/set/${e}/count`,{params:{filter:i}})}getBatchResults(t,e,i,p){return this.http.get(`${r}/script/tmo/${t}/result/batch/${e}`,{params:{count:p,pageNum:i,orderByAttributeType:l.NAME}})}getBatchResultsCount(t,e){return this.http.get(`${r}/script/tmo/${t}/result/batch/${e}/count`)}downloadTmo(t,e){return this.http.get(`${r}/script/tmo/${t}/download/${e}`,{responseType:"blob"})}downloadBatch(t,e){return this.http.get(`${r}/script/tmo/${t}/download/batch/${e}`,{responseType:"blob"})}getSetDiffs(t,e){return this.http.post(`${r}/script/tmo/${t}/diff`,e)}};s.\u0275fac=function(e){return new(e||s)(a(u),a(m))},s.\u0275prov=$({token:s,factory:s.\u0275fac,providedIn:"root"});let c=s;return c})();export{S as a};
