import{a as p}from"./chunk-JUPKAJPM.js";import{i as h}from"./chunk-Z2AWIQRI.js";import{ia as a,na as n}from"./chunk-C2QKZJOP.js";var s=(()=>{let e=class e{constructor(t){this._http=t,this._defaultFilter={criteria:null,take:100,skip:0,orderBy:"id",isAscending:!0}}getPaymentMethods(t){return this._http.get(`/api/payment-method/${t}/all`)}getPaymentMethodsWithArchive(t){return this._http.get(`/api/payment-method/${t}/all?viewArchive=true`)}getPaymentMethodById(t){return this._http.get(`/api/payment-method/${t}`)}editPaymentMethod(t,i){return this._http.put(`/api/payment-method/${t}`,i)}createPaymentMethod(t){return this._http.post("/api/payment-method",t)}deletePaymentMethod(t){return this._http.delete(`/api/payment-method/${t}`)}getTrinityPaymentMethods(t){return this._http.post(`/api/trinity-payment-method/${t}/all`,this._defaultFilter,{headers:p})}createTrinityPaymentMethod(t){return this._http.post("/api/trinity-payment-method",t)}editTrinityPaymentMethod(t,i){return this._http.put(`/api/trinity-payment-method/${i}`,t)}deleteTrinityPaymentMethod(t){return this._http.delete(`/api/trinity-payment-method/${t}`)}editOrder(t){return this._http.put("/api/payment-method/edit-order",t)}deletePosTerminal(t){return this._http.delete(`/api/payment-method/pos-terminal/${t}`)}};e.\u0275fac=function(i){return new(i||e)(n(h))},e.\u0275prov=a({token:e,factory:e.\u0275fac});let r=e;return r})();export{s as a};
//# sourceMappingURL=chunk-WV57B4F3.js.map
