@qite/tide-client
Version:
Frontend client for Tide
33 lines (32 loc) • 1.05 kB
TypeScript
import { AvailabilitySearchType } from "../enums";
import { DateAmountType } from "../enums/date-amount-type";
import { PortalQsmType } from "../enums/portal-qsm-type";
export interface WebsiteConfiguration {
styleSheetIds: number[];
searchConfigurations: WebsiteConfigurationSearchConfiguration[];
languageCodes: string[];
countryImageTemplateFieldName: string;
regionImageTemplateFieldName: string;
oordImageTemplateFieldName: string;
locationImageTemplateFieldName: string;
}
export interface WebsiteConfigurationSearchConfiguration {
id: number;
name: string;
icon: string;
defaultSearchType: AvailabilitySearchType;
serviceTypes: number[];
defaultCatalogueId?: number;
defaultDuration?: number;
fromDateAmount: number;
fromDateAmountType: DateAmountType;
toDateAmount: number;
toDateAmountType: DateAmountType;
enableManualPackaging: boolean;
allowFlights: boolean;
allowAccommodations: boolean;
allowCarRentals: boolean;
allowTransfers: boolean;
allowExcursions: boolean;
qsmType: PortalQsmType;
}