@revolugo/booking-api-client
Version:
Javascript Revolugo Booking API Client (browser + server)
65 lines (64 loc) • 2.45 kB
TypeScript
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 HotelImagesRetrievePayload {
id: string;
lang?: Locale;
}
/**
* HotelImages - interface
*
* @export
* @interface HotelImagesInterface
*/
export interface HotelImagesInterface {
/**
* Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
* @summary Retrieve Images of an Hotel
* @param {string} id Id of the requested hotel.
* @param {Locale} [lang] Set the language for the returned content using a valid language code.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof HotelImagesInterface
*/
retrieveRaw(requestParameters: HotelImagesRetrievePayload, initOverrides?: RequestInit & {
minCallCount?: number;
maxCallCount?: number;
}): Promise<runtime.ApiResponse<Array<HotelImageApi>>>;
/**
* Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
* Retrieve Images of an Hotel
*/
retrieve(requestParameters: HotelImagesRetrievePayload, initOverrides?: RequestInit & {
minCallCount?: number;
maxCallCount?: number;
}): Promise<Array<HotelImageApi>>;
}
/**
*
*/
export declare class HotelImages extends runtime.BaseAPI implements HotelImagesInterface {
/**
* Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
* Retrieve Images of an Hotel
*/
retrieveRaw(requestParameters: HotelImagesRetrievePayload, initOverrides?: RequestInit & {
minCallCount?: number;
maxCallCount?: number;
}): Promise<runtime.ApiResponse<Array<HotelImageApi>>>;
/**
* Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
* Retrieve Images of an Hotel
*/
retrieve(requestParameters: HotelImagesRetrievePayload, initOverrides?: RequestInit): Promise<Array<HotelImageApi>>;
}