import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BulkTimeSliceListModel } from '../model/bulkTimeSliceListModel'; import { ServiceOffersModel } from '../model/serviceOffersModel'; import { StayOffersModel } from '../model/stayOffersModel'; import { TimeSliceListModel } from '../model/timeSliceListModel'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare namespace bookingOfferIndexBulkGet { interface Params { /** * */ ratePlanIds: Array; /** *
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ from: string; /** *
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ to: string; /** * */ channelCode: ChannelCodeEnum; /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; /** * Page number, 1-based. Default value is 1 (if this is not set or not positive). Results in 204 if there are no items on that page. */ pageNumber?: number; /** * Page size. If this is not set or not positive, the pageNumber is ignored and all items are returned. */ pageSize?: number; } type ChannelCodeEnum = 'Direct' | 'BookingCom' | 'Ibe' | 'ChannelManager' | 'Expedia' | 'Homelike' | 'Hrs' | 'AltoVita' | 'DesVu'; const ChannelCodeEnumValues: readonly ChannelCodeEnum[]; } export declare namespace bookingOfferIndexGet { interface Params { /** * */ ratePlanId: string; /** *
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ from: string; /** *
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ to: string; /** * */ channelCode: ChannelCodeEnum; /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; /** * Page number, 1-based. Default value is 1 (if this is not set or not positive). Results in 204 if there are no items on that page. */ pageNumber?: number; /** * Page size. If this is not set or not positive, the pageNumber is ignored and all items are returned. */ pageSize?: number; } type ChannelCodeEnum = 'Direct' | 'BookingCom' | 'Ibe' | 'ChannelManager' | 'Expedia' | 'Homelike' | 'Hrs' | 'AltoVita' | 'DesVu'; const ChannelCodeEnumValues: readonly ChannelCodeEnum[]; } export declare namespace bookingOffersGet { interface Params { /** * The property ID */ propertyId: string; /** * Date and optional time of arrival
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ arrival: string; /** * Date and optional time of departure. Cannot be more than 5 years after arrival.
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ departure: string; /** * The number of adults you want offers for */ adults: number; /** * The time slice template used to filter the rate plans, defaults to 'over night' */ timeSliceTemplate?: TimeSliceTemplateEnum; /** * Time slice definition IDs, used to filter rate plans */ timeSliceDefinitionIds?: Array; /** * Unit group IDs, used to filter rate plans */ unitGroupIds?: Array; /** * Unit group types, used to filter rate plans */ unitGroupTypes?: Array; /** * Channel code, used to filter the rate plans */ channelCode?: ChannelCodeEnum; /** * The promo code associated with a certain special offer */ promoCode?: string; /** * The code associated with a corporate rate */ corporateCode?: string; /** * The ages of the children you want offers for */ childrenAges?: Array; /** * Return also offers that are currently not publicly bookable as restrictions are violated. By default only available offers are returned */ includeUnavailable?: boolean; /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; } type TimeSliceTemplateEnum = 'DayUse' | 'OverNight'; const TimeSliceTemplateEnumValues: readonly TimeSliceTemplateEnum[]; type UnitGroupTypesEnum = 'BedRoom' | 'MeetingRoom' | 'EventSpace' | 'ParkingLot' | 'Other'; const UnitGroupTypesEnumValues: readonly UnitGroupTypesEnum[]; type ChannelCodeEnum = 'Direct' | 'BookingCom' | 'Ibe' | 'ChannelManager' | 'Expedia' | 'Homelike' | 'Hrs' | 'AltoVita' | 'DesVu'; const ChannelCodeEnumValues: readonly ChannelCodeEnum[]; } export declare namespace bookingRatePlanOffersGet { interface Params { /** * The rate plan ID */ ratePlanId: string; /** * Date and optional time of arrival
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ arrival: string; /** * Date and optional time of departure. Cannot be more than 5 years after arrival.
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ departure: string; /** * The number of adults you want offers for */ adults: number; /** * The channel code */ channelCode?: ChannelCodeEnum; /** * The ages of the children you want offers for */ childrenAges?: Array; /** * Return also offers that are currently not publicly bookable as restrictions are violated. By default only available offers are returned */ includeUnavailable?: boolean; /** * Desired prices for each timeslice */ overridePrices?: Array; /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; } type ChannelCodeEnum = 'Direct' | 'BookingCom' | 'Ibe' | 'ChannelManager' | 'Expedia' | 'Homelike' | 'Hrs' | 'AltoVita' | 'DesVu'; const ChannelCodeEnumValues: readonly ChannelCodeEnum[]; } export declare namespace bookingServiceOffersGet { interface Params { /** * The rate plan ID */ ratePlanId: string; /** * Date and optional time of arrival
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ arrival: string; /** * Date and optional time of departure. Cannot be more than 5 years after arrival.
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ departure: string; /** * The number of adults you want offers for */ adults: number; /** * The channel code used to filter the services */ channelCode?: ChannelCodeEnum; /** * The ages of the children you want offers for */ childrenAges?: Array; /** * Depending on the postNextDay setting of a service it will be posted before or after midnight. Breakfast is usually delivered on the next morning, having 'postNextDay' set to true. Its 'default dates' are from the day after arrival until the departure day. For services like dinner 'postNextDay' is false, and default dates are day of arrival until one day before departure. With this query parameter set to 'false', you can also ask for dates outside of those default dates. It defaults to true. */ onlyDefaultDates?: boolean; /** * Return also offers that are currently not publicly bookable as restrictions are violated. By default only available offers are returned */ includeUnavailable?: boolean; /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; } type ChannelCodeEnum = 'Direct' | 'BookingCom' | 'Ibe' | 'ChannelManager' | 'Expedia' | 'Homelike' | 'Hrs' | 'AltoVita' | 'DesVu'; const ChannelCodeEnumValues: readonly ChannelCodeEnum[]; } export declare class OfferService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * Returns offers with rates and availabilities for the specified range. * Calculates and returns offers per time slice for multiple rate plans, arrival and departure date. The rate plans must belong to the same unit group and have the same time slice definition.<br>You must have at least one of these scopes: 'offer-index.read, offers.read'. * @param $params.ratePlanIds * @param $params.from <br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.to <br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.channelCode * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @param $params.pageNumber Page number, 1-based. Default value is 1 (if this is not set or not positive). Results in 204 if there are no items on that page. * @param $params.pageSize Page size. If this is not set or not positive, the pageNumber is ignored and all items are returned. * @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. */ bookingOfferIndexBulkGet($params: bookingOfferIndexBulkGet.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingOfferIndexBulkGet($params: bookingOfferIndexBulkGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingOfferIndexBulkGet($params: bookingOfferIndexBulkGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Returns offers with rates and availabilities for the specified range. * Calculates and returns offers per time slice for a specific rate plan, arrival and departure date.<br>You must have at least one of these scopes: 'offer-index.read, offers.read'. * @param $params.ratePlanId * @param $params.from <br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.to <br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.channelCode * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @param $params.pageNumber Page number, 1-based. Default value is 1 (if this is not set or not positive). Results in 204 if there are no items on that page. * @param $params.pageSize Page size. If this is not set or not positive, the pageNumber is ignored and all items are returned. * @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. */ bookingOfferIndexGet($params: bookingOfferIndexGet.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingOfferIndexGet($params: bookingOfferIndexGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingOfferIndexGet($params: bookingOfferIndexGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Returns offers for one specific stay. * Calculates and returns available offers for a specific property, arrival and departure date.<br>You must have at least one of these scopes: 'offers.read, reservations.manage'. * @param $params.propertyId The property ID * @param $params.arrival Date and optional time of arrival<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.departure Date and optional time of departure. Cannot be more than 5 years after arrival.<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.adults The number of adults you want offers for * @param $params.timeSliceTemplate The time slice template used to filter the rate plans, defaults to 'over night' * @param $params.timeSliceDefinitionIds Time slice definition IDs, used to filter rate plans * @param $params.unitGroupIds Unit group IDs, used to filter rate plans * @param $params.unitGroupTypes Unit group types, used to filter rate plans * @param $params.channelCode Channel code, used to filter the rate plans * @param $params.promoCode The promo code associated with a certain special offer * @param $params.corporateCode The code associated with a corporate rate * @param $params.childrenAges The ages of the children you want offers for * @param $params.includeUnavailable Return also offers that are currently not publicly bookable as restrictions are violated. By default only available offers are returned * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @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. */ bookingOffersGet($params: bookingOffersGet.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingOffersGet($params: bookingOffersGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingOffersGet($params: bookingOffersGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Returns offers for a specific rate plan. * Calculates and returns available offers for a specific rate plan, arrival and departure date.<br>You must have at least one of these scopes: 'offers.read, reservations.manage'. * @param $params.ratePlanId The rate plan ID * @param $params.arrival Date and optional time of arrival<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.departure Date and optional time of departure. Cannot be more than 5 years after arrival.<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.adults The number of adults you want offers for * @param $params.channelCode The channel code * @param $params.childrenAges The ages of the children you want offers for * @param $params.includeUnavailable Return also offers that are currently not publicly bookable as restrictions are violated. By default only available offers are returned * @param $params.overridePrices Desired prices for each timeslice * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @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. */ bookingRatePlanOffersGet($params: bookingRatePlanOffersGet.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingRatePlanOffersGet($params: bookingRatePlanOffersGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingRatePlanOffersGet($params: bookingRatePlanOffersGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Returns service offers for one specific stay. * <br>You must have at least one of these scopes: 'offers.read, reservations.manage'. * @param $params.ratePlanId The rate plan ID * @param $params.arrival Date and optional time of arrival<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.departure Date and optional time of departure. Cannot be more than 5 years after arrival.<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a> * @param $params.adults The number of adults you want offers for * @param $params.channelCode The channel code used to filter the services * @param $params.childrenAges The ages of the children you want offers for * @param $params.onlyDefaultDates Depending on the postNextDay setting of a service it will be posted before or after midnight. Breakfast is usually delivered on the next morning, having 'postNextDay' set to true. Its 'default dates' are from the day after arrival until the departure day. For services like dinner 'postNextDay' is false, and default dates are day of arrival until one day before departure. With this query parameter set to 'false', you can also ask for dates outside of those default dates. It defaults to true. * @param $params.includeUnavailable Return also offers that are currently not publicly bookable as restrictions are violated. By default only available offers are returned * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @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. */ bookingServiceOffersGet($params: bookingServiceOffersGet.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingServiceOffersGet($params: bookingServiceOffersGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingServiceOffersGet($params: bookingServiceOffersGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }