UNPKG

nsrtm-gestionarchivo-npm-prueba2

Version:

Proyecto de Libreria Frontend para la Gestión de Archivos

308 lines (307 loc) 11.3 kB
import { HttpClient, HttpContext } from '@angular/common/http'; import { BaseService } from '../base-service'; import { ApiConfiguration } from '../api-configuration'; import { StrictHttpResponse } from '../strict-http-response'; import { Observable } from 'rxjs'; import { CustomPageDatosArchivoProjection } from '../models/custom-page-datos-archivo-projection'; import { GestionArchivoResponse } from '../models/gestion-archivo-response'; import * as i0 from "@angular/core"; export declare class GestionArchivoControllerService extends BaseService { constructor(config: ApiConfiguration, http: HttpClient); /** * Path part for operation agregarArchivo */ static readonly AgregarArchivoPath = "/gestion-archivos/subir"; /** * Agregar archivo. * * Permite agregar directorio * * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `agregarArchivo()` instead. * * This method sends `multipart/form-data` and handles request body of type `multipart/form-data`. */ agregarArchivo$Response(params?: { context?: HttpContext; body?: { 'request': string; 'file'?: Blob; }; }): Observable<StrictHttpResponse<{}>>; /** * Agregar archivo. * * Permite agregar directorio * * This method provides access to only to the response body. * To access the full response (for headers, for example), `agregarArchivo$Response()` instead. * * This method sends `multipart/form-data` and handles request body of type `multipart/form-data`. */ agregarArchivo(params?: { context?: HttpContext; body?: { 'request': string; 'file'?: Blob; }; }): Observable<{}>; /** * Path part for operation cargarArchivoTrama */ static readonly CargarArchivoTramaPath = "/gestion-archivos/cargar-archivo-trama"; /** * Cargar archivo por funcionalidad. * * Permite Cargar archivo por funcionalidad * * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `cargarArchivoTrama()` instead. * * This method sends `multipart/form-data` and handles request body of type `multipart/form-data`. */ cargarArchivoTrama$Response(params?: { context?: HttpContext; body?: { 'request': string; 'file'?: Blob; }; }): Observable<StrictHttpResponse<{}>>; /** * Cargar archivo por funcionalidad. * * Permite Cargar archivo por funcionalidad * * This method provides access to only to the response body. * To access the full response (for headers, for example), `cargarArchivoTrama$Response()` instead. * * This method sends `multipart/form-data` and handles request body of type `multipart/form-data`. */ cargarArchivoTrama(params?: { context?: HttpContext; body?: { 'request': string; 'file'?: Blob; }; }): Observable<{}>; /** * Path part for operation cargarArchivosMasivo */ static readonly CargarArchivosMasivoPath = "/gestion-archivos/cargar-archivo-trama-masivo"; /** * Permite la carga de archivos masivo. * * Permite la carga de archivos masivo * * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `cargarArchivosMasivo()` instead. * * This method sends `multipart/form-data` and handles request body of type `multipart/form-data`. */ cargarArchivosMasivo$Response(params?: { context?: HttpContext; body?: { 'request': string; 'files': Array<Blob>; }; }): Observable<StrictHttpResponse<void>>; /** * Permite la carga de archivos masivo. * * Permite la carga de archivos masivo * * This method provides access to only to the response body. * To access the full response (for headers, for example), `cargarArchivosMasivo$Response()` instead. * * This method sends `multipart/form-data` and handles request body of type `multipart/form-data`. */ cargarArchivosMasivo(params?: { context?: HttpContext; body?: { 'request': string; 'files': Array<Blob>; }; }): Observable<void>; /** * Path part for operation obtenerDetalleArchivo */ static readonly ObtenerDetalleArchivoPath = "/gestion-archivos/obtener"; /** * Retorna el detalle del archivo. * * Permite obtener el detalle de un archivo * * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `obtenerDetalleArchivo()` instead. * * This method doesn't expect any request body. */ obtenerDetalleArchivo$Response(params: { id_archivo: number; anio: number; context?: HttpContext; }): Observable<StrictHttpResponse<GestionArchivoResponse>>; /** * Retorna el detalle del archivo. * * Permite obtener el detalle de un archivo * * This method provides access to only to the response body. * To access the full response (for headers, for example), `obtenerDetalleArchivo$Response()` instead. * * This method doesn't expect any request body. */ obtenerDetalleArchivo(params: { id_archivo: number; anio: number; context?: HttpContext; }): Observable<GestionArchivoResponse>; /** * Path part for operation obtenerContenidoArchivo */ static readonly ObtenerContenidoArchivoPath = "/gestion-archivos/obtener-contenido"; /** * Retorna el contenido del archivo. * * Permite descargar el archivo * * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `obtenerContenidoArchivo()` instead. * * This method doesn't expect any request body. */ obtenerContenidoArchivo$Response(params: { id_laserfiche: number; context?: HttpContext; }): Observable<StrictHttpResponse<Blob>>; /** * Retorna el contenido del archivo. * * Permite descargar el archivo * * This method provides access to only to the response body. * To access the full response (for headers, for example), `obtenerContenidoArchivo$Response()` instead. * * This method doesn't expect any request body. */ obtenerContenidoArchivo(params: { id_laserfiche: number; context?: HttpContext; }): Observable<Blob>; /** * Path part for operation obtenerContenidoArchivoPorId */ static readonly ObtenerContenidoArchivoPorIdPath = "/gestion-archivos/obtener-contenido-archivo"; /** * Retorna el contenido del archivo. * * Permite descargar el archivo * * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `obtenerContenidoArchivoPorId()` instead. * * This method doesn't expect any request body. */ obtenerContenidoArchivoPorId$Response(params: { id_archivo: number; anio: number; context?: HttpContext; }): Observable<StrictHttpResponse<Blob>>; /** * Retorna el contenido del archivo. * * Permite descargar el archivo * * This method provides access to only to the response body. * To access the full response (for headers, for example), `obtenerContenidoArchivoPorId$Response()` instead. * * This method doesn't expect any request body. */ obtenerContenidoArchivoPorId(params: { id_archivo: number; anio: number; context?: HttpContext; }): Observable<Blob>; /** * Path part for operation listarArchivos */ static readonly ListarArchivosPath = "/gestion-archivos/listar"; /** * Permite listar los archivos de una Declaracion / Liquidacion. * * Permite listar los archivos de una Declaracion / Liquidacion * * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `listarArchivos()` instead. * * This method doesn't expect any request body. */ listarArchivos$Response(params: { numero_dec_liq: number; medio_digital_id: number; procesoModuloId: number; anio: number; campo2: string; campo3: string; page?: number; page_size?: number; context?: HttpContext; }): Observable<StrictHttpResponse<CustomPageDatosArchivoProjection>>; /** * Permite listar los archivos de una Declaracion / Liquidacion. * * Permite listar los archivos de una Declaracion / Liquidacion * * This method provides access to only to the response body. * To access the full response (for headers, for example), `listarArchivos$Response()` instead. * * This method doesn't expect any request body. */ listarArchivos(params: { numero_dec_liq: number; medio_digital_id: number; procesoModuloId: number; anio: number; campo2: string; campo3: string; page?: number; page_size?: number; context?: HttpContext; }): Observable<CustomPageDatosArchivoProjection>; /** * Path part for operation anularArchivo */ static readonly AnularArchivoPath = "/gestion-archivos/anular/{archivoId}/{anio}"; /** * Permite anula un archivo. * * Anula un archivo * * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `anularArchivo()` instead. * * This method doesn't expect any request body. */ anularArchivo$Response(params: { archivoId: number; anio: number; context?: HttpContext; }): Observable<StrictHttpResponse<{}>>; /** * Permite anula un archivo. * * Anula un archivo * * This method provides access to only to the response body. * To access the full response (for headers, for example), `anularArchivo$Response()` instead. * * This method doesn't expect any request body. */ anularArchivo(params: { archivoId: number; anio: number; context?: HttpContext; }): Observable<{}>; static ɵfac: i0.ɵɵFactoryDeclaration<GestionArchivoControllerService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<GestionArchivoControllerService>; }