import { Subject, Observable } from 'rxjs'; import { HttpClient } from '@angular/common/http'; import { AuthenticationService } from './authentication.service'; import { ToastrService } from 'ngx-toastr'; import { PliCnfPresupuestoGlobal, PliCnfPresupuestoGlobalRubro, PliCnfPresupuestoAsistente } from 'ng-pli-util'; import * as i0 from "@angular/core"; export declare class BudgetService { private environment; private httpClient; private authService; private toastr; /** Notify when a global budget change */ lGlobalBudgetChanged: Subject; /** List of global budget */ private lGlobalBudget; /** Notify when a global budget by category change */ lGlobalBudgetCategoryChanged: Subject; /** List of global budget by category */ private lGlobalBudgetCategory; /** Notify when a global budget by category change */ lGlobalBudgetWizardChanged: Subject; /** List of global budget by category */ private lGlobalBudgetWizard; constructor(environment: any, httpClient: HttpClient, authService: AuthenticationService, toastr: ToastrService); /** Returns a list of PliCnfPresupuestoGlobal */ getListPresupuestoGlobal(promCodigo: number): void; _getListPresupuestoGlobal(promCodigo: number): Observable; /** It saves a pliCnfPresupuestoGlobal */ savePresupuestoGlobal(pliCnfPresupuestoGlobalBefore: PliCnfPresupuestoGlobal, pliCnfPresupuestoGlobal: PliCnfPresupuestoGlobal, patCodigo: number): Observable; setListGlobalBudget(lGlobalBudget: PliCnfPresupuestoGlobal[]): void; getListGlobalBudget(): PliCnfPresupuestoGlobal[]; getListTipoPeriodo(): Observable; getListTipoPresupuesto(): Observable; getAllTipoGeneracionPresupuesto(): Observable; getAllTipoCuentaDestino(): Observable; /** Returns a list of PliCnfPresupuestoGlobalRubro */ getListPresupuestoGlobalCategory(cpreCodigo: number): void; /** It saves a globalBudgetCategory */ savePresupuestoGlobalCategory(globalBudgetCategoryBefore: PliCnfPresupuestoGlobalRubro, globalBudgetCategory: PliCnfPresupuestoGlobalRubro, patCodigo: number): Observable; /** It delete the globalBudgetCategory */ deletePresupuestoGlobalCategory(globalBudgetCategory: PliCnfPresupuestoGlobalRubro): Observable; setListGlobalBudgetCategory(lGlobalBudgetCategory: PliCnfPresupuestoGlobalRubro[]): void; getListGlobalBudgetCategory(): PliCnfPresupuestoGlobalRubro[]; /** Returns a list of PliCnfPresupuestoAsistente */ getListPresupuestoGlobalWizard(cpreCodigo: number): void; /** Returns a list of PliCnfPresupuestoAsistente */ getAllPresupuestoAsistente(cpreCodigo: number): Observable; /** It saves a globalBudgetWizard */ savePresupuestoGlobalWizard(globalBudgetWizardBefore: PliCnfPresupuestoAsistente, globalBudgetWizard: PliCnfPresupuestoAsistente, patCodigo: number): Observable; setListGlobalBudgetWizard(lGlobalBudgetWizard: PliCnfPresupuestoAsistente[]): void; getListGlobalBudgetWizard(): PliCnfPresupuestoAsistente[]; /** * Validate if the category of the budget wizard is used by any beneficiary (only PLIS) */ getBudgetWizardCategoryById(cpreasiCodigo: number): Observable; /** * Validate if the category of the budget wizard is used by any beneficiary (only PLIS) */ isBudgetWizardUseCategory(cpreasiCodigo: number, rubCodigo: number): Observable; updateAsistenteOrden(lPliCnfPresupuestoAsistente: PliCnfPresupuestoAsistente[]): Observable; /**Returns PliCnfPresupuestoGlobalRubro */ _getListPresupuestoGlobalCategory(cpreCodigo: number): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }