@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,639 @@
1
+ import { z } from 'zod';
2
+ export declare const whoIAmSchema: z.ZodObject<{
3
+ supplier: z.ZodObject<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ endpoint: z.ZodString;
7
+ contact: z.ZodObject<{
8
+ website: z.ZodNullable<z.ZodString>;
9
+ email: z.ZodNullable<z.ZodString>;
10
+ telephone: z.ZodNullable<z.ZodString>;
11
+ address: z.ZodNullable<z.ZodString>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ address: string | null;
14
+ email: string | null;
15
+ telephone: string | null;
16
+ website: string | null;
17
+ }, {
18
+ address: string | null;
19
+ email: string | null;
20
+ telephone: string | null;
21
+ website: string | null;
22
+ }>;
23
+ shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
24
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
25
+ src: z.ZodString;
26
+ type: z.ZodNativeEnum<typeof import("..").MediaType>;
27
+ rel: z.ZodNativeEnum<typeof import("..").MediaRel>;
28
+ title: z.ZodNullable<z.ZodString>;
29
+ caption: z.ZodNullable<z.ZodString>;
30
+ copyright: z.ZodNullable<z.ZodString>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ type: import("..").MediaType;
33
+ title: string | null;
34
+ caption: string | null;
35
+ src: string;
36
+ rel: import("..").MediaRel;
37
+ copyright: string | null;
38
+ }, {
39
+ type: import("..").MediaType;
40
+ title: string | null;
41
+ caption: string | null;
42
+ src: string;
43
+ rel: import("..").MediaRel;
44
+ copyright: string | null;
45
+ }>, "many">>;
46
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
+ destinations: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
+ id: z.ZodString;
49
+ default: z.ZodBoolean;
50
+ name: z.ZodNullable<z.ZodString>;
51
+ title: z.ZodNullable<z.ZodString>;
52
+ shortDescription: z.ZodNullable<z.ZodString>;
53
+ featured: z.ZodBoolean;
54
+ country: z.ZodNullable<z.ZodString>;
55
+ contact: z.ZodObject<{
56
+ name: z.ZodNullable<z.ZodString>;
57
+ email: z.ZodNullable<z.ZodString>;
58
+ telephone: z.ZodNullable<z.ZodString>;
59
+ address: z.ZodNullable<z.ZodString>;
60
+ website: z.ZodNullable<z.ZodString>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ name: string | null;
63
+ address: string | null;
64
+ email: string | null;
65
+ telephone: string | null;
66
+ website: string | null;
67
+ }, {
68
+ name: string | null;
69
+ address: string | null;
70
+ email: string | null;
71
+ telephone: string | null;
72
+ website: string | null;
73
+ }>;
74
+ latitude: z.ZodNullable<z.ZodNumber>;
75
+ longitude: z.ZodNullable<z.ZodNumber>;
76
+ googlePlaceId: z.ZodNullable<z.ZodString>;
77
+ bannerImageUrl: z.ZodNullable<z.ZodString>;
78
+ coverImageUrl: z.ZodNullable<z.ZodString>;
79
+ videoUrl: z.ZodNullable<z.ZodString>;
80
+ facebookUrl: z.ZodNullable<z.ZodString>;
81
+ googleUrl: z.ZodNullable<z.ZodString>;
82
+ tripadvisorUrl: z.ZodNullable<z.ZodString>;
83
+ twitterUrl: z.ZodNullable<z.ZodString>;
84
+ youtubeUrl: z.ZodNullable<z.ZodString>;
85
+ instagramUrl: z.ZodNullable<z.ZodString>;
86
+ categories: z.ZodArray<z.ZodObject<{
87
+ id: z.ZodString;
88
+ default: z.ZodBoolean;
89
+ name: z.ZodNullable<z.ZodString>;
90
+ title: z.ZodNullable<z.ZodString>;
91
+ tags: z.ZodArray<z.ZodString, "many">;
92
+ shortDescription: z.ZodNullable<z.ZodString>;
93
+ coverImageUrl: z.ZodNullable<z.ZodString>;
94
+ bannerImageUrl: z.ZodNullable<z.ZodString>;
95
+ productIds: z.ZodArray<z.ZodString, "many">;
96
+ }, "strip", z.ZodTypeAny, {
97
+ id: string;
98
+ name: string | null;
99
+ tags: string[];
100
+ shortDescription: string | null;
101
+ title: string | null;
102
+ coverImageUrl: string | null;
103
+ default: boolean;
104
+ bannerImageUrl: string | null;
105
+ productIds: string[];
106
+ }, {
107
+ id: string;
108
+ name: string | null;
109
+ tags: string[];
110
+ shortDescription: string | null;
111
+ title: string | null;
112
+ coverImageUrl: string | null;
113
+ default: boolean;
114
+ bannerImageUrl: string | null;
115
+ productIds: string[];
116
+ }>, "many">;
117
+ tags: z.ZodArray<z.ZodString, "many">;
118
+ address: z.ZodNullable<z.ZodString>;
119
+ notices: z.ZodArray<z.ZodObject<{
120
+ id: z.ZodString;
121
+ title: z.ZodNullable<z.ZodString>;
122
+ shortDescription: z.ZodString;
123
+ coverImageUrl: z.ZodNullable<z.ZodString>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ id: string;
126
+ shortDescription: string;
127
+ title: string | null;
128
+ coverImageUrl: string | null;
129
+ }, {
130
+ id: string;
131
+ shortDescription: string;
132
+ title: string | null;
133
+ coverImageUrl: string | null;
134
+ }>, "many">;
135
+ }, "strip", z.ZodTypeAny, {
136
+ country: string | null;
137
+ id: string;
138
+ name: string | null;
139
+ tags: string[];
140
+ address: string | null;
141
+ latitude: number | null;
142
+ longitude: number | null;
143
+ googlePlaceId: string | null;
144
+ shortDescription: string | null;
145
+ title: string | null;
146
+ coverImageUrl: string | null;
147
+ notices: {
148
+ id: string;
149
+ shortDescription: string;
150
+ title: string | null;
151
+ coverImageUrl: string | null;
152
+ }[];
153
+ default: boolean;
154
+ bannerImageUrl: string | null;
155
+ featured: boolean;
156
+ contact: {
157
+ name: string | null;
158
+ address: string | null;
159
+ email: string | null;
160
+ telephone: string | null;
161
+ website: string | null;
162
+ };
163
+ videoUrl: string | null;
164
+ facebookUrl: string | null;
165
+ googleUrl: string | null;
166
+ tripadvisorUrl: string | null;
167
+ twitterUrl: string | null;
168
+ youtubeUrl: string | null;
169
+ instagramUrl: string | null;
170
+ categories: {
171
+ id: string;
172
+ name: string | null;
173
+ tags: string[];
174
+ shortDescription: string | null;
175
+ title: string | null;
176
+ coverImageUrl: string | null;
177
+ default: boolean;
178
+ bannerImageUrl: string | null;
179
+ productIds: string[];
180
+ }[];
181
+ }, {
182
+ country: string | null;
183
+ id: string;
184
+ name: string | null;
185
+ tags: string[];
186
+ address: string | null;
187
+ latitude: number | null;
188
+ longitude: number | null;
189
+ googlePlaceId: string | null;
190
+ shortDescription: string | null;
191
+ title: string | null;
192
+ coverImageUrl: string | null;
193
+ notices: {
194
+ id: string;
195
+ shortDescription: string;
196
+ title: string | null;
197
+ coverImageUrl: string | null;
198
+ }[];
199
+ default: boolean;
200
+ bannerImageUrl: string | null;
201
+ featured: boolean;
202
+ contact: {
203
+ name: string | null;
204
+ address: string | null;
205
+ email: string | null;
206
+ telephone: string | null;
207
+ website: string | null;
208
+ };
209
+ videoUrl: string | null;
210
+ facebookUrl: string | null;
211
+ googleUrl: string | null;
212
+ tripadvisorUrl: string | null;
213
+ twitterUrl: string | null;
214
+ youtubeUrl: string | null;
215
+ instagramUrl: string | null;
216
+ categories: {
217
+ id: string;
218
+ name: string | null;
219
+ tags: string[];
220
+ shortDescription: string | null;
221
+ title: string | null;
222
+ coverImageUrl: string | null;
223
+ default: boolean;
224
+ bannerImageUrl: string | null;
225
+ productIds: string[];
226
+ }[];
227
+ }>, "many">>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ id: string;
230
+ name: string;
231
+ contact: {
232
+ address: string | null;
233
+ email: string | null;
234
+ telephone: string | null;
235
+ website: string | null;
236
+ };
237
+ endpoint: string;
238
+ country?: string | null | undefined;
239
+ shortDescription?: string | null | undefined;
240
+ media?: {
241
+ type: import("..").MediaType;
242
+ title: string | null;
243
+ caption: string | null;
244
+ src: string;
245
+ rel: import("..").MediaRel;
246
+ copyright: string | null;
247
+ }[] | undefined;
248
+ destinations?: {
249
+ country: string | null;
250
+ id: string;
251
+ name: string | null;
252
+ tags: string[];
253
+ address: string | null;
254
+ latitude: number | null;
255
+ longitude: number | null;
256
+ googlePlaceId: string | null;
257
+ shortDescription: string | null;
258
+ title: string | null;
259
+ coverImageUrl: string | null;
260
+ notices: {
261
+ id: string;
262
+ shortDescription: string;
263
+ title: string | null;
264
+ coverImageUrl: string | null;
265
+ }[];
266
+ default: boolean;
267
+ bannerImageUrl: string | null;
268
+ featured: boolean;
269
+ contact: {
270
+ name: string | null;
271
+ address: string | null;
272
+ email: string | null;
273
+ telephone: string | null;
274
+ website: string | null;
275
+ };
276
+ videoUrl: string | null;
277
+ facebookUrl: string | null;
278
+ googleUrl: string | null;
279
+ tripadvisorUrl: string | null;
280
+ twitterUrl: string | null;
281
+ youtubeUrl: string | null;
282
+ instagramUrl: string | null;
283
+ categories: {
284
+ id: string;
285
+ name: string | null;
286
+ tags: string[];
287
+ shortDescription: string | null;
288
+ title: string | null;
289
+ coverImageUrl: string | null;
290
+ default: boolean;
291
+ bannerImageUrl: string | null;
292
+ productIds: string[];
293
+ }[];
294
+ }[] | undefined;
295
+ }, {
296
+ id: string;
297
+ name: string;
298
+ contact: {
299
+ address: string | null;
300
+ email: string | null;
301
+ telephone: string | null;
302
+ website: string | null;
303
+ };
304
+ endpoint: string;
305
+ country?: string | null | undefined;
306
+ shortDescription?: string | null | undefined;
307
+ media?: {
308
+ type: import("..").MediaType;
309
+ title: string | null;
310
+ caption: string | null;
311
+ src: string;
312
+ rel: import("..").MediaRel;
313
+ copyright: string | null;
314
+ }[] | undefined;
315
+ destinations?: {
316
+ country: string | null;
317
+ id: string;
318
+ name: string | null;
319
+ tags: string[];
320
+ address: string | null;
321
+ latitude: number | null;
322
+ longitude: number | null;
323
+ googlePlaceId: string | null;
324
+ shortDescription: string | null;
325
+ title: string | null;
326
+ coverImageUrl: string | null;
327
+ notices: {
328
+ id: string;
329
+ shortDescription: string;
330
+ title: string | null;
331
+ coverImageUrl: string | null;
332
+ }[];
333
+ default: boolean;
334
+ bannerImageUrl: string | null;
335
+ featured: boolean;
336
+ contact: {
337
+ name: string | null;
338
+ address: string | null;
339
+ email: string | null;
340
+ telephone: string | null;
341
+ website: string | null;
342
+ };
343
+ videoUrl: string | null;
344
+ facebookUrl: string | null;
345
+ googleUrl: string | null;
346
+ tripadvisorUrl: string | null;
347
+ twitterUrl: string | null;
348
+ youtubeUrl: string | null;
349
+ instagramUrl: string | null;
350
+ categories: {
351
+ id: string;
352
+ name: string | null;
353
+ tags: string[];
354
+ shortDescription: string | null;
355
+ title: string | null;
356
+ coverImageUrl: string | null;
357
+ default: boolean;
358
+ bannerImageUrl: string | null;
359
+ productIds: string[];
360
+ }[];
361
+ }[] | undefined;
362
+ }>;
363
+ connection: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
364
+ id: z.ZodString;
365
+ name: z.ZodString;
366
+ type: z.ZodString;
367
+ }, "strip", z.ZodTypeAny, {
368
+ id: string;
369
+ name: string;
370
+ type: string;
371
+ }, {
372
+ id: string;
373
+ name: string;
374
+ type: string;
375
+ }>, z.ZodObject<{
376
+ gygConnectId: z.ZodString;
377
+ gygLoginEmail: z.ZodString;
378
+ gygLoginPassword: z.ZodString;
379
+ gygLoginOTPSecret: z.ZodOptional<z.ZodString>;
380
+ gygSupplierId: z.ZodOptional<z.ZodString>;
381
+ gygSupplierName: z.ZodOptional<z.ZodString>;
382
+ gygActivated: z.ZodBoolean;
383
+ }, "strip", z.ZodTypeAny, {
384
+ gygConnectId: string;
385
+ gygLoginEmail: string;
386
+ gygLoginPassword: string;
387
+ gygActivated: boolean;
388
+ gygLoginOTPSecret?: string | undefined;
389
+ gygSupplierId?: string | undefined;
390
+ gygSupplierName?: string | undefined;
391
+ }, {
392
+ gygConnectId: string;
393
+ gygLoginEmail: string;
394
+ gygLoginPassword: string;
395
+ gygActivated: boolean;
396
+ gygLoginOTPSecret?: string | undefined;
397
+ gygSupplierId?: string | undefined;
398
+ gygSupplierName?: string | undefined;
399
+ }>>, z.ZodObject<{
400
+ id: z.ZodString;
401
+ name: z.ZodString;
402
+ type: z.ZodString;
403
+ }, "strip", z.ZodTypeAny, {
404
+ id: string;
405
+ name: string;
406
+ type: string;
407
+ }, {
408
+ id: string;
409
+ name: string;
410
+ type: string;
411
+ }>]>;
412
+ partner: z.ZodObject<{
413
+ id: z.ZodString;
414
+ name: z.ZodNativeEnum<typeof import("..").PartnerEnum>;
415
+ }, "strip", z.ZodTypeAny, {
416
+ id: string;
417
+ name: import("..").PartnerEnum;
418
+ }, {
419
+ id: string;
420
+ name: import("..").PartnerEnum;
421
+ }>;
422
+ reseller: z.ZodObject<{
423
+ id: z.ZodString;
424
+ name: z.ZodString;
425
+ reference: z.ZodNullable<z.ZodString>;
426
+ tags: z.ZodArray<z.ZodString, "many">;
427
+ }, "strip", z.ZodTypeAny, {
428
+ id: string;
429
+ name: string;
430
+ reference: string | null;
431
+ tags: string[];
432
+ }, {
433
+ id: string;
434
+ name: string;
435
+ reference: string | null;
436
+ tags: string[];
437
+ }>;
438
+ checkout: z.ZodAny;
439
+ operator: z.ZodAny;
440
+ terminal: z.ZodAny;
441
+ }, "strip", z.ZodTypeAny, {
442
+ reseller: {
443
+ id: string;
444
+ name: string;
445
+ reference: string | null;
446
+ tags: string[];
447
+ };
448
+ supplier: {
449
+ id: string;
450
+ name: string;
451
+ contact: {
452
+ address: string | null;
453
+ email: string | null;
454
+ telephone: string | null;
455
+ website: string | null;
456
+ };
457
+ endpoint: string;
458
+ country?: string | null | undefined;
459
+ shortDescription?: string | null | undefined;
460
+ media?: {
461
+ type: import("..").MediaType;
462
+ title: string | null;
463
+ caption: string | null;
464
+ src: string;
465
+ rel: import("..").MediaRel;
466
+ copyright: string | null;
467
+ }[] | undefined;
468
+ destinations?: {
469
+ country: string | null;
470
+ id: string;
471
+ name: string | null;
472
+ tags: string[];
473
+ address: string | null;
474
+ latitude: number | null;
475
+ longitude: number | null;
476
+ googlePlaceId: string | null;
477
+ shortDescription: string | null;
478
+ title: string | null;
479
+ coverImageUrl: string | null;
480
+ notices: {
481
+ id: string;
482
+ shortDescription: string;
483
+ title: string | null;
484
+ coverImageUrl: string | null;
485
+ }[];
486
+ default: boolean;
487
+ bannerImageUrl: string | null;
488
+ featured: boolean;
489
+ contact: {
490
+ name: string | null;
491
+ address: string | null;
492
+ email: string | null;
493
+ telephone: string | null;
494
+ website: string | null;
495
+ };
496
+ videoUrl: string | null;
497
+ facebookUrl: string | null;
498
+ googleUrl: string | null;
499
+ tripadvisorUrl: string | null;
500
+ twitterUrl: string | null;
501
+ youtubeUrl: string | null;
502
+ instagramUrl: string | null;
503
+ categories: {
504
+ id: string;
505
+ name: string | null;
506
+ tags: string[];
507
+ shortDescription: string | null;
508
+ title: string | null;
509
+ coverImageUrl: string | null;
510
+ default: boolean;
511
+ bannerImageUrl: string | null;
512
+ productIds: string[];
513
+ }[];
514
+ }[] | undefined;
515
+ };
516
+ connection: {
517
+ id: string;
518
+ name: string;
519
+ type: string;
520
+ } | ({
521
+ id: string;
522
+ name: string;
523
+ type: string;
524
+ } & {
525
+ gygConnectId: string;
526
+ gygLoginEmail: string;
527
+ gygLoginPassword: string;
528
+ gygActivated: boolean;
529
+ gygLoginOTPSecret?: string | undefined;
530
+ gygSupplierId?: string | undefined;
531
+ gygSupplierName?: string | undefined;
532
+ });
533
+ partner: {
534
+ id: string;
535
+ name: import("..").PartnerEnum;
536
+ };
537
+ operator?: any;
538
+ checkout?: any;
539
+ terminal?: any;
540
+ }, {
541
+ reseller: {
542
+ id: string;
543
+ name: string;
544
+ reference: string | null;
545
+ tags: string[];
546
+ };
547
+ supplier: {
548
+ id: string;
549
+ name: string;
550
+ contact: {
551
+ address: string | null;
552
+ email: string | null;
553
+ telephone: string | null;
554
+ website: string | null;
555
+ };
556
+ endpoint: string;
557
+ country?: string | null | undefined;
558
+ shortDescription?: string | null | undefined;
559
+ media?: {
560
+ type: import("..").MediaType;
561
+ title: string | null;
562
+ caption: string | null;
563
+ src: string;
564
+ rel: import("..").MediaRel;
565
+ copyright: string | null;
566
+ }[] | undefined;
567
+ destinations?: {
568
+ country: string | null;
569
+ id: string;
570
+ name: string | null;
571
+ tags: string[];
572
+ address: string | null;
573
+ latitude: number | null;
574
+ longitude: number | null;
575
+ googlePlaceId: string | null;
576
+ shortDescription: string | null;
577
+ title: string | null;
578
+ coverImageUrl: string | null;
579
+ notices: {
580
+ id: string;
581
+ shortDescription: string;
582
+ title: string | null;
583
+ coverImageUrl: string | null;
584
+ }[];
585
+ default: boolean;
586
+ bannerImageUrl: string | null;
587
+ featured: boolean;
588
+ contact: {
589
+ name: string | null;
590
+ address: string | null;
591
+ email: string | null;
592
+ telephone: string | null;
593
+ website: string | null;
594
+ };
595
+ videoUrl: string | null;
596
+ facebookUrl: string | null;
597
+ googleUrl: string | null;
598
+ tripadvisorUrl: string | null;
599
+ twitterUrl: string | null;
600
+ youtubeUrl: string | null;
601
+ instagramUrl: string | null;
602
+ categories: {
603
+ id: string;
604
+ name: string | null;
605
+ tags: string[];
606
+ shortDescription: string | null;
607
+ title: string | null;
608
+ coverImageUrl: string | null;
609
+ default: boolean;
610
+ bannerImageUrl: string | null;
611
+ productIds: string[];
612
+ }[];
613
+ }[] | undefined;
614
+ };
615
+ connection: {
616
+ id: string;
617
+ name: string;
618
+ type: string;
619
+ } | ({
620
+ id: string;
621
+ name: string;
622
+ type: string;
623
+ } & {
624
+ gygConnectId: string;
625
+ gygLoginEmail: string;
626
+ gygLoginPassword: string;
627
+ gygActivated: boolean;
628
+ gygLoginOTPSecret?: string | undefined;
629
+ gygSupplierId?: string | undefined;
630
+ gygSupplierName?: string | undefined;
631
+ });
632
+ partner: {
633
+ id: string;
634
+ name: import("..").PartnerEnum;
635
+ };
636
+ operator?: any;
637
+ checkout?: any;
638
+ terminal?: any;
639
+ }>;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const whoIAmRequestSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
package/package.json CHANGED
@@ -1,10 +1,51 @@
1
1
  {
2
- "name": "@ventrata/octo-types",
3
- "version": "0.0.1",
4
- "description": "Ventrata's octo types",
5
- "main": "index.js",
6
- "license": "MIT",
7
- "publishConfig": {
8
- "access": "public"
9
- }
10
- }
2
+ "name": "@ventrata/octo-types",
3
+ "version": "0.0.2",
4
+ "private": false,
5
+ "license": "ISC",
6
+ "files": [
7
+ "dist/index.d.ts",
8
+ "dist/models/**/*.d.ts",
9
+ "dist/schemas/**/*.d.ts"
10
+ ],
11
+ "types": "dist/index.d.ts",
12
+ "repository": {
13
+ "url": "https://github.com/ventrata/octo-types"
14
+ },
15
+ "main": "dist/index.js",
16
+ "scripts": {
17
+ "get:openapi:yaml": "ts-node src/utils/get-openapi-yaml.ts",
18
+ "generate:models": "openapi --input src/openapi.yaml --output src/ --exportCore false --exportServices false --client none --indent 2",
19
+ "generate:schemas": "ts-node src/utils/generate-schemas.ts",
20
+ "clean": "rm -rf dist",
21
+ "generate": "npm run get:openapi:yaml && npm run generate:models && npm run generate:schemas && npm run fix",
22
+ "build": "npx tsc",
23
+ "build:dry": "tsc --noEmit",
24
+ "build:dry:ci": "tsc --noEmit",
25
+ "check": "npm run build:dry && npm run format && npm run lint",
26
+ "fix": "biome check --write .",
27
+ "format": "biome format",
28
+ "format:fix": "biome format --write .",
29
+ "lint": "biome lint",
30
+ "lint:fix": "biome lint --write .",
31
+ "audit": "npm audit",
32
+ "prepare": "npm run build",
33
+ "test": ""
34
+ },
35
+ "peerDependencies": {
36
+ "zod": "^3.25.0"
37
+ },
38
+ "devDependencies": {
39
+ "@types/glob": "^8.1.0",
40
+ "@types/node": "^22.9.0",
41
+ "glob": "^11.0.3",
42
+ "openapi-typescript-codegen": "^0.29.0",
43
+ "ts-node": "^10.9.2",
44
+ "ts-to-zod": "^3.15.0",
45
+ "typescript": "^5.7.2",
46
+ "zod": "^3.25.0"
47
+ },
48
+ "dependencies": {
49
+ "@biomejs/biome": "2.2.0"
50
+ }
51
+ }
package/README.md DELETED
@@ -1 +0,0 @@
1
- # octo-types
package/indes.js DELETED
File without changes