@ventrata/octo-types 0.0.11 → 0.0.12

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 (214) hide show
  1. package/dist/index.d.ts +100 -3
  2. package/dist/models/AdyenGateway.d.ts +9 -0
  3. package/dist/models/AdyenGatewaySession.d.ts +4 -0
  4. package/dist/models/AdyenPaymentMethodsConfiguration.d.ts +10 -0
  5. package/dist/models/AdyenPaymentMethodsConfigurationApplePay.d.ts +3 -0
  6. package/dist/models/AdyenPaymentMethodsConfigurationCard.d.ts +20 -0
  7. package/dist/models/AdyenPaymentMethodsConfigurationCardBillingAddressMode.d.ts +5 -0
  8. package/dist/models/AdyenPaymentMethodsConfigurationGooglePay.d.ts +5 -0
  9. package/dist/models/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.d.ts +4 -0
  10. package/dist/models/AdyenPaymentMethodsConfigurationPayPay.d.ts +5 -0
  11. package/dist/models/Availability.d.ts +19 -7
  12. package/dist/models/AvailabilityCalendar.d.ts +2 -0
  13. package/dist/models/AvailabilityCalendarExtras.d.ts +4 -0
  14. package/dist/models/AvailabilityContent.d.ts +12 -7
  15. package/dist/models/AvailabilityExtras.d.ts +4 -0
  16. package/dist/models/AvailabilityResources.d.ts +6 -0
  17. package/dist/models/Booking.d.ts +30 -6
  18. package/dist/models/BookingCardPayments.d.ts +5 -0
  19. package/dist/models/BookingCheckin.d.ts +5 -0
  20. package/dist/models/BookingContent.d.ts +1 -0
  21. package/dist/models/BookingExtras.d.ts +2 -0
  22. package/dist/models/BookingMemberships.d.ts +6 -0
  23. package/dist/models/BookingPackages.d.ts +2 -1
  24. package/dist/models/BookingPickups.d.ts +4 -4
  25. package/dist/models/BookingRentals.d.ts +6 -0
  26. package/dist/models/BridgepayGateway.d.ts +3 -0
  27. package/dist/models/Card.d.ts +8 -0
  28. package/dist/models/CardPayment.d.ts +34 -0
  29. package/dist/models/Category.d.ts +0 -4
  30. package/dist/models/CustomerContact.d.ts +3 -0
  31. package/dist/models/DeliveryFormat.d.ts +2 -1
  32. package/dist/models/DeliveryOption.d.ts +2 -2
  33. package/dist/models/Destination.d.ts +8 -5
  34. package/dist/models/DestinationPricing.d.ts +10 -0
  35. package/dist/models/ExternalGateway.d.ts +1 -0
  36. package/dist/models/{Octo_Pricing.d.ts → ExtraPricing.d.ts} +4 -3
  37. package/dist/models/Gift.d.ts +3 -0
  38. package/dist/models/GiftCardPayments.d.ts +5 -0
  39. package/dist/models/Include.d.ts +2 -1
  40. package/dist/models/Membership.d.ts +11 -0
  41. package/dist/models/MembershipBenefit.d.ts +5 -0
  42. package/dist/models/Octo_DeliveryFormat.d.ts +6 -0
  43. package/dist/models/Offer.d.ts +7 -0
  44. package/dist/models/OfferDiscount.d.ts +2 -2
  45. package/dist/models/OfferMemberships.d.ts +4 -0
  46. package/dist/models/{Octo_Tax.d.ts → OfferTax.d.ts} +2 -2
  47. package/dist/models/OpeningHours.d.ts +4 -3
  48. package/dist/models/OpeningHoursContent.d.ts +4 -3
  49. package/dist/models/Option.d.ts +5 -3
  50. package/dist/models/OptionPricing.d.ts +11 -0
  51. package/dist/models/OptionRentals.d.ts +4 -0
  52. package/dist/models/Order.d.ts +28 -8
  53. package/dist/models/OrderCardPayments.d.ts +5 -0
  54. package/dist/models/OrderCheckin.d.ts +4 -0
  55. package/dist/models/OrderContent.d.ts +7 -0
  56. package/dist/models/OrderGifts.d.ts +2 -0
  57. package/dist/models/OrderMemberships.d.ts +4 -0
  58. package/dist/models/OrderPricing.d.ts +4 -0
  59. package/dist/models/OrderQuestions.d.ts +8 -0
  60. package/dist/models/PaypalGateway.d.ts +4 -0
  61. package/dist/models/PaytrGateway.d.ts +5 -0
  62. package/dist/models/PeachGateway.d.ts +5 -0
  63. package/dist/models/Pricing.d.ts +3 -1
  64. package/dist/models/PricingExtras.d.ts +3 -1
  65. package/dist/models/PricingUnit.d.ts +3 -2
  66. package/dist/models/PricingUnitExtras.d.ts +3 -2
  67. package/dist/models/Product.d.ts +6 -4
  68. package/dist/models/ProductContent.d.ts +4 -4
  69. package/dist/models/ProductMemberships.d.ts +3 -0
  70. package/dist/models/ProductRentals.d.ts +3 -0
  71. package/dist/models/Question.d.ts +0 -4
  72. package/dist/models/QuestionAnswer.d.ts +3 -45
  73. package/dist/models/RealaxGateway.d.ts +1 -0
  74. package/dist/models/RentalDuration.d.ts +9 -0
  75. package/dist/models/Scan.d.ts +5 -0
  76. package/dist/models/SettlementMethod.d.ts +5 -5
  77. package/dist/models/SpreedlyGateway.d.ts +7 -0
  78. package/dist/models/StripeGateway.d.ts +15 -0
  79. package/dist/models/Ticket.d.ts +1 -1
  80. package/dist/models/Unit.d.ts +2 -0
  81. package/dist/models/UnitItem.d.ts +7 -1
  82. package/dist/models/UnitItemExtras.d.ts +4 -0
  83. package/dist/models/UnitItemRedemption.d.ts +4 -0
  84. package/dist/models/UnitMemberships.d.ts +4 -0
  85. package/dist/models/VivawalletGateway.d.ts +4 -0
  86. package/dist/schemas/AdyenGateway.d.ts +285 -0
  87. package/dist/schemas/AdyenGatewaySession.d.ts +11 -0
  88. package/dist/schemas/AdyenPaymentMethodsConfiguration.d.ts +188 -0
  89. package/dist/schemas/AdyenPaymentMethodsConfigurationApplePay.d.ts +8 -0
  90. package/dist/schemas/AdyenPaymentMethodsConfigurationCard.d.ts +92 -0
  91. package/dist/schemas/AdyenPaymentMethodsConfigurationCardBillingAddressMode.d.ts +3 -0
  92. package/dist/schemas/AdyenPaymentMethodsConfigurationGooglePay.d.ts +11 -0
  93. package/dist/schemas/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.d.ts +3 -0
  94. package/dist/schemas/AdyenPaymentMethodsConfigurationPayPay.d.ts +14 -0
  95. package/dist/schemas/Availability.d.ts +566 -170
  96. package/dist/schemas/AvailabilityCalendar.d.ts +531 -147
  97. package/dist/schemas/AvailabilityCalendarExtras.d.ts +90 -0
  98. package/dist/schemas/AvailabilityCalendarOffers.d.ts +86 -0
  99. package/dist/schemas/AvailabilityCalendarPricing.d.ts +345 -132
  100. package/dist/schemas/AvailabilityContent.d.ts +25 -19
  101. package/dist/schemas/AvailabilityExtras.d.ts +90 -0
  102. package/dist/schemas/AvailabilityOffers.d.ts +86 -0
  103. package/dist/schemas/AvailabilityPickups.d.ts +4 -4
  104. package/dist/schemas/AvailabilityPricing.d.ts +345 -132
  105. package/dist/schemas/AvailabilityResources.d.ts +8 -0
  106. package/dist/schemas/AvailabilityUpdate.d.ts +758 -317
  107. package/dist/schemas/BookingCardPayments.d.ts +889 -0
  108. package/dist/schemas/BookingCart.d.ts +2 -2
  109. package/dist/schemas/BookingCheckin.d.ts +14 -0
  110. package/dist/schemas/BookingConfirmationBody.d.ts +6 -6
  111. package/dist/schemas/BookingConfirmationRequest.d.ts +10 -10
  112. package/dist/schemas/BookingContact.d.ts +2 -2
  113. package/dist/schemas/BookingContent.d.ts +3 -0
  114. package/dist/schemas/BookingExtras.d.ts +1089 -76
  115. package/dist/schemas/BookingMemberships.d.ts +209 -0
  116. package/dist/schemas/BookingOffers.d.ts +2077 -261
  117. package/dist/schemas/BookingPackages.d.ts +16 -8
  118. package/dist/schemas/BookingPickups.d.ts +16 -7
  119. package/dist/schemas/BookingPricing.d.ts +228 -12
  120. package/dist/schemas/BookingQuestions.d.ts +120 -85
  121. package/dist/schemas/BookingRentals.d.ts +49 -0
  122. package/dist/schemas/BookingReservationBody.d.ts +8 -8
  123. package/dist/schemas/BookingReservationRequest.d.ts +14 -14
  124. package/dist/schemas/BookingUpdate.d.ts +20 -103
  125. package/dist/schemas/BookingUpdateBody.d.ts +6 -6
  126. package/dist/schemas/BookingUpdateRequest.d.ts +10 -10
  127. package/dist/schemas/BridgepayGateway.d.ts +8 -0
  128. package/dist/schemas/Card.d.ts +23 -0
  129. package/dist/schemas/CardPayment.d.ts +668 -0
  130. package/dist/schemas/Category.d.ts +0 -3
  131. package/dist/schemas/ConfirmOrderBody.d.ts +4 -4
  132. package/dist/schemas/CreateOrderBody.d.ts +4 -4
  133. package/dist/schemas/CreateWaitlistRequest.d.ts +4 -4
  134. package/dist/schemas/CustomerContact.d.ts +11 -2
  135. package/dist/schemas/DeliveryOption.d.ts +3 -3
  136. package/dist/schemas/Destination.d.ts +8 -55
  137. package/dist/schemas/DestinationPricing.d.ts +11 -0
  138. package/dist/schemas/ExternalGateway.d.ts +2 -0
  139. package/dist/schemas/Extra.d.ts +456 -24
  140. package/dist/schemas/ExtraItem.d.ts +839 -79
  141. package/dist/schemas/ExtraPricing.d.ts +56 -0
  142. package/dist/schemas/GetYourGuideConnection.d.ts +2 -2
  143. package/dist/schemas/Gift.d.ts +1180 -50
  144. package/dist/schemas/GiftCardPayments.d.ts +889 -0
  145. package/dist/schemas/Include.d.ts +6 -3
  146. package/dist/schemas/ItineraryItem.d.ts +2 -2
  147. package/dist/schemas/Membership.d.ts +124 -0
  148. package/dist/schemas/MembershipBenefit.d.ts +14 -0
  149. package/dist/schemas/Octo_DeliveryFormat.d.ts +3 -0
  150. package/dist/schemas/Offer.d.ts +29 -0
  151. package/dist/schemas/OfferCombination.d.ts +1611 -169
  152. package/dist/schemas/OfferComparison.d.ts +1611 -169
  153. package/dist/schemas/OfferDiscount.d.ts +0 -5
  154. package/dist/schemas/OfferMemberships.d.ts +28 -0
  155. package/dist/schemas/OfferTax.d.ts +17 -0
  156. package/dist/schemas/OpeningHours.d.ts +9 -9
  157. package/dist/schemas/OpeningHoursContent.d.ts +9 -9
  158. package/dist/schemas/OptionContent.d.ts +4 -4
  159. package/dist/schemas/OptionExtras.d.ts +576 -32
  160. package/dist/schemas/OptionPackages.d.ts +14 -7
  161. package/dist/schemas/OptionPickups.d.ts +4 -4
  162. package/dist/schemas/OptionPricing.d.ts +781 -0
  163. package/dist/schemas/OptionQuestions.d.ts +4 -9
  164. package/dist/schemas/OptionRentals.d.ts +43 -0
  165. package/dist/schemas/Order.d.ts +7421 -991
  166. package/dist/schemas/OrderCardPayments.d.ts +889 -0
  167. package/dist/schemas/OrderCheckin.d.ts +11 -0
  168. package/dist/schemas/OrderContent.d.ts +826 -0
  169. package/dist/schemas/OrderGifts.d.ts +2342 -0
  170. package/dist/schemas/OrderMemberships.d.ts +186 -0
  171. package/dist/schemas/OrderOffers.d.ts +2006 -276
  172. package/dist/schemas/OrderPricing.d.ts +393 -0
  173. package/dist/schemas/OrderQuestions.d.ts +139 -0
  174. package/dist/schemas/PackageInclude.d.ts +10 -5
  175. package/dist/schemas/PartnersConnection.d.ts +2 -2
  176. package/dist/schemas/PartnersListConnection.d.ts +28 -111
  177. package/dist/schemas/PaypalGateway.d.ts +11 -0
  178. package/dist/schemas/PaytrGateway.d.ts +14 -0
  179. package/dist/schemas/PeachGateway.d.ts +14 -0
  180. package/dist/schemas/PickupPoint.d.ts +2 -2
  181. package/dist/schemas/Pricing.d.ts +168 -8
  182. package/dist/schemas/PricingExtras.d.ts +170 -3
  183. package/dist/schemas/PricingOffers.d.ts +0 -7
  184. package/dist/schemas/PricingUnit.d.ts +83 -92
  185. package/dist/schemas/PricingUnitExtras.d.ts +83 -85
  186. package/dist/schemas/ProductContent.d.ts +46 -116
  187. package/dist/schemas/ProductMemberships.d.ts +8 -0
  188. package/dist/schemas/ProductRentals.d.ts +8 -0
  189. package/dist/schemas/Question.d.ts +2 -5
  190. package/dist/schemas/QuestionAnswer.d.ts +86 -53
  191. package/dist/schemas/RealaxGateway.d.ts +2 -0
  192. package/dist/schemas/RentalDuration.d.ts +23 -0
  193. package/dist/schemas/Scan.d.ts +14 -0
  194. package/dist/schemas/SpreedlyGateway.d.ts +20 -0
  195. package/dist/schemas/StripeGateway.d.ts +64 -0
  196. package/dist/schemas/Supplier.d.ts +14 -79
  197. package/dist/schemas/SupplierContent.d.ts +14 -79
  198. package/dist/schemas/Ticket.d.ts +8 -8
  199. package/dist/schemas/Unit.d.ts +1069 -75
  200. package/dist/schemas/UnitExtras.d.ts +576 -32
  201. package/dist/schemas/UnitItem.d.ts +4040 -691
  202. package/dist/schemas/UnitItemExtras.d.ts +1833 -0
  203. package/dist/schemas/UnitItemPricing.d.ts +228 -12
  204. package/dist/schemas/UnitItemQuestions.d.ts +120 -85
  205. package/dist/schemas/UnitItemRedemption.d.ts +28 -0
  206. package/dist/schemas/UnitMemberships.d.ts +28 -0
  207. package/dist/schemas/UnitPricing.d.ts +456 -24
  208. package/dist/schemas/UnitQuestions.d.ts +4 -9
  209. package/dist/schemas/UpdateOrderBody.d.ts +4 -4
  210. package/dist/schemas/VivawalletGateway.d.ts +11 -0
  211. package/dist/schemas/Waitlist.d.ts +19 -4
  212. package/dist/schemas/WhoIAm.d.ts +28 -111
  213. package/package.json +1 -1
  214. package/dist/models/Octo_PricingUnit.d.ts +0 -7
@@ -0,0 +1,4 @@
1
+ import type { ExtraPricing } from './ExtraPricing';
2
+ export type AvailabilityExtras = {
3
+ extraPricing?: Array<ExtraPricing>;
4
+ };
@@ -0,0 +1,6 @@
1
+ export type AvailabilityResources = {
2
+ /**
3
+ * Indicates whether the availability uses resources (e.g., guides, vehicles).
4
+ */
5
+ hasResources?: boolean;
6
+ };
@@ -4,15 +4,19 @@ import type { BookingAdjustment } from './BookingAdjustment';
4
4
  import type { BookingCancellation } from './BookingCancellation';
5
5
  import type { BookingRejection } from './BookingRejection';
6
6
  import type { BookingStatus } from './BookingStatus';
7
+ import type { CardPayment } from './CardPayment';
7
8
  import type { ContactField } from './ContactField';
8
9
  import type { CustomerContact } from './CustomerContact';
9
10
  import type { DeliveryMethod } from './DeliveryMethod';
10
11
  import type { DurationUnit } from './DurationUnit';
11
12
  import type { ExtraItem } from './ExtraItem';
13
+ import type { ExtraPricing } from './ExtraPricing';
12
14
  import type { GiftPayment } from './GiftPayment';
13
15
  import type { Identity } from './Identity';
14
16
  import type { Include } from './Include';
15
17
  import type { Label } from './Label';
18
+ import type { Membership } from './Membership';
19
+ import type { MembershipBenefit } from './MembershipBenefit';
16
20
  import type { Notice } from './Notice';
17
21
  import type { Offer } from './Offer';
18
22
  import type { OfferComparison } from './OfferComparison';
@@ -21,6 +25,7 @@ import type { PickupPoint } from './PickupPoint';
21
25
  import type { Pricing } from './Pricing';
22
26
  import type { Product } from './Product';
23
27
  import type { QuestionAnswer } from './QuestionAnswer';
28
+ import type { RentalDuration } from './RentalDuration';
24
29
  import type { Reseller } from './Reseller';
25
30
  import type { ResourceAllocation } from './ResourceAllocation';
26
31
  import type { Seller } from './Seller';
@@ -94,7 +99,7 @@ export type Booking = {
94
99
  /**
95
100
  * The ID of option booked.
96
101
  */
97
- option?: Option;
102
+ option: Option;
98
103
  /**
99
104
  * The object of booked option.
100
105
  */
@@ -186,14 +191,16 @@ export type Booking = {
186
191
  localDateTimeEnd: string;
187
192
  emailReceipt: boolean;
188
193
  label: Label | null;
194
+ metadata: Record<string, string>;
195
+ updatable: boolean;
196
+ availabilityLocalDateStart: string | null;
197
+ availabilityLocalDateEnd: string | null;
198
+ guide: Seller | null;
199
+ driver: Seller | null;
189
200
  /**
190
201
  * Whether the booking requires a pickup. This field is only present when octo/pickups capability is requested.
191
202
  */
192
203
  pickupRequested?: boolean;
193
- /**
194
- * The pickup ID that identifies the pickup in the booking system to make this reservation. This field is only present when octo/pickups capability is requested.
195
- */
196
- pickupId?: string | null;
197
204
  /**
198
205
  * A hotel name and address that will be included in the booking.
199
206
  * This field is only present when octo/pickups capability is requested.
@@ -212,12 +219,17 @@ export type Booking = {
212
219
  * A pickup point that will be included in the booking. This field is only present when octo/pickups capability is requested.
213
220
  */
214
221
  pickupPoint?: PickupPoint | null;
222
+ pickupPointId?: string | null;
223
+ pickupHotelRoom?: string | null;
224
+ pickupDispatch?: string | null;
225
+ dropoffDispatch?: string | null;
215
226
  duration?: string;
216
227
  durationAmount?: number;
217
228
  durationUnit?: DurationUnit;
218
229
  meetingLocalDateTime?: string | null;
219
230
  meetingPoint?: string | null;
220
231
  meetingPointCoordinates?: string | null;
232
+ meetingPointDirections?: string | null;
221
233
  notices?: Array<Notice>;
222
234
  termsAccepted?: boolean;
223
235
  primary?: boolean;
@@ -252,6 +264,7 @@ export type Booking = {
252
264
  resourceAllocations?: Array<ResourceAllocation>;
253
265
  giftPayment?: GiftPayment | null;
254
266
  extraItems?: Array<ExtraItem>;
267
+ extraPricing?: Array<ExtraPricing>;
255
268
  /**
256
269
  * Whether the booking is a package.
257
270
  * This field is only present when octo/packages capability is requested.
@@ -261,7 +274,7 @@ export type Booking = {
261
274
  * The package ID that identifies the package in the booking system to make this reservation.
262
275
  * This field is only present when octo/packages capability is requested.
263
276
  */
264
- packageIncludeId?: string;
277
+ packageIncludeId?: string | null;
265
278
  /**
266
279
  * A package that will be included in the booking.
267
280
  * This field is only present when octo/packages capability is requested.
@@ -272,10 +285,21 @@ export type Booking = {
272
285
  * This field is only present when octo/packages capability is requested.
273
286
  */
274
287
  packageBookings?: Array<Booking>;
288
+ packageUnitItemUuid?: any;
275
289
  /**
276
290
  * An array of adjustments that will be included in the booking. This field is only present when octo/adjustments capability is requested.
277
291
  */
278
292
  adjustments?: Array<BookingAdjustment>;
279
293
  identity?: Identity;
280
294
  identityId?: string;
295
+ checkedIn?: boolean;
296
+ checkinAvailable?: boolean;
297
+ checkinUrl?: string | null;
298
+ membershipBenefit?: MembershipBenefit | null;
299
+ membership?: Membership | null;
300
+ isRental?: boolean;
301
+ rentalDurationId?: string | null;
302
+ rentalDuration?: RentalDuration | null;
303
+ cardPayment?: CardPayment | null;
304
+ returnUrl?: string | null;
281
305
  };
@@ -0,0 +1,5 @@
1
+ import type { CardPayment } from './CardPayment';
2
+ export type BookingCardPayments = {
3
+ cardPayment?: CardPayment | null;
4
+ returnUrl?: string | null;
5
+ };
@@ -0,0 +1,5 @@
1
+ export type BookingCheckin = {
2
+ checkedIn?: boolean;
3
+ checkinAvailable?: boolean;
4
+ checkinUrl?: string | null;
5
+ };
@@ -7,6 +7,7 @@ export type BookingContent = {
7
7
  meetingLocalDateTime?: string | null;
8
8
  meetingPoint?: string | null;
9
9
  meetingPointCoordinates?: string | null;
10
+ meetingPointDirections?: string | null;
10
11
  notices?: Array<Notice>;
11
12
  termsAccepted?: boolean;
12
13
  };
@@ -1,4 +1,6 @@
1
1
  import type { ExtraItem } from './ExtraItem';
2
+ import type { ExtraPricing } from './ExtraPricing';
2
3
  export type BookingExtras = {
3
4
  extraItems?: Array<ExtraItem>;
5
+ extraPricing?: Array<ExtraPricing>;
4
6
  };
@@ -0,0 +1,6 @@
1
+ import type { Membership } from './Membership';
2
+ import type { MembershipBenefit } from './MembershipBenefit';
3
+ export type BookingMemberships = {
4
+ membershipBenefit?: MembershipBenefit | null;
5
+ membership?: Membership | null;
6
+ };
@@ -10,7 +10,7 @@ export type BookingPackages = {
10
10
  * The package ID that identifies the package in the booking system to make this reservation.
11
11
  * This field is only present when octo/packages capability is requested.
12
12
  */
13
- packageIncludeId?: string;
13
+ packageIncludeId?: string | null;
14
14
  /**
15
15
  * A package that will be included in the booking.
16
16
  * This field is only present when octo/packages capability is requested.
@@ -21,4 +21,5 @@ export type BookingPackages = {
21
21
  * This field is only present when octo/packages capability is requested.
22
22
  */
23
23
  packageBookings?: Array<Booking>;
24
+ packageUnitItemUuid?: any;
24
25
  };
@@ -4,10 +4,6 @@ export type BookingPickups = {
4
4
  * Whether the booking requires a pickup. This field is only present when octo/pickups capability is requested.
5
5
  */
6
6
  pickupRequested?: boolean;
7
- /**
8
- * The pickup ID that identifies the pickup in the booking system to make this reservation. This field is only present when octo/pickups capability is requested.
9
- */
10
- pickupId?: string | null;
11
7
  /**
12
8
  * A hotel name and address that will be included in the booking.
13
9
  * This field is only present when octo/pickups capability is requested.
@@ -26,4 +22,8 @@ export type BookingPickups = {
26
22
  * A pickup point that will be included in the booking. This field is only present when octo/pickups capability is requested.
27
23
  */
28
24
  pickupPoint?: PickupPoint | null;
25
+ pickupPointId?: string | null;
26
+ pickupHotelRoom?: string | null;
27
+ pickupDispatch?: string | null;
28
+ dropoffDispatch?: string | null;
29
29
  };
@@ -0,0 +1,6 @@
1
+ import type { RentalDuration } from './RentalDuration';
2
+ export type BookingRentals = {
3
+ isRental?: boolean;
4
+ rentalDurationId?: string | null;
5
+ rentalDuration?: RentalDuration | null;
6
+ };
@@ -0,0 +1,3 @@
1
+ export type BridgepayGateway = {
2
+ publicKey: string;
3
+ };
@@ -0,0 +1,8 @@
1
+ export type Card = {
2
+ id: string;
3
+ brand: string;
4
+ bin: string;
5
+ last4: string;
6
+ expMonth: number;
7
+ expYear: number;
8
+ };
@@ -0,0 +1,34 @@
1
+ import type { AdyenGateway } from './AdyenGateway';
2
+ import type { BridgepayGateway } from './BridgepayGateway';
3
+ import type { Card } from './Card';
4
+ import type { ExternalGateway } from './ExternalGateway';
5
+ import type { PaypalGateway } from './PaypalGateway';
6
+ import type { PaytrGateway } from './PaytrGateway';
7
+ import type { PeachGateway } from './PeachGateway';
8
+ import type { RealaxGateway } from './RealaxGateway';
9
+ import type { SpreedlyGateway } from './SpreedlyGateway';
10
+ import type { StripeGateway } from './StripeGateway';
11
+ import type { VivawalletGateway } from './VivawalletGateway';
12
+ export type CardPayment = {
13
+ id: string;
14
+ gateway: string;
15
+ source: string;
16
+ paid: number;
17
+ paidSurcharge: number;
18
+ balance: number;
19
+ surcharge: number;
20
+ outstandingBalance: number;
21
+ currency: string;
22
+ currencyPrecision: number;
23
+ reusableCards: Array<Card>;
24
+ adyen?: AdyenGateway;
25
+ vivawallet?: VivawalletGateway;
26
+ stripe?: StripeGateway;
27
+ bridgepay?: BridgepayGateway;
28
+ realax?: RealaxGateway;
29
+ paypal?: PaypalGateway;
30
+ external?: ExternalGateway;
31
+ paytr?: PaytrGateway;
32
+ spreedly?: SpreedlyGateway;
33
+ peach?: PeachGateway;
34
+ };
@@ -31,8 +31,4 @@ export type Category = {
31
31
  * The URL of the image that represents the category.
32
32
  */
33
33
  bannerImageUrl: string | null;
34
- /**
35
- * An array of product IDs that the category falls under. This field is not visible if this Category is a product category.
36
- */
37
- productIds: Array<string>;
38
34
  };
@@ -59,4 +59,7 @@ export type CustomerContact = {
59
59
  * Whether the booking holder or the ticket holder allows marketing.
60
60
  */
61
61
  allowMarketing: boolean;
62
+ company: string | null;
63
+ age: number | null;
64
+ birthdate: string | null;
62
65
  };
@@ -2,5 +2,6 @@ export declare enum DeliveryFormat {
2
2
  PDF_URL = "PDF_URL",
3
3
  QRCODE = "QRCODE",
4
4
  CODE128 = "CODE128",
5
- PKPASS_URL = "PKPASS_URL"
5
+ PKPASS_URL = "PKPASS_URL",
6
+ GOOGLE_WALLET_URL = "GOOGLE_WALLET_URL"
6
7
  }
@@ -1,4 +1,4 @@
1
- import type { DeliveryFormat } from './DeliveryFormat';
1
+ import type { Octo_DeliveryFormat } from './Octo_DeliveryFormat';
2
2
  export type DeliveryOption = {
3
3
  /**
4
4
  * The format in which vouchers for this product are delivered. Each format specifies how the vouchers will be represented:
@@ -9,7 +9,7 @@ export type DeliveryOption = {
9
9
  * PKPASS_URL: A URL for adding the ticket to Apple Wallet (Passbook) for easy access on iOS devices.
10
10
  * This field ensures resellers can understand and integrate the appropriate ticket delivery formats specifically associated with this product."
11
11
  */
12
- deliveryFormat: DeliveryFormat;
12
+ deliveryFormat: Octo_DeliveryFormat;
13
13
  /**
14
14
  * The string with the value of the delivery option, e.g. value behind the QRCODE, CODE128, AZTECCODE, or URL hosting the file for PDF_URL or PKPASS_URL)
15
15
  */
@@ -1,5 +1,4 @@
1
1
  import type { Brand } from './Brand';
2
- import type { Category } from './Category';
3
2
  import type { DestinationContact } from './DestinationContact';
4
3
  import type { Notice } from './Notice';
5
4
  export type Destination = {
@@ -78,11 +77,15 @@ export type Destination = {
78
77
  * The Instagram URL for the destination.
79
78
  */
80
79
  instagramUrl: string | null;
81
- /**
82
- * An array of categories that the destination falls under.
83
- */
84
- categories: Array<Category>;
85
80
  tags: Array<string>;
86
81
  address: string | null;
87
82
  notices: Array<Notice>;
83
+ /**
84
+ * Is on the object when Pricing capability is requested. Default currency for this product, if you omit the currency parameter on future endpoints this is the value the reservation system will fallback to.
85
+ */
86
+ defaultCurrency?: string;
87
+ /**
88
+ * Is on the object when Pricing capability is requested. All the possible currencies that we accept for this product.
89
+ */
90
+ availableCurrencies?: Array<string>;
88
91
  };
@@ -0,0 +1,10 @@
1
+ export type DestinationPricing = {
2
+ /**
3
+ * Is on the object when Pricing capability is requested. Default currency for this product, if you omit the currency parameter on future endpoints this is the value the reservation system will fallback to.
4
+ */
5
+ defaultCurrency?: string;
6
+ /**
7
+ * Is on the object when Pricing capability is requested. All the possible currencies that we accept for this product.
8
+ */
9
+ availableCurrencies?: Array<string>;
10
+ };
@@ -0,0 +1 @@
1
+ export type ExternalGateway = Record<string, any>;
@@ -1,5 +1,6 @@
1
- import type { Octo_Tax } from './Octo_Tax';
2
- export type Octo_Pricing = {
1
+ import type { Tax } from './Tax';
2
+ export type ExtraPricing = {
3
+ extraId: string;
3
4
  /**
4
5
  * Represents the advertised marketing price, which must be equal to or higher than pricingFrom.retail. Typically used for strike-through pricing, it highlights the original or component-based value of the product when the retail price reflects a discount or bundled offer. For example, a package product combining multiple components (e.g., hotel + tour + meals) may have a total component value of $500 (original), while the bundled retail price is $400. In such cases, the original price is displayed to show savings.This field should only be shown when it is higher than pricingFrom.retail and must accurately reflect a valid reference price, ensuring transparency and trust.
5
6
  */
@@ -23,5 +24,5 @@ export type Octo_Pricing = {
23
24
  /**
24
25
  * This field defines the number of decimal places used for the currency in the pricingFrom object, ensuring precise representation and preventing rounding errors during calculations. For example, in currencies like USD, which have a precision of 2, prices are expressed in cents (e.g., $45.00 is represented as 4500). In currencies like JPY, which have a precision of 0, prices are expressed as whole yen amounts (e.g., ¥4500 is represented as 4500). By aligning with the specific decimal requirements of different currencies, this field guarantees accurate pricing calculations and consistent handling across various currency formats.
25
26
  */
26
- includedTaxes: Array<Octo_Tax>;
27
+ includedTaxes: Array<Tax>;
27
28
  };
@@ -1,6 +1,7 @@
1
1
  import type { Agent } from './Agent';
2
2
  import type { BookingCancellation } from './BookingCancellation';
3
3
  import type { BookingStatus } from './BookingStatus';
4
+ import type { CardPayment } from './CardPayment';
4
5
  import type { ContactField } from './ContactField';
5
6
  import type { CustomerContact } from './CustomerContact';
6
7
  import type { DeliveryMethod } from './DeliveryMethod';
@@ -47,4 +48,6 @@ export type Gift = {
47
48
  voucher: Ticket;
48
49
  identity?: Identity;
49
50
  identityId?: string;
51
+ cardPayment?: CardPayment | null;
52
+ returnUrl?: string | null;
50
53
  };
@@ -0,0 +1,5 @@
1
+ import type { CardPayment } from './CardPayment';
2
+ export type GiftCardPayments = {
3
+ cardPayment?: CardPayment | null;
4
+ returnUrl?: string | null;
5
+ };
@@ -17,7 +17,8 @@ export type Include = {
17
17
  /**
18
18
  * The validity days of the include.
19
19
  */
20
- validityDays?: number;
20
+ validityDays: number | null;
21
+ availabilityRequired: boolean;
21
22
  /**
22
23
  * The product ID of the include.
23
24
  */
@@ -0,0 +1,11 @@
1
+ import type { CustomerContact } from './CustomerContact';
2
+ export type Membership = {
3
+ id: string;
4
+ title: string;
5
+ contact: CustomerContact;
6
+ reference: string | null;
7
+ resellerReference: string;
8
+ supplierReference: string;
9
+ availabilityLocalDateStart: string | null;
10
+ availabilityLocalDateEnd: string | null;
11
+ };
@@ -0,0 +1,5 @@
1
+ export type MembershipBenefit = {
2
+ id: string;
3
+ title: string;
4
+ description: string;
5
+ };
@@ -0,0 +1,6 @@
1
+ export declare enum Octo_DeliveryFormat {
2
+ PDF_URL = "PDF_URL",
3
+ QRCODE = "QRCODE",
4
+ CODE128 = "CODE128",
5
+ PKPASS_URL = "PKPASS_URL"
6
+ }
@@ -1,3 +1,4 @@
1
+ import type { MembershipBenefit } from './MembershipBenefit';
1
2
  import type { NetDiscount } from './NetDiscount';
2
3
  import type { OfferRestrictions } from './OfferRestrictions';
3
4
  export type Offer = {
@@ -5,6 +6,10 @@ export type Offer = {
5
6
  * The title or name of the offer.
6
7
  */
7
8
  title: string;
9
+ /**
10
+ * The label of the offer.
11
+ */
12
+ label: string;
8
13
  /**
9
14
  * The unique code used to apply the offer.
10
15
  */
@@ -25,4 +30,6 @@ export type Offer = {
25
30
  * Indicates whether the offer can currently be applied.
26
31
  */
27
32
  usable: boolean;
33
+ unusableReason: string | null;
34
+ membershipBenefit?: MembershipBenefit | null;
28
35
  };
@@ -1,4 +1,4 @@
1
- import type { Tax } from './Tax';
1
+ import type { OfferTax } from './OfferTax';
2
2
  export type OfferDiscount = {
3
3
  /**
4
4
  * Net price before discount.
@@ -11,5 +11,5 @@ export type OfferDiscount = {
11
11
  /**
12
12
  * List of taxes included in the discounted price.
13
13
  */
14
- includedTaxes: Array<Tax>;
14
+ includedTaxes: Array<OfferTax>;
15
15
  };
@@ -0,0 +1,4 @@
1
+ import type { MembershipBenefit } from './MembershipBenefit';
2
+ export type OfferMemberships = {
3
+ membershipBenefit?: MembershipBenefit | null;
4
+ };
@@ -1,4 +1,4 @@
1
- export type Octo_Tax = {
1
+ export type OfferTax = {
2
2
  /**
3
3
  * The name of the tax or fee, such as "VAT", "City Tax", or "Service Charge". This field provides clear labeling of the tax or fee being applied, making the pricing structure easier to interpret.
4
4
  */
@@ -7,9 +7,9 @@ export type Octo_Tax = {
7
7
  * The value of the tax or fee included in the retail price, expressed in the same currency as the pricingFrom.currency. This value indicates the portion of the end-customer price attributable to the specific tax or fee.
8
8
  */
9
9
  retail: number;
10
- original: number;
11
10
  /**
12
11
  * The value of the tax or fee included in the net price, expressed in the same currency as the pricingFrom.currency. This value indicates the portion of the reseller’s cost attributable to the specific tax or fee.
13
12
  */
14
13
  net: number | null;
14
+ shortDescription: string | null;
15
15
  };
@@ -1,3 +1,4 @@
1
+ import type { DurationUnit } from './DurationUnit';
1
2
  /**
2
3
  * Defines the opening hours for this availability, even for start time-based availability. Supports multiple periods for breaks in the day.
3
4
  */
@@ -13,13 +14,13 @@ export type OpeningHours = {
13
14
  /**
14
15
  * Optional label for how frequently the event occurs (e.g., daily, weekly).
15
16
  */
16
- frequency?: string;
17
+ frequency?: string | null;
17
18
  /**
18
19
  * Optional numeric amount representing the interval frequency.
19
20
  */
20
- frequencyAmount?: number;
21
+ frequencyAmount?: number | null;
21
22
  /**
22
23
  * Optional unit for frequency (e.g., day, week, month).
23
24
  */
24
- frequencyUnit?: string;
25
+ frequencyUnit?: DurationUnit;
25
26
  };
@@ -1,14 +1,15 @@
1
+ import type { DurationUnit } from './DurationUnit';
1
2
  export type OpeningHoursContent = {
2
3
  /**
3
4
  * Optional label for how frequently the event occurs (e.g., daily, weekly).
4
5
  */
5
- frequency?: string;
6
+ frequency?: string | null;
6
7
  /**
7
8
  * Optional numeric amount representing the interval frequency.
8
9
  */
9
- frequencyAmount?: number;
10
+ frequencyAmount?: number | null;
10
11
  /**
11
12
  * Optional unit for frequency (e.g., day, week, month).
12
13
  */
13
- frequencyUnit?: string;
14
+ frequencyUnit?: DurationUnit;
14
15
  };
@@ -2,12 +2,13 @@ import type { ContactField } from './ContactField';
2
2
  import type { DurationUnit } from './DurationUnit';
3
3
  import type { Extra } from './Extra';
4
4
  import type { ItineraryItem } from './ItineraryItem';
5
- import type { Octo_Pricing } from './Octo_Pricing';
6
5
  import type { OptionRestrictions } from './OptionRestrictions';
7
6
  import type { PackageInclude } from './PackageInclude';
8
7
  import type { PickupPoint } from './PickupPoint';
9
8
  import type { Point } from './Point';
9
+ import type { Pricing } from './Pricing';
10
10
  import type { Question } from './Question';
11
+ import type { RentalDuration } from './RentalDuration';
11
12
  import type { Unit } from './Unit';
12
13
  export type Option = {
13
14
  /**
@@ -143,15 +144,16 @@ export type Option = {
143
144
  /**
144
145
  * Is on the object when Pricing capability is requested.
145
146
  */
146
- pricingFrom?: Array<Octo_Pricing>;
147
+ pricingFrom?: Array<Pricing>;
147
148
  /**
148
149
  * Is on the object when Pricing capability is requested.
149
150
  */
150
- pricing?: Array<Octo_Pricing>;
151
+ pricing?: Array<Pricing>;
151
152
  /**
152
153
  * Questions for this option. Only present when octo/questions capability is requested.
153
154
  */
154
155
  questions?: Array<Question>;
155
156
  extras?: Array<Extra>;
156
157
  packageIncludes?: Array<PackageInclude>;
158
+ rentalDurations?: Array<RentalDuration>;
157
159
  };
@@ -0,0 +1,11 @@
1
+ import type { Pricing } from './Pricing';
2
+ export type OptionPricing = {
3
+ /**
4
+ * Is on the object when Pricing capability is requested.
5
+ */
6
+ pricingFrom?: Array<Pricing>;
7
+ /**
8
+ * Is on the object when Pricing capability is requested.
9
+ */
10
+ pricing?: Array<Pricing>;
11
+ };
@@ -0,0 +1,4 @@
1
+ import type { RentalDuration } from './RentalDuration';
2
+ export type OptionRentals = {
3
+ rentalDurations?: Array<RentalDuration>;
4
+ };
@@ -1,36 +1,56 @@
1
- import type { Agent } from './Agent';
2
1
  import type { Booking } from './Booking';
2
+ import type { Brand } from './Brand';
3
+ import type { CardPayment } from './CardPayment';
3
4
  import type { ContactField } from './ContactField';
4
5
  import type { CustomerContact } from './CustomerContact';
6
+ import type { Destination } from './Destination';
7
+ import type { Gift } from './Gift';
5
8
  import type { GiftPayment } from './GiftPayment';
6
9
  import type { Identity } from './Identity';
10
+ import type { Membership } from './Membership';
7
11
  import type { OfferCombination } from './OfferCombination';
8
- import type { Reseller } from './Reseller';
9
- import type { Seller } from './Seller';
12
+ import type { Pricing } from './Pricing';
13
+ import type { QuestionAnswer } from './QuestionAnswer';
10
14
  import type { SettlementMethod } from './SettlementMethod';
11
- import type { User } from './User';
15
+ import type { Ticket } from './Ticket';
12
16
  export type Order = {
13
17
  id: string;
14
18
  testMode: boolean;
15
19
  settlementMethod: SettlementMethod;
20
+ settlementMethods: Array<SettlementMethod>;
16
21
  supplierReference: string;
17
22
  quote: boolean;
18
23
  status: string;
24
+ utcCreatedAt: string;
19
25
  utcExpiresAt: string | null;
20
26
  utcConfirmedAt: string | null;
27
+ utcUpdatedAt: string | null;
21
28
  cancellable: boolean;
22
29
  confirmable: boolean;
23
- reseller?: Reseller;
24
- agent?: Agent;
30
+ updatable: boolean;
25
31
  contact?: CustomerContact;
26
32
  emailReceipt?: boolean;
27
33
  bookings: Array<Booking>;
28
34
  visibleContactFields: Array<ContactField>;
29
35
  requiredContactFields: Array<ContactField>;
30
- user: User | null;
31
- seller: Seller | null;
36
+ voucher: Ticket | null;
37
+ termsAccepted?: boolean;
38
+ destination?: Destination;
39
+ brand?: Brand;
40
+ pricing?: Pricing;
41
+ /**
42
+ * An array of questions and andswers that will be included in the order.
43
+ * This field is only present when octo/questions capability is requested.
44
+ */
45
+ questionAnswers?: Array<QuestionAnswer>;
32
46
  identity?: Identity;
33
47
  identityId?: string;
34
48
  offerCombinations?: Array<OfferCombination>;
35
49
  giftPayment?: GiftPayment | null;
50
+ gifts?: Array<Gift>;
51
+ checkinAvailable?: boolean;
52
+ checkinUrl?: string | null;
53
+ membership?: Membership | null;
54
+ cardPayment?: CardPayment | null;
55
+ returnUrl?: string | null;
36
56
  };
@@ -0,0 +1,5 @@
1
+ import type { CardPayment } from './CardPayment';
2
+ export type OrderCardPayments = {
3
+ cardPayment?: CardPayment | null;
4
+ returnUrl?: string | null;
5
+ };