/** * apaleo Rate Plan API - not safe for work * Continuously evolving version - use at your own risk! Manage the rate plans and rates to rent out your inventory and extra services. * * 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 { AvailabilityModel } from './availabilityModel'; import { MonetaryValueModel } from './monetaryValueModel'; import { ServiceAccountingConfigModel } from './serviceAccountingConfigModel'; import { ClassMetaData } from '@apaleo/angular-api-proxy-common'; export interface CreateServiceModel { /** * The code for the service that can be shown in reports and table views */ code: string; /** * The name for the service */ name: { [key: string]: string; }; /** * The description for the service */ description: { [key: string]: string; }; /** * The id of the property where the item will be created */ propertyId: string; defaultGrossPrice: MonetaryValueModel; /** * Defines the granularity for which this item is offered and priced. */ pricingUnit: CreateServiceModel.PricingUnitEnum; /** * Whether the service is delivered and posted on the same business date as the accommodation, or on the next day. */ postNextDay: boolean; availability?: AvailabilityModel; /** * The channel codes the service is sold through. When no channels are defined, the service is sold only in a package */ channelCodes?: Array; /** * The collection of accounting configs with validity periods. This is a temporary field, avoid using it. */ accountingConfigs?: Array; /** * The id of the age category associated with this service. */ ageCategoryId?: string; } export declare namespace CreateServiceModel { type PricingUnitEnum = 'Room' | 'Person'; const PricingUnitEnumValues: readonly PricingUnitEnum[]; type ChannelCodesEnum = 'Direct' | 'BookingCom' | 'Ibe' | 'ChannelManager' | 'Expedia' | 'Homelike' | 'Hrs' | 'AltoVita' | 'DesVu'; const ChannelCodesEnumValues: readonly ChannelCodesEnum[]; } export declare namespace CreateServiceModel { const $metaData: ClassMetaData; }