@ventrata/octo-types 0.0.12 → 0.0.13

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 (670) hide show
  1. package/.github/dependabot.yml +13 -0
  2. package/.github/workflows/check-version-pr.yml +48 -0
  3. package/.github/workflows/code-check-pr.yml +172 -0
  4. package/.github/workflows/npm-publish.yml +46 -0
  5. package/biome.json +79 -0
  6. package/package.json +1 -6
  7. package/src/index.ts +663 -0
  8. package/src/models/AdjustmentDiscount.ts +14 -0
  9. package/src/models/AdjustmentPer.ts +12 -0
  10. package/src/models/AdyenGateway.ts +13 -0
  11. package/src/models/AdyenGatewaySession.ts +8 -0
  12. package/src/models/AdyenPaymentMethodsConfiguration.ts +14 -0
  13. package/src/models/AdyenPaymentMethodsConfigurationApplePay.ts +7 -0
  14. package/src/models/AdyenPaymentMethodsConfigurationCard.ts +24 -0
  15. package/src/models/AdyenPaymentMethodsConfigurationCardBillingAddressMode.ts +9 -0
  16. package/src/models/AdyenPaymentMethodsConfigurationGooglePay.ts +9 -0
  17. package/src/models/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.ts +8 -0
  18. package/src/models/AdyenPaymentMethodsConfigurationPayPay.ts +9 -0
  19. package/src/models/Agent.ts +22 -0
  20. package/src/models/Availability.ts +150 -0
  21. package/src/models/AvailabilityCalendar.ts +81 -0
  22. package/src/models/AvailabilityCalendarBody.ts +28 -0
  23. package/src/models/AvailabilityCalendarErrorResponse.ts +6 -0
  24. package/src/models/AvailabilityCalendarExtras.ts +8 -0
  25. package/src/models/AvailabilityCalendarOffers.ts +23 -0
  26. package/src/models/AvailabilityCalendarPricing.ts +16 -0
  27. package/src/models/AvailabilityCalendarRequest.ts +8 -0
  28. package/src/models/AvailabilityCheckBody.ts +32 -0
  29. package/src/models/AvailabilityCheckErrorResponse.ts +6 -0
  30. package/src/models/AvailabilityCheckRequest.ts +8 -0
  31. package/src/models/AvailabilityContent.ts +41 -0
  32. package/src/models/AvailabilityExtras.ts +8 -0
  33. package/src/models/AvailabilityOffers.ts +23 -0
  34. package/src/models/AvailabilityPickups.ts +22 -0
  35. package/src/models/AvailabilityPricing.ts +16 -0
  36. package/src/models/AvailabilityResources.ts +10 -0
  37. package/src/models/AvailabilityStatus.ts +11 -0
  38. package/src/models/AvailabilityType.ts +8 -0
  39. package/src/models/AvailabilityUnit.ts +16 -0
  40. package/src/models/AvailabilityUpdate.ts +29 -0
  41. package/src/models/Booking.ts +309 -0
  42. package/src/models/BookingAdjustment.ts +21 -0
  43. package/src/models/BookingAdjustments.ts +11 -0
  44. package/src/models/BookingCancellation.ts +19 -0
  45. package/src/models/BookingCancellationBody.ts +8 -0
  46. package/src/models/BookingCancellationErrorResponse.ts +6 -0
  47. package/src/models/BookingCancellationPathParams.ts +10 -0
  48. package/src/models/BookingCancellationRequest_uuid.ts +8 -0
  49. package/src/models/BookingCardPayments.ts +9 -0
  50. package/src/models/BookingCart.ts +9 -0
  51. package/src/models/BookingCheckin.ts +9 -0
  52. package/src/models/BookingConfirmationBody.ts +42 -0
  53. package/src/models/BookingConfirmationErrorResponse.ts +6 -0
  54. package/src/models/BookingConfirmationPathParams.ts +10 -0
  55. package/src/models/BookingConfirmationRequest_uuid.ts +8 -0
  56. package/src/models/BookingContact.ts +62 -0
  57. package/src/models/BookingContent.ts +17 -0
  58. package/src/models/BookingExtras.ts +10 -0
  59. package/src/models/BookingGifts.ts +8 -0
  60. package/src/models/BookingIdentities.ts +9 -0
  61. package/src/models/BookingMemberships.ts +10 -0
  62. package/src/models/BookingOffers.ts +26 -0
  63. package/src/models/BookingPackages.ts +29 -0
  64. package/src/models/BookingPickupBody.ts +22 -0
  65. package/src/models/BookingPickups.ts +33 -0
  66. package/src/models/BookingPricing.ts +11 -0
  67. package/src/models/BookingQuestions.ts +12 -0
  68. package/src/models/BookingRejection.ts +14 -0
  69. package/src/models/BookingRentals.ts +10 -0
  70. package/src/models/BookingReservationBody.ts +89 -0
  71. package/src/models/BookingReservationErrorResponse.ts +6 -0
  72. package/src/models/BookingReservationRequest.ts +8 -0
  73. package/src/models/BookingResources.ts +11 -0
  74. package/src/models/BookingStatus.ts +15 -0
  75. package/src/models/BookingUpdate.ts +23 -0
  76. package/src/models/BookingUpdateBody.ts +84 -0
  77. package/src/models/BookingUpdatePathParams.ts +10 -0
  78. package/src/models/BookingUpdateRequest_uuid.ts +8 -0
  79. package/src/models/Brand.ts +21 -0
  80. package/src/models/BrandContact.ts +11 -0
  81. package/src/models/BridgepayGateway.ts +7 -0
  82. package/src/models/CancelOrderBody.ts +10 -0
  83. package/src/models/CancelOrderRequest_id.ts +8 -0
  84. package/src/models/Capability.ts +28 -0
  85. package/src/models/CapabilityId.ts +27 -0
  86. package/src/models/Card.ts +12 -0
  87. package/src/models/CardPayment.ts +38 -0
  88. package/src/models/Category.ts +38 -0
  89. package/src/models/ConfirmOrderBody.ts +23 -0
  90. package/src/models/ConfirmOrderPricingBody.ts +10 -0
  91. package/src/models/ConfirmOrderRequest_id.ts +8 -0
  92. package/src/models/ContactField.ts +15 -0
  93. package/src/models/CreateOrderBody.ts +23 -0
  94. package/src/models/CreateOrderPricingBody.ts +10 -0
  95. package/src/models/CreateOrderRequest_id.ts +8 -0
  96. package/src/models/CreateWaitlistRequest.ts +15 -0
  97. package/src/models/CreateWebhookBody.ts +39 -0
  98. package/src/models/CreateWebhookRequest.ts +8 -0
  99. package/src/models/CreateWebhookRequestHeaders_octoCapabilities.ts +8 -0
  100. package/src/models/CustomerContact.ts +69 -0
  101. package/src/models/DefaultableID.ts +10 -0
  102. package/src/models/DeleteWebhookPathParams.ts +10 -0
  103. package/src/models/DeleteWebhookRequestHeaders_octoCapabilities.ts +8 -0
  104. package/src/models/DeleteWebhookRequest_id.ts +8 -0
  105. package/src/models/DeliveryFormat.ts +11 -0
  106. package/src/models/DeliveryMethod.ts +8 -0
  107. package/src/models/DeliveryOption.ts +21 -0
  108. package/src/models/Destination.ts +95 -0
  109. package/src/models/DestinationContact.ts +29 -0
  110. package/src/models/DestinationPricing.ts +14 -0
  111. package/src/models/Diff.ts +22 -0
  112. package/src/models/DurationUnit.ts +9 -0
  113. package/src/models/ExtendOrderBody.ts +7 -0
  114. package/src/models/ExtendOrderRequest_id.ts +8 -0
  115. package/src/models/ExtendReservationBody.ts +6 -0
  116. package/src/models/ExtendReservationErrorResponse.ts +6 -0
  117. package/src/models/ExtendReservationPathParams.ts +10 -0
  118. package/src/models/ExtendReservationRequest_uuid.ts +8 -0
  119. package/src/models/ExternalGateway.ts +5 -0
  120. package/src/models/Extra.ts +44 -0
  121. package/src/models/ExtraItem.ts +24 -0
  122. package/src/models/ExtraPricing.ts +32 -0
  123. package/src/models/ExtraRestrictions.ts +22 -0
  124. package/src/models/FAQ.ts +14 -0
  125. package/src/models/Font.ts +18 -0
  126. package/src/models/GetBookingRequest.ts +6 -0
  127. package/src/models/GetBookingsRequest.ts +6 -0
  128. package/src/models/GetMappingsQueryParams_optionId.ts +8 -0
  129. package/src/models/GetMappingsQueryParams_productId.ts +8 -0
  130. package/src/models/GetMappingsQueryParams_resellerReference.ts +8 -0
  131. package/src/models/GetMappingsQueryParams_resellerStatus.ts +9 -0
  132. package/src/models/GetMappingsRequest.ts +23 -0
  133. package/src/models/GetOrderRequest_id.ts +8 -0
  134. package/src/models/GetProductRequest.ts +6 -0
  135. package/src/models/GetProductsRequest.ts +6 -0
  136. package/src/models/GetSupplierRequest.ts +6 -0
  137. package/src/models/GetYourGuideActivateBody.ts +18 -0
  138. package/src/models/GetYourGuideActivateRequest.ts +8 -0
  139. package/src/models/GetYourGuideActivateRequestHeaders_octoCapabilities.ts +8 -0
  140. package/src/models/GetYourGuideConnection.ts +35 -0
  141. package/src/models/Gift.ts +57 -0
  142. package/src/models/GiftCardPayments.ts +9 -0
  143. package/src/models/GiftIdentities.ts +9 -0
  144. package/src/models/GiftPayment.ts +9 -0
  145. package/src/models/GoogleLocalizedText.ts +14 -0
  146. package/src/models/GoogleLocation.ts +15 -0
  147. package/src/models/GoogleOperator.ts +26 -0
  148. package/src/models/GoogleOptionCategory.ts +10 -0
  149. package/src/models/GoogleOptions.ts +39 -0
  150. package/src/models/GoogleRating.ts +14 -0
  151. package/src/models/GoogleRelatedLocation.ts +21 -0
  152. package/src/models/GoogleUrl.ts +10 -0
  153. package/src/models/Identity.ts +11 -0
  154. package/src/models/Image.ts +9 -0
  155. package/src/models/Include.ts +33 -0
  156. package/src/models/ItineraryItem.ts +64 -0
  157. package/src/models/ItineraryItemType.ts +10 -0
  158. package/src/models/Label.ts +8 -0
  159. package/src/models/ListCapabilitiesRequest.ts +5 -0
  160. package/src/models/ListCapabilitiesRequestHeaders.ts +5 -0
  161. package/src/models/ListOrdersRequest.ts +14 -0
  162. package/src/models/ListWebhooksRequest.ts +5 -0
  163. package/src/models/ListWebhooksRequestHeaders_octoCapabilities.ts +8 -0
  164. package/src/models/Mapping.ts +55 -0
  165. package/src/models/MappingToUpdate.ts +35 -0
  166. package/src/models/MediaRel.ts +9 -0
  167. package/src/models/MediaType.ts +12 -0
  168. package/src/models/Membership.ts +15 -0
  169. package/src/models/MembershipBenefit.ts +9 -0
  170. package/src/models/NetDiscount.ts +10 -0
  171. package/src/models/Notice.ts +10 -0
  172. package/src/models/Octo_AvailabilityCalendarErrorResponse.ts +19 -0
  173. package/src/models/Octo_AvailabilityCheckErrorResponse.ts +19 -0
  174. package/src/models/Octo_BaseError.ts +14 -0
  175. package/src/models/Octo_BookingCancellationBody.ts +14 -0
  176. package/src/models/Octo_BookingCancellationErrorResponse.ts +17 -0
  177. package/src/models/Octo_BookingConfirmationErrorResponse.ts +25 -0
  178. package/src/models/Octo_BookingReservationErrorResponse.ts +23 -0
  179. package/src/models/Octo_CapabilityId.ts +14 -0
  180. package/src/models/Octo_DeliveryFormat.ts +10 -0
  181. package/src/models/Octo_ErrorBadRequest.ts +6 -0
  182. package/src/models/Octo_ErrorForbidden.ts +6 -0
  183. package/src/models/Octo_ErrorInternalServerError.ts +6 -0
  184. package/src/models/Octo_ErrorInvalidAvailabilityID.ts +11 -0
  185. package/src/models/Octo_ErrorInvalidBookingUUID.ts +11 -0
  186. package/src/models/Octo_ErrorInvalidOptionID.ts +11 -0
  187. package/src/models/Octo_ErrorInvalidProductID.ts +11 -0
  188. package/src/models/Octo_ErrorInvalidUnitID.ts +11 -0
  189. package/src/models/Octo_ErrorUnauthorized.ts +6 -0
  190. package/src/models/Octo_ErrorUnprocessableEntity.ts +6 -0
  191. package/src/models/Octo_ExtendReservationBody.ts +7 -0
  192. package/src/models/Octo_ExtendReservationErrorResponse.ts +17 -0
  193. package/src/models/Octo_GetBookingRequest.ts +10 -0
  194. package/src/models/Octo_GetBookingRequest_uuid.ts +8 -0
  195. package/src/models/Octo_GetBookingsRequest.ts +34 -0
  196. package/src/models/Octo_GetBookingsRequest_localDate.ts +8 -0
  197. package/src/models/Octo_GetBookingsRequest_localDateEnd.ts +8 -0
  198. package/src/models/Octo_GetBookingsRequest_localDateStart.ts +8 -0
  199. package/src/models/Octo_GetBookingsRequest_optionId.ts +8 -0
  200. package/src/models/Octo_GetBookingsRequest_productId.ts +8 -0
  201. package/src/models/Octo_GetBookingsRequest_resellerReference.ts +8 -0
  202. package/src/models/Octo_GetBookingsRequest_supplierReference.ts +8 -0
  203. package/src/models/Octo_GetProductRequest.ts +10 -0
  204. package/src/models/Octo_GetProductRequest_id.ts +8 -0
  205. package/src/models/Octo_GetProductsRequest.ts +5 -0
  206. package/src/models/Octo_GetSupplierRequest.ts +5 -0
  207. package/src/models/Octo_Media.ts +39 -0
  208. package/src/models/Octo_RequestHeaders.ts +5 -0
  209. package/src/models/Octo_RequestHeadersContent.ts +8 -0
  210. package/src/models/Octo_RequestHeaders_octoCapabilities.ts +8 -0
  211. package/src/models/Octo_ResponseHeaders.ts +5 -0
  212. package/src/models/Offer.ts +39 -0
  213. package/src/models/OfferCombination.ts +41 -0
  214. package/src/models/OfferComparison.ts +33 -0
  215. package/src/models/OfferDiscount.ts +19 -0
  216. package/src/models/OfferMemberships.ts +8 -0
  217. package/src/models/OfferRestrictions.ts +26 -0
  218. package/src/models/OfferTax.ts +19 -0
  219. package/src/models/OpeningHours.ts +30 -0
  220. package/src/models/OpeningHoursContent.ts +19 -0
  221. package/src/models/Option.ts +163 -0
  222. package/src/models/OptionContent.ts +59 -0
  223. package/src/models/OptionExtras.ts +8 -0
  224. package/src/models/OptionPackages.ts +8 -0
  225. package/src/models/OptionPickups.ts +22 -0
  226. package/src/models/OptionPricing.ts +15 -0
  227. package/src/models/OptionQuestions.ts +11 -0
  228. package/src/models/OptionRentals.ts +8 -0
  229. package/src/models/OptionRestrictions.ts +22 -0
  230. package/src/models/Order.ts +60 -0
  231. package/src/models/OrderCardPayments.ts +9 -0
  232. package/src/models/OrderCheckin.ts +8 -0
  233. package/src/models/OrderContent.ts +11 -0
  234. package/src/models/OrderGifts.ts +10 -0
  235. package/src/models/OrderIdentities.ts +9 -0
  236. package/src/models/OrderMemberships.ts +8 -0
  237. package/src/models/OrderOffers.ts +8 -0
  238. package/src/models/OrderPathParams.ts +10 -0
  239. package/src/models/OrderPricing.ts +8 -0
  240. package/src/models/OrderQuestions.ts +12 -0
  241. package/src/models/PackageInclude.ts +19 -0
  242. package/src/models/Partner.ts +15 -0
  243. package/src/models/PartnerEnum.ts +7 -0
  244. package/src/models/PartnersConnection.ts +18 -0
  245. package/src/models/PartnersListConnection.ts +21 -0
  246. package/src/models/PartnersListConnectionsRequest.ts +5 -0
  247. package/src/models/PartnersListConnectionsRequestHeaders.ts +6 -0
  248. package/src/models/PartnersListConnectionsRequestHeaders_octoCapabilities.ts +8 -0
  249. package/src/models/PartnersListConnectionsRequestHeaders_ventrataPartnerKey.ts +5 -0
  250. package/src/models/PaypalGateway.ts +8 -0
  251. package/src/models/PaytrGateway.ts +9 -0
  252. package/src/models/PeachGateway.ts +9 -0
  253. package/src/models/PickupPoint.ts +66 -0
  254. package/src/models/Point.ts +25 -0
  255. package/src/models/PointGroup.ts +22 -0
  256. package/src/models/Pricing.ts +36 -0
  257. package/src/models/PricingExtras.ts +9 -0
  258. package/src/models/PricingOffers.ts +8 -0
  259. package/src/models/PricingPer.ts +8 -0
  260. package/src/models/PricingUnit.ts +42 -0
  261. package/src/models/PricingUnitExtras.ts +9 -0
  262. package/src/models/Product.ts +200 -0
  263. package/src/models/ProductContent.ts +101 -0
  264. package/src/models/ProductGoogle.ts +8 -0
  265. package/src/models/ProductMemberships.ts +7 -0
  266. package/src/models/ProductPackages.ts +8 -0
  267. package/src/models/ProductPricing.ts +20 -0
  268. package/src/models/ProductRentals.ts +7 -0
  269. package/src/models/Question.ts +43 -0
  270. package/src/models/QuestionAnswer.ts +13 -0
  271. package/src/models/QuestionInputType.ts +9 -0
  272. package/src/models/RealaxGateway.ts +5 -0
  273. package/src/models/RedemptionMethod.ts +9 -0
  274. package/src/models/Refund.ts +9 -0
  275. package/src/models/RentalDuration.ts +13 -0
  276. package/src/models/RequestHeaders.ts +6 -0
  277. package/src/models/Reseller.ts +22 -0
  278. package/src/models/ResellerStatus.ts +9 -0
  279. package/src/models/Resource.ts +23 -0
  280. package/src/models/ResourceAllocation.ts +41 -0
  281. package/src/models/ResourceGroup.ts +18 -0
  282. package/src/models/ResponseHeaders.ts +6 -0
  283. package/src/models/Scan.ts +9 -0
  284. package/src/models/Seat.ts +22 -0
  285. package/src/models/SelectOption.ts +14 -0
  286. package/src/models/Seller.ts +12 -0
  287. package/src/models/SettlementMethod.ts +11 -0
  288. package/src/models/SpreedlyGateway.ts +11 -0
  289. package/src/models/StripeGateway.ts +19 -0
  290. package/src/models/Supplier.ts +35 -0
  291. package/src/models/SupplierContact.ts +22 -0
  292. package/src/models/SupplierContent.ts +9 -0
  293. package/src/models/Tax.ts +20 -0
  294. package/src/models/Ticket.ts +28 -0
  295. package/src/models/TourGroup.ts +18 -0
  296. package/src/models/UUID.ts +5 -0
  297. package/src/models/Unit.ts +80 -0
  298. package/src/models/UnitContent.ts +18 -0
  299. package/src/models/UnitExtras.ts +8 -0
  300. package/src/models/UnitItem.ts +95 -0
  301. package/src/models/UnitItemExtras.ts +8 -0
  302. package/src/models/UnitItemIdentifier.ts +23 -0
  303. package/src/models/UnitItemPricing.ts +11 -0
  304. package/src/models/UnitItemQuestions.ts +11 -0
  305. package/src/models/UnitItemRedemption.ts +8 -0
  306. package/src/models/UnitMemberships.ts +8 -0
  307. package/src/models/UnitPricing.ts +15 -0
  308. package/src/models/UnitQuestions.ts +11 -0
  309. package/src/models/UnitRestrictions.ts +63 -0
  310. package/src/models/UnitType.ts +15 -0
  311. package/src/models/UpdateMappingsRequest.ts +8 -0
  312. package/src/models/UpdateOrderBody.ts +23 -0
  313. package/src/models/UpdateOrderPricingBody.ts +10 -0
  314. package/src/models/UpdateOrderRequest_id.ts +8 -0
  315. package/src/models/User.ts +12 -0
  316. package/src/models/VivawalletGateway.ts +8 -0
  317. package/src/models/Waitlist.ts +15 -0
  318. package/src/models/WaitlistUnitIdentifier.ts +8 -0
  319. package/src/models/WaitlistUnitItemIdentifier.ts +8 -0
  320. package/src/models/Webhook.ts +36 -0
  321. package/src/models/WebhookEvent.ts +8 -0
  322. package/src/models/WhoIAm.ts +18 -0
  323. package/src/models/WhoIAmRequest.ts +5 -0
  324. package/src/openapi.yaml +16477 -0
  325. package/src/schemas/AdjustmentDiscount.ts +5 -0
  326. package/src/schemas/AdjustmentPer.ts +5 -0
  327. package/src/schemas/AdyenGateway.ts +12 -0
  328. package/src/schemas/AdyenGatewaySession.ts +7 -0
  329. package/src/schemas/AdyenPaymentMethodsConfiguration.ts +13 -0
  330. package/src/schemas/AdyenPaymentMethodsConfigurationApplePay.ts +6 -0
  331. package/src/schemas/AdyenPaymentMethodsConfigurationCard.ts +23 -0
  332. package/src/schemas/AdyenPaymentMethodsConfigurationCardBillingAddressMode.ts +7 -0
  333. package/src/schemas/AdyenPaymentMethodsConfigurationGooglePay.ts +8 -0
  334. package/src/schemas/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.ts +7 -0
  335. package/src/schemas/AdyenPaymentMethodsConfigurationPayPay.ts +8 -0
  336. package/src/schemas/Agent.ts +9 -0
  337. package/src/schemas/Availability.ts +54 -0
  338. package/src/schemas/AvailabilityCalendar.ts +31 -0
  339. package/src/schemas/AvailabilityCalendarBody.ts +12 -0
  340. package/src/schemas/AvailabilityCalendarErrorResponse.ts +4 -0
  341. package/src/schemas/AvailabilityCalendarExtras.ts +7 -0
  342. package/src/schemas/AvailabilityCalendarOffers.ts +10 -0
  343. package/src/schemas/AvailabilityCalendarPricing.ts +9 -0
  344. package/src/schemas/AvailabilityCalendarRequest.ts +7 -0
  345. package/src/schemas/AvailabilityCheckBody.ts +13 -0
  346. package/src/schemas/AvailabilityCheckErrorResponse.ts +4 -0
  347. package/src/schemas/AvailabilityCheckRequest.ts +7 -0
  348. package/src/schemas/AvailabilityContent.ts +16 -0
  349. package/src/schemas/AvailabilityExtras.ts +7 -0
  350. package/src/schemas/AvailabilityOffers.ts +10 -0
  351. package/src/schemas/AvailabilityPickups.ts +9 -0
  352. package/src/schemas/AvailabilityPricing.ts +9 -0
  353. package/src/schemas/AvailabilityResources.ts +6 -0
  354. package/src/schemas/AvailabilityStatus.ts +5 -0
  355. package/src/schemas/AvailabilityType.ts +5 -0
  356. package/src/schemas/AvailabilityUnit.ts +9 -0
  357. package/src/schemas/AvailabilityUpdate.ts +13 -0
  358. package/src/schemas/Booking.ts +146 -0
  359. package/src/schemas/BookingAdjustment.ts +11 -0
  360. package/src/schemas/BookingAdjustments.ts +7 -0
  361. package/src/schemas/BookingCancellation.ts +9 -0
  362. package/src/schemas/BookingCancellationBody.ts +9 -0
  363. package/src/schemas/BookingCancellationErrorResponse.ts +4 -0
  364. package/src/schemas/BookingCancellationPathParams.ts +6 -0
  365. package/src/schemas/BookingCancellationRequest.ts +10 -0
  366. package/src/schemas/BookingCancellationRequest_uuid.ts +4 -0
  367. package/src/schemas/BookingCardPayments.ts +8 -0
  368. package/src/schemas/BookingCart.ts +8 -0
  369. package/src/schemas/BookingCheckin.ts +8 -0
  370. package/src/schemas/BookingConfirmationBody.ts +17 -0
  371. package/src/schemas/BookingConfirmationErrorResponse.ts +4 -0
  372. package/src/schemas/BookingConfirmationPathParams.ts +6 -0
  373. package/src/schemas/BookingConfirmationRequest.ts +10 -0
  374. package/src/schemas/BookingConfirmationRequest_uuid.ts +4 -0
  375. package/src/schemas/BookingContact.ts +19 -0
  376. package/src/schemas/BookingContent.ts +16 -0
  377. package/src/schemas/BookingExtras.ts +9 -0
  378. package/src/schemas/BookingGifts.ts +7 -0
  379. package/src/schemas/BookingIdentities.ts +8 -0
  380. package/src/schemas/BookingMemberships.ts +9 -0
  381. package/src/schemas/BookingOffers.ts +13 -0
  382. package/src/schemas/BookingPackages.ts +12 -0
  383. package/src/schemas/BookingPickupBody.ts +9 -0
  384. package/src/schemas/BookingPickups.ts +15 -0
  385. package/src/schemas/BookingPricing.ts +7 -0
  386. package/src/schemas/BookingQuestions.ts +7 -0
  387. package/src/schemas/BookingRejection.ts +7 -0
  388. package/src/schemas/BookingRentals.ts +9 -0
  389. package/src/schemas/BookingReservationBody.ts +31 -0
  390. package/src/schemas/BookingReservationErrorResponse.ts +4 -0
  391. package/src/schemas/BookingReservationRequest.ts +7 -0
  392. package/src/schemas/BookingResources.ts +7 -0
  393. package/src/schemas/BookingStatus.ts +5 -0
  394. package/src/schemas/BookingUpdate.ts +13 -0
  395. package/src/schemas/BookingUpdateBody.ts +29 -0
  396. package/src/schemas/BookingUpdatePathParams.ts +6 -0
  397. package/src/schemas/BookingUpdateRequest.ts +7 -0
  398. package/src/schemas/BookingUpdateRequest_uuid.ts +4 -0
  399. package/src/schemas/Brand.ts +20 -0
  400. package/src/schemas/BrandContact.ts +10 -0
  401. package/src/schemas/BridgepayGateway.ts +6 -0
  402. package/src/schemas/CancelOrderBody.ts +6 -0
  403. package/src/schemas/CancelOrderRequest_id.ts +4 -0
  404. package/src/schemas/Capability.ts +12 -0
  405. package/src/schemas/CapabilityId.ts +5 -0
  406. package/src/schemas/Card.ts +11 -0
  407. package/src/schemas/CardPayment.ts +37 -0
  408. package/src/schemas/Category.ts +13 -0
  409. package/src/schemas/ConfirmOrderBody.ts +10 -0
  410. package/src/schemas/ConfirmOrderPricingBody.ts +6 -0
  411. package/src/schemas/ConfirmOrderRequest_id.ts +4 -0
  412. package/src/schemas/ContactField.ts +5 -0
  413. package/src/schemas/CreateOrderBody.ts +10 -0
  414. package/src/schemas/CreateOrderPricingBody.ts +6 -0
  415. package/src/schemas/CreateOrderRequest_id.ts +4 -0
  416. package/src/schemas/CreateWaitlistRequest.ts +14 -0
  417. package/src/schemas/CreateWebhookBody.ts +13 -0
  418. package/src/schemas/CreateWebhookRequest.ts +7 -0
  419. package/src/schemas/CreateWebhookRequestHeaders_octoCapabilities.ts +4 -0
  420. package/src/schemas/CustomerContact.ts +23 -0
  421. package/src/schemas/DefaultableID.ts +4 -0
  422. package/src/schemas/DeleteWebhookPathParams.ts +6 -0
  423. package/src/schemas/DeleteWebhookRequestHeaders_octoCapabilities.ts +4 -0
  424. package/src/schemas/DeleteWebhookRequest_id.ts +4 -0
  425. package/src/schemas/DeliveryFormat.ts +5 -0
  426. package/src/schemas/DeliveryMethod.ts +5 -0
  427. package/src/schemas/DeliveryOption.ts +8 -0
  428. package/src/schemas/Destination.ts +34 -0
  429. package/src/schemas/DestinationContact.ts +10 -0
  430. package/src/schemas/DestinationPricing.ts +7 -0
  431. package/src/schemas/Diff.ts +9 -0
  432. package/src/schemas/DurationUnit.ts +5 -0
  433. package/src/schemas/ExtendOrderBody.ts +6 -0
  434. package/src/schemas/ExtendOrderRequest_id.ts +4 -0
  435. package/src/schemas/ExtendReservationBody.ts +4 -0
  436. package/src/schemas/ExtendReservationErrorResponse.ts +4 -0
  437. package/src/schemas/ExtendReservationPathParams.ts +6 -0
  438. package/src/schemas/ExtendReservationRequest.ts +10 -0
  439. package/src/schemas/ExtendReservationRequest_uuid.ts +4 -0
  440. package/src/schemas/ExternalGateway.ts +4 -0
  441. package/src/schemas/Extra.ts +16 -0
  442. package/src/schemas/ExtraItem.ts +11 -0
  443. package/src/schemas/ExtraPricing.ts +13 -0
  444. package/src/schemas/ExtraRestrictions.ts +9 -0
  445. package/src/schemas/FAQ.ts +7 -0
  446. package/src/schemas/Font.ts +11 -0
  447. package/src/schemas/GetBookingRequest.ts +4 -0
  448. package/src/schemas/GetBookingsRequest.ts +4 -0
  449. package/src/schemas/GetMappingsQueryParams_optionId.ts +4 -0
  450. package/src/schemas/GetMappingsQueryParams_productId.ts +4 -0
  451. package/src/schemas/GetMappingsQueryParams_resellerReference.ts +4 -0
  452. package/src/schemas/GetMappingsQueryParams_resellerStatus.ts +4 -0
  453. package/src/schemas/GetMappingsRequest.ts +10 -0
  454. package/src/schemas/GetOrderRequest_id.ts +4 -0
  455. package/src/schemas/GetProductRequest.ts +4 -0
  456. package/src/schemas/GetProductsRequest.ts +4 -0
  457. package/src/schemas/GetSupplierRequest.ts +4 -0
  458. package/src/schemas/GetYourGuideActivateBody.ts +8 -0
  459. package/src/schemas/GetYourGuideActivateRequest.ts +7 -0
  460. package/src/schemas/GetYourGuideActivateRequestHeaders.ts +4 -0
  461. package/src/schemas/GetYourGuideActivateRequestHeaders_octoCapabilities.ts +4 -0
  462. package/src/schemas/GetYourGuideConnection.ts +15 -0
  463. package/src/schemas/Gift.ts +56 -0
  464. package/src/schemas/GiftCardPayments.ts +8 -0
  465. package/src/schemas/GiftIdentities.ts +8 -0
  466. package/src/schemas/GiftPayment.ts +8 -0
  467. package/src/schemas/GoogleLocalizedText.ts +7 -0
  468. package/src/schemas/GoogleLocation.ts +8 -0
  469. package/src/schemas/GoogleOperator.ts +13 -0
  470. package/src/schemas/GoogleOptionCategory.ts +6 -0
  471. package/src/schemas/GoogleOptions.ts +17 -0
  472. package/src/schemas/GoogleRating.ts +7 -0
  473. package/src/schemas/GoogleRelatedLocation.ts +11 -0
  474. package/src/schemas/GoogleUrl.ts +6 -0
  475. package/src/schemas/Identity.ts +7 -0
  476. package/src/schemas/Image.ts +8 -0
  477. package/src/schemas/Include.ts +17 -0
  478. package/src/schemas/ItineraryItem.ts +20 -0
  479. package/src/schemas/ItineraryItemType.ts +5 -0
  480. package/src/schemas/Label.ts +7 -0
  481. package/src/schemas/ListCapabilitiesRequest.ts +4 -0
  482. package/src/schemas/ListCapabilitiesRequestHeaders.ts +4 -0
  483. package/src/schemas/ListOrdersRequest.ts +13 -0
  484. package/src/schemas/ListWebhooksRequest.ts +4 -0
  485. package/src/schemas/ListWebhooksRequestHeaders_octoCapabilities.ts +4 -0
  486. package/src/schemas/Mapping.ts +18 -0
  487. package/src/schemas/MappingToUpdate.ts +13 -0
  488. package/src/schemas/MediaRel.ts +5 -0
  489. package/src/schemas/MediaType.ts +5 -0
  490. package/src/schemas/Membership.ts +14 -0
  491. package/src/schemas/MembershipBenefit.ts +8 -0
  492. package/src/schemas/NetDiscount.ts +5 -0
  493. package/src/schemas/Notice.ts +9 -0
  494. package/src/schemas/Octo_AvailabilityCalendar.ts +17 -0
  495. package/src/schemas/Octo_AvailabilityCalendarBody.ts +12 -0
  496. package/src/schemas/Octo_AvailabilityCalendarErrorResponse.ts +19 -0
  497. package/src/schemas/Octo_AvailabilityCalendarRequest.ts +7 -0
  498. package/src/schemas/Octo_AvailabilityCheckBody.ts +13 -0
  499. package/src/schemas/Octo_AvailabilityCheckErrorResponse.ts +19 -0
  500. package/src/schemas/Octo_AvailabilityCheckRequest.ts +7 -0
  501. package/src/schemas/Octo_AvailabilityUnit.ts +7 -0
  502. package/src/schemas/Octo_BaseError.ts +7 -0
  503. package/src/schemas/Octo_BookingCancellationBody.ts +7 -0
  504. package/src/schemas/Octo_BookingCancellationErrorResponse.ts +17 -0
  505. package/src/schemas/Octo_BookingCancellationRequest.ts +8 -0
  506. package/src/schemas/Octo_BookingCancellationRequest_uuid.ts +4 -0
  507. package/src/schemas/Octo_BookingConfirmationBody.ts +11 -0
  508. package/src/schemas/Octo_BookingConfirmationErrorResponse.ts +25 -0
  509. package/src/schemas/Octo_BookingConfirmationRequest.ts +8 -0
  510. package/src/schemas/Octo_BookingConfirmationRequest_uuid.ts +4 -0
  511. package/src/schemas/Octo_BookingContact.ts +14 -0
  512. package/src/schemas/Octo_BookingReservationBody.ts +14 -0
  513. package/src/schemas/Octo_BookingReservationErrorResponse.ts +23 -0
  514. package/src/schemas/Octo_BookingReservationRequest.ts +7 -0
  515. package/src/schemas/Octo_BookingUnitItem.ts +7 -0
  516. package/src/schemas/Octo_Capability.ts +11 -0
  517. package/src/schemas/Octo_CapabilityId.ts +5 -0
  518. package/src/schemas/Octo_DeliveryFormat.ts +5 -0
  519. package/src/schemas/Octo_ErrorBadRequest.ts +4 -0
  520. package/src/schemas/Octo_ErrorForbidden.ts +4 -0
  521. package/src/schemas/Octo_ErrorInternalServerError.ts +4 -0
  522. package/src/schemas/Octo_ErrorInvalidAvailabilityID.ts +9 -0
  523. package/src/schemas/Octo_ErrorInvalidBookingUUID.ts +9 -0
  524. package/src/schemas/Octo_ErrorInvalidOptionID.ts +9 -0
  525. package/src/schemas/Octo_ErrorInvalidProductID.ts +9 -0
  526. package/src/schemas/Octo_ErrorInvalidUnitID.ts +9 -0
  527. package/src/schemas/Octo_ErrorUnauthorized.ts +4 -0
  528. package/src/schemas/Octo_ErrorUnprocessableEntity.ts +4 -0
  529. package/src/schemas/Octo_ExtendReservationBody.ts +6 -0
  530. package/src/schemas/Octo_ExtendReservationErrorResponse.ts +17 -0
  531. package/src/schemas/Octo_ExtendReservationRequest.ts +8 -0
  532. package/src/schemas/Octo_ExtendReservationRequest_uuid.ts +4 -0
  533. package/src/schemas/Octo_GetBookingRequest.ts +6 -0
  534. package/src/schemas/Octo_GetBookingRequest_uuid.ts +4 -0
  535. package/src/schemas/Octo_GetBookingsRequest.ts +12 -0
  536. package/src/schemas/Octo_GetBookingsRequest_localDate.ts +4 -0
  537. package/src/schemas/Octo_GetBookingsRequest_localDateEnd.ts +4 -0
  538. package/src/schemas/Octo_GetBookingsRequest_localDateStart.ts +4 -0
  539. package/src/schemas/Octo_GetBookingsRequest_optionId.ts +4 -0
  540. package/src/schemas/Octo_GetBookingsRequest_productId.ts +4 -0
  541. package/src/schemas/Octo_GetBookingsRequest_resellerReference.ts +4 -0
  542. package/src/schemas/Octo_GetBookingsRequest_supplierReference.ts +4 -0
  543. package/src/schemas/Octo_GetProductRequest.ts +6 -0
  544. package/src/schemas/Octo_GetProductRequest_id.ts +4 -0
  545. package/src/schemas/Octo_GetProductsRequest.ts +4 -0
  546. package/src/schemas/Octo_GetSupplierRequest.ts +4 -0
  547. package/src/schemas/Octo_Media.ts +13 -0
  548. package/src/schemas/Octo_OpeningHours.ts +7 -0
  549. package/src/schemas/Octo_Pricing.ts +12 -0
  550. package/src/schemas/Octo_PricingUnit.ts +9 -0
  551. package/src/schemas/Octo_RequestHeaders.ts +4 -0
  552. package/src/schemas/Octo_RequestHeadersContent.ts +4 -0
  553. package/src/schemas/Octo_RequestHeaders_octoCapabilities.ts +4 -0
  554. package/src/schemas/Octo_ResponseHeaders.ts +4 -0
  555. package/src/schemas/Octo_Tax.ts +9 -0
  556. package/src/schemas/Offer.ts +17 -0
  557. package/src/schemas/OfferCombination.ts +16 -0
  558. package/src/schemas/OfferComparison.ts +14 -0
  559. package/src/schemas/OfferDiscount.ts +9 -0
  560. package/src/schemas/OfferMemberships.ts +7 -0
  561. package/src/schemas/OfferRestrictions.ts +10 -0
  562. package/src/schemas/OfferTax.ts +9 -0
  563. package/src/schemas/OpeningHours.ts +11 -0
  564. package/src/schemas/OpeningHoursContent.ts +9 -0
  565. package/src/schemas/Option.ts +58 -0
  566. package/src/schemas/OptionContent.ts +19 -0
  567. package/src/schemas/OptionExtras.ts +7 -0
  568. package/src/schemas/OptionPackages.ts +7 -0
  569. package/src/schemas/OptionPickups.ts +9 -0
  570. package/src/schemas/OptionPricing.ts +8 -0
  571. package/src/schemas/OptionQuestions.ts +7 -0
  572. package/src/schemas/OptionRentals.ts +7 -0
  573. package/src/schemas/OptionRestrictions.ts +9 -0
  574. package/src/schemas/Order.ts +55 -0
  575. package/src/schemas/OrderCardPayments.ts +8 -0
  576. package/src/schemas/OrderCheckin.ts +7 -0
  577. package/src/schemas/OrderContent.ts +10 -0
  578. package/src/schemas/OrderGifts.ts +9 -0
  579. package/src/schemas/OrderIdentities.ts +8 -0
  580. package/src/schemas/OrderMemberships.ts +7 -0
  581. package/src/schemas/OrderOffers.ts +7 -0
  582. package/src/schemas/OrderPathParams.ts +6 -0
  583. package/src/schemas/OrderPricing.ts +7 -0
  584. package/src/schemas/OrderQuestions.ts +7 -0
  585. package/src/schemas/PackageInclude.ts +9 -0
  586. package/src/schemas/Partner.ts +8 -0
  587. package/src/schemas/PartnerEnum.ts +5 -0
  588. package/src/schemas/PartnersConnection.ts +8 -0
  589. package/src/schemas/PartnersListConnection.ts +11 -0
  590. package/src/schemas/PartnersListConnectionsRequest.ts +4 -0
  591. package/src/schemas/PartnersListConnectionsRequestHeaders.ts +4 -0
  592. package/src/schemas/PartnersListConnectionsRequestHeaders_octoCapabilities.ts +4 -0
  593. package/src/schemas/PartnersListConnectionsRequestHeaders_ventrataPartnerKey.ts +4 -0
  594. package/src/schemas/PaypalGateway.ts +7 -0
  595. package/src/schemas/PaytrGateway.ts +8 -0
  596. package/src/schemas/PeachGateway.ts +8 -0
  597. package/src/schemas/PickupPoint.ts +20 -0
  598. package/src/schemas/Point.ts +11 -0
  599. package/src/schemas/PointGroup.ts +9 -0
  600. package/src/schemas/Pricing.ts +17 -0
  601. package/src/schemas/PricingExtras.ts +8 -0
  602. package/src/schemas/PricingOffers.ts +7 -0
  603. package/src/schemas/PricingPer.ts +5 -0
  604. package/src/schemas/PricingUnit.ts +20 -0
  605. package/src/schemas/PricingUnitExtras.ts +8 -0
  606. package/src/schemas/Product.ts +79 -0
  607. package/src/schemas/ProductContent.ts +40 -0
  608. package/src/schemas/ProductGoogle.ts +7 -0
  609. package/src/schemas/ProductMemberships.ts +6 -0
  610. package/src/schemas/ProductPackages.ts +7 -0
  611. package/src/schemas/ProductPricing.ts +10 -0
  612. package/src/schemas/ProductRentals.ts +6 -0
  613. package/src/schemas/Question.ts +18 -0
  614. package/src/schemas/QuestionAnswer.ts +9 -0
  615. package/src/schemas/QuestionInputType.ts +5 -0
  616. package/src/schemas/RealaxGateway.ts +4 -0
  617. package/src/schemas/RedemptionMethod.ts +5 -0
  618. package/src/schemas/Refund.ts +5 -0
  619. package/src/schemas/RentalDuration.ts +12 -0
  620. package/src/schemas/RequestHeaders.ts +4 -0
  621. package/src/schemas/Reseller.ts +9 -0
  622. package/src/schemas/ResellerStatus.ts +5 -0
  623. package/src/schemas/Resource.ts +10 -0
  624. package/src/schemas/ResourceAllocation.ts +16 -0
  625. package/src/schemas/ResourceGroup.ts +8 -0
  626. package/src/schemas/ResponseHeaders.ts +4 -0
  627. package/src/schemas/Scan.ts +8 -0
  628. package/src/schemas/Seat.ts +9 -0
  629. package/src/schemas/SelectOption.ts +7 -0
  630. package/src/schemas/Seller.ts +11 -0
  631. package/src/schemas/SettlementMethod.ts +5 -0
  632. package/src/schemas/SpreedlyGateway.ts +10 -0
  633. package/src/schemas/StripeGateway.ts +23 -0
  634. package/src/schemas/Supplier.ts +16 -0
  635. package/src/schemas/SupplierContact.ts +9 -0
  636. package/src/schemas/SupplierContent.ts +8 -0
  637. package/src/schemas/Tax.ts +10 -0
  638. package/src/schemas/Ticket.ts +11 -0
  639. package/src/schemas/TourGroup.ts +8 -0
  640. package/src/schemas/UUID.ts +4 -0
  641. package/src/schemas/Unit.ts +28 -0
  642. package/src/schemas/UnitContent.ts +8 -0
  643. package/src/schemas/UnitExtras.ts +7 -0
  644. package/src/schemas/UnitItem.ts +40 -0
  645. package/src/schemas/UnitItemExtras.ts +7 -0
  646. package/src/schemas/UnitItemIdentifier.ts +10 -0
  647. package/src/schemas/UnitItemPricing.ts +7 -0
  648. package/src/schemas/UnitItemQuestions.ts +7 -0
  649. package/src/schemas/UnitItemRedemption.ts +7 -0
  650. package/src/schemas/UnitMemberships.ts +7 -0
  651. package/src/schemas/UnitPricing.ts +8 -0
  652. package/src/schemas/UnitQuestions.ts +7 -0
  653. package/src/schemas/UnitRestrictions.ts +20 -0
  654. package/src/schemas/UnitType.ts +5 -0
  655. package/src/schemas/UpdateMappingsRequest.ts +7 -0
  656. package/src/schemas/UpdateOrderBody.ts +10 -0
  657. package/src/schemas/UpdateOrderPricingBody.ts +6 -0
  658. package/src/schemas/UpdateOrderRequest_id.ts +4 -0
  659. package/src/schemas/User.ts +11 -0
  660. package/src/schemas/VivawalletGateway.ts +7 -0
  661. package/src/schemas/Waitlist.ts +14 -0
  662. package/src/schemas/WaitlistUnitIdentifier.ts +7 -0
  663. package/src/schemas/WaitlistUnitItemIdentifier.ts +7 -0
  664. package/src/schemas/Webhook.ts +14 -0
  665. package/src/schemas/WebhookEvent.ts +5 -0
  666. package/src/schemas/WhoIAm.ts +17 -0
  667. package/src/schemas/WhoIAmRequest.ts +4 -0
  668. package/src/utils/generate-schemas.ts +372 -0
  669. package/src/utils/get-openapi-yaml.ts +20 -0
  670. package/tsconfig.json +15 -0
@@ -0,0 +1,5 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { AdjustmentDiscount } from '../models/AdjustmentDiscount';
4
+
5
+ export const adjustmentDiscountSchema = z.nativeEnum(AdjustmentDiscount);
@@ -0,0 +1,5 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { AdjustmentPer } from '../models/AdjustmentPer';
4
+
5
+ export const adjustmentPerSchema = z.nativeEnum(AdjustmentPer);
@@ -0,0 +1,12 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { adyenGatewaySessionSchema } from './AdyenGatewaySession';
4
+ import { adyenPaymentMethodsConfigurationSchema } from './AdyenPaymentMethodsConfiguration';
5
+
6
+ export const adyenGatewaySchema = z.object({
7
+ environment: z.string().optional(),
8
+ clientKey: z.string().optional(),
9
+ session: adyenGatewaySessionSchema.optional().nullable(),
10
+ countryCode: z.string().optional(),
11
+ paymentMethodsConfiguration: adyenPaymentMethodsConfigurationSchema.optional(),
12
+ });
@@ -0,0 +1,7 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+
4
+ export const adyenGatewaySessionSchema = z.object({
5
+ id: z.string(),
6
+ sessionData: z.string(),
7
+ });
@@ -0,0 +1,13 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { adyenPaymentMethodsConfigurationCardSchema } from './AdyenPaymentMethodsConfigurationCard';
4
+ import { adyenPaymentMethodsConfigurationPayPaySchema } from './AdyenPaymentMethodsConfigurationPayPay';
5
+ import { adyenPaymentMethodsConfigurationApplePaySchema } from './AdyenPaymentMethodsConfigurationApplePay';
6
+ import { adyenPaymentMethodsConfigurationGooglePaySchema } from './AdyenPaymentMethodsConfigurationGooglePay';
7
+
8
+ export const adyenPaymentMethodsConfigurationSchema = z.object({
9
+ card: adyenPaymentMethodsConfigurationCardSchema,
10
+ paypal: adyenPaymentMethodsConfigurationPayPaySchema,
11
+ applepay: adyenPaymentMethodsConfigurationApplePaySchema,
12
+ googlepay: adyenPaymentMethodsConfigurationGooglePaySchema,
13
+ });
@@ -0,0 +1,6 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+
4
+ export const adyenPaymentMethodsConfigurationApplePaySchema = z.object({
5
+ requiredBillingContactFields: z.array(z.string()),
6
+ });
@@ -0,0 +1,23 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { adyenPaymentMethodsConfigurationCardBillingAddressModeSchema } from './AdyenPaymentMethodsConfigurationCardBillingAddressMode';
4
+
5
+ export const adyenPaymentMethodsConfigurationCardSchema = z.object({
6
+ hasHolderName: z.boolean(),
7
+ billingAddressRequired: z.boolean(),
8
+ billingAddressMode: adyenPaymentMethodsConfigurationCardBillingAddressModeSchema,
9
+ data: z.object({
10
+ holderName: z.string(),
11
+ billingAddress: z.object({
12
+ street: z.string(),
13
+ postalCode: z.string(),
14
+ city: z.string(),
15
+ country: z.string(),
16
+ stateOrProvince: z.string(),
17
+ }),
18
+ }),
19
+ clickToPayConfiguration: z.object({
20
+ merchantDisplayName: z.string(),
21
+ shopperEmail: z.string(),
22
+ }),
23
+ });
@@ -0,0 +1,7 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { AdyenPaymentMethodsConfigurationCardBillingAddressMode } from '../models/AdyenPaymentMethodsConfigurationCardBillingAddressMode';
4
+
5
+ export const adyenPaymentMethodsConfigurationCardBillingAddressModeSchema = z.nativeEnum(
6
+ AdyenPaymentMethodsConfigurationCardBillingAddressMode,
7
+ );
@@ -0,0 +1,8 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { adyenPaymentMethodsConfigurationGooglePayBillingAddressParametersSchema } from './AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters';
4
+
5
+ export const adyenPaymentMethodsConfigurationGooglePaySchema = z.object({
6
+ billingAddressRequired: z.boolean(),
7
+ billingAddressParameters: adyenPaymentMethodsConfigurationGooglePayBillingAddressParametersSchema,
8
+ });
@@ -0,0 +1,7 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters } from '../models/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters';
4
+
5
+ export const adyenPaymentMethodsConfigurationGooglePayBillingAddressParametersSchema = z.nativeEnum(
6
+ AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters,
7
+ );
@@ -0,0 +1,8 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+
4
+ export const adyenPaymentMethodsConfigurationPayPaySchema = z.object({
5
+ blockPayPalCreditButton: z.boolean(),
6
+ blockPayPalPayLaterButton: z.boolean(),
7
+ blockPayPalVenmoButton: z.boolean(),
8
+ });
@@ -0,0 +1,9 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+
4
+ export const agentSchema = z.object({
5
+ id: z.string(),
6
+ name: z.string(),
7
+ reference: z.string().nullable(),
8
+ tags: z.array(z.string()),
9
+ });
@@ -0,0 +1,54 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { availabilityStatusSchema } from './AvailabilityStatus';
4
+ import { openingHoursSchema } from './OpeningHours';
5
+ import { pickupPointSchema } from './PickupPoint';
6
+ import { pricingUnitSchema } from './PricingUnit';
7
+ import { pricingSchema } from './Pricing';
8
+ import { offerSchema } from './Offer';
9
+ import { tourGroupSchema } from './TourGroup';
10
+ import { noticeSchema } from './Notice';
11
+ import { extraPricingSchema } from './ExtraPricing';
12
+
13
+ export const availabilitySchema = z.object({
14
+ id: z.string(),
15
+ localDateTimeStart: z.string(),
16
+ localDateTimeEnd: z.string(),
17
+ utcCutoffAt: z.string(),
18
+ allDay: z.boolean(),
19
+ available: z.boolean(),
20
+ status: availabilityStatusSchema,
21
+ vacancies: z.number().nullable(),
22
+ capacity: z.number().nullable(),
23
+ maxUnits: z.number().nullable(),
24
+ openingHours: z.array(openingHoursSchema),
25
+ code: z.string().nullable(),
26
+ totalCapacity: z.number().nullable(),
27
+ limitCapacity: z.number().nullable(),
28
+ limitPaxCount: z.number(),
29
+ noShows: z.number(),
30
+ totalNoShows: z.number(),
31
+ totalPaxCount: z.number(),
32
+ paxCount: z.number(),
33
+ maxPaxCount: z.number().nullable(),
34
+ pickupAvailable: z.boolean().optional(),
35
+ pickupRequired: z.boolean().optional(),
36
+ pickupPoints: z.array(pickupPointSchema).optional(),
37
+ unitPricing: z.array(pricingUnitSchema).optional(),
38
+ pricing: pricingSchema.optional(),
39
+ offerCode: z.string().optional().nullable(),
40
+ offerTitle: z.string().optional().nullable(),
41
+ offers: z.array(offerSchema).optional(),
42
+ offer: offerSchema.optional().nullable(),
43
+ meetingPoint: z.string().optional().nullable(),
44
+ meetingPointCoordinates: z.string().optional().nullable(),
45
+ meetingPointDirections: z.string().optional().nullable(),
46
+ meetingPointLatitude: z.number().optional().nullable(),
47
+ meetingPointLongitude: z.number().optional().nullable(),
48
+ meetingLocalDateTime: z.string().optional().nullable(),
49
+ tourGroup: tourGroupSchema.optional().nullable(),
50
+ fare: z.any().optional(),
51
+ notices: z.array(noticeSchema).optional(),
52
+ extraPricing: z.array(extraPricingSchema).optional(),
53
+ hasResources: z.boolean().optional(),
54
+ });
@@ -0,0 +1,31 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { availabilityStatusSchema } from './AvailabilityStatus';
4
+ import { openingHoursSchema } from './OpeningHours';
5
+ import { pricingUnitSchema } from './PricingUnit';
6
+ import { pricingSchema } from './Pricing';
7
+ import { offerSchema } from './Offer';
8
+ import { extraPricingSchema } from './ExtraPricing';
9
+
10
+ export const availabilityCalendarSchema = z.object({
11
+ localDate: z.string(),
12
+ available: z.boolean(),
13
+ status: availabilityStatusSchema,
14
+ vacancies: z.number().nullable(),
15
+ capacity: z.number().nullable(),
16
+ openingHours: z.array(openingHoursSchema),
17
+ limitCapacity: z.number().nullable(),
18
+ totalCapacity: z.number().nullable(),
19
+ limitPaxCount: z.number(),
20
+ totalPaxCount: z.number(),
21
+ paxCount: z.number(),
22
+ utcCutoffAt: z.string(),
23
+ availabilityLocalStartTimes: z.array(z.string()),
24
+ unitPricingFrom: z.array(pricingUnitSchema).optional(),
25
+ pricingFrom: pricingSchema.optional(),
26
+ offerCode: z.string().optional().nullable(),
27
+ offerTitle: z.string().optional().nullable(),
28
+ offers: z.array(offerSchema).optional(),
29
+ offer: offerSchema.optional().nullable(),
30
+ extraPricingFrom: z.array(extraPricingSchema).optional(),
31
+ });
@@ -0,0 +1,12 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { availabilityUnitSchema } from './AvailabilityUnit';
4
+
5
+ export const availabilityCalendarBodySchema = z.object({
6
+ productId: z.string(),
7
+ optionId: z.string(),
8
+ localDateStart: z.string().optional(),
9
+ localDateEnd: z.string().optional(),
10
+ units: z.array(availabilityUnitSchema).optional(),
11
+ currency: z.string().optional(),
12
+ });
@@ -0,0 +1,4 @@
1
+ // Generated by ts-to-zod
2
+ import { octo_AvailabilityCalendarErrorResponseSchema } from './Octo_AvailabilityCalendarErrorResponse';
3
+
4
+ export const availabilityCalendarErrorResponseSchema = octo_AvailabilityCalendarErrorResponseSchema;
@@ -0,0 +1,7 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { extraPricingSchema } from './ExtraPricing';
4
+
5
+ export const availabilityCalendarExtrasSchema = z.object({
6
+ extraPricingFrom: z.array(extraPricingSchema).optional(),
7
+ });
@@ -0,0 +1,10 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { offerSchema } from './Offer';
4
+
5
+ export const availabilityCalendarOffersSchema = z.object({
6
+ offerCode: z.string().optional().nullable(),
7
+ offerTitle: z.string().optional().nullable(),
8
+ offers: z.array(offerSchema).optional(),
9
+ offer: offerSchema.optional().nullable(),
10
+ });
@@ -0,0 +1,9 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { pricingUnitSchema } from './PricingUnit';
4
+ import { pricingSchema } from './Pricing';
5
+
6
+ export const availabilityCalendarPricingSchema = z.object({
7
+ unitPricingFrom: z.array(pricingUnitSchema).optional(),
8
+ pricingFrom: pricingSchema.optional(),
9
+ });
@@ -0,0 +1,7 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { availabilityCalendarBodySchema } from './AvailabilityCalendarBody';
4
+
5
+ export const availabilityCalendarRequestSchema = z.object({
6
+ body: availabilityCalendarBodySchema,
7
+ });
@@ -0,0 +1,13 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { availabilityUnitSchema } from './AvailabilityUnit';
4
+
5
+ export const availabilityCheckBodySchema = z.object({
6
+ productId: z.string(),
7
+ optionId: z.string(),
8
+ localDateStart: z.string().optional(),
9
+ localDateEnd: z.string().optional(),
10
+ availabilityIds: z.array(z.string()).optional(),
11
+ units: z.array(availabilityUnitSchema).optional(),
12
+ currency: z.string().optional(),
13
+ });
@@ -0,0 +1,4 @@
1
+ // Generated by ts-to-zod
2
+ import { octo_AvailabilityCheckErrorResponseSchema } from './Octo_AvailabilityCheckErrorResponse';
3
+
4
+ export const availabilityCheckErrorResponseSchema = octo_AvailabilityCheckErrorResponseSchema;
@@ -0,0 +1,7 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { availabilityCheckBodySchema } from './AvailabilityCheckBody';
4
+
5
+ export const availabilityCheckRequestSchema = z.object({
6
+ body: availabilityCheckBodySchema,
7
+ });
@@ -0,0 +1,16 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { tourGroupSchema } from './TourGroup';
4
+ import { noticeSchema } from './Notice';
5
+
6
+ export const availabilityContentSchema = z.object({
7
+ meetingPoint: z.string().optional().nullable(),
8
+ meetingPointCoordinates: z.string().optional().nullable(),
9
+ meetingPointDirections: z.string().optional().nullable(),
10
+ meetingPointLatitude: z.number().optional().nullable(),
11
+ meetingPointLongitude: z.number().optional().nullable(),
12
+ meetingLocalDateTime: z.string().optional().nullable(),
13
+ tourGroup: tourGroupSchema.optional().nullable(),
14
+ fare: z.any().optional(),
15
+ notices: z.array(noticeSchema).optional(),
16
+ });
@@ -0,0 +1,7 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { extraPricingSchema } from './ExtraPricing';
4
+
5
+ export const availabilityExtrasSchema = z.object({
6
+ extraPricing: z.array(extraPricingSchema).optional(),
7
+ });
@@ -0,0 +1,10 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { offerSchema } from './Offer';
4
+
5
+ export const availabilityOffersSchema = z.object({
6
+ offerCode: z.string().optional().nullable(),
7
+ offerTitle: z.string().optional().nullable(),
8
+ offers: z.array(offerSchema).optional(),
9
+ offer: offerSchema.optional().nullable(),
10
+ });
@@ -0,0 +1,9 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { pickupPointSchema } from './PickupPoint';
4
+
5
+ export const availabilityPickupsSchema = z.object({
6
+ pickupAvailable: z.boolean().optional(),
7
+ pickupRequired: z.boolean().optional(),
8
+ pickupPoints: z.array(pickupPointSchema).optional(),
9
+ });
@@ -0,0 +1,9 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { pricingUnitSchema } from './PricingUnit';
4
+ import { pricingSchema } from './Pricing';
5
+
6
+ export const availabilityPricingSchema = z.object({
7
+ unitPricing: z.array(pricingUnitSchema).optional(),
8
+ pricing: pricingSchema.optional(),
9
+ });
@@ -0,0 +1,6 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+
4
+ export const availabilityResourcesSchema = z.object({
5
+ hasResources: z.boolean().optional(),
6
+ });
@@ -0,0 +1,5 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { AvailabilityStatus } from '../models/AvailabilityStatus';
4
+
5
+ export const availabilityStatusSchema = z.nativeEnum(AvailabilityStatus);
@@ -0,0 +1,5 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { AvailabilityType } from '../models/AvailabilityType';
4
+
5
+ export const availabilityTypeSchema = z.nativeEnum(AvailabilityType);
@@ -0,0 +1,9 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { unitTypeSchema } from './UnitType';
4
+
5
+ export const availabilityUnitSchema = z.object({
6
+ id: z.string().optional(),
7
+ type: unitTypeSchema.optional(),
8
+ quantity: z.number(),
9
+ });
@@ -0,0 +1,13 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { webhookSchema } from './Webhook';
4
+ import { availabilitySchema } from './Availability';
5
+ import { supplierSchema } from './Supplier';
6
+
7
+ export const availabilityUpdateSchema = z.object({
8
+ webhook: webhookSchema,
9
+ availability: availabilitySchema,
10
+ productId: z.string(),
11
+ optionId: z.string(),
12
+ supplier: supplierSchema,
13
+ });
@@ -0,0 +1,146 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { bookingStatusSchema } from './BookingStatus';
4
+ import { productSchema } from './Product';
5
+ import { optionSchema } from './Option';
6
+ import { bookingCancellationSchema } from './BookingCancellation';
7
+ import { availabilitySchema } from './Availability';
8
+ import { customerContactSchema } from './CustomerContact';
9
+ import { deliveryMethodSchema } from './DeliveryMethod';
10
+ import { ticketSchema } from './Ticket';
11
+ import { unitItemSchema } from './UnitItem';
12
+ import { pricingSchema } from './Pricing';
13
+ import { settlementMethodSchema } from './SettlementMethod';
14
+ import { agentSchema } from './Agent';
15
+ import { resellerSchema } from './Reseller';
16
+ import { contactFieldSchema } from './ContactField';
17
+ import { bookingRejectionSchema } from './BookingRejection';
18
+ import { userSchema } from './User';
19
+ import { sellerSchema } from './Seller';
20
+ import { labelSchema } from './Label';
21
+ import { pickupPointSchema } from './PickupPoint';
22
+ import { durationUnitSchema } from './DurationUnit';
23
+ import { noticeSchema } from './Notice';
24
+ import { offerComparisonSchema } from './OfferComparison';
25
+ import { offerSchema } from './Offer';
26
+ import { questionAnswerSchema } from './QuestionAnswer';
27
+ import { resourceAllocationSchema } from './ResourceAllocation';
28
+ import { giftPaymentSchema } from './GiftPayment';
29
+ import { extraItemSchema } from './ExtraItem';
30
+ import { extraPricingSchema } from './ExtraPricing';
31
+ import { includeSchema } from './Include';
32
+ import { bookingAdjustmentSchema } from './BookingAdjustment';
33
+ import { identitySchema } from './Identity';
34
+ import { membershipBenefitSchema } from './MembershipBenefit';
35
+ import { membershipSchema } from './Membership';
36
+ import { rentalDurationSchema } from './RentalDuration';
37
+ import { cardPaymentSchema } from './CardPayment';
38
+
39
+ import { type Booking } from '../models/Booking';
40
+
41
+ export const bookingSchema: z.ZodSchema<Booking> = z.lazy(() =>
42
+ z.object({
43
+ id: z.string(),
44
+ uuid: z.string(),
45
+ testMode: z.boolean(),
46
+ resellerReference: z.string().nullable(),
47
+ supplierReference: z.string().nullable(),
48
+ status: bookingStatusSchema,
49
+ utcCreatedAt: z.string(),
50
+ utcUpdatedAt: z.string(),
51
+ utcExpiresAt: z.string().nullable(),
52
+ utcRedeemedAt: z.string().nullable(),
53
+ utcConfirmedAt: z.string().nullable(),
54
+ productId: z.string(),
55
+ product: productSchema.optional(),
56
+ optionId: z.string(),
57
+ option: optionSchema,
58
+ cancellable: z.boolean(),
59
+ cancellation: bookingCancellationSchema.nullable(),
60
+ freesale: z.boolean(),
61
+ availabilityId: z.string().nullable(),
62
+ availability: availabilitySchema.optional().nullable(),
63
+ contact: customerContactSchema.optional(),
64
+ notes: z.string().nullable(),
65
+ deliveryMethods: z.array(deliveryMethodSchema),
66
+ voucher: ticketSchema.nullable(),
67
+ unitItems: z.array(unitItemSchema),
68
+ pricing: pricingSchema.optional(),
69
+ rebookingUuid: z.string().nullable(),
70
+ originalRebookingUuid: z.string().nullable(),
71
+ alias: z.string().nullable(),
72
+ settlementMethod: settlementMethodSchema,
73
+ quote: z.boolean(),
74
+ confirmable: z.boolean(),
75
+ agent: agentSchema.nullable(),
76
+ reseller: resellerSchema.nullable(),
77
+ requiredContactFields: z.array(contactFieldSchema),
78
+ visibleContactFields: z.array(contactFieldSchema),
79
+ rejection: bookingRejectionSchema.nullable(),
80
+ utcNoshowedAt: z.string().nullable(),
81
+ utcRebookedAt: z.string().nullable(),
82
+ tags: z.array(z.string()).optional(),
83
+ user: userSchema.nullable(),
84
+ seller: sellerSchema.nullable(),
85
+ localDateTimeStart: z.string(),
86
+ localDateTimeEnd: z.string(),
87
+ emailReceipt: z.boolean(),
88
+ label: labelSchema.nullable(),
89
+ metadata: z.record(z.string()),
90
+ updatable: z.boolean(),
91
+ availabilityLocalDateStart: z.string().nullable(),
92
+ availabilityLocalDateEnd: z.string().nullable(),
93
+ guide: sellerSchema.nullable(),
94
+ driver: sellerSchema.nullable(),
95
+ pickupRequested: z.boolean().optional(),
96
+ pickupHotel: z.string().optional().nullable(),
97
+ pickupRoom: z.string().optional().nullable(),
98
+ pickupNotes: z.string().optional().nullable(),
99
+ pickupPoint: pickupPointSchema.optional().nullable(),
100
+ pickupPointId: z.string().optional().nullable(),
101
+ pickupHotelRoom: z.string().optional().nullable(),
102
+ pickupDispatch: z.string().optional().nullable(),
103
+ dropoffDispatch: z.string().optional().nullable(),
104
+ duration: z.string().optional(),
105
+ durationAmount: z.number().optional(),
106
+ durationUnit: durationUnitSchema.optional(),
107
+ meetingLocalDateTime: z.string().optional().nullable(),
108
+ meetingPoint: z.string().optional().nullable(),
109
+ meetingPointCoordinates: z.string().optional().nullable(),
110
+ meetingPointDirections: z.string().optional().nullable(),
111
+ notices: z.array(noticeSchema).optional(),
112
+ termsAccepted: z.boolean().optional(),
113
+ primary: z.boolean().optional(),
114
+ orderId: z.string().optional(),
115
+ orderReference: z.string().optional(),
116
+ offerCode: z.string().optional().nullable(),
117
+ offerTitle: z.string().optional().nullable(),
118
+ offerComparisons: z.array(offerComparisonSchema).optional(),
119
+ offerIsCombination: z.boolean().optional(),
120
+ offers: z.array(offerSchema).optional(),
121
+ offer: offerSchema.optional().nullable(),
122
+ questionAnswers: z.array(questionAnswerSchema).optional(),
123
+ resourceAllocations: z.array(resourceAllocationSchema).optional(),
124
+ giftPayment: giftPaymentSchema.optional().nullable(),
125
+ extraItems: z.array(extraItemSchema).optional(),
126
+ extraPricing: z.array(extraPricingSchema).optional(),
127
+ isPackage: z.boolean().optional(),
128
+ packageIncludeId: z.string().optional().nullable(),
129
+ packageInclude: includeSchema.optional().nullable(),
130
+ packageBookings: z.array(bookingSchema).optional(),
131
+ packageUnitItemUuid: z.any().optional(),
132
+ adjustments: z.array(bookingAdjustmentSchema).optional(),
133
+ identity: identitySchema.optional(),
134
+ identityId: z.string().optional(),
135
+ checkedIn: z.boolean().optional(),
136
+ checkinAvailable: z.boolean().optional(),
137
+ checkinUrl: z.string().optional().nullable(),
138
+ membershipBenefit: membershipBenefitSchema.optional().nullable(),
139
+ membership: membershipSchema.optional().nullable(),
140
+ isRental: z.boolean().optional(),
141
+ rentalDurationId: z.string().optional().nullable(),
142
+ rentalDuration: rentalDurationSchema.optional().nullable(),
143
+ cardPayment: cardPaymentSchema.optional().nullable(),
144
+ returnUrl: z.string().optional().nullable(),
145
+ }),
146
+ );
@@ -0,0 +1,11 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { adjustmentPerSchema } from './AdjustmentPer';
4
+ import { adjustmentDiscountSchema } from './AdjustmentDiscount';
5
+
6
+ export const bookingAdjustmentSchema = z.object({
7
+ per: adjustmentPerSchema,
8
+ amount: z.number(),
9
+ notes: z.string().nullable(),
10
+ netDiscount: adjustmentDiscountSchema,
11
+ });
@@ -0,0 +1,7 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { bookingAdjustmentSchema } from './BookingAdjustment';
4
+
5
+ export const bookingAdjustmentsSchema = z.object({
6
+ adjustments: z.array(bookingAdjustmentSchema).optional(),
7
+ });
@@ -0,0 +1,9 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { refundSchema } from './Refund';
4
+
5
+ export const bookingCancellationSchema = z.object({
6
+ refund: refundSchema,
7
+ reason: z.string().nullable(),
8
+ utcCancelledAt: z.string(),
9
+ });
@@ -0,0 +1,9 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { octo_BookingCancellationBodySchema } from './Octo_BookingCancellationBody';
4
+
5
+ export const bookingCancellationBodySchema = octo_BookingCancellationBodySchema.and(
6
+ z.object({
7
+ emailReceipt: z.boolean().optional(),
8
+ }),
9
+ );
@@ -0,0 +1,4 @@
1
+ // Generated by ts-to-zod
2
+ import { octo_BookingCancellationErrorResponseSchema } from './Octo_BookingCancellationErrorResponse';
3
+
4
+ export const bookingCancellationErrorResponseSchema = octo_BookingCancellationErrorResponseSchema;
@@ -0,0 +1,6 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+
4
+ export const bookingCancellationPathParamsSchema = z.object({
5
+ uuid: z.string(),
6
+ });
@@ -0,0 +1,10 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { octo_BookingCancellationRequestSchema } from './Octo_BookingCancellationRequest';
4
+ import { bookingCancellationBodySchema } from './BookingCancellationBody';
5
+
6
+ export const bookingCancellationRequestSchema = octo_BookingCancellationRequestSchema.and(
7
+ z.object({
8
+ body: bookingCancellationBodySchema,
9
+ }),
10
+ );
@@ -0,0 +1,4 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+
4
+ export const bookingCancellationRequest_uuidSchema = z.string();
@@ -0,0 +1,8 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { cardPaymentSchema } from './CardPayment';
4
+
5
+ export const bookingCardPaymentsSchema = z.object({
6
+ cardPayment: cardPaymentSchema.optional().nullable(),
7
+ returnUrl: z.string().optional().nullable(),
8
+ });