@qite/tide-booking-component
Version:
React Booking wizard & Booking product component for Tide
31 lines (27 loc) • 582 B
text/typescript
export interface Settings {
officeId: number;
catalogueId: number;
agentId?: number;
basePath: string;
language: string;
includeFlights?: boolean;
priceMode: number;
icons?: string;
apiUrl?: string;
apiKey?: string;
addProductToQuery?: boolean;
isOffer?: boolean;
displayMode?: 'list' | 'calendar';
searchType?: number;
alternativeActionText?: string;
alternativeAction?: () => void;
}
export interface ProductRoom {
adults: number;
children: number;
childAges: number[];
}
export interface DateRange {
fromDate?: Date;
toDate?: Date;
}