/** * 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 { EstadoReserva } from '../model/estadoReserva'; import { KoguiReservaPatch } from '../model/koguiReservaPatch'; import { KoguiReservasQueryType } from '../model/koguiReservasQueryType'; import { Movimiento } from '../model/movimiento'; import { Reserva } from '../model/reserva'; import { ReservaBase } from '../model/reservaBase'; import { TipoReserva } from '../model/tipoReserva'; import { Configuration } from '../configuration'; export declare class KoguiReservasService { 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; /** * Obtiene las reservas de un usuario. * Las reservas de un usuario. * @param usuario El usuario de kogui. * @param xFcmtoken * @param $size * @param $page * @param $sort * @param $fields * @param $type * @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. */ getKoguiByUsuarioReservas(usuario: string, xFcmtoken?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $type?: KoguiReservasQueryType, observe?: 'body', reportProgress?: boolean): Observable>; getKoguiByUsuarioReservas(usuario: string, xFcmtoken?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $type?: KoguiReservasQueryType, observe?: 'response', reportProgress?: boolean): Observable>>; getKoguiByUsuarioReservas(usuario: string, xFcmtoken?: string, $size?: number, $page?: number, $sort?: string, $fields?: string, $type?: KoguiReservasQueryType, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obtiene la reservas de un usuario. * La reservas de un usuario. * @param usuario El usuario de kogui. * @param reservaId El id de una reserva asociado al usuario. * @param xFcmtoken * @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. */ getKoguiByUsuarioReservasById(usuario: string, reservaId: string, xFcmtoken?: string, $fields?: string, observe?: 'body', reportProgress?: boolean): Observable; getKoguiByUsuarioReservasById(usuario: string, reservaId: string, xFcmtoken?: string, $fields?: string, observe?: 'response', reportProgress?: boolean): Observable>; getKoguiByUsuarioReservasById(usuario: string, reservaId: string, xFcmtoken?: string, $fields?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Lista los movimientos de una reserva * Los movimientos de una reserva * @param usuario El usuario de kogui. * @param reservaId El id de una reserva asociado al usuario. * @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. */ getKoguiByUsuarioReservasByIdMovimientos(usuario: string, reservaId: string, xFcmtoken?: string, observe?: 'body', reportProgress?: boolean): Observable>; getKoguiByUsuarioReservasByIdMovimientos(usuario: string, reservaId: string, xFcmtoken?: string, observe?: 'response', reportProgress?: boolean): Observable>>; getKoguiByUsuarioReservasByIdMovimientos(usuario: string, reservaId: string, xFcmtoken?: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Verifica si el usuario tiene una reserva PRE, asociada a ese usuario. * Verifica reserva PRE, para una entidad * @param usuario El usuario de kogui. * @param type El tipo de entidad que se puede reservar * @param targetRef El id del evento o de la actividad. * @param xFcmtoken * @param programacion La fecha de la programacion en el caso que sea una actividad. * @param estado El estado de la reserva que se quiere verififcar * @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. */ headKoguiUsuariosByIdReservas(usuario: string, type: TipoReserva, targetRef: string, xFcmtoken?: string, programacion?: string, estado?: EstadoReserva, observe?: 'body', reportProgress?: boolean): Observable; headKoguiUsuariosByIdReservas(usuario: string, type: TipoReserva, targetRef: string, xFcmtoken?: string, programacion?: string, estado?: EstadoReserva, observe?: 'response', reportProgress?: boolean): Observable>; headKoguiUsuariosByIdReservas(usuario: string, type: TipoReserva, targetRef: string, xFcmtoken?: string, programacion?: string, estado?: EstadoReserva, observe?: 'events', reportProgress?: boolean): Observable>; /** * @param usuario El usuario de kogui. * @param reservaId El id de una reserva asociado al usuario. * @param xFcmtoken * @param findReserva Indique que se devuelva la reserva modificada. * @param koguiReservaPatch 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. */ patchKoguiByUsuarioReservasById(usuario: string, reservaId: string, xFcmtoken?: string, findReserva?: string, koguiReservaPatch?: KoguiReservaPatch, observe?: 'body', reportProgress?: boolean): Observable; patchKoguiByUsuarioReservasById(usuario: string, reservaId: string, xFcmtoken?: string, findReserva?: string, koguiReservaPatch?: KoguiReservaPatch, observe?: 'response', reportProgress?: boolean): Observable>; patchKoguiByUsuarioReservasById(usuario: string, reservaId: string, xFcmtoken?: string, findReserva?: string, koguiReservaPatch?: KoguiReservaPatch, 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 usuario El usuario de kogui. * @param reservaId El id de una reserva asociado al usuario. * @param monto Monto del movimiento registrado. * @param fecha Fecha del movimiento registrado. * @param notas Nota o comentario sobre el movimiento. * @param xFcmtoken * @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. */ postKoguiByUsuarioReservasByIdMovimientos(usuario: string, reservaId: string, monto: number, fecha: Date, notas: string, xFcmtoken?: string, adjunto?: Blob, observe?: 'body', reportProgress?: boolean): Observable; postKoguiByUsuarioReservasByIdMovimientos(usuario: string, reservaId: string, monto: number, fecha: Date, notas: string, xFcmtoken?: string, adjunto?: Blob, observe?: 'response', reportProgress?: boolean): Observable>; postKoguiByUsuarioReservasByIdMovimientos(usuario: string, reservaId: string, monto: number, fecha: Date, notas: string, xFcmtoken?: string, adjunto?: Blob, observe?: 'events', reportProgress?: boolean): Observable>; /** * Crea una nueva reserva asociado a la actividad o al evento. * Aparte el cupo reservando par la actividad o evento. * @param usuario El usuario de kogui. * @param type El tipo de entidad que se puede reservar * @param targetRef El id del evento o de la actividad. * @param reservaBase Reserva Request * @param xFcmtoken * @param programacion La fecha de la programacion en el caso que sea una actividad. * @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. */ postKoguiUsuariosByIdReservas(usuario: string, type: TipoReserva, targetRef: string, reservaBase: ReservaBase, xFcmtoken?: string, programacion?: string, observe?: 'body', reportProgress?: boolean): Observable; postKoguiUsuariosByIdReservas(usuario: string, type: TipoReserva, targetRef: string, reservaBase: ReservaBase, xFcmtoken?: string, programacion?: string, observe?: 'response', reportProgress?: boolean): Observable>; postKoguiUsuariosByIdReservas(usuario: string, type: TipoReserva, targetRef: string, reservaBase: ReservaBase, xFcmtoken?: string, programacion?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Verifica si el usuario tiene una reserva PRE, asociada a ese usuario. * Verifica reserva PRE, para una entidad- * @param usuario El usuario de kogui. * @param type El tipo de entidad que se puede reservar * @param targetId El id de una entidad del cual se esta reservando. * @param xFcmtoken * @param programacion La fecha de la programacion. * @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. */ postReservaExistsForTypeAndRefId(usuario: string, type: TipoReserva, targetId: string, xFcmtoken?: string, programacion?: string, observe?: 'body', reportProgress?: boolean): Observable; postReservaExistsForTypeAndRefId(usuario: string, type: TipoReserva, targetId: string, xFcmtoken?: string, programacion?: string, observe?: 'response', reportProgress?: boolean): Observable>; postReservaExistsForTypeAndRefId(usuario: string, type: TipoReserva, targetId: string, xFcmtoken?: string, programacion?: string, observe?: 'events', reportProgress?: boolean): Observable>; }