@roomstay/core 0.1.76-1 → 0.1.76-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/node.js +1 -1
  2. package/dist/node.js.LICENSE.txt +7 -0
  3. package/dist/types/Analytics/IAnalyticsEvent.type.d.ts +35 -0
  4. package/dist/types/Analytics/IAnalyticsSession.type.d.ts +11 -0
  5. package/dist/types/Analytics/IBigQueryResponse.type.d.ts +24 -0
  6. package/dist/types/Booking/ISplitPayment.type.d.ts +89 -0
  7. package/dist/types/Fees/IFeeOptions.type.d.ts +6 -0
  8. package/dist/types/GiftCards/GiftCard.types.d.ts +28 -0
  9. package/dist/utils/feeOptionRules.d.ts +0 -0
  10. package/dist/web.js +1 -1
  11. package/dist/web.js.LICENSE.txt +7 -0
  12. package/package.json +1 -1
  13. package/dist/components/DateRangePicker/DateRangePicker.d.ts +0 -16
  14. package/dist/components/DateRangePicker/DateRangePicker.type.d.ts +0 -16
  15. package/dist/components/DateRangePicker/DateRangePickerContext.d.ts +0 -16
  16. package/dist/components/DateRangePicker/DateRangePickerDay.d.ts +0 -22
  17. package/dist/components/DateRangePicker/DateRangePickerDays.d.ts +0 -7
  18. package/dist/components/DateRangePicker/DateRangePickerMonth.d.ts +0 -9
  19. package/dist/components/DateRangePicker/FloatingDateRangePicker.d.ts +0 -26
  20. package/dist/components/DateRangePicker/index.d.ts +0 -3
  21. package/dist/components/Icon/Icon.d.ts +0 -19
  22. package/dist/components/Icon/index.d.ts +0 -1
  23. package/dist/components/Overlay/Overlay.d.ts +0 -21
  24. package/dist/components/Overlay/index.d.ts +0 -1
  25. package/dist/components/RoomstayPortal/RoomstayPortal.d.ts +0 -8
  26. package/dist/components/RoomstayPortal/index.d.ts +0 -1
  27. package/dist/components/Text/Text.d.ts +0 -18
  28. package/dist/components/Text/Text.type.d.ts +0 -14
  29. package/dist/components/Text/index.d.ts +0 -2
  30. package/dist/components/animations/AutoAutoHeight.d.ts +0 -9
  31. package/dist/components/animations/Fade.d.ts +0 -13
  32. package/dist/components/animations/index.d.ts +0 -1
  33. package/dist/components/index.d.ts +0 -6
  34. package/dist/hooks/BodyClickHook.d.ts +0 -8
  35. package/dist/index.node.d.ts +0 -2
  36. package/dist/index.web.d.ts +0 -3
  37. package/dist/node.js.map +0 -1
  38. package/dist/roomstay-core-0.1.26.tgz +0 -0
  39. package/dist/stories/DateRangePicker.stories.d.ts +0 -8
  40. package/dist/stories/FloatingDateRangePicker.stories.d.ts +0 -5
  41. package/dist/types/Addon/Addon.d.ts +0 -38
  42. package/dist/types/Api/ReservationsDTO.d.ts +0 -102
  43. package/dist/types/Api/RoomNightRateDTO.d.ts +0 -7
  44. package/dist/types/Hotel/IHotel.enum.d.ts +0 -32
  45. package/dist/types/Hotel/IHotel.type.d.ts +0 -275
  46. package/dist/types/Hotel/IntegrationConfigs.type.d.ts +0 -76
  47. package/dist/types/Hotel/InternalMemberSignInModal.type.d.ts +0 -13
  48. package/dist/types/Hotel/InternalMemberSignInModal.types.d.ts +0 -13
  49. package/dist/types/Room/HotelRoom.type.d.ts +0 -24
  50. package/dist/types/Room/SynxisRoom.type.d.ts +0 -35
  51. package/dist/utils/CalendarHelper.d.ts +0 -16
  52. package/dist/utils/color.d.ts +0 -17
  53. package/dist/utils/index.node.d.ts +0 -2
  54. package/dist/utils/index.web.d.ts +0 -4
  55. package/dist/web.js.map +0 -1
@@ -1,14 +0,0 @@
1
- export declare enum TextAlign {
2
- Center = "u-align-center",
3
- Right = "u-align-right",
4
- Left = "u-align-left"
5
- }
6
- export declare enum TextType {
7
- Body = "body",
8
- Small = "small",
9
- Caption = "caption",
10
- Label = "label"
11
- }
12
- export declare enum TextTransform {
13
- Uppercase = "u-uppercase"
14
- }
@@ -1,2 +0,0 @@
1
- export * from "./Text";
2
- export * from "./Text.type";
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- interface AutoAutoHeightProps {
3
- children: React.ReactNode;
4
- open: boolean;
5
- startOpen?: boolean;
6
- onComponentHidden?: () => void;
7
- }
8
- export default function AutoAutoHeight(props: AutoAutoHeightProps): React.JSX.Element;
9
- export {};
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- interface FadeProps {
3
- children?: React.ReactElement;
4
- open: boolean;
5
- onEnter?: () => void;
6
- onExited?: () => void;
7
- /**
8
- * Callback on complete animation of exit action
9
- */
10
- onExitCompletely?: () => void;
11
- }
12
- declare const FadeAnimation: React.ForwardRefExoticComponent<FadeProps & React.RefAttributes<HTMLDivElement>>;
13
- export default FadeAnimation;
@@ -1 +0,0 @@
1
- export * from "./Fade";
@@ -1,6 +0,0 @@
1
- export * from "./DateRangePicker/index";
2
- export * from "./animations/index";
3
- export * from "./Icon/index";
4
- export * from "./Overlay/index";
5
- export * from "./RoomstayPortal/index";
6
- export * from "./Text/index";
@@ -1,8 +0,0 @@
1
- export declare const useBodyClick: () => {
2
- onBodyClick: (event: EventListener, target?: HTMLElement | Document | null) => {
3
- remove: () => void;
4
- };
5
- onBodyClickExcept: (event: EventListener, ignore: HTMLElement, target?: HTMLElement | Document | null) => {
6
- remove: () => void;
7
- };
8
- };
@@ -1,2 +0,0 @@
1
- export * from "./types/index";
2
- export * from "./utils/index.node";
@@ -1,3 +0,0 @@
1
- export * from "./types/index";
2
- export * from "./utils/index.web";
3
- export * from "./components/index";
package/dist/node.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"node.js","sources":["../src/types/Booking/IBookingStatus.type.ts","../src/types/Booking/IBookingPayment.type.ts","../src/types/Company/ECompanyProvider.enum.ts","../src/types/Hotel/IHotelOverrides.type.ts","../src/types/Hotel/EHotelPriceModel.enum.ts","../src/types/Hotel/EHotelWeekdayStartsOn.enum.ts","../src/types/RMS/ERMSDiscountType.enum.ts","../src/types/Image/IRoomstayImage.type.ts","../src/utils/bookingTotal.ts","../src/utils/uppercaseString.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null],"names":["IBookingStatus","EBookingPaymentMethod","EHotelCardProcessor","EPlanpayBookingStatus","ECompanyProvider","EDistanceUnitType","EHotelPriceModel","EHotelWeekdayStartsOn","ERMSDiscountType","ERoomstayImageSize","reservation","total","itinerary","Object","values","item","nightsArray","keys","nights","night","toUppercase","toUpperCase"],"mappings":"aAAA,IAAYA,ECAAC,EAUAC,EAMAC,EChBAC,ECAAC,ECAAC,ECAAC,ECAAC,ECAAC,EPAAT,QAIXA,oBAAA,GAJWA,EAAAA,QAAcA,iBAAdA,uBAIX,CAAA,IAHG,QAAA,UACAA,EAAA,UAAA,YACAA,EAAA,UAAA,YCHQC,QAKXA,2BAAA,GALWA,EAAAA,gCAAAA,QAAAA,sBAKX,CAAA,IAJG,KAAA,OACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QAMQC,QAIXA,yBAAA,GAJWA,EAAAA,8BAAAA,QAAAA,oBAIX,CAAA,IAHG,YAAA,cACAA,EAAA,MAAA,QACAA,EAAA,KAAA,OAGQC,QAOXA,2BAAA,GAPWA,EAAAA,QAAqBA,wBAArBA,8BAOX,CAAA,IANG,QAAA,UACAA,EAAA,OAAA,SACAA,EAAA,SAAA,WACAA,EAAA,UAAA,YACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WCtBQC,QAIXA,sBAAA,GAJWA,EAAAA,QAAgBA,mBAAhBA,yBAIX,CAAA,IAHG,OAAA,SACAA,EAAA,SAAA,WACAA,EAAA,IAAA,MCHQC,QAGXA,uBAAA,GAHWA,EAAAA,QAAiBA,oBAAjBA,0BAGX,CAAA,IAFG,OAAA,SACAA,EAAA,SAAA,WCFQC,QAIXA,sBAAA,GAJWA,EAAAA,QAAgBA,mBAAhBA,yBAIX,CAAA,IAHG,UAAA,YACAA,EAAA,OAAA,SACAA,EAAA,aAAA,eCHQC,QAGXA,2BAAA,GAHWA,EAAAA,QAAqBA,wBAArBA,8BAGX,CAAA,IAFG,OAAA,SACAA,EAAA,OAAA,SCFQC,QAIXA,sBAAA,GAJWA,EAAAA,QAAgBA,mBAAhBA,yBAIX,CAAA,IAHG,WAAA,aACAA,EAAA,OAAA,SACAA,EAAA,KAAA,OCHQC,QAOXA,wBAAA,GAPWA,EAAAA,QAAkBA,qBAAlBA,2BAOX,CAAA,IANGA,EAAA,KAAA,KAAA,OACAA,EAAAA,EAAA,KAAA,KAAA,OACAA,EAAAA,EAAA,MAAA,KAAA,QACAA,EAAAA,EAAA,OAAA,KAAA,SACAA,EAAAA,EAAA,MAAA,MAAA,QACAA,EAAAA,EAAA,WAAA,MAAA,oDCC2CC,IAC3C,IAAIC,EAAQ,EAEZ,MAAMC,EAAYC,OAAOC,OAAOJ,EAAYE,WAE5C,IAAK,MAAMG,KAAQH,EAAW,CAC1B,MAAMI,EAAcH,OAAOI,KAAKF,EAAKG,QAErC,IAAK,MAAMC,KAASH,EAChBL,GAASI,EAAKG,OAAOC,GAAOR,KAEnC,CAED,OAAOA,CAAK,0BCpBV,SAA0BS,GAC5B,OAAOA,EAAYC,aACvB"}
Binary file
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import { DatePickerProps } from "../components/DateRangePicker/DateRangePicker";
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, DatePickerProps>;
4
- export default _default;
5
- export declare const Primary: (args: DatePickerProps) => React.JSX.Element;
6
- export declare const StartDatePopulated: (args: DatePickerProps) => React.JSX.Element;
7
- export declare const MultipleMonths: (args: DatePickerProps) => React.JSX.Element;
8
- export declare const ThemeSpecific: (args: DatePickerProps) => React.JSX.Element;
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../index.web").FloatingDateRangePickerProps & React.RefAttributes<import("../index.web").FloatingDateRangePickerHandle>>;
3
- export default _default;
4
- export declare const Primary: () => React.JSX.Element;
5
- export declare const ThemeSpecific: () => React.JSX.Element;
@@ -1,38 +0,0 @@
1
- import { SimpleItemisedFee } from "types/Fees/IFee.type";
2
- export declare enum AddonPricingType {
3
- PER_STAY = "Per stay",
4
- PER_NIGHT = "Per night",
5
- PER_PERSON = "Per person",
6
- PER_PERSON_PER_NIGHT = "Per person per night",
7
- PER_ALL_PERSONS = "Per all persons",
8
- PER_ALL_PERSONS_PER_NIGHT = "Per all persons per night",
9
- PER_QUANTITY_NAME_PER_NIGHT = "Per Quantity Name Per Night",
10
- PER_ROOM_QUANTITY_PER_NIGHT = "Per Room Quantity Per Night",
11
- PER_PERSON_OCCUPANCY_PER_NIGHT = "Per Person Occupancy Per Night",
12
- PER_ADULT_OCCUPANCY_PER_NIGHT = "Per Adult Occupancy Per Night",
13
- PER_CHILD_OCCUPANCY_PER_NIGHT = "Per Child Occupancy Per Night"
14
- }
15
- export declare const ADDON_PER_NIGHT_TYPES: AddonPricingType[];
16
- export type BasketAddonDTO = {
17
- availability: any;
18
- code: string;
19
- inclusive: false;
20
- pricingType: string;
21
- quantity: number;
22
- adultQuantity: number;
23
- childQuantity?: number;
24
- description: string;
25
- name: string;
26
- category: string;
27
- image: string;
28
- price: number;
29
- adultPrice?: number;
30
- childPrice?: number;
31
- fee: number;
32
- adultFee?: number;
33
- childFee?: number;
34
- fees?: SimpleItemisedFee[];
35
- adultFees?: SimpleItemisedFee[];
36
- childFees?: SimpleItemisedFee[];
37
- nights?: number;
38
- };
@@ -1,102 +0,0 @@
1
- import { EBookingPaymentMethod } from "types/Booking/IBookingPayment.type";
2
- import { SimpleItemisedFee } from "types/Fees/IFee.type";
3
- import { RoomNightRateDTO } from "./RoomNightRateDTO";
4
- export type ReservationsDTO = {
5
- roomstayId: string;
6
- reservations: ReservationDTO[];
7
- itineraryNumber: string;
8
- hotelFrontendId?: string;
9
- warnings?: string[];
10
- total?: string;
11
- payment?: {
12
- planpay?: {
13
- id: string;
14
- checkoutWorkflow: {
15
- type: string;
16
- id: string;
17
- scriptUrl: string;
18
- };
19
- };
20
- external?: {
21
- id: string;
22
- redirectUrl: string;
23
- };
24
- adyen?: {
25
- roomstayId: string;
26
- sessionData: string;
27
- sessionId: string;
28
- clientKey: string;
29
- isLive: boolean;
30
- currency: string;
31
- amount: string;
32
- countryCode: string;
33
- };
34
- };
35
- itemisedFees?: SimpleItemisedFee[];
36
- feesSummary?: SimpleItemisedFee[];
37
- };
38
- export type ReservationAddonDTO = {
39
- code: string;
40
- inclusive: false;
41
- pricingType: string;
42
- quantity: number;
43
- adultQuantity: number;
44
- childQuantity?: number;
45
- description: string;
46
- name: string;
47
- category: string;
48
- image: string;
49
- price: number;
50
- fees?: number;
51
- itemisedFees?: SimpleItemisedFee[];
52
- displayPrice: number;
53
- adultPrice?: number;
54
- childPrice?: number;
55
- nights?: number;
56
- };
57
- export type ReservationDTO = {
58
- nights: {
59
- [date: string]: RoomNightRateDTO;
60
- };
61
- guestCounts: {
62
- adults: number;
63
- children: number;
64
- };
65
- guest: {
66
- address: {
67
- line1: string;
68
- city: string;
69
- postalCode: string;
70
- };
71
- firstName: string;
72
- lastName: string;
73
- phone: string;
74
- email: string;
75
- };
76
- paymentCard: {
77
- type?: string;
78
- last4: string;
79
- expiry: string;
80
- name: string;
81
- };
82
- paymentMethod?: EBookingPaymentMethod;
83
- comments?: string[];
84
- addons?: ReservationAddonDTO[];
85
- itemisedFees?: SimpleItemisedFee[];
86
- reservationNumber: string;
87
- cancelPolicy: string;
88
- cancellationPolicyLongDescription?: string;
89
- guaranteePolicy: string;
90
- guaranteePolicyLongDescription?: string;
91
- roomType: string;
92
- roomCode: string;
93
- rate: string;
94
- images: [string];
95
- status: string;
96
- isCancelable: boolean;
97
- total: {
98
- beforeTax: number;
99
- afterTax: number;
100
- beforeFees?: number;
101
- };
102
- };
@@ -1,7 +0,0 @@
1
- export type RoomNightRateDTO = {
2
- cost: string;
3
- tax: string;
4
- fee: string;
5
- total: string;
6
- discount: string;
7
- };
@@ -1,32 +0,0 @@
1
- export declare enum EPaymentCardType {
2
- Visa = "VI",
3
- Mastercard = "MC",
4
- JCB = "JC",
5
- AmericanExpress = "AX",
6
- DinersClub = "DN",
7
- UnionPay = "UP"
8
- }
9
- export declare enum HotelDataSource {
10
- Synxis = "Synxis",
11
- Roomstay = "Roomstay"
12
- }
13
- export declare enum PlanPayEnvStage {
14
- Sandbox = "sbx",
15
- Staging = "stag",
16
- Production = "prod"
17
- }
18
- export declare enum DatepickerType {
19
- Month = "Month",
20
- Week = "Week"
21
- }
22
- export declare enum EHotelAvailabilityType {
23
- PerRoomType = "PerRoom",
24
- PerUnit = "PerUnit",
25
- /** @deprecated In place while we move RMS Clients from Channel availability to Rest */
26
- PerRoomOld = "PerRoomOld"
27
- }
28
- export declare enum EHotelMinPriceStrategy {
29
- SingleDayAvailability = "SingleDayAvailability",
30
- TwoDayMaxAvailability = "TwoDayMaxAvailability",
31
- IncludeAllAvailability = "AllAvailability"
32
- }
@@ -1,275 +0,0 @@
1
- import { EBookingPaymentMethod, EHotelCardProcessor } from "../Booking/IBookingPayment.type";
2
- import { MediaType } from "../Media/IMedia.type";
3
- import { HotelRoomType } from "../Room/HotelRoom.type";
4
- import { HotelRoomGroupsType } from "../Room/IRoomGroup.type";
5
- import { EHotelPriceModel } from "./EHotelPriceModel.enum";
6
- import { EHotelStateFieldConfiguration } from "./EHotelStateFieldConfiguration.enum";
7
- import { EHotelWeekdayStartsOn } from "./EHotelWeekdayStartsOn.enum";
8
- import { EIntegration } from "./EIntegration.enum";
9
- import { DatepickerType, EPaymentCardType, HotelDataSource } from "./IHotel.enum";
10
- import { IHotelColorScheme } from "./IHotelColorScheme.type";
11
- import { EDistanceUnitType, IHotelOverrides } from "./IHotelOverrides.type";
12
- import { IHotelService } from "./IHotelService.type";
13
- import { ActiveCampaignConfigs, Big4Configs, GdayConfigs, PlanPayConfigs, PlanpayConfigs, TillPaymentsConfigs } from "./IntegrationConfigs.type";
14
- import { InternalMemberSignInInputs } from "./InternalMemberSignInModal.type";
15
- export interface IVGSVaultNames {
16
- standard: string;
17
- members: string;
18
- }
19
- export interface IChildConfiguration {
20
- supportChildren: boolean;
21
- supportInfants: boolean;
22
- childRange: {
23
- min: number;
24
- max: number;
25
- };
26
- infantRange: {
27
- min: number;
28
- max: number;
29
- };
30
- }
31
- export type AddressType = {
32
- line1: string;
33
- line2?: string;
34
- line3?: string;
35
- city: string;
36
- postalCode: string;
37
- state: string;
38
- country: string;
39
- };
40
- export type DealDisplayStrategyType = {
41
- includePromotionalRates?: boolean;
42
- includeMemberDeals?: boolean;
43
- };
44
- export type FrontendPerkType = {
45
- name: string;
46
- icon?: string;
47
- image?: MediaType["url"];
48
- };
49
- export type HotelPerkType = {
50
- name: string;
51
- icon?: any;
52
- id?: string;
53
- companyId?: number;
54
- hotelId?: string;
55
- mediaId?: string;
56
- media?: MediaType;
57
- order?: number;
58
- };
59
- export type AdminHotelPerkConfigurationType = {
60
- title?: string;
61
- perks?: HotelPerkType[];
62
- companyIcons?: MediaType[];
63
- };
64
- export interface IHotel {
65
- /** FE/Admin Begin*/
66
- id: string;
67
- name: string;
68
- chainId: number;
69
- chainName: string | null;
70
- phone: string;
71
- latitude: string;
72
- longitude: string;
73
- utcOffset: string;
74
- timeZone: string;
75
- languageCode: string;
76
- currencyCode: string;
77
- checkInTime: string;
78
- checkOutTime: string;
79
- description: string;
80
- locationDescription: string;
81
- vgsVaultName?: string;
82
- vgsMembers?: string;
83
- vgsStandard?: string;
84
- email: string;
85
- shortName: string;
86
- perkTitle?: string;
87
- countryPrefix?: string;
88
- policies: string;
89
- hotelUrl: string;
90
- checkoutUrl?: string;
91
- paymentCardTypes: EPaymentCardType[];
92
- distanceUnitType: EDistanceUnitType;
93
- businessServices: IHotelService[];
94
- hotelServices: IHotelService[];
95
- cardProcessor: EHotelCardProcessor;
96
- dealDisplayStrategy?: DealDisplayStrategyType;
97
- stateFieldConfiguration: EHotelStateFieldConfiguration;
98
- weekdayStartsOn: EHotelWeekdayStartsOn;
99
- planpay?: Omit<PlanPayConfigs, "password">;
100
- requireDeposit: boolean;
101
- enableCreditCardSurcharge: boolean;
102
- preventSameDayBookingsForDirtyRooms: boolean;
103
- preventCancellation: boolean;
104
- showMealPill: boolean;
105
- showAddonLoader: boolean;
106
- captureChildAge: boolean;
107
- maxAdults: number;
108
- maxChildren: number;
109
- maxInfants: number;
110
- pendingBookingTimeout: number;
111
- }
112
- export interface IHotelFrontend extends IHotel {
113
- /** FE Only Begin */
114
- address: AddressType;
115
- rooms: {
116
- [roomName: string]: HotelRoomType;
117
- };
118
- roomGroups: HotelRoomGroupsType[];
119
- dataSource: HotelDataSource;
120
- paymentMethods: EBookingPaymentMethod[];
121
- integrations: EIntegration[];
122
- availableCountries?: {
123
- name: string;
124
- value: string;
125
- }[];
126
- childConfiguration?: IChildConfiguration;
127
- memberOnlySignupInputs?: InternalMemberSignInInputs;
128
- defaultDatepickerType?: DatepickerType;
129
- googleReCaptcha?: {
130
- loadForMembers: boolean;
131
- siteKey: string;
132
- };
133
- overwrites?: {
134
- [roomCode: string]: {
135
- RoomDimensions?: string;
136
- prePerkDisclaimer?: string;
137
- perks?: FrontendPerkType[];
138
- };
139
- };
140
- company?: {
141
- url?: string;
142
- logo?: string;
143
- };
144
- vgs?: {
145
- vaultNames: IVGSVaultNames;
146
- };
147
- colors: IHotelColorScheme;
148
- images: string[];
149
- heroImage: string;
150
- googleMapsImage?: string;
151
- quoteImageDesktop?: string;
152
- quoteImageMobile?: string;
153
- memberOnlyImage?: string;
154
- bookNowPayLaterUrl?: string;
155
- bestRateUrl?: string;
156
- providerHotelID?: string;
157
- memberOnlyPromoCode?: string;
158
- logo?: string;
159
- memberOnlyRates?: string[];
160
- crossSellHotelIds?: string[];
161
- memberOnlyModalUsePrimaryColor: boolean;
162
- memberOnlyRenderRateLast: boolean;
163
- forwardFindReservationToSynxis: boolean;
164
- onLoad?: string | (() => void);
165
- }
166
- export interface IHotelAdmin extends IHotel {
167
- /** Admin Only Begin */
168
- planpayConfigs: PlanpayConfigs;
169
- big4Configs: Big4Configs;
170
- gdayConfigs: GdayConfigs;
171
- tillConfigs: TillPaymentsConfigs;
172
- activeCampaignConfigs: ActiveCampaignConfigs;
173
- integrations: {
174
- planpay: PlanPayConfigs;
175
- tillPayments: TillPaymentsConfigs;
176
- big4: Big4Configs;
177
- };
178
- useMinimumStayOnArrival: boolean;
179
- splitChildAndInfant: boolean;
180
- supportChildren: boolean;
181
- reCaptchaLoadForMembers: boolean;
182
- roomstaySendsEmails: boolean;
183
- roomstaySendsEmailsCancellation: boolean;
184
- reservationContactEmail?: string;
185
- reCaptchaSiteKey?: string;
186
- addressLine1?: string;
187
- addressLine2?: string;
188
- addressLine3?: string;
189
- cityName?: string;
190
- postalCode?: string;
191
- state?: string;
192
- country?: string;
193
- availabilityType?: string;
194
- calendarAvailabilityStrategy?: string;
195
- cancellationEmailTemplate?: string;
196
- confirmationEmailTemplate?: string;
197
- ccBookingEmailsTo?: string;
198
- crossSellDescription?: string;
199
- crossSellHotelId?: string;
200
- currentNightLastBookingTime?: string;
201
- deletedDate?: string;
202
- focusedCalendarRateId?: string;
203
- frontendId: string;
204
- providerId: string;
205
- urlName?: string;
206
- crossSellImagePath?: string;
207
- environment?: string;
208
- revinateToken?: string;
209
- label?: string;
210
- createdDate?: string;
211
- updatedDate?: string;
212
- supportedLanguages?: string[];
213
- roomTypeCodes: string[];
214
- rateMembersData: {
215
- id: string;
216
- rateCode: string;
217
- hotelId: string;
218
- companyId: number;
219
- }[];
220
- auxiliaryFilters: {
221
- id: string;
222
- name: string;
223
- type: string;
224
- includeAllAbove: boolean;
225
- requireInput: boolean;
226
- filterOptions: {
227
- label: string;
228
- value: number;
229
- }[];
230
- }[];
231
- hotelColorScheme?: IHotelColorScheme;
232
- hotelOverride?: IHotelOverrides;
233
- images?: MediaType[];
234
- logo?: MediaType;
235
- heroImage?: MediaType;
236
- googleMapsImage?: MediaType;
237
- quoteImageDesktop?: MediaType;
238
- quoteImageMobile?: MediaType;
239
- memberOnlyImage?: MediaType;
240
- maxChildAge?: number;
241
- maxInfantAge?: number;
242
- minChildAge?: number;
243
- minInfantAge?: number;
244
- passTemporaryBookingComment?: boolean;
245
- preferProviderBookingId?: boolean;
246
- perkConfiguration?: AdminHotelPerkConfigurationType;
247
- priceModel: EHotelPriceModel;
248
- providerData?: IHotelProviderData;
249
- startsWeekOnDay: EHotelWeekdayStartsOn;
250
- }
251
- export interface IHotelProviderData {
252
- rooms: {
253
- [roomCode: string]: {
254
- code: string;
255
- name: string;
256
- shortDescription: string;
257
- longDescription: string;
258
- bedType: string;
259
- images: string[];
260
- quantity: number;
261
- maxOccupancy: number;
262
- bedQuantity: number;
263
- standardNumBeds: number;
264
- maxRollaways: number;
265
- amenities: {
266
- type: string;
267
- description: string;
268
- }[];
269
- features: {
270
- type: string;
271
- description: string;
272
- }[];
273
- };
274
- };
275
- }
@@ -1,76 +0,0 @@
1
- export interface PlanpayConfigs {
2
- deletedDate: string;
3
- createdDate: string;
4
- updatedDate: string;
5
- companyId: number;
6
- hotelId: string;
7
- enabled: boolean;
8
- username: string;
9
- password: string;
10
- endpoint: string;
11
- minDaysShowPlanpay: number;
12
- env: string;
13
- }
14
- export interface Big4Configs {
15
- deletedDate: string;
16
- createdDate: string;
17
- updatedDate: string;
18
- companyId: number;
19
- hotelId: string;
20
- enabled: boolean;
21
- big4ParkId: string;
22
- freeDiscountId: number;
23
- perksPlusDiscountId: number;
24
- vipPerksDiscountId: number;
25
- }
26
- export interface PlanPayConfigs {
27
- username: string;
28
- password: string;
29
- env: string;
30
- minDaysShowPlanpay: number;
31
- enabled?: boolean;
32
- }
33
- export interface TillPaymentsConfigs {
34
- deletedDate: string;
35
- createdDate: string;
36
- updatedDate: string;
37
- companyId: number;
38
- hotelId: string;
39
- enabled: boolean;
40
- apiKey: string;
41
- sharedSecred: string;
42
- apiUsername: string;
43
- apiPassword: string;
44
- useTestingDatabase: boolean;
45
- includeSignature: boolean;
46
- publicIntegrationKey: string;
47
- }
48
- export interface Big4Configs {
49
- parkId: string;
50
- freeDiscountId: number;
51
- perksPlusDiscountId: number;
52
- vipPerksDiscountId: number;
53
- enabled: boolean;
54
- }
55
- export interface ActiveCampaignConfigs {
56
- deletedDate: string;
57
- createdDate: string;
58
- updatedDate: string;
59
- companyId: number;
60
- hotelId: string;
61
- enabled: boolean;
62
- apiUrl: string;
63
- apiKey: string;
64
- listId: number;
65
- tagName: string;
66
- }
67
- export interface GdayConfigs {
68
- deletedDate: string;
69
- createdDate: string;
70
- updatedDate: string;
71
- parkId: string;
72
- gdayDiscountId: number;
73
- companyId: number;
74
- hotelId: string;
75
- enabled: boolean;
76
- }
@@ -1,13 +0,0 @@
1
- export type InputGroupDimensions = "1" | "2/2" | "3/1" | "1/3" | "1/2/2" | "1/1/1";
2
- export interface InternalMemberSignInInputs {
3
- Lines: {
4
- Dimension: InputGroupDimensions;
5
- Inputs: {
6
- name: string;
7
- type: "TextBox";
8
- placeholder?: string;
9
- isRequired?: boolean;
10
- validate?: (value: string) => string | boolean;
11
- }[];
12
- }[];
13
- }
@@ -1,13 +0,0 @@
1
- export type InputGroupDimensions = "1" | "2/2" | "3/1" | "1/3" | "1/2/2" | "1/1/1";
2
- export interface InternalMemberSignInInputs {
3
- Lines: {
4
- Dimension: InputGroupDimensions;
5
- Inputs: {
6
- name: string;
7
- type: "TextBox";
8
- placeholder?: string;
9
- isRequired?: boolean;
10
- validate?: (value: string) => string | boolean;
11
- }[];
12
- }[];
13
- }
@@ -1,24 +0,0 @@
1
- export type HotelRoomAmenitiesType = {
2
- type: string;
3
- description: string;
4
- };
5
- export declare class HotelRoomType {
6
- code: string;
7
- name: string;
8
- shortDescription: string;
9
- longDescription: string;
10
- images: string[];
11
- quantity: number;
12
- maxOccupancy: number;
13
- bedQuantity: number;
14
- showBedType?: boolean;
15
- standardNumBeds: number;
16
- maxRollaways: number;
17
- bedType: string;
18
- amenities: HotelRoomAmenitiesType[];
19
- features: HotelRoomAmenitiesType[];
20
- bedTypeOverride?: string;
21
- roomGroupId?: string;
22
- roomSize?: number;
23
- prePerkDisclaimer?: string;
24
- }