import{a as p}from"./chunk-CERUNWXK.js";import{a}from"./chunk-PGDL3Q7A.js";import{x as o}from"./chunk-OIJW4GMG.js";import{J as i,ca as n,ia as r}from"./chunk-3FIHWXA5.js";var s=(()=>{class e{constructor(t){this._http=t}getBanks(){return this._http.get("/api/bank")}static{this.\u0275fac=function(c){return new(c||e)(r(o))}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac})}}return e})();var S=(()=>{class e{constructor(t,c,u){this._accountsServiceApi=t,this._operationBaseServiceApi=c,this._bankServiceApi=u}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))}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(){return this._accountsServiceApi.syncAccount().pipe(i(1))}static{this.\u0275fac=function(c){return new(c||e)(r(a),r(p),r(s))}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac})}}return e})();export{s as a,S as b};
