@revolugo/common 6.9.4-beta.7 → 6.9.4-beta.71
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.
- package/package.json +9 -7
- package/src/constants/countries.ts +0 -2514
- package/src/constants/currencies.ts +0 -1810
- package/src/constants/environment.ts +1 -0
- package/src/constants/hotel-offers.ts +2 -0
- package/src/constants/hotel.ts +3 -0
- package/src/constants/locales.ts +6 -0
- package/src/constants/measurement.ts +1 -0
- package/src/constants/time.ts +1 -0
- package/src/countries/constants.ts +2518 -0
- package/src/{utils/countries.ts → countries/index.ts} +3 -1
- package/src/currencies/index.ts +1817 -0
- package/src/models/paginated-queries.ts +1 -0
- package/src/types/country.ts +1 -1
- package/src/types/elements/amenity.ts +45 -45
- package/src/types/elements/bed.ts +1 -1
- package/src/types/elements/booking-policy.ts +18 -18
- package/src/types/elements/booking.ts +54 -54
- package/src/types/elements/cancellation-policy.ts +1 -1
- package/src/types/elements/contact-person.ts +31 -31
- package/src/types/elements/event-metadata.ts +7 -7
- package/src/types/elements/event.ts +1 -1
- package/src/types/elements/hotel-image.ts +44 -0
- package/src/types/elements/hotel-images.ts +47 -0
- package/src/types/elements/hotel-offer-request.ts +82 -0
- package/src/types/elements/hotel-offer.ts +52 -211
- package/src/types/elements/hotel-review-rating.ts +3 -3
- package/src/types/elements/hotel-room-offer-package-type.ts +8 -0
- package/src/types/elements/hotel-room-offer-request.ts +77 -0
- package/src/types/elements/hotel-room-offer-type.ts +6 -0
- package/src/types/elements/hotel-room-offer.ts +47 -222
- package/src/types/elements/hotel-room.ts +18 -18
- package/src/types/elements/hotel-rooming-list.ts +14 -115
- package/src/types/elements/hotel.ts +15 -110
- package/src/types/elements/index.ts +8 -1
- package/src/types/elements/tag.ts +6 -6
- package/src/types/elements/tax.ts +13 -13
- package/src/types/elements/travel-times.ts +11 -11
- package/src/utils/case-transformers.ts +1 -0
- package/src/utils/currency.ts +11 -2
- package/src/utils/get-guest-count.ts +1 -0
- package/src/utils/index.ts +1 -1
- package/src/utils/object-tools.ts +20 -0
- package/src/utils/poller.ts +1 -0
- package/src/utils/random.ts +12 -0
- package/src/utils/strings.ts +2 -0
- package/src/utils/validators.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revolugo/common",
|
|
3
|
-
"version": "6.9.4-beta.
|
|
3
|
+
"version": "6.9.4-beta.71",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Revolugo common",
|
|
6
6
|
"author": "Revolugo",
|
|
@@ -13,22 +13,24 @@
|
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
"./cancellation-policies": "./src/cancellation-policies.ts",
|
|
16
|
+
"./countries": "./src/countries/index.ts",
|
|
16
17
|
"./constants": "./src/constants/index.ts",
|
|
18
|
+
"./currencies": "./src/currencies/index.ts",
|
|
19
|
+
"./http": "./src/http/index.ts",
|
|
17
20
|
"./models": "./src/models/index.ts",
|
|
18
|
-
"./utils": "./src/utils/index.ts",
|
|
19
21
|
"./types": "./src/types/index.ts",
|
|
20
|
-
"./
|
|
22
|
+
"./utils": "./src/utils/index.ts"
|
|
21
23
|
},
|
|
22
24
|
"dependencies": {
|
|
23
25
|
"change-case": "5.4.4",
|
|
24
|
-
"dayjs": "1.11.
|
|
25
|
-
"ky": "1.
|
|
26
|
+
"dayjs": "1.11.18",
|
|
27
|
+
"ky": "1.10.0",
|
|
26
28
|
"lodash-es": "4.17.21",
|
|
27
29
|
"slugify": "1.6.6",
|
|
28
|
-
"uuid": "
|
|
30
|
+
"uuid": "13.0.0"
|
|
29
31
|
},
|
|
30
32
|
"engines": {
|
|
31
|
-
"node": ">=20.18.1 <
|
|
33
|
+
"node": ">=20.18.1 <25"
|
|
32
34
|
},
|
|
33
35
|
"volta": {
|
|
34
36
|
"extends": "../../package.json"
|