import { HttpClient } from '@angular/common/http'; import { AuthenticationService } from './authentication.service'; import { Observable } from 'rxjs'; import { ConfigurationDocument, TipoDocumental } from 'ng-pli-util'; import * as i0 from "@angular/core"; export declare class ConfigurationDocumentService { private environment; private httpClient; private authService; private headerJson; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_ESPACIO: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_ESPACIO_1: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_ESPACIO_2: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_ESPACIO_3: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_ESPACIO_4: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_PROGRAMA_ORIGEN: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_TIPO_DOCUMENTAL: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_NOMBRES_APELLIDOS: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_NUMERO_DOCUMENTO: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_ANO_PROMOCION: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_PROMOCION: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_PROGRAMA: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_PATROCINADOR: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_FECHA_ACTUAL: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_RUTA_DOCUMENTO: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_CONSECUTIVO: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_TIPO_ARCHIVO: string; /** */ static STATIC_TOKEN_DOCUMENTARY_KEY_EMAIL: string; /** */ static STATIC_TOKEN_DOCUMENTARY: any[]; static DOCUMENT_STORAGE: string; constructor(environment: any, httpClient: HttpClient, authService: AuthenticationService); /** It returns the list documents by promCodigo and tgdocCodigo */ geListByPromCodigoAndTgdocCodigo(promCodigo: number, tgdocCodigo: number): Observable; /** It returns the list documents by prom codigo */ getListByPromCodigo(promCodigo: number): Observable; /** It returns the configuration document by id */ getById(id: number): Observable; /** It saves a configuration-document */ save(configurationDocument: ConfigurationDocument): Observable; getConfigCloningConDocumentMap(oldPPP: number, newPPP: number): Observable; /** It updates a configuration-document list */ updatePosition(lConfigurationDocument: ConfigurationDocument[]): Observable; /** It returns the list documents by tdl codigo */ getByTdlCodigo(tdlCodigo: number): Observable; /** It returns the list documents by promCodigo and tdlCodigo */ getByPromCodigoAndTdlCodigo(promCodigo: number, tdlCodigo: number): Observable; /** It returns the list of tipo grupo documental */ getListTipoGrupoDocumental(): Observable; createDocumentName(documentaryType: TipoDocumental, idPerson: string, fileName: string): string; /** It returns the cnf document according to profile have been setting up */ getByPromCodigoAndProfile(promCodigo: number, patCodigo: number): Observable; /** It returns the cnf document according to profile have been setting up */ getDocumentProfiles(configurationDocumentId: number): Observable; getDocumentsEncrypted(patCodigo: string, promCodigo: string): Promise; getEncryptedByPromCodigoProfile(patCodigo: string, promCodigo: string): Observable; saveProfiles(lProfileDocument: any[]): Observable; deleteProfileByIdAndFormId(profileId: number, configurationDocumentId: number): Observable; deleteByListId(lProfileDocument: any[]): Observable; /** It saves a configuration-document */ saveAll(lConfigurationDocument: ConfigurationDocument[]): Observable; getByFormAssociationFormId(formId: string): Observable; getByPromCodigoAndAutomaticValidation(promCodigo: number): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }