/**
* apaleo Booking API - not safe for work
* Continuously evolving version - use at your own risk! Resources and methods to manage guest journeys.
*
* OpenAPI spec version: v0-nsfw
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { EmbeddedCompanyModel } from './embeddedCompanyModel';
import { EmbeddedPropertyModel } from './embeddedPropertyModel';
import { EmbeddedRatePlanModel } from './embeddedRatePlanModel';
import { EmbeddedUnitGroupModel } from './embeddedUnitGroupModel';
import { ExternalReferencesModel } from './externalReferencesModel';
import { MonetaryValueModel } from './monetaryValueModel';
import { PaymentAccountModel } from './paymentAccountModel';
import { RegisteredCardModel } from './registeredCardModel';
import { ReservationCancellationFeeModel } from './reservationCancellationFeeModel';
import { ReservationNoShowFeeModel } from './reservationNoShowFeeModel';
import { ReservationServiceItemModel } from './reservationServiceItemModel';
import { ClassMetaData } from '@apaleo/angular-api-proxy-common';
export interface BookingReservationModel {
/**
* Reservation id
*/
id: string;
/**
* Block id
*/
blockId?: string;
/**
* Status of the reservation
*/
status: BookingReservationModel.StatusEnum;
/**
* Code in external system
*/
externalCode?: string;
/**
* Channel code
*/
channelCode: BookingReservationModel.ChannelCodeEnum;
/**
* Source of the reservation (e.g Hotels.com, Orbitz, etc.)
*/
source?: string;
paymentAccount?: PaymentAccountModel;
registeredCard?: RegisteredCardModel;
/**
* Date of arrival
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
arrival: Date;
/**
* Date of departure
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
departure: Date;
/**
* Number of adults
*/
adults: number;
/**
* The ages of the children
*/
childrenAges?: Array;
totalGrossAmount: MonetaryValueModel;
property: EmbeddedPropertyModel;
ratePlan: EmbeddedRatePlanModel;
unitGroup: EmbeddedUnitGroupModel;
/**
* The list of additional services (extras, add-ons) reserved for the stay
*/
services?: Array;
/**
* Additional information and comment by the guest
*/
guestComment?: string;
cancellationFee: ReservationCancellationFeeModel;
noShowFee: ReservationNoShowFeeModel;
company?: EmbeddedCompanyModel;
/**
* Whether the reservation can accept charges on its folios. This is purely informational and no validation is performed on this field. Defaults to true.
*/
isOpenForCharges: boolean;
/**
* Indicates whether the reservation is marked as pre-checked-in or not.
*/
isPreCheckedIn?: boolean;
/**
* Indicates whether the unit assignments for this reservation are locked
*/
isUnitAssignmentLocked?: boolean;
externalReferences?: ExternalReferencesModel;
}
export declare namespace BookingReservationModel {
type StatusEnum = 'Confirmed' | 'InHouse' | 'CheckedOut' | 'Canceled' | 'NoShow';
const StatusEnumValues: readonly StatusEnum[];
type ChannelCodeEnum = 'Direct' | 'BookingCom' | 'Ibe' | 'ChannelManager' | 'Expedia' | 'Homelike' | 'Hrs' | 'AltoVita' | 'DesVu';
const ChannelCodeEnumValues: readonly ChannelCodeEnum[];
}
export declare namespace BookingReservationModel {
const $metaData: ClassMetaData;
}