@roomstay/core 0.1.42-0 → 0.1.43-0

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 (43) hide show
  1. package/dist/index.d.ts +0 -0
  2. package/dist/node.js +0 -0
  3. package/dist/types/Booking/IBookingCreateErrorResponse.d.ts +0 -0
  4. package/dist/types/Booking/IBookingPayment.type.d.ts +0 -0
  5. package/dist/types/Booking/IBookingQuote.type.d.ts +0 -0
  6. package/dist/types/Booking/IBookingStatus.type.d.ts +0 -0
  7. package/dist/types/Booking/ICheckoutBrowserSession.type.d.ts +14 -0
  8. package/dist/types/Booking/IPrice.type.d.ts +0 -0
  9. package/dist/types/Company/ECompanyProvider.enum.d.ts +0 -0
  10. package/dist/types/Company/IAdminCompany.type.d.ts +0 -0
  11. package/dist/types/Company/IAdminCompanyUser.type.d.ts +0 -0
  12. package/dist/types/Events/IRoomstayEvent.type.d.ts +0 -0
  13. package/dist/types/General/HttpMethod.enum.d.ts +0 -0
  14. package/dist/types/General/IJsonString.type.d.ts +6 -0
  15. package/dist/types/Hotel/EHotelPriceModel.enum.d.ts +0 -0
  16. package/dist/types/Hotel/EHotelWeekdayStartsOn.enum.d.ts +0 -0
  17. package/dist/types/Hotel/IAuxiliaryFilter.type.d.ts +0 -0
  18. package/dist/types/Hotel/IHotelColorScheme.type.d.ts +0 -0
  19. package/dist/types/Hotel/IHotelOverrides.type.d.ts +0 -0
  20. package/dist/types/Hotel/IHotelReplica.type.d.ts +1 -0
  21. package/dist/types/Hotel/IHotelService.type.d.ts +0 -0
  22. package/dist/types/Image/IRoomstayImage.type.d.ts +0 -0
  23. package/dist/types/Member/IRoomstayCognitoMember.type.d.ts +0 -0
  24. package/dist/types/Member/IRoomstayMember.type.d.ts +0 -0
  25. package/dist/types/Member/IRoomstayMemberBooking.type.d.ts +0 -0
  26. package/dist/types/Member/IRoomstayMemberBookingAddress.type.d.ts +0 -0
  27. package/dist/types/Member/IRoomstayMemberBookingItem.type.d.ts +0 -0
  28. package/dist/types/Member/IRoomstayMemberBookingProfile.type.d.ts +0 -0
  29. package/dist/types/Member/IRoomstayMemberCards.type.d.ts +0 -0
  30. package/dist/types/Member/ISession.type.d.ts +0 -0
  31. package/dist/types/Policies/EGuaranteePolicy.enum.d.ts +0 -0
  32. package/dist/types/RMS/ERMSDiscountType.enum.d.ts +0 -0
  33. package/dist/types/RMS/IRMSPropertyDiscount.type.d.ts +0 -0
  34. package/dist/types/RMS/IRMSRequirement.type.d.ts +0 -0
  35. package/dist/types/Room/IRoomGroup.type.d.ts +0 -0
  36. package/dist/types/index.d.ts +0 -0
  37. package/dist/utils/bookingTotal.d.ts +0 -0
  38. package/dist/utils/index.d.ts +0 -0
  39. package/dist/utils/nameof.d.ts +2 -0
  40. package/dist/utils/roomstayImageResize.d.ts +0 -0
  41. package/dist/utils/uppercaseString.d.ts +0 -0
  42. package/dist/web.js +0 -0
  43. package/package.json +1 -1
package/dist/index.d.ts CHANGED
File without changes
package/dist/node.js CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,14 @@
1
+ import { EHotelCardProcessor, EHotelCardProcessorInitData } from './IBookingPayment.type';
2
+ export type ICheckoutBrowserSession<T extends EHotelCardProcessor | undefined = EHotelCardProcessor> = {
3
+ browserSessionId: string;
4
+ checkoutSessionId: string;
5
+ rows: {}[];
6
+ /**
7
+ * ISO 8601 date string
8
+ */
9
+ expiry: string;
10
+ payment: {
11
+ processor: T;
12
+ data: EHotelCardProcessorInitData[T];
13
+ };
14
+ };
File without changes
File without changes
File without changes
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
+ };
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -49,5 +49,6 @@ export type IHotelReplica = {
49
49
  supportedLanguages: string[];
50
50
  urlName: string;
51
51
  utcOffset: string;
52
+ timeZone: string;
52
53
  weekdayStartsOn: EHotelWeekdayStartsOn;
53
54
  };
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
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ export declare const nameof: <T>(name: Extract<keyof T, string>) => string;
2
+ export declare const nameofField: <T>(instance: T, name: keyof T) => string;
File without changes
File without changes
package/dist/web.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomstay/core",
3
- "version": "0.1.42-0",
3
+ "version": "0.1.43-0",
4
4
  "description": "Details shared between Roomstay libraries. Anything from Currency, to Generic types",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [