@ventrata/octo-types 0.0.1 → 0.0.2

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 (480) hide show
  1. package/dist/index.d.ts +473 -0
  2. package/dist/models/AdjustmentDiscount.d.ts +10 -0
  3. package/dist/models/AdjustmentPer.d.ts +8 -0
  4. package/dist/models/Agent.d.ts +18 -0
  5. package/dist/models/Availability.d.ts +134 -0
  6. package/dist/models/AvailabilityCalendarBody.d.ts +24 -0
  7. package/dist/models/AvailabilityCalendarErrorResponse.d.ts +2 -0
  8. package/dist/models/AvailabilityCalendarRequest.d.ts +4 -0
  9. package/dist/models/AvailabilityCheckBody.d.ts +28 -0
  10. package/dist/models/AvailabilityCheckErrorResponse.d.ts +2 -0
  11. package/dist/models/AvailabilityCheckRequest.d.ts +4 -0
  12. package/dist/models/AvailabilityContent.d.ts +32 -0
  13. package/dist/models/AvailabilityOffers.d.ts +19 -0
  14. package/dist/models/AvailabilityPickups.d.ts +18 -0
  15. package/dist/models/AvailabilityPricing.d.ts +12 -0
  16. package/dist/models/AvailabilityStatus.d.ts +7 -0
  17. package/dist/models/AvailabilityType.d.ts +4 -0
  18. package/dist/models/AvailabilityUnit.d.ts +12 -0
  19. package/dist/models/Booking.d.ts +281 -0
  20. package/dist/models/BookingAdjustment.d.ts +17 -0
  21. package/dist/models/BookingAdjustments.d.ts +7 -0
  22. package/dist/models/BookingCancellation.d.ts +15 -0
  23. package/dist/models/BookingCancellationBody.d.ts +2 -0
  24. package/dist/models/BookingCancellationErrorResponse.d.ts +2 -0
  25. package/dist/models/BookingCancellationRequest.d.ts +5 -0
  26. package/dist/models/BookingCart.d.ts +5 -0
  27. package/dist/models/BookingConfirmationBody.d.ts +20 -0
  28. package/dist/models/BookingConfirmationErrorResponse.d.ts +2 -0
  29. package/dist/models/BookingConfirmationRequest_uuid.d.ts +4 -0
  30. package/dist/models/BookingContact.d.ts +58 -0
  31. package/dist/models/BookingContent.d.ts +12 -0
  32. package/dist/models/BookingExtras.d.ts +4 -0
  33. package/dist/models/BookingGifts.d.ts +4 -0
  34. package/dist/models/BookingIdentities.d.ts +5 -0
  35. package/dist/models/BookingOffers.d.ts +22 -0
  36. package/dist/models/BookingPackages.d.ts +24 -0
  37. package/dist/models/BookingPickups.d.ts +29 -0
  38. package/dist/models/BookingPricing.d.ts +7 -0
  39. package/dist/models/BookingQuestions.d.ts +8 -0
  40. package/dist/models/BookingRejection.d.ts +10 -0
  41. package/dist/models/BookingReservationBody.d.ts +68 -0
  42. package/dist/models/BookingReservationErrorResponse.d.ts +2 -0
  43. package/dist/models/BookingReservationRequest.d.ts +4 -0
  44. package/dist/models/BookingResources.d.ts +7 -0
  45. package/dist/models/BookingStatus.d.ts +11 -0
  46. package/dist/models/BookingUpdateBody.d.ts +63 -0
  47. package/dist/models/BookingUpdateRequest.d.ts +4 -0
  48. package/dist/models/Brand.d.ts +17 -0
  49. package/dist/models/BrandContact.d.ts +7 -0
  50. package/dist/models/CancellationCutoffUnit.d.ts +5 -0
  51. package/dist/models/Capability.d.ts +23 -0
  52. package/dist/models/Category.d.ts +38 -0
  53. package/dist/models/ContactField.d.ts +11 -0
  54. package/dist/models/CreateWaitlistRequest.d.ts +11 -0
  55. package/dist/models/CustomerContact.d.ts +62 -0
  56. package/dist/models/DefaultableID.d.ts +6 -0
  57. package/dist/models/DeliveryFormat.d.ts +6 -0
  58. package/dist/models/DeliveryMethod.d.ts +4 -0
  59. package/dist/models/DeliveryOption.d.ts +17 -0
  60. package/dist/models/Destination.d.ts +86 -0
  61. package/dist/models/DestinationContact.d.ts +25 -0
  62. package/dist/models/DurationUnit.d.ts +5 -0
  63. package/dist/models/ExtendReservationBody.d.ts +2 -0
  64. package/dist/models/ExtendReservationErrorResponse.d.ts +2 -0
  65. package/dist/models/ExtendReservationRequest.d.ts +5 -0
  66. package/dist/models/Extra.d.ts +40 -0
  67. package/dist/models/ExtraItem.d.ts +20 -0
  68. package/dist/models/ExtraRestrictions.d.ts +18 -0
  69. package/dist/models/FAQ.d.ts +10 -0
  70. package/dist/models/Font.d.ts +14 -0
  71. package/dist/models/GetBookingRequest.d.ts +2 -0
  72. package/dist/models/GetBookingsRequest.d.ts +2 -0
  73. package/dist/models/GetProductRequest.d.ts +2 -0
  74. package/dist/models/GetProductsRequest.d.ts +2 -0
  75. package/dist/models/GetSupplierRequest.d.ts +2 -0
  76. package/dist/models/GetYourGuideActivateBody.d.ts +14 -0
  77. package/dist/models/GetYourGuideActivateRequest.d.ts +4 -0
  78. package/dist/models/GetYourGuideActivateRequestHeaders_octoCapabilities.d.ts +4 -0
  79. package/dist/models/GetYourGuideConnection.d.ts +31 -0
  80. package/dist/models/Gift.d.ts +50 -0
  81. package/dist/models/GiftIdentities.d.ts +5 -0
  82. package/dist/models/GiftPayment.d.ts +5 -0
  83. package/dist/models/GoogleLocalizedText.d.ts +10 -0
  84. package/dist/models/GoogleLocation.d.ts +11 -0
  85. package/dist/models/GoogleOperator.d.ts +22 -0
  86. package/dist/models/GoogleOptionCategory.d.ts +6 -0
  87. package/dist/models/GoogleOptions.d.ts +35 -0
  88. package/dist/models/GoogleRating.d.ts +10 -0
  89. package/dist/models/GoogleRelatedLocation.d.ts +17 -0
  90. package/dist/models/GoogleUrl.d.ts +6 -0
  91. package/dist/models/Identity.d.ts +7 -0
  92. package/dist/models/Image.d.ts +5 -0
  93. package/dist/models/Include.d.ts +28 -0
  94. package/dist/models/ItineraryItem.d.ts +60 -0
  95. package/dist/models/ItineraryItemType.d.ts +6 -0
  96. package/dist/models/Label.d.ts +4 -0
  97. package/dist/models/ListOrdersRequest.d.ts +10 -0
  98. package/dist/models/Mapping.d.ts +51 -0
  99. package/dist/models/MediaRel.d.ts +5 -0
  100. package/dist/models/MediaType.d.ts +8 -0
  101. package/dist/models/NetDiscount.d.ts +6 -0
  102. package/dist/models/Notice.d.ts +6 -0
  103. package/dist/models/Octo_AvailabilityCalendar.d.ts +45 -0
  104. package/dist/models/Octo_AvailabilityCalendarErrorResponse.d.ts +9 -0
  105. package/dist/models/Octo_AvailabilityCheckErrorResponse.d.ts +9 -0
  106. package/dist/models/Octo_BaseError.d.ts +10 -0
  107. package/dist/models/Octo_BookingCancellationBody.d.ts +10 -0
  108. package/dist/models/Octo_BookingCancellationErrorResponse.d.ts +8 -0
  109. package/dist/models/Octo_BookingCancellationRequest.d.ts +8 -0
  110. package/dist/models/Octo_BookingCancellationRequest_uuid.d.ts +4 -0
  111. package/dist/models/Octo_BookingConfirmationErrorResponse.d.ts +12 -0
  112. package/dist/models/Octo_BookingReservationErrorResponse.d.ts +11 -0
  113. package/dist/models/Octo_ErrorBadRequest.d.ts +2 -0
  114. package/dist/models/Octo_ErrorForbidden.d.ts +2 -0
  115. package/dist/models/Octo_ErrorInternalServerError.d.ts +2 -0
  116. package/dist/models/Octo_ErrorInvalidAvailabilityID.d.ts +7 -0
  117. package/dist/models/Octo_ErrorInvalidBookingUUID.d.ts +7 -0
  118. package/dist/models/Octo_ErrorInvalidOptionID.d.ts +7 -0
  119. package/dist/models/Octo_ErrorInvalidProductID.d.ts +7 -0
  120. package/dist/models/Octo_ErrorInvalidUnitID.d.ts +7 -0
  121. package/dist/models/Octo_ErrorUnauthorized.d.ts +2 -0
  122. package/dist/models/Octo_ErrorUnprocessableEntity.d.ts +2 -0
  123. package/dist/models/Octo_ExtendReservationBody.d.ts +3 -0
  124. package/dist/models/Octo_ExtendReservationErrorResponse.d.ts +8 -0
  125. package/dist/models/Octo_ExtendReservationRequest.d.ts +8 -0
  126. package/dist/models/Octo_ExtendReservationRequest_uuid.d.ts +4 -0
  127. package/dist/models/Octo_GetBookingRequest.d.ts +6 -0
  128. package/dist/models/Octo_GetBookingRequest_uuid.d.ts +4 -0
  129. package/dist/models/Octo_GetBookingsRequest.d.ts +30 -0
  130. package/dist/models/Octo_GetBookingsRequest_localDate.d.ts +4 -0
  131. package/dist/models/Octo_GetBookingsRequest_localDateEnd.d.ts +4 -0
  132. package/dist/models/Octo_GetBookingsRequest_localDateStart.d.ts +4 -0
  133. package/dist/models/Octo_GetBookingsRequest_optionId.d.ts +4 -0
  134. package/dist/models/Octo_GetBookingsRequest_productId.d.ts +4 -0
  135. package/dist/models/Octo_GetBookingsRequest_resellerReference.d.ts +4 -0
  136. package/dist/models/Octo_GetBookingsRequest_supplierReference.d.ts +4 -0
  137. package/dist/models/Octo_GetProductRequest.d.ts +6 -0
  138. package/dist/models/Octo_GetProductRequest_id.d.ts +4 -0
  139. package/dist/models/Octo_GetProductsRequest.d.ts +1 -0
  140. package/dist/models/Octo_GetSupplierRequest.d.ts +1 -0
  141. package/dist/models/Octo_Media.d.ts +35 -0
  142. package/dist/models/Octo_OpeningHours.d.ts +13 -0
  143. package/dist/models/Octo_Pricing.d.ts +27 -0
  144. package/dist/models/Octo_PricingUnit.d.ts +7 -0
  145. package/dist/models/Octo_RequestHeaders.d.ts +1 -0
  146. package/dist/models/Octo_RequestHeadersContent.d.ts +4 -0
  147. package/dist/models/Octo_RequestHeaders_octoCapabilities.d.ts +4 -0
  148. package/dist/models/Octo_ResponseHeaders.d.ts +1 -0
  149. package/dist/models/Octo_Tax.d.ts +15 -0
  150. package/dist/models/Offer.d.ts +28 -0
  151. package/dist/models/OfferCombination.d.ts +37 -0
  152. package/dist/models/OfferComparison.d.ts +29 -0
  153. package/dist/models/OfferDiscount.d.ts +15 -0
  154. package/dist/models/OfferRestrictions.d.ts +22 -0
  155. package/dist/models/OpeningHours.d.ts +25 -0
  156. package/dist/models/OpeningHoursContent.d.ts +14 -0
  157. package/dist/models/Option.d.ts +156 -0
  158. package/dist/models/OptionContent.d.ts +55 -0
  159. package/dist/models/OptionExtras.d.ts +4 -0
  160. package/dist/models/OptionPackages.d.ts +4 -0
  161. package/dist/models/OptionPickups.d.ts +18 -0
  162. package/dist/models/OptionQuestions.d.ts +7 -0
  163. package/dist/models/OptionRestrictions.d.ts +18 -0
  164. package/dist/models/Order.d.ts +36 -0
  165. package/dist/models/OrderGifts.d.ts +4 -0
  166. package/dist/models/OrderIdentities.d.ts +5 -0
  167. package/dist/models/OrderOffers.d.ts +4 -0
  168. package/dist/models/PackageInclude.d.ts +15 -0
  169. package/dist/models/Partner.d.ts +11 -0
  170. package/dist/models/PartnerEnum.d.ts +3 -0
  171. package/dist/models/PartnersConnection.d.ts +14 -0
  172. package/dist/models/PartnersListConnection.d.ts +17 -0
  173. package/dist/models/PartnersListConnectionsRequest.d.ts +1 -0
  174. package/dist/models/PartnersListConnectionsRequestHeaders.d.ts +2 -0
  175. package/dist/models/PartnersListConnectionsRequestHeaders_octoCapabilities.d.ts +4 -0
  176. package/dist/models/PartnersListConnectionsRequestHeaders_ventrataPartnerKey.d.ts +1 -0
  177. package/dist/models/PickupPoint.d.ts +62 -0
  178. package/dist/models/Point.d.ts +21 -0
  179. package/dist/models/PointGroup.d.ts +18 -0
  180. package/dist/models/Pricing.d.ts +30 -0
  181. package/dist/models/PricingExtras.d.ts +3 -0
  182. package/dist/models/PricingOffers.d.ts +4 -0
  183. package/dist/models/PricingPer.d.ts +4 -0
  184. package/dist/models/PricingUnit.d.ts +33 -0
  185. package/dist/models/PricingUnitExtras.d.ts +4 -0
  186. package/dist/models/Product.d.ts +192 -0
  187. package/dist/models/ProductContent.d.ts +95 -0
  188. package/dist/models/ProductGoogle.d.ts +4 -0
  189. package/dist/models/ProductPackages.d.ts +4 -0
  190. package/dist/models/ProductPricing.d.ts +16 -0
  191. package/dist/models/Question.d.ts +43 -0
  192. package/dist/models/QuestionAnswer.d.ts +51 -0
  193. package/dist/models/QuestionInputType.d.ts +5 -0
  194. package/dist/models/RedemptionMethod.d.ts +5 -0
  195. package/dist/models/Refund.d.ts +5 -0
  196. package/dist/models/RequestHeaders.d.ts +2 -0
  197. package/dist/models/Reseller.d.ts +18 -0
  198. package/dist/models/ResellerStatus.d.ts +5 -0
  199. package/dist/models/Resource.d.ts +19 -0
  200. package/dist/models/ResourceAllocation.d.ts +37 -0
  201. package/dist/models/ResourceGroup.d.ts +14 -0
  202. package/dist/models/ResponseHeaders.d.ts +2 -0
  203. package/dist/models/Seat.d.ts +18 -0
  204. package/dist/models/SelectOption.d.ts +10 -0
  205. package/dist/models/Seller.d.ts +8 -0
  206. package/dist/models/SettlementMethod.d.ts +7 -0
  207. package/dist/models/Supplier.d.ts +31 -0
  208. package/dist/models/SupplierContact.d.ts +18 -0
  209. package/dist/models/SupplierContent.d.ts +5 -0
  210. package/dist/models/Tax.d.ts +16 -0
  211. package/dist/models/Ticket.d.ts +24 -0
  212. package/dist/models/TourGroup.d.ts +14 -0
  213. package/dist/models/UUID.d.ts +1 -0
  214. package/dist/models/Unit.d.ts +74 -0
  215. package/dist/models/UnitContent.d.ts +14 -0
  216. package/dist/models/UnitExtras.d.ts +4 -0
  217. package/dist/models/UnitItem.d.ts +85 -0
  218. package/dist/models/UnitItemIdentifier.d.ts +19 -0
  219. package/dist/models/UnitItemPricing.d.ts +7 -0
  220. package/dist/models/UnitItemQuestions.d.ts +7 -0
  221. package/dist/models/UnitPricing.d.ts +11 -0
  222. package/dist/models/UnitQuestions.d.ts +7 -0
  223. package/dist/models/UnitRestrictions.d.ts +59 -0
  224. package/dist/models/UnitType.d.ts +11 -0
  225. package/dist/models/User.d.ts +8 -0
  226. package/dist/models/Waitlist.d.ts +11 -0
  227. package/dist/models/WaitlistUnitIdentifier.d.ts +4 -0
  228. package/dist/models/WaitlistUnitItemIdentifier.d.ts +4 -0
  229. package/dist/models/Webhook.d.ts +32 -0
  230. package/dist/models/WebhookEvent.d.ts +4 -0
  231. package/dist/models/WhoIAm.d.ts +14 -0
  232. package/dist/models/WhoIAmRequest.d.ts +1 -0
  233. package/dist/schemas/AdjustmentDiscount.d.ts +3 -0
  234. package/dist/schemas/AdjustmentPer.d.ts +3 -0
  235. package/dist/schemas/Agent.d.ts +17 -0
  236. package/dist/schemas/Availability.d.ts +894 -0
  237. package/dist/schemas/AvailabilityCalendarBody.d.ts +43 -0
  238. package/dist/schemas/AvailabilityCalendarErrorResponse.d.ts +99 -0
  239. package/dist/schemas/AvailabilityCalendarRequest.d.ts +71 -0
  240. package/dist/schemas/AvailabilityCheckBody.d.ts +46 -0
  241. package/dist/schemas/AvailabilityCheckErrorResponse.d.ts +99 -0
  242. package/dist/schemas/AvailabilityCheckRequest.d.ts +76 -0
  243. package/dist/schemas/AvailabilityContent.d.ts +71 -0
  244. package/dist/schemas/AvailabilityOffers.d.ts +171 -0
  245. package/dist/schemas/AvailabilityPickups.d.ts +94 -0
  246. package/dist/schemas/AvailabilityPricing.d.ts +486 -0
  247. package/dist/schemas/AvailabilityStatus.d.ts +3 -0
  248. package/dist/schemas/AvailabilityType.d.ts +3 -0
  249. package/dist/schemas/AvailabilityUnit.d.ts +14 -0
  250. package/dist/schemas/Booking.d.ts +3 -0
  251. package/dist/schemas/BookingAdjustment.d.ts +17 -0
  252. package/dist/schemas/BookingAdjustments.d.ts +33 -0
  253. package/dist/schemas/BookingCancellation.d.ts +14 -0
  254. package/dist/schemas/BookingCancellationBody.d.ts +10 -0
  255. package/dist/schemas/BookingCancellationErrorResponse.d.ts +74 -0
  256. package/dist/schemas/BookingCancellationRequest.d.ts +47 -0
  257. package/dist/schemas/BookingCart.d.ts +14 -0
  258. package/dist/schemas/BookingConfirmationBody.d.ts +122 -0
  259. package/dist/schemas/BookingConfirmationErrorResponse.d.ts +174 -0
  260. package/dist/schemas/BookingConfirmationRequest.d.ts +305 -0
  261. package/dist/schemas/BookingConfirmationRequest_uuid.d.ts +2 -0
  262. package/dist/schemas/BookingContact.d.ts +47 -0
  263. package/dist/schemas/BookingContent.d.ts +54 -0
  264. package/dist/schemas/BookingExtras.d.ts +905 -0
  265. package/dist/schemas/BookingGifts.d.ts +28 -0
  266. package/dist/schemas/BookingIdentities.d.ts +26 -0
  267. package/dist/schemas/BookingOffers.d.ts +2158 -0
  268. package/dist/schemas/BookingPackages.d.ts +62 -0
  269. package/dist/schemas/BookingPickups.d.ts +103 -0
  270. package/dist/schemas/BookingPricing.d.ts +177 -0
  271. package/dist/schemas/BookingQuestions.d.ts +104 -0
  272. package/dist/schemas/BookingRejection.d.ts +11 -0
  273. package/dist/schemas/BookingReservationBody.d.ts +164 -0
  274. package/dist/schemas/BookingReservationErrorResponse.d.ts +149 -0
  275. package/dist/schemas/BookingReservationRequest.d.ts +250 -0
  276. package/dist/schemas/BookingResources.d.ts +196 -0
  277. package/dist/schemas/BookingStatus.d.ts +3 -0
  278. package/dist/schemas/BookingUpdateBody.d.ts +158 -0
  279. package/dist/schemas/BookingUpdateRequest.d.ts +240 -0
  280. package/dist/schemas/Brand.d.ts +179 -0
  281. package/dist/schemas/BrandContact.d.ts +20 -0
  282. package/dist/schemas/CancellationCutoffUnit.d.ts +3 -0
  283. package/dist/schemas/Capability.d.ts +3 -0
  284. package/dist/schemas/Category.d.ts +32 -0
  285. package/dist/schemas/ContactField.d.ts +3 -0
  286. package/dist/schemas/CreateWaitlistRequest.d.ts +113 -0
  287. package/dist/schemas/CustomerContact.d.ts +50 -0
  288. package/dist/schemas/DefaultableID.d.ts +2 -0
  289. package/dist/schemas/DeliveryFormat.d.ts +3 -0
  290. package/dist/schemas/DeliveryMethod.d.ts +3 -0
  291. package/dist/schemas/DeliveryOption.d.ts +11 -0
  292. package/dist/schemas/Destination.d.ts +182 -0
  293. package/dist/schemas/DestinationContact.d.ts +20 -0
  294. package/dist/schemas/DurationUnit.d.ts +3 -0
  295. package/dist/schemas/ExtendReservationBody.d.ts +7 -0
  296. package/dist/schemas/ExtendReservationErrorResponse.d.ts +74 -0
  297. package/dist/schemas/ExtendReservationRequest.d.ts +37 -0
  298. package/dist/schemas/Extra.d.ts +395 -0
  299. package/dist/schemas/ExtraItem.d.ts +709 -0
  300. package/dist/schemas/ExtraRestrictions.d.ts +17 -0
  301. package/dist/schemas/FAQ.d.ts +11 -0
  302. package/dist/schemas/Font.d.ts +23 -0
  303. package/dist/schemas/GetBookingRequest.d.ts +7 -0
  304. package/dist/schemas/GetBookingsRequest.d.ts +25 -0
  305. package/dist/schemas/GetProductRequest.d.ts +7 -0
  306. package/dist/schemas/GetProductsRequest.d.ts +1 -0
  307. package/dist/schemas/GetSupplierRequest.d.ts +1 -0
  308. package/dist/schemas/GetYourGuideActivateBody.d.ts +14 -0
  309. package/dist/schemas/GetYourGuideActivateRequest.d.ts +28 -0
  310. package/dist/schemas/GetYourGuideActivateRequestHeaders.d.ts +2 -0
  311. package/dist/schemas/GetYourGuideActivateRequestHeaders_octoCapabilities.d.ts +2 -0
  312. package/dist/schemas/GetYourGuideConnection.d.ts +38 -0
  313. package/dist/schemas/Gift.d.ts +657 -0
  314. package/dist/schemas/GiftIdentities.d.ts +26 -0
  315. package/dist/schemas/GiftPayment.d.ts +14 -0
  316. package/dist/schemas/GoogleLocalizedText.d.ts +11 -0
  317. package/dist/schemas/GoogleLocation.d.ts +18 -0
  318. package/dist/schemas/GoogleOperator.d.ts +72 -0
  319. package/dist/schemas/GoogleOptionCategory.d.ts +8 -0
  320. package/dist/schemas/GoogleOptions.d.ts +216 -0
  321. package/dist/schemas/GoogleRating.d.ts +11 -0
  322. package/dist/schemas/GoogleRelatedLocation.d.ts +35 -0
  323. package/dist/schemas/GoogleUrl.d.ts +8 -0
  324. package/dist/schemas/Identity.d.ts +11 -0
  325. package/dist/schemas/Image.d.ts +14 -0
  326. package/dist/schemas/Include.d.ts +29 -0
  327. package/dist/schemas/ItineraryItem.d.ts +44 -0
  328. package/dist/schemas/ItineraryItemType.d.ts +3 -0
  329. package/dist/schemas/Label.d.ts +11 -0
  330. package/dist/schemas/ListOrdersRequest.d.ts +29 -0
  331. package/dist/schemas/Mapping.d.ts +41 -0
  332. package/dist/schemas/MediaRel.d.ts +3 -0
  333. package/dist/schemas/MediaType.d.ts +3 -0
  334. package/dist/schemas/NetDiscount.d.ts +3 -0
  335. package/dist/schemas/Notice.d.ts +17 -0
  336. package/dist/schemas/Octo_AvailabilityCalendar.d.ts +194 -0
  337. package/dist/schemas/Octo_AvailabilityCalendarBody.d.ts +38 -0
  338. package/dist/schemas/Octo_AvailabilityCalendarErrorResponse.d.ts +100 -0
  339. package/dist/schemas/Octo_AvailabilityCalendarRequest.d.ts +64 -0
  340. package/dist/schemas/Octo_AvailabilityCheckBody.d.ts +41 -0
  341. package/dist/schemas/Octo_AvailabilityCheckErrorResponse.d.ts +100 -0
  342. package/dist/schemas/Octo_AvailabilityCheckRequest.d.ts +69 -0
  343. package/dist/schemas/Octo_AvailabilityUnit.d.ts +11 -0
  344. package/dist/schemas/Octo_BaseError.d.ts +11 -0
  345. package/dist/schemas/Octo_BookingCancellationBody.d.ts +11 -0
  346. package/dist/schemas/Octo_BookingCancellationErrorResponse.d.ts +75 -0
  347. package/dist/schemas/Octo_BookingCancellationRequest.d.ts +26 -0
  348. package/dist/schemas/Octo_BookingCancellationRequest_uuid.d.ts +2 -0
  349. package/dist/schemas/Octo_BookingConfirmationBody.d.ts +82 -0
  350. package/dist/schemas/Octo_BookingConfirmationErrorResponse.d.ts +175 -0
  351. package/dist/schemas/Octo_BookingConfirmationRequest.d.ts +127 -0
  352. package/dist/schemas/Octo_BookingConfirmationRequest_uuid.d.ts +2 -0
  353. package/dist/schemas/Octo_BookingContact.d.ts +32 -0
  354. package/dist/schemas/Octo_BookingReservationBody.d.ts +44 -0
  355. package/dist/schemas/Octo_BookingReservationErrorResponse.d.ts +150 -0
  356. package/dist/schemas/Octo_BookingReservationRequest.d.ts +74 -0
  357. package/dist/schemas/Octo_BookingUnitItem.d.ts +11 -0
  358. package/dist/schemas/Octo_ErrorBadRequest.d.ts +10 -0
  359. package/dist/schemas/Octo_ErrorForbidden.d.ts +10 -0
  360. package/dist/schemas/Octo_ErrorInternalServerError.d.ts +10 -0
  361. package/dist/schemas/Octo_ErrorInvalidAvailabilityID.d.ts +17 -0
  362. package/dist/schemas/Octo_ErrorInvalidBookingUUID.d.ts +17 -0
  363. package/dist/schemas/Octo_ErrorInvalidOptionID.d.ts +17 -0
  364. package/dist/schemas/Octo_ErrorInvalidProductID.d.ts +17 -0
  365. package/dist/schemas/Octo_ErrorInvalidUnitID.d.ts +17 -0
  366. package/dist/schemas/Octo_ErrorUnauthorized.d.ts +10 -0
  367. package/dist/schemas/Octo_ErrorUnprocessableEntity.d.ts +10 -0
  368. package/dist/schemas/Octo_ExtendReservationBody.d.ts +8 -0
  369. package/dist/schemas/Octo_ExtendReservationErrorResponse.d.ts +75 -0
  370. package/dist/schemas/Octo_ExtendReservationRequest.d.ts +21 -0
  371. package/dist/schemas/Octo_ExtendReservationRequest_uuid.d.ts +2 -0
  372. package/dist/schemas/Octo_GetBookingRequest.d.ts +8 -0
  373. package/dist/schemas/Octo_GetBookingRequest_uuid.d.ts +2 -0
  374. package/dist/schemas/Octo_GetBookingsRequest.d.ts +26 -0
  375. package/dist/schemas/Octo_GetBookingsRequest_localDate.d.ts +2 -0
  376. package/dist/schemas/Octo_GetBookingsRequest_localDateEnd.d.ts +2 -0
  377. package/dist/schemas/Octo_GetBookingsRequest_localDateStart.d.ts +2 -0
  378. package/dist/schemas/Octo_GetBookingsRequest_optionId.d.ts +2 -0
  379. package/dist/schemas/Octo_GetBookingsRequest_productId.d.ts +2 -0
  380. package/dist/schemas/Octo_GetBookingsRequest_resellerReference.d.ts +2 -0
  381. package/dist/schemas/Octo_GetBookingsRequest_supplierReference.d.ts +2 -0
  382. package/dist/schemas/Octo_GetProductRequest.d.ts +8 -0
  383. package/dist/schemas/Octo_GetProductRequest_id.d.ts +2 -0
  384. package/dist/schemas/Octo_GetProductsRequest.d.ts +2 -0
  385. package/dist/schemas/Octo_GetSupplierRequest.d.ts +2 -0
  386. package/dist/schemas/Octo_Media.d.ts +23 -0
  387. package/dist/schemas/Octo_OpeningHours.d.ts +11 -0
  388. package/dist/schemas/Octo_Pricing.d.ts +48 -0
  389. package/dist/schemas/Octo_PricingUnit.d.ts +54 -0
  390. package/dist/schemas/Octo_RequestHeaders.d.ts +2 -0
  391. package/dist/schemas/Octo_RequestHeadersContent.d.ts +2 -0
  392. package/dist/schemas/Octo_RequestHeaders_octoCapabilities.d.ts +2 -0
  393. package/dist/schemas/Octo_ResponseHeaders.d.ts +2 -0
  394. package/dist/schemas/Octo_Tax.d.ts +17 -0
  395. package/dist/schemas/Offer.d.ts +53 -0
  396. package/dist/schemas/OfferCombination.d.ts +1599 -0
  397. package/dist/schemas/OfferComparison.d.ts +1593 -0
  398. package/dist/schemas/OfferDiscount.d.ts +44 -0
  399. package/dist/schemas/OfferRestrictions.d.ts +20 -0
  400. package/dist/schemas/OpeningHours.d.ts +20 -0
  401. package/dist/schemas/OpeningHoursContent.d.ts +14 -0
  402. package/dist/schemas/Option.d.ts +3 -0
  403. package/dist/schemas/OptionContent.d.ts +238 -0
  404. package/dist/schemas/OptionExtras.d.ts +531 -0
  405. package/dist/schemas/OptionPackages.d.ts +91 -0
  406. package/dist/schemas/OptionPickups.d.ts +94 -0
  407. package/dist/schemas/OptionQuestions.d.ts +94 -0
  408. package/dist/schemas/OptionRestrictions.d.ts +17 -0
  409. package/dist/schemas/Order.d.ts +2300 -0
  410. package/dist/schemas/OrderGifts.d.ts +28 -0
  411. package/dist/schemas/OrderIdentities.d.ts +26 -0
  412. package/dist/schemas/OrderOffers.d.ts +1999 -0
  413. package/dist/schemas/PackageInclude.d.ts +59 -0
  414. package/dist/schemas/Partner.d.ts +11 -0
  415. package/dist/schemas/PartnerEnum.d.ts +3 -0
  416. package/dist/schemas/PartnersConnection.d.ts +14 -0
  417. package/dist/schemas/PartnersListConnection.d.ts +587 -0
  418. package/dist/schemas/PartnersListConnectionsRequest.d.ts +2 -0
  419. package/dist/schemas/PartnersListConnectionsRequestHeaders.d.ts +1 -0
  420. package/dist/schemas/PartnersListConnectionsRequestHeaders_octoCapabilities.d.ts +2 -0
  421. package/dist/schemas/PartnersListConnectionsRequestHeaders_ventrataPartnerKey.d.ts +2 -0
  422. package/dist/schemas/PickupPoint.d.ts +50 -0
  423. package/dist/schemas/Point.d.ts +45 -0
  424. package/dist/schemas/PointGroup.d.ts +17 -0
  425. package/dist/schemas/Pricing.d.ts +121 -0
  426. package/dist/schemas/PricingExtras.d.ts +8 -0
  427. package/dist/schemas/PricingOffers.d.ts +70 -0
  428. package/dist/schemas/PricingPer.d.ts +3 -0
  429. package/dist/schemas/PricingUnit.d.ts +228 -0
  430. package/dist/schemas/PricingUnitExtras.d.ts +177 -0
  431. package/dist/schemas/Product.d.ts +3 -0
  432. package/dist/schemas/ProductContent.d.ts +725 -0
  433. package/dist/schemas/ProductGoogle.d.ts +298 -0
  434. package/dist/schemas/ProductPackages.d.ts +11 -0
  435. package/dist/schemas/ProductPricing.d.ts +17 -0
  436. package/dist/schemas/Question.d.ts +56 -0
  437. package/dist/schemas/QuestionAnswer.d.ts +62 -0
  438. package/dist/schemas/QuestionInputType.d.ts +3 -0
  439. package/dist/schemas/RedemptionMethod.d.ts +3 -0
  440. package/dist/schemas/Refund.d.ts +3 -0
  441. package/dist/schemas/RequestHeaders.d.ts +1 -0
  442. package/dist/schemas/Reseller.d.ts +17 -0
  443. package/dist/schemas/ResellerStatus.d.ts +3 -0
  444. package/dist/schemas/Resource.d.ts +42 -0
  445. package/dist/schemas/ResourceAllocation.d.ts +134 -0
  446. package/dist/schemas/ResourceGroup.d.ts +14 -0
  447. package/dist/schemas/ResponseHeaders.d.ts +1 -0
  448. package/dist/schemas/Seat.d.ts +17 -0
  449. package/dist/schemas/SelectOption.d.ts +11 -0
  450. package/dist/schemas/Seller.d.ts +23 -0
  451. package/dist/schemas/SettlementMethod.d.ts +3 -0
  452. package/dist/schemas/Supplier.d.ts +361 -0
  453. package/dist/schemas/SupplierContact.d.ts +17 -0
  454. package/dist/schemas/SupplierContent.d.ts +283 -0
  455. package/dist/schemas/Tax.d.ts +20 -0
  456. package/dist/schemas/Ticket.d.ts +32 -0
  457. package/dist/schemas/TourGroup.d.ts +14 -0
  458. package/dist/schemas/UUID.d.ts +2 -0
  459. package/dist/schemas/Unit.d.ts +1077 -0
  460. package/dist/schemas/UnitContent.d.ts +14 -0
  461. package/dist/schemas/UnitExtras.d.ts +531 -0
  462. package/dist/schemas/UnitItem.d.ts +1863 -0
  463. package/dist/schemas/UnitItemIdentifier.d.ts +20 -0
  464. package/dist/schemas/UnitItemPricing.d.ts +177 -0
  465. package/dist/schemas/UnitItemQuestions.d.ts +104 -0
  466. package/dist/schemas/UnitPricing.d.ts +349 -0
  467. package/dist/schemas/UnitQuestions.d.ts +94 -0
  468. package/dist/schemas/UnitRestrictions.d.ts +50 -0
  469. package/dist/schemas/UnitType.d.ts +3 -0
  470. package/dist/schemas/User.d.ts +23 -0
  471. package/dist/schemas/Waitlist.d.ts +118 -0
  472. package/dist/schemas/WaitlistUnitIdentifier.d.ts +11 -0
  473. package/dist/schemas/WaitlistUnitItemIdentifier.d.ts +11 -0
  474. package/dist/schemas/Webhook.d.ts +26 -0
  475. package/dist/schemas/WebhookEvent.d.ts +3 -0
  476. package/dist/schemas/WhoIAm.d.ts +639 -0
  477. package/dist/schemas/WhoIAmRequest.d.ts +2 -0
  478. package/package.json +50 -9
  479. package/README.md +0 -1
  480. package/indes.js +0 -0
@@ -0,0 +1,134 @@
1
+ import type { AvailabilityStatus } from './AvailabilityStatus';
2
+ import type { Notice } from './Notice';
3
+ import type { Offer } from './Offer';
4
+ import type { OpeningHours } from './OpeningHours';
5
+ import type { PickupPoint } from './PickupPoint';
6
+ import type { Pricing } from './Pricing';
7
+ import type { PricingUnit } from './PricingUnit';
8
+ import type { TourGroup } from './TourGroup';
9
+ export type Availability = {
10
+ /**
11
+ * A unique identifier for this availability. This ID is used during booking and must be unique within the scope of an option.
12
+ */
13
+ id: string;
14
+ /**
15
+ * The start time for this availability in the product’s local time zone. This value must conform to ISO 8601 standards (e.g., "2024-11-17T09:00:00+00:00").
16
+ */
17
+ localDateTimeStart: string;
18
+ /**
19
+ * The end time for this availability in the product’s local time zone. It must also adhere to ISO 8601 standards.
20
+ */
21
+ localDateTimeEnd: string;
22
+ /**
23
+ * The time by which the booking must be confirmed at
24
+ */
25
+ utcCutoffAt: string;
26
+ /**
27
+ * Indicates if this availability spans the entire day. If set to true, there will be no specific start or end times for this availability.
28
+ */
29
+ allDay: boolean;
30
+ /**
31
+ * Indicates if there are remaining slots available for this date or time slot.
32
+ */
33
+ available: boolean;
34
+ /**
35
+ * Defines the current status of the availability:
36
+ * AVAILABLE: Open for booking.
37
+ * FREESALE: Unlimited availability, no capacity limits.
38
+ * SOLD_OUT: No spots available.
39
+ * LIMITED: Less than 50% capacity remaining.
40
+ * CLOSED: The availability is closed.
41
+ */
42
+ status: AvailabilityStatus;
43
+ /**
44
+ * Specifies the number of available slots remaining. Should be nulled or omitted when status is FREESALE. If availability is tracked per unit, this represents the maximum remaining quantity across all units.
45
+ */
46
+ vacancies: number | null;
47
+ /**
48
+ * The total capacity for this availability.
49
+ */
50
+ capacity: number | null;
51
+ /**
52
+ * The maximum number of units that can be sold in a single booking during this availability slot.
53
+ */
54
+ maxUnits: number | null;
55
+ /**
56
+ * Defines the opening hours for this availability, even for start time-based availability. Supports multiple periods for breaks in the day.
57
+ */
58
+ openingHours: Array<OpeningHours>;
59
+ totalCapacity: number | null;
60
+ limitCapacity: number | null;
61
+ limitPaxCount: number;
62
+ noShows: number;
63
+ totalNoShows: number;
64
+ totalPaxCount: number;
65
+ paxCount: number;
66
+ maxPaxCount: number | null;
67
+ /**
68
+ * Whether this availability has pickup available.
69
+ * This field is only present when the capability `octo/pickups` is requested.
70
+ */
71
+ pickupAvailable?: boolean;
72
+ /**
73
+ * Whether pickup is required for this availability.
74
+ * This field is only present when the capability `octo/pickups` is requested.
75
+ */
76
+ pickupRequired?: boolean;
77
+ /**
78
+ * Whether pickup is required for this availability.
79
+ * This field is only present when the capability `octo/pickups` is requested.
80
+ */
81
+ pickupPoints?: Array<PickupPoint>;
82
+ /**
83
+ * Is on the object when Pricing capability is requested.
84
+ */
85
+ unitPricing?: Array<PricingUnit>;
86
+ /**
87
+ * Is on the object when Pricing capability is requested.
88
+ */
89
+ pricing?: Array<Pricing>;
90
+ /**
91
+ * Optional code used to apply a specific offer.
92
+ */
93
+ offerCode?: string | null;
94
+ /**
95
+ * Optional display title of the offer.
96
+ */
97
+ offerTitle?: string | null;
98
+ /**
99
+ * List of available offers for the availability.
100
+ */
101
+ offers?: Array<Offer>;
102
+ /**
103
+ * Best or selected offer for this availability.
104
+ */
105
+ offer?: Offer | null;
106
+ /**
107
+ * Optional text for the meeting point location.
108
+ */
109
+ meetingPoint?: string;
110
+ /**
111
+ * Optional meeting point coordinates as an array [longitude, latitude].
112
+ */
113
+ meetingPointCoordinates?: Array<number>;
114
+ /**
115
+ * Latitude component of the meeting point.
116
+ */
117
+ meetingPointLatitude?: number;
118
+ /**
119
+ * Longitude component of the meeting point.
120
+ */
121
+ meetingPointLongitude?: number;
122
+ /**
123
+ * Local datetime string (ISO 8601) for when to meet.
124
+ */
125
+ meetingLocalDateTime?: string;
126
+ /**
127
+ * Optional reference to the tour group this availability belongs to.
128
+ */
129
+ tourGroup?: TourGroup;
130
+ /**
131
+ * List of important notices related to the availability.
132
+ */
133
+ notices?: Array<Notice>;
134
+ };
@@ -0,0 +1,24 @@
1
+ import type { AvailabilityUnit } from './AvailabilityUnit';
2
+ export type AvailabilityCalendarBody = {
3
+ /**
4
+ * The product id.
5
+ */
6
+ productId: string;
7
+ /**
8
+ * The option id.
9
+ */
10
+ optionId: string;
11
+ /**
12
+ * Start date to query for (YYYY-MM-DD).
13
+ */
14
+ localDateStart?: string;
15
+ /**
16
+ * End date to query for (YYYY-MM-DD).
17
+ */
18
+ localDateEnd?: string;
19
+ units?: Array<AvailabilityUnit>;
20
+ /**
21
+ * Can be used only when pricing capability is used.
22
+ */
23
+ currency?: string;
24
+ };
@@ -0,0 +1,2 @@
1
+ import type { Octo_AvailabilityCalendarErrorResponse } from './Octo_AvailabilityCalendarErrorResponse';
2
+ export type AvailabilityCalendarErrorResponse = Octo_AvailabilityCalendarErrorResponse;
@@ -0,0 +1,4 @@
1
+ import type { AvailabilityCalendarBody } from './AvailabilityCalendarBody';
2
+ export type AvailabilityCalendarRequest = {
3
+ body: AvailabilityCalendarBody;
4
+ };
@@ -0,0 +1,28 @@
1
+ import type { AvailabilityUnit } from './AvailabilityUnit';
2
+ export type AvailabilityCheckBody = {
3
+ /**
4
+ * The product id.
5
+ */
6
+ productId: string;
7
+ /**
8
+ * The option id.
9
+ */
10
+ optionId: string;
11
+ /**
12
+ * Start date to query for (YYYY-MM-DD). Required if `localDateEnd` is set.
13
+ */
14
+ localDateStart?: string;
15
+ /**
16
+ * End date to query for (YYYY-MM-DD). Required if `localDateStart` is set.
17
+ */
18
+ localDateEnd?: string;
19
+ /**
20
+ * Filter the results by the given ids.
21
+ */
22
+ availabilityIds?: Array<string>;
23
+ units?: Array<AvailabilityUnit>;
24
+ /**
25
+ * Can be used only when pricing capability is used.
26
+ */
27
+ currency?: string;
28
+ };
@@ -0,0 +1,2 @@
1
+ import type { Octo_AvailabilityCheckErrorResponse } from './Octo_AvailabilityCheckErrorResponse';
2
+ export type AvailabilityCheckErrorResponse = Octo_AvailabilityCheckErrorResponse;
@@ -0,0 +1,4 @@
1
+ import type { AvailabilityCheckBody } from './AvailabilityCheckBody';
2
+ export type AvailabilityCheckRequest = {
3
+ body: AvailabilityCheckBody;
4
+ };
@@ -0,0 +1,32 @@
1
+ import type { Notice } from './Notice';
2
+ import type { TourGroup } from './TourGroup';
3
+ export type AvailabilityContent = {
4
+ /**
5
+ * Optional text for the meeting point location.
6
+ */
7
+ meetingPoint?: string;
8
+ /**
9
+ * Optional meeting point coordinates as an array [longitude, latitude].
10
+ */
11
+ meetingPointCoordinates?: Array<number>;
12
+ /**
13
+ * Latitude component of the meeting point.
14
+ */
15
+ meetingPointLatitude?: number;
16
+ /**
17
+ * Longitude component of the meeting point.
18
+ */
19
+ meetingPointLongitude?: number;
20
+ /**
21
+ * Local datetime string (ISO 8601) for when to meet.
22
+ */
23
+ meetingLocalDateTime?: string;
24
+ /**
25
+ * Optional reference to the tour group this availability belongs to.
26
+ */
27
+ tourGroup?: TourGroup;
28
+ /**
29
+ * List of important notices related to the availability.
30
+ */
31
+ notices?: Array<Notice>;
32
+ };
@@ -0,0 +1,19 @@
1
+ import type { Offer } from './Offer';
2
+ export type AvailabilityOffers = {
3
+ /**
4
+ * Optional code used to apply a specific offer.
5
+ */
6
+ offerCode?: string | null;
7
+ /**
8
+ * Optional display title of the offer.
9
+ */
10
+ offerTitle?: string | null;
11
+ /**
12
+ * List of available offers for the availability.
13
+ */
14
+ offers?: Array<Offer>;
15
+ /**
16
+ * Best or selected offer for this availability.
17
+ */
18
+ offer?: Offer | null;
19
+ };
@@ -0,0 +1,18 @@
1
+ import type { PickupPoint } from './PickupPoint';
2
+ export type AvailabilityPickups = {
3
+ /**
4
+ * Whether this availability has pickup available.
5
+ * This field is only present when the capability `octo/pickups` is requested.
6
+ */
7
+ pickupAvailable?: boolean;
8
+ /**
9
+ * Whether pickup is required for this availability.
10
+ * This field is only present when the capability `octo/pickups` is requested.
11
+ */
12
+ pickupRequired?: boolean;
13
+ /**
14
+ * Whether pickup is required for this availability.
15
+ * This field is only present when the capability `octo/pickups` is requested.
16
+ */
17
+ pickupPoints?: Array<PickupPoint>;
18
+ };
@@ -0,0 +1,12 @@
1
+ import type { Pricing } from './Pricing';
2
+ import type { PricingUnit } from './PricingUnit';
3
+ export type AvailabilityPricing = {
4
+ /**
5
+ * Is on the object when Pricing capability is requested.
6
+ */
7
+ unitPricing?: Array<PricingUnit>;
8
+ /**
9
+ * Is on the object when Pricing capability is requested.
10
+ */
11
+ pricing?: Array<Pricing>;
12
+ };
@@ -0,0 +1,7 @@
1
+ export declare enum AvailabilityStatus {
2
+ AVAILABLE = "AVAILABLE",
3
+ FREESALE = "FREESALE",
4
+ SOLD_OUT = "SOLD_OUT",
5
+ LIMITED = "LIMITED",
6
+ CLOSED = "CLOSED"
7
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum AvailabilityType {
2
+ START_TIME = "START_TIME",
3
+ OPENING_HOURS = "OPENING_HOURS"
4
+ }
@@ -0,0 +1,12 @@
1
+ import type { UnitType } from './UnitType';
2
+ export type AvailabilityUnit = {
3
+ /**
4
+ * The unit id.
5
+ */
6
+ id?: string;
7
+ type?: UnitType;
8
+ /**
9
+ * The quantity of the unit.
10
+ */
11
+ quantity: number;
12
+ };
@@ -0,0 +1,281 @@
1
+ import type { Agent } from './Agent';
2
+ import type { Availability } from './Availability';
3
+ import type { BookingAdjustment } from './BookingAdjustment';
4
+ import type { BookingCancellation } from './BookingCancellation';
5
+ import type { BookingRejection } from './BookingRejection';
6
+ import type { BookingStatus } from './BookingStatus';
7
+ import type { ContactField } from './ContactField';
8
+ import type { CustomerContact } from './CustomerContact';
9
+ import type { DeliveryMethod } from './DeliveryMethod';
10
+ import type { DurationUnit } from './DurationUnit';
11
+ import type { ExtraItem } from './ExtraItem';
12
+ import type { GiftPayment } from './GiftPayment';
13
+ import type { Identity } from './Identity';
14
+ import type { Include } from './Include';
15
+ import type { Label } from './Label';
16
+ import type { Notice } from './Notice';
17
+ import type { Offer } from './Offer';
18
+ import type { OfferComparison } from './OfferComparison';
19
+ import type { Option } from './Option';
20
+ import type { PickupPoint } from './PickupPoint';
21
+ import type { Pricing } from './Pricing';
22
+ import type { Product } from './Product';
23
+ import type { QuestionAnswer } from './QuestionAnswer';
24
+ import type { Reseller } from './Reseller';
25
+ import type { ResourceAllocation } from './ResourceAllocation';
26
+ import type { Seller } from './Seller';
27
+ import type { SettlementMethod } from './SettlementMethod';
28
+ import type { Ticket } from './Ticket';
29
+ import type { UnitItem } from './UnitItem';
30
+ import type { User } from './User';
31
+ export type Booking = {
32
+ /**
33
+ * A unique identifier generated by the supplier system for the booking. This ID ensures traceability and must be unique within the system.
34
+ */
35
+ id: string;
36
+ /**
37
+ * An optional idempotency key set when creating a booking to prevent duplicate bookings in case of retries. Used for API calls.
38
+ */
39
+ uuid: string;
40
+ /**
41
+ * Indicates whether the booking was created in test mode. If true, it is a test booking.
42
+ */
43
+ testMode: boolean;
44
+ /**
45
+ * A reference provided by the reseller to identify the booking.
46
+ */
47
+ resellerReference: string | null;
48
+ /**
49
+ * A reference provided by the reseller to identify the booking.
50
+ */
51
+ supplierReference: string | null;
52
+ /**
53
+ * Represents the current state of the booking:
54
+ * ON_HOLD: Awaiting confirmation.
55
+ * EXPIRED: Not confirmed within the hold expiration time.
56
+ * CONFIRMED: Successfully confirmed.
57
+ * CANCELLED: The booking was canceled.
58
+ * PENDING: Awaiting external confirmation.
59
+ * REDEEMED: The booking has been used.
60
+ */
61
+ status: BookingStatus;
62
+ /**
63
+ * An ISO8601 date time in UTC when the booking was created.
64
+ */
65
+ utcCreatedAt: string;
66
+ /**
67
+ * An ISO8601 date time in UTC when the booking was last updated, if applicable.
68
+ */
69
+ utcUpdatedAt: string;
70
+ /**
71
+ * An ISO8601 date times in UTC for when this booking is due to expire if the status is ON_HOLD.
72
+ */
73
+ utcExpiresAt: string | null;
74
+ /**
75
+ * An ISO8601 date time in UTC at when the booking was redeemed, if applicable.
76
+ */
77
+ utcRedeemedAt: string | null;
78
+ /**
79
+ * An ISO8601 date time in UTC when the booking was confirmed, if applicable.
80
+ */
81
+ utcConfirmedAt: string | null;
82
+ /**
83
+ * The ID of product booked.
84
+ */
85
+ productId: string;
86
+ /**
87
+ * The object of booked product.
88
+ */
89
+ product?: Product;
90
+ /**
91
+ * The ID of option booked.
92
+ */
93
+ optionId: string;
94
+ /**
95
+ * The ID of option booked.
96
+ */
97
+ option?: Option;
98
+ /**
99
+ * The object of booked option.
100
+ */
101
+ cancellable: boolean;
102
+ /**
103
+ * A boolean field indicating whether this booking can be cancelled.
104
+ */
105
+ cancellation: BookingCancellation | null;
106
+ /**
107
+ * Indicates if the booking was made without checking availability.
108
+ */
109
+ freesale: boolean;
110
+ /**
111
+ * The ID of availability booked.
112
+ */
113
+ availabilityId: string | null;
114
+ /**
115
+ * The availability object that was booked.
116
+ */
117
+ availability?: Availability | null;
118
+ /**
119
+ * Customer contact details for the booking (see unit object for per ticket / unit details).
120
+ */
121
+ contact?: CustomerContact;
122
+ /**
123
+ * Customer-facing public notes for the booking.
124
+ */
125
+ notes: string | null;
126
+ /**
127
+ * Specifies all supported methods of how tickets or vouchers for this booking are delivered.
128
+ * TICKET: Delivered individually per unit in the booking, where each person or unit receives a separate ticket. These will be provided in the ticket object.
129
+ * VOUCHER: Delivered as a single voucher for the entire booking, consolidating all units under one document. These will be provided in the voucher object.
130
+ * This field ensures clarity on the format of ticket or voucher delivery to resellers and customers.
131
+ */
132
+ deliveryMethods: Array<DeliveryMethod>;
133
+ /**
134
+ * Details for voucher-based delivery, provided when VOUCHER is one of deliveryMethods.
135
+ */
136
+ voucher: Ticket | null;
137
+ /**
138
+ * An array of unit items included in the booking.
139
+ */
140
+ unitItems: Array<UnitItem>;
141
+ /**
142
+ * Is on the object when Pricing capability is requested.
143
+ */
144
+ pricing?: Pricing;
145
+ /**
146
+ * A UUID you can set when generating the booking to use as an idempotency key.
147
+ */
148
+ rebookingUuid: string | null;
149
+ /**
150
+ * UUID of the original booking if this booking is a rebooking.
151
+ */
152
+ originalRebookingUuid: string | null;
153
+ /**
154
+ * An alias for the booking.
155
+ */
156
+ alias: string | null;
157
+ settlementMethod: SettlementMethod;
158
+ /**
159
+ * If `TRUE`, booking was created as a quote.
160
+ */
161
+ quote: boolean;
162
+ /**
163
+ * Whether the booking can be confirmed.
164
+ */
165
+ confirmable: boolean;
166
+ agent: Agent | null;
167
+ reseller: Reseller | null;
168
+ /**
169
+ * An array of required contact fields.
170
+ */
171
+ requiredContactFields: Array<ContactField>;
172
+ /**
173
+ * An array of visible contact fields.
174
+ */
175
+ visibleContactFields: Array<ContactField>;
176
+ rejection: BookingRejection | null;
177
+ utcNoshowedAt: string | null;
178
+ /**
179
+ * An RFC 3339 date time in UTC when the booking was rebooked.
180
+ */
181
+ utcRebookedAt: string | null;
182
+ tags?: Array<string>;
183
+ user: User | null;
184
+ seller: Seller | null;
185
+ localDateTimeStart: string;
186
+ localDateTimeEnd: string;
187
+ emailReceipt: boolean;
188
+ label: Label | null;
189
+ /**
190
+ * Whether the booking requires a pickup. This field is only present when octo/pickups capability is requested.
191
+ */
192
+ pickupRequested?: boolean;
193
+ /**
194
+ * The pickup ID that identifies the pickup in the booking system to make this reservation. This field is only present when octo/pickups capability is requested.
195
+ */
196
+ pickupId?: string | null;
197
+ /**
198
+ * A hotel name and address that will be included in the booking.
199
+ * This field is only present when octo/pickups capability is requested.
200
+ */
201
+ pickupHotel?: string | null;
202
+ /**
203
+ * A room number in the pickup hotel.
204
+ * This field is only present when octo/pickups capability is requested.
205
+ */
206
+ pickupRoom?: string | null;
207
+ /**
208
+ * Optional notes for the pickup. This field is only present when octo/pickups capability is requested.
209
+ */
210
+ pickupNotes?: string | null;
211
+ /**
212
+ * A pickup point that will be included in the booking. This field is only present when octo/pickups capability is requested.
213
+ */
214
+ pickupPoint?: PickupPoint | null;
215
+ duration?: string;
216
+ durationAmount?: number;
217
+ durationUnit?: DurationUnit;
218
+ meetingLocalDateTime?: string | null;
219
+ meetingPoint?: string | null;
220
+ meetingPointCoordinates?: string | null;
221
+ notices?: Array<Notice>;
222
+ termsAccepted?: boolean;
223
+ primary?: boolean;
224
+ orderId?: string;
225
+ orderReference?: string;
226
+ /**
227
+ * Optional code used to apply a specific offer.
228
+ */
229
+ offerCode?: string | null;
230
+ /**
231
+ * Optional display title of the offer.
232
+ */
233
+ offerTitle?: string | null;
234
+ offerComparisons?: Array<OfferComparison>;
235
+ offerIsCombination?: boolean;
236
+ /**
237
+ * List of available offers for the availability.
238
+ */
239
+ offers?: Array<Offer>;
240
+ /**
241
+ * Best or selected offer for this availability.
242
+ */
243
+ offer?: Offer | null;
244
+ /**
245
+ * An array of questions and andswers that will be included in the booking.
246
+ * This field is only present when octo/questions capability is requested.
247
+ */
248
+ questionAnswers?: Array<QuestionAnswer>;
249
+ /**
250
+ * List of resource allocations associated with the booking.
251
+ */
252
+ resourceAllocations?: Array<ResourceAllocation>;
253
+ giftPayment?: GiftPayment | null;
254
+ extraItems?: Array<ExtraItem>;
255
+ /**
256
+ * Whether the booking is a package.
257
+ * This field is only present when octo/packages capability is requested.
258
+ */
259
+ isPackage?: boolean;
260
+ /**
261
+ * The package ID that identifies the package in the booking system to make this reservation.
262
+ * This field is only present when octo/packages capability is requested.
263
+ */
264
+ packageIncludeId?: string;
265
+ /**
266
+ * A package that will be included in the booking.
267
+ * This field is only present when octo/packages capability is requested.
268
+ */
269
+ packageInclude?: Include | null;
270
+ /**
271
+ * An array of bookings that will be included in the package.
272
+ * This field is only present when octo/packages capability is requested.
273
+ */
274
+ packageBookings?: Array<Booking>;
275
+ /**
276
+ * An array of adjustments that will be included in the booking. This field is only present when octo/adjustments capability is requested.
277
+ */
278
+ adjustments?: Array<BookingAdjustment>;
279
+ identity?: Identity;
280
+ identityId?: string;
281
+ };
@@ -0,0 +1,17 @@
1
+ import type { AdjustmentDiscount } from './AdjustmentDiscount';
2
+ import type { AdjustmentPer } from './AdjustmentPer';
3
+ export type BookingAdjustment = {
4
+ /**
5
+ * The amount of the adjustment.
6
+ */
7
+ per: AdjustmentPer;
8
+ /**
9
+ * The amount of the adjustment.
10
+ */
11
+ amount: number;
12
+ /**
13
+ * Optional notes for the adjustment.
14
+ */
15
+ notes: string | null;
16
+ netDiscount: AdjustmentDiscount;
17
+ };
@@ -0,0 +1,7 @@
1
+ import type { BookingAdjustment } from './BookingAdjustment';
2
+ export type BookingAdjustments = {
3
+ /**
4
+ * An array of adjustments that will be included in the booking. This field is only present when octo/adjustments capability is requested.
5
+ */
6
+ adjustments?: Array<BookingAdjustment>;
7
+ };
@@ -0,0 +1,15 @@
1
+ import type { Refund } from './Refund';
2
+ export type BookingCancellation = {
3
+ /**
4
+ * Whether the booking was refunded as part of the cancellation. Possible values are FULL, PARTIAL or NONE
5
+ */
6
+ refund: Refund;
7
+ /**
8
+ * A text value describing why the cancellation happened.
9
+ */
10
+ reason: string | null;
11
+ /**
12
+ * An RFC 3339 date time in UTC indicating when the booking was cancelled.
13
+ */
14
+ utcCancelledAt: string;
15
+ };
@@ -0,0 +1,2 @@
1
+ import type { Octo_BookingCancellationBody } from './Octo_BookingCancellationBody';
2
+ export type BookingCancellationBody = Octo_BookingCancellationBody;
@@ -0,0 +1,2 @@
1
+ import type { Octo_BookingCancellationErrorResponse } from './Octo_BookingCancellationErrorResponse';
2
+ export type BookingCancellationErrorResponse = Octo_BookingCancellationErrorResponse;
@@ -0,0 +1,5 @@
1
+ import type { BookingCancellationBody } from './BookingCancellationBody';
2
+ import type { Octo_BookingCancellationRequest } from './Octo_BookingCancellationRequest';
3
+ export type BookingCancellationRequest = Octo_BookingCancellationRequest & {
4
+ body: BookingCancellationBody;
5
+ };
@@ -0,0 +1,5 @@
1
+ export type BookingCart = {
2
+ primary?: boolean;
3
+ orderId?: string;
4
+ orderReference?: string;
5
+ };