@revolugo/booking-api-client 7.2.4 → 7.3.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.
Files changed (91) hide show
  1. package/dist/index.es.js +4222 -1971
  2. package/dist/index.umd.js +2 -2
  3. package/dist/types/index.d.ts +1 -1
  4. package/dist/types/v1/apis/ResourceBookingPoliciesApi.d.ts +2 -2
  5. package/dist/types/v1/apis/ResourceBookingsApi.d.ts +2 -2
  6. package/dist/types/v1/apis/ResourceHotelImagesApi.d.ts +4 -17
  7. package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts +2 -2
  8. package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts +4 -17
  9. package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts +4 -17
  10. package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts +2 -2
  11. package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts +4 -17
  12. package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts +2 -2
  13. package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts +4 -17
  14. package/dist/types/v1/apis/ResourceHotelsApi.d.ts +4 -17
  15. package/dist/types/v1/index.d.ts +3 -3
  16. package/dist/types/v1/models/AllowedPaymentMethodApi.d.ts +13 -0
  17. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf.d.ts +38 -0
  18. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf1.d.ts +38 -0
  19. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf2.d.ts +38 -0
  20. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3.d.ts +34 -0
  21. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3Payload.d.ts +40 -0
  22. package/dist/types/v1/models/AmenitiesApi.d.ts +289 -0
  23. package/dist/types/v1/models/BedApi.d.ts +43 -0
  24. package/dist/types/v1/models/BookingApi.d.ts +267 -0
  25. package/dist/types/v1/models/BookingCreateApi.d.ts +55 -0
  26. package/dist/types/v1/models/BookingCreateApiGuestsListInner.d.ts +27 -0
  27. package/dist/types/v1/models/BookingCreateApiGuestsListInnerGuestsInner.d.ts +31 -0
  28. package/dist/types/v1/models/BookingPoliciesApi.d.ts +97 -0
  29. package/dist/types/v1/models/BookingPoliciesCreateApi.d.ts +53 -0
  30. package/dist/types/v1/models/BookingsApiResponse.d.ts +28 -0
  31. package/dist/types/v1/models/CancellationPolicyApi.d.ts +43 -0
  32. package/dist/types/v1/models/ContactPersonApi.d.ts +113 -0
  33. package/dist/types/v1/models/ContactPersonOrganizationApi.d.ts +57 -0
  34. package/dist/types/v1/models/CountryIso2Code.d.ts +264 -0
  35. package/dist/types/v1/models/CurrencyClient.d.ts +159 -0
  36. package/dist/types/v1/models/ErrorApiResponse.d.ts +70 -0
  37. package/dist/types/v1/models/EventApi.d.ts +37 -0
  38. package/dist/types/v1/models/EventMetadataApi.d.ts +61 -0
  39. package/dist/types/v1/models/HotelApi.d.ts +200 -0
  40. package/dist/types/v1/models/HotelApiImages.d.ts +65 -0
  41. package/dist/types/v1/models/HotelImageApi.d.ts +67 -0
  42. package/dist/types/v1/models/HotelOfferApi.d.ts +216 -0
  43. package/dist/types/v1/models/HotelOfferApiAllOf.d.ts +37 -0
  44. package/dist/types/v1/models/HotelOfferRequestApiResponse.d.ts +94 -0
  45. package/dist/types/v1/models/HotelOfferRequestCreateApi.d.ts +84 -0
  46. package/dist/types/v1/models/HotelOffersApiResponse.d.ts +34 -0
  47. package/dist/types/v1/models/HotelOffersApiResponseMeta.d.ts +45 -0
  48. package/dist/types/v1/models/HotelOffersApiResponseMetaAllOf.d.ts +31 -0
  49. package/dist/types/v1/models/HotelOffersDataApiResponse.d.ts +70 -0
  50. package/dist/types/v1/models/HotelReviewRatingApi.d.ts +37 -0
  51. package/dist/types/v1/models/HotelRoomApi.d.ts +120 -0
  52. package/dist/types/v1/models/HotelRoomOfferApi.d.ts +192 -0
  53. package/dist/types/v1/models/HotelRoomOfferApiResponse.d.ts +58 -0
  54. package/dist/types/v1/models/HotelRoomOfferRequestApiResponse.d.ts +76 -0
  55. package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf.d.ts +64 -0
  56. package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf1.d.ts +37 -0
  57. package/dist/types/v1/models/HotelRoomOfferRequestCreateApi.d.ts +64 -0
  58. package/dist/types/v1/models/HotelRoomOffersApiResponse.d.ts +34 -0
  59. package/dist/types/v1/models/HotelRoomOffersCreateApi.d.ts +61 -0
  60. package/dist/types/v1/models/HotelRoomOffersDataApiResponse.d.ts +64 -0
  61. package/dist/types/v1/models/HotelRoomOffersDataCreateApi.d.ts +43 -0
  62. package/dist/types/v1/models/HotelRoomingListApi.d.ts +46 -0
  63. package/dist/types/v1/models/HotelRoomingListApiHotelRoom.d.ts +120 -0
  64. package/dist/types/v1/models/HotelRoomingListGuestApi.d.ts +37 -0
  65. package/dist/types/v1/models/HotelRoomingListGuestsCreateApi.d.ts +37 -0
  66. package/dist/types/v1/models/HotelRoomingListGuestsUpdateApi.d.ts +31 -0
  67. package/dist/types/v1/models/InvoiceApi.d.ts +45 -0
  68. package/dist/types/v1/models/Locale.d.ts +28 -0
  69. package/dist/types/v1/models/MetaPollingResponseApi.d.ts +45 -0
  70. package/dist/types/v1/models/MetaPollingResponseApiAllOf.d.ts +21 -0
  71. package/dist/types/v1/models/MetaResponseApi.d.ts +49 -0
  72. package/dist/types/v1/models/PaymentMethodApi.d.ts +13 -0
  73. package/dist/types/v1/models/PaymentMethodApiOneOf.d.ts +34 -0
  74. package/dist/types/v1/models/PaymentMethodApiOneOf1.d.ts +34 -0
  75. package/dist/types/v1/models/PaymentMethodApiOneOf1Payload.d.ts +37 -0
  76. package/dist/types/v1/models/PaymentMethodApiOneOf2.d.ts +34 -0
  77. package/dist/types/v1/models/PaymentMethodApiOneOf2Payload.d.ts +37 -0
  78. package/dist/types/v1/models/PaymentMethodApiOneOf3.d.ts +34 -0
  79. package/dist/types/v1/models/PaymentMethodApiOneOf3Payload.d.ts +52 -0
  80. package/dist/types/v1/models/PaymentMethodApiOneOfPayload.d.ts +43 -0
  81. package/dist/types/v1/models/PaymentMethodRequestApi.d.ts +36 -0
  82. package/dist/types/v1/models/PaymentMethodRequestPayloadApi.d.ts +31 -0
  83. package/dist/types/v1/models/PaymentMethodUpdatePayloadApi.d.ts +21 -0
  84. package/dist/types/v1/models/PollerStatus.d.ts +23 -0
  85. package/dist/types/v1/models/SourceMarket.d.ts +264 -0
  86. package/dist/types/v1/models/TagApi.d.ts +55 -0
  87. package/dist/types/v1/models/TaxApi.d.ts +77 -0
  88. package/dist/types/v1/models/TravelTimesApi.d.ts +33 -0
  89. package/dist/types/v1/models/TravelTimesApiTravelTimes.d.ts +43 -0
  90. package/dist/types/v1/models/index.d.ts +74 -4078
  91. package/package.json +10 -10
@@ -1,4078 +1,74 @@
1
- /**
2
- * @type AllowedPaymentMethodApi
3
- *
4
- * @export
5
- */
6
- export type AllowedPaymentMethodApi = AllowedPaymentMethodApiOneOf | AllowedPaymentMethodApiOneOf1 | AllowedPaymentMethodApiOneOf2 | AllowedPaymentMethodApiOneOf3;
7
- /**
8
- *
9
- * @export
10
- * @interface AllowedPaymentMethodApiOneOf
11
- */
12
- export interface AllowedPaymentMethodApiOneOf {
13
- /**
14
- *
15
- * @type {string}
16
- * @memberof AllowedPaymentMethodApiOneOf
17
- */
18
- name: AllowedPaymentMethodApiOneOfNameEnum;
19
- }
20
- /**
21
- * @export
22
- */
23
- export declare const AllowedPaymentMethodApiOneOfNameEnum: {
24
- readonly CreditCard: "CREDIT_CARD";
25
- };
26
- export type AllowedPaymentMethodApiOneOfNameEnum = typeof AllowedPaymentMethodApiOneOfNameEnum[keyof typeof AllowedPaymentMethodApiOneOfNameEnum];
27
- /**
28
- *
29
- * @export
30
- * @interface AllowedPaymentMethodApiOneOf1
31
- */
32
- export interface AllowedPaymentMethodApiOneOf1 {
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof AllowedPaymentMethodApiOneOf1
37
- */
38
- name: AllowedPaymentMethodApiOneOf1NameEnum;
39
- }
40
- /**
41
- * @export
42
- */
43
- export declare const AllowedPaymentMethodApiOneOf1NameEnum: {
44
- readonly Coupon: "COUPON";
45
- };
46
- export type AllowedPaymentMethodApiOneOf1NameEnum = typeof AllowedPaymentMethodApiOneOf1NameEnum[keyof typeof AllowedPaymentMethodApiOneOf1NameEnum];
47
- /**
48
- *
49
- * @export
50
- * @interface AllowedPaymentMethodApiOneOf2
51
- */
52
- export interface AllowedPaymentMethodApiOneOf2 {
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof AllowedPaymentMethodApiOneOf2
57
- */
58
- name: AllowedPaymentMethodApiOneOf2NameEnum;
59
- }
60
- /**
61
- * @export
62
- */
63
- export declare const AllowedPaymentMethodApiOneOf2NameEnum: {
64
- readonly DepositAccount: "DEPOSIT_ACCOUNT";
65
- };
66
- export type AllowedPaymentMethodApiOneOf2NameEnum = typeof AllowedPaymentMethodApiOneOf2NameEnum[keyof typeof AllowedPaymentMethodApiOneOf2NameEnum];
67
- /**
68
- *
69
- * @export
70
- * @interface AllowedPaymentMethodApiOneOf3
71
- */
72
- export interface AllowedPaymentMethodApiOneOf3 {
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof AllowedPaymentMethodApiOneOf3
77
- */
78
- name: AllowedPaymentMethodApiOneOf3NameEnum;
79
- /**
80
- *
81
- * @type {AllowedPaymentMethodApiOneOf3Payload}
82
- * @memberof AllowedPaymentMethodApiOneOf3
83
- */
84
- payload: AllowedPaymentMethodApiOneOf3Payload;
85
- }
86
- /**
87
- * @export
88
- */
89
- export declare const AllowedPaymentMethodApiOneOf3NameEnum: {
90
- readonly PayLater: "PAY_LATER";
91
- };
92
- export type AllowedPaymentMethodApiOneOf3NameEnum = typeof AllowedPaymentMethodApiOneOf3NameEnum[keyof typeof AllowedPaymentMethodApiOneOf3NameEnum];
93
- /**
94
- *
95
- * @export
96
- * @interface AllowedPaymentMethodApiOneOf3Payload
97
- */
98
- export interface AllowedPaymentMethodApiOneOf3Payload {
99
- /**
100
- *
101
- * @type {string}
102
- * @memberof AllowedPaymentMethodApiOneOf3Payload
103
- */
104
- status: AllowedPaymentMethodApiOneOf3PayloadStatusEnum;
105
- }
106
- /**
107
- * @export
108
- */
109
- export declare const AllowedPaymentMethodApiOneOf3PayloadStatusEnum: {
110
- readonly Disabled: "DISABLED";
111
- readonly Enabled: "ENABLED";
112
- readonly Forced: "FORCED";
113
- };
114
- export type AllowedPaymentMethodApiOneOf3PayloadStatusEnum = typeof AllowedPaymentMethodApiOneOf3PayloadStatusEnum[keyof typeof AllowedPaymentMethodApiOneOf3PayloadStatusEnum];
115
- /**
116
- *
117
- * @export
118
- * @interface AmenitiesApi
119
- */
120
- export interface AmenitiesApi {
121
- /**
122
- * Air conditioning.
123
- * @type {boolean}
124
- * @memberof AmenitiesApi
125
- */
126
- airConditioning?: boolean;
127
- /**
128
- * Airport transportation service.
129
- * @type {boolean}
130
- * @memberof AmenitiesApi
131
- */
132
- airportTransportation?: boolean;
133
- /**
134
- * Business center.
135
- * @type {boolean}
136
- * @memberof AmenitiesApi
137
- */
138
- businessCenter?: boolean;
139
- /**
140
- * Car rental desk service.
141
- * @type {boolean}
142
- * @memberof AmenitiesApi
143
- */
144
- carRentDesk?: boolean;
145
- /**
146
- * Children welcomed.
147
- * @type {boolean}
148
- * @memberof AmenitiesApi
149
- */
150
- childrenAllowed?: boolean;
151
- /**
152
- * Clothing iron.
153
- * @type {boolean}
154
- * @memberof AmenitiesApi
155
- */
156
- clothingIron?: boolean;
157
- /**
158
- * Coffea/tea maker.
159
- * @type {boolean}
160
- * @memberof AmenitiesApi
161
- */
162
- coffeeTeaMaker?: boolean;
163
- /**
164
- * Combination.
165
- * @type {boolean}
166
- * @memberof AmenitiesApi
167
- */
168
- combination?: boolean;
169
- /**
170
- * Continental Breakfast.
171
- * @type {boolean}
172
- * @memberof AmenitiesApi
173
- */
174
- continentalBreakfast?: boolean;
175
- /**
176
- * Data ports in room.
177
- * @type {boolean}
178
- * @memberof AmenitiesApi
179
- */
180
- dataPorts?: boolean;
181
- /**
182
- * Dry cleaning.
183
- * @type {boolean}
184
- * @memberof AmenitiesApi
185
- */
186
- dryCleaning?: boolean;
187
- /**
188
- * Electornic room keys.
189
- * @type {boolean}
190
- * @memberof AmenitiesApi
191
- */
192
- electronicRoomKeys?: boolean;
193
- /**
194
- * Exterior room entrance.
195
- * @type {boolean}
196
- * @memberof AmenitiesApi
197
- */
198
- exteriorRoomEntrance?: boolean;
199
- /**
200
- * Family rooms.
201
- * @type {boolean}
202
- * @memberof AmenitiesApi
203
- */
204
- familyRooms?: boolean;
205
- /**
206
- * Fitness facility.
207
- * @type {boolean}
208
- * @memberof AmenitiesApi
209
- */
210
- fitnessFacility?: boolean;
211
- /**
212
- * Game room.
213
- * @type {boolean}
214
- * @memberof AmenitiesApi
215
- */
216
- gameRoom?: boolean;
217
- /**
218
- * Golf course.
219
- * @type {boolean}
220
- * @memberof AmenitiesApi
221
- */
222
- golfCourse?: boolean;
223
- /**
224
- * Hair dryer.
225
- * @type {boolean}
226
- * @memberof AmenitiesApi
227
- */
228
- hairDryer?: boolean;
229
- /**
230
- * Handicap Accessible.
231
- * @type {boolean}
232
- * @memberof AmenitiesApi
233
- */
234
- handicapAccessible?: boolean;
235
- /**
236
- * In house bar.
237
- * @type {boolean}
238
- * @memberof AmenitiesApi
239
- */
240
- inHouseBar?: boolean;
241
- /**
242
- * In house dining.
243
- * @type {boolean}
244
- * @memberof AmenitiesApi
245
- */
246
- inHouseDining?: boolean;
247
- /**
248
- * In room movies.
249
- * @type {boolean}
250
- * @memberof AmenitiesApi
251
- */
252
- inRoomMovies?: boolean;
253
- /**
254
- * Indoor pool.
255
- * @type {boolean}
256
- * @memberof AmenitiesApi
257
- */
258
- indoorPool?: boolean;
259
- /**
260
- * Interior room entrance.
261
- * @type {boolean}
262
- * @memberof AmenitiesApi
263
- */
264
- interiorRoomEntrance?: boolean;
265
- /**
266
- * Kitchen.
267
- * @type {boolean}
268
- * @memberof AmenitiesApi
269
- */
270
- kitchen?: boolean;
271
- /**
272
- * Map.
273
- * @type {boolean}
274
- * @memberof AmenitiesApi
275
- */
276
- map?: boolean;
277
- /**
278
- * Meeting rooms.
279
- * @type {boolean}
280
- * @memberof AmenitiesApi
281
- */
282
- meetingRooms?: boolean;
283
- /**
284
- * mini bar in room.
285
- * @type {boolean}
286
- * @memberof AmenitiesApi
287
- */
288
- miniBarInRoom?: boolean;
289
- /**
290
- * Non smoking rooms.
291
- * @type {boolean}
292
- * @memberof AmenitiesApi
293
- */
294
- nonSmokingRooms?: boolean;
295
- /**
296
- * Outdoor pool.
297
- * @type {boolean}
298
- * @memberof AmenitiesApi
299
- */
300
- outdoorPool?: boolean;
301
- /**
302
- * Parking garage.
303
- * @type {boolean}
304
- * @memberof AmenitiesApi
305
- */
306
- parkingGarage?: boolean;
307
- /**
308
- * Pets allowed.
309
- * @type {boolean}
310
- * @memberof AmenitiesApi
311
- */
312
- petsAllowed?: boolean;
313
- /**
314
- * Restricted access.
315
- * @type {boolean}
316
- * @memberof AmenitiesApi
317
- */
318
- restrictedAccess?: boolean;
319
- /**
320
- * Room service.
321
- * @type {boolean}
322
- * @memberof AmenitiesApi
323
- */
324
- roomService?: boolean;
325
- /**
326
- * Safe in room.
327
- * @type {boolean}
328
- * @memberof AmenitiesApi
329
- */
330
- safe?: boolean;
331
- /**
332
- * Sauna.
333
- * @type {boolean}
334
- * @memberof AmenitiesApi
335
- */
336
- sauna?: boolean;
337
- /**
338
- * TV in room.
339
- * @type {boolean}
340
- * @memberof AmenitiesApi
341
- */
342
- tVInRoom?: boolean;
343
- /**
344
- * Tennis court.
345
- * @type {boolean}
346
- * @memberof AmenitiesApi
347
- */
348
- tennisCourt?: boolean;
349
- /**
350
- * 24/7 security.
351
- * @type {boolean}
352
- * @memberof AmenitiesApi
353
- */
354
- twentyFourHourSecurity?: boolean;
355
- /**
356
- * Valet parking.
357
- * @type {boolean}
358
- * @memberof AmenitiesApi
359
- */
360
- valetParking?: boolean;
361
- /**
362
- * Video check out.
363
- * @type {boolean}
364
- * @memberof AmenitiesApi
365
- */
366
- videoCheckOut?: boolean;
367
- /**
368
- * Voice mail.
369
- * @type {boolean}
370
- * @memberof AmenitiesApi
371
- */
372
- voiceMail?: boolean;
373
- /**
374
- * Wake up service.
375
- * @type {boolean}
376
- * @memberof AmenitiesApi
377
- */
378
- wakeUpService?: boolean;
379
- /**
380
- * Whirpool.
381
- * @type {boolean}
382
- * @memberof AmenitiesApi
383
- */
384
- whirpool?: boolean;
385
- }
386
- /**
387
- *
388
- * @export
389
- * @interface BedApi
390
- */
391
- export interface BedApi {
392
- /**
393
- * Number of beds of the given type in the room.
394
- * @type {number}
395
- * @memberof BedApi
396
- */
397
- count: number;
398
- /**
399
- * Bed name.
400
- * @type {string}
401
- * @memberof BedApi
402
- */
403
- name: string;
404
- /**
405
- * Bed occupancy.
406
- * @type {number}
407
- * @memberof BedApi
408
- */
409
- occupancy: number;
410
- }
411
- /**
412
- * Booking record
413
- * @export
414
- * @interface BookingApi
415
- */
416
- export interface BookingApi {
417
- /**
418
- * Additional instructions on how to check-in.
419
- * @type {string}
420
- * @memberof BookingApi
421
- */
422
- additionalCheckInInstruction?: string | null;
423
- /**
424
- * Additional house policy, house manual, or condominium rules.
425
- * @type {string}
426
- * @memberof BookingApi
427
- */
428
- additionalPolicies?: string | null;
429
- /**
430
- * The total number of adults who will be staying in the property.
431
- * @type {number}
432
- * @memberof BookingApi
433
- */
434
- adultCount: number;
435
- /**
436
- * Date of booking cancellation request, when applicable.
437
- * @type {string}
438
- * @memberof BookingApi
439
- */
440
- canceledAt?: string | null;
441
- /**
442
- * The list of cancellation policy date range with their corresponding penalty percentage.
443
- * @type {Array<CancellationPolicyApi>}
444
- * @memberof BookingApi
445
- */
446
- cancellationPolicies: Array<CancellationPolicyApi>;
447
- /**
448
- * Remarks about the cancellation policy.
449
- * @type {string}
450
- * @memberof BookingApi
451
- */
452
- cancellationPolicyRemarks?: string | null;
453
- /**
454
- * Date of check-in formatted as YYYY-MM-DD.
455
- * @type {string}
456
- * @memberof BookingApi
457
- */
458
- checkInDate: string;
459
- /**
460
- * Date of check-out formatted as YYYY-MM-DD.
461
- * @type {string}
462
- * @memberof BookingApi
463
- */
464
- checkOutDate: string;
465
- /**
466
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
467
- * @type {string}
468
- * @memberof BookingApi
469
- */
470
- children?: string | null;
471
- /**
472
- * Date of booking confirmation request, when applicable.
473
- * @type {string}
474
- * @memberof BookingApi
475
- */
476
- confirmedAt?: string | null;
477
- /**
478
- *
479
- * @type {ContactPersonApi}
480
- * @memberof BookingApi
481
- */
482
- contactPerson: ContactPersonApi;
483
- /**
484
- * Creation date of the **Booking**.
485
- * @type {string}
486
- * @memberof BookingApi
487
- */
488
- createdAt: string;
489
- /**
490
- *
491
- * @type {CurrencyClient}
492
- * @memberof BookingApi
493
- */
494
- currency: CurrencyClient;
495
- /**
496
- * Customer Reference of the requested Booking (sometimes to present by the customer at hotel check-in).
497
- * @type {string}
498
- * @memberof BookingApi
499
- */
500
- customerReference?: string | null;
501
- /**
502
- *
503
- * @type {EventApi}
504
- * @memberof BookingApi
505
- */
506
- event?: EventApi | null;
507
- /**
508
- * Date of booking failure, when applicable.
509
- * @type {string}
510
- * @memberof BookingApi
511
- */
512
- failedAt?: string | null;
513
- /**
514
- * 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.
515
- * @type {string}
516
- * @memberof BookingApi
517
- */
518
- hotelConfirmationId?: string | null;
519
- /**
520
- * Hotel Id of the requested Booking.
521
- * @type {string}
522
- * @memberof BookingApi
523
- */
524
- hotelId: string;
525
- /**
526
- *
527
- * @type {HotelRoomOfferApi}
528
- * @memberof BookingApi
529
- */
530
- hotelRoomOffer: HotelRoomOfferApi;
531
- /**
532
- * Hotel rooming lists of a hotel booking
533
- * @type {Array<HotelRoomingListApi>}
534
- * @memberof BookingApi
535
- */
536
- hotelRoomingLists?: Array<HotelRoomingListApi>;
537
- /**
538
- * Booking Id
539
- * @type {string}
540
- * @memberof BookingApi
541
- */
542
- id?: string | null;
543
- /**
544
- * The list of invoices and credit notes (when applicable) direct urls associated to the Booking.
545
- * @type {Array<InvoiceApi>}
546
- * @memberof BookingApi
547
- */
548
- invoices?: Array<InvoiceApi> | null;
549
- /**
550
- * Date of the last booking status update.
551
- * @type {string}
552
- * @memberof BookingApi
553
- */
554
- lastStatusUpdatedAt: string;
555
- /**
556
- * 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.
557
- * @type {{ [key: string]: string; }}
558
- * @memberof BookingApi
559
- */
560
- metadata?: {
561
- [key: string]: string;
562
- } | null;
563
- /**
564
- * Booking Pay Later Status
565
- * @type {string}
566
- * @memberof BookingApi
567
- */
568
- payLater?: BookingApiPayLaterEnum;
569
- /**
570
- * List of preferred payment methods to be used along with their respective payload (when applicable) in order to fulfill the booking.
571
- *
572
- * ⚠️ This field is only returned when **booking.status = bkg-created**
573
- * @type {Array<PaymentMethodApi>}
574
- * @memberof BookingApi
575
- */
576
- paymentMethods?: Array<PaymentMethodApi>;
577
- /**
578
- * Penalty percentage of the requested Booking.
579
- *
580
- * 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.
581
- * @type {number}
582
- * @memberof BookingApi
583
- */
584
- penaltyPercentage?: number | null;
585
- /**
586
- * Booking Reference of the requested Booking.
587
- * @type {string}
588
- * @memberof BookingApi
589
- */
590
- reference: string;
591
- /**
592
- *
593
- * @type {SourceMarket}
594
- * @memberof BookingApi
595
- */
596
- sourceMarket: SourceMarket;
597
- /**
598
- * Booking status. Please, refer to [Booking Status](/v1/documentation#tag/Booking-Status) for details.
599
- * @type {string}
600
- * @memberof BookingApi
601
- */
602
- status: BookingApiStatusEnum;
603
- /**
604
- * Total tax amount expressed in the booking currency.
605
- * @type {number}
606
- * @memberof BookingApi
607
- */
608
- taxAmount: number;
609
- /**
610
- * Price of the booking including taxes expressed in the booking currency.
611
- * @type {number}
612
- * @memberof BookingApi
613
- */
614
- taxIncludedPrice: number;
615
- /**
616
- *
617
- * @type {Array<TaxApi>}
618
- * @memberof BookingApi
619
- */
620
- taxes?: Array<TaxApi> | null;
621
- /**
622
- * Link to Revolugo terms and conditions under which the booking is made.
623
- * @type {string}
624
- * @memberof BookingApi
625
- */
626
- terms: string;
627
- /**
628
- * 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.
629
- *
630
- * ⚠️ For security reasons, this token is unique and once generated, it is valid during a period of 10 minutes.
631
- *
632
- * In order to get a fresh valid token you need to call **[Retrieve Booking endpoint](/v1/documentation#operation/getV1BookingsId)**.
633
- * @type {string}
634
- * @memberof BookingApi
635
- */
636
- token?: string | null;
637
- }
638
- /**
639
- * @export
640
- */
641
- export declare const BookingApiPayLaterEnum: {
642
- readonly Disabled: "DISABLED";
643
- readonly Enabled: "ENABLED";
644
- readonly Forced: "FORCED";
645
- };
646
- export type BookingApiPayLaterEnum = typeof BookingApiPayLaterEnum[keyof typeof BookingApiPayLaterEnum];
647
- /**
648
- * @export
649
- */
650
- export declare const BookingApiStatusEnum: {
651
- readonly Cx: "bkg-cx";
652
- readonly Cf: "bkg-cf";
653
- readonly Created: "bkg-created";
654
- readonly Af: "bkg-af";
655
- readonly Ip: "bkg-ip";
656
- readonly Pc: "bkg-pc";
657
- readonly Pp: "bkg-pp";
658
- readonly Qr: "bkg-qr";
659
- };
660
- export type BookingApiStatusEnum = typeof BookingApiStatusEnum[keyof typeof BookingApiStatusEnum];
661
- /**
662
- *
663
- * @export
664
- * @interface BookingCreateApi
665
- */
666
- export interface BookingCreateApi {
667
- /**
668
- * Booking policy id to book, returned from previous **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** call
669
- * @type {string}
670
- * @memberof BookingCreateApi
671
- */
672
- bookingPolicyId: string;
673
- /**
674
- *
675
- * @type {ContactPersonApi}
676
- * @memberof BookingCreateApi
677
- */
678
- contactPerson: ContactPersonApi;
679
- /**
680
- *
681
- * @type {Array<BookingCreateApiGuestsListInner>}
682
- * @memberof BookingCreateApi
683
- */
684
- guestsList?: Array<BookingCreateApiGuestsListInner>;
685
- /**
686
- * 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.
687
- * @type {{ [key: string]: string; }}
688
- * @memberof BookingCreateApi
689
- */
690
- metadata?: {
691
- [key: string]: string;
692
- } | null;
693
- /**
694
- * List of preferred payment methods to be used along with their respective payload (when applicable) in order to fulfill the booking.
695
- * @type {Array<PaymentMethodRequestApi>}
696
- * @memberof BookingCreateApi
697
- */
698
- paymentMethods?: Array<PaymentMethodRequestApi>;
699
- /**
700
- *
701
- * @type {string}
702
- * @memberof BookingCreateApi
703
- */
704
- trackingId?: string | null;
705
- }
706
- /**
707
- *
708
- * @export
709
- * @interface BookingCreateApiGuestsListInner
710
- */
711
- export interface BookingCreateApiGuestsListInner {
712
- /**
713
- *
714
- * @type {Array<BookingCreateApiGuestsListInnerGuestsInner>}
715
- * @memberof BookingCreateApiGuestsListInner
716
- */
717
- guests: Array<BookingCreateApiGuestsListInnerGuestsInner>;
718
- /**
719
- *
720
- * @type {string}
721
- * @memberof BookingCreateApiGuestsListInner
722
- */
723
- hotelRoomId: string;
724
- }
725
- /**
726
- *
727
- * @export
728
- * @interface BookingCreateApiGuestsListInnerGuestsInner
729
- */
730
- export interface BookingCreateApiGuestsListInnerGuestsInner {
731
- /**
732
- *
733
- * @type {string}
734
- * @memberof BookingCreateApiGuestsListInnerGuestsInner
735
- */
736
- fullname: string;
737
- }
738
- /**
739
- *
740
- * @export
741
- * @interface BookingPoliciesApi
742
- */
743
- export interface BookingPoliciesApi {
744
- /**
745
- * The total number of adults who will be staying in the property.
746
- * @type {number}
747
- * @memberof BookingPoliciesApi
748
- */
749
- adultCount: number;
750
- /**
751
- * The list of cancellation policy date range with their corresponding penalty percentage.
752
- * @type {Array<CancellationPolicyApi>}
753
- * @memberof BookingPoliciesApi
754
- */
755
- cancellationPolicies: Array<CancellationPolicyApi>;
756
- /**
757
- * Date of check-in formatted as YYYY-MM-DD.
758
- * @type {string}
759
- * @memberof BookingPoliciesApi
760
- */
761
- checkInDate: string;
762
- /**
763
- * Date of check-out formatted as YYYY-MM-DD.
764
- * @type {string}
765
- * @memberof BookingPoliciesApi
766
- */
767
- checkOutDate: string;
768
- /**
769
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
770
- * @type {string}
771
- * @memberof BookingPoliciesApi
772
- */
773
- children?: string | null;
774
- /**
775
- *
776
- * @type {CurrencyClient}
777
- * @memberof BookingPoliciesApi
778
- */
779
- currency: CurrencyClient;
780
- /**
781
- * Expiration date for this **Booking Policy**.
782
- *
783
- * The returned **Booking Policy** (price and cancellation policies) is valid bookable policy up to this **expires_at** date, while it may be valid for a longer period in the case of some suppliers, this API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of a **Hotel Room Offer** being successfully booked.
784
- * @type {string}
785
- * @memberof BookingPoliciesApi
786
- */
787
- expiresAt: string | null;
788
- /**
789
- *
790
- * @type {boolean}
791
- * @memberof BookingPoliciesApi
792
- */
793
- hasRoomingLists: boolean;
794
- /**
795
- * Hotel id
796
- * @type {string}
797
- * @memberof BookingPoliciesApi
798
- */
799
- hotelId: string;
800
- /**
801
- *
802
- * @type {HotelRoomOfferApi}
803
- * @memberof BookingPoliciesApi
804
- */
805
- hotelRoomOffer: HotelRoomOfferApi;
806
- /**
807
- * **Booking Policy** id
808
- * @type {string}
809
- * @memberof BookingPoliciesApi
810
- */
811
- id: string;
812
- /**
813
- * 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).
814
- *
815
- * In some case, the returned price may increase for various reasons including: Currency rate change between the POST **Booking Policies** call and the GET **Hotel Room Offers** call, **Hotel Room Offer** price has increased since the GET **Hotel Room Offers** call.
816
- *
817
- * If **is_price_increased** is **true**, it means that the actual/updated price of the **Hotel Room Offer** is greater than the price previously returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers). If **is_price_increased** is **false**, the price of the **Hotel Room Offer** is equal to the price returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers).
818
- *
819
- * ⚠️ It is strongly advised to clearly inform your customer of any price increase that may occur.
820
- * @type {boolean}
821
- * @memberof BookingPoliciesApi
822
- */
823
- isPriceIncreased: boolean;
824
- }
825
- /**
826
- *
827
- * @export
828
- * @interface BookingPoliciesCreateApi
829
- */
830
- export interface BookingPoliciesCreateApi {
831
- /**
832
- * This parameter allows to add breakfast to the booking as long as every requested Hotel Room Offers **breakfast_option = OPTIONAL** .
833
- *
834
- * The final breakfast count that will be included in the Hotel Room Offer will be returned in the response and is calculated as follows:
835
- *
836
- * - If the returned Hotel Room Offer **total room count** > **hotel_room_offer_request.adult_count** then **breakfast_count** will be equal to the **total room count** of the returned Hotel Room Offer,
837
- *
838
- * - Otherwise **breakfast_count** will be equal to the minimum value between related **hotel_room_offer_request.adult_count** and returned Hotel Room Offer **total occupancy**.
839
- *
840
- * <div style="background-color: #ffffef; padding: 20px; border: 1px solid lightgrey; border-radius: 5px;"><b style="color: red; margin-top: 10px;">🛑 DEPRECATED.</b>
841
- *
842
- * <b style="color: orange;">If you already use this field, don't worry as we still support it with the following behaviour:</b>
843
- * - <span style="color: orange;">When **add_breakfast = true** then **breakfast_count = MIN(guest count, total offer occupancy)** where **guest count** is the total number of adult and children over 3.</span>
844
- * - <span style="color: orange;">Otherwise **breakfast_count = 0**.</span></div>
845
- * @type {boolean}
846
- * @memberof BookingPoliciesCreateApi
847
- */
848
- addBreakfast?: boolean | null;
849
- /**
850
- * This parameter describes the quantity of breakfast / night that should be included in the **Booking**. When **breakfast_option = OPTIONAL**, valid **breakfast_count** lower bound is **room count** and upper bound is **guest count**, where **guest count** is the number of adult and children over 3.
851
- *
852
- * ⚠️ The actual breakfast count that will be included in the **Booking** is the one that is returned in the response of this endpoint and might be different from this **breakfast_count** paramater in some cases. Please, make sure to check the actual breakfast count included in the **Hotel Room Offer** returned in the response of this endpoint.
853
- * @type {number}
854
- * @memberof BookingPoliciesCreateApi
855
- */
856
- breakfastCount?: number;
857
- /**
858
- * Id of requested **Hotel Room Offer** returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers). Requested **Hotel Room Offer** must be of **type = PACKAGE**
859
- * @type {string}
860
- * @memberof BookingPoliciesCreateApi
861
- */
862
- hotelRoomOfferId: string;
863
- /**
864
- *
865
- * @type {Locale}
866
- * @memberof BookingPoliciesCreateApi
867
- */
868
- lang?: Locale | null;
869
- }
870
- /**
871
- *
872
- * @export
873
- * @interface BookingsApiResponse
874
- */
875
- export interface BookingsApiResponse {
876
- /**
877
- * List of detailed Bookings
878
- * @type {Array<BookingApi>}
879
- * @memberof BookingsApiResponse
880
- */
881
- data: Array<BookingApi>;
882
- /**
883
- *
884
- * @type {MetaResponseApi}
885
- * @memberof BookingsApiResponse
886
- */
887
- meta: MetaResponseApi;
888
- }
889
- /**
890
- *
891
- * @export
892
- * @interface CancellationPolicyApi
893
- */
894
- export interface CancellationPolicyApi {
895
- /**
896
- * The start date and time of the cancellation policy, given in the hotel timezone.
897
- * @type {string}
898
- * @memberof CancellationPolicyApi
899
- */
900
- dateFrom: string;
901
- /**
902
- * The end date and time of the cancellation policy, given in the hotel timezone.
903
- * @type {string}
904
- * @memberof CancellationPolicyApi
905
- */
906
- dateTo: string;
907
- /**
908
- * The penalty percentage that is due in case of cancellation during the **date_from** to **date_to** period range.
909
- * @type {number}
910
- * @memberof CancellationPolicyApi
911
- */
912
- penaltyPercentage: number;
913
- }
914
- /**
915
- * Contact details that will be used to communicate with the contact person for booking related communication (confirmation, modification, etc)
916
- * @export
917
- * @interface ContactPersonApi
918
- */
919
- export interface ContactPersonApi {
920
- /**
921
- * Contact person's postal code of residence
922
- * @type {string}
923
- * @memberof ContactPersonApi
924
- */
925
- address?: string | null;
926
- /**
927
- * Contact person's city of residence
928
- * @type {string}
929
- * @memberof ContactPersonApi
930
- */
931
- city?: string | null;
932
- /**
933
- *
934
- * @type {CountryIso2Code}
935
- * @memberof ContactPersonApi
936
- */
937
- country?: CountryIso2Code | null;
938
- /**
939
- * Contact person's email address
940
- * @type {string}
941
- * @memberof ContactPersonApi
942
- */
943
- email: string;
944
- /**
945
- * Contact person's first name
946
- * @type {string}
947
- * @memberof ContactPersonApi
948
- */
949
- firstName: string;
950
- /**
951
- *
952
- * @type {Locale}
953
- * @memberof ContactPersonApi
954
- */
955
- lang?: Locale;
956
- /**
957
- * Contact person's last name
958
- * @type {string}
959
- * @memberof ContactPersonApi
960
- */
961
- lastName: string;
962
- /**
963
- *
964
- * @type {CountryIso2Code}
965
- * @memberof ContactPersonApi
966
- */
967
- nationality: CountryIso2Code;
968
- /**
969
- *
970
- * @type {ContactPersonOrganizationApi}
971
- * @memberof ContactPersonApi
972
- */
973
- organization?: ContactPersonOrganizationApi | null;
974
- /**
975
- * Contact person's phone number
976
- * @type {string}
977
- * @memberof ContactPersonApi
978
- */
979
- phone: string;
980
- /**
981
- * Contact person's remarks
982
- * @type {string}
983
- * @memberof ContactPersonApi
984
- */
985
- remarks?: string;
986
- /**
987
- * Title of the contact person
988
- * @type {string}
989
- * @memberof ContactPersonApi
990
- */
991
- salutation?: ContactPersonApiSalutationEnum;
992
- /**
993
- * Contact person's state of residence
994
- * @type {string}
995
- * @memberof ContactPersonApi
996
- */
997
- state?: string | null;
998
- /**
999
- * Contact person's postal code of residence
1000
- * @type {string}
1001
- * @memberof ContactPersonApi
1002
- */
1003
- zipCode?: string | null;
1004
- }
1005
- /**
1006
- * @export
1007
- */
1008
- export declare const ContactPersonApiSalutationEnum: {
1009
- readonly Dr: "dr";
1010
- readonly Mr: "mr";
1011
- readonly Mrs: "mrs";
1012
- readonly Ms: "ms";
1013
- readonly NotSpecified: "notSpecified";
1014
- readonly Prof: "prof";
1015
- };
1016
- export type ContactPersonApiSalutationEnum = typeof ContactPersonApiSalutationEnum[keyof typeof ContactPersonApiSalutationEnum];
1017
- /**
1018
- * Organization details of the contact person for invoicing purposes
1019
- * @export
1020
- * @interface ContactPersonOrganizationApi
1021
- */
1022
- export interface ContactPersonOrganizationApi {
1023
- /**
1024
- * Address of the organization
1025
- * @type {string}
1026
- * @memberof ContactPersonOrganizationApi
1027
- */
1028
- address: string;
1029
- /**
1030
- * City of the organization
1031
- * @type {string}
1032
- * @memberof ContactPersonOrganizationApi
1033
- */
1034
- city: string;
1035
- /**
1036
- *
1037
- * @type {CountryIso2Code}
1038
- * @memberof ContactPersonOrganizationApi
1039
- */
1040
- country: CountryIso2Code;
1041
- /**
1042
- * Name of the organization
1043
- * @type {string}
1044
- * @memberof ContactPersonOrganizationApi
1045
- */
1046
- name: string;
1047
- /**
1048
- * State of the organization
1049
- * @type {string}
1050
- * @memberof ContactPersonOrganizationApi
1051
- */
1052
- state?: string | null;
1053
- /**
1054
- * VAT Number of the organization
1055
- * @type {string}
1056
- * @memberof ContactPersonOrganizationApi
1057
- */
1058
- vatNumber?: string | null;
1059
- /**
1060
- * ZIP Code of the organization
1061
- * @type {string}
1062
- * @memberof ContactPersonOrganizationApi
1063
- */
1064
- zipCode: string;
1065
- }
1066
- /**
1067
- * Contact person's country of residence
1068
- * @export
1069
- */
1070
- export declare const CountryIso2Code: {
1071
- readonly Ad: "AD";
1072
- readonly Ae: "AE";
1073
- readonly Af: "AF";
1074
- readonly Ag: "AG";
1075
- readonly Ai: "AI";
1076
- readonly Al: "AL";
1077
- readonly Am: "AM";
1078
- readonly Ao: "AO";
1079
- readonly Ar: "AR";
1080
- readonly As: "AS";
1081
- readonly At: "AT";
1082
- readonly Au: "AU";
1083
- readonly Aw: "AW";
1084
- readonly Ax: "AX";
1085
- readonly Az: "AZ";
1086
- readonly Ba: "BA";
1087
- readonly Bb: "BB";
1088
- readonly Bd: "BD";
1089
- readonly Be: "BE";
1090
- readonly Bf: "BF";
1091
- readonly Bg: "BG";
1092
- readonly Bh: "BH";
1093
- readonly Bi: "BI";
1094
- readonly Bj: "BJ";
1095
- readonly Bl: "BL";
1096
- readonly Bm: "BM";
1097
- readonly Bn: "BN";
1098
- readonly Bo: "BO";
1099
- readonly Bq: "BQ";
1100
- readonly Br: "BR";
1101
- readonly Bs: "BS";
1102
- readonly Bt: "BT";
1103
- readonly Bw: "BW";
1104
- readonly By: "BY";
1105
- readonly Bz: "BZ";
1106
- readonly Ca: "CA";
1107
- readonly Cc: "CC";
1108
- readonly Cd: "CD";
1109
- readonly Cf: "CF";
1110
- readonly Cg: "CG";
1111
- readonly Ch: "CH";
1112
- readonly Ci: "CI";
1113
- readonly Ck: "CK";
1114
- readonly Cl: "CL";
1115
- readonly Cm: "CM";
1116
- readonly Cn: "CN";
1117
- readonly Co: "CO";
1118
- readonly Cr: "CR";
1119
- readonly Cu: "CU";
1120
- readonly Cv: "CV";
1121
- readonly Cw: "CW";
1122
- readonly Cx: "CX";
1123
- readonly Cy: "CY";
1124
- readonly Cz: "CZ";
1125
- readonly De: "DE";
1126
- readonly Dj: "DJ";
1127
- readonly Dk: "DK";
1128
- readonly Dm: "DM";
1129
- readonly Do: "DO";
1130
- readonly Dz: "DZ";
1131
- readonly Ec: "EC";
1132
- readonly Ee: "EE";
1133
- readonly Eg: "EG";
1134
- readonly Eh: "EH";
1135
- readonly Er: "ER";
1136
- readonly Es: "ES";
1137
- readonly Et: "ET";
1138
- readonly Fi: "FI";
1139
- readonly Fj: "FJ";
1140
- readonly Fk: "FK";
1141
- readonly Fm: "FM";
1142
- readonly Fo: "FO";
1143
- readonly Fr: "FR";
1144
- readonly Ga: "GA";
1145
- readonly Gb: "GB";
1146
- readonly Gd: "GD";
1147
- readonly Ge: "GE";
1148
- readonly Gf: "GF";
1149
- readonly Gg: "GG";
1150
- readonly Gh: "GH";
1151
- readonly Gi: "GI";
1152
- readonly Gl: "GL";
1153
- readonly Gm: "GM";
1154
- readonly Gn: "GN";
1155
- readonly Gp: "GP";
1156
- readonly Gq: "GQ";
1157
- readonly Gr: "GR";
1158
- readonly Gt: "GT";
1159
- readonly Gu: "GU";
1160
- readonly Gw: "GW";
1161
- readonly Gy: "GY";
1162
- readonly Hk: "HK";
1163
- readonly Hn: "HN";
1164
- readonly Hr: "HR";
1165
- readonly Ht: "HT";
1166
- readonly Hu: "HU";
1167
- readonly Id: "ID";
1168
- readonly Ie: "IE";
1169
- readonly Il: "IL";
1170
- readonly Im: "IM";
1171
- readonly In: "IN";
1172
- readonly Io: "IO";
1173
- readonly Iq: "IQ";
1174
- readonly Ir: "IR";
1175
- readonly Is: "IS";
1176
- readonly It: "IT";
1177
- readonly Je: "JE";
1178
- readonly Jm: "JM";
1179
- readonly Jo: "JO";
1180
- readonly Jp: "JP";
1181
- readonly Ke: "KE";
1182
- readonly Kg: "KG";
1183
- readonly Kh: "KH";
1184
- readonly Ki: "KI";
1185
- readonly Km: "KM";
1186
- readonly Kn: "KN";
1187
- readonly Kp: "KP";
1188
- readonly Kr: "KR";
1189
- readonly Kw: "KW";
1190
- readonly Ky: "KY";
1191
- readonly Kz: "KZ";
1192
- readonly La: "LA";
1193
- readonly Lb: "LB";
1194
- readonly Lc: "LC";
1195
- readonly Li: "LI";
1196
- readonly Lk: "LK";
1197
- readonly Lr: "LR";
1198
- readonly Ls: "LS";
1199
- readonly Lt: "LT";
1200
- readonly Lu: "LU";
1201
- readonly Lv: "LV";
1202
- readonly Ly: "LY";
1203
- readonly Ma: "MA";
1204
- readonly Mc: "MC";
1205
- readonly Md: "MD";
1206
- readonly Me: "ME";
1207
- readonly Mf: "MF";
1208
- readonly Mg: "MG";
1209
- readonly Mh: "MH";
1210
- readonly Mk: "MK";
1211
- readonly Ml: "ML";
1212
- readonly Mm: "MM";
1213
- readonly Mn: "MN";
1214
- readonly Mo: "MO";
1215
- readonly Mp: "MP";
1216
- readonly Mq: "MQ";
1217
- readonly Mr: "MR";
1218
- readonly Ms: "MS";
1219
- readonly Mt: "MT";
1220
- readonly Mu: "MU";
1221
- readonly Mv: "MV";
1222
- readonly Mw: "MW";
1223
- readonly Mx: "MX";
1224
- readonly My: "MY";
1225
- readonly Mz: "MZ";
1226
- readonly Na: "NA";
1227
- readonly Nc: "NC";
1228
- readonly Ne: "NE";
1229
- readonly Nf: "NF";
1230
- readonly Ng: "NG";
1231
- readonly Ni: "NI";
1232
- readonly Nl: "NL";
1233
- readonly No: "NO";
1234
- readonly Np: "NP";
1235
- readonly Nr: "NR";
1236
- readonly Nu: "NU";
1237
- readonly Nz: "NZ";
1238
- readonly Om: "OM";
1239
- readonly Pa: "PA";
1240
- readonly Pe: "PE";
1241
- readonly Pf: "PF";
1242
- readonly Pg: "PG";
1243
- readonly Ph: "PH";
1244
- readonly Pk: "PK";
1245
- readonly Pl: "PL";
1246
- readonly Pm: "PM";
1247
- readonly Pr: "PR";
1248
- readonly Ps: "PS";
1249
- readonly Pt: "PT";
1250
- readonly Pw: "PW";
1251
- readonly Py: "PY";
1252
- readonly Qa: "QA";
1253
- readonly Re: "RE";
1254
- readonly Ro: "RO";
1255
- readonly Rs: "RS";
1256
- readonly Ru: "RU";
1257
- readonly Rw: "RW";
1258
- readonly Sa: "SA";
1259
- readonly Sb: "SB";
1260
- readonly Sc: "SC";
1261
- readonly Sd: "SD";
1262
- readonly Se: "SE";
1263
- readonly Sg: "SG";
1264
- readonly Sh: "SH";
1265
- readonly Si: "SI";
1266
- readonly Sj: "SJ";
1267
- readonly Sk: "SK";
1268
- readonly Sl: "SL";
1269
- readonly Sm: "SM";
1270
- readonly Sn: "SN";
1271
- readonly So: "SO";
1272
- readonly Sr: "SR";
1273
- readonly Ss: "SS";
1274
- readonly St: "ST";
1275
- readonly Sv: "SV";
1276
- readonly Sx: "SX";
1277
- readonly Sy: "SY";
1278
- readonly Sz: "SZ";
1279
- readonly Tc: "TC";
1280
- readonly Td: "TD";
1281
- readonly Tg: "TG";
1282
- readonly Th: "TH";
1283
- readonly Tj: "TJ";
1284
- readonly Tk: "TK";
1285
- readonly Tl: "TL";
1286
- readonly Tm: "TM";
1287
- readonly Tn: "TN";
1288
- readonly To: "TO";
1289
- readonly Tr: "TR";
1290
- readonly Tt: "TT";
1291
- readonly Tv: "TV";
1292
- readonly Tw: "TW";
1293
- readonly Tz: "TZ";
1294
- readonly Ua: "UA";
1295
- readonly Ug: "UG";
1296
- readonly Us: "US";
1297
- readonly Uy: "UY";
1298
- readonly Uz: "UZ";
1299
- readonly Va: "VA";
1300
- readonly Vc: "VC";
1301
- readonly Ve: "VE";
1302
- readonly Vg: "VG";
1303
- readonly Vi: "VI";
1304
- readonly Vn: "VN";
1305
- readonly Vu: "VU";
1306
- readonly Wf: "WF";
1307
- readonly Ws: "WS";
1308
- readonly Xk: "XK";
1309
- readonly Ye: "YE";
1310
- readonly Yt: "YT";
1311
- readonly Za: "ZA";
1312
- readonly Zm: "ZM";
1313
- readonly Zw: "ZW";
1314
- };
1315
- export type CountryIso2Code = typeof CountryIso2Code[keyof typeof CountryIso2Code];
1316
- /**
1317
- * ISO 4217 currency code.
1318
- * @export
1319
- */
1320
- export declare const CurrencyClient: {
1321
- readonly Aed: "AED";
1322
- readonly Afn: "AFN";
1323
- readonly All: "ALL";
1324
- readonly Amd: "AMD";
1325
- readonly Ang: "ANG";
1326
- readonly Aoa: "AOA";
1327
- readonly Ars: "ARS";
1328
- readonly Aud: "AUD";
1329
- readonly Awg: "AWG";
1330
- readonly Azn: "AZN";
1331
- readonly Bam: "BAM";
1332
- readonly Bbd: "BBD";
1333
- readonly Bdt: "BDT";
1334
- readonly Bhd: "BHD";
1335
- readonly Bgn: "BGN";
1336
- readonly Bif: "BIF";
1337
- readonly Bmd: "BMD";
1338
- readonly Bnd: "BND";
1339
- readonly Bob: "BOB";
1340
- readonly Brl: "BRL";
1341
- readonly Bsd: "BSD";
1342
- readonly Bwp: "BWP";
1343
- readonly Bzd: "BZD";
1344
- readonly Cad: "CAD";
1345
- readonly Cdf: "CDF";
1346
- readonly Chf: "CHF";
1347
- readonly Clp: "CLP";
1348
- readonly Cny: "CNY";
1349
- readonly Cop: "COP";
1350
- readonly Crc: "CRC";
1351
- readonly Cve: "CVE";
1352
- readonly Czk: "CZK";
1353
- readonly Djf: "DJF";
1354
- readonly Dkk: "DKK";
1355
- readonly Dop: "DOP";
1356
- readonly Dzd: "DZD";
1357
- readonly Egp: "EGP";
1358
- readonly Etb: "ETB";
1359
- readonly Eur: "EUR";
1360
- readonly Fjd: "FJD";
1361
- readonly Fkp: "FKP";
1362
- readonly Gbp: "GBP";
1363
- readonly Gel: "GEL";
1364
- readonly Gip: "GIP";
1365
- readonly Gmd: "GMD";
1366
- readonly Gnf: "GNF";
1367
- readonly Gtq: "GTQ";
1368
- readonly Gyd: "GYD";
1369
- readonly Hkd: "HKD";
1370
- readonly Hnl: "HNL";
1371
- readonly Htg: "HTG";
1372
- readonly Huf: "HUF";
1373
- readonly Idr: "IDR";
1374
- readonly Ils: "ILS";
1375
- readonly Inr: "INR";
1376
- readonly Isk: "ISK";
1377
- readonly Jmd: "JMD";
1378
- readonly Jod: "JOD";
1379
- readonly Jpy: "JPY";
1380
- readonly Kes: "KES";
1381
- readonly Kgs: "KGS";
1382
- readonly Khr: "KHR";
1383
- readonly Kmf: "KMF";
1384
- readonly Krw: "KRW";
1385
- readonly Kwd: "KWD";
1386
- readonly Kyd: "KYD";
1387
- readonly Kzt: "KZT";
1388
- readonly Lak: "LAK";
1389
- readonly Lbp: "LBP";
1390
- readonly Lkr: "LKR";
1391
- readonly Lrd: "LRD";
1392
- readonly Lsl: "LSL";
1393
- readonly Mad: "MAD";
1394
- readonly Mdl: "MDL";
1395
- readonly Mga: "MGA";
1396
- readonly Mkd: "MKD";
1397
- readonly Mmk: "MMK";
1398
- readonly Mnt: "MNT";
1399
- readonly Mop: "MOP";
1400
- readonly Mru: "MRU";
1401
- readonly Mur: "MUR";
1402
- readonly Mvr: "MVR";
1403
- readonly Mwk: "MWK";
1404
- readonly Mxn: "MXN";
1405
- readonly Myr: "MYR";
1406
- readonly Mzn: "MZN";
1407
- readonly Nad: "NAD";
1408
- readonly Ngn: "NGN";
1409
- readonly Nio: "NIO";
1410
- readonly Nok: "NOK";
1411
- readonly Npr: "NPR";
1412
- readonly Nzd: "NZD";
1413
- readonly Omr: "OMR";
1414
- readonly Pab: "PAB";
1415
- readonly Pen: "PEN";
1416
- readonly Pgk: "PGK";
1417
- readonly Php: "PHP";
1418
- readonly Pkr: "PKR";
1419
- readonly Pln: "PLN";
1420
- readonly Pyg: "PYG";
1421
- readonly Qar: "QAR";
1422
- readonly Ron: "RON";
1423
- readonly Rsd: "RSD";
1424
- readonly Rub: "RUB";
1425
- readonly Rwf: "RWF";
1426
- readonly Sar: "SAR";
1427
- readonly Sbd: "SBD";
1428
- readonly Scr: "SCR";
1429
- readonly Sek: "SEK";
1430
- readonly Sgd: "SGD";
1431
- readonly Shp: "SHP";
1432
- readonly Sll: "SLL";
1433
- readonly Sos: "SOS";
1434
- readonly Srd: "SRD";
1435
- readonly Std: "STD";
1436
- readonly Szl: "SZL";
1437
- readonly Thb: "THB";
1438
- readonly Tjs: "TJS";
1439
- readonly Tnd: "TND";
1440
- readonly Top: "TOP";
1441
- readonly Try: "TRY";
1442
- readonly Ttd: "TTD";
1443
- readonly Twd: "TWD";
1444
- readonly Tzs: "TZS";
1445
- readonly Uah: "UAH";
1446
- readonly Usd: "USD";
1447
- readonly Uyu: "UYU";
1448
- readonly Uzs: "UZS";
1449
- readonly Vnd: "VND";
1450
- readonly Vuv: "VUV";
1451
- readonly Wst: "WST";
1452
- readonly Xaf: "XAF";
1453
- readonly Xcd: "XCD";
1454
- readonly Xof: "XOF";
1455
- readonly Xpf: "XPF";
1456
- readonly Yer: "YER";
1457
- readonly Zar: "ZAR";
1458
- readonly Zmw: "ZMW";
1459
- };
1460
- export type CurrencyClient = typeof CurrencyClient[keyof typeof CurrencyClient];
1461
- /**
1462
- *
1463
- * @export
1464
- * @interface ErrorApiResponse
1465
- */
1466
- export interface ErrorApiResponse {
1467
- /**
1468
- * A URL pointing to a place in our documentation where you can read about the error.
1469
- * @type {string}
1470
- * @memberof ErrorApiResponse
1471
- */
1472
- documentationUrl?: string;
1473
- /**
1474
- * A quick and simple description of what went wrong
1475
- * @type {string}
1476
- * @memberof ErrorApiResponse
1477
- */
1478
- error?: string;
1479
- /**
1480
- * A human-readable message providing more details about the error.
1481
- * @type {string}
1482
- * @memberof ErrorApiResponse
1483
- */
1484
- message?: string;
1485
- /**
1486
- * HTTP status code
1487
- * @type {number}
1488
- * @memberof ErrorApiResponse
1489
- */
1490
- statusCode: number;
1491
- /**
1492
- * The type of returned error.
1493
- * @type {string}
1494
- * @memberof ErrorApiResponse
1495
- */
1496
- type?: ErrorApiResponseTypeEnum;
1497
- }
1498
- /**
1499
- * @export
1500
- */
1501
- export declare const ErrorApiResponseTypeEnum: {
1502
- readonly ApiError: "api_error";
1503
- readonly BadGateway: "bad_gateway";
1504
- readonly InternalServerError: "internal_server_error";
1505
- readonly InvalidRequestError: "invalid_request_error";
1506
- readonly RateLimitError: "rate_limit_error";
1507
- readonly ResourceGone: "resource_gone";
1508
- readonly ResourceNotFound: "resource_not_found";
1509
- readonly Unauthorized: "unauthorized";
1510
- readonly ValidationError: "validation_error";
1511
- };
1512
- export type ErrorApiResponseTypeEnum = typeof ErrorApiResponseTypeEnum[keyof typeof ErrorApiResponseTypeEnum];
1513
- /**
1514
- *
1515
- * @export
1516
- * @interface EventApi
1517
- */
1518
- export interface EventApi {
1519
- /**
1520
- * Unique name of the event
1521
- * @type {string}
1522
- * @memberof EventApi
1523
- */
1524
- name?: string | null;
1525
- /**
1526
- * Unique slug of the event
1527
- * @type {string}
1528
- * @memberof EventApi
1529
- */
1530
- slug?: string | null;
1531
- }
1532
- /**
1533
- *
1534
- * @export
1535
- * @interface EventMetadataApi
1536
- */
1537
- export interface EventMetadataApi {
1538
- /**
1539
- * End date of the event formatted as YYYY-MM-DD.
1540
- * @type {string}
1541
- * @memberof EventMetadataApi
1542
- */
1543
- dateEnd?: string;
1544
- /**
1545
- * Start date of the event formatted as YYYY-MM-DD.
1546
- * @type {string}
1547
- * @memberof EventMetadataApi
1548
- */
1549
- dateStart?: string;
1550
- /**
1551
- * Unique id of the event
1552
- * @type {string}
1553
- * @memberof EventMetadataApi
1554
- */
1555
- id?: string;
1556
- /**
1557
- * Image URL of the event
1558
- * @type {string}
1559
- * @memberof EventMetadataApi
1560
- */
1561
- imageUrl?: string;
1562
- /**
1563
- * Name of the event
1564
- * @type {string}
1565
- * @memberof EventMetadataApi
1566
- */
1567
- name?: string;
1568
- /**
1569
- * Unique slug of the event
1570
- * @type {string}
1571
- * @memberof EventMetadataApi
1572
- */
1573
- slug?: string;
1574
- }
1575
- /**
1576
- *
1577
- * @export
1578
- * @interface HotelApi
1579
- */
1580
- export interface HotelApi {
1581
- /**
1582
- * Hotel address.
1583
- * @type {string}
1584
- * @memberof HotelApi
1585
- */
1586
- address?: string | null;
1587
- /**
1588
- * Second part of hotel address.
1589
- * @type {string}
1590
- * @memberof HotelApi
1591
- */
1592
- address2?: string | null;
1593
- /**
1594
- *
1595
- * @type {AmenitiesApi}
1596
- * @memberof HotelApi
1597
- */
1598
- amenities?: AmenitiesApi | null;
1599
- /**
1600
- * Check in time of the hotel.
1601
- * @type {string}
1602
- * @memberof HotelApi
1603
- */
1604
- checkInTime?: string | null;
1605
- /**
1606
- * Check out time of the hotel.
1607
- * @type {string}
1608
- * @memberof HotelApi
1609
- */
1610
- checkOutTime?: string | null;
1611
- /**
1612
- * City
1613
- * @type {string}
1614
- * @memberof HotelApi
1615
- */
1616
- city?: string | null;
1617
- /**
1618
- * Country
1619
- * @type {string}
1620
- * @memberof HotelApi
1621
- */
1622
- country?: string | null;
1623
- /**
1624
- * Hotel country code in ISO2.
1625
- * @type {string}
1626
- * @memberof HotelApi
1627
- */
1628
- countryCode?: string | null;
1629
- /**
1630
- *
1631
- * @type {CurrencyClient}
1632
- * @memberof HotelApi
1633
- */
1634
- currency?: CurrencyClient;
1635
- /**
1636
- * Hotel description.
1637
- * @type {string}
1638
- * @memberof HotelApi
1639
- */
1640
- description?: string | null;
1641
- /**
1642
- * Distance from a requested location, expressed in meters
1643
- * @type {number}
1644
- * @memberof HotelApi
1645
- */
1646
- distance?: number | null;
1647
- /**
1648
- * Hotel email.
1649
- * @type {string}
1650
- * @memberof HotelApi
1651
- */
1652
- email?: string | null;
1653
- /**
1654
- * Hotel fax number.
1655
- * @type {string}
1656
- * @memberof HotelApi
1657
- */
1658
- fax?: string | null;
1659
- /**
1660
- * List of hotel images in various sizes featuring an indicator for the primary (hero) image
1661
- * @type {Array<HotelImageApi>}
1662
- * @memberof HotelApi
1663
- */
1664
- hotelImages?: Array<HotelImageApi> | null;
1665
- /**
1666
- * List of meta reviews (category and rating) that are summary of verified reviews collected across the web on the Hotel to help choose the best option.
1667
- * @type {Array<HotelReviewRatingApi>}
1668
- * @memberof HotelApi
1669
- */
1670
- hotelReviewRatings?: Array<HotelReviewRatingApi> | null;
1671
- /**
1672
- * Hotel id.
1673
- * @type {string}
1674
- * @memberof HotelApi
1675
- */
1676
- id: string;
1677
- /**
1678
- *
1679
- * @type {HotelApiImages}
1680
- * @memberof HotelApi
1681
- */
1682
- images?: HotelApiImages | null;
1683
- /**
1684
- * Hotel latitude.
1685
- * @type {number}
1686
- * @memberof HotelApi
1687
- */
1688
- latitude: number;
1689
- /**
1690
- * Hotel longitude.
1691
- * @type {number}
1692
- * @memberof HotelApi
1693
- */
1694
- longitude: number;
1695
- /**
1696
- * Hotel name.
1697
- * @type {string}
1698
- * @memberof HotelApi
1699
- */
1700
- name: string;
1701
- /**
1702
- * Hotel phone number.
1703
- * @type {string}
1704
- * @memberof HotelApi
1705
- */
1706
- phone?: string | null;
1707
- /**
1708
- * Internal policy of the hotel.
1709
- * @type {string}
1710
- * @memberof HotelApi
1711
- */
1712
- policy?: string | null;
1713
- /**
1714
- * Hotel address postal code.
1715
- * @type {string}
1716
- * @memberof HotelApi
1717
- */
1718
- postalCode?: string | null;
1719
- /**
1720
- * Hotel Star rating.
1721
- * @type {number}
1722
- * @memberof HotelApi
1723
- */
1724
- rating?: number | null;
1725
- /**
1726
- * Hotel review count
1727
- * @type {number}
1728
- * @memberof HotelApi
1729
- */
1730
- reviewCount?: number | null;
1731
- /**
1732
- * Hotel address state.
1733
- * @type {string}
1734
- * @memberof HotelApi
1735
- */
1736
- state?: string | null;
1737
- /**
1738
- * TripAdvisor property id. When applicable.
1739
- * @type {string}
1740
- * @memberof HotelApi
1741
- */
1742
- taId?: string | null;
1743
- /**
1744
- * Hotel timezone.
1745
- * @type {string}
1746
- * @memberof HotelApi
1747
- */
1748
- timezone: string;
1749
- /**
1750
- *
1751
- * @type {Array<TravelTimesApi>}
1752
- * @memberof HotelApi
1753
- */
1754
- venues?: Array<TravelTimesApi>;
1755
- /**
1756
- * Hotel website url.
1757
- * @type {string}
1758
- * @memberof HotelApi
1759
- */
1760
- website?: string | null;
1761
- }
1762
- /**
1763
- * 🛑 DEPRECATED - Hotel images details.
1764
- *
1765
- * In order to retrieve a specific image you need to construct the complete URL from the images parameters: **[images.prefix][highres|lowres|thumb]/[index]/[images.suffix]**. If **images.count = n**, then index is in [0...n-1] range.
1766
- *
1767
- * e.g.: https://s3.eu-west-3.amazonaws.com/revolugo/hotels/yhKY/images/highres/0.jpg
1768
- * @export
1769
- * @interface HotelApiImages
1770
- */
1771
- export interface HotelApiImages {
1772
- /**
1773
- * Number of images.
1774
- * @type {number}
1775
- * @memberof HotelApiImages
1776
- */
1777
- count?: number | null;
1778
- /**
1779
- * Whether images exist in highres format.
1780
- * @type {boolean}
1781
- * @memberof HotelApiImages
1782
- */
1783
- highres?: boolean | null;
1784
- /**
1785
- * Whether images exist in lowres format.
1786
- * @type {boolean}
1787
- * @memberof HotelApiImages
1788
- */
1789
- lowres?: boolean | null;
1790
- /**
1791
- * Base URL for the images.
1792
- * @type {string}
1793
- * @memberof HotelApiImages
1794
- */
1795
- prefix?: string | null;
1796
- /**
1797
- * This parameter usually represents the extension of the image (e.g.: .jpg, .png)
1798
- * @type {string}
1799
- * @memberof HotelApiImages
1800
- */
1801
- suffix?: string | null;
1802
- /**
1803
- * Whether images exist in thumb format (for thumbnails preview).
1804
- * @type {boolean}
1805
- * @memberof HotelApiImages
1806
- */
1807
- thumb?: boolean | null;
1808
- }
1809
- /**
1810
- * Hotel image in various sizes.
1811
- * @export
1812
- * @interface HotelImageApi
1813
- */
1814
- export interface HotelImageApi {
1815
- /**
1816
- * Caption of the hotel image.
1817
- * @type {string}
1818
- * @memberof HotelImageApi
1819
- */
1820
- caption?: string | null;
1821
- /**
1822
- * Whether this image is the primary (hero) image of the hotel.
1823
- * @type {boolean}
1824
- * @memberof HotelImageApi
1825
- */
1826
- isHeroImage: boolean;
1827
- /**
1828
- * URL of the large-size image.
1829
- * @type {string}
1830
- * @memberof HotelImageApi
1831
- */
1832
- l: string;
1833
- /**
1834
- * URL of the medium-size image.
1835
- * @type {string}
1836
- * @memberof HotelImageApi
1837
- */
1838
- m: string;
1839
- /**
1840
- * URL of the small-size image.
1841
- * @type {string}
1842
- * @memberof HotelImageApi
1843
- */
1844
- s: string;
1845
- /**
1846
- * URL of the extra-large-size image.
1847
- * @type {string}
1848
- * @memberof HotelImageApi
1849
- */
1850
- xl: string;
1851
- /**
1852
- * URL of the extra-small-size image.
1853
- * @type {string}
1854
- * @memberof HotelImageApi
1855
- */
1856
- xs: string;
1857
- }
1858
- /**
1859
- *
1860
- * @export
1861
- * @interface HotelOfferApi
1862
- */
1863
- export interface HotelOfferApi {
1864
- /**
1865
- * Hotel address.
1866
- * @type {string}
1867
- * @memberof HotelOfferApi
1868
- */
1869
- address?: string | null;
1870
- /**
1871
- * Second part of hotel address.
1872
- * @type {string}
1873
- * @memberof HotelOfferApi
1874
- */
1875
- address2?: string | null;
1876
- /**
1877
- *
1878
- * @type {AmenitiesApi}
1879
- * @memberof HotelOfferApi
1880
- */
1881
- amenities?: AmenitiesApi | null;
1882
- /**
1883
- * Check in time of the hotel.
1884
- * @type {string}
1885
- * @memberof HotelOfferApi
1886
- */
1887
- checkInTime?: string | null;
1888
- /**
1889
- * Check out time of the hotel.
1890
- * @type {string}
1891
- * @memberof HotelOfferApi
1892
- */
1893
- checkOutTime?: string | null;
1894
- /**
1895
- * City
1896
- * @type {string}
1897
- * @memberof HotelOfferApi
1898
- */
1899
- city?: string | null;
1900
- /**
1901
- * Country
1902
- * @type {string}
1903
- * @memberof HotelOfferApi
1904
- */
1905
- country?: string | null;
1906
- /**
1907
- * Hotel country code in ISO2.
1908
- * @type {string}
1909
- * @memberof HotelOfferApi
1910
- */
1911
- countryCode?: string | null;
1912
- /**
1913
- *
1914
- * @type {CurrencyClient}
1915
- * @memberof HotelOfferApi
1916
- */
1917
- currency?: CurrencyClient;
1918
- /**
1919
- * Hotel description.
1920
- * @type {string}
1921
- * @memberof HotelOfferApi
1922
- */
1923
- description?: string | null;
1924
- /**
1925
- * Distance from a requested location, expressed in meters
1926
- * @type {number}
1927
- * @memberof HotelOfferApi
1928
- */
1929
- distance?: number | null;
1930
- /**
1931
- * Hotel email.
1932
- * @type {string}
1933
- * @memberof HotelOfferApi
1934
- */
1935
- email?: string | null;
1936
- /**
1937
- * Hotel fax number.
1938
- * @type {string}
1939
- * @memberof HotelOfferApi
1940
- */
1941
- fax?: string | null;
1942
- /**
1943
- * ⚠️ Cached images of the hotel. May be empty, use the endpoint /hotels/{id}/images to get the latest images.
1944
- *
1945
- * List of hotel images in various sizes featuring an indicator for the primary (hero) image
1946
- * @type {Array<HotelImageApi>}
1947
- * @memberof HotelOfferApi
1948
- */
1949
- hotelImages: Array<HotelImageApi>;
1950
- /**
1951
- * List of meta reviews (category and rating) that are summary of verified reviews collected across the web on the Hotel to help choose the best option.
1952
- * @type {Array<HotelReviewRatingApi>}
1953
- * @memberof HotelOfferApi
1954
- */
1955
- hotelReviewRatings?: Array<HotelReviewRatingApi> | null;
1956
- /**
1957
- * Hotel id.
1958
- * @type {string}
1959
- * @memberof HotelOfferApi
1960
- */
1961
- id: string;
1962
- /**
1963
- *
1964
- * @type {HotelApiImages}
1965
- * @memberof HotelOfferApi
1966
- */
1967
- images?: HotelApiImages | null;
1968
- /**
1969
- * Hotel latitude.
1970
- * @type {number}
1971
- * @memberof HotelOfferApi
1972
- */
1973
- latitude: number;
1974
- /**
1975
- * Hotel longitude.
1976
- * @type {number}
1977
- * @memberof HotelOfferApi
1978
- */
1979
- longitude: number;
1980
- /**
1981
- * Hotel name.
1982
- * @type {string}
1983
- * @memberof HotelOfferApi
1984
- */
1985
- name: string;
1986
- /**
1987
- * Hotel phone number.
1988
- * @type {string}
1989
- * @memberof HotelOfferApi
1990
- */
1991
- phone?: string | null;
1992
- /**
1993
- * Internal policy of the hotel.
1994
- * @type {string}
1995
- * @memberof HotelOfferApi
1996
- */
1997
- policy?: string | null;
1998
- /**
1999
- * Hotel address postal code.
2000
- * @type {string}
2001
- * @memberof HotelOfferApi
2002
- */
2003
- postalCode?: string | null;
2004
- /**
2005
- * Hotel Star rating.
2006
- * @type {number}
2007
- * @memberof HotelOfferApi
2008
- */
2009
- rating?: number | null;
2010
- /**
2011
- * Hotel review count
2012
- * @type {number}
2013
- * @memberof HotelOfferApi
2014
- */
2015
- reviewCount?: number | null;
2016
- /**
2017
- * Hotel address state.
2018
- * @type {string}
2019
- * @memberof HotelOfferApi
2020
- */
2021
- state?: string | null;
2022
- /**
2023
- * TripAdvisor property id. When applicable.
2024
- * @type {string}
2025
- * @memberof HotelOfferApi
2026
- */
2027
- taId?: string | null;
2028
- /**
2029
- * Hotel timezone.
2030
- * @type {string}
2031
- * @memberof HotelOfferApi
2032
- */
2033
- timezone: string;
2034
- /**
2035
- *
2036
- * @type {Array<TravelTimesApi>}
2037
- * @memberof HotelOfferApi
2038
- */
2039
- venues?: Array<TravelTimesApi>;
2040
- /**
2041
- * Hotel website url.
2042
- * @type {string}
2043
- * @memberof HotelOfferApi
2044
- */
2045
- website?: string | null;
2046
- /**
2047
- *
2048
- * @type {Array<HotelRoomOfferApi>}
2049
- * @memberof HotelOfferApi
2050
- */
2051
- hotelRoomOffers: Array<HotelRoomOfferApi>;
2052
- /**
2053
- *
2054
- * @type {Array<TagApi>}
2055
- * @memberof HotelOfferApi
2056
- */
2057
- tags?: Array<TagApi>;
2058
- }
2059
- /**
2060
- *
2061
- * @export
2062
- * @interface HotelOfferApiAllOf
2063
- */
2064
- export interface HotelOfferApiAllOf {
2065
- /**
2066
- * ⚠️ Cached images of the hotel. May be empty, use the endpoint /hotels/{id}/images to get the latest images.
2067
- *
2068
- * List of hotel images in various sizes featuring an indicator for the primary (hero) image
2069
- * @type {Array<HotelImageApi>}
2070
- * @memberof HotelOfferApiAllOf
2071
- */
2072
- hotelImages: Array<HotelImageApi>;
2073
- /**
2074
- *
2075
- * @type {Array<HotelRoomOfferApi>}
2076
- * @memberof HotelOfferApiAllOf
2077
- */
2078
- hotelRoomOffers: Array<HotelRoomOfferApi>;
2079
- /**
2080
- *
2081
- * @type {Array<TagApi>}
2082
- * @memberof HotelOfferApiAllOf
2083
- */
2084
- tags?: Array<TagApi>;
2085
- }
2086
- /**
2087
- *
2088
- * @export
2089
- * @interface HotelOfferRequestApiResponse
2090
- */
2091
- export interface HotelOfferRequestApiResponse {
2092
- /**
2093
- * Formatted address in the case of an hotel offer request created with an address that has been successfully geocoded.
2094
- * @type {string}
2095
- * @memberof HotelOfferRequestApiResponse
2096
- */
2097
- address?: string | null;
2098
- /**
2099
- * The total number of adults who will be staying in the property.
2100
- * @type {number}
2101
- * @memberof HotelOfferRequestApiResponse
2102
- */
2103
- adultCount: number;
2104
- /**
2105
- * Date of check-in formatted as YYYY-MM-DD.
2106
- * @type {string}
2107
- * @memberof HotelOfferRequestApiResponse
2108
- */
2109
- checkInDate: string;
2110
- /**
2111
- * Date of check-out formatted as YYYY-MM-DD.
2112
- * @type {string}
2113
- * @memberof HotelOfferRequestApiResponse
2114
- */
2115
- checkOutDate: string;
2116
- /**
2117
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
2118
- * @type {string}
2119
- * @memberof HotelOfferRequestApiResponse
2120
- */
2121
- children?: string | null;
2122
- /**
2123
- * Date of the **Hotel Room Offer Request** creation
2124
- * @type {string}
2125
- * @memberof HotelOfferRequestApiResponse
2126
- */
2127
- createdAt: string;
2128
- /**
2129
- *
2130
- * @type {EventMetadataApi}
2131
- * @memberof HotelOfferRequestApiResponse
2132
- */
2133
- eventMetadata?: EventMetadataApi | null;
2134
- /**
2135
- * id of the **Hotel Offer Request**
2136
- * @type {string}
2137
- * @memberof HotelOfferRequestApiResponse
2138
- */
2139
- id: string;
2140
- /**
2141
- * Search location latitude.
2142
- *
2143
- * <b style="color: red;"> when no address parameter passed.</b>
2144
- * @type {number}
2145
- * @memberof HotelOfferRequestApiResponse
2146
- */
2147
- latitude: number;
2148
- /**
2149
- * Search location longitude.
2150
- *
2151
- * <b style="color: red;"> when no address parameter passed.</b>
2152
- * @type {number}
2153
- * @memberof HotelOfferRequestApiResponse
2154
- */
2155
- longitude: number;
2156
- /**
2157
- * The total number of rooms requested for the stay. Results may display offers matching a different room count than the requested one, however those results will always provide enough occupancy for the total guest count needed.
2158
- *
2159
- * Constraint: The **room_count** cannot be greater than the requested guest count (adult and children guests) and the minimum **room_count** cannot be less than the total guest count (adult and children guests) divided by 4, meaning that the maximum number of guest in a single room cannot be greeater than 4.
2160
- * @type {number}
2161
- * @memberof HotelOfferRequestApiResponse
2162
- */
2163
- roomCount: number;
2164
- /**
2165
- *
2166
- * @type {SourceMarket}
2167
- * @memberof HotelOfferRequestApiResponse
2168
- */
2169
- sourceMarket: SourceMarket;
2170
- }
2171
- /**
2172
- *
2173
- * @export
2174
- * @interface HotelOfferRequestCreateApi
2175
- */
2176
- export interface HotelOfferRequestCreateApi {
2177
- /**
2178
- * This endpoint allows to find the geo-coordinates of a known address, place or locality via this free-text address query field. This address will eventually be geocoded into a latitude/longitude pair.
2179
- *
2180
- * <b style="color: red;">If address cannot be geocoded (transformed into a latitude/longitude pair) provided **latitude** and **longitude** parameters will be used as fallback.</b>
2181
- * @type {string}
2182
- * @memberof HotelOfferRequestCreateApi
2183
- */
2184
- address?: string | null;
2185
- /**
2186
- * The total number of adults who will be staying in the property.
2187
- * @type {number}
2188
- * @memberof HotelOfferRequestCreateApi
2189
- */
2190
- adultCount: number;
2191
- /**
2192
- * Date of check-in formatted as YYYY-MM-DD.
2193
- * @type {string}
2194
- * @memberof HotelOfferRequestCreateApi
2195
- */
2196
- checkInDate: string;
2197
- /**
2198
- * Date of check-out formatted as YYYY-MM-DD.
2199
- * @type {string}
2200
- * @memberof HotelOfferRequestCreateApi
2201
- */
2202
- checkOutDate: string;
2203
- /**
2204
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
2205
- * @type {string}
2206
- * @memberof HotelOfferRequestCreateApi
2207
- */
2208
- children?: string | null;
2209
- /**
2210
- *
2211
- * @type {EventMetadataApi}
2212
- * @memberof HotelOfferRequestCreateApi
2213
- */
2214
- eventMetadata?: EventMetadataApi | null;
2215
- /**
2216
- * Search location latitude.
2217
- *
2218
- * <b style="color: red;"> when no address parameter passed.</b>
2219
- * @type {number}
2220
- * @memberof HotelOfferRequestCreateApi
2221
- */
2222
- latitude?: number | null;
2223
- /**
2224
- * Search location longitude.
2225
- *
2226
- * <b style="color: red;"> when no address parameter passed.</b>
2227
- * @type {number}
2228
- * @memberof HotelOfferRequestCreateApi
2229
- */
2230
- longitude?: number | null;
2231
- /**
2232
- * The total number of rooms requested for the stay. Results may display offers matching a different room count than the requested one, however those results will always provide enough occupancy for the total guest count needed.
2233
- *
2234
- * Constraint: The **room_count** cannot be greater than the requested guest count (adult and children guests) and the minimum **room_count** cannot be less than the total guest count (adult and children guests) divided by 4, meaning that the maximum number of guest in a single room cannot be greeater than 4.
2235
- * @type {number}
2236
- * @memberof HotelOfferRequestCreateApi
2237
- */
2238
- roomCount: number;
2239
- /**
2240
- *
2241
- * @type {SourceMarket}
2242
- * @memberof HotelOfferRequestCreateApi
2243
- */
2244
- sourceMarket: SourceMarket;
2245
- }
2246
- /**
2247
- *
2248
- * @export
2249
- * @interface HotelOffersApiResponse
2250
- */
2251
- export interface HotelOffersApiResponse {
2252
- /**
2253
- *
2254
- * @type {HotelOffersDataApiResponse}
2255
- * @memberof HotelOffersApiResponse
2256
- */
2257
- data: HotelOffersDataApiResponse;
2258
- /**
2259
- *
2260
- * @type {any}
2261
- * @memberof HotelOffersApiResponse
2262
- */
2263
- event?: any | null;
2264
- /**
2265
- *
2266
- * @type {HotelOffersApiResponseMeta}
2267
- * @memberof HotelOffersApiResponse
2268
- */
2269
- meta: HotelOffersApiResponseMeta;
2270
- }
2271
- /**
2272
- * Meta information about the response list, such as pagination cursors or status.
2273
- * @export
2274
- * @interface HotelOffersApiResponseMeta
2275
- */
2276
- export interface HotelOffersApiResponseMeta {
2277
- /**
2278
- * 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.
2279
- * @type {string}
2280
- * @memberof HotelOffersApiResponseMeta
2281
- */
2282
- endingBefore?: string | null;
2283
- /**
2284
- * A limit on the number of object to be returned.
2285
- * @type {number}
2286
- * @memberof HotelOffersApiResponseMeta
2287
- */
2288
- limit?: number;
2289
- /**
2290
- * 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.
2291
- * @type {string}
2292
- * @memberof HotelOffersApiResponseMeta
2293
- */
2294
- startingAfter?: string | null;
2295
- /**
2296
- *
2297
- * @type {number}
2298
- * @memberof HotelOffersApiResponseMeta
2299
- */
2300
- totalCount: number;
2301
- /**
2302
- *
2303
- * @type {PollerStatus}
2304
- * @memberof HotelOffersApiResponseMeta
2305
- */
2306
- status: PollerStatus;
2307
- }
2308
- /**
2309
- *
2310
- * @export
2311
- * @interface HotelOffersApiResponseMetaAllOf
2312
- */
2313
- export interface HotelOffersApiResponseMetaAllOf {
2314
- /**
2315
- *
2316
- * @type {number}
2317
- * @memberof HotelOffersApiResponseMetaAllOf
2318
- */
2319
- totalCount: number;
2320
- }
2321
- /**
2322
- *
2323
- * @export
2324
- * @interface HotelOffersDataApiResponse
2325
- */
2326
- export interface HotelOffersDataApiResponse {
2327
- /**
2328
- * The total number of adults who will be staying in the property.
2329
- * @type {number}
2330
- * @memberof HotelOffersDataApiResponse
2331
- */
2332
- adultCount: number;
2333
- /**
2334
- * Date of check-in formatted as YYYY-MM-DD.
2335
- * @type {string}
2336
- * @memberof HotelOffersDataApiResponse
2337
- */
2338
- checkInDate: string;
2339
- /**
2340
- * Date of check-out formatted as YYYY-MM-DD.
2341
- * @type {string}
2342
- * @memberof HotelOffersDataApiResponse
2343
- */
2344
- checkOutDate: string;
2345
- /**
2346
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
2347
- * @type {string}
2348
- * @memberof HotelOffersDataApiResponse
2349
- */
2350
- children?: string | null;
2351
- /**
2352
- *
2353
- * @type {CurrencyClient}
2354
- * @memberof HotelOffersDataApiResponse
2355
- */
2356
- currency: CurrencyClient;
2357
- /**
2358
- * List of Hotel Offers
2359
- * @type {Array<HotelOfferApi>}
2360
- * @memberof HotelOffersDataApiResponse
2361
- */
2362
- hotelOffers: Array<HotelOfferApi>;
2363
- /**
2364
- * **Hotel Offers** price histogram dataset based on the price of the cheapest **Hotel Room Offer** included on each **Hotel Offer** returned. It represents the number of available **Hotel Offers** grouped by price sorted ascendingly. Each item of the list represents a price step based on returned **price_min**, **price_max** and requested **price_histogram_step_count**
2365
- * @type {Array<number>}
2366
- * @memberof HotelOffersDataApiResponse
2367
- */
2368
- priceHistogram?: Array<number> | null;
2369
- /**
2370
- * Maximum price of available returned **Hotel Offers**
2371
- * @type {number}
2372
- * @memberof HotelOffersDataApiResponse
2373
- */
2374
- priceMax?: number | null;
2375
- /**
2376
- * Minimum price of available returned **Hotel Offers**
2377
- * @type {number}
2378
- * @memberof HotelOffersDataApiResponse
2379
- */
2380
- priceMin?: number | null;
2381
- }
2382
- /**
2383
- * Review rating with category collected for the Hotel.
2384
- * @export
2385
- * @interface HotelReviewRatingApi
2386
- */
2387
- export interface HotelReviewRatingApi {
2388
- /**
2389
- * Category of the collected reviews for the Hotel.
2390
- * @type {string}
2391
- * @memberof HotelReviewRatingApi
2392
- */
2393
- category?: string | null;
2394
- /**
2395
- * Rating of the collected review for the Hotel.
2396
- * @type {number}
2397
- * @memberof HotelReviewRatingApi
2398
- */
2399
- rating: number;
2400
- }
2401
- /**
2402
- * Hotel Room details.
2403
- * @export
2404
- * @interface HotelRoomApi
2405
- */
2406
- export interface HotelRoomApi {
2407
- /**
2408
- * List of amenities in the room. May be subject to changes at the Hotel.
2409
- * @type {Array<string>}
2410
- * @memberof HotelRoomApi
2411
- */
2412
- amenities?: Array<string> | null;
2413
- /**
2414
- * Beds list.
2415
- * Each nested array of beds represents a single combination of possible beds.
2416
- * e.g.: The following object represents **1 double bed or 1 sofa bed and 1 double bed or 1 single bed**:
2417
- * ```
2418
- * [
2419
- * [
2420
- * { count: 1, name: 'double', occupancy: 2 },
2421
- * { count: 1, name: 'sofa', occupancy: 1 }
2422
- * ],
2423
- * [
2424
- * { count: 1, name: 'double', occupancy: 2 },
2425
- * { count: 1, name: 'single', occupancy: 1 }
2426
- * ]
2427
- * ]
2428
- * ```
2429
- * @type {Array<Array<BedApi>>}
2430
- * @memberof HotelRoomApi
2431
- */
2432
- beds: Array<Array<BedApi>>;
2433
- /**
2434
- * Prettified and localized list of beds
2435
- * @type {string}
2436
- * @memberof HotelRoomApi
2437
- */
2438
- bedsPretty: string;
2439
- /**
2440
- * Hotel Room count included in the Hotel Room Offer.
2441
- * @type {number}
2442
- * @memberof HotelRoomApi
2443
- */
2444
- count: number;
2445
- /**
2446
- * Hotel Room description.
2447
- * @type {string}
2448
- * @memberof HotelRoomApi
2449
- */
2450
- description: string;
2451
- /**
2452
- * Whether high resolution images are available.
2453
- * @type {boolean}
2454
- * @memberof HotelRoomApi
2455
- */
2456
- highresImages?: boolean | null;
2457
- /**
2458
- * Hotel Room id, when applicable.
2459
- * @type {string}
2460
- * @memberof HotelRoomApi
2461
- */
2462
- id: string;
2463
- /**
2464
- * List of indexes corresponding to image names for the given Hotel Room among the related hotel images.
2465
- * @type {Array<number>}
2466
- * @memberof HotelRoomApi
2467
- */
2468
- imageIndexes?: Array<number> | null;
2469
- /**
2470
- * Hotel Room images.
2471
- * @type {Array<HotelImageApi>}
2472
- * @memberof HotelRoomApi
2473
- */
2474
- images?: Array<HotelImageApi> | null;
2475
- /**
2476
- * Whether low resolution images are available.
2477
- * @type {boolean}
2478
- * @memberof HotelRoomApi
2479
- */
2480
- lowresImages?: boolean | null;
2481
- /**
2482
- * Total occupancy of a single hotel room.
2483
- * @type {number}
2484
- * @memberof HotelRoomApi
2485
- */
2486
- occupancy: number;
2487
- /**
2488
- * Rich Hotel Room description. May contain HTML tags markup.
2489
- * @type {string}
2490
- * @memberof HotelRoomApi
2491
- */
2492
- richDescription?: string | null;
2493
- /**
2494
- * Room surface in square feet. May be subject to changes at the Hotel.
2495
- * @type {number}
2496
- * @memberof HotelRoomApi
2497
- */
2498
- roomSquareFeet?: number | null;
2499
- /**
2500
- * Room surface in square meters. May be subject to changes at the Hotel.
2501
- * @type {number}
2502
- * @memberof HotelRoomApi
2503
- */
2504
- roomSquareMeters?: number | null;
2505
- /**
2506
- * Whether thumb resolution images are available (in order to display them as image carousel navigation for instance).
2507
- * @type {boolean}
2508
- * @memberof HotelRoomApi
2509
- */
2510
- thumbImages?: boolean | null;
2511
- }
2512
- /**
2513
- * Description of the Hotel Room Offer.
2514
- * @export
2515
- * @interface HotelRoomOfferApi
2516
- */
2517
- export interface HotelRoomOfferApi {
2518
- /**
2519
- * Quantity of breakfast per night included in the given **Hotel Room Offer**
2520
- * @type {number}
2521
- * @memberof HotelRoomOfferApi
2522
- */
2523
- breakfastCount?: number | null;
2524
- /**
2525
- * This parameter describes the breakfast option for the given **Hotel Room Offer**:
2526
- * - **breakfast_option = "INCLUDED"**:
2527
- * 1. When **HotelRoomOffer.type = "PACKAGE"**:
2528
- * the returned **Hotel Room Offer** includes breakfast for the requested **guest count (adult_count + children over 3)**, you cannot choose otherwise, and the returned **price** already includes it,
2529
- * 2. When **HotelRoomOffer.type = "HOTEL_ROOM"**:
2530
- * the returned **Hotel Room Offer** includes breakfast for the **Hotel Room Offer** maximum occupancy, you cannot choose otherwise, and the returned **price** already includes it,
2531
- * -**breakfast_option = "OPTIONAL"**: the returned **Hotel Room Offer** does not include by default the breakfast and so does the returned **price**, but you'll be able to let your customers choose to add it to their booking. In that case, a **breakfast_price_per_guest_per_night** expressed in the requested **currency** will be available in the returned data, and you'll be to perform one of the two following actions:
2532
- * - Call **[Create Hotel Room Offer endpoint](/v1/documentation#operation/postV1Hotel_room_offers)** and get a fresh **Hotel Room Offer** with updated price
2533
- * - Compute and display the total price of the **Hotel Room Offer** related to the guest_count and night count requested including extra breafasts.,
2534
- * - **breakfast_option = "NOT_INCLUDED"**: the returned **Hotel Room Offer** does not include breakfast and you cannot choose otherwise through API. Guest may still be able to add extra breakfast option(s) at the time of check-in directly at the hotel's reception.
2535
- * @type {string}
2536
- * @memberof HotelRoomOfferApi
2537
- */
2538
- breakfastOption: HotelRoomOfferApiBreakfastOptionEnum;
2539
- /**
2540
- * Price of breakfast per guest per night for the given **Hotel Room Offer**, expressed in the requested **currency**, when applicable.
2541
- *
2542
- * <div style="background-color: #ffffef; padding: 20px; border: 1px solid lightgrey; border-radius: 5px;"><b style="color: red; margin-top: 10px;">🛑 DEPRECATED.</b>
2543
- *
2544
- * <b style="color: orange;">Field renamed to "breakfast_unit_price"</div>
2545
- * @type {number}
2546
- * @memberof HotelRoomOfferApi
2547
- */
2548
- breakfastPricePerGuestPerNight?: number | null;
2549
- /**
2550
- * Price of breakfast per guest per night for the given **Hotel Room Offer**, expressed in the requested **currency**, when applicable.
2551
- * @type {number}
2552
- * @memberof HotelRoomOfferApi
2553
- */
2554
- breakfastUnitPrice?: number | null;
2555
- /**
2556
- * The list of cancellation policies applied to the given **Hotel Room Offer**.
2557
- * @type {Array<CancellationPolicyApi>}
2558
- * @memberof HotelRoomOfferApi
2559
- */
2560
- cancellationPolicies: Array<CancellationPolicyApi>;
2561
- /**
2562
- * When **type = HOTEL_ROOM**: this parameters represents the available quantity for the given **Hotel Room Offer**.
2563
- * When **type = PACKAGE**: count = 1 always.
2564
- * @type {number}
2565
- * @memberof HotelRoomOfferApi
2566
- */
2567
- count?: number | null;
2568
- /**
2569
- *
2570
- * @type {CurrencyClient}
2571
- * @memberof HotelRoomOfferApi
2572
- */
2573
- currency: CurrencyClient;
2574
- /**
2575
- * id of the associated Hotel.
2576
- * @type {string}
2577
- * @memberof HotelRoomOfferApi
2578
- */
2579
- hotelId: string;
2580
- /**
2581
- * List of Hotel Rooms included in the Hotel Room Offer.
2582
- * @type {Array<HotelRoomApi>}
2583
- * @memberof HotelRoomOfferApi
2584
- */
2585
- hotelRooms: Array<HotelRoomApi>;
2586
- /**
2587
- * Hotel Room Offer id.
2588
- * @type {string}
2589
- * @memberof HotelRoomOfferApi
2590
- */
2591
- id?: string;
2592
- /**
2593
- * An **Hotel Room Offer** of type **PACKAGE** can be of **4 types**, described by **package_type** parameter:
2594
- *
2595
- * - **CHEAPEST** : The cheapest combination of hotel rooms that can accommodate the requested guest count. Note that it may not match the requested room count (e.g., 4 guests and 2 rooms requested may return an hotel room package including only 1 room with an occupancy of 4).
2596
- *
2597
- * -**MATCHING_ROOM_COUNT** : the cheapest hotel room package that can accommodate the given guest count and that matches exactly the room count given.
2598
- *
2599
- * -**BEST_MATCH** : The cheapest hotel room package that matches the given room and guest count with a balanced distribution of guests across the rooms (e.g.; 8 guests and 3 rooms requested may return an **Hotel Room Offer** package including 2 rooms with an occupancy of 3 on each one and 1 room with an occupancy of 2).
2600
- *
2601
- * -**REGULAR** : any other available package.
2602
- * @type {string}
2603
- * @memberof HotelRoomOfferApi
2604
- */
2605
- packageType?: HotelRoomOfferApiPackageTypeEnum;
2606
- /**
2607
- * Price with taxes NOT INCLUDED of the given **Hotel Room Offer** including breakfast(s) when applicable, expressed in the requested **currency**.
2608
- * @type {number}
2609
- * @memberof HotelRoomOfferApi
2610
- */
2611
- price: number;
2612
- /**
2613
- *
2614
- * @type {SourceMarket}
2615
- * @memberof HotelRoomOfferApi
2616
- */
2617
- sourceMarket: SourceMarket;
2618
- /**
2619
- * Either INCLUDED, NOT_INCLUDED or UNKNOWN
2620
- * @type {string}
2621
- * @memberof HotelRoomOfferApi
2622
- */
2623
- stayTaxesInfo: HotelRoomOfferApiStayTaxesInfoEnum;
2624
- /**
2625
- *
2626
- * @type {Array<TagApi>}
2627
- * @memberof HotelRoomOfferApi
2628
- */
2629
- tags?: Array<TagApi>;
2630
- /**
2631
- * Price of the given **Hotel Room Offer** including breakfast(s) when applicable, and including all taxes from returned **taxes** list parameter expressed in the requested **currency**.
2632
- *
2633
- * This data is not returned for a **Hotel Room Offer** of type **HOTEL_ROOM**, you'll need to compute and display the actual tax included price of the final **Hotel Room** package corresponding to the guest count and night count requested, or make a call to the **[Create Hotel Room Offer](/v1/documentation#operation/postV1Hotel_room_offers)** endpoint in order to get a valid and bookable **Hotel Room Offer** where **type = PACKAGE** based on a packaged list of **Hotel Room Offers** of type **HOTEL_ROOM**.
2634
- * @type {number}
2635
- * @memberof HotelRoomOfferApi
2636
- */
2637
- taxIncludedPrice: number;
2638
- /**
2639
- *
2640
- * @type {Array<TaxApi>}
2641
- * @memberof HotelRoomOfferApi
2642
- */
2643
- taxes?: Array<TaxApi>;
2644
- /**
2645
- * Hotel Room Offer type.
2646
- *
2647
- * **Hotel Room Offers** with **type = "PACKAGE"** are **Hotel Room Offers** that are already bookable and you'll be able to follow the next step of the **Booking Flow** calling **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**.
2648
- *
2649
- * Otherwise, you'll be able to create a new **Hotel Room Offer** with **type = "PACKAGE"** from multiple **Hotel Room Offers** with **type = "HOTEL_ROOM"**. See **[Create Hotel Room Offer endpoint](/v1/documentation#operation/postV1Hotel_room_offers)** for details.
2650
- * @type {string}
2651
- * @memberof HotelRoomOfferApi
2652
- */
2653
- type?: HotelRoomOfferApiTypeEnum;
2654
- }
2655
- /**
2656
- * @export
2657
- */
2658
- export declare const HotelRoomOfferApiBreakfastOptionEnum: {
2659
- readonly Included: "INCLUDED";
2660
- readonly NotIncluded: "NOT_INCLUDED";
2661
- readonly Optional: "OPTIONAL";
2662
- };
2663
- export type HotelRoomOfferApiBreakfastOptionEnum = typeof HotelRoomOfferApiBreakfastOptionEnum[keyof typeof HotelRoomOfferApiBreakfastOptionEnum];
2664
- /**
2665
- * @export
2666
- */
2667
- export declare const HotelRoomOfferApiPackageTypeEnum: {
2668
- readonly BestMatch: "BEST_MATCH";
2669
- readonly Cheapest: "CHEAPEST";
2670
- readonly MatchingRoomCount: "MATCHING_ROOM_COUNT";
2671
- readonly Regular: "REGULAR";
2672
- };
2673
- export type HotelRoomOfferApiPackageTypeEnum = typeof HotelRoomOfferApiPackageTypeEnum[keyof typeof HotelRoomOfferApiPackageTypeEnum];
2674
- /**
2675
- * @export
2676
- */
2677
- export declare const HotelRoomOfferApiStayTaxesInfoEnum: {
2678
- readonly Included: "included";
2679
- readonly NotIncluded: "not_included";
2680
- readonly Unknown: "unknown";
2681
- };
2682
- export type HotelRoomOfferApiStayTaxesInfoEnum = typeof HotelRoomOfferApiStayTaxesInfoEnum[keyof typeof HotelRoomOfferApiStayTaxesInfoEnum];
2683
- /**
2684
- * @export
2685
- */
2686
- export declare const HotelRoomOfferApiTypeEnum: {
2687
- readonly HotelRoom: "HOTEL_ROOM";
2688
- readonly Package: "PACKAGE";
2689
- };
2690
- export type HotelRoomOfferApiTypeEnum = typeof HotelRoomOfferApiTypeEnum[keyof typeof HotelRoomOfferApiTypeEnum];
2691
- /**
2692
- *
2693
- * @export
2694
- * @interface HotelRoomOfferApiResponse
2695
- */
2696
- export interface HotelRoomOfferApiResponse {
2697
- /**
2698
- * The total number of adults who will be staying in the property.
2699
- * @type {number}
2700
- * @memberof HotelRoomOfferApiResponse
2701
- */
2702
- adultCount: number;
2703
- /**
2704
- * Date of check-in formatted as YYYY-MM-DD.
2705
- * @type {string}
2706
- * @memberof HotelRoomOfferApiResponse
2707
- */
2708
- checkInDate: string;
2709
- /**
2710
- * Date of check-out formatted as YYYY-MM-DD.
2711
- * @type {string}
2712
- * @memberof HotelRoomOfferApiResponse
2713
- */
2714
- checkOutDate: string;
2715
- /**
2716
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
2717
- * @type {string}
2718
- * @memberof HotelRoomOfferApiResponse
2719
- */
2720
- children?: string | null;
2721
- /**
2722
- *
2723
- * @type {CurrencyClient}
2724
- * @memberof HotelRoomOfferApiResponse
2725
- */
2726
- currency: CurrencyClient;
2727
- /**
2728
- * Hotel id
2729
- * @type {string}
2730
- * @memberof HotelRoomOfferApiResponse
2731
- */
2732
- hotelId: string;
2733
- /**
2734
- *
2735
- * @type {HotelRoomOfferApi}
2736
- * @memberof HotelRoomOfferApiResponse
2737
- */
2738
- hotelRoomOffer: HotelRoomOfferApi;
2739
- }
2740
- /**
2741
- *
2742
- * @export
2743
- * @interface HotelRoomOfferRequestApiResponse
2744
- */
2745
- export interface HotelRoomOfferRequestApiResponse {
2746
- /**
2747
- * Requested number of adult(s) to be accommodated.
2748
- * @type {number}
2749
- * @memberof HotelRoomOfferRequestApiResponse
2750
- */
2751
- adultCount: number;
2752
- /**
2753
- * Check-in date formatted as `YYYY-MM-DD`.
2754
- * @type {string}
2755
- * @memberof HotelRoomOfferRequestApiResponse
2756
- */
2757
- checkInDate: string;
2758
- /**
2759
- * Check-out date formatted as `YYYY-MM-DD`.
2760
- * @type {string}
2761
- * @memberof HotelRoomOfferRequestApiResponse
2762
- */
2763
- checkOutDate: string;
2764
- /**
2765
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
2766
- * @type {string}
2767
- * @memberof HotelRoomOfferRequestApiResponse
2768
- */
2769
- children?: string | null;
2770
- /**
2771
- *
2772
- * @type {EventMetadataApi}
2773
- * @memberof HotelRoomOfferRequestApiResponse
2774
- */
2775
- eventMetadata?: EventMetadataApi | null;
2776
- /**
2777
- * id of requested hotel
2778
- * @type {string}
2779
- * @memberof HotelRoomOfferRequestApiResponse
2780
- */
2781
- hotelId: string;
2782
- /**
2783
- * Number of room(s) requested. Results may display offers matching a different room count than the requested one, however those results will always provide enough occupancy for the total guest count needed.
2784
- * @type {number}
2785
- * @memberof HotelRoomOfferRequestApiResponse
2786
- */
2787
- roomCount: number;
2788
- /**
2789
- *
2790
- * @type {SourceMarket}
2791
- * @memberof HotelRoomOfferRequestApiResponse
2792
- */
2793
- sourceMarket: SourceMarket;
2794
- /**
2795
- * Date of the **Hotel Room Offer Request** creation
2796
- * @type {string}
2797
- * @memberof HotelRoomOfferRequestApiResponse
2798
- */
2799
- createdAt: string;
2800
- /**
2801
- * id of the **Hotel Room Offer Request**
2802
- * @type {string}
2803
- * @memberof HotelRoomOfferRequestApiResponse
2804
- */
2805
- id: string;
2806
- }
2807
- /**
2808
- *
2809
- * @export
2810
- * @interface HotelRoomOfferRequestApiResponseAllOf
2811
- */
2812
- export interface HotelRoomOfferRequestApiResponseAllOf {
2813
- /**
2814
- * Requested number of adult(s) to be accommodated.
2815
- * @type {number}
2816
- * @memberof HotelRoomOfferRequestApiResponseAllOf
2817
- */
2818
- adultCount: number;
2819
- /**
2820
- * Check-in date formatted as `YYYY-MM-DD`.
2821
- * @type {string}
2822
- * @memberof HotelRoomOfferRequestApiResponseAllOf
2823
- */
2824
- checkInDate: string;
2825
- /**
2826
- * Check-out date formatted as `YYYY-MM-DD`.
2827
- * @type {string}
2828
- * @memberof HotelRoomOfferRequestApiResponseAllOf
2829
- */
2830
- checkOutDate: string;
2831
- /**
2832
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
2833
- * @type {string}
2834
- * @memberof HotelRoomOfferRequestApiResponseAllOf
2835
- */
2836
- children?: string | null;
2837
- /**
2838
- *
2839
- * @type {EventMetadataApi}
2840
- * @memberof HotelRoomOfferRequestApiResponseAllOf
2841
- */
2842
- eventMetadata?: EventMetadataApi | null;
2843
- /**
2844
- * id of requested hotel
2845
- * @type {string}
2846
- * @memberof HotelRoomOfferRequestApiResponseAllOf
2847
- */
2848
- hotelId: string;
2849
- /**
2850
- * Number of room(s) requested. Results may display offers matching a different room count than the requested one, however those results will always provide enough occupancy for the total guest count needed.
2851
- * @type {number}
2852
- * @memberof HotelRoomOfferRequestApiResponseAllOf
2853
- */
2854
- roomCount: number;
2855
- /**
2856
- *
2857
- * @type {SourceMarket}
2858
- * @memberof HotelRoomOfferRequestApiResponseAllOf
2859
- */
2860
- sourceMarket: SourceMarket;
2861
- }
2862
- /**
2863
- *
2864
- * @export
2865
- * @interface HotelRoomOfferRequestApiResponseAllOf1
2866
- */
2867
- export interface HotelRoomOfferRequestApiResponseAllOf1 {
2868
- /**
2869
- * Date of the **Hotel Room Offer Request** creation
2870
- * @type {string}
2871
- * @memberof HotelRoomOfferRequestApiResponseAllOf1
2872
- */
2873
- createdAt: string;
2874
- /**
2875
- * id of the **Hotel Room Offer Request**
2876
- * @type {string}
2877
- * @memberof HotelRoomOfferRequestApiResponseAllOf1
2878
- */
2879
- id: string;
2880
- }
2881
- /**
2882
- *
2883
- * @export
2884
- * @interface HotelRoomOfferRequestCreateApi
2885
- */
2886
- export interface HotelRoomOfferRequestCreateApi {
2887
- /**
2888
- * Requested number of adult(s) to be accommodated.
2889
- * @type {number}
2890
- * @memberof HotelRoomOfferRequestCreateApi
2891
- */
2892
- adultCount: number;
2893
- /**
2894
- * Check-in date formatted as `YYYY-MM-DD`.
2895
- * @type {string}
2896
- * @memberof HotelRoomOfferRequestCreateApi
2897
- */
2898
- checkInDate: string;
2899
- /**
2900
- * Check-out date formatted as `YYYY-MM-DD`.
2901
- * @type {string}
2902
- * @memberof HotelRoomOfferRequestCreateApi
2903
- */
2904
- checkOutDate: string;
2905
- /**
2906
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
2907
- * @type {string}
2908
- * @memberof HotelRoomOfferRequestCreateApi
2909
- */
2910
- children?: string | null;
2911
- /**
2912
- *
2913
- * @type {EventMetadataApi}
2914
- * @memberof HotelRoomOfferRequestCreateApi
2915
- */
2916
- eventMetadata?: EventMetadataApi | null;
2917
- /**
2918
- * id of requested hotel
2919
- * @type {string}
2920
- * @memberof HotelRoomOfferRequestCreateApi
2921
- */
2922
- hotelId: string;
2923
- /**
2924
- * Number of room(s) requested. Results may display offers matching a different room count than the requested one, however those results will always provide enough occupancy for the total guest count needed.
2925
- * @type {number}
2926
- * @memberof HotelRoomOfferRequestCreateApi
2927
- */
2928
- roomCount: number;
2929
- /**
2930
- *
2931
- * @type {SourceMarket}
2932
- * @memberof HotelRoomOfferRequestCreateApi
2933
- */
2934
- sourceMarket: SourceMarket;
2935
- }
2936
- /**
2937
- *
2938
- * @export
2939
- * @interface HotelRoomOffersApiResponse
2940
- */
2941
- export interface HotelRoomOffersApiResponse {
2942
- /**
2943
- *
2944
- * @type {HotelRoomOffersDataApiResponse}
2945
- * @memberof HotelRoomOffersApiResponse
2946
- */
2947
- data: HotelRoomOffersDataApiResponse;
2948
- /**
2949
- *
2950
- * @type {any}
2951
- * @memberof HotelRoomOffersApiResponse
2952
- */
2953
- event?: any | null;
2954
- /**
2955
- *
2956
- * @type {MetaPollingResponseApi}
2957
- * @memberof HotelRoomOffersApiResponse
2958
- */
2959
- meta: MetaPollingResponseApi;
2960
- }
2961
- /**
2962
- *
2963
- * @export
2964
- * @interface HotelRoomOffersCreateApi
2965
- */
2966
- export interface HotelRoomOffersCreateApi {
2967
- /**
2968
- * This parameter allows to add breakfast to the booking as long as every requested Hotel Room Offers **breakfast_option = OPTIONAL** .
2969
- *
2970
- * The final breakfast count that will be included in the Hotel Room Offer will be returned in the response and is calculated as follows:
2971
- *
2972
- * - If the returned Hotel Room Offer **total room count** > **hotel_room_offer_request.adult_count** then **breakfast_count** will be equal to the **total room count** of the returned Hotel Room Offer,
2973
- *
2974
- * - Otherwise **breakfast_count** will be equal to the minimum value between related **hotel_room_offer_request.adult_count** and returned Hotel Room Offer **total occupancy**.
2975
- *
2976
- * <div style="background-color: #ffffef; padding: 20px; border: 1px solid lightgrey; border-radius: 5px;"><b style="color: red; margin-top: 10px;">🛑 DEPRECATED.</b>
2977
- *
2978
- * <b style="color: orange;">If you already use this field, don't worry as we still support it with the following behaviour:</b>
2979
- * - <span style="color: orange;">When **add_breakfast = true** then **breakfast_count = MIN(guest count, total offer occupancy)** where **guest count** is the total number of adult and children over 3.</span>
2980
- * - <span style="color: orange;">Otherwise **breakfast_count = 0**.</span></div>
2981
- * @type {boolean}
2982
- * @memberof HotelRoomOffersCreateApi
2983
- */
2984
- addBreakfast?: boolean | null;
2985
- /**
2986
- * This parameter describes the quantity of breakfast / night that should be included in the **Booking**. When **breakfast_option = OPTIONAL**, valid **breakfast_count** lower bound is **room count** and upper bound is **guest count**, where **guest count** is the number of adult and children over 3.
2987
- *
2988
- * ⚠️ The actual breakfast count that will be included in the **Booking** is the one that is returned in the response of this endpoint and might be different from this **breakfast_count** paramater in some cases. Please, make sure to check the actual breakfast count included in the **Hotel Room Offer** returned in the response of this endpoint.
2989
- * @type {number}
2990
- * @memberof HotelRoomOffersCreateApi
2991
- */
2992
- breakfastCount?: number;
2993
- /**
2994
- *
2995
- * @type {CurrencyClient}
2996
- * @memberof HotelRoomOffersCreateApi
2997
- */
2998
- currency: CurrencyClient;
2999
- /**
3000
- *
3001
- * @type {Array<HotelRoomOffersDataCreateApi>}
3002
- * @memberof HotelRoomOffersCreateApi
3003
- */
3004
- hotelRoomOffers: Array<HotelRoomOffersDataCreateApi>;
3005
- /**
3006
- *
3007
- * @type {Locale}
3008
- * @memberof HotelRoomOffersCreateApi
3009
- */
3010
- lang?: Locale | null;
3011
- }
3012
- /**
3013
- *
3014
- * @export
3015
- * @interface HotelRoomOffersDataApiResponse
3016
- */
3017
- export interface HotelRoomOffersDataApiResponse {
3018
- /**
3019
- * The total number of adults who will be staying in the property.
3020
- * @type {number}
3021
- * @memberof HotelRoomOffersDataApiResponse
3022
- */
3023
- adultCount: number;
3024
- /**
3025
- * Date of check-in formatted as YYYY-MM-DD.
3026
- * @type {string}
3027
- * @memberof HotelRoomOffersDataApiResponse
3028
- */
3029
- checkInDate: string;
3030
- /**
3031
- * Date of check-out formatted as YYYY-MM-DD.
3032
- * @type {string}
3033
- * @memberof HotelRoomOffersDataApiResponse
3034
- */
3035
- checkOutDate: string;
3036
- /**
3037
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
3038
- * @type {string}
3039
- * @memberof HotelRoomOffersDataApiResponse
3040
- */
3041
- children?: string | null;
3042
- /**
3043
- *
3044
- * @type {CurrencyClient}
3045
- * @memberof HotelRoomOffersDataApiResponse
3046
- */
3047
- currency: CurrencyClient;
3048
- /**
3049
- * Hotel id
3050
- * @type {string}
3051
- * @memberof HotelRoomOffersDataApiResponse
3052
- */
3053
- hotelId: string;
3054
- /**
3055
- * List of **Hotel Room Offers** sorted by price ascending.
3056
- * @type {Array<HotelRoomOfferApi>}
3057
- * @memberof HotelRoomOffersDataApiResponse
3058
- */
3059
- hotelRoomOffers: Array<HotelRoomOfferApi>;
3060
- /**
3061
- * Hotel timezone
3062
- * @type {string}
3063
- * @memberof HotelRoomOffersDataApiResponse
3064
- */
3065
- hotelTimezone: string;
3066
- }
3067
- /**
3068
- *
3069
- * @export
3070
- * @interface HotelRoomOffersDataCreateApi
3071
- */
3072
- export interface HotelRoomOffersDataCreateApi {
3073
- /**
3074
- * Quantity of breakfast per night included in the given **Hotel Room Offer**
3075
- * @type {number}
3076
- * @memberof HotelRoomOffersDataCreateApi
3077
- */
3078
- breakfastCount?: number | null;
3079
- /**
3080
- * <TODO>
3081
- * @type {number}
3082
- * @memberof HotelRoomOffersDataCreateApi
3083
- */
3084
- count: number;
3085
- /**
3086
- * Id of requested **Hotel Room Offer** returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers). Requested **Hotel Room Offer** must be of **type = HOTEL_ROOM** or a single **Hotel Room Offer** of **type = PACKAGE**
3087
- * @type {string}
3088
- * @memberof HotelRoomOffersDataCreateApi
3089
- */
3090
- hotelRoomOfferId: string;
3091
- }
3092
- /**
3093
- * Hotel rooming list of a hotel booking
3094
- * @export
3095
- * @interface HotelRoomingListApi
3096
- */
3097
- export interface HotelRoomingListApi {
3098
- /**
3099
- *
3100
- * @type {HotelRoomingListApiHotelRoom}
3101
- * @memberof HotelRoomingListApi
3102
- */
3103
- hotelRoom?: HotelRoomingListApiHotelRoom;
3104
- /**
3105
- *
3106
- * @type {string}
3107
- * @memberof HotelRoomingListApi
3108
- */
3109
- hotelRoomId: string;
3110
- /**
3111
- * Guests of a hotel rooming list
3112
- * @type {Array<HotelRoomingListGuestApi>}
3113
- * @memberof HotelRoomingListApi
3114
- */
3115
- hotelRoomingListGuests: Array<HotelRoomingListGuestApi>;
3116
- /**
3117
- *
3118
- * @type {string}
3119
- * @memberof HotelRoomingListApi
3120
- */
3121
- id: string;
3122
- /**
3123
- *
3124
- * @type {string}
3125
- * @memberof HotelRoomingListApi
3126
- */
3127
- limitDate?: string | null;
3128
- }
3129
- /**
3130
- *
3131
- * @export
3132
- * @interface HotelRoomingListApiHotelRoom
3133
- */
3134
- export interface HotelRoomingListApiHotelRoom {
3135
- /**
3136
- * List of amenities in the room. May be subject to changes at the Hotel.
3137
- * @type {Array<string>}
3138
- * @memberof HotelRoomingListApiHotelRoom
3139
- */
3140
- amenities?: Array<string> | null;
3141
- /**
3142
- * Beds list.
3143
- * Each nested array of beds represents a single combination of possible beds.
3144
- * e.g.: The following object represents **1 double bed or 1 sofa bed and 1 double bed or 1 single bed**:
3145
- * ```
3146
- * [
3147
- * [
3148
- * { count: 1, name: 'double', occupancy: 2 },
3149
- * { count: 1, name: 'sofa', occupancy: 1 }
3150
- * ],
3151
- * [
3152
- * { count: 1, name: 'double', occupancy: 2 },
3153
- * { count: 1, name: 'single', occupancy: 1 }
3154
- * ]
3155
- * ]
3156
- * ```
3157
- * @type {Array<Array<BedApi>>}
3158
- * @memberof HotelRoomingListApiHotelRoom
3159
- */
3160
- beds: Array<Array<BedApi>>;
3161
- /**
3162
- * Prettified and localized list of beds
3163
- * @type {string}
3164
- * @memberof HotelRoomingListApiHotelRoom
3165
- */
3166
- bedsPretty: string;
3167
- /**
3168
- * Hotel Room count included in the Hotel Room Offer.
3169
- * @type {number}
3170
- * @memberof HotelRoomingListApiHotelRoom
3171
- */
3172
- count: number;
3173
- /**
3174
- * Hotel Room description.
3175
- * @type {string}
3176
- * @memberof HotelRoomingListApiHotelRoom
3177
- */
3178
- description: string;
3179
- /**
3180
- * Whether high resolution images are available.
3181
- * @type {boolean}
3182
- * @memberof HotelRoomingListApiHotelRoom
3183
- */
3184
- highresImages?: boolean | null;
3185
- /**
3186
- * Hotel Room id, when applicable.
3187
- * @type {string}
3188
- * @memberof HotelRoomingListApiHotelRoom
3189
- */
3190
- id: string;
3191
- /**
3192
- * List of indexes corresponding to image names for the given Hotel Room among the related hotel images.
3193
- * @type {Array<number>}
3194
- * @memberof HotelRoomingListApiHotelRoom
3195
- */
3196
- imageIndexes?: Array<number> | null;
3197
- /**
3198
- * Hotel Room images.
3199
- * @type {Array<HotelImageApi>}
3200
- * @memberof HotelRoomingListApiHotelRoom
3201
- */
3202
- images?: Array<HotelImageApi> | null;
3203
- /**
3204
- * Whether low resolution images are available.
3205
- * @type {boolean}
3206
- * @memberof HotelRoomingListApiHotelRoom
3207
- */
3208
- lowresImages?: boolean | null;
3209
- /**
3210
- * Total occupancy of a single hotel room.
3211
- * @type {number}
3212
- * @memberof HotelRoomingListApiHotelRoom
3213
- */
3214
- occupancy: number;
3215
- /**
3216
- * Rich Hotel Room description. May contain HTML tags markup.
3217
- * @type {string}
3218
- * @memberof HotelRoomingListApiHotelRoom
3219
- */
3220
- richDescription?: string | null;
3221
- /**
3222
- * Room surface in square feet. May be subject to changes at the Hotel.
3223
- * @type {number}
3224
- * @memberof HotelRoomingListApiHotelRoom
3225
- */
3226
- roomSquareFeet?: number | null;
3227
- /**
3228
- * Room surface in square meters. May be subject to changes at the Hotel.
3229
- * @type {number}
3230
- * @memberof HotelRoomingListApiHotelRoom
3231
- */
3232
- roomSquareMeters?: number | null;
3233
- /**
3234
- * Whether thumb resolution images are available (in order to display them as image carousel navigation for instance).
3235
- * @type {boolean}
3236
- * @memberof HotelRoomingListApiHotelRoom
3237
- */
3238
- thumbImages?: boolean | null;
3239
- }
3240
- /**
3241
- * Guest of a hotel rooming list
3242
- * @export
3243
- * @interface HotelRoomingListGuestApi
3244
- */
3245
- export interface HotelRoomingListGuestApi {
3246
- /**
3247
- *
3248
- * @type {string}
3249
- * @memberof HotelRoomingListGuestApi
3250
- */
3251
- fullname: string;
3252
- /**
3253
- *
3254
- * @type {string}
3255
- * @memberof HotelRoomingListGuestApi
3256
- */
3257
- id: string;
3258
- }
3259
- /**
3260
- *
3261
- * @export
3262
- * @interface HotelRoomingListGuestsCreateApi
3263
- */
3264
- export interface HotelRoomingListGuestsCreateApi {
3265
- /**
3266
- *
3267
- * @type {string}
3268
- * @memberof HotelRoomingListGuestsCreateApi
3269
- */
3270
- fullname: string;
3271
- /**
3272
- *
3273
- * @type {string}
3274
- * @memberof HotelRoomingListGuestsCreateApi
3275
- */
3276
- hotelRoomingListId: string;
3277
- }
3278
- /**
3279
- *
3280
- * @export
3281
- * @interface HotelRoomingListGuestsUpdateApi
3282
- */
3283
- export interface HotelRoomingListGuestsUpdateApi {
3284
- /**
3285
- *
3286
- * @type {string}
3287
- * @memberof HotelRoomingListGuestsUpdateApi
3288
- */
3289
- fullname: string;
3290
- }
3291
- /**
3292
- *
3293
- * @export
3294
- * @interface InvoiceApi
3295
- */
3296
- export interface InvoiceApi {
3297
- /**
3298
- *
3299
- * @type {string}
3300
- * @memberof InvoiceApi
3301
- */
3302
- type: InvoiceApiTypeEnum;
3303
- /**
3304
- *
3305
- * @type {string}
3306
- * @memberof InvoiceApi
3307
- */
3308
- url: string;
3309
- }
3310
- /**
3311
- * @export
3312
- */
3313
- export declare const InvoiceApiTypeEnum: {
3314
- readonly CreditNote: "credit_note";
3315
- readonly Invoice: "invoice";
3316
- };
3317
- export type InvoiceApiTypeEnum = typeof InvoiceApiTypeEnum[keyof typeof InvoiceApiTypeEnum];
3318
- /**
3319
- * Set the language for the returned content using a valid language code.
3320
- * @export
3321
- */
3322
- export declare const Locale: {
3323
- readonly DeDe: "de-DE";
3324
- readonly EnUs: "en-US";
3325
- readonly EsEs: "es-ES";
3326
- readonly FrFr: "fr-FR";
3327
- readonly ItIt: "it-IT";
3328
- readonly NlNl: "nl-NL";
3329
- readonly PtPt: "pt-PT";
3330
- };
3331
- export type Locale = typeof Locale[keyof typeof Locale];
3332
- /**
3333
- * Meta information about the response list, such as pagination cursors or status.
3334
- * @export
3335
- * @interface MetaPollingResponseApi
3336
- */
3337
- export interface MetaPollingResponseApi {
3338
- /**
3339
- * 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.
3340
- * @type {string}
3341
- * @memberof MetaPollingResponseApi
3342
- */
3343
- endingBefore?: string | null;
3344
- /**
3345
- * A limit on the number of object to be returned.
3346
- * @type {number}
3347
- * @memberof MetaPollingResponseApi
3348
- */
3349
- limit?: number;
3350
- /**
3351
- * 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.
3352
- * @type {string}
3353
- * @memberof MetaPollingResponseApi
3354
- */
3355
- startingAfter?: string | null;
3356
- /**
3357
- *
3358
- * @type {number}
3359
- * @memberof MetaPollingResponseApi
3360
- */
3361
- totalCount?: number | null;
3362
- /**
3363
- *
3364
- * @type {PollerStatus}
3365
- * @memberof MetaPollingResponseApi
3366
- */
3367
- status: PollerStatus;
3368
- }
3369
- /**
3370
- *
3371
- * @export
3372
- * @interface MetaPollingResponseApiAllOf
3373
- */
3374
- export interface MetaPollingResponseApiAllOf {
3375
- /**
3376
- *
3377
- * @type {PollerStatus}
3378
- * @memberof MetaPollingResponseApiAllOf
3379
- */
3380
- status: PollerStatus;
3381
- }
3382
- /**
3383
- * Meta information about the response list, such as pagination cursors or status.
3384
- * @export
3385
- * @interface MetaResponseApi
3386
- */
3387
- export interface MetaResponseApi {
3388
- /**
3389
- * 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.
3390
- * @type {string}
3391
- * @memberof MetaResponseApi
3392
- */
3393
- endingBefore?: string | null;
3394
- /**
3395
- * A limit on the number of object to be returned.
3396
- * @type {number}
3397
- * @memberof MetaResponseApi
3398
- */
3399
- limit?: number;
3400
- /**
3401
- * 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.
3402
- * @type {string}
3403
- * @memberof MetaResponseApi
3404
- */
3405
- startingAfter?: string | null;
3406
- /**
3407
- *
3408
- * @type {number}
3409
- * @memberof MetaResponseApi
3410
- */
3411
- totalCount?: number | null;
3412
- }
3413
- /**
3414
- * @type PaymentMethodApi
3415
- *
3416
- * @export
3417
- */
3418
- export type PaymentMethodApi = PaymentMethodApiOneOf | PaymentMethodApiOneOf1 | PaymentMethodApiOneOf2 | PaymentMethodApiOneOf3;
3419
- /**
3420
- *
3421
- * @export
3422
- * @interface PaymentMethodApiOneOf
3423
- */
3424
- export interface PaymentMethodApiOneOf {
3425
- /**
3426
- *
3427
- * @type {string}
3428
- * @memberof PaymentMethodApiOneOf
3429
- */
3430
- name: PaymentMethodApiOneOfNameEnum;
3431
- /**
3432
- *
3433
- * @type {PaymentMethodApiOneOfPayload}
3434
- * @memberof PaymentMethodApiOneOf
3435
- */
3436
- payload: PaymentMethodApiOneOfPayload;
3437
- }
3438
- /**
3439
- * @export
3440
- */
3441
- export declare const PaymentMethodApiOneOfNameEnum: {
3442
- readonly CreditCard: "CREDIT_CARD";
3443
- };
3444
- export type PaymentMethodApiOneOfNameEnum = typeof PaymentMethodApiOneOfNameEnum[keyof typeof PaymentMethodApiOneOfNameEnum];
3445
- /**
3446
- *
3447
- * @export
3448
- * @interface PaymentMethodApiOneOf1
3449
- */
3450
- export interface PaymentMethodApiOneOf1 {
3451
- /**
3452
- *
3453
- * @type {string}
3454
- * @memberof PaymentMethodApiOneOf1
3455
- */
3456
- name: PaymentMethodApiOneOf1NameEnum;
3457
- /**
3458
- *
3459
- * @type {PaymentMethodApiOneOf1Payload}
3460
- * @memberof PaymentMethodApiOneOf1
3461
- */
3462
- payload: PaymentMethodApiOneOf1Payload;
3463
- }
3464
- /**
3465
- * @export
3466
- */
3467
- export declare const PaymentMethodApiOneOf1NameEnum: {
3468
- readonly Coupon: "COUPON";
3469
- };
3470
- export type PaymentMethodApiOneOf1NameEnum = typeof PaymentMethodApiOneOf1NameEnum[keyof typeof PaymentMethodApiOneOf1NameEnum];
3471
- /**
3472
- *
3473
- * @export
3474
- * @interface PaymentMethodApiOneOf1Payload
3475
- */
3476
- export interface PaymentMethodApiOneOf1Payload {
3477
- /**
3478
- *
3479
- * @type {number}
3480
- * @memberof PaymentMethodApiOneOf1Payload
3481
- */
3482
- amount: number;
3483
- /**
3484
- *
3485
- * @type {string}
3486
- * @memberof PaymentMethodApiOneOf1Payload
3487
- */
3488
- couponId: string;
3489
- }
3490
- /**
3491
- *
3492
- * @export
3493
- * @interface PaymentMethodApiOneOf2
3494
- */
3495
- export interface PaymentMethodApiOneOf2 {
3496
- /**
3497
- *
3498
- * @type {string}
3499
- * @memberof PaymentMethodApiOneOf2
3500
- */
3501
- name: PaymentMethodApiOneOf2NameEnum;
3502
- /**
3503
- *
3504
- * @type {PaymentMethodApiOneOf2Payload}
3505
- * @memberof PaymentMethodApiOneOf2
3506
- */
3507
- payload: PaymentMethodApiOneOf2Payload;
3508
- }
3509
- /**
3510
- * @export
3511
- */
3512
- export declare const PaymentMethodApiOneOf2NameEnum: {
3513
- readonly DepositAccount: "DEPOSIT_ACCOUNT";
3514
- };
3515
- export type PaymentMethodApiOneOf2NameEnum = typeof PaymentMethodApiOneOf2NameEnum[keyof typeof PaymentMethodApiOneOf2NameEnum];
3516
- /**
3517
- *
3518
- * @export
3519
- * @interface PaymentMethodApiOneOf2Payload
3520
- */
3521
- export interface PaymentMethodApiOneOf2Payload {
3522
- /**
3523
- *
3524
- * @type {number}
3525
- * @memberof PaymentMethodApiOneOf2Payload
3526
- */
3527
- amount: number;
3528
- /**
3529
- *
3530
- * @type {string}
3531
- * @memberof PaymentMethodApiOneOf2Payload
3532
- */
3533
- couponId?: string | null;
3534
- }
3535
- /**
3536
- *
3537
- * @export
3538
- * @interface PaymentMethodApiOneOf3
3539
- */
3540
- export interface PaymentMethodApiOneOf3 {
3541
- /**
3542
- *
3543
- * @type {string}
3544
- * @memberof PaymentMethodApiOneOf3
3545
- */
3546
- name: PaymentMethodApiOneOf3NameEnum;
3547
- /**
3548
- *
3549
- * @type {PaymentMethodApiOneOf3Payload}
3550
- * @memberof PaymentMethodApiOneOf3
3551
- */
3552
- payload: PaymentMethodApiOneOf3Payload;
3553
- }
3554
- /**
3555
- * @export
3556
- */
3557
- export declare const PaymentMethodApiOneOf3NameEnum: {
3558
- readonly PayLater: "PAY_LATER";
3559
- };
3560
- export type PaymentMethodApiOneOf3NameEnum = typeof PaymentMethodApiOneOf3NameEnum[keyof typeof PaymentMethodApiOneOf3NameEnum];
3561
- /**
3562
- *
3563
- * @export
3564
- * @interface PaymentMethodApiOneOf3Payload
3565
- */
3566
- export interface PaymentMethodApiOneOf3Payload {
3567
- /**
3568
- *
3569
- * @type {number}
3570
- * @memberof PaymentMethodApiOneOf3Payload
3571
- */
3572
- amount: number;
3573
- /**
3574
- *
3575
- * @type {string}
3576
- * @memberof PaymentMethodApiOneOf3Payload
3577
- */
3578
- couponId?: string | null;
3579
- /**
3580
- *
3581
- * @type {string}
3582
- * @memberof PaymentMethodApiOneOf3Payload
3583
- */
3584
- status: PaymentMethodApiOneOf3PayloadStatusEnum;
3585
- }
3586
- /**
3587
- * @export
3588
- */
3589
- export declare const PaymentMethodApiOneOf3PayloadStatusEnum: {
3590
- readonly Disabled: "DISABLED";
3591
- readonly Enabled: "ENABLED";
3592
- readonly Forced: "FORCED";
3593
- };
3594
- export type PaymentMethodApiOneOf3PayloadStatusEnum = typeof PaymentMethodApiOneOf3PayloadStatusEnum[keyof typeof PaymentMethodApiOneOf3PayloadStatusEnum];
3595
- /**
3596
- *
3597
- * @export
3598
- * @interface PaymentMethodApiOneOfPayload
3599
- */
3600
- export interface PaymentMethodApiOneOfPayload {
3601
- /**
3602
- *
3603
- * @type {number}
3604
- * @memberof PaymentMethodApiOneOfPayload
3605
- */
3606
- amount: number;
3607
- /**
3608
- *
3609
- * @type {string}
3610
- * @memberof PaymentMethodApiOneOfPayload
3611
- */
3612
- couponId?: string | null;
3613
- /**
3614
- *
3615
- * @type {string}
3616
- * @memberof PaymentMethodApiOneOfPayload
3617
- */
3618
- token: string;
3619
- }
3620
- /**
3621
- *
3622
- * @export
3623
- * @interface PaymentMethodRequestApi
3624
- */
3625
- export interface PaymentMethodRequestApi {
3626
- /**
3627
- *
3628
- * @type {string}
3629
- * @memberof PaymentMethodRequestApi
3630
- */
3631
- name: PaymentMethodRequestApiNameEnum;
3632
- /**
3633
- *
3634
- * @type {PaymentMethodRequestPayloadApi}
3635
- * @memberof PaymentMethodRequestApi
3636
- */
3637
- payload?: PaymentMethodRequestPayloadApi;
3638
- }
3639
- /**
3640
- * @export
3641
- */
3642
- export declare const PaymentMethodRequestApiNameEnum: {
3643
- readonly Coupon: "COUPON";
3644
- readonly CreditCard: "CREDIT_CARD";
3645
- readonly DepositAccount: "DEPOSIT_ACCOUNT";
3646
- };
3647
- export type PaymentMethodRequestApiNameEnum = typeof PaymentMethodRequestApiNameEnum[keyof typeof PaymentMethodRequestApiNameEnum];
3648
- /**
3649
- *
3650
- * @export
3651
- * @interface PaymentMethodRequestPayloadApi
3652
- */
3653
- export interface PaymentMethodRequestPayloadApi {
3654
- /**
3655
- *
3656
- * @type {string}
3657
- * @memberof PaymentMethodRequestPayloadApi
3658
- */
3659
- couponId?: string | null;
3660
- }
3661
- /**
3662
- *
3663
- * @export
3664
- * @interface PaymentMethodUpdatePayloadApi
3665
- */
3666
- export interface PaymentMethodUpdatePayloadApi {
3667
- /**
3668
- * List of preferred payment methods to be used along with their respective payload (when applicable) in order to fulfill the booking.
3669
- * @type {Array<PaymentMethodRequestApi>}
3670
- * @memberof PaymentMethodUpdatePayloadApi
3671
- */
3672
- paymentMethods: Array<PaymentMethodRequestApi>;
3673
- }
3674
- /**
3675
- * Status of the response data.
3676
- * @export
3677
- */
3678
- export declare const PollerStatus: {
3679
- readonly Complete: "COMPLETE";
3680
- readonly InProgress: "IN_PROGRESS";
3681
- };
3682
- export type PollerStatus = typeof PollerStatus[keyof typeof PollerStatus];
3683
- /**
3684
- * For sourcing availability within certain markets, a source market option may be used to get more accurate prices. You may use any valid ISO Alpha-2 country code, e.g. JP.
3685
- * @export
3686
- */
3687
- export declare const SourceMarket: {
3688
- readonly Ad: "AD";
3689
- readonly Ae: "AE";
3690
- readonly Af: "AF";
3691
- readonly Ag: "AG";
3692
- readonly Ai: "AI";
3693
- readonly Al: "AL";
3694
- readonly Am: "AM";
3695
- readonly Ao: "AO";
3696
- readonly Ar: "AR";
3697
- readonly As: "AS";
3698
- readonly At: "AT";
3699
- readonly Au: "AU";
3700
- readonly Aw: "AW";
3701
- readonly Ax: "AX";
3702
- readonly Az: "AZ";
3703
- readonly Ba: "BA";
3704
- readonly Bb: "BB";
3705
- readonly Bd: "BD";
3706
- readonly Be: "BE";
3707
- readonly Bf: "BF";
3708
- readonly Bg: "BG";
3709
- readonly Bh: "BH";
3710
- readonly Bi: "BI";
3711
- readonly Bj: "BJ";
3712
- readonly Bl: "BL";
3713
- readonly Bm: "BM";
3714
- readonly Bn: "BN";
3715
- readonly Bo: "BO";
3716
- readonly Bq: "BQ";
3717
- readonly Br: "BR";
3718
- readonly Bs: "BS";
3719
- readonly Bt: "BT";
3720
- readonly Bw: "BW";
3721
- readonly By: "BY";
3722
- readonly Bz: "BZ";
3723
- readonly Ca: "CA";
3724
- readonly Cc: "CC";
3725
- readonly Cd: "CD";
3726
- readonly Cf: "CF";
3727
- readonly Cg: "CG";
3728
- readonly Ch: "CH";
3729
- readonly Ci: "CI";
3730
- readonly Ck: "CK";
3731
- readonly Cl: "CL";
3732
- readonly Cm: "CM";
3733
- readonly Cn: "CN";
3734
- readonly Co: "CO";
3735
- readonly Cr: "CR";
3736
- readonly Cu: "CU";
3737
- readonly Cv: "CV";
3738
- readonly Cw: "CW";
3739
- readonly Cx: "CX";
3740
- readonly Cy: "CY";
3741
- readonly Cz: "CZ";
3742
- readonly De: "DE";
3743
- readonly Dj: "DJ";
3744
- readonly Dk: "DK";
3745
- readonly Dm: "DM";
3746
- readonly Do: "DO";
3747
- readonly Dz: "DZ";
3748
- readonly Ec: "EC";
3749
- readonly Ee: "EE";
3750
- readonly Eg: "EG";
3751
- readonly Eh: "EH";
3752
- readonly Er: "ER";
3753
- readonly Es: "ES";
3754
- readonly Et: "ET";
3755
- readonly Fi: "FI";
3756
- readonly Fj: "FJ";
3757
- readonly Fk: "FK";
3758
- readonly Fm: "FM";
3759
- readonly Fo: "FO";
3760
- readonly Fr: "FR";
3761
- readonly Ga: "GA";
3762
- readonly Gb: "GB";
3763
- readonly Gd: "GD";
3764
- readonly Ge: "GE";
3765
- readonly Gf: "GF";
3766
- readonly Gg: "GG";
3767
- readonly Gh: "GH";
3768
- readonly Gi: "GI";
3769
- readonly Gl: "GL";
3770
- readonly Gm: "GM";
3771
- readonly Gn: "GN";
3772
- readonly Gp: "GP";
3773
- readonly Gq: "GQ";
3774
- readonly Gr: "GR";
3775
- readonly Gt: "GT";
3776
- readonly Gu: "GU";
3777
- readonly Gw: "GW";
3778
- readonly Gy: "GY";
3779
- readonly Hk: "HK";
3780
- readonly Hn: "HN";
3781
- readonly Hr: "HR";
3782
- readonly Ht: "HT";
3783
- readonly Hu: "HU";
3784
- readonly Id: "ID";
3785
- readonly Ie: "IE";
3786
- readonly Il: "IL";
3787
- readonly Im: "IM";
3788
- readonly In: "IN";
3789
- readonly Io: "IO";
3790
- readonly Iq: "IQ";
3791
- readonly Ir: "IR";
3792
- readonly Is: "IS";
3793
- readonly It: "IT";
3794
- readonly Je: "JE";
3795
- readonly Jm: "JM";
3796
- readonly Jo: "JO";
3797
- readonly Jp: "JP";
3798
- readonly Ke: "KE";
3799
- readonly Kg: "KG";
3800
- readonly Kh: "KH";
3801
- readonly Ki: "KI";
3802
- readonly Km: "KM";
3803
- readonly Kn: "KN";
3804
- readonly Kp: "KP";
3805
- readonly Kr: "KR";
3806
- readonly Kw: "KW";
3807
- readonly Ky: "KY";
3808
- readonly Kz: "KZ";
3809
- readonly La: "LA";
3810
- readonly Lb: "LB";
3811
- readonly Lc: "LC";
3812
- readonly Li: "LI";
3813
- readonly Lk: "LK";
3814
- readonly Lr: "LR";
3815
- readonly Ls: "LS";
3816
- readonly Lt: "LT";
3817
- readonly Lu: "LU";
3818
- readonly Lv: "LV";
3819
- readonly Ly: "LY";
3820
- readonly Ma: "MA";
3821
- readonly Mc: "MC";
3822
- readonly Md: "MD";
3823
- readonly Me: "ME";
3824
- readonly Mf: "MF";
3825
- readonly Mg: "MG";
3826
- readonly Mh: "MH";
3827
- readonly Mk: "MK";
3828
- readonly Ml: "ML";
3829
- readonly Mm: "MM";
3830
- readonly Mn: "MN";
3831
- readonly Mo: "MO";
3832
- readonly Mp: "MP";
3833
- readonly Mq: "MQ";
3834
- readonly Mr: "MR";
3835
- readonly Ms: "MS";
3836
- readonly Mt: "MT";
3837
- readonly Mu: "MU";
3838
- readonly Mv: "MV";
3839
- readonly Mw: "MW";
3840
- readonly Mx: "MX";
3841
- readonly My: "MY";
3842
- readonly Mz: "MZ";
3843
- readonly Na: "NA";
3844
- readonly Nc: "NC";
3845
- readonly Ne: "NE";
3846
- readonly Nf: "NF";
3847
- readonly Ng: "NG";
3848
- readonly Ni: "NI";
3849
- readonly Nl: "NL";
3850
- readonly No: "NO";
3851
- readonly Np: "NP";
3852
- readonly Nr: "NR";
3853
- readonly Nu: "NU";
3854
- readonly Nz: "NZ";
3855
- readonly Om: "OM";
3856
- readonly Pa: "PA";
3857
- readonly Pe: "PE";
3858
- readonly Pf: "PF";
3859
- readonly Pg: "PG";
3860
- readonly Ph: "PH";
3861
- readonly Pk: "PK";
3862
- readonly Pl: "PL";
3863
- readonly Pm: "PM";
3864
- readonly Pr: "PR";
3865
- readonly Ps: "PS";
3866
- readonly Pt: "PT";
3867
- readonly Pw: "PW";
3868
- readonly Py: "PY";
3869
- readonly Qa: "QA";
3870
- readonly Re: "RE";
3871
- readonly Ro: "RO";
3872
- readonly Rs: "RS";
3873
- readonly Ru: "RU";
3874
- readonly Rw: "RW";
3875
- readonly Sa: "SA";
3876
- readonly Sb: "SB";
3877
- readonly Sc: "SC";
3878
- readonly Sd: "SD";
3879
- readonly Se: "SE";
3880
- readonly Sg: "SG";
3881
- readonly Sh: "SH";
3882
- readonly Si: "SI";
3883
- readonly Sj: "SJ";
3884
- readonly Sk: "SK";
3885
- readonly Sl: "SL";
3886
- readonly Sm: "SM";
3887
- readonly Sn: "SN";
3888
- readonly So: "SO";
3889
- readonly Sr: "SR";
3890
- readonly Ss: "SS";
3891
- readonly St: "ST";
3892
- readonly Sv: "SV";
3893
- readonly Sx: "SX";
3894
- readonly Sy: "SY";
3895
- readonly Sz: "SZ";
3896
- readonly Tc: "TC";
3897
- readonly Td: "TD";
3898
- readonly Tg: "TG";
3899
- readonly Th: "TH";
3900
- readonly Tj: "TJ";
3901
- readonly Tk: "TK";
3902
- readonly Tl: "TL";
3903
- readonly Tm: "TM";
3904
- readonly Tn: "TN";
3905
- readonly To: "TO";
3906
- readonly Tr: "TR";
3907
- readonly Tt: "TT";
3908
- readonly Tv: "TV";
3909
- readonly Tw: "TW";
3910
- readonly Tz: "TZ";
3911
- readonly Ua: "UA";
3912
- readonly Ug: "UG";
3913
- readonly Us: "US";
3914
- readonly Uy: "UY";
3915
- readonly Uz: "UZ";
3916
- readonly Va: "VA";
3917
- readonly Vc: "VC";
3918
- readonly Ve: "VE";
3919
- readonly Vg: "VG";
3920
- readonly Vi: "VI";
3921
- readonly Vn: "VN";
3922
- readonly Vu: "VU";
3923
- readonly Wf: "WF";
3924
- readonly Ws: "WS";
3925
- readonly Xk: "XK";
3926
- readonly Ye: "YE";
3927
- readonly Yt: "YT";
3928
- readonly Za: "ZA";
3929
- readonly Zm: "ZM";
3930
- readonly Zw: "ZW";
3931
- };
3932
- export type SourceMarket = typeof SourceMarket[keyof typeof SourceMarket];
3933
- /**
3934
- *
3935
- * @export
3936
- * @interface TagApi
3937
- */
3938
- export interface TagApi {
3939
- /**
3940
- *
3941
- * @type {string}
3942
- * @memberof TagApi
3943
- */
3944
- bg?: string | null;
3945
- /**
3946
- *
3947
- * @type {string}
3948
- * @memberof TagApi
3949
- */
3950
- color?: string | null;
3951
- /**
3952
- *
3953
- * @type {string}
3954
- * @memberof TagApi
3955
- */
3956
- description?: string | null;
3957
- /**
3958
- *
3959
- * @type {string}
3960
- * @memberof TagApi
3961
- */
3962
- faIcon?: string | null;
3963
- /**
3964
- *
3965
- * @type {string}
3966
- * @memberof TagApi
3967
- */
3968
- name: string;
3969
- }
3970
- /**
3971
- *
3972
- * @export
3973
- * @interface TaxApi
3974
- */
3975
- export interface TaxApi {
3976
- /**
3977
- * Tax amount expressed in the requested currency.
3978
- * @type {number}
3979
- * @memberof TaxApi
3980
- */
3981
- amount?: number | null;
3982
- /**
3983
- * Tax code.
3984
- * @type {string}
3985
- * @memberof TaxApi
3986
- */
3987
- code?: string;
3988
- /**
3989
- * Tax description.
3990
- * @type {string}
3991
- * @memberof TaxApi
3992
- */
3993
- description?: string | null;
3994
- /**
3995
- * Tax percentage on the total amount.
3996
- * @type {number}
3997
- * @memberof TaxApi
3998
- */
3999
- percentage?: number | null;
4000
- /**
4001
- * Tax frequency. Specifies if the tax applies per stay or per night
4002
- * @type {string}
4003
- * @memberof TaxApi
4004
- */
4005
- taxFrequency: TaxApiTaxFrequencyEnum;
4006
- /**
4007
- * Tax mode. Specifies if the tax applies per occupant, per booking or per room
4008
- * @type {string}
4009
- * @memberof TaxApi
4010
- */
4011
- taxMode: TaxApiTaxModeEnum;
4012
- }
4013
- /**
4014
- * @export
4015
- */
4016
- export declare const TaxApiTaxFrequencyEnum: {
4017
- readonly Night: "PER_NIGHT";
4018
- readonly Stay: "PER_STAY";
4019
- };
4020
- export type TaxApiTaxFrequencyEnum = typeof TaxApiTaxFrequencyEnum[keyof typeof TaxApiTaxFrequencyEnum];
4021
- /**
4022
- * @export
4023
- */
4024
- export declare const TaxApiTaxModeEnum: {
4025
- readonly Adult: "PER_ADULT";
4026
- readonly Booking: "PER_BOOKING";
4027
- };
4028
- export type TaxApiTaxModeEnum = typeof TaxApiTaxModeEnum[keyof typeof TaxApiTaxModeEnum];
4029
- /**
4030
- *
4031
- * @export
4032
- * @interface TravelTimesApi
4033
- */
4034
- export interface TravelTimesApi {
4035
- /**
4036
- *
4037
- * @type {string}
4038
- * @memberof TravelTimesApi
4039
- */
4040
- description?: string | null;
4041
- /**
4042
- *
4043
- * @type {string}
4044
- * @memberof TravelTimesApi
4045
- */
4046
- name: string;
4047
- /**
4048
- *
4049
- * @type {TravelTimesApiTravelTimes}
4050
- * @memberof TravelTimesApi
4051
- */
4052
- travelTimes?: TravelTimesApiTravelTimes | null;
4053
- }
4054
- /**
4055
- *
4056
- * @export
4057
- * @interface TravelTimesApiTravelTimes
4058
- */
4059
- export interface TravelTimesApiTravelTimes {
4060
- /**
4061
- *
4062
- * @type {number}
4063
- * @memberof TravelTimesApiTravelTimes
4064
- */
4065
- driving?: number;
4066
- /**
4067
- *
4068
- * @type {number}
4069
- * @memberof TravelTimesApiTravelTimes
4070
- */
4071
- transit?: number;
4072
- /**
4073
- *
4074
- * @type {number}
4075
- * @memberof TravelTimesApiTravelTimes
4076
- */
4077
- walking?: number;
4078
- }
1
+ export * from './AllowedPaymentMethodApi';
2
+ export * from './AllowedPaymentMethodApiOneOf';
3
+ export * from './AllowedPaymentMethodApiOneOf1';
4
+ export * from './AllowedPaymentMethodApiOneOf2';
5
+ export * from './AllowedPaymentMethodApiOneOf3';
6
+ export * from './AllowedPaymentMethodApiOneOf3Payload';
7
+ export * from './AmenitiesApi';
8
+ export * from './BedApi';
9
+ export * from './BookingApi';
10
+ export * from './BookingCreateApi';
11
+ export * from './BookingCreateApiGuestsListInner';
12
+ export * from './BookingCreateApiGuestsListInnerGuestsInner';
13
+ export * from './BookingPoliciesApi';
14
+ export * from './BookingPoliciesCreateApi';
15
+ export * from './BookingsApiResponse';
16
+ export * from './CancellationPolicyApi';
17
+ export * from './ContactPersonApi';
18
+ export * from './ContactPersonOrganizationApi';
19
+ export * from './CountryIso2Code';
20
+ export * from './CurrencyClient';
21
+ export * from './ErrorApiResponse';
22
+ export * from './EventApi';
23
+ export * from './EventMetadataApi';
24
+ export * from './HotelApi';
25
+ export * from './HotelApiImages';
26
+ export * from './HotelImageApi';
27
+ export * from './HotelOfferApi';
28
+ export * from './HotelOfferApiAllOf';
29
+ export * from './HotelOfferRequestApiResponse';
30
+ export * from './HotelOfferRequestCreateApi';
31
+ export * from './HotelOffersApiResponse';
32
+ export * from './HotelOffersApiResponseMeta';
33
+ export * from './HotelOffersApiResponseMetaAllOf';
34
+ export * from './HotelOffersDataApiResponse';
35
+ export * from './HotelReviewRatingApi';
36
+ export * from './HotelRoomApi';
37
+ export * from './HotelRoomOfferApi';
38
+ export * from './HotelRoomOfferApiResponse';
39
+ export * from './HotelRoomOfferRequestApiResponse';
40
+ export * from './HotelRoomOfferRequestApiResponseAllOf';
41
+ export * from './HotelRoomOfferRequestApiResponseAllOf1';
42
+ export * from './HotelRoomOfferRequestCreateApi';
43
+ export * from './HotelRoomOffersApiResponse';
44
+ export * from './HotelRoomOffersCreateApi';
45
+ export * from './HotelRoomOffersDataApiResponse';
46
+ export * from './HotelRoomOffersDataCreateApi';
47
+ export * from './HotelRoomingListApi';
48
+ export * from './HotelRoomingListApiHotelRoom';
49
+ export * from './HotelRoomingListGuestApi';
50
+ export * from './HotelRoomingListGuestsCreateApi';
51
+ export * from './HotelRoomingListGuestsUpdateApi';
52
+ export * from './InvoiceApi';
53
+ export * from './Locale';
54
+ export * from './MetaPollingResponseApi';
55
+ export * from './MetaPollingResponseApiAllOf';
56
+ export * from './MetaResponseApi';
57
+ export * from './PaymentMethodApi';
58
+ export * from './PaymentMethodApiOneOf';
59
+ export * from './PaymentMethodApiOneOf1';
60
+ export * from './PaymentMethodApiOneOf1Payload';
61
+ export * from './PaymentMethodApiOneOf2';
62
+ export * from './PaymentMethodApiOneOf2Payload';
63
+ export * from './PaymentMethodApiOneOf3';
64
+ export * from './PaymentMethodApiOneOf3Payload';
65
+ export * from './PaymentMethodApiOneOfPayload';
66
+ export * from './PaymentMethodRequestApi';
67
+ export * from './PaymentMethodRequestPayloadApi';
68
+ export * from './PaymentMethodUpdatePayloadApi';
69
+ export * from './PollerStatus';
70
+ export * from './SourceMarket';
71
+ export * from './TagApi';
72
+ export * from './TaxApi';
73
+ export * from './TravelTimesApi';
74
+ export * from './TravelTimesApiTravelTimes';