import type { SupportedCurrencies } from './Contract'; export type PeriodType = 'weekly_by_saturday' | 'weekly_by_sunday' | 'weekly_by_monday' | 'nightly'; type PeriodAttributes = { currency: SupportedCurrencies; endAt: string; houseId: number; minimumDuration: number; periodType: PeriodType | string; price: number; startAt: string; }; type PeriodFields = { id: string; type: 'period'; attributes: PeriodAttributes; }; export type Period = Options['serialized'] extends true ? Pick & PeriodAttributes : PeriodFields; export {};