@roomstay/core 0.1.53-12 → 0.1.53-4

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 (68) hide show
  1. package/dist/index.d.ts +0 -0
  2. package/dist/node.js +1 -1
  3. package/dist/node.js.LICENSE.txt +7 -0
  4. package/dist/types/Addons/Addon.type.d.ts +24 -0
  5. package/dist/types/Booking/Booking.types.d.ts +7 -0
  6. package/dist/types/Booking/EBookingStatus.type.d.ts +7 -0
  7. package/dist/types/Booking/IBookingCreateErrorResponse.d.ts +11 -0
  8. package/dist/types/Booking/IBookingPayment.type.d.ts +26 -30
  9. package/dist/types/Booking/IBookingQuote.type.d.ts +0 -0
  10. package/dist/types/Booking/IBookingStatus.type.d.ts +5 -0
  11. package/dist/types/Booking/ICheckoutBrowserSession.type.d.ts +14 -0
  12. package/dist/types/Booking/ICommonQueryParameters.d.ts +3 -0
  13. package/dist/types/Booking/IConfirmBooking.type.d.ts +19 -0
  14. package/dist/types/Booking/IConfirmBookingRequest.d.ts +14 -0
  15. package/dist/types/Booking/IConfirmBookingRequest.type.d.ts +14 -0
  16. package/dist/types/Booking/IGetBooking.type.d.ts +7 -0
  17. package/dist/types/Booking/IItinerary.type.d.ts +99 -0
  18. package/dist/types/Booking/IItineraryResponse.d.ts +105 -0
  19. package/dist/types/Booking/IPackage.type.d.ts +89 -0
  20. package/dist/types/Booking/IPencilReservation.type.d.ts +16 -0
  21. package/dist/types/Booking/IPlaceBooking.type.d.ts +83 -0
  22. package/dist/types/Booking/IPrice.type.d.ts +7 -0
  23. package/dist/types/Booking/IRollbackBooking.type.d.ts +6 -0
  24. package/dist/types/Booking/Itinerary.types.d.ts +11 -2
  25. package/dist/types/Booking/Package.types.d.ts +89 -0
  26. package/dist/types/Company/ECompanyProvider.enum.d.ts +1 -2
  27. package/dist/types/Company/IAdminCompany.type.d.ts +0 -2
  28. package/dist/types/Company/IAdminCompanyUser.type.d.ts +0 -0
  29. package/dist/types/Events/IRoomstayEvent.type.d.ts +0 -0
  30. package/dist/types/General/HttpMethod.enum.d.ts +0 -0
  31. package/dist/types/General/IJsonString.type.d.ts +6 -0
  32. package/dist/types/GiftCards/GiftCard.types.d.ts +0 -3
  33. package/dist/types/Hotel/EHotelPriceModel.enum.d.ts +0 -0
  34. package/dist/types/Hotel/EHotelWeekdayStartsOn.enum.d.ts +0 -0
  35. package/dist/types/Hotel/EIntegration.enum.d.ts +1 -2
  36. package/dist/types/Hotel/IAuxiliaryFilter.type.d.ts +0 -0
  37. package/dist/types/Hotel/IHotelColorScheme.type.d.ts +0 -0
  38. package/dist/types/Hotel/IHotelOverrides.type.d.ts +0 -0
  39. package/dist/types/Hotel/IHotelReplica.type.d.ts +0 -0
  40. package/dist/types/Hotel/IHotelService.type.d.ts +0 -0
  41. package/dist/types/Image/IRoomstayImage.type.d.ts +0 -0
  42. package/dist/types/Member/IRoomstayCognitoMember.type.d.ts +0 -0
  43. package/dist/types/Member/IRoomstayMember.type.d.ts +0 -0
  44. package/dist/types/Member/IRoomstayMemberBooking.type.d.ts +0 -0
  45. package/dist/types/Member/IRoomstayMemberBookingAddress.type.d.ts +0 -0
  46. package/dist/types/Member/IRoomstayMemberBookingItem.type.d.ts +0 -0
  47. package/dist/types/Member/IRoomstayMemberBookingProfile.type.d.ts +0 -0
  48. package/dist/types/Member/IRoomstayMemberCards.type.d.ts +0 -0
  49. package/dist/types/Member/ISession.type.d.ts +0 -0
  50. package/dist/types/Package/IPackage.type.d.ts +101 -0
  51. package/dist/types/Pagination.types.d.ts +11 -0
  52. package/dist/types/Policies/EGuaranteePolicy.enum.d.ts +0 -6
  53. package/dist/types/RMS/ERMSDiscountType.enum.d.ts +0 -0
  54. package/dist/types/RMS/IRMSPropertyDiscount.type.d.ts +0 -0
  55. package/dist/types/RMS/IRMSRequirement.type.d.ts +0 -0
  56. package/dist/types/Room/IRoomGroup.type.d.ts +0 -0
  57. package/dist/types/index.d.ts +0 -5
  58. package/dist/utils/bookingTotal.d.ts +0 -0
  59. package/dist/utils/index.d.ts +0 -0
  60. package/dist/utils/nameof.d.ts +2 -0
  61. package/dist/utils/roomstayImageResize.d.ts +0 -0
  62. package/dist/utils/uppercaseString.d.ts +0 -0
  63. package/dist/web.js +1 -1
  64. package/dist/web.js.LICENSE.txt +7 -0
  65. package/package.json +1 -1
  66. package/dist/types/General/Warning.type.d.ts +0 -14
  67. package/dist/types/OHIP/IOHIPConfiguration.types.d.ts +0 -9
  68. package/dist/types/OHIP/index.d.ts +0 -1
@@ -0,0 +1,99 @@
1
+ import { EBookingPaymentMethod } from './IBookingPayment.type';
2
+ import { IPrice } from './IPrice.type';
3
+ import { IReservedPackage } from '../Package/IPackage.type';
4
+ export type IItineraryResponse = {
5
+ roomstayId: string;
6
+ itineraryNumber?: string;
7
+ total?: IAmount;
8
+ hotelFrontendId?: string;
9
+ reservations: IReservation[];
10
+ payment?: {
11
+ planpay?: {
12
+ id: string;
13
+ checkoutWorkflow: ICheckoutWorkflowType;
14
+ };
15
+ external?: {
16
+ id: string;
17
+ redirectUrl: string;
18
+ };
19
+ };
20
+ feesSummary?: IItemisedBookingFeeResponse[];
21
+ itemisedFees?: IItemisedBookingFeeResponse[];
22
+ warnings?: string[];
23
+ };
24
+ export type IReservation = {
25
+ reservationNumber: string;
26
+ roomType: string;
27
+ roomCode: string;
28
+ rate: string;
29
+ rateCode?: string;
30
+ images: string[];
31
+ guaranteePolicy?: string;
32
+ cancellationPolicy?: string;
33
+ checkInDate: string;
34
+ checkOutDate: string;
35
+ nights: {
36
+ [date: string]: IPrice;
37
+ };
38
+ guestCounts: IGuestCounts;
39
+ guest: IGuestProfile;
40
+ paymentCard: {
41
+ type: string | undefined;
42
+ last4: string;
43
+ expiry: string;
44
+ name: string;
45
+ };
46
+ paymentMethod: EBookingPaymentMethod;
47
+ total: IAmount;
48
+ status: string;
49
+ isCancelable: boolean;
50
+ addons: IReservedPackage[] | undefined;
51
+ comments?: string[];
52
+ specialRequests?: string[];
53
+ promoCode?: string;
54
+ guaranteePolicyLongDescription?: string;
55
+ cancellationPolicyLongDescription?: string;
56
+ itemisedFees?: IItemisedBookingFeeResponse[];
57
+ };
58
+ export type IGuestProfile = {
59
+ title?: string;
60
+ firstName?: string;
61
+ middleName?: string;
62
+ lastName?: string;
63
+ nameSuffix?: string;
64
+ phone?: string;
65
+ email?: string;
66
+ address: IAddress;
67
+ marketingOptIn?: boolean;
68
+ country: string;
69
+ };
70
+ export type IGuestCounts = {
71
+ adults: number;
72
+ children: number;
73
+ };
74
+ export type IAddress = {
75
+ line1?: string;
76
+ line2?: string;
77
+ line3?: string;
78
+ city?: string;
79
+ postalCode?: string;
80
+ state?: string;
81
+ country?: string;
82
+ };
83
+ export type IAmount = {
84
+ beforeTax: number;
85
+ afterTax: number;
86
+ beforeFees?: number;
87
+ };
88
+ export type ICheckoutWorkflowType = {
89
+ sdkWidget: {
90
+ type: string;
91
+ id: string;
92
+ scriptUrl: string;
93
+ };
94
+ };
95
+ export type IItemisedBookingFeeResponse = {
96
+ name: string;
97
+ description?: string;
98
+ amount: number;
99
+ };
@@ -0,0 +1,105 @@
1
+ import { EBookingPaymentMethod } from './IBookingPayment.type';
2
+ import { IReservedPackage } from './Package.types';
3
+ export type IItineraryResponse = {
4
+ roomstayId: string;
5
+ itineraryNumber?: string;
6
+ total?: IAmount;
7
+ hotelFrontendId?: string;
8
+ reservations: IReservation[];
9
+ payment?: {
10
+ planpay?: {
11
+ id: string;
12
+ checkoutWorkflow: ICheckoutWorkflowType;
13
+ };
14
+ external?: {
15
+ id: string;
16
+ redirectUrl: string;
17
+ };
18
+ };
19
+ feesSummary?: IItemisedBookingFeeResponse[];
20
+ itemisedFees?: IItemisedBookingFeeResponse[];
21
+ warnings?: string[];
22
+ };
23
+ export type IReservation = {
24
+ reservationNumber: string;
25
+ roomType: string;
26
+ roomCode: string;
27
+ rate: string;
28
+ rateCode?: string;
29
+ images: string[];
30
+ guaranteePolicy?: string;
31
+ cancellationPolicy?: string;
32
+ checkInDate: string;
33
+ checkOutDate: string;
34
+ nights: {
35
+ [date: string]: IPrice;
36
+ };
37
+ guestCounts: IGuestCounts;
38
+ guest: IGuestProfile;
39
+ paymentCard: {
40
+ type: string | undefined;
41
+ last4: string;
42
+ expiry: string;
43
+ name: string;
44
+ };
45
+ paymentMethod: EBookingPaymentMethod;
46
+ total: IAmount;
47
+ status: string;
48
+ isCancelable: boolean;
49
+ addons: IReservedPackage[] | undefined;
50
+ comments?: string[];
51
+ specialRequests?: string[];
52
+ promoCode?: string;
53
+ guaranteePolicyLongDescription?: string;
54
+ cancellationPolicyLongDescription?: string;
55
+ itemisedFees?: IItemisedBookingFeeResponse[];
56
+ };
57
+ export type IGuestProfile = {
58
+ title?: string;
59
+ firstName?: string;
60
+ middleName?: string;
61
+ lastName?: string;
62
+ nameSuffix?: string;
63
+ phone?: string;
64
+ email?: string;
65
+ address: IAddress;
66
+ marketingOptIn?: boolean;
67
+ country: string;
68
+ };
69
+ export type IGuestCounts = {
70
+ adults: number;
71
+ children: number;
72
+ };
73
+ export type IAddress = {
74
+ line1?: string;
75
+ line2?: string;
76
+ line3?: string;
77
+ city?: string;
78
+ postalCode?: string;
79
+ state?: string;
80
+ country?: string;
81
+ };
82
+ export type IAmount = {
83
+ beforeTax: number;
84
+ afterTax: number;
85
+ beforeFees?: number;
86
+ };
87
+ export type IPrice = {
88
+ cost: number;
89
+ discount: number;
90
+ tax: number;
91
+ fee: number;
92
+ total: number;
93
+ };
94
+ export type ICheckoutWorkflowType = {
95
+ sdkWidget: {
96
+ type: string;
97
+ id: string;
98
+ scriptUrl: string;
99
+ };
100
+ };
101
+ export type IItemisedBookingFeeResponse = {
102
+ name: string;
103
+ description?: string;
104
+ amount: number;
105
+ };
@@ -0,0 +1,89 @@
1
+ import { IAddonPriceDetailsFee } from 'types/Addons/Addon.type';
2
+ import { IItemisedBookingFeeResponse } from './IItinerary.type';
3
+ export type IPackage = {
4
+ /**
5
+ * The SynXis CR RatePlan Code associated with the Package if the Package is restricted to certain RatePlans
6
+ */
7
+ ratePlanCode?: string;
8
+ name: string;
9
+ description: string;
10
+ /**
11
+ * Whether the price for this package is included in the room rate.
12
+ * (Always `false` unless the price is zero)
13
+ */
14
+ inclusive: boolean;
15
+ image: string[];
16
+ url?: string;
17
+ /**
18
+ * Defines how a service is priced.
19
+ * Values:
20
+ * Per Stay
21
+ * Per Night
22
+ * Per Person
23
+ * Per Person Per Night
24
+ */
25
+ pricingType: string;
26
+ /**
27
+ * Number of available items for sale.
28
+ */
29
+ quantity?: number;
30
+ category: string;
31
+ cancelPenalty?: string | null;
32
+ guaranteeDescription?: string | null;
33
+ availability: {
34
+ [date: string]: IPriceInfo;
35
+ };
36
+ };
37
+ export type IReservedPackage = IPackage & {
38
+ code?: string | undefined;
39
+ price?: number;
40
+ fees?: number;
41
+ itemisedFees?: IItemisedBookingFeeResponse[];
42
+ adultQuantity?: number;
43
+ childQuantity?: number;
44
+ adultPrice?: number;
45
+ childPrice?: number;
46
+ startDate?: string;
47
+ startTime?: string;
48
+ hideDatePicker?: boolean;
49
+ order?: number;
50
+ };
51
+ export type IPriceInfo = {
52
+ /**
53
+ * Number of available items for sale.
54
+ */
55
+ quantity: number;
56
+ /**
57
+ * Price per quantity
58
+ */
59
+ price?: number;
60
+ adultPrice?: number;
61
+ childPrice?: number;
62
+ fees?: IAddonPriceDetailsFee[];
63
+ adultFees?: IAddonPriceDetailsFee[];
64
+ childFees?: IAddonPriceDetailsFee[];
65
+ timeSlots?: ITimeSlot[];
66
+ };
67
+ export type ITimeSlot = {
68
+ /**
69
+ The start date and time when the package is available.
70
+ If the package applies during the whole stay, this node is not returned unless the time needs to be selected. In that case, the Start and End dates do not
71
+ include the date: @Start="T07:30:00" and @End="T17:30:00" and @Increment="00:60:00"
72
+ Type: DateTime
73
+ **/
74
+ startTime?: string;
75
+ /**
76
+ The end date / time when the package is available.
77
+ If the package component applies during the whole stay, this node is not returned unless the time needs to be selected. In that case, the Start and End dates
78
+ do not include the date: @Start="T07:30:00" and @End="T17:30:00" and @Increment="00:60:00"
79
+ Type: DateTime
80
+ */
81
+ endTime?: string;
82
+ /**
83
+ Used with @Start and @End. Indicates the interval when the package or service is available.
84
+ For example, a package with golf lessons from 7:30 am to 5:30 pm with instructions and available hourly has the TimeSpan attributes set as: @Start="2015-
85
+ 010-28T07:30:00" and @End="2015-10-28T17:30:00" and @Increment="00:60:00"
86
+ Type: Time
87
+ */
88
+ increment?: string;
89
+ };
@@ -0,0 +1,16 @@
1
+ import { IBookingQuoteRequest, IBookingQuoteResponse } from './IBookingQuote.type';
2
+ export type IPencilReservationRequest = IBookingQuoteRequest & {
3
+ pencilId?: string;
4
+ rows: {
5
+ pencilId: string;
6
+ } & IBookingQuoteRequest['rows'][number][];
7
+ };
8
+ export type IPencilReservationResponse = {
9
+ timeout?: Date;
10
+ pencilId?: string;
11
+ rows: {
12
+ rowId: string;
13
+ pencilId: string;
14
+ }[];
15
+ quote?: IBookingQuoteResponse;
16
+ };
@@ -0,0 +1,83 @@
1
+ import { IRoomstayMemberJWTData } from '../Member/IRoomstayMemberJWTData.type';
2
+ import { IBookingPayment } from './IBookingPayment.type';
3
+ import { ItineraryResponse } from './Itinerary.types';
4
+ import { ICommonQueryParameters } from './ICommonQueryParameters.type';
5
+ export type IPlaceBookingRequest = {
6
+ Rooms: IPlaceBookingRoomsDTO[];
7
+ Services: IPlaceBookingServicesDTO[];
8
+ Profiles?: IPlaceBookingProfilesDTO[];
9
+ SpecialRequest?: string;
10
+ Comments?: string;
11
+ IATACode?: string;
12
+ SessionId?: string;
13
+ PencilId?: string;
14
+ Tracking: {
15
+ sourceIp: string;
16
+ userAgent: string;
17
+ sourceUrl: string;
18
+ } & IPlaceBookingGCLIDAndUTM;
19
+ payment: IBookingPayment;
20
+ frontendMember?: IRoomstayMemberJWTData;
21
+ } & ICommonQueryParameters;
22
+ export type IRepeatPaymentRequest = IPlaceBookingRequest & {
23
+ RoomstayId: string;
24
+ };
25
+ export type IPlaceBookingResponse = ItineraryResponse;
26
+ export type IPlaceBookingRoomsDTO = {
27
+ RoomType: string;
28
+ RatePlan: string;
29
+ PromoCode?: string;
30
+ Adults: number;
31
+ Children: number;
32
+ Infants?: number;
33
+ CheckInDate: Date;
34
+ CheckOutDate: Date;
35
+ QuoteId?: number;
36
+ RowId?: string;
37
+ MemberNumber?: string;
38
+ PencilId?: string;
39
+ };
40
+ export type IPlaceBookingServicesDTO = {
41
+ Code: string;
42
+ RatePlanCode: string;
43
+ StartDate: Date;
44
+ StartTime?: string;
45
+ Quantity?: number;
46
+ Adults?: number;
47
+ Children?: number;
48
+ PricingType?: string;
49
+ };
50
+ export type IPlaceBookingProfilesDTO = {
51
+ Title?: string;
52
+ FirstName: string;
53
+ MiddleName?: string;
54
+ LastName: string;
55
+ NameSuffix?: string;
56
+ Phone: string;
57
+ Email: string;
58
+ Address: {
59
+ Line1: string;
60
+ Line2?: string;
61
+ Line3?: string;
62
+ City?: string;
63
+ PostalCode?: string;
64
+ State?: string;
65
+ Country?: string;
66
+ CountryId?: number;
67
+ CountryCode?: string;
68
+ };
69
+ MarketingOptIn: boolean;
70
+ AuxInputs: {
71
+ [auxInputId: string]: string;
72
+ };
73
+ };
74
+ export type IPlaceBookingGCLIDAndUTM = {
75
+ utm: {
76
+ utmSource: string | null;
77
+ utmMedium: string | null;
78
+ utmCampaign: string | null;
79
+ utmTerm: string | null;
80
+ utmContent: string | null;
81
+ };
82
+ gclid: string | null;
83
+ };
@@ -0,0 +1,7 @@
1
+ export type IPrice = {
2
+ cost: number;
3
+ discount: number;
4
+ tax: number;
5
+ fee: number;
6
+ total: number;
7
+ };
@@ -0,0 +1,6 @@
1
+ import { EBookingStatus } from './EBookingStatus.type';
2
+ import { IConfirmBookingRequest } from './IConfirmBooking.type';
3
+ export type IRollbackBookingRequest = IConfirmBookingRequest & {
4
+ status: EBookingStatus.Reverted | EBookingStatus.Cancelled;
5
+ reason: string;
6
+ };
@@ -1,4 +1,4 @@
1
- import { EBookingPaymentMethod, IPaymentCheckoutDetails } from './IBookingPayment.type';
1
+ import { EBookingPaymentMethod } from './IBookingPayment.type';
2
2
  import { ReservedPackage } from '../Package/Package.types';
3
3
  export declare class ItineraryResponse {
4
4
  roomstayId: string;
@@ -6,7 +6,16 @@ export declare class ItineraryResponse {
6
6
  total?: IAmount;
7
7
  hotelFrontendId?: string;
8
8
  reservations: Reservation[];
9
- payment?: IPaymentCheckoutDetails;
9
+ payment?: {
10
+ planpay?: {
11
+ id: string;
12
+ checkoutWorkflow: ICheckoutWorkflowType;
13
+ };
14
+ external?: {
15
+ id: string;
16
+ redirectUrl: string;
17
+ };
18
+ };
10
19
  feesSummary?: IItemisedBookingFeeResponse[];
11
20
  itemisedFees?: IItemisedBookingFeeResponse[];
12
21
  warnings?: string[];
@@ -0,0 +1,89 @@
1
+ import { IAddonPriceDetailsFee } from 'types/Addons/Addon.types';
2
+ import { IItemisedBookingFeeResponse } from './IItineraryResponse';
3
+ export type IPackage = {
4
+ /**
5
+ * The SynXis CR RatePlan Code associated with the Package if the Package is restricted to certain RatePlans
6
+ */
7
+ ratePlanCode?: string;
8
+ name: string;
9
+ description: string;
10
+ /**
11
+ * Whether the price for this package is included in the room rate.
12
+ * (Always `false` unless the price is zero)
13
+ */
14
+ inclusive: boolean;
15
+ image: string[];
16
+ url?: string;
17
+ /**
18
+ * Defines how a service is priced.
19
+ * Values:
20
+ * Per Stay
21
+ * Per Night
22
+ * Per Person
23
+ * Per Person Per Night
24
+ */
25
+ pricingType: string;
26
+ /**
27
+ * Number of available items for sale.
28
+ */
29
+ quantity?: number;
30
+ category: string;
31
+ cancelPenalty?: string | null;
32
+ guaranteeDescription?: string | null;
33
+ availability: {
34
+ [date: string]: IPriceInfo;
35
+ };
36
+ };
37
+ export type IReservedPackage = IPackage & {
38
+ code?: string | undefined;
39
+ price?: number;
40
+ fees?: number;
41
+ itemisedFees?: IItemisedBookingFeeResponse[];
42
+ adultQuantity?: number;
43
+ childQuantity?: number;
44
+ adultPrice?: number;
45
+ childPrice?: number;
46
+ startDate?: string;
47
+ startTime?: string;
48
+ hideDatePicker?: boolean;
49
+ order?: number;
50
+ };
51
+ export type IPriceInfo = {
52
+ /**
53
+ * Number of available items for sale.
54
+ */
55
+ quantity: number;
56
+ /**
57
+ * Price per quantity
58
+ */
59
+ price?: number;
60
+ adultPrice?: number;
61
+ childPrice?: number;
62
+ fees?: IAddonPriceDetailsFee[];
63
+ adultFees?: IAddonPriceDetailsFee[];
64
+ childFees?: IAddonPriceDetailsFee[];
65
+ timeSlots?: ITimeSlot[];
66
+ };
67
+ export type ITimeSlot = {
68
+ /**
69
+ The start date and time when the package is available.
70
+ If the package applies during the whole stay, this node is not returned unless the time needs to be selected. In that case, the Start and End dates do not
71
+ include the date: @Start="T07:30:00" and @End="T17:30:00" and @Increment="00:60:00"
72
+ Type: DateTime
73
+ **/
74
+ startTime?: string;
75
+ /**
76
+ The end date / time when the package is available.
77
+ If the package component applies during the whole stay, this node is not returned unless the time needs to be selected. In that case, the Start and End dates
78
+ do not include the date: @Start="T07:30:00" and @End="T17:30:00" and @Increment="00:60:00"
79
+ Type: DateTime
80
+ */
81
+ endTime?: string;
82
+ /**
83
+ Used with @Start and @End. Indicates the interval when the package or service is available.
84
+ For example, a package with golf lessons from 7:30 am to 5:30 pm with instructions and available hourly has the TimeSpan attributes set as: @Start="2015-
85
+ 010-28T07:30:00" and @End="2015-10-28T17:30:00" and @Increment="00:60:00"
86
+ Type: Time
87
+ */
88
+ increment?: string;
89
+ };
@@ -3,6 +3,5 @@ export declare enum ECompanyProvider {
3
3
  Availpro = "Availpro",
4
4
  RMS = "RMS",
5
5
  Siteminder = "Siteminder",
6
- Roomstay = "Roomstay",
7
- OHIP = "OHIP"
6
+ Roomstay = "Roomstay"
8
7
  }
@@ -10,7 +10,6 @@ export interface IAdminCompany {
10
10
  isGiftCardsEnabled: boolean;
11
11
  isEventsEnabled: boolean;
12
12
  isAnalyticsEnabled: boolean;
13
- preventMemberPortalWelcomeEmails: boolean;
14
13
  hotels: {
15
14
  name: string;
16
15
  label: string;
@@ -21,7 +20,6 @@ export interface IAdminCompany {
21
20
  clientPassword: string;
22
21
  useTrainingDb: boolean;
23
22
  apiUrl: string;
24
- pencilGuestId?: number;
25
23
  };
26
24
  }[];
27
25
  enableLighthouseAvailability: boolean;
File without changes
File without changes
File without changes
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Basic object to wrap a string that is de/encoded as JSON.
3
+ */
4
+ export type IJsonString = {
5
+ message: string;
6
+ };
@@ -12,9 +12,6 @@ export declare const AddGiftCardSchema: z.ZodObject<{
12
12
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  }, z.core.$strip>;
14
14
  export type IAddGiftCardRequest = z.infer<typeof AddGiftCardSchema>;
15
- export type IAddGiftCardResponse = IGiftCardDTO & {
16
- password: string;
17
- };
18
15
  export type IGiftCardDTO = {
19
16
  code: string;
20
17
  createdBy?: string | null;
File without changes
File without changes
@@ -3,6 +3,5 @@ export declare enum EIntegration {
3
3
  RmsTop10 = "Top10",
4
4
  Top10 = "NewTop10",
5
5
  Gday = "Gday",
6
- Salesforce = "Salesforce",
7
- RAC = "RAC"
6
+ Salesforce = "Salesforce"
8
7
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes