import { HttpClient } from '@angular/common/http'; import { Application, ApplicationCnfStatusRequestTO, ApplicationDataFormRequest, ApplicationFormTO, ApplicationValueRequestTO, ChangeStatusByCategoryDto, ChangeStatusDocumenValidationRequest, DataTableParameters, InitialRecord, NewCommitteeSelectedTO, SendDocAnalysisAutoDto } from 'ng-pli-util'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class ApplicationService { private environment; private httpClient; private headerJson; constructor(environment: any, httpClient: HttpClient); /** It returns an application by id */ getById(id: string): Observable; /** It returns an application by id with basic properties */ getByIdLight(id: string): Observable; /** It returns an application by id with the Budget Simulation */ getBudgetSimulationById(id: string): Observable; /** It returns an application by id with basic properties */ getByIdLightIn(idList: string[]): Observable; /** It returns the list of application by dataTableParameters */ getApplicationsByDataTableParameters(dataTableParameters: DataTableParameters): Observable; /** It returns the list of application by prom codigo */ getByPromCodigo(promCodigo: number): Observable; /** It returns the list of application by username */ getByUsername(username: string): Observable; /** It saves an application */ save(application: Application): Observable; /** it returns the last number */ getLastNumber(promCodigo: number): Observable; /** it changes the status */ changeStatusByCategory(lChangeStatusByCategoryDto: ChangeStatusByCategoryDto[]): Observable; /** it changes the status */ changeMassiveStatus(lApplication: Application[]): Observable; changeColor(applicationList: string[], color: number): Observable; /** it gets the history state */ getHistoryState(applicationId: string): Observable; /** it saves massively */ saveMassive(listApplicationDataFormRequest: ApplicationDataFormRequest[], applicationsToVerifyDocument: String[], promCodigo: number, statusRadicado: boolean): Observable; /** * save multiple records * @param listData + */ getByDataTablesParameters(dataTableParameters: DataTableParameters): Observable; /** * It gets the basic information of the application to show in assign task * @param taskId * @param promCodigo * @param reviewer */ getByTaskIdPromCodigoAndReviewer(dataTableParameters: DataTableParameters): Observable; /** * It gets applications by datatable parameters from backoffice * @param dataTableParameters */ getBackAppByDataTablesParameters(dataTableParameters: DataTableParameters): Observable; /** * save multiple records * @param listData + */ getByDataTablesParametersApp(dataTableParameters: DataTableParameters): Observable; /** It returns the list of application by prom codigo */ getByNumberAndPromCodigo(promCodigo: number, number: number): Observable; acceptCredit(application: Application): Observable; confirmBudgetAppointment(application: Application): Observable; initGuaranteeProcess(application: Application): Observable; getLegalizationAndEnsuranceByApplicationId(applicationId: String[]): Observable; generateBankVisionFiles(applicationId: String[]): Observable; saveAcceptDataProcessing(application: Application): Observable; /** * Save total budget amounts, the creditAccepted could be null, the service search this. * @param applicationBudgetTotalAmount An json object with: applicationBudgetTotal, applicationId:string, creditAccepted:boolean */ saveBudgetTotalAmount(applicationBudgetTotalAmount: any): Observable; /** * Save financing observation in budget application. * @param ApplicationBudgetObservation An json object with: observation:string, applicationId:string */ saveObservationFinancingBudget(ApplicationBudgetObservation: any): Observable; blockBudget(applicationId: String): Observable; unblockBudget(applicationId: String, observation: String): Observable; isBlockBudget(applicationId: String): Observable; sendCodebtorResponseByStaticInteraction(applicationId: string, interaction: number, promCodigo: number, response: boolean, codebtor: string, changeStatusByCategoryDto: ChangeStatusByCategoryDto, sendEmailToCodebtor: boolean): Observable; /** * Get unsent applications * @param promCodigo * @param budgetTypeId * @param formIds */ getFullNotSubmittedByPromCodigo(promCodigo: string, budgetTypeId: string, formIds: string[], stateId: number, atLeastOneDocument?: boolean): Observable; getNotSubmittedByFullDocuments(promCodigo: string, stateId: number): Observable; /** * * @param applicationId */ getMassiveDataByApplicationId(applicationId: string): Observable; getByUsernameAndPromCodigo(username: string, promCodigos: number[]): Observable; updateAllInitialRecord(initialRecord: InitialRecord): Observable; updateSingleApplicationValue(applicationValueRequestTO: ApplicationValueRequestTO): Observable; /** It returns the list by dataTableParameters for automatic document analysis*/ getByByDocumentValidation(dataTableParameters: DataTableParameters): Observable; /** Change document status manually.*/ updateStatusValidationDocument(changeStatusDocumenValidationRequest: ChangeStatusDocumenValidationRequest): Observable; updateAnalysisDocumentInfo(applicationFormTO: ApplicationFormTO): Observable; verifyAutoAnalysisDoc(sendDocAnalysisAutoDto: SendDocAnalysisAutoDto): Observable; getAppCountByPromCodigo(promCodigo: number): Observable; getPeaceAndSafetyRiskCentersByApplicationId(applicationId: String[], promCodigo: number): Observable; validateApplicationStatus(applicationCnfStatusRequestTO: ApplicationCnfStatusRequestTO): Observable; updateAllStatusAndColor(newCommitteeSelectedTo: NewCommitteeSelectedTO): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }