@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,51 @@
1
+ import type { ResellerStatus } from './ResellerStatus';
2
+ export type Mapping = {
3
+ /**
4
+ * Unique identifier for the mapping.
5
+ */
6
+ id: string;
7
+ /**
8
+ * Reference string provided by the reseller.
9
+ */
10
+ resellerReference: string;
11
+ /**
12
+ * Current status of the mapping from the reseller perspective.
13
+ */
14
+ resellerStatus: ResellerStatus;
15
+ /**
16
+ * Display title of the mapping.
17
+ */
18
+ title: string;
19
+ /**
20
+ * Public-facing URL of the mapping.
21
+ */
22
+ url: string;
23
+ /**
24
+ * Optional webhook URL for updates.
25
+ */
26
+ webhookUrl: string | null;
27
+ /**
28
+ * Indicates whether the product option is required.
29
+ */
30
+ optionRequired: boolean;
31
+ /**
32
+ * Indicates whether a unit is required.
33
+ */
34
+ unitRequired: boolean;
35
+ /**
36
+ * Optional linked product ID.
37
+ */
38
+ productId: string | null;
39
+ /**
40
+ * Optional linked option ID.
41
+ */
42
+ optionId: string | null;
43
+ /**
44
+ * Optional linked unit ID.
45
+ */
46
+ unitId: string | null;
47
+ /**
48
+ * Indicates whether the mapping is actively connected.
49
+ */
50
+ connected: boolean;
51
+ };
@@ -0,0 +1,5 @@
1
+ export declare enum MediaRel {
2
+ LOGO = "LOGO",
3
+ COVER = "COVER",
4
+ GALLERY = "GALLERY"
5
+ }
@@ -0,0 +1,8 @@
1
+ export declare enum MediaType {
2
+ IMAGE_JPEG = "image/jpeg",
3
+ IMAGE_PNG = "image/png",
4
+ VIDEO_MP4 = "video/mp4",
5
+ VIDEO_AVI = "video/avi",
6
+ EXTERNAL_YOUTUBE = "external/youtube",
7
+ EXTERNAL_VIMEO = "external/vimeo"
8
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum NetDiscount {
2
+ NONE = "NONE",
3
+ FULL = "FULL",
4
+ SPLIT = "SPLIT",
5
+ PRORATED = "PRORATED"
6
+ }
@@ -0,0 +1,6 @@
1
+ export type Notice = {
2
+ id: string;
3
+ title: string | null;
4
+ shortDescription: string;
5
+ coverImageUrl: string | null;
6
+ };
@@ -0,0 +1,45 @@
1
+ import type { AvailabilityStatus } from './AvailabilityStatus';
2
+ import type { Octo_OpeningHours } from './Octo_OpeningHours';
3
+ import type { Octo_Pricing } from './Octo_Pricing';
4
+ import type { Octo_PricingUnit } from './Octo_PricingUnit';
5
+ export type Octo_AvailabilityCalendar = {
6
+ /**
7
+ * The specific date for querying availability on Availability Calendar endpoint. This field must follow the ISO 8601 date format (e.g., 2024-11-18). It ensures standardized representation of dates across different systems.
8
+ */
9
+ localDate: string;
10
+ /**
11
+ * Indicates whether there is any remaining availability for the specified date.
12
+ * true: Availability exists.
13
+ * false: Fully booked or unavailable.
14
+ */
15
+ available: boolean;
16
+ /**
17
+ * Defines the current status of the availability date:
18
+ * AVAILABLE: Open for booking.
19
+ * FREESALE: Unlimited availability, no capacity limits.
20
+ * SOLD_OUT: No spots available.
21
+ * LIMITED: Less than 50% capacity remaining.
22
+ * CLOSED: The availability is closed.
23
+ */
24
+ status: AvailabilityStatus;
25
+ /**
26
+ * Specifies the number of available slots remaining quantity (highest remaining vacancies from all availabilities of this day). Should be nulled or omitted when status is FREESALE.
27
+ */
28
+ vacancies: number | null;
29
+ /**
30
+ * The total capacity for this availability date.
31
+ */
32
+ capacity: number | null;
33
+ /**
34
+ * Defines the opening hours for this availability, even for start time-based availability. Supports multiple periods for breaks in the day.
35
+ */
36
+ openingHours: Array<Octo_OpeningHours>;
37
+ /**
38
+ * Is on the object when Pricing capability is requested.
39
+ */
40
+ unitPricingFrom?: Array<Octo_PricingUnit>;
41
+ /**
42
+ * Is on the object when Pricing capability is requested.
43
+ */
44
+ pricingFrom?: Array<Octo_Pricing>;
45
+ };
@@ -0,0 +1,9 @@
1
+ import type { Octo_ErrorBadRequest } from './Octo_ErrorBadRequest';
2
+ import type { Octo_ErrorForbidden } from './Octo_ErrorForbidden';
3
+ import type { Octo_ErrorInternalServerError } from './Octo_ErrorInternalServerError';
4
+ import type { Octo_ErrorInvalidOptionID } from './Octo_ErrorInvalidOptionID';
5
+ import type { Octo_ErrorInvalidProductID } from './Octo_ErrorInvalidProductID';
6
+ import type { Octo_ErrorUnauthorized } from './Octo_ErrorUnauthorized';
7
+ export type Octo_AvailabilityCalendarErrorResponse = {
8
+ body: Octo_ErrorInvalidProductID | Octo_ErrorInvalidOptionID | Octo_ErrorBadRequest | Octo_ErrorUnauthorized | Octo_ErrorInternalServerError | Octo_ErrorForbidden;
9
+ };
@@ -0,0 +1,9 @@
1
+ import type { Octo_ErrorBadRequest } from './Octo_ErrorBadRequest';
2
+ import type { Octo_ErrorForbidden } from './Octo_ErrorForbidden';
3
+ import type { Octo_ErrorInternalServerError } from './Octo_ErrorInternalServerError';
4
+ import type { Octo_ErrorInvalidOptionID } from './Octo_ErrorInvalidOptionID';
5
+ import type { Octo_ErrorInvalidProductID } from './Octo_ErrorInvalidProductID';
6
+ import type { Octo_ErrorUnauthorized } from './Octo_ErrorUnauthorized';
7
+ export type Octo_AvailabilityCheckErrorResponse = {
8
+ body: Octo_ErrorInvalidProductID | Octo_ErrorInvalidOptionID | Octo_ErrorBadRequest | Octo_ErrorUnauthorized | Octo_ErrorInternalServerError | Octo_ErrorForbidden;
9
+ };
@@ -0,0 +1,10 @@
1
+ export type Octo_BaseError = {
2
+ /**
3
+ * The error code. A table of possible error codes is shown below.
4
+ */
5
+ error: string;
6
+ /**
7
+ * A human-readable error message will be translated depending on the language provided by the Accept-Language header.
8
+ */
9
+ errorMessage: string;
10
+ };
@@ -0,0 +1,10 @@
1
+ export type Octo_BookingCancellationBody = {
2
+ /**
3
+ * A text value describing why the cancellation happened.
4
+ */
5
+ reason?: string;
6
+ /**
7
+ * Whether you want OCTO Cloud to email the guest a copy of their receipt and tickets. (defaults to false)
8
+ */
9
+ force?: boolean;
10
+ };
@@ -0,0 +1,8 @@
1
+ import type { Octo_ErrorForbidden } from './Octo_ErrorForbidden';
2
+ import type { Octo_ErrorInternalServerError } from './Octo_ErrorInternalServerError';
3
+ import type { Octo_ErrorInvalidBookingUUID } from './Octo_ErrorInvalidBookingUUID';
4
+ import type { Octo_ErrorUnauthorized } from './Octo_ErrorUnauthorized';
5
+ import type { Octo_ErrorUnprocessableEntity } from './Octo_ErrorUnprocessableEntity';
6
+ export type Octo_BookingCancellationErrorResponse = {
7
+ body: Octo_ErrorInvalidBookingUUID | Octo_ErrorUnprocessableEntity | Octo_ErrorUnauthorized | Octo_ErrorInternalServerError | Octo_ErrorForbidden;
8
+ };
@@ -0,0 +1,8 @@
1
+ import type { Octo_BookingCancellationBody } from './Octo_BookingCancellationBody';
2
+ export type Octo_BookingCancellationRequest = {
3
+ /**
4
+ * The UUID of the booking
5
+ */
6
+ uuid: string;
7
+ body: Octo_BookingCancellationBody;
8
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The UUID of the booking
3
+ */
4
+ export type Octo_BookingCancellationRequest_uuid = string;
@@ -0,0 +1,12 @@
1
+ import type { Octo_ErrorForbidden } from './Octo_ErrorForbidden';
2
+ import type { Octo_ErrorInternalServerError } from './Octo_ErrorInternalServerError';
3
+ import type { Octo_ErrorInvalidAvailabilityID } from './Octo_ErrorInvalidAvailabilityID';
4
+ import type { Octo_ErrorInvalidBookingUUID } from './Octo_ErrorInvalidBookingUUID';
5
+ import type { Octo_ErrorInvalidOptionID } from './Octo_ErrorInvalidOptionID';
6
+ import type { Octo_ErrorInvalidProductID } from './Octo_ErrorInvalidProductID';
7
+ import type { Octo_ErrorInvalidUnitID } from './Octo_ErrorInvalidUnitID';
8
+ import type { Octo_ErrorUnauthorized } from './Octo_ErrorUnauthorized';
9
+ import type { Octo_ErrorUnprocessableEntity } from './Octo_ErrorUnprocessableEntity';
10
+ export type Octo_BookingConfirmationErrorResponse = {
11
+ body: Octo_ErrorInvalidProductID | Octo_ErrorInvalidOptionID | Octo_ErrorInvalidUnitID | Octo_ErrorInvalidAvailabilityID | Octo_ErrorInvalidBookingUUID | Octo_ErrorUnprocessableEntity | Octo_ErrorUnauthorized | Octo_ErrorInternalServerError | Octo_ErrorForbidden;
12
+ };
@@ -0,0 +1,11 @@
1
+ import type { Octo_ErrorForbidden } from './Octo_ErrorForbidden';
2
+ import type { Octo_ErrorInternalServerError } from './Octo_ErrorInternalServerError';
3
+ import type { Octo_ErrorInvalidAvailabilityID } from './Octo_ErrorInvalidAvailabilityID';
4
+ import type { Octo_ErrorInvalidOptionID } from './Octo_ErrorInvalidOptionID';
5
+ import type { Octo_ErrorInvalidProductID } from './Octo_ErrorInvalidProductID';
6
+ import type { Octo_ErrorInvalidUnitID } from './Octo_ErrorInvalidUnitID';
7
+ import type { Octo_ErrorUnauthorized } from './Octo_ErrorUnauthorized';
8
+ import type { Octo_ErrorUnprocessableEntity } from './Octo_ErrorUnprocessableEntity';
9
+ export type Octo_BookingReservationErrorResponse = {
10
+ body: Octo_ErrorInvalidProductID | Octo_ErrorInvalidOptionID | Octo_ErrorInvalidUnitID | Octo_ErrorInvalidAvailabilityID | Octo_ErrorUnprocessableEntity | Octo_ErrorUnauthorized | Octo_ErrorInternalServerError | Octo_ErrorForbidden;
11
+ };
@@ -0,0 +1,2 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorBadRequest = Octo_BaseError;
@@ -0,0 +1,2 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorForbidden = Octo_BaseError;
@@ -0,0 +1,2 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorInternalServerError = Octo_BaseError;
@@ -0,0 +1,7 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorInvalidAvailabilityID = Octo_BaseError & {
3
+ /**
4
+ * Missing or invalid `availabilityId` in the request
5
+ */
6
+ availabilityId: string;
7
+ };
@@ -0,0 +1,7 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorInvalidBookingUUID = Octo_BaseError & {
3
+ /**
4
+ * Missing or invalid booking UUID, or if you're confirming the booking the booking may have expired already.
5
+ */
6
+ uuid: string;
7
+ };
@@ -0,0 +1,7 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorInvalidOptionID = Octo_BaseError & {
3
+ /**
4
+ * Missing or invalid `optionId` in the request
5
+ */
6
+ optionId: string;
7
+ };
@@ -0,0 +1,7 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorInvalidProductID = Octo_BaseError & {
3
+ /**
4
+ * Missing or invalid `productId` in the request
5
+ */
6
+ productId: string;
7
+ };
@@ -0,0 +1,7 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorInvalidUnitID = Octo_BaseError & {
3
+ /**
4
+ * Missing or invalid `unitId` in the request
5
+ */
6
+ unitId: string;
7
+ };
@@ -0,0 +1,2 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorUnauthorized = Octo_BaseError;
@@ -0,0 +1,2 @@
1
+ import type { Octo_BaseError } from './Octo_BaseError';
2
+ export type Octo_ErrorUnprocessableEntity = Octo_BaseError;
@@ -0,0 +1,3 @@
1
+ export type Octo_ExtendReservationBody = {
2
+ expirationMinutes?: number;
3
+ };
@@ -0,0 +1,8 @@
1
+ import type { Octo_ErrorForbidden } from './Octo_ErrorForbidden';
2
+ import type { Octo_ErrorInternalServerError } from './Octo_ErrorInternalServerError';
3
+ import type { Octo_ErrorInvalidBookingUUID } from './Octo_ErrorInvalidBookingUUID';
4
+ import type { Octo_ErrorUnauthorized } from './Octo_ErrorUnauthorized';
5
+ import type { Octo_ErrorUnprocessableEntity } from './Octo_ErrorUnprocessableEntity';
6
+ export type Octo_ExtendReservationErrorResponse = {
7
+ body: Octo_ErrorInvalidBookingUUID | Octo_ErrorUnprocessableEntity | Octo_ErrorUnauthorized | Octo_ErrorInternalServerError | Octo_ErrorForbidden;
8
+ };
@@ -0,0 +1,8 @@
1
+ import type { Octo_ExtendReservationBody } from './Octo_ExtendReservationBody';
2
+ export type Octo_ExtendReservationRequest = {
3
+ /**
4
+ * The UUID of the booking
5
+ */
6
+ uuid: string;
7
+ body: Octo_ExtendReservationBody;
8
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The UUID of the booking
3
+ */
4
+ export type Octo_ExtendReservationRequest_uuid = string;
@@ -0,0 +1,6 @@
1
+ export type Octo_GetBookingRequest = {
2
+ /**
3
+ * The UUID of the booking
4
+ */
5
+ uuid: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The UUID of the booking
3
+ */
4
+ export type Octo_GetBookingRequest_uuid = string;
@@ -0,0 +1,30 @@
1
+ export type Octo_GetBookingsRequest = {
2
+ /**
3
+ * The reseller reference on the booking
4
+ */
5
+ resellerReference?: string;
6
+ /**
7
+ * The reference provided by the supplier
8
+ */
9
+ supplierReference?: string;
10
+ /**
11
+ * All bookings made for a specific date
12
+ */
13
+ localDate?: string;
14
+ /**
15
+ * First date of a date range search
16
+ */
17
+ localDateStart?: string;
18
+ /**
19
+ * Last date of a date range search
20
+ */
21
+ localDateEnd?: string;
22
+ /**
23
+ * The product id to filter by
24
+ */
25
+ productId?: string;
26
+ /**
27
+ * The option id to filter by
28
+ */
29
+ optionId?: string;
30
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * All bookings made for a specific date
3
+ */
4
+ export type Octo_GetBookingsRequest_localDate = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Last date of a date range search
3
+ */
4
+ export type Octo_GetBookingsRequest_localDateEnd = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * First date of a date range search
3
+ */
4
+ export type Octo_GetBookingsRequest_localDateStart = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The option id to filter by
3
+ */
4
+ export type Octo_GetBookingsRequest_optionId = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The product id to filter by
3
+ */
4
+ export type Octo_GetBookingsRequest_productId = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The reseller reference on the booking
3
+ */
4
+ export type Octo_GetBookingsRequest_resellerReference = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The reference provided by the supplier
3
+ */
4
+ export type Octo_GetBookingsRequest_supplierReference = string;
@@ -0,0 +1,6 @@
1
+ export type Octo_GetProductRequest = {
2
+ /**
3
+ * The product id
4
+ */
5
+ id: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The product id
3
+ */
4
+ export type Octo_GetProductRequest_id = string;
@@ -0,0 +1 @@
1
+ export type Octo_GetProductsRequest = Record<string, any>;
@@ -0,0 +1 @@
1
+ export type Octo_GetSupplierRequest = Record<string, any>;
@@ -0,0 +1,35 @@
1
+ import type { MediaRel } from './MediaRel';
2
+ import type { MediaType } from './MediaType';
3
+ export type Octo_Media = {
4
+ /**
5
+ * The URL of the media file. The URL must be stable and publicly accessible.
6
+ */
7
+ src: string;
8
+ /**
9
+ * Specifies the type of the media file, which indicates its format and intended usage. Recommended types include: image/jpeg: High-quality compressed images, ideal for general use. Suggested dimensions: 1920x1080 or higher.
10
+ * image/png: Images with transparency or higher visual fidelity, recommended for logos. Suggested dimensions: At least 1000x1000 pixels.
11
+ * video/mp4: Universal video format for high-quality playback. Suggested resolution: 1080p or higher.
12
+ * video/avi: A less common video format; MP4 is generally preferred for compatibility.
13
+ * external/youtube: URL links to YouTube videos for dynamic content. Use a shareable URL format.
14
+ * external/vimeo: URL links to Vimeo-hosted videos for high-quality or private video content.
15
+ */
16
+ type: MediaType;
17
+ /**
18
+ * Defines the relationship of the media file to the supplier's content. Common values include: LOGO: For branding assets like supplier logos.
19
+ * COVER: For primary visual elements representing the supplier.
20
+ * GALLERY: For additional images or videos.
21
+ */
22
+ rel: MediaRel;
23
+ /**
24
+ * The title or name of the media, providing a brief description or identifier for the media file. This helps in organizing and identifying media files (e.g., "Main Attraction Image," "Promotional Video"). This field can be null if no title is provided.
25
+ */
26
+ title: string | null;
27
+ /**
28
+ * A caption providing additional context or information about what is depicted in the media. Captions should be customer-facing and provide insights such as "Overview of the city skyline at sunset" or "Guests enjoying the guided tour." This field can be null if no caption is provided.
29
+ */
30
+ caption: string | null;
31
+ /**
32
+ * Information about the copyright status or usage restrictions of the media. This may include details about ownership, licensing terms, or attribution requirements (e.g., "© 2024 Example Corp, All Rights Reserved"). If null, it is assumed there are no copyright restrictions or attribution requirements.
33
+ */
34
+ copyright: string | null;
35
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Defines the opening hours for this availability, even for start time-based availability. Supports multiple periods for breaks in the day.
3
+ */
4
+ export type Octo_OpeningHours = {
5
+ /**
6
+ * The opening time
7
+ */
8
+ from: string;
9
+ /**
10
+ * The closing time
11
+ */
12
+ to: string;
13
+ };
@@ -0,0 +1,27 @@
1
+ import type { Octo_Tax } from './Octo_Tax';
2
+ export type Octo_Pricing = {
3
+ /**
4
+ * Represents the advertised marketing price, which must be equal to or higher than pricingFrom.retail. Typically used for strike-through pricing, it highlights the original or component-based value of the product when the retail price reflects a discount or bundled offer. For example, a package product combining multiple components (e.g., hotel + tour + meals) may have a total component value of $500 (original), while the bundled retail price is $400. In such cases, the original price is displayed to show savings.This field should only be shown when it is higher than pricingFrom.retail and must accurately reflect a valid reference price, ensuring transparency and trust.
5
+ */
6
+ original: number;
7
+ /**
8
+ * The supplier’s recommended sale price, including all taxes and fees. This is the price charged to end customers and represents the total cost.
9
+ */
10
+ retail: number;
11
+ /**
12
+ * The wholesale price charged to the reseller, including all taxes and fees. This price reflects the amount the reseller pays to the supplier.
13
+ */
14
+ net: number | null;
15
+ /**
16
+ * Specifies the currency used for the prices provided in the pricingFrom object. The value must adhere to ISO 4217 currency codes (e.g., USD, EUR, JPY) to ensure consistency across systems.
17
+ */
18
+ currency: string;
19
+ /**
20
+ * All pricing is given in integers to avoid floating point rounding issues. e.g. USD = 2 and JPY = 0. To convert a price to decimal you should do: price / (10 ** currencyPrecision) where ** is to the power of e.g. Math.pow(10, currencyPrecision).
21
+ */
22
+ currencyPrecision: number;
23
+ /**
24
+ * This field defines the number of decimal places used for the currency in the pricingFrom object, ensuring precise representation and preventing rounding errors during calculations. For example, in currencies like USD, which have a precision of 2, prices are expressed in cents (e.g., $45.00 is represented as 4500). In currencies like JPY, which have a precision of 0, prices are expressed as whole yen amounts (e.g., ¥4500 is represented as 4500). By aligning with the specific decimal requirements of different currencies, this field guarantees accurate pricing calculations and consistent handling across various currency formats.
25
+ */
26
+ includedTaxes: Array<Octo_Tax>;
27
+ };
@@ -0,0 +1,7 @@
1
+ import type { Octo_Pricing } from './Octo_Pricing';
2
+ export type Octo_PricingUnit = Octo_Pricing & {
3
+ /**
4
+ * ID of the unit this pricing is related to
5
+ */
6
+ unitId: string;
7
+ };
@@ -0,0 +1 @@
1
+ export type Octo_RequestHeaders = Record<string, any>;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This optional request header allows to specify preferred languages for content in the response. A language code that specifies the language of the product content. This code must conform to the BCP 47 standard, following RFC 5646 and RFC 4647 specifications for language tags. Examples include en-US for American English, fr-FR for French (France), and es-ES for Spanish (Spain). This header supports a comma-separated list of language tags with optional quality values (q) to indicate priority, such as en-US, fr-CA;q=0.8, fr;q=0.7, which prioritizes U.S. English, followed by Canadian French, and general French. This header is defined in the HTTP/1.1 specification (RFC 7231) and is commonly used for internationalized websites and services to enhance user experience. For more details, visit MDN Web Docs: Accept-Language - HTTP | MDN. Note this only determines preference and does not guarantee location has content available in the desired language.
3
+ */
4
+ export type Octo_RequestHeadersContent = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * A list of the Capabilities (their IDs) initialized with your request.
3
+ */
4
+ export type Octo_RequestHeaders_octoCapabilities = string;
@@ -0,0 +1 @@
1
+ export type Octo_ResponseHeaders = Record<string, any>;
@@ -0,0 +1,15 @@
1
+ export type Octo_Tax = {
2
+ /**
3
+ * The name of the tax or fee, such as "VAT", "City Tax", or "Service Charge". This field provides clear labeling of the tax or fee being applied, making the pricing structure easier to interpret.
4
+ */
5
+ name: string;
6
+ /**
7
+ * The value of the tax or fee included in the retail price, expressed in the same currency as the pricingFrom.currency. This value indicates the portion of the end-customer price attributable to the specific tax or fee.
8
+ */
9
+ retail: number;
10
+ original: number;
11
+ /**
12
+ * The value of the tax or fee included in the net price, expressed in the same currency as the pricingFrom.currency. This value indicates the portion of the reseller’s cost attributable to the specific tax or fee.
13
+ */
14
+ net: number | null;
15
+ };
@@ -0,0 +1,28 @@
1
+ import type { NetDiscount } from './NetDiscount';
2
+ import type { OfferRestrictions } from './OfferRestrictions';
3
+ export type Offer = {
4
+ /**
5
+ * The title or name of the offer.
6
+ */
7
+ title: string;
8
+ /**
9
+ * The unique code used to apply the offer.
10
+ */
11
+ code: string;
12
+ /**
13
+ * Optional description of the offer.
14
+ */
15
+ description: string | null;
16
+ /**
17
+ * Net discount strategy applied to the offer.
18
+ */
19
+ netDiscount: NetDiscount | null;
20
+ /**
21
+ * Restrictions that determine when the offer is valid.
22
+ */
23
+ restrictions: OfferRestrictions;
24
+ /**
25
+ * Indicates whether the offer can currently be applied.
26
+ */
27
+ usable: boolean;
28
+ };
@@ -0,0 +1,37 @@
1
+ import type { Booking } from './Booking';
2
+ import type { Pricing } from './Pricing';
3
+ import type { Unit } from './Unit';
4
+ export type OfferCombination = {
5
+ /**
6
+ * ID of the product in the combination.
7
+ */
8
+ productId: string;
9
+ /**
10
+ * ID of the selected option.
11
+ */
12
+ optionId: string;
13
+ /**
14
+ * Code used to apply the offer.
15
+ */
16
+ offerCode: string;
17
+ /**
18
+ * Title of the promotional offer.
19
+ */
20
+ offerTitle: string;
21
+ /**
22
+ * Pricing details for this offer.
23
+ */
24
+ pricing: Pricing;
25
+ /**
26
+ * Optional short description.
27
+ */
28
+ shortDescription?: string;
29
+ /**
30
+ * Units included in this offer.
31
+ */
32
+ units: Array<Unit>;
33
+ /**
34
+ * Optional booking metadata.
35
+ */
36
+ booking: Booking | null;
37
+ };