/** * Apaleo Rates API * Manage the rate plans and rates to rent out your inventory at the best price. * * OpenAPI spec version: 1.0.0 * * * 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 { BookingPeriodModel } from './bookingPeriodModel'; import { BookingRestrictionsModel } from './bookingRestrictionsModel'; import { FormBuilder, FormGroup } from '@angular/forms'; import { ApaleoEnumPropertyMetaData, ApaleoPropertyMetaData, BuildFormOptions, ResponseModel } from '@apaleo/angular-api-proxy-common'; export interface ReplaceRatePlanModel { /** * The name for the rateplan */ name: { [key: string]: string; }; /** * The description for the rateplan */ description: { [key: string]: string; }; /** * The minimum guarantee to be put on a reservation when this rate plan is booked */ minGuaranteeType: ReplaceRatePlanModel.MinGuaranteeTypeEnum; /** * Time periods when the rateplan is sold */ bookingPeriods?: Array; /** * Set restrictions on this rate plan */ restrictions?: BookingRestrictionsModel; } export declare namespace ReplaceRatePlanModel { type MinGuaranteeTypeEnum = 'PM6Hold' | 'CreditCard' | 'Prepayment'; const MinGuaranteeTypeEnumValues: ReadonlyArray<"PM6Hold" | "CreditCard" | "Prepayment">; } export declare type ReplaceRatePlanModelWithRawHttp = ReplaceRatePlanModel & ResponseModel; export declare namespace ReplaceRatePlanModel { const $metaData: { name: Readonly; description: Readonly; minGuaranteeType: Readonly>; bookingPeriods: Readonly; restrictions: Readonly; }; function $buildForm(fb: FormBuilder, options?: BuildFormOptions): FormGroup; }