@revolugo/booking-api-client 7.2.4-alpha.2 → 7.2.4-alpha.21
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/dist/index.es.js +3944 -1692
- package/dist/index.umd.js +2 -2
- package/dist/types/v1/apis/ResourceBookingPoliciesApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceBookingsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelImagesApi.d.ts +4 -17
- package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts +4 -17
- package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts +4 -17
- package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts +4 -17
- package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts +4 -17
- package/dist/types/v1/apis/ResourceHotelsApi.d.ts +4 -17
- package/dist/types/v1/index.d.ts +3 -3
- package/dist/types/v1/models/AllowedPaymentMethodApi.d.ts +13 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf.d.ts +38 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf1.d.ts +38 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf2.d.ts +38 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3.d.ts +34 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3Payload.d.ts +40 -0
- package/dist/types/v1/models/AmenitiesApi.d.ts +289 -0
- package/dist/types/v1/models/BedApi.d.ts +43 -0
- package/dist/types/v1/models/BookingApi.d.ts +267 -0
- package/dist/types/v1/models/BookingCreateApi.d.ts +55 -0
- package/dist/types/v1/models/BookingCreateApiGuestsListInner.d.ts +27 -0
- package/dist/types/v1/models/BookingCreateApiGuestsListInnerGuestsInner.d.ts +31 -0
- package/dist/types/v1/models/BookingPoliciesApi.d.ts +97 -0
- package/dist/types/v1/models/BookingPoliciesCreateApi.d.ts +53 -0
- package/dist/types/v1/models/BookingsApiResponse.d.ts +28 -0
- package/dist/types/v1/models/CancellationPolicyApi.d.ts +43 -0
- package/dist/types/v1/models/ContactPersonApi.d.ts +113 -0
- package/dist/types/v1/models/ContactPersonOrganizationApi.d.ts +57 -0
- package/dist/types/v1/models/CountryIso2Code.d.ts +264 -0
- package/dist/types/v1/models/CurrencyClient.d.ts +159 -0
- package/dist/types/v1/models/ErrorApiResponse.d.ts +70 -0
- package/dist/types/v1/models/EventApi.d.ts +37 -0
- package/dist/types/v1/models/EventMetadataApi.d.ts +61 -0
- package/dist/types/v1/models/HotelApi.d.ts +200 -0
- package/dist/types/v1/models/HotelApiImages.d.ts +65 -0
- package/dist/types/v1/models/HotelImageApi.d.ts +67 -0
- package/dist/types/v1/models/HotelOfferApi.d.ts +216 -0
- package/dist/types/v1/models/HotelOfferApiAllOf.d.ts +37 -0
- package/dist/types/v1/models/HotelOfferRequestApiResponse.d.ts +94 -0
- package/dist/types/v1/models/HotelOfferRequestCreateApi.d.ts +84 -0
- package/dist/types/v1/models/HotelOffersApiResponse.d.ts +34 -0
- package/dist/types/v1/models/HotelOffersApiResponseMeta.d.ts +45 -0
- package/dist/types/v1/models/HotelOffersApiResponseMetaAllOf.d.ts +31 -0
- package/dist/types/v1/models/HotelOffersDataApiResponse.d.ts +70 -0
- package/dist/types/v1/models/HotelReviewRatingApi.d.ts +37 -0
- package/dist/types/v1/models/HotelRoomApi.d.ts +120 -0
- package/dist/types/v1/models/HotelRoomOfferApi.d.ts +192 -0
- package/dist/types/v1/models/HotelRoomOfferApiResponse.d.ts +58 -0
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponse.d.ts +76 -0
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf.d.ts +64 -0
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf1.d.ts +37 -0
- package/dist/types/v1/models/HotelRoomOfferRequestCreateApi.d.ts +64 -0
- package/dist/types/v1/models/HotelRoomOffersApiResponse.d.ts +34 -0
- package/dist/types/v1/models/HotelRoomOffersCreateApi.d.ts +61 -0
- package/dist/types/v1/models/HotelRoomOffersDataApiResponse.d.ts +64 -0
- package/dist/types/v1/models/HotelRoomOffersDataCreateApi.d.ts +43 -0
- package/dist/types/v1/models/HotelRoomingListApi.d.ts +46 -0
- package/dist/types/v1/models/HotelRoomingListApiHotelRoom.d.ts +120 -0
- package/dist/types/v1/models/HotelRoomingListGuestApi.d.ts +37 -0
- package/dist/types/v1/models/HotelRoomingListGuestsCreateApi.d.ts +37 -0
- package/dist/types/v1/models/HotelRoomingListGuestsUpdateApi.d.ts +31 -0
- package/dist/types/v1/models/InvoiceApi.d.ts +45 -0
- package/dist/types/v1/models/Locale.d.ts +28 -0
- package/dist/types/v1/models/MetaPollingResponseApi.d.ts +45 -0
- package/dist/types/v1/models/MetaPollingResponseApiAllOf.d.ts +21 -0
- package/dist/types/v1/models/MetaResponseApi.d.ts +49 -0
- package/dist/types/v1/models/PaymentMethodApi.d.ts +13 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf.d.ts +34 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf1.d.ts +34 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf1Payload.d.ts +37 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf2.d.ts +34 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf2Payload.d.ts +37 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf3.d.ts +34 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf3Payload.d.ts +52 -0
- package/dist/types/v1/models/PaymentMethodApiOneOfPayload.d.ts +43 -0
- package/dist/types/v1/models/PaymentMethodRequestApi.d.ts +36 -0
- package/dist/types/v1/models/PaymentMethodRequestPayloadApi.d.ts +31 -0
- package/dist/types/v1/models/PaymentMethodUpdatePayloadApi.d.ts +21 -0
- package/dist/types/v1/models/PollerStatus.d.ts +23 -0
- package/dist/types/v1/models/SourceMarket.d.ts +264 -0
- package/dist/types/v1/models/TagApi.d.ts +55 -0
- package/dist/types/v1/models/TaxApi.d.ts +77 -0
- package/dist/types/v1/models/TravelTimesApi.d.ts +33 -0
- package/dist/types/v1/models/TravelTimesApiTravelTimes.d.ts +43 -0
- package/dist/types/v1/models/index.d.ts +74 -4078
- package/package.json +7 -7
|
@@ -0,0 +1,289 @@
|
|
|
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
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AmenitiesApi
|
|
16
|
+
*/
|
|
17
|
+
export interface AmenitiesApi {
|
|
18
|
+
/**
|
|
19
|
+
* Air conditioning.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof AmenitiesApi
|
|
22
|
+
*/
|
|
23
|
+
airConditioning?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Airport transportation service.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof AmenitiesApi
|
|
28
|
+
*/
|
|
29
|
+
airportTransportation?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Business center.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof AmenitiesApi
|
|
34
|
+
*/
|
|
35
|
+
businessCenter?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Car rental desk service.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof AmenitiesApi
|
|
40
|
+
*/
|
|
41
|
+
carRentDesk?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Children welcomed.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof AmenitiesApi
|
|
46
|
+
*/
|
|
47
|
+
childrenAllowed?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Clothing iron.
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof AmenitiesApi
|
|
52
|
+
*/
|
|
53
|
+
clothingIron?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Coffea/tea maker.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof AmenitiesApi
|
|
58
|
+
*/
|
|
59
|
+
coffeeTeaMaker?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Combination.
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof AmenitiesApi
|
|
64
|
+
*/
|
|
65
|
+
combination?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Continental Breakfast.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof AmenitiesApi
|
|
70
|
+
*/
|
|
71
|
+
continentalBreakfast?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Data ports in room.
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof AmenitiesApi
|
|
76
|
+
*/
|
|
77
|
+
dataPorts?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Dry cleaning.
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof AmenitiesApi
|
|
82
|
+
*/
|
|
83
|
+
dryCleaning?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Electornic room keys.
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof AmenitiesApi
|
|
88
|
+
*/
|
|
89
|
+
electronicRoomKeys?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Exterior room entrance.
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof AmenitiesApi
|
|
94
|
+
*/
|
|
95
|
+
exteriorRoomEntrance?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Family rooms.
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof AmenitiesApi
|
|
100
|
+
*/
|
|
101
|
+
familyRooms?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Fitness facility.
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof AmenitiesApi
|
|
106
|
+
*/
|
|
107
|
+
fitnessFacility?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Game room.
|
|
110
|
+
* @type {boolean}
|
|
111
|
+
* @memberof AmenitiesApi
|
|
112
|
+
*/
|
|
113
|
+
gameRoom?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Golf course.
|
|
116
|
+
* @type {boolean}
|
|
117
|
+
* @memberof AmenitiesApi
|
|
118
|
+
*/
|
|
119
|
+
golfCourse?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Hair dryer.
|
|
122
|
+
* @type {boolean}
|
|
123
|
+
* @memberof AmenitiesApi
|
|
124
|
+
*/
|
|
125
|
+
hairDryer?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Handicap Accessible.
|
|
128
|
+
* @type {boolean}
|
|
129
|
+
* @memberof AmenitiesApi
|
|
130
|
+
*/
|
|
131
|
+
handicapAccessible?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* In house bar.
|
|
134
|
+
* @type {boolean}
|
|
135
|
+
* @memberof AmenitiesApi
|
|
136
|
+
*/
|
|
137
|
+
inHouseBar?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* In house dining.
|
|
140
|
+
* @type {boolean}
|
|
141
|
+
* @memberof AmenitiesApi
|
|
142
|
+
*/
|
|
143
|
+
inHouseDining?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* In room movies.
|
|
146
|
+
* @type {boolean}
|
|
147
|
+
* @memberof AmenitiesApi
|
|
148
|
+
*/
|
|
149
|
+
inRoomMovies?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Indoor pool.
|
|
152
|
+
* @type {boolean}
|
|
153
|
+
* @memberof AmenitiesApi
|
|
154
|
+
*/
|
|
155
|
+
indoorPool?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Interior room entrance.
|
|
158
|
+
* @type {boolean}
|
|
159
|
+
* @memberof AmenitiesApi
|
|
160
|
+
*/
|
|
161
|
+
interiorRoomEntrance?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Kitchen.
|
|
164
|
+
* @type {boolean}
|
|
165
|
+
* @memberof AmenitiesApi
|
|
166
|
+
*/
|
|
167
|
+
kitchen?: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Map.
|
|
170
|
+
* @type {boolean}
|
|
171
|
+
* @memberof AmenitiesApi
|
|
172
|
+
*/
|
|
173
|
+
map?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* Meeting rooms.
|
|
176
|
+
* @type {boolean}
|
|
177
|
+
* @memberof AmenitiesApi
|
|
178
|
+
*/
|
|
179
|
+
meetingRooms?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* mini bar in room.
|
|
182
|
+
* @type {boolean}
|
|
183
|
+
* @memberof AmenitiesApi
|
|
184
|
+
*/
|
|
185
|
+
miniBarInRoom?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Non smoking rooms.
|
|
188
|
+
* @type {boolean}
|
|
189
|
+
* @memberof AmenitiesApi
|
|
190
|
+
*/
|
|
191
|
+
nonSmokingRooms?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Outdoor pool.
|
|
194
|
+
* @type {boolean}
|
|
195
|
+
* @memberof AmenitiesApi
|
|
196
|
+
*/
|
|
197
|
+
outdoorPool?: boolean;
|
|
198
|
+
/**
|
|
199
|
+
* Parking garage.
|
|
200
|
+
* @type {boolean}
|
|
201
|
+
* @memberof AmenitiesApi
|
|
202
|
+
*/
|
|
203
|
+
parkingGarage?: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* Pets allowed.
|
|
206
|
+
* @type {boolean}
|
|
207
|
+
* @memberof AmenitiesApi
|
|
208
|
+
*/
|
|
209
|
+
petsAllowed?: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* Restricted access.
|
|
212
|
+
* @type {boolean}
|
|
213
|
+
* @memberof AmenitiesApi
|
|
214
|
+
*/
|
|
215
|
+
restrictedAccess?: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* Room service.
|
|
218
|
+
* @type {boolean}
|
|
219
|
+
* @memberof AmenitiesApi
|
|
220
|
+
*/
|
|
221
|
+
roomService?: boolean;
|
|
222
|
+
/**
|
|
223
|
+
* Safe in room.
|
|
224
|
+
* @type {boolean}
|
|
225
|
+
* @memberof AmenitiesApi
|
|
226
|
+
*/
|
|
227
|
+
safe?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* Sauna.
|
|
230
|
+
* @type {boolean}
|
|
231
|
+
* @memberof AmenitiesApi
|
|
232
|
+
*/
|
|
233
|
+
sauna?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* TV in room.
|
|
236
|
+
* @type {boolean}
|
|
237
|
+
* @memberof AmenitiesApi
|
|
238
|
+
*/
|
|
239
|
+
tVInRoom?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Tennis court.
|
|
242
|
+
* @type {boolean}
|
|
243
|
+
* @memberof AmenitiesApi
|
|
244
|
+
*/
|
|
245
|
+
tennisCourt?: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* 24/7 security.
|
|
248
|
+
* @type {boolean}
|
|
249
|
+
* @memberof AmenitiesApi
|
|
250
|
+
*/
|
|
251
|
+
twentyFourHourSecurity?: boolean;
|
|
252
|
+
/**
|
|
253
|
+
* Valet parking.
|
|
254
|
+
* @type {boolean}
|
|
255
|
+
* @memberof AmenitiesApi
|
|
256
|
+
*/
|
|
257
|
+
valetParking?: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Video check out.
|
|
260
|
+
* @type {boolean}
|
|
261
|
+
* @memberof AmenitiesApi
|
|
262
|
+
*/
|
|
263
|
+
videoCheckOut?: boolean;
|
|
264
|
+
/**
|
|
265
|
+
* Voice mail.
|
|
266
|
+
* @type {boolean}
|
|
267
|
+
* @memberof AmenitiesApi
|
|
268
|
+
*/
|
|
269
|
+
voiceMail?: boolean;
|
|
270
|
+
/**
|
|
271
|
+
* Wake up service.
|
|
272
|
+
* @type {boolean}
|
|
273
|
+
* @memberof AmenitiesApi
|
|
274
|
+
*/
|
|
275
|
+
wakeUpService?: boolean;
|
|
276
|
+
/**
|
|
277
|
+
* Whirpool.
|
|
278
|
+
* @type {boolean}
|
|
279
|
+
* @memberof AmenitiesApi
|
|
280
|
+
*/
|
|
281
|
+
whirpool?: boolean;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Check if a given object implements the AmenitiesApi interface.
|
|
285
|
+
*/
|
|
286
|
+
export declare function instanceOfAmenitiesApi(value: object): boolean;
|
|
287
|
+
export declare function AmenitiesApiFromJSON(json: any): AmenitiesApi;
|
|
288
|
+
export declare function AmenitiesApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): AmenitiesApi;
|
|
289
|
+
export declare function AmenitiesApiToJSON(value?: AmenitiesApi | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BedApi
|
|
16
|
+
*/
|
|
17
|
+
export interface BedApi {
|
|
18
|
+
/**
|
|
19
|
+
* Number of beds of the given type in the room.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BedApi
|
|
22
|
+
*/
|
|
23
|
+
count: number;
|
|
24
|
+
/**
|
|
25
|
+
* Bed name.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BedApi
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Bed occupancy.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof BedApi
|
|
34
|
+
*/
|
|
35
|
+
occupancy: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the BedApi interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfBedApi(value: object): boolean;
|
|
41
|
+
export declare function BedApiFromJSON(json: any): BedApi;
|
|
42
|
+
export declare function BedApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): BedApi;
|
|
43
|
+
export declare function BedApiToJSON(value?: BedApi | null): any;
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { CancellationPolicyApi } from './CancellationPolicyApi';
|
|
2
|
+
import { ContactPersonApi } from './ContactPersonApi';
|
|
3
|
+
import { CurrencyClient } from './CurrencyClient';
|
|
4
|
+
import { EventApi } from './EventApi';
|
|
5
|
+
import { HotelRoomOfferApi } from './HotelRoomOfferApi';
|
|
6
|
+
import { HotelRoomingListApi } from './HotelRoomingListApi';
|
|
7
|
+
import { InvoiceApi } from './InvoiceApi';
|
|
8
|
+
import { PaymentMethodApi } from './PaymentMethodApi';
|
|
9
|
+
import { SourceMarket } from './SourceMarket';
|
|
10
|
+
import { TaxApi } from './TaxApi';
|
|
11
|
+
/**
|
|
12
|
+
* Booking record
|
|
13
|
+
* @export
|
|
14
|
+
* @interface BookingApi
|
|
15
|
+
*/
|
|
16
|
+
export interface BookingApi {
|
|
17
|
+
/**
|
|
18
|
+
* Additional instructions on how to check-in.
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof BookingApi
|
|
21
|
+
*/
|
|
22
|
+
additionalCheckInInstruction?: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* Additional house policy, house manual, or condominium rules.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BookingApi
|
|
27
|
+
*/
|
|
28
|
+
additionalPolicies?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The total number of adults who will be staying in the property.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof BookingApi
|
|
33
|
+
*/
|
|
34
|
+
adultCount: number;
|
|
35
|
+
/**
|
|
36
|
+
* Date of booking cancellation request, when applicable.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BookingApi
|
|
39
|
+
*/
|
|
40
|
+
canceledAt?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The list of cancellation policy date range with their corresponding penalty percentage.
|
|
43
|
+
* @type {Array<CancellationPolicyApi>}
|
|
44
|
+
* @memberof BookingApi
|
|
45
|
+
*/
|
|
46
|
+
cancellationPolicies: Array<CancellationPolicyApi>;
|
|
47
|
+
/**
|
|
48
|
+
* Remarks about the cancellation policy.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BookingApi
|
|
51
|
+
*/
|
|
52
|
+
cancellationPolicyRemarks?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Date of check-in formatted as YYYY-MM-DD.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BookingApi
|
|
57
|
+
*/
|
|
58
|
+
checkInDate: string;
|
|
59
|
+
/**
|
|
60
|
+
* Date of check-out formatted as YYYY-MM-DD.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof BookingApi
|
|
63
|
+
*/
|
|
64
|
+
checkOutDate: string;
|
|
65
|
+
/**
|
|
66
|
+
* A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof BookingApi
|
|
69
|
+
*/
|
|
70
|
+
children?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* Date of booking confirmation request, when applicable.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof BookingApi
|
|
75
|
+
*/
|
|
76
|
+
confirmedAt?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {ContactPersonApi}
|
|
80
|
+
* @memberof BookingApi
|
|
81
|
+
*/
|
|
82
|
+
contactPerson: ContactPersonApi;
|
|
83
|
+
/**
|
|
84
|
+
* Creation date of the **Booking**.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof BookingApi
|
|
87
|
+
*/
|
|
88
|
+
createdAt: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {CurrencyClient}
|
|
92
|
+
* @memberof BookingApi
|
|
93
|
+
*/
|
|
94
|
+
currency: CurrencyClient;
|
|
95
|
+
/**
|
|
96
|
+
* Customer Reference of the requested Booking (sometimes to present by the customer at hotel check-in).
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof BookingApi
|
|
99
|
+
*/
|
|
100
|
+
customerReference?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {EventApi}
|
|
104
|
+
* @memberof BookingApi
|
|
105
|
+
*/
|
|
106
|
+
event?: EventApi | null;
|
|
107
|
+
/**
|
|
108
|
+
* Date of booking failure, when applicable.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof BookingApi
|
|
111
|
+
*/
|
|
112
|
+
failedAt?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* Code your guest might need to show to the hotel during check-in. This number will only but available a few days prior to check-in and it’s subject to availability.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof BookingApi
|
|
117
|
+
*/
|
|
118
|
+
hotelConfirmationId?: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* Hotel Id of the requested Booking.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof BookingApi
|
|
123
|
+
*/
|
|
124
|
+
hotelId: string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {HotelRoomOfferApi}
|
|
128
|
+
* @memberof BookingApi
|
|
129
|
+
*/
|
|
130
|
+
hotelRoomOffer: HotelRoomOfferApi;
|
|
131
|
+
/**
|
|
132
|
+
* Hotel rooming lists of a hotel booking
|
|
133
|
+
* @type {Array<HotelRoomingListApi>}
|
|
134
|
+
* @memberof BookingApi
|
|
135
|
+
*/
|
|
136
|
+
hotelRoomingLists?: Array<HotelRoomingListApi>;
|
|
137
|
+
/**
|
|
138
|
+
* Booking Id
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof BookingApi
|
|
141
|
+
*/
|
|
142
|
+
id?: string | null;
|
|
143
|
+
/**
|
|
144
|
+
* The list of invoices and credit notes (when applicable) direct urls associated to the Booking.
|
|
145
|
+
* @type {Array<InvoiceApi>}
|
|
146
|
+
* @memberof BookingApi
|
|
147
|
+
*/
|
|
148
|
+
invoices?: Array<InvoiceApi> | null;
|
|
149
|
+
/**
|
|
150
|
+
* Date of the last booking status update.
|
|
151
|
+
* @type {string}
|
|
152
|
+
* @memberof BookingApi
|
|
153
|
+
*/
|
|
154
|
+
lastStatusUpdatedAt: string;
|
|
155
|
+
/**
|
|
156
|
+
* You can use this parameter to attach key-value data to bookings. Metadata is useful for storing additional, structured information on a booking. As an example, you could store your user's full name and corresponding unique identifier from your system on a booking. Metadata is not used internally by the Booking Engine and won't be seen by your users unless you choose to show it to them.
|
|
157
|
+
* @type {{ [key: string]: string; }}
|
|
158
|
+
* @memberof BookingApi
|
|
159
|
+
*/
|
|
160
|
+
metadata?: {
|
|
161
|
+
[key: string]: string;
|
|
162
|
+
} | null;
|
|
163
|
+
/**
|
|
164
|
+
* Booking Pay Later Status
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof BookingApi
|
|
167
|
+
*/
|
|
168
|
+
payLater?: BookingApiPayLaterEnum;
|
|
169
|
+
/**
|
|
170
|
+
* List of preferred payment methods to be used along with their respective payload (when applicable) in order to fulfill the booking.
|
|
171
|
+
*
|
|
172
|
+
* ⚠️ This field is only returned when **booking.status = bkg-created**
|
|
173
|
+
* @type {Array<PaymentMethodApi>}
|
|
174
|
+
* @memberof BookingApi
|
|
175
|
+
*/
|
|
176
|
+
paymentMethods?: Array<PaymentMethodApi>;
|
|
177
|
+
/**
|
|
178
|
+
* Penalty percentage of the requested Booking.
|
|
179
|
+
*
|
|
180
|
+
* When **booking.status = bkg-cx** this is the percentage of the **booking.tax_included_price** that have been charged on the canceled booking. Otherwise, this field won't be returned.
|
|
181
|
+
* @type {number}
|
|
182
|
+
* @memberof BookingApi
|
|
183
|
+
*/
|
|
184
|
+
penaltyPercentage?: number | null;
|
|
185
|
+
/**
|
|
186
|
+
* Booking Reference of the requested Booking.
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof BookingApi
|
|
189
|
+
*/
|
|
190
|
+
reference: string;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {SourceMarket}
|
|
194
|
+
* @memberof BookingApi
|
|
195
|
+
*/
|
|
196
|
+
sourceMarket: SourceMarket;
|
|
197
|
+
/**
|
|
198
|
+
* Booking status. Please, refer to [Booking Status](/v1/documentation#tag/Booking-Status) for details.
|
|
199
|
+
* @type {string}
|
|
200
|
+
* @memberof BookingApi
|
|
201
|
+
*/
|
|
202
|
+
status: BookingApiStatusEnum;
|
|
203
|
+
/**
|
|
204
|
+
* Total tax amount expressed in the booking currency.
|
|
205
|
+
* @type {number}
|
|
206
|
+
* @memberof BookingApi
|
|
207
|
+
*/
|
|
208
|
+
taxAmount: number;
|
|
209
|
+
/**
|
|
210
|
+
* Price of the booking including taxes expressed in the booking currency.
|
|
211
|
+
* @type {number}
|
|
212
|
+
* @memberof BookingApi
|
|
213
|
+
*/
|
|
214
|
+
taxIncludedPrice: number;
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @type {Array<TaxApi>}
|
|
218
|
+
* @memberof BookingApi
|
|
219
|
+
*/
|
|
220
|
+
taxes?: Array<TaxApi> | null;
|
|
221
|
+
/**
|
|
222
|
+
* Link to Revolugo terms and conditions under which the booking is made.
|
|
223
|
+
* @type {string}
|
|
224
|
+
* @memberof BookingApi
|
|
225
|
+
*/
|
|
226
|
+
terms: string;
|
|
227
|
+
/**
|
|
228
|
+
* This is the token to pass as URL params to [Cancel Booking endpoint](/v1/documentation#operation/deleteV1BookingsId) in order to perform a cancel request on the booking. If you want to cancel a booking, you should use this token instead of the booking id.
|
|
229
|
+
*
|
|
230
|
+
* ⚠️ For security reasons, this token is unique and once generated, it is valid during a period of 10 minutes.
|
|
231
|
+
*
|
|
232
|
+
* In order to get a fresh valid token you need to call **[Retrieve Booking endpoint](/v1/documentation#operation/getV1BookingsId)**.
|
|
233
|
+
* @type {string}
|
|
234
|
+
* @memberof BookingApi
|
|
235
|
+
*/
|
|
236
|
+
token?: string | null;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* @export
|
|
240
|
+
*/
|
|
241
|
+
export declare const BookingApiPayLaterEnum: {
|
|
242
|
+
readonly Disabled: "DISABLED";
|
|
243
|
+
readonly Enabled: "ENABLED";
|
|
244
|
+
readonly Forced: "FORCED";
|
|
245
|
+
};
|
|
246
|
+
export type BookingApiPayLaterEnum = typeof BookingApiPayLaterEnum[keyof typeof BookingApiPayLaterEnum];
|
|
247
|
+
/**
|
|
248
|
+
* @export
|
|
249
|
+
*/
|
|
250
|
+
export declare const BookingApiStatusEnum: {
|
|
251
|
+
readonly Cx: "bkg-cx";
|
|
252
|
+
readonly Cf: "bkg-cf";
|
|
253
|
+
readonly Created: "bkg-created";
|
|
254
|
+
readonly Af: "bkg-af";
|
|
255
|
+
readonly Ip: "bkg-ip";
|
|
256
|
+
readonly Pc: "bkg-pc";
|
|
257
|
+
readonly Pp: "bkg-pp";
|
|
258
|
+
readonly Qr: "bkg-qr";
|
|
259
|
+
};
|
|
260
|
+
export type BookingApiStatusEnum = typeof BookingApiStatusEnum[keyof typeof BookingApiStatusEnum];
|
|
261
|
+
/**
|
|
262
|
+
* Check if a given object implements the BookingApi interface.
|
|
263
|
+
*/
|
|
264
|
+
export declare function instanceOfBookingApi(value: object): boolean;
|
|
265
|
+
export declare function BookingApiFromJSON(json: any): BookingApi;
|
|
266
|
+
export declare function BookingApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingApi;
|
|
267
|
+
export declare function BookingApiToJSON(value?: BookingApi | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { BookingCreateApiGuestsListInner } from './BookingCreateApiGuestsListInner';
|
|
2
|
+
import { ContactPersonApi } from './ContactPersonApi';
|
|
3
|
+
import { PaymentMethodRequestApi } from './PaymentMethodRequestApi';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @interface BookingCreateApi
|
|
8
|
+
*/
|
|
9
|
+
export interface BookingCreateApi {
|
|
10
|
+
/**
|
|
11
|
+
* Booking policy id to book, returned from previous **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** call
|
|
12
|
+
* @type {string}
|
|
13
|
+
* @memberof BookingCreateApi
|
|
14
|
+
*/
|
|
15
|
+
bookingPolicyId: string;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @type {ContactPersonApi}
|
|
19
|
+
* @memberof BookingCreateApi
|
|
20
|
+
*/
|
|
21
|
+
contactPerson: ContactPersonApi;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<BookingCreateApiGuestsListInner>}
|
|
25
|
+
* @memberof BookingCreateApi
|
|
26
|
+
*/
|
|
27
|
+
guestsList?: Array<BookingCreateApiGuestsListInner>;
|
|
28
|
+
/**
|
|
29
|
+
* You can use this parameter to attach key-value data to bookings. Metadata is useful for storing additional, structured information on a booking. As an example, you could store your user's full name and corresponding unique identifier from your system on a booking. Metadata is not used internally by the Booking Engine and won't be seen by your users unless you choose to show it to them.
|
|
30
|
+
* @type {{ [key: string]: string; }}
|
|
31
|
+
* @memberof BookingCreateApi
|
|
32
|
+
*/
|
|
33
|
+
metadata?: {
|
|
34
|
+
[key: string]: string;
|
|
35
|
+
} | null;
|
|
36
|
+
/**
|
|
37
|
+
* List of preferred payment methods to be used along with their respective payload (when applicable) in order to fulfill the booking.
|
|
38
|
+
* @type {Array<PaymentMethodRequestApi>}
|
|
39
|
+
* @memberof BookingCreateApi
|
|
40
|
+
*/
|
|
41
|
+
paymentMethods?: Array<PaymentMethodRequestApi>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BookingCreateApi
|
|
46
|
+
*/
|
|
47
|
+
trackingId?: string | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the BookingCreateApi interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfBookingCreateApi(value: object): boolean;
|
|
53
|
+
export declare function BookingCreateApiFromJSON(json: any): BookingCreateApi;
|
|
54
|
+
export declare function BookingCreateApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingCreateApi;
|
|
55
|
+
export declare function BookingCreateApiToJSON(value?: BookingCreateApi | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BookingCreateApiGuestsListInnerGuestsInner } from './BookingCreateApiGuestsListInnerGuestsInner';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @interface BookingCreateApiGuestsListInner
|
|
6
|
+
*/
|
|
7
|
+
export interface BookingCreateApiGuestsListInner {
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @type {Array<BookingCreateApiGuestsListInnerGuestsInner>}
|
|
11
|
+
* @memberof BookingCreateApiGuestsListInner
|
|
12
|
+
*/
|
|
13
|
+
guests: Array<BookingCreateApiGuestsListInnerGuestsInner>;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof BookingCreateApiGuestsListInner
|
|
18
|
+
*/
|
|
19
|
+
hotelRoomId: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BookingCreateApiGuestsListInner interface.
|
|
23
|
+
*/
|
|
24
|
+
export declare function instanceOfBookingCreateApiGuestsListInner(value: object): boolean;
|
|
25
|
+
export declare function BookingCreateApiGuestsListInnerFromJSON(json: any): BookingCreateApiGuestsListInner;
|
|
26
|
+
export declare function BookingCreateApiGuestsListInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingCreateApiGuestsListInner;
|
|
27
|
+
export declare function BookingCreateApiGuestsListInnerToJSON(value?: BookingCreateApiGuestsListInner | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BookingCreateApiGuestsListInnerGuestsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface BookingCreateApiGuestsListInnerGuestsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BookingCreateApiGuestsListInnerGuestsInner
|
|
22
|
+
*/
|
|
23
|
+
fullname: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BookingCreateApiGuestsListInnerGuestsInner interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBookingCreateApiGuestsListInnerGuestsInner(value: object): boolean;
|
|
29
|
+
export declare function BookingCreateApiGuestsListInnerGuestsInnerFromJSON(json: any): BookingCreateApiGuestsListInnerGuestsInner;
|
|
30
|
+
export declare function BookingCreateApiGuestsListInnerGuestsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingCreateApiGuestsListInnerGuestsInner;
|
|
31
|
+
export declare function BookingCreateApiGuestsListInnerGuestsInnerToJSON(value?: BookingCreateApiGuestsListInnerGuestsInner | null): any;
|