import{a as p}from"./chunk-KFDEPCY3.js";import{a as n}from"./chunk-KOXD6BDO.js";import{a as c,f as s}from"./chunk-GYAYEJFB.js";import{L as a,ea as r,ka as o}from"./chunk-LEOKSAW2.js";var d=(()=>{class e{constructor(t){this._http=t}get(t){return this._http.post("/api/audit/canceled-positions/all",t,{headers:p})}create(t){let i=new c().append(n.SkipError,"skipError").append(n.ActAsGet,"true");return this._http.post("/api/audit/canceled-position",t,{headers:i})}static{this.\u0275fac=function(i){return new(i||e)(o(s))}}static{this.\u0275prov=r({token:e,factory:e.\u0275fac})}}return e})();var P=(()=>{class e{constructor(t){this._canceledPositionApi=t}getCanceledPositions(t){return this._canceledPositionApi.get(t).pipe(a(1))}createCanceledPosition(t){return this._canceledPositionApi.create(t).pipe(a(1))}static{this.\u0275fac=function(i){return new(i||e)(o(d))}}static{this.\u0275prov=r({token:e,factory:e.\u0275fac})}}return e})();export{d as a,P as b};
