/** * Kogui * Kogui App * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Evento } from '../model/evento'; import { EventoBase } from '../model/eventoBase'; import { EventoPatch } from '../model/eventoPatch'; import { FotoEvento } from '../model/fotoEvento'; import { Configuration } from '../configuration'; export declare class EventosService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * Elimina un evento. * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ deleteEmpresaByIdEventoById(empresaId: string, eventoId: string, observe?: 'body', reportProgress?: boolean): Observable; deleteEmpresaByIdEventoById(empresaId: string, eventoId: string, observe?: 'response', reportProgress?: boolean): Observable>; deleteEmpresaByIdEventoById(empresaId: string, eventoId: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Obtiene informacion de la foto. * Obtiene informacion de la foto con el id especificado. * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @param fotoId El id de la foto. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ deleteEmpresaByIdEventosByIdFotoById(empresaId: string, eventoId: string, fotoId: string, observe?: 'body', reportProgress?: boolean): Observable; deleteEmpresaByIdEventosByIdFotoById(empresaId: string, eventoId: string, fotoId: string, observe?: 'response', reportProgress?: boolean): Observable>; deleteEmpresaByIdEventosByIdFotoById(empresaId: string, eventoId: string, fotoId: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Obtiene el detalle de un evento por su id. * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getEmpresaByIdEventoById(empresaId: string, eventoId: string, observe?: 'body', reportProgress?: boolean): Observable; getEmpresaByIdEventoById(empresaId: string, eventoId: string, observe?: 'response', reportProgress?: boolean): Observable>; getEmpresaByIdEventoById(empresaId: string, eventoId: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Obtiene las fotos del evento. * Obtiene las fotos del evento. * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getEmpresaByIdEventoByIdFotos(empresaId: string, eventoId: string, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresaByIdEventoByIdFotos(empresaId: string, eventoId: string, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresaByIdEventoByIdFotos(empresaId: string, eventoId: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obtiene el listing de personas. * Permite descargar el listin de personas. * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @param attachment Especifica el disposition * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getEmpresaByIdEventoByIdListing(empresaId: string, eventoId: string, attachment?: boolean, observe?: 'body', reportProgress?: boolean): Observable; getEmpresaByIdEventoByIdListing(empresaId: string, eventoId: string, attachment?: boolean, observe?: 'response', reportProgress?: boolean): Observable>; getEmpresaByIdEventoByIdListing(empresaId: string, eventoId: string, attachment?: boolean, observe?: 'events', reportProgress?: boolean): Observable>; /** * Obtiene informacion de la foto. * Obtiene informacion de la foto con el id especificado. * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @param fotoId El id de la foto. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getEmpresaByIdEventosByIdFotoById(empresaId: string, eventoId: string, fotoId: string, observe?: 'body', reportProgress?: boolean): Observable; getEmpresaByIdEventosByIdFotoById(empresaId: string, eventoId: string, fotoId: string, observe?: 'response', reportProgress?: boolean): Observable>; getEmpresaByIdEventosByIdFotoById(empresaId: string, eventoId: string, fotoId: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Obtiene la lista de eventos paginadas. por defecto se ordenan en orden descendiente de creacion. * Al obtener los eventos puede especificar una paginacion y orden para mostrarlo. * @param empresaId Especifica la empresaid. * @param $filter * @param $size * @param $page * @param $sort * @param $fields * @param $search Permite buscar por fulltext. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getEmpresasByIdEventos(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresasByIdEventos(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresasByIdEventos(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @param eventoPatch Solicitud de Patch sobre el evento. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patchEmpresaByIdEventoById(empresaId: string, eventoId: string, eventoPatch?: EventoPatch, observe?: 'body', reportProgress?: boolean): Observable; patchEmpresaByIdEventoById(empresaId: string, eventoId: string, eventoPatch?: EventoPatch, observe?: 'response', reportProgress?: boolean): Observable>; patchEmpresaByIdEventoById(empresaId: string, eventoId: string, eventoPatch?: EventoPatch, observe?: 'events', reportProgress?: boolean): Observable>; /** * Sube una foto o recurso asocida a un Evento. * Permite subir una fotos o un conjunto de fotos. * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @param fotoFile * @param fotoUri * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ postEmpresaByIdEventoByIdFotos(empresaId: string, eventoId: string, fotoFile?: Blob, fotoUri?: string, observe?: 'body', reportProgress?: boolean): Observable; postEmpresaByIdEventoByIdFotos(empresaId: string, eventoId: string, fotoFile?: Blob, fotoUri?: string, observe?: 'response', reportProgress?: boolean): Observable>; postEmpresaByIdEventoByIdFotos(empresaId: string, eventoId: string, fotoFile?: Blob, fotoUri?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Crea un nuevo evento, en estado borrador. * Crea un nuevo evento. El evento es creado en estado borrador. Para permitir su edicion y cambio de estado. * @param empresaId Especifica la empresaid. * @param eventoBase Un Objeto JSON que representa la informacion del Evento a crear. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ postEmpresasByIdEventos(empresaId: string, eventoBase?: EventoBase, observe?: 'body', reportProgress?: boolean): Observable; postEmpresasByIdEventos(empresaId: string, eventoBase?: EventoBase, observe?: 'response', reportProgress?: boolean): Observable>; postEmpresasByIdEventos(empresaId: string, eventoBase?: EventoBase, observe?: 'events', reportProgress?: boolean): Observable>; }