/**
* 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 BlockItemModel {
/**
* Block id
*/
id: string;
group: EmbeddedGroupModel;
/**
* Status of the block
*/
status: BlockItemModel.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 reservations already picked from this block
*/
pickedReservations: number;
/**
* 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 blocked units for each time slice
*/
timeSlices?: Array;
/**
* The list of actions for this block
*/
actions?: Array;
}
export declare namespace BlockItemModel {
type StatusEnum = 'Tentative' | 'Definite' | 'Canceled';
const StatusEnumValues: readonly StatusEnum[];
}
export declare namespace BlockItemModel {
const $metaData: ClassMetaData;
}