/** * 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 { 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 GroupBlockModel { /** * Block id */ id: string; /** * Status of the block */ status: GroupBlockModel.StatusEnum; property: EmbeddedPropertyModel; ratePlan: EmbeddedRatePlanModel; unitGroup: EmbeddedUnitGroupModel; marketSegment?: EmbeddedMarketSegmentModel; 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 units blocked */ blockedUnits: number; /** * Number of reservations already picked from this block */ pickedReservations: number; /** * 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; } export declare namespace GroupBlockModel { type StatusEnum = 'Tentative' | 'Definite' | 'Canceled'; const StatusEnumValues: readonly StatusEnum[]; } export declare namespace GroupBlockModel { const $metaData: ClassMetaData; }