/** * 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 { FormBuilder, FormGroup } from '@angular/forms'; import { ApaleoPropertyMetaData, BuildFormOptions, ResponseModel } from '@apaleo/angular-api-proxy-common'; export interface RateRestrictionsModel { /** * The minimum length of stay in order to book the rate. If at least this number of time slices are covered by the stay duration the rate will be offered. */ minLengthOfStay?: number; /** * The maximum length of stay in order to book the rate. If not more than this number of time slices are covered by the stay duration the rate will be offered. */ maxLengthOfStay?: number; /** * Whether the rate can be booked for a stay-through reservation */ closed: boolean; /** * Whether the rate can be booked on the reservation's arrival date */ closedOnArrival: boolean; /** * Whether the rate can be booked on the reservation's departure date */ closedOnDeparture: boolean; } export declare type RateRestrictionsModelWithRawHttp = RateRestrictionsModel & ResponseModel; export declare namespace RateRestrictionsModel { const $metaData: { minLengthOfStay: Readonly; maxLengthOfStay: Readonly; closed: Readonly; closedOnArrival: Readonly; closedOnDeparture: Readonly; }; function $buildForm(fb: FormBuilder, options?: BuildFormOptions): FormGroup; }