/** * 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 { Movimiento } from '../model/movimiento'; import { Persona } from '../model/persona'; import { Reserva } from '../model/reserva'; import { ReservaBase } from '../model/reservaBase'; import { ReservaPatch } from '../model/reservaPatch'; import { TipoReserva } from '../model/tipoReserva'; import { Configuration } from '../configuration'; export declare class ReservasService { 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 o cancela una reserva. * Elimina o cancela una reserva. * @param empresaId Especifica la empresaid. * @param reservaId El id de una reserva a eliminar asociado al evento y 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. */ deleteEmpresasBydReservaById(empresaId: string, reservaId: string, observe?: 'body', reportProgress?: boolean): Observable; deleteEmpresasBydReservaById(empresaId: string, reservaId: string, observe?: 'response', reportProgress?: boolean): Observable>; deleteEmpresasBydReservaById(empresaId: string, reservaId: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * La lista de reservas para una actividaf en un dia en especifica. * La lista de reservas para una actividaf en un dia en especifica. * @param empresaId Especifica la empresaid. * @param actividadId El id de un evento asociado a la empresa. * @param yyyymmdd La fecha de la programacion. * @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. */ getEmpresasByIdActividadesByIdReservas(empresaId: string, actividadId: string, yyyymmdd: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresasByIdActividadesByIdReservas(empresaId: string, actividadId: string, yyyymmdd: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresasByIdActividadesByIdReservas(empresaId: string, actividadId: string, yyyymmdd: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obtiene las reservas que han sido canceladas con o sin movimientos. * Obiene las reservas que han sido modificadas o tienen movimientos nuevos. * @param empresaId Especifica la empresaid. * @param $filter * @param $size * @param $page * @param $sort * @param $fields * @param $search Permite buscar por fulltext. * @param tipo Permite definir el tipo de la reserva. * @param fdesde Fecha desde donde se debe hacer la consulta. * @param fhasta Fechas hasta inclusive. * @param zoffset Especifica la zona para el calculo de las fechas. * @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. */ getEmpresasByIdCancelacionesReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, tipo?: TipoReserva, fdesde?: string, fhasta?: string, zoffset?: string, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresasByIdCancelacionesReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, tipo?: TipoReserva, fdesde?: string, fhasta?: string, zoffset?: string, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresasByIdCancelacionesReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, tipo?: TipoReserva, fdesde?: string, fhasta?: string, zoffset?: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * La lista de reservas para una evento en especifica * Los eventos. * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @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. */ getEmpresasByIdEventosByIdReservas(empresaId: string, eventoId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresasByIdEventosByIdReservas(empresaId: string, eventoId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresasByIdEventosByIdReservas(empresaId: string, eventoId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obtiene las pre-reservas de una empresa. * Obtiene las pre-reservas de una empresa. * @param empresaId Especifica la empresaid. * @param $filter * @param $size * @param $page * @param $sort * @param $fields * @param $search Permite buscar por fulltext. * @param tipo Permite definir el tipo de la reserva. * @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. */ getEmpresasByIdPreReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, tipo?: TipoReserva, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresasByIdPreReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, tipo?: TipoReserva, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresasByIdPreReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, tipo?: TipoReserva, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obtiene las reservas de una empresa. * Obtiene las reservas de una empresa. * @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. */ getEmpresasByIdReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresasByIdReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresasByIdReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obtiene las reservas de una empresa por su codigo. * Obtiene las reservas de una empresa por su codigo. * @param empresaId Especifica la empresaid. * @param codigo Codigo de la reserva. * @param $fields * @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. */ getEmpresasByIdReservasByCodigo(empresaId: string, codigo: number, $fields?: string, observe?: 'body', reportProgress?: boolean): Observable; getEmpresasByIdReservasByCodigo(empresaId: string, codigo: number, $fields?: string, observe?: 'response', reportProgress?: boolean): Observable>; getEmpresasByIdReservasByCodigo(empresaId: string, codigo: number, $fields?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Lista los movimientos de una reserva * Los movimientos de una reserva * @param empresaId Especifica la empresaid. * @param reservaId El id de una reserva a eliminar asociado al evento y 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. */ getEmpresasByIdReservasByIdMovimientos(empresaId: string, reservaId: string, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresasByIdReservasByIdMovimientos(empresaId: string, reservaId: string, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresasByIdReservasByIdMovimientos(empresaId: string, reservaId: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * El movimiento de una reserva por su indice * El movimiento de una reserva por su indice * @param empresaId Especifica la empresaid. * @param reservaId El id de una reserva a eliminar asociado al evento y a la empresa. * @param movimientoIndex El indice del movimiento. * @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. */ getEmpresasByIdReservasByIdMovimientosByIndex(empresaId: string, reservaId: string, movimientoIndex: number, observe?: 'body', reportProgress?: boolean): Observable; getEmpresasByIdReservasByIdMovimientosByIndex(empresaId: string, reservaId: string, movimientoIndex: number, observe?: 'response', reportProgress?: boolean): Observable>; getEmpresasByIdReservasByIdMovimientosByIndex(empresaId: string, reservaId: string, movimientoIndex: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Obtiene la lista de personas de una reserva. * Obtiene la lista de personas de una reserva. * @param empresaId Especifica la empresaid. * @param reservaId El id de una reserva a eliminar asociado al evento y 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. */ getEmpresasByIdReservasByIdPersonas(empresaId: string, reservaId: string, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresasByIdReservasByIdPersonas(empresaId: string, reservaId: string, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresasByIdReservasByIdPersonas(empresaId: string, reservaId: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obiene las reservas que han sido modificadas o tienen movimientos nuevos. * Obiene las reservas que han sido modificadas o tienen movimientos nuevos. * @param empresaId Especifica la empresaid. * @param $filter * @param $size * @param $page * @param $sort * @param $fields * @param $search Permite buscar por fulltext. * @param tipo Permite definir el tipo de la reserva. * @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. */ getEmpresasBydNotificacionReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, tipo?: TipoReserva, observe?: 'body', reportProgress?: boolean): Observable>; getEmpresasBydNotificacionReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, tipo?: TipoReserva, observe?: 'response', reportProgress?: boolean): Observable>>; getEmpresasBydNotificacionReservas(empresaId: string, $filter?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $search?: string, tipo?: TipoReserva, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obtiene el detalle de una reserva. * Obtiene el detalle de una reserva. * @param empresaId Especifica la empresaid. * @param reservaId El id de una reserva a eliminar asociado al evento y 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. */ getEmpresasBydReservaById(empresaId: string, reservaId: string, observe?: 'body', reportProgress?: boolean): Observable; getEmpresasBydReservaById(empresaId: string, reservaId: string, observe?: 'response', reportProgress?: boolean): Observable>; getEmpresasBydReservaById(empresaId: string, reservaId: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * El movimiento de una reserva por su indice * El movimiento de una reserva por su indice * @param usuario El usuario de kogui. * @param reservaId El id de una reserva asociado al usuario. * @param movimientoIndex El indice del movimiento. * @param xFcmtoken * @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. */ getKoguiByUsuarioReservasByIdMovimientosByIndex(usuario: string, reservaId: string, movimientoIndex: number, xFcmtoken?: string, observe?: 'body', reportProgress?: boolean): Observable; getKoguiByUsuarioReservasByIdMovimientosByIndex(usuario: string, reservaId: string, movimientoIndex: number, xFcmtoken?: string, observe?: 'response', reportProgress?: boolean): Observable>; getKoguiByUsuarioReservasByIdMovimientosByIndex(usuario: string, reservaId: string, movimientoIndex: number, xFcmtoken?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * El adjunto de un movimiento de una reserva por su indice * El adjunto de un movimiento de una reserva por su indice * @param usuario El usuario de kogui. * @param reservaId El id de una reserva asociado al usuario. * @param movimientoIndex El indice del movimiento. * @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. */ getKoguiByUsuarioReservasByIdMovimientosByIndexAdjunto(usuario: string, reservaId: string, movimientoIndex: number, attachment?: boolean, observe?: 'body', reportProgress?: boolean): Observable; getKoguiByUsuarioReservasByIdMovimientosByIndexAdjunto(usuario: string, reservaId: string, movimientoIndex: number, attachment?: boolean, observe?: 'response', reportProgress?: boolean): Observable>; getKoguiByUsuarioReservasByIdMovimientosByIndexAdjunto(usuario: string, reservaId: string, movimientoIndex: number, attachment?: boolean, observe?: 'events', reportProgress?: boolean): Observable>; /** * @param empresaId Especifica la empresaid. * @param reservaId El id de una reserva a eliminar asociado al evento y a la empresa. * @param reservaPatch Solicitud de Patch sobre la reserva. * @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. */ patchEmpresasBydReservaById(empresaId: string, reservaId: string, reservaPatch?: ReservaPatch, observe?: 'body', reportProgress?: boolean): Observable; patchEmpresasBydReservaById(empresaId: string, reservaId: string, reservaPatch?: ReservaPatch, observe?: 'response', reportProgress?: boolean): Observable>; patchEmpresasBydReservaById(empresaId: string, reservaId: string, reservaPatch?: ReservaPatch, observe?: 'events', reportProgress?: boolean): Observable>; /** * Crea una nueva reserva asociado a la actividad. * Aparte el cupo reservando par la actividad. * @param empresaId Especifica la empresaid. * @param actividadId El id de un evento asociado a la empresa. * @param yyyymmdd La fecha de la programacion. * @param reservaBase Reserva Request * @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. */ postEmpresasByIdActividadesByIdReservas(empresaId: string, actividadId: string, yyyymmdd: string, reservaBase: ReservaBase, observe?: 'body', reportProgress?: boolean): Observable; postEmpresasByIdActividadesByIdReservas(empresaId: string, actividadId: string, yyyymmdd: string, reservaBase: ReservaBase, observe?: 'response', reportProgress?: boolean): Observable>; postEmpresasByIdActividadesByIdReservas(empresaId: string, actividadId: string, yyyymmdd: string, reservaBase: ReservaBase, observe?: 'events', reportProgress?: boolean): Observable>; /** * Crea una nueva reserva asociado al evento. * Aparte el cupo reservando par ael evento. * @param empresaId Especifica la empresaid. * @param eventoId El id de un evento asociado a la empresa. * @param reservaBase Reserva Request * @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. */ postEmpresasByIdEventosByIdReservas(empresaId: string, eventoId: string, reservaBase: ReservaBase, observe?: 'body', reportProgress?: boolean): Observable; postEmpresasByIdEventosByIdReservas(empresaId: string, eventoId: string, reservaBase: ReservaBase, observe?: 'response', reportProgress?: boolean): Observable>; postEmpresasByIdEventosByIdReservas(empresaId: string, eventoId: string, reservaBase: ReservaBase, observe?: 'events', reportProgress?: boolean): Observable>; /** * Agrega un nuevo movimiento a la lista de movimientos * Agrega un nuevo movimiento a la lista de movimientos con el estado OK * @param empresaId Especifica la empresaid. * @param reservaId El id de una reserva a eliminar asociado al evento y a la empresa. * @param monto Monto del movimiento registrado. * @param fecha Fecha del movimiento registrado. * @param notas Nota o comentario sobre el movimiento. * @param adjunto Adjunto con informacion o comporbante de pago * @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. */ postEmpresasByIdReservasByIdMovimientos(empresaId: string, reservaId: string, monto: number, fecha: Date, notas: string, adjunto?: Blob, observe?: 'body', reportProgress?: boolean): Observable; postEmpresasByIdReservasByIdMovimientos(empresaId: string, reservaId: string, monto: number, fecha: Date, notas: string, adjunto?: Blob, observe?: 'response', reportProgress?: boolean): Observable>; postEmpresasByIdReservasByIdMovimientos(empresaId: string, reservaId: string, monto: number, fecha: Date, notas: string, adjunto?: Blob, observe?: 'events', reportProgress?: boolean): Observable>; /** * Estable las personas de una reserva. * @param empresaId Especifica la empresaid. * @param reservaId El id de una reserva a eliminar asociado al evento y a la empresa. * @param persona * @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. */ putEmpresasByIdReservasByIdPersonas(empresaId: string, reservaId: string, persona?: Array, observe?: 'body', reportProgress?: boolean): Observable; putEmpresasByIdReservasByIdPersonas(empresaId: string, reservaId: string, persona?: Array, observe?: 'response', reportProgress?: boolean): Observable>; putEmpresasByIdReservasByIdPersonas(empresaId: string, reservaId: string, persona?: Array, observe?: 'events', reportProgress?: boolean): Observable>; }