@revolugo/booking-api-client 6.12.1 → 6.13.0-rc.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.
- package/README.md +2 -1
- package/dist/index.es.js +1409 -3211
- package/dist/index.umd.js +2 -2
- package/dist/types/v1/models/index.d.ts +64 -2
- package/package.json +10 -10
|
@@ -2215,10 +2215,60 @@ export interface HotelOffersApiResponse {
|
|
|
2215
2215
|
event?: any | null;
|
|
2216
2216
|
/**
|
|
2217
2217
|
*
|
|
2218
|
-
* @type {
|
|
2218
|
+
* @type {HotelOffersApiResponseMeta}
|
|
2219
2219
|
* @memberof HotelOffersApiResponse
|
|
2220
2220
|
*/
|
|
2221
|
-
meta:
|
|
2221
|
+
meta: HotelOffersApiResponseMeta;
|
|
2222
|
+
}
|
|
2223
|
+
/**
|
|
2224
|
+
* Meta information about the response list, such as pagination cursors or status.
|
|
2225
|
+
* @export
|
|
2226
|
+
* @interface HotelOffersApiResponseMeta
|
|
2227
|
+
*/
|
|
2228
|
+
export interface HotelOffersApiResponseMeta {
|
|
2229
|
+
/**
|
|
2230
|
+
* A cursor to use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
2231
|
+
* @type {string}
|
|
2232
|
+
* @memberof HotelOffersApiResponseMeta
|
|
2233
|
+
*/
|
|
2234
|
+
endingBefore?: string | null;
|
|
2235
|
+
/**
|
|
2236
|
+
* A limit on the number of object to be returned.
|
|
2237
|
+
* @type {number}
|
|
2238
|
+
* @memberof HotelOffersApiResponseMeta
|
|
2239
|
+
*/
|
|
2240
|
+
limit?: number;
|
|
2241
|
+
/**
|
|
2242
|
+
* A cursor to use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
2243
|
+
* @type {string}
|
|
2244
|
+
* @memberof HotelOffersApiResponseMeta
|
|
2245
|
+
*/
|
|
2246
|
+
startingAfter?: string | null;
|
|
2247
|
+
/**
|
|
2248
|
+
*
|
|
2249
|
+
* @type {number}
|
|
2250
|
+
* @memberof HotelOffersApiResponseMeta
|
|
2251
|
+
*/
|
|
2252
|
+
totalCount: number;
|
|
2253
|
+
/**
|
|
2254
|
+
*
|
|
2255
|
+
* @type {PollerStatus}
|
|
2256
|
+
* @memberof HotelOffersApiResponseMeta
|
|
2257
|
+
*/
|
|
2258
|
+
status: PollerStatus;
|
|
2259
|
+
}
|
|
2260
|
+
/**
|
|
2261
|
+
*
|
|
2262
|
+
* @export
|
|
2263
|
+
* @interface HotelOffersApiResponseMetaAllOf
|
|
2264
|
+
*/
|
|
2265
|
+
export interface HotelOffersApiResponseMetaAllOf {
|
|
2266
|
+
/**
|
|
2267
|
+
*
|
|
2268
|
+
* @type {number}
|
|
2269
|
+
* @memberof HotelOffersApiResponseMetaAllOf
|
|
2270
|
+
*/
|
|
2271
|
+
totalCount: number;
|
|
2222
2272
|
}
|
|
2223
2273
|
/**
|
|
2224
2274
|
*
|
|
@@ -3221,6 +3271,12 @@ export interface MetaApiPollingResponse {
|
|
|
3221
3271
|
* @memberof MetaApiPollingResponse
|
|
3222
3272
|
*/
|
|
3223
3273
|
startingAfter?: string | null;
|
|
3274
|
+
/**
|
|
3275
|
+
*
|
|
3276
|
+
* @type {number}
|
|
3277
|
+
* @memberof MetaApiPollingResponse
|
|
3278
|
+
*/
|
|
3279
|
+
totalCount?: number | null;
|
|
3224
3280
|
/**
|
|
3225
3281
|
*
|
|
3226
3282
|
* @type {PollerStatus}
|
|
@@ -3265,6 +3321,12 @@ export interface MetaApiResponse {
|
|
|
3265
3321
|
* @memberof MetaApiResponse
|
|
3266
3322
|
*/
|
|
3267
3323
|
startingAfter?: string | null;
|
|
3324
|
+
/**
|
|
3325
|
+
*
|
|
3326
|
+
* @type {number}
|
|
3327
|
+
* @memberof MetaApiResponse
|
|
3328
|
+
*/
|
|
3329
|
+
totalCount?: number | null;
|
|
3268
3330
|
}
|
|
3269
3331
|
/**
|
|
3270
3332
|
* @type PaymentMethodApi
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revolugo/booking-api-client",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.13.0-rc.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Javascript Revolugo Booking API Client (browser + server)",
|
|
6
6
|
"keywords": [
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"cross-fetch": "4.1.0",
|
|
32
32
|
"joi": "18.0.1",
|
|
33
33
|
"uuid": "13.0.0",
|
|
34
|
-
"@revolugo/common": "6.
|
|
34
|
+
"@revolugo/common": "6.13.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@hono/node-server": "1.19.
|
|
38
|
-
"hono": "4.10.
|
|
39
|
-
"@revolugo/booking-api": "6.
|
|
40
|
-
"@revolugo/engines": "6.
|
|
41
|
-
"@revolugo/env": "6.
|
|
42
|
-
"@revolugo/models": "6.
|
|
43
|
-
"@revolugo/node": "6.
|
|
37
|
+
"@hono/node-server": "1.19.6",
|
|
38
|
+
"hono": "4.10.4",
|
|
39
|
+
"@revolugo/booking-api": "6.13.0",
|
|
40
|
+
"@revolugo/engines": "6.13.0",
|
|
41
|
+
"@revolugo/env": "6.13.0",
|
|
42
|
+
"@revolugo/models": "6.13.0",
|
|
43
|
+
"@revolugo/node": "6.13.0"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=20.18.1 <25"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
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",
|
|
80
80
|
"test": "pnpm run test:e2e && pnpm run test:poller",
|
|
81
81
|
"test-watch": "tsc-watch --onSuccess \"pnpm run test\"",
|
|
82
|
-
"test:client-package:e2e": "
|
|
82
|
+
"test:client-package:e2e": "bun --inspect ./client/examples/e2e-client.ts",
|
|
83
83
|
"test:e2e": "NODE_OPTIONS='--experimental-vm-modules' vitest ./tests/e2e-*.test.ts",
|
|
84
84
|
"test:poller": "NODE_OPTIONS='--experimental-vm-modules' vitest ./tests/poller.test.ts"
|
|
85
85
|
}
|