import{a as p}from"./chunk-PLVHWZTL.js";import{i as h}from"./chunk-YMOV4UGM.js";import{ga as a,la as n}from"./chunk-I3FGJX2C.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-QNQHMBNB.js.map
