import{a as u}from"./chunk-NI4DO7GG.js";import{a as p}from"./chunk-JGB757OO.js";import{a as s}from"./chunk-PLVHWZTL.js";import{i as o}from"./chunk-YMOV4UGM.js";import{K as i,ga as a,la as n}from"./chunk-I3FGJX2C.js";var A=(()=>{let e=class e{constructor(t){this._http=t}getBanks(){return this._http.get("/api/bank")}syncBank(){return this._http.post("/api/bank/sync",{},{headers:s})}};e.\u0275fac=function(c){return new(c||e)(n(o))},e.\u0275prov=a({token:e,factory:e.\u0275fac});let r=e;return r})();var B=(()=>{let e=class e{constructor(t,c,h){this._accountsServiceApi=t,this._operationBaseServiceApi=c,this._bankServiceApi=h}getAccounts(t){return this._accountsServiceApi.getAccounts(t).pipe(i(1))}getById(t){return this._accountsServiceApi.getAccount(t).pipe(i(1))}create(t){return this._accountsServiceApi.create(t).pipe(i(1))}edit(t,c){return this._accountsServiceApi.edit(t,c).pipe(i(1))}getBanks(){return this._bankServiceApi.getBanks().pipe(i(1))}syncBank(){return this._bankServiceApi.syncBank().pipe(i(1))}getAccountOperationBases(){return this._operationBaseServiceApi.getAccountOperationBases().pipe(i(1))}getAllAccountOperations(t,c){return this._accountsServiceApi.getAllAccountOperations(t,c).pipe(i(1))}getAccountOperationByOperationId(t){return this._accountsServiceApi.getAccountOperationByOperationId(t).pipe(i(1))}getDefaultCashAccount(t){return this._accountsServiceApi.getDefaultCashAccount(t).pipe(i(1))}syncAccount(t=!1){return this._accountsServiceApi.syncAccount(t).pipe(i(1))}};e.\u0275fac=function(c){return new(c||e)(n(p),n(u),n(A))},e.\u0275prov=a({token:e,factory:e.\u0275fac});let r=e;return r})();export{A as a,B as b};
//# sourceMappingURL=chunk-RRITBJQX.js.map
