@revolugo/booking-api-client 6.14.6-beta.0 → 6.14.6

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,12 +1590,6 @@ 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;
1599
1593
  /**
1600
1594
  * Hotel address state.
1601
1595
  * @type {string}
@@ -1875,12 +1869,6 @@ export interface HotelOfferApi {
1875
1869
  * @memberof HotelOfferApi
1876
1870
  */
1877
1871
  rating?: number | null;
1878
- /**
1879
- * Hotel review count
1880
- * @type {number}
1881
- * @memberof HotelOfferApi
1882
- */
1883
- reviewCount?: number | null;
1884
1872
  /**
1885
1873
  * Hotel address state.
1886
1874
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/booking-api-client",
3
- "version": "6.14.6-beta.0",
3
+ "version": "6.14.6",
4
4
  "private": false,
5
5
  "description": "Javascript Revolugo Booking API Client (browser + server)",
6
6
  "keywords": [
@@ -11,28 +11,22 @@
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",
25
14
  "exports": {
26
15
  ".": {
27
16
  "types": "./dist/types/index.d.ts",
17
+ "default": "./dist/index.es.js",
28
18
  "import": "./dist/index.es.js",
29
- "require": "./dist/index.umd.js",
30
- "default": "./dist/index.es.js"
19
+ "require": "./dist/index.umd.js"
31
20
  },
32
21
  "./models": {
33
22
  "import": "./src/v1/models/index.ts"
34
23
  }
35
24
  },
25
+ "main": "dist/index.umd.js",
26
+ "types": "dist/types/index.d.ts",
27
+ "files": [
28
+ "dist"
29
+ ],
36
30
  "dependencies": {
37
31
  "cross-fetch": "4.1.0",
38
32
  "joi": "18.0.2",
@@ -40,18 +34,47 @@
40
34
  "@revolugo/common": "6.14.6"
41
35
  },
42
36
  "devDependencies": {
43
- "@hono/node-server": "1.19.7",
44
- "hono": "4.11.0",
45
- "@revolugo/booking-api": "6.14.6",
37
+ "@hono/node-server": "1.19.6",
38
+ "hono": "4.10.7",
46
39
  "@revolugo/engines": "6.14.6",
47
40
  "@revolugo/env": "6.14.6",
48
41
  "@revolugo/models": "6.14.6",
49
42
  "@revolugo/node": "6.14.6",
50
- "@revolugo/root": "6.14.6"
43
+ "@revolugo/booking-api": "6.14.6"
44
+ },
45
+ "engines": {
46
+ "node": ">=20.18.1 <25"
47
+ },
48
+ "volta": {
49
+ "extends": "../../package.json"
51
50
  },
52
51
  "publishConfig": {
53
52
  "access": "public"
54
53
  },
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
+ },
55
78
  "scripts": {
56
79
  "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",
57
80
  "test": "pnpm run test:e2e && pnpm run test:poller",