/** * 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 { EmbeddedUnitGroupModel } from './embeddedUnitGroupModel'; import { PerOccupancyPriceItemModel } from './perOccupancyPriceItemModel'; import { PeriodModel } from './periodModel'; import { RateRestrictionsModel } from './rateRestrictionsModel'; import { ClassMetaData } from '@apaleo/angular-api-proxy-common'; export interface TimeSliceOfferItemModel { unitGroup: EmbeddedUnitGroupModel; /** * The minimum guarantee type for the offer */ minGuaranteeType?: TimeSliceOfferItemModel.MinGuaranteeTypeEnum; minAdvance?: PeriodModel; maxAdvance?: PeriodModel; /** * The number of available units for the offer */ available: number; /** * The number of available units for the offer considering overbookings */ availableUnits: number; restrictions?: RateRestrictionsModel; /** * The prices for this offer */ prices?: Array; } export declare namespace TimeSliceOfferItemModel { type MinGuaranteeTypeEnum = 'PM6Hold' | 'CreditCard' | 'Prepayment' | 'Company' | 'Ota'; const MinGuaranteeTypeEnumValues: readonly MinGuaranteeTypeEnum[]; } export declare namespace TimeSliceOfferItemModel { const $metaData: ClassMetaData; }