@revolugo/booking-api-client 7.4.3 → 7.5.0-rc.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.
@@ -75,6 +75,14 @@ export interface BookingPoliciesApi {
75
75
  * @memberof BookingPoliciesApi
76
76
  */
77
77
  id: string;
78
+ /**
79
+ * Indicates whether the cancellation policies of the **Hotel Room Offer** have changed (become stricter) compared to those returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers).
80
+ *
81
+ * If **is_cancellation_policies_updated** is **true**, the cancellation policies are now less favourable than when the offer was first retrieved. ⚠️ It is strongly advised to clearly inform your customer of any cancellation policy change that may occur.
82
+ * @type {boolean}
83
+ * @memberof BookingPoliciesApi
84
+ */
85
+ isCancellationPoliciesUpdated: boolean;
78
86
  /**
79
87
  * Indicates whether the price of the **Hotel Room Offer** (without breakfast included) has increased compared to the price returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers).
80
88
  *
@@ -1,5 +1,4 @@
1
1
  import { EventMetadataApi } from './EventMetadataApi';
2
- import { SourceMarket } from './SourceMarket';
3
2
  /**
4
3
  *
5
4
  * @export
@@ -68,12 +67,6 @@ export interface HotelOfferRequestCreateApi {
68
67
  * @memberof HotelOfferRequestCreateApi
69
68
  */
70
69
  roomCount: number;
71
- /**
72
- *
73
- * @type {SourceMarket}
74
- * @memberof HotelOfferRequestCreateApi
75
- */
76
- sourceMarket: SourceMarket;
77
70
  }
78
71
  /**
79
72
  * Check if a given object implements the HotelOfferRequestCreateApi interface.
@@ -48,12 +48,6 @@ export interface HotelRoomOfferRequestApiResponse {
48
48
  * @memberof HotelRoomOfferRequestApiResponse
49
49
  */
50
50
  roomCount: number;
51
- /**
52
- *
53
- * @type {SourceMarket}
54
- * @memberof HotelRoomOfferRequestApiResponse
55
- */
56
- sourceMarket: SourceMarket;
57
51
  /**
58
52
  * Date of the **Hotel Room Offer Request** creation
59
53
  * @type {string}
@@ -66,6 +60,12 @@ export interface HotelRoomOfferRequestApiResponse {
66
60
  * @memberof HotelRoomOfferRequestApiResponse
67
61
  */
68
62
  id: string;
63
+ /**
64
+ *
65
+ * @type {SourceMarket}
66
+ * @memberof HotelRoomOfferRequestApiResponse
67
+ */
68
+ sourceMarket: SourceMarket;
69
69
  }
70
70
  /**
71
71
  * Check if a given object implements the HotelRoomOfferRequestApiResponse interface.
@@ -1,5 +1,4 @@
1
1
  import { EventMetadataApi } from './EventMetadataApi';
2
- import { SourceMarket } from './SourceMarket';
3
2
  /**
4
3
  *
5
4
  * @export
@@ -48,12 +47,6 @@ export interface HotelRoomOfferRequestApiResponseAllOf {
48
47
  * @memberof HotelRoomOfferRequestApiResponseAllOf
49
48
  */
50
49
  roomCount: number;
51
- /**
52
- *
53
- * @type {SourceMarket}
54
- * @memberof HotelRoomOfferRequestApiResponseAllOf
55
- */
56
- sourceMarket: SourceMarket;
57
50
  }
58
51
  /**
59
52
  * Check if a given object implements the HotelRoomOfferRequestApiResponseAllOf interface.
@@ -1,14 +1,4 @@
1
- /**
2
- * Revolugo Booking API Reference
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 1.5.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
1
+ import { SourceMarket } from './SourceMarket';
12
2
  /**
13
3
  *
14
4
  * @export
@@ -27,6 +17,12 @@ export interface HotelRoomOfferRequestApiResponseAllOf1 {
27
17
  * @memberof HotelRoomOfferRequestApiResponseAllOf1
28
18
  */
29
19
  id: string;
20
+ /**
21
+ *
22
+ * @type {SourceMarket}
23
+ * @memberof HotelRoomOfferRequestApiResponseAllOf1
24
+ */
25
+ sourceMarket: SourceMarket;
30
26
  }
31
27
  /**
32
28
  * Check if a given object implements the HotelRoomOfferRequestApiResponseAllOf1 interface.
@@ -1,5 +1,4 @@
1
1
  import { EventMetadataApi } from './EventMetadataApi';
2
- import { SourceMarket } from './SourceMarket';
3
2
  /**
4
3
  *
5
4
  * @export
@@ -48,12 +47,6 @@ export interface HotelRoomOfferRequestCreateApi {
48
47
  * @memberof HotelRoomOfferRequestCreateApi
49
48
  */
50
49
  roomCount: number;
51
- /**
52
- *
53
- * @type {SourceMarket}
54
- * @memberof HotelRoomOfferRequestCreateApi
55
- */
56
- sourceMarket: SourceMarket;
57
50
  }
58
51
  /**
59
52
  * Check if a given object implements the HotelRoomOfferRequestCreateApi interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/booking-api-client",
3
- "version": "7.4.3",
3
+ "version": "7.5.0-rc.1",
4
4
  "private": false,
5
5
  "description": "Javascript Revolugo Booking API Client (browser + server)",
6
6
  "keywords": [
@@ -32,19 +32,19 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "cross-fetch": "4.1.0",
35
- "joi": "18.0.2",
35
+ "joi": "18.1.1",
36
36
  "uuid": "13.0.0",
37
- "@revolugo/common": "7.4.3"
37
+ "@revolugo/common": "7.5.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@hono/node-server": "1.19.11",
41
- "hono": "4.12.8",
42
- "@revolugo/booking-api": "7.4.3",
43
- "@revolugo/engines": "7.4.3",
44
- "@revolugo/models": "7.4.3",
45
- "@revolugo/node": "7.4.3",
46
- "@revolugo/root": "7.4.3",
47
- "@revolugo/env": "7.4.3"
41
+ "hono": "4.12.9",
42
+ "@revolugo/booking-api": "7.5.0",
43
+ "@revolugo/models": "7.5.0",
44
+ "@revolugo/engines": "7.5.0",
45
+ "@revolugo/env": "7.5.0",
46
+ "@revolugo/node": "7.5.0",
47
+ "@revolugo/root": "7.5.0"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=20.18.1 <25"