import{a as p}from"./chunk-3D4AQGON.js";import{a}from"./chunk-QVU4DP2P.js";import{f as o}from"./chunk-ZGXE2QDV.js";import{K as i,da as n,ja as r}from"./chunk-ZGECHOBP.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 l=(()=>{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(t=!1){return this._accountsServiceApi.syncAccount(t).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,l as b};
