@revolugo/booking-api-client 7.9.2 → 7.10.0-alpha.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 (205) hide show
  1. package/dist/index.es.js +3275 -3011
  2. package/dist/index.umd.js +2 -2
  3. package/dist/tsconfig.build.tsbuildinfo +1 -0
  4. package/dist/types/booking-api-client.d.ts +12 -11
  5. package/dist/types/booking-api-client.d.ts.map +1 -0
  6. package/dist/types/env.d.ts +1 -0
  7. package/dist/types/env.d.ts.map +1 -0
  8. package/dist/types/index.d.ts +1 -0
  9. package/dist/types/index.d.ts.map +1 -0
  10. package/dist/types/v1/apis/ResourceBookingPoliciesApi.d.ts +2 -78
  11. package/dist/types/v1/apis/ResourceBookingPoliciesApi.d.ts.map +1 -0
  12. package/dist/types/v1/apis/ResourceBookingsApi.d.ts +19 -237
  13. package/dist/types/v1/apis/ResourceBookingsApi.d.ts.map +1 -0
  14. package/dist/types/v1/apis/ResourceHotelImagesApi.d.ts +2 -42
  15. package/dist/types/v1/apis/ResourceHotelImagesApi.d.ts.map +1 -0
  16. package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts +2 -61
  17. package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts.map +1 -0
  18. package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts +3 -62
  19. package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts.map +1 -0
  20. package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts +2 -42
  21. package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts.map +1 -0
  22. package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts +2 -61
  23. package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts.map +1 -0
  24. package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts +3 -65
  25. package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts.map +1 -0
  26. package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts +2 -85
  27. package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts.map +1 -0
  28. package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts +2 -42
  29. package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts.map +1 -0
  30. package/dist/types/v1/apis/ResourceHotelsApi.d.ts +2 -43
  31. package/dist/types/v1/apis/ResourceHotelsApi.d.ts.map +1 -0
  32. package/dist/types/v1/apis/index.d.ts +12 -11
  33. package/dist/types/v1/apis/index.d.ts.map +1 -0
  34. package/dist/types/v1/index.d.ts +1 -0
  35. package/dist/types/v1/index.d.ts.map +1 -0
  36. package/dist/types/v1/models/AllowedPaymentMethodApi.d.ts +15 -10
  37. package/dist/types/v1/models/AllowedPaymentMethodApi.d.ts.map +1 -0
  38. package/dist/types/v1/models/AllowedPaymentMethodCouponApi.d.ts +13 -0
  39. package/dist/types/v1/models/AllowedPaymentMethodCouponApi.d.ts.map +1 -0
  40. package/dist/types/v1/models/AllowedPaymentMethodCreditCardApi.d.ts +13 -0
  41. package/dist/types/v1/models/AllowedPaymentMethodCreditCardApi.d.ts.map +1 -0
  42. package/dist/types/v1/models/AllowedPaymentMethodDepositAccountApi.d.ts +13 -0
  43. package/dist/types/v1/models/AllowedPaymentMethodDepositAccountApi.d.ts.map +1 -0
  44. package/dist/types/v1/models/AllowedPaymentMethodPayLaterApi.d.ts +15 -0
  45. package/dist/types/v1/models/AllowedPaymentMethodPayLaterApi.d.ts.map +1 -0
  46. package/dist/types/v1/models/AllowedPaymentMethodPayLaterApiPayload.d.ts +15 -0
  47. package/dist/types/v1/models/AllowedPaymentMethodPayLaterApiPayload.d.ts.map +1 -0
  48. package/dist/types/v1/models/AmenitiesApi.d.ts +4 -241
  49. package/dist/types/v1/models/AmenitiesApi.d.ts.map +1 -0
  50. package/dist/types/v1/models/BedApi.d.ts +4 -36
  51. package/dist/types/v1/models/BedApi.d.ts.map +1 -0
  52. package/dist/types/v1/models/BookingApi.d.ts +23 -218
  53. package/dist/types/v1/models/BookingApi.d.ts.map +1 -0
  54. package/dist/types/v1/models/BookingCreateApi.d.ts +9 -43
  55. package/dist/types/v1/models/BookingCreateApi.d.ts.map +1 -0
  56. package/dist/types/v1/models/BookingCreateApiGuestsListInner.d.ts +5 -21
  57. package/dist/types/v1/models/BookingCreateApiGuestsListInner.d.ts.map +1 -0
  58. package/dist/types/v1/models/BookingCreateApiGuestsListInnerGuestsInner.d.ts +4 -26
  59. package/dist/types/v1/models/BookingCreateApiGuestsListInnerGuestsInner.d.ts.map +1 -0
  60. package/dist/types/v1/models/BookingPoliciesApi.d.ts +9 -88
  61. package/dist/types/v1/models/BookingPoliciesApi.d.ts.map +1 -0
  62. package/dist/types/v1/models/BookingPoliciesCreateApi.d.ts +5 -45
  63. package/dist/types/v1/models/BookingPoliciesCreateApi.d.ts.map +1 -0
  64. package/dist/types/v1/models/BookingsApiResponse.d.ts +6 -22
  65. package/dist/types/v1/models/BookingsApiResponse.d.ts.map +1 -0
  66. package/dist/types/v1/models/BreakfastOption.d.ts +12 -0
  67. package/dist/types/v1/models/BreakfastOption.d.ts.map +1 -0
  68. package/dist/types/v1/models/CancellationPolicyApi.d.ts +4 -36
  69. package/dist/types/v1/models/CancellationPolicyApi.d.ts.map +1 -0
  70. package/dist/types/v1/models/ContactPersonApi.d.ts +10 -89
  71. package/dist/types/v1/models/ContactPersonApi.d.ts.map +1 -0
  72. package/dist/types/v1/models/ContactPersonOrganizationApi.d.ts +6 -47
  73. package/dist/types/v1/models/ContactPersonOrganizationApi.d.ts.map +1 -0
  74. package/dist/types/v1/models/CountryIso2Code.d.ts +3 -15
  75. package/dist/types/v1/models/CountryIso2Code.d.ts.map +1 -0
  76. package/dist/types/v1/models/CurrencyClient.d.ts +3 -16
  77. package/dist/types/v1/models/CurrencyClient.d.ts.map +1 -0
  78. package/dist/types/v1/models/ErrorApiResponse.d.ts +4 -49
  79. package/dist/types/v1/models/ErrorApiResponse.d.ts.map +1 -0
  80. package/dist/types/v1/models/EventApi.d.ts +4 -31
  81. package/dist/types/v1/models/EventApi.d.ts.map +1 -0
  82. package/dist/types/v1/models/EventMetadataApi.d.ts +4 -51
  83. package/dist/types/v1/models/EventMetadataApi.d.ts.map +1 -0
  84. package/dist/types/v1/models/HotelApi.d.ts +11 -167
  85. package/dist/types/v1/models/HotelApi.d.ts.map +1 -0
  86. package/dist/types/v1/models/HotelApiImages.d.ts +4 -55
  87. package/dist/types/v1/models/HotelApiImages.d.ts.map +1 -0
  88. package/dist/types/v1/models/HotelImageApi.d.ts +4 -56
  89. package/dist/types/v1/models/HotelImageApi.d.ts.map +1 -0
  90. package/dist/types/v1/models/HotelOfferApi.d.ts +13 -181
  91. package/dist/types/v1/models/HotelOfferApi.d.ts.map +1 -0
  92. package/dist/types/v1/models/HotelOfferRequestApiResponse.d.ts +6 -78
  93. package/dist/types/v1/models/HotelOfferRequestApiResponse.d.ts.map +1 -0
  94. package/dist/types/v1/models/HotelOfferRequestCreateApi.d.ts +5 -64
  95. package/dist/types/v1/models/HotelOfferRequestCreateApi.d.ts.map +1 -0
  96. package/dist/types/v1/models/HotelOffersApiResponse.d.ts +6 -27
  97. package/dist/types/v1/models/HotelOffersApiResponse.d.ts.map +1 -0
  98. package/dist/types/v1/models/HotelOffersApiResponseMeta.d.ts +5 -36
  99. package/dist/types/v1/models/HotelOffersApiResponseMeta.d.ts.map +1 -0
  100. package/dist/types/v1/models/HotelOffersDataApiResponse.d.ts +6 -57
  101. package/dist/types/v1/models/HotelOffersDataApiResponse.d.ts.map +1 -0
  102. package/dist/types/v1/models/HotelReviewRatingApi.d.ts +4 -31
  103. package/dist/types/v1/models/HotelReviewRatingApi.d.ts.map +1 -0
  104. package/dist/types/v1/models/HotelRoomApi.d.ts +6 -101
  105. package/dist/types/v1/models/HotelRoomApi.d.ts.map +1 -0
  106. package/dist/types/v1/models/HotelRoomOfferApi.d.ts +13 -154
  107. package/dist/types/v1/models/HotelRoomOfferApi.d.ts.map +1 -0
  108. package/dist/types/v1/models/HotelRoomOfferApiHotelRoomsInner.d.ts +25 -0
  109. package/dist/types/v1/models/HotelRoomOfferApiHotelRoomsInner.d.ts.map +1 -0
  110. package/dist/types/v1/models/HotelRoomOfferApiResponse.d.ts +6 -47
  111. package/dist/types/v1/models/HotelRoomOfferApiResponse.d.ts.map +1 -0
  112. package/dist/types/v1/models/HotelRoomOfferRequestApiResponse.d.ts +6 -62
  113. package/dist/types/v1/models/HotelRoomOfferRequestApiResponse.d.ts.map +1 -0
  114. package/dist/types/v1/models/HotelRoomOfferRequestCreateApi.d.ts +5 -46
  115. package/dist/types/v1/models/HotelRoomOfferRequestCreateApi.d.ts.map +1 -0
  116. package/dist/types/v1/models/HotelRoomOffersApiResponse.d.ts +6 -27
  117. package/dist/types/v1/models/HotelRoomOffersApiResponse.d.ts.map +1 -0
  118. package/dist/types/v1/models/HotelRoomOffersCreateApi.d.ts +7 -52
  119. package/dist/types/v1/models/HotelRoomOffersCreateApi.d.ts.map +1 -0
  120. package/dist/types/v1/models/HotelRoomOffersDataApiResponse.d.ts +6 -52
  121. package/dist/types/v1/models/HotelRoomOffersDataApiResponse.d.ts.map +1 -0
  122. package/dist/types/v1/models/HotelRoomOffersDataCreateApi.d.ts +4 -36
  123. package/dist/types/v1/models/HotelRoomOffersDataCreateApi.d.ts.map +1 -0
  124. package/dist/types/v1/models/HotelRoomingListApi.d.ts +7 -38
  125. package/dist/types/v1/models/HotelRoomingListApi.d.ts.map +1 -0
  126. package/dist/types/v1/models/HotelRoomingListGuestApi.d.ts +4 -31
  127. package/dist/types/v1/models/HotelRoomingListGuestApi.d.ts.map +1 -0
  128. package/dist/types/v1/models/HotelRoomingListGuestsCreateApi.d.ts +4 -31
  129. package/dist/types/v1/models/HotelRoomingListGuestsCreateApi.d.ts.map +1 -0
  130. package/dist/types/v1/models/HotelRoomingListGuestsUpdateApi.d.ts +4 -26
  131. package/dist/types/v1/models/HotelRoomingListGuestsUpdateApi.d.ts.map +1 -0
  132. package/dist/types/v1/models/InvoiceApi.d.ts +4 -34
  133. package/dist/types/v1/models/InvoiceApi.d.ts.map +1 -0
  134. package/dist/types/v1/models/Locale.d.ts +3 -15
  135. package/dist/types/v1/models/Locale.d.ts.map +1 -0
  136. package/dist/types/v1/models/MetaPollingResponseApi.d.ts +5 -36
  137. package/dist/types/v1/models/MetaPollingResponseApi.d.ts.map +1 -0
  138. package/dist/types/v1/models/MetaResponseApi.d.ts +4 -41
  139. package/dist/types/v1/models/MetaResponseApi.d.ts.map +1 -0
  140. package/dist/types/v1/models/OrderAddon.d.ts +15 -0
  141. package/dist/types/v1/models/OrderAddon.d.ts.map +1 -0
  142. package/dist/types/v1/models/OrderAddonSelection.d.ts +13 -0
  143. package/dist/types/v1/models/OrderAddonSelection.d.ts.map +1 -0
  144. package/dist/types/v1/models/PaymentMethodApi.d.ts +15 -10
  145. package/dist/types/v1/models/PaymentMethodApi.d.ts.map +1 -0
  146. package/dist/types/v1/models/PaymentMethodCouponApi.d.ts +15 -0
  147. package/dist/types/v1/models/PaymentMethodCouponApi.d.ts.map +1 -0
  148. package/dist/types/v1/models/PaymentMethodCouponApiPayload.d.ts +11 -0
  149. package/dist/types/v1/models/PaymentMethodCouponApiPayload.d.ts.map +1 -0
  150. package/dist/types/v1/models/PaymentMethodCreditCardApi.d.ts +15 -0
  151. package/dist/types/v1/models/PaymentMethodCreditCardApi.d.ts.map +1 -0
  152. package/dist/types/v1/models/PaymentMethodCreditCardApiPayload.d.ts +11 -0
  153. package/dist/types/v1/models/PaymentMethodCreditCardApiPayload.d.ts.map +1 -0
  154. package/dist/types/v1/models/PaymentMethodDepositAccountApi.d.ts +15 -0
  155. package/dist/types/v1/models/PaymentMethodDepositAccountApi.d.ts.map +1 -0
  156. package/dist/types/v1/models/PaymentMethodDepositAccountApiPayload.d.ts +11 -0
  157. package/dist/types/v1/models/PaymentMethodDepositAccountApiPayload.d.ts.map +1 -0
  158. package/dist/types/v1/models/PaymentMethodPayLaterApi.d.ts +15 -0
  159. package/dist/types/v1/models/PaymentMethodPayLaterApi.d.ts.map +1 -0
  160. package/dist/types/v1/models/PaymentMethodPayLaterApiPayload.d.ts +18 -0
  161. package/dist/types/v1/models/PaymentMethodPayLaterApiPayload.d.ts.map +1 -0
  162. package/dist/types/v1/models/PaymentMethodRequestApi.d.ts +5 -24
  163. package/dist/types/v1/models/PaymentMethodRequestApi.d.ts.map +1 -0
  164. package/dist/types/v1/models/PaymentMethodRequestPayloadApi.d.ts +4 -26
  165. package/dist/types/v1/models/PaymentMethodRequestPayloadApi.d.ts.map +1 -0
  166. package/dist/types/v1/models/PaymentMethodUpdatePayloadApi.d.ts +5 -16
  167. package/dist/types/v1/models/PaymentMethodUpdatePayloadApi.d.ts.map +1 -0
  168. package/dist/types/v1/models/PollerStatus.d.ts +3 -15
  169. package/dist/types/v1/models/PollerStatus.d.ts.map +1 -0
  170. package/dist/types/v1/models/RequestPayload.d.ts +22 -0
  171. package/dist/types/v1/models/RequestPayload.d.ts.map +1 -0
  172. package/dist/types/v1/models/SourceMarket.d.ts +3 -15
  173. package/dist/types/v1/models/SourceMarket.d.ts.map +1 -0
  174. package/dist/types/v1/models/TagApi.d.ts +4 -46
  175. package/dist/types/v1/models/TagApi.d.ts.map +1 -0
  176. package/dist/types/v1/models/TaxApi.d.ts +8 -61
  177. package/dist/types/v1/models/TaxApi.d.ts.map +1 -0
  178. package/dist/types/v1/models/TravelTimesApi.d.ts +5 -26
  179. package/dist/types/v1/models/TravelTimesApi.d.ts.map +1 -0
  180. package/dist/types/v1/models/TravelTimesApiTravelTimes.d.ts +4 -36
  181. package/dist/types/v1/models/TravelTimesApiTravelTimes.d.ts.map +1 -0
  182. package/dist/types/v1/models/index.d.ts +74 -74
  183. package/dist/types/v1/models/index.d.ts.map +1 -0
  184. package/dist/types/v1/runtime.d.ts +1 -19
  185. package/dist/types/v1/runtime.d.ts.map +1 -0
  186. package/package.json +11 -11
  187. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf.d.ts +0 -38
  188. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf1.d.ts +0 -38
  189. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf2.d.ts +0 -38
  190. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3.d.ts +0 -34
  191. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3Payload.d.ts +0 -40
  192. package/dist/types/v1/models/HotelOfferApiAllOf.d.ts +0 -37
  193. package/dist/types/v1/models/HotelOffersApiResponseMetaAllOf.d.ts +0 -31
  194. package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf.d.ts +0 -57
  195. package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf1.d.ts +0 -33
  196. package/dist/types/v1/models/HotelRoomingListApiHotelRoom.d.ts +0 -120
  197. package/dist/types/v1/models/MetaPollingResponseApiAllOf.d.ts +0 -21
  198. package/dist/types/v1/models/PaymentMethodApiOneOf.d.ts +0 -34
  199. package/dist/types/v1/models/PaymentMethodApiOneOf1.d.ts +0 -34
  200. package/dist/types/v1/models/PaymentMethodApiOneOf1Payload.d.ts +0 -43
  201. package/dist/types/v1/models/PaymentMethodApiOneOf2.d.ts +0 -34
  202. package/dist/types/v1/models/PaymentMethodApiOneOf2Payload.d.ts +0 -43
  203. package/dist/types/v1/models/PaymentMethodApiOneOf3.d.ts +0 -34
  204. package/dist/types/v1/models/PaymentMethodApiOneOf3Payload.d.ts +0 -58
  205. package/dist/types/v1/models/PaymentMethodApiOneOfPayload.d.ts +0 -43
@@ -1,55 +1,21 @@
1
- import { BookingCreateApiGuestsListInner } from './BookingCreateApiGuestsListInner';
2
- import { ContactPersonApi } from './ContactPersonApi';
3
- import { PaymentMethodRequestApi } from './PaymentMethodRequestApi';
4
- /**
5
- *
6
- * @export
7
- * @interface BookingCreateApi
8
- */
1
+ import type { ContactPersonApi } from './ContactPersonApi.ts';
2
+ import type { OrderAddonSelection } from './OrderAddonSelection.ts';
3
+ import type { BookingCreateApiGuestsListInner } from './BookingCreateApiGuestsListInner.ts';
4
+ import type { PaymentMethodRequestApi } from './PaymentMethodRequestApi.ts';
9
5
  export interface BookingCreateApi {
10
- /**
11
- * Booking policy id to book, returned from previous **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** call
12
- * @type {string}
13
- * @memberof BookingCreateApi
14
- */
6
+ addons?: Array<OrderAddonSelection>;
15
7
  bookingPolicyId: string;
16
- /**
17
- *
18
- * @type {ContactPersonApi}
19
- * @memberof BookingCreateApi
20
- */
21
8
  contactPerson: ContactPersonApi;
22
- /**
23
- *
24
- * @type {Array<BookingCreateApiGuestsListInner>}
25
- * @memberof BookingCreateApi
26
- */
27
9
  guestsList?: Array<BookingCreateApiGuestsListInner>;
28
- /**
29
- * You can use this parameter to attach key-value data to bookings. Metadata is useful for storing additional, structured information on a booking. As an example, you could store your user's full name and corresponding unique identifier from your system on a booking. Metadata is not used internally by the Booking Engine and won't be seen by your users unless you choose to show it to them.
30
- * @type {{ [key: string]: string; }}
31
- * @memberof BookingCreateApi
32
- */
33
10
  metadata?: {
34
11
  [key: string]: string;
35
12
  } | null;
36
- /**
37
- * List of preferred payment methods to be used along with their respective payload (when applicable) in order to fulfill the booking.
38
- * @type {Array<PaymentMethodRequestApi>}
39
- * @memberof BookingCreateApi
40
- */
41
13
  paymentMethods?: Array<PaymentMethodRequestApi>;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof BookingCreateApi
46
- */
47
14
  trackingId?: string | null;
48
15
  }
49
- /**
50
- * Check if a given object implements the BookingCreateApi interface.
51
- */
52
- export declare function instanceOfBookingCreateApi(value: object): boolean;
16
+ export declare function instanceOfBookingCreateApi(value: object): value is BookingCreateApi;
53
17
  export declare function BookingCreateApiFromJSON(json: any): BookingCreateApi;
54
18
  export declare function BookingCreateApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingCreateApi;
55
- export declare function BookingCreateApiToJSON(value?: BookingCreateApi | null): any;
19
+ export declare function BookingCreateApiToJSON(json: any): BookingCreateApi;
20
+ export declare function BookingCreateApiToJSONTyped(value?: BookingCreateApi | null, ignoreDiscriminator?: boolean): any;
21
+ //# sourceMappingURL=BookingCreateApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingCreateApi.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/BookingCreateApi.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAK9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAKpE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAK5F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAW5E,MAAM,WAAW,gBAAgB;IAM7B,MAAM,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAMpC,eAAe,EAAE,MAAM,CAAC;IAMxB,aAAa,EAAE,gBAAgB,CAAC;IAMhC,UAAU,CAAC,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAMpD,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,GAAG,IAAI,CAAC;IAM7C,cAAc,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAMhD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAID,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAInF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAcvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAetH"}
@@ -1,27 +1,11 @@
1
- import { BookingCreateApiGuestsListInnerGuestsInner } from './BookingCreateApiGuestsListInnerGuestsInner';
2
- /**
3
- *
4
- * @export
5
- * @interface BookingCreateApiGuestsListInner
6
- */
1
+ import type { BookingCreateApiGuestsListInnerGuestsInner } from './BookingCreateApiGuestsListInnerGuestsInner.ts';
7
2
  export interface BookingCreateApiGuestsListInner {
8
- /**
9
- *
10
- * @type {Array<BookingCreateApiGuestsListInnerGuestsInner>}
11
- * @memberof BookingCreateApiGuestsListInner
12
- */
13
3
  guests: Array<BookingCreateApiGuestsListInnerGuestsInner>;
14
- /**
15
- *
16
- * @type {string}
17
- * @memberof BookingCreateApiGuestsListInner
18
- */
19
4
  hotelRoomId: string;
20
5
  }
21
- /**
22
- * Check if a given object implements the BookingCreateApiGuestsListInner interface.
23
- */
24
- export declare function instanceOfBookingCreateApiGuestsListInner(value: object): boolean;
6
+ export declare function instanceOfBookingCreateApiGuestsListInner(value: object): value is BookingCreateApiGuestsListInner;
25
7
  export declare function BookingCreateApiGuestsListInnerFromJSON(json: any): BookingCreateApiGuestsListInner;
26
8
  export declare function BookingCreateApiGuestsListInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingCreateApiGuestsListInner;
27
- export declare function BookingCreateApiGuestsListInnerToJSON(value?: BookingCreateApiGuestsListInner | null): any;
9
+ export declare function BookingCreateApiGuestsListInnerToJSON(json: any): BookingCreateApiGuestsListInner;
10
+ export declare function BookingCreateApiGuestsListInnerToJSONTyped(value?: BookingCreateApiGuestsListInner | null, ignoreDiscriminator?: boolean): any;
11
+ //# sourceMappingURL=BookingCreateApiGuestsListInner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingCreateApiGuestsListInner.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/BookingCreateApiGuestsListInner.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAWlH,MAAM,WAAW,+BAA+B;IAM5C,MAAM,EAAE,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAM1D,WAAW,EAAE,MAAM,CAAC;CACvB;AAID,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+BAA+B,CAIjH;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CASrI;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAEhG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpJ"}
@@ -1,31 +1,9 @@
1
- /**
2
- * Revolugo Booking API Reference
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 1.5.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface BookingCreateApiGuestsListInnerGuestsInner
16
- */
17
1
  export interface BookingCreateApiGuestsListInnerGuestsInner {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof BookingCreateApiGuestsListInnerGuestsInner
22
- */
23
2
  fullname: string;
24
3
  }
25
- /**
26
- * Check if a given object implements the BookingCreateApiGuestsListInnerGuestsInner interface.
27
- */
28
- export declare function instanceOfBookingCreateApiGuestsListInnerGuestsInner(value: object): boolean;
4
+ export declare function instanceOfBookingCreateApiGuestsListInnerGuestsInner(value: object): value is BookingCreateApiGuestsListInnerGuestsInner;
29
5
  export declare function BookingCreateApiGuestsListInnerGuestsInnerFromJSON(json: any): BookingCreateApiGuestsListInnerGuestsInner;
30
6
  export declare function BookingCreateApiGuestsListInnerGuestsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingCreateApiGuestsListInnerGuestsInner;
31
- export declare function BookingCreateApiGuestsListInnerGuestsInnerToJSON(value?: BookingCreateApiGuestsListInnerGuestsInner | null): any;
7
+ export declare function BookingCreateApiGuestsListInnerGuestsInnerToJSON(json: any): BookingCreateApiGuestsListInnerGuestsInner;
8
+ export declare function BookingCreateApiGuestsListInnerGuestsInnerToJSONTyped(value?: BookingCreateApiGuestsListInnerGuestsInner | null, ignoreDiscriminator?: boolean): any;
9
+ //# sourceMappingURL=BookingCreateApiGuestsListInnerGuestsInner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingCreateApiGuestsListInnerGuestsInner.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/BookingCreateApiGuestsListInnerGuestsInner.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,0CAA0C;IAMvD,QAAQ,EAAE,MAAM,CAAC;CACpB;AAID,wBAAgB,oDAAoD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0CAA0C,CAGvI;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAExH;AAED,wBAAgB,uDAAuD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0CAA0C,CAQ3J;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAEtH;AAED,wBAAgB,qDAAqD,CAAC,KAAK,CAAC,EAAE,0CAA0C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS1K"}
@@ -1,105 +1,26 @@
1
- import { CancellationPolicyApi } from './CancellationPolicyApi';
2
- import { CurrencyClient } from './CurrencyClient';
3
- import { HotelRoomOfferApi } from './HotelRoomOfferApi';
4
- /**
5
- *
6
- * @export
7
- * @interface BookingPoliciesApi
8
- */
1
+ import type { CancellationPolicyApi } from './CancellationPolicyApi.ts';
2
+ import type { HotelRoomOfferApi } from './HotelRoomOfferApi.ts';
3
+ import type { OrderAddon } from './OrderAddon.ts';
4
+ import type { CurrencyClient } from './CurrencyClient.ts';
9
5
  export interface BookingPoliciesApi {
10
- /**
11
- * The total number of adults who will be staying in the property.
12
- * @type {number}
13
- * @memberof BookingPoliciesApi
14
- */
6
+ addons?: Array<OrderAddon>;
15
7
  adultCount: number;
16
- /**
17
- * The list of cancellation policy date range with their corresponding penalty percentage.
18
- * @type {Array<CancellationPolicyApi>}
19
- * @memberof BookingPoliciesApi
20
- */
21
8
  cancellationPolicies: Array<CancellationPolicyApi>;
22
- /**
23
- * Date of check-in formatted as YYYY-MM-DD.
24
- * @type {string}
25
- * @memberof BookingPoliciesApi
26
- */
27
9
  checkInDate: string;
28
- /**
29
- * Date of check-out formatted as YYYY-MM-DD.
30
- * @type {string}
31
- * @memberof BookingPoliciesApi
32
- */
33
10
  checkOutDate: string;
34
- /**
35
- * A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
36
- * @type {string}
37
- * @memberof BookingPoliciesApi
38
- */
39
11
  children?: string | null;
40
- /**
41
- *
42
- * @type {CurrencyClient}
43
- * @memberof BookingPoliciesApi
44
- */
45
12
  currency: CurrencyClient;
46
- /**
47
- * Expiration date for this **Booking Policy**.
48
- *
49
- * 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.
50
- * @type {Date}
51
- * @memberof BookingPoliciesApi
52
- */
53
13
  expiresAt: Date | null;
54
- /**
55
- *
56
- * @type {boolean}
57
- * @memberof BookingPoliciesApi
58
- */
59
14
  hasRoomingLists: boolean;
60
- /**
61
- * Hotel id
62
- * @type {string}
63
- * @memberof BookingPoliciesApi
64
- */
65
15
  hotelId: string;
66
- /**
67
- *
68
- * @type {HotelRoomOfferApi}
69
- * @memberof BookingPoliciesApi
70
- */
71
16
  hotelRoomOffer: HotelRoomOfferApi;
72
- /**
73
- * **Booking Policy** id
74
- * @type {string}
75
- * @memberof BookingPoliciesApi
76
- */
77
17
  id: string;
78
- /**
79
- * Indicates whether the cancellation policies of the **Hotel Room Offer** have changed (become stricter) compared to those returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers).
80
- *
81
- * If **is_cancellation_policies_updated** is **true**, the cancellation policies are now less favourable than when the offer was first retrieved. ⚠️ It is strongly advised to clearly inform your customer of any cancellation policy change that may occur.
82
- * @type {boolean}
83
- * @memberof BookingPoliciesApi
84
- */
85
18
  isCancellationPoliciesUpdated: boolean;
86
- /**
87
- * Indicates whether the price of the **Hotel Room Offer** (without breakfast included) has increased compared to the price returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers).
88
- *
89
- * 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.
90
- *
91
- * 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).
92
- *
93
- * ⚠️ It is strongly advised to clearly inform your customer of any price increase that may occur.
94
- * @type {boolean}
95
- * @memberof BookingPoliciesApi
96
- */
97
19
  isPriceIncreased: boolean;
98
20
  }
99
- /**
100
- * Check if a given object implements the BookingPoliciesApi interface.
101
- */
102
- export declare function instanceOfBookingPoliciesApi(value: object): boolean;
21
+ export declare function instanceOfBookingPoliciesApi(value: object): value is BookingPoliciesApi;
103
22
  export declare function BookingPoliciesApiFromJSON(json: any): BookingPoliciesApi;
104
23
  export declare function BookingPoliciesApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingPoliciesApi;
105
- export declare function BookingPoliciesApiToJSON(value?: BookingPoliciesApi | null): any;
24
+ export declare function BookingPoliciesApiToJSON(json: any): BookingPoliciesApi;
25
+ export declare function BookingPoliciesApiToJSONTyped(value?: BookingPoliciesApi | null, ignoreDiscriminator?: boolean): any;
26
+ //# sourceMappingURL=BookingPoliciesApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingPoliciesApi.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/BookingPoliciesApi.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAKxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAKhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAKlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAW1D,MAAM,WAAW,kBAAkB;IAM/B,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAM3B,UAAU,EAAE,MAAM,CAAC;IAMnB,oBAAoB,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAMnD,WAAW,EAAE,MAAM,CAAC;IAMpB,YAAY,EAAE,MAAM,CAAC;IAMrB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAMzB,QAAQ,EAAE,cAAc,CAAC;IAQzB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAMvB,eAAe,EAAE,OAAO,CAAC;IAMzB,OAAO,EAAE,MAAM,CAAC;IAMhB,cAAc,EAAE,iBAAiB,CAAC;IAMlC,EAAE,EAAE,MAAM,CAAC;IAQX,6BAA6B,EAAE,OAAO,CAAC;IAYvC,gBAAgB,EAAE,OAAO,CAAC;CAC7B;AAMD,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAcvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAqB3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsB1H"}
@@ -1,53 +1,13 @@
1
- import { Locale } from './Locale';
2
- /**
3
- *
4
- * @export
5
- * @interface BookingPoliciesCreateApi
6
- */
1
+ import type { Locale } from './Locale.ts';
7
2
  export interface BookingPoliciesCreateApi {
8
- /**
9
- * This parameter allows to add breakfast to the booking as long as every requested Hotel Room Offers **breakfast_option = OPTIONAL** .
10
- *
11
- * The final breakfast count that will be included in the Hotel Room Offer will be returned in the response and is calculated as follows:
12
- *
13
- * - 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,
14
- *
15
- * - 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**.
16
- *
17
- * <div style="background-color: #ffffef; padding: 20px; border: 1px solid lightgrey; border-radius: 5px;"><b style="color: red; margin-top: 10px;">🛑 DEPRECATED.</b>
18
- *
19
- * <b style="color: orange;">If you already use this field, don't worry as we still support it with the following behaviour:</b>
20
- * - <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>
21
- * - <span style="color: orange;">Otherwise **breakfast_count = 0**.</span></div>
22
- * @type {boolean}
23
- * @memberof BookingPoliciesCreateApi
24
- */
25
3
  addBreakfast?: boolean | null;
26
- /**
27
- * 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.
28
- *
29
- * ⚠️ 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.
30
- * @type {number}
31
- * @memberof BookingPoliciesCreateApi
32
- */
33
4
  breakfastCount?: number;
34
- /**
35
- * 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**
36
- * @type {string}
37
- * @memberof BookingPoliciesCreateApi
38
- */
39
5
  hotelRoomOfferId: string;
40
- /**
41
- *
42
- * @type {Locale}
43
- * @memberof BookingPoliciesCreateApi
44
- */
45
6
  lang?: Locale | null;
46
7
  }
47
- /**
48
- * Check if a given object implements the BookingPoliciesCreateApi interface.
49
- */
50
- export declare function instanceOfBookingPoliciesCreateApi(value: object): boolean;
8
+ export declare function instanceOfBookingPoliciesCreateApi(value: object): value is BookingPoliciesCreateApi;
51
9
  export declare function BookingPoliciesCreateApiFromJSON(json: any): BookingPoliciesCreateApi;
52
10
  export declare function BookingPoliciesCreateApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingPoliciesCreateApi;
53
- export declare function BookingPoliciesCreateApiToJSON(value?: BookingPoliciesCreateApi | null): any;
11
+ export declare function BookingPoliciesCreateApiToJSON(json: any): BookingPoliciesCreateApi;
12
+ export declare function BookingPoliciesCreateApiToJSONTyped(value?: BookingPoliciesCreateApi | null, ignoreDiscriminator?: boolean): any;
13
+ //# sourceMappingURL=BookingPoliciesCreateApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingPoliciesCreateApi.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/BookingPoliciesCreateApi.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAW1C,MAAM,WAAW,wBAAwB;IAkBrC,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAQ9B,cAAc,CAAC,EAAE,MAAM,CAAC;IAMxB,gBAAgB,EAAE,MAAM,CAAC;IAMzB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAMD,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAGnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAWvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYtI"}
@@ -1,28 +1,12 @@
1
- import { BookingApi } from './BookingApi';
2
- import { MetaResponseApi } from './MetaResponseApi';
3
- /**
4
- *
5
- * @export
6
- * @interface BookingsApiResponse
7
- */
1
+ import type { BookingApi } from './BookingApi.ts';
2
+ import type { MetaResponseApi } from './MetaResponseApi.ts';
8
3
  export interface BookingsApiResponse {
9
- /**
10
- * List of detailed Bookings
11
- * @type {Array<BookingApi>}
12
- * @memberof BookingsApiResponse
13
- */
14
4
  data: Array<BookingApi>;
15
- /**
16
- *
17
- * @type {MetaResponseApi}
18
- * @memberof BookingsApiResponse
19
- */
20
5
  meta: MetaResponseApi;
21
6
  }
22
- /**
23
- * Check if a given object implements the BookingsApiResponse interface.
24
- */
25
- export declare function instanceOfBookingsApiResponse(value: object): boolean;
7
+ export declare function instanceOfBookingsApiResponse(value: object): value is BookingsApiResponse;
26
8
  export declare function BookingsApiResponseFromJSON(json: any): BookingsApiResponse;
27
9
  export declare function BookingsApiResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingsApiResponse;
28
- export declare function BookingsApiResponseToJSON(value?: BookingsApiResponse | null): any;
10
+ export declare function BookingsApiResponseToJSON(json: any): BookingsApiResponse;
11
+ export declare function BookingsApiResponseToJSONTyped(value?: BookingsApiResponse | null, ignoreDiscriminator?: boolean): any;
12
+ //# sourceMappingURL=BookingsApiResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingsApiResponse.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/BookingsApiResponse.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAKlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAW5D,MAAM,WAAW,mBAAmB;IAMhC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAMxB,IAAI,EAAE,eAAe,CAAC;CACzB;AAID,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAIzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAS7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5H"}
@@ -0,0 +1,12 @@
1
+ export declare const BreakfastOption: {
2
+ readonly Included: "INCLUDED";
3
+ readonly NotIncluded: "NOT_INCLUDED";
4
+ readonly Optional: "OPTIONAL";
5
+ };
6
+ export type BreakfastOption = typeof BreakfastOption[keyof typeof BreakfastOption];
7
+ export declare function instanceOfBreakfastOption(value: any): boolean;
8
+ export declare function BreakfastOptionFromJSON(json: any): BreakfastOption;
9
+ export declare function BreakfastOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BreakfastOption;
10
+ export declare function BreakfastOptionToJSON(value?: BreakfastOption | null): any;
11
+ export declare function BreakfastOptionToJSONTyped(value: any, ignoreDiscriminator: boolean): BreakfastOption;
12
+ //# sourceMappingURL=BreakfastOption.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BreakfastOption.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/BreakfastOption.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAGnF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS7D;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAErG;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,GAAG,CAEzE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAEpG"}
@@ -1,43 +1,11 @@
1
- /**
2
- * Revolugo Booking API Reference
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 1.5.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface CancellationPolicyApi
16
- */
17
1
  export interface CancellationPolicyApi {
18
- /**
19
- * The start date and time of the cancellation policy, given in the hotel timezone.
20
- * @type {string}
21
- * @memberof CancellationPolicyApi
22
- */
23
2
  dateFrom: string;
24
- /**
25
- * The end date and time of the cancellation policy, given in the hotel timezone.
26
- * @type {string}
27
- * @memberof CancellationPolicyApi
28
- */
29
3
  dateTo: string;
30
- /**
31
- * The penalty percentage that is due in case of cancellation during the **date_from** to **date_to** period range.
32
- * @type {number}
33
- * @memberof CancellationPolicyApi
34
- */
35
4
  penaltyPercentage: number;
36
5
  }
37
- /**
38
- * Check if a given object implements the CancellationPolicyApi interface.
39
- */
40
- export declare function instanceOfCancellationPolicyApi(value: object): boolean;
6
+ export declare function instanceOfCancellationPolicyApi(value: object): value is CancellationPolicyApi;
41
7
  export declare function CancellationPolicyApiFromJSON(json: any): CancellationPolicyApi;
42
8
  export declare function CancellationPolicyApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancellationPolicyApi;
43
- export declare function CancellationPolicyApiToJSON(value?: CancellationPolicyApi | null): any;
9
+ export declare function CancellationPolicyApiToJSON(json: any): CancellationPolicyApi;
10
+ export declare function CancellationPolicyApiToJSONTyped(value?: CancellationPolicyApi | null, ignoreDiscriminator?: boolean): any;
11
+ //# sourceMappingURL=CancellationPolicyApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CancellationPolicyApi.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/CancellationPolicyApi.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,qBAAqB;IAMlC,QAAQ,EAAE,MAAM,CAAC;IAMjB,MAAM,EAAE,MAAM,CAAC;IAMf,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAID,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAK7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAUjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhI"}
@@ -1,100 +1,22 @@
1
- import { ContactPersonOrganizationApi } from './ContactPersonOrganizationApi';
2
- import { CountryIso2Code } from './CountryIso2Code';
3
- import { Locale } from './Locale';
4
- /**
5
- * Contact details that will be used to communicate with the contact person for booking related communication (confirmation, modification, etc)
6
- * @export
7
- * @interface ContactPersonApi
8
- */
1
+ import type { Locale } from './Locale.ts';
2
+ import type { ContactPersonOrganizationApi } from './ContactPersonOrganizationApi.ts';
3
+ import type { CountryIso2Code } from './CountryIso2Code.ts';
9
4
  export interface ContactPersonApi {
10
- /**
11
- * Contact person's postal code of residence
12
- * @type {string}
13
- * @memberof ContactPersonApi
14
- */
15
5
  address?: string | null;
16
- /**
17
- * Contact person's city of residence
18
- * @type {string}
19
- * @memberof ContactPersonApi
20
- */
21
6
  city?: string | null;
22
- /**
23
- *
24
- * @type {CountryIso2Code}
25
- * @memberof ContactPersonApi
26
- */
27
7
  country?: CountryIso2Code | null;
28
- /**
29
- * Contact person's email address
30
- * @type {string}
31
- * @memberof ContactPersonApi
32
- */
33
8
  email: string;
34
- /**
35
- * Contact person's first name
36
- * @type {string}
37
- * @memberof ContactPersonApi
38
- */
39
9
  firstName: string;
40
- /**
41
- *
42
- * @type {Locale}
43
- * @memberof ContactPersonApi
44
- */
45
- lang?: Locale;
46
- /**
47
- * Contact person's last name
48
- * @type {string}
49
- * @memberof ContactPersonApi
50
- */
10
+ lang?: Locale | null;
51
11
  lastName: string;
52
- /**
53
- *
54
- * @type {CountryIso2Code}
55
- * @memberof ContactPersonApi
56
- */
57
- nationality: CountryIso2Code;
58
- /**
59
- *
60
- * @type {ContactPersonOrganizationApi}
61
- * @memberof ContactPersonApi
62
- */
12
+ nationality: CountryIso2Code | null;
63
13
  organization?: ContactPersonOrganizationApi | null;
64
- /**
65
- * Contact person's phone number
66
- * @type {string}
67
- * @memberof ContactPersonApi
68
- */
69
14
  phone: string;
70
- /**
71
- * Contact person's remarks
72
- * @type {string}
73
- * @memberof ContactPersonApi
74
- */
75
15
  remarks?: string;
76
- /**
77
- * Title of the contact person
78
- * @type {string}
79
- * @memberof ContactPersonApi
80
- */
81
- salutation?: ContactPersonApiSalutationEnum;
82
- /**
83
- * Contact person's state of residence
84
- * @type {string}
85
- * @memberof ContactPersonApi
86
- */
16
+ salutation?: ContactPersonApiSalutationEnum | null;
87
17
  state?: string | null;
88
- /**
89
- * Contact person's postal code of residence
90
- * @type {string}
91
- * @memberof ContactPersonApi
92
- */
93
18
  zipCode?: string | null;
94
19
  }
95
- /**
96
- * @export
97
- */
98
20
  export declare const ContactPersonApiSalutationEnum: {
99
21
  readonly Dr: "dr";
100
22
  readonly Mr: "mr";
@@ -104,10 +26,9 @@ export declare const ContactPersonApiSalutationEnum: {
104
26
  readonly Prof: "prof";
105
27
  };
106
28
  export type ContactPersonApiSalutationEnum = typeof ContactPersonApiSalutationEnum[keyof typeof ContactPersonApiSalutationEnum];
107
- /**
108
- * Check if a given object implements the ContactPersonApi interface.
109
- */
110
- export declare function instanceOfContactPersonApi(value: object): boolean;
29
+ export declare function instanceOfContactPersonApi(value: object): value is ContactPersonApi;
111
30
  export declare function ContactPersonApiFromJSON(json: any): ContactPersonApi;
112
31
  export declare function ContactPersonApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactPersonApi;
113
- export declare function ContactPersonApiToJSON(value?: ContactPersonApi | null): any;
32
+ export declare function ContactPersonApiToJSON(json: any): ContactPersonApi;
33
+ export declare function ContactPersonApiToJSONTyped(value?: ContactPersonApi | null, ignoreDiscriminator?: boolean): any;
34
+ //# sourceMappingURL=ContactPersonApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContactPersonApi.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/ContactPersonApi.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAK1C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAKtF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAW5D,MAAM,WAAW,gBAAgB;IAM7B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAMxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAMrB,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAMjC,KAAK,EAAE,MAAM,CAAC;IAMd,SAAS,EAAE,MAAM,CAAC;IAMlB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAMrB,QAAQ,EAAE,MAAM,CAAC;IAMjB,WAAW,EAAE,eAAe,GAAG,IAAI,CAAC;IAMpC,YAAY,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAMnD,KAAK,EAAE,MAAM,CAAC;IAMd,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,UAAU,CAAC,EAAE,8BAA8B,GAAG,IAAI,CAAC;IAMnD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAMtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAMD,eAAO,MAAM,8BAA8B;;;;;;;CAOjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAKhI,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAOnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAqBvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsBtH"}
@@ -1,57 +1,16 @@
1
- import { CountryIso2Code } from './CountryIso2Code';
2
- /**
3
- * Organization details of the contact person for invoicing purposes
4
- * @export
5
- * @interface ContactPersonOrganizationApi
6
- */
1
+ import type { CountryIso2Code } from './CountryIso2Code.ts';
7
2
  export interface ContactPersonOrganizationApi {
8
- /**
9
- * Address of the organization
10
- * @type {string}
11
- * @memberof ContactPersonOrganizationApi
12
- */
13
3
  address: string;
14
- /**
15
- * City of the organization
16
- * @type {string}
17
- * @memberof ContactPersonOrganizationApi
18
- */
19
4
  city: string;
20
- /**
21
- *
22
- * @type {CountryIso2Code}
23
- * @memberof ContactPersonOrganizationApi
24
- */
25
- country: CountryIso2Code;
26
- /**
27
- * Name of the organization
28
- * @type {string}
29
- * @memberof ContactPersonOrganizationApi
30
- */
5
+ country: CountryIso2Code | null;
31
6
  name: string;
32
- /**
33
- * State of the organization
34
- * @type {string}
35
- * @memberof ContactPersonOrganizationApi
36
- */
37
7
  state?: string | null;
38
- /**
39
- * VAT Number of the organization
40
- * @type {string}
41
- * @memberof ContactPersonOrganizationApi
42
- */
43
8
  vatNumber?: string | null;
44
- /**
45
- * ZIP Code of the organization
46
- * @type {string}
47
- * @memberof ContactPersonOrganizationApi
48
- */
49
9
  zipCode: string;
50
10
  }
51
- /**
52
- * Check if a given object implements the ContactPersonOrganizationApi interface.
53
- */
54
- export declare function instanceOfContactPersonOrganizationApi(value: object): boolean;
11
+ export declare function instanceOfContactPersonOrganizationApi(value: object): value is ContactPersonOrganizationApi;
55
12
  export declare function ContactPersonOrganizationApiFromJSON(json: any): ContactPersonOrganizationApi;
56
13
  export declare function ContactPersonOrganizationApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactPersonOrganizationApi;
57
- export declare function ContactPersonOrganizationApiToJSON(value?: ContactPersonOrganizationApi | null): any;
14
+ export declare function ContactPersonOrganizationApiToJSON(json: any): ContactPersonOrganizationApi;
15
+ export declare function ContactPersonOrganizationApiToJSONTyped(value?: ContactPersonOrganizationApi | null, ignoreDiscriminator?: boolean): any;
16
+ //# sourceMappingURL=ContactPersonOrganizationApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContactPersonOrganizationApi.d.ts","sourceRoot":"","sources":["../../../../src/v1/models/ContactPersonOrganizationApi.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAW5D,MAAM,WAAW,4BAA4B;IAMzC,OAAO,EAAE,MAAM,CAAC;IAMhB,IAAI,EAAE,MAAM,CAAC;IAMb,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAMhC,IAAI,EAAE,MAAM,CAAC;IAMb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAMtB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAM1B,OAAO,EAAE,MAAM,CAAC;CACnB;AAMD,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAO3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAc/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe9I"}