@revolugo/booking-api-client 6.14.5 → 6.14.6-beta.1

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.
@@ -1590,6 +1590,12 @@ export interface HotelApi {
1590
1590
  * @memberof HotelApi
1591
1591
  */
1592
1592
  rating?: number | null;
1593
+ /**
1594
+ * Hotel review count
1595
+ * @type {number}
1596
+ * @memberof HotelApi
1597
+ */
1598
+ reviewCount?: number | null;
1593
1599
  /**
1594
1600
  * Hotel address state.
1595
1601
  * @type {string}
@@ -1869,6 +1875,12 @@ export interface HotelOfferApi {
1869
1875
  * @memberof HotelOfferApi
1870
1876
  */
1871
1877
  rating?: number | null;
1878
+ /**
1879
+ * Hotel review count
1880
+ * @type {number}
1881
+ * @memberof HotelOfferApi
1882
+ */
1883
+ reviewCount?: number | null;
1872
1884
  /**
1873
1885
  * Hotel address state.
1874
1886
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/booking-api-client",
3
- "version": "6.14.5",
3
+ "version": "6.14.6-beta.1",
4
4
  "private": false,
5
5
  "description": "Javascript Revolugo Booking API Client (browser + server)",
6
6
  "keywords": [
@@ -11,70 +11,47 @@
11
11
  ],
12
12
  "author": "Revolugo",
13
13
  "type": "module",
14
+ "engines": {
15
+ "node": ">=20.18.1 <25"
16
+ },
17
+ "volta": {
18
+ "extends": "../../package.json"
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "main": "dist/index.umd.js",
24
+ "types": "dist/types/index.d.ts",
14
25
  "exports": {
15
26
  ".": {
16
27
  "types": "./dist/types/index.d.ts",
17
- "default": "./dist/index.es.js",
18
28
  "import": "./dist/index.es.js",
19
- "require": "./dist/index.umd.js"
29
+ "require": "./dist/index.umd.js",
30
+ "default": "./dist/index.es.js"
20
31
  },
21
32
  "./models": {
22
33
  "import": "./src/v1/models/index.ts"
23
34
  }
24
35
  },
25
- "main": "dist/index.umd.js",
26
- "types": "dist/types/index.d.ts",
27
- "files": [
28
- "dist"
29
- ],
30
36
  "dependencies": {
31
37
  "cross-fetch": "4.1.0",
32
38
  "joi": "18.0.2",
33
39
  "uuid": "13.0.0",
34
- "@revolugo/common": "6.14.5"
40
+ "@revolugo/common": "6.14.6"
35
41
  },
36
42
  "devDependencies": {
37
- "@hono/node-server": "1.19.6",
38
- "hono": "4.10.7",
39
- "@revolugo/booking-api": "6.14.5",
40
- "@revolugo/engines": "6.14.5",
41
- "@revolugo/env": "6.14.5",
42
- "@revolugo/models": "6.14.5",
43
- "@revolugo/node": "6.14.5"
44
- },
45
- "engines": {
46
- "node": ">=20.18.1 <25"
47
- },
48
- "volta": {
49
- "extends": "../../package.json"
43
+ "@hono/node-server": "1.19.7",
44
+ "hono": "4.11.0",
45
+ "@revolugo/booking-api": "6.14.6",
46
+ "@revolugo/engines": "6.14.6",
47
+ "@revolugo/env": "6.14.6",
48
+ "@revolugo/models": "6.14.6",
49
+ "@revolugo/node": "6.14.6",
50
+ "@revolugo/root": "6.14.6"
50
51
  },
51
52
  "publishConfig": {
52
53
  "access": "public"
53
54
  },
54
- "nx": {
55
- "targets": {
56
- "build": {
57
- "dependsOn": [
58
- "^build"
59
- ],
60
- "inputs": [
61
- "!{projectRoot}/tmp/**/*.ts",
62
- {
63
- "env": "BOOKING_API_BASE_URL"
64
- }
65
- ],
66
- "outputs": [
67
- "{projectRoot}/src/v1",
68
- "{projectRoot}/dist"
69
- ]
70
- },
71
- "test": {
72
- "dependsOn": [
73
- "build"
74
- ]
75
- }
76
- }
77
- },
78
55
  "scripts": {
79
56
  "build": "openapi-generator-cli generate -i ../../../apps/back/booking-api/src/swagger.json -g typescript-fetch -o ./tmp --skip-validate-spec -c ./config.yaml && bun ./scripts/delete-client-extra-classes.ts && cp -r ./tmp/* ./tmp/.openapi* ./src/v1 && rm -rf dist tmp && vite build",
80
57
  "test": "pnpm run test:e2e && pnpm run test:poller",