UNPKG

@revolugo/booking-api-client

Version:

Javascript Revolugo Booking API Client (browser + server)

65 lines (64 loc) 2.67 kB
import { HotelImageApi, Locale } from '../models/index.ts'; /** * Revolugo Booking API Reference * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.5.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 * as runtime from '../runtime.ts'; export interface HotelRoomOfferImagesRetrievePayload { id: string; lang?: Locale; } /** * HotelRoomOfferImages - interface * * @export * @interface HotelRoomOfferImagesInterface */ export interface HotelRoomOfferImagesInterface { /** * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**. * @summary Retrieve Images of an Hotel Room Offer * @param {string} id Id of the requested hotel room offer. * @param {Locale} [lang] Set the language for the returned content using a valid language code. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HotelRoomOfferImagesInterface */ retrieveRaw(requestParameters: HotelRoomOfferImagesRetrievePayload, initOverrides?: RequestInit & { minCallCount?: number; maxCallCount?: number; }): Promise<runtime.ApiResponse<Array<Array<HotelImageApi>>>>; /** * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**. * Retrieve Images of an Hotel Room Offer */ retrieve(requestParameters: HotelRoomOfferImagesRetrievePayload, initOverrides?: RequestInit & { minCallCount?: number; maxCallCount?: number; }): Promise<Array<Array<HotelImageApi>>>; } /** * */ export declare class HotelRoomOfferImages extends runtime.BaseAPI implements HotelRoomOfferImagesInterface { /** * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**. * Retrieve Images of an Hotel Room Offer */ retrieveRaw(requestParameters: HotelRoomOfferImagesRetrievePayload, initOverrides?: RequestInit & { minCallCount?: number; maxCallCount?: number; }): Promise<runtime.ApiResponse<Array<Array<HotelImageApi>>>>; /** * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**. * Retrieve Images of an Hotel Room Offer */ retrieve(requestParameters: HotelRoomOfferImagesRetrievePayload, initOverrides?: RequestInit): Promise<Array<Array<HotelImageApi>>>; }