import{a as p}from"./chunk-RPTQV6VH.js";import{a as n}from"./chunk-KOXD6BDO.js";import{a as c,f as s}from"./chunk-ZGXE2QDV.js";import{K as a,da as r,ja as o}from"./chunk-ZGECHOBP.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};
