/** * 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 { ActionModelBlockActionNotAllowedBlockActionReason } from './actionModelBlockActionNotAllowedBlockActionReason'; import { BlockTimeSliceModel } from './blockTimeSliceModel'; import { EmbeddedGroupModel } from './embeddedGroupModel'; import { EmbeddedMarketSegmentModel } from './embeddedMarketSegmentModel'; import { EmbeddedPropertyModel } from './embeddedPropertyModel'; import { EmbeddedRatePlanModel } from './embeddedRatePlanModel'; import { EmbeddedUnitGroupModel } from './embeddedUnitGroupModel'; import { MonetaryValueModel } from './monetaryValueModel'; import { ClassMetaData } from '@apaleo/angular-api-proxy-common'; export interface BlockModel { /** * Block id */ id: string; group: EmbeddedGroupModel; /** * Status of the block. Tentative will just mark inventory as requested, but still allows to sell it through other channels. Definite will block the inventory for selling through other channels */ status: BlockModel.StatusEnum; property: EmbeddedPropertyModel; ratePlan: EmbeddedRatePlanModel; unitGroup: EmbeddedUnitGroupModel; grossDailyRate: MonetaryValueModel; /** * Start date and time from which the inventory will be blocked
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ from: Date; /** * End date and time until which the inventory will be blocked
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ to: Date; /** * Number of reservations already picked from this block */ pickedReservations: number; marketSegment?: EmbeddedMarketSegmentModel; /** * The promo code associated with a certain special offer used to create the block */ promoCode?: string; /** * The corporate code associated with a certain special offer used to create the block */ corporateCode?: string; /** * Date of creation
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ created: Date; /** * Date of last modification
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004 */ modified: Date; /** * The list of time slices for this block */ timeSlices?: Array; /** * The list of actions for this block */ actions?: Array; } export declare namespace BlockModel { type StatusEnum = 'Tentative' | 'Definite' | 'Canceled'; const StatusEnumValues: readonly StatusEnum[]; } export declare namespace BlockModel { const $metaData: ClassMetaData; }