@ventrata/octo-types 0.0.8 → 0.0.10

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 (60) hide show
  1. package/dist/index.d.ts +46 -0
  2. package/dist/models/BookingConfirmationBody.d.ts +17 -1
  3. package/dist/models/BookingPickupBody.d.ts +18 -0
  4. package/dist/models/BookingReservationBody.d.ts +16 -0
  5. package/dist/models/BookingUpdateBody.d.ts +16 -0
  6. package/dist/models/CancelOrderBody.d.ts +6 -0
  7. package/dist/models/CancelOrderRequest_id.d.ts +4 -0
  8. package/dist/models/ConfirmOrderBody.d.ts +19 -0
  9. package/dist/models/ConfirmOrderPricingBody.d.ts +6 -0
  10. package/dist/models/ConfirmOrderRequest_id.d.ts +4 -0
  11. package/dist/models/CreateOrderBody.d.ts +19 -0
  12. package/dist/models/CreateOrderPricingBody.d.ts +6 -0
  13. package/dist/models/CreateOrderRequest_id.d.ts +4 -0
  14. package/dist/models/ExtendOrderBody.d.ts +3 -0
  15. package/dist/models/ExtendOrderRequest_id.d.ts +4 -0
  16. package/dist/models/GetMappingsQueryParams_optionId.d.ts +4 -0
  17. package/dist/models/GetMappingsQueryParams_productId.d.ts +4 -0
  18. package/dist/models/GetMappingsQueryParams_resellerReference.d.ts +4 -0
  19. package/dist/models/GetMappingsQueryParams_resellerStatus.d.ts +5 -0
  20. package/dist/models/GetMappingsRequest.d.ts +19 -0
  21. package/dist/models/GetOrderRequest_id.d.ts +4 -0
  22. package/dist/models/MappingToUpdate.d.ts +31 -0
  23. package/dist/models/OrderPathParams.d.ts +6 -0
  24. package/dist/models/Product.d.ts +1 -1
  25. package/dist/models/ProductGoogle.d.ts +1 -1
  26. package/dist/models/UpdateMappingsRequest.d.ts +4 -0
  27. package/dist/models/UpdateOrderBody.d.ts +19 -0
  28. package/dist/models/UpdateOrderPricingBody.d.ts +6 -0
  29. package/dist/models/UpdateOrderRequest_id.d.ts +4 -0
  30. package/dist/schemas/BookingConfirmationBody.d.ts +22 -10
  31. package/dist/schemas/BookingConfirmationRequest.d.ts +38 -18
  32. package/dist/schemas/BookingPickupBody.d.ts +17 -0
  33. package/dist/schemas/BookingReservationBody.d.ts +12 -0
  34. package/dist/schemas/BookingReservationRequest.d.ts +20 -0
  35. package/dist/schemas/BookingUpdateBody.d.ts +12 -0
  36. package/dist/schemas/BookingUpdateRequest.d.ts +20 -0
  37. package/dist/schemas/CancelOrderBody.d.ts +8 -0
  38. package/dist/schemas/CancelOrderRequest_id.d.ts +2 -0
  39. package/dist/schemas/ConfirmOrderBody.d.ts +92 -0
  40. package/dist/schemas/ConfirmOrderPricingBody.d.ts +8 -0
  41. package/dist/schemas/ConfirmOrderRequest_id.d.ts +2 -0
  42. package/dist/schemas/CreateOrderBody.d.ts +92 -0
  43. package/dist/schemas/CreateOrderPricingBody.d.ts +8 -0
  44. package/dist/schemas/CreateOrderRequest_id.d.ts +2 -0
  45. package/dist/schemas/ExtendOrderBody.d.ts +8 -0
  46. package/dist/schemas/ExtendOrderRequest_id.d.ts +2 -0
  47. package/dist/schemas/GetMappingsQueryParams_optionId.d.ts +2 -0
  48. package/dist/schemas/GetMappingsQueryParams_productId.d.ts +2 -0
  49. package/dist/schemas/GetMappingsQueryParams_resellerReference.d.ts +2 -0
  50. package/dist/schemas/GetMappingsQueryParams_resellerStatus.d.ts +1 -0
  51. package/dist/schemas/GetMappingsRequest.d.ts +17 -0
  52. package/dist/schemas/GetOrderRequest_id.d.ts +2 -0
  53. package/dist/schemas/MappingToUpdate.d.ts +26 -0
  54. package/dist/schemas/OrderPathParams.d.ts +8 -0
  55. package/dist/schemas/ProductGoogle.d.ts +4 -4
  56. package/dist/schemas/UpdateMappingsRequest.d.ts +48 -0
  57. package/dist/schemas/UpdateOrderBody.d.ts +92 -0
  58. package/dist/schemas/UpdateOrderPricingBody.d.ts +8 -0
  59. package/dist/schemas/UpdateOrderRequest_id.d.ts +2 -0
  60. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -39,6 +39,7 @@ export type { BookingGifts } from './models/BookingGifts';
39
39
  export type { BookingIdentities } from './models/BookingIdentities';
40
40
  export type { BookingOffers } from './models/BookingOffers';
41
41
  export type { BookingPackages } from './models/BookingPackages';
42
+ export type { BookingPickupBody } from './models/BookingPickupBody';
42
43
  export type { BookingPickups } from './models/BookingPickups';
43
44
  export type { BookingPricing } from './models/BookingPricing';
44
45
  export type { BookingQuestions } from './models/BookingQuestions';
@@ -54,10 +55,18 @@ export type { BookingUpdatePathParams } from './models/BookingUpdatePathParams';
54
55
  export type { BookingUpdateRequest_uuid } from './models/BookingUpdateRequest_uuid';
55
56
  export type { Brand } from './models/Brand';
56
57
  export type { BrandContact } from './models/BrandContact';
58
+ export type { CancelOrderBody } from './models/CancelOrderBody';
59
+ export type { CancelOrderRequest_id } from './models/CancelOrderRequest_id';
57
60
  export type { Capability } from './models/Capability';
58
61
  export { CapabilityId } from './models/CapabilityId';
59
62
  export type { Category } from './models/Category';
63
+ export type { ConfirmOrderBody } from './models/ConfirmOrderBody';
64
+ export type { ConfirmOrderPricingBody } from './models/ConfirmOrderPricingBody';
65
+ export type { ConfirmOrderRequest_id } from './models/ConfirmOrderRequest_id';
60
66
  export { ContactField } from './models/ContactField';
67
+ export type { CreateOrderBody } from './models/CreateOrderBody';
68
+ export type { CreateOrderPricingBody } from './models/CreateOrderPricingBody';
69
+ export type { CreateOrderRequest_id } from './models/CreateOrderRequest_id';
61
70
  export type { CreateWaitlistRequest } from './models/CreateWaitlistRequest';
62
71
  export type { CreateWebhookBody } from './models/CreateWebhookBody';
63
72
  export type { CreateWebhookRequest } from './models/CreateWebhookRequest';
@@ -74,6 +83,8 @@ export type { Destination } from './models/Destination';
74
83
  export type { DestinationContact } from './models/DestinationContact';
75
84
  export type { Diff } from './models/Diff';
76
85
  export { DurationUnit } from './models/DurationUnit';
86
+ export type { ExtendOrderBody } from './models/ExtendOrderBody';
87
+ export type { ExtendOrderRequest_id } from './models/ExtendOrderRequest_id';
77
88
  export type { ExtendReservationBody } from './models/ExtendReservationBody';
78
89
  export type { ExtendReservationErrorResponse } from './models/ExtendReservationErrorResponse';
79
90
  export type { ExtendReservationPathParams } from './models/ExtendReservationPathParams';
@@ -85,6 +96,12 @@ export type { FAQ } from './models/FAQ';
85
96
  export type { Font } from './models/Font';
86
97
  export type { GetBookingRequest } from './models/GetBookingRequest';
87
98
  export type { GetBookingsRequest } from './models/GetBookingsRequest';
99
+ export type { GetMappingsQueryParams_optionId } from './models/GetMappingsQueryParams_optionId';
100
+ export type { GetMappingsQueryParams_productId } from './models/GetMappingsQueryParams_productId';
101
+ export type { GetMappingsQueryParams_resellerReference } from './models/GetMappingsQueryParams_resellerReference';
102
+ export type { GetMappingsQueryParams_resellerStatus } from './models/GetMappingsQueryParams_resellerStatus';
103
+ export type { GetMappingsRequest } from './models/GetMappingsRequest';
104
+ export type { GetOrderRequest_id } from './models/GetOrderRequest_id';
88
105
  export type { GetProductRequest } from './models/GetProductRequest';
89
106
  export type { GetProductsRequest } from './models/GetProductsRequest';
90
107
  export type { GetSupplierRequest } from './models/GetSupplierRequest';
@@ -115,6 +132,7 @@ export type { ListOrdersRequest } from './models/ListOrdersRequest';
115
132
  export type { ListWebhooksRequest } from './models/ListWebhooksRequest';
116
133
  export type { ListWebhooksRequestHeaders_octoCapabilities } from './models/ListWebhooksRequestHeaders_octoCapabilities';
117
134
  export type { Mapping } from './models/Mapping';
135
+ export type { MappingToUpdate } from './models/MappingToUpdate';
118
136
  export { MediaRel } from './models/MediaRel';
119
137
  export { MediaType } from './models/MediaType';
120
138
  export { NetDiscount } from './models/NetDiscount';
@@ -179,6 +197,7 @@ export type { Order } from './models/Order';
179
197
  export type { OrderGifts } from './models/OrderGifts';
180
198
  export type { OrderIdentities } from './models/OrderIdentities';
181
199
  export type { OrderOffers } from './models/OrderOffers';
200
+ export type { OrderPathParams } from './models/OrderPathParams';
182
201
  export type { PackageInclude } from './models/PackageInclude';
183
202
  export type { Partner } from './models/Partner';
184
203
  export { PartnerEnum } from './models/PartnerEnum';
@@ -235,6 +254,10 @@ export type { UnitPricing } from './models/UnitPricing';
235
254
  export type { UnitQuestions } from './models/UnitQuestions';
236
255
  export type { UnitRestrictions } from './models/UnitRestrictions';
237
256
  export { UnitType } from './models/UnitType';
257
+ export type { UpdateMappingsRequest } from './models/UpdateMappingsRequest';
258
+ export type { UpdateOrderBody } from './models/UpdateOrderBody';
259
+ export type { UpdateOrderPricingBody } from './models/UpdateOrderPricingBody';
260
+ export type { UpdateOrderRequest_id } from './models/UpdateOrderRequest_id';
238
261
  export type { User } from './models/User';
239
262
  export type { UUID } from './models/UUID';
240
263
  export type { Waitlist } from './models/Waitlist';
@@ -252,6 +275,10 @@ export { waitlistUnitItemIdentifierSchema } from './schemas/WaitlistUnitItemIden
252
275
  export { waitlistUnitIdentifierSchema } from './schemas/WaitlistUnitIdentifier';
253
276
  export { waitlistSchema } from './schemas/Waitlist';
254
277
  export { userSchema } from './schemas/User';
278
+ export { updateOrderRequest_idSchema } from './schemas/UpdateOrderRequest_id';
279
+ export { updateOrderPricingBodySchema } from './schemas/UpdateOrderPricingBody';
280
+ export { updateOrderBodySchema } from './schemas/UpdateOrderBody';
281
+ export { updateMappingsRequestSchema } from './schemas/UpdateMappingsRequest';
255
282
  export { unitTypeSchema } from './schemas/UnitType';
256
283
  export { unitRestrictionsSchema } from './schemas/UnitRestrictions';
257
284
  export { unitQuestionsSchema } from './schemas/UnitQuestions';
@@ -308,6 +335,7 @@ export { partnersConnectionSchema } from './schemas/PartnersConnection';
308
335
  export { partnerEnumSchema } from './schemas/PartnerEnum';
309
336
  export { partnerSchema } from './schemas/Partner';
310
337
  export { packageIncludeSchema } from './schemas/PackageInclude';
338
+ export { orderPathParamsSchema } from './schemas/OrderPathParams';
311
339
  export { orderOffersSchema } from './schemas/OrderOffers';
312
340
  export { orderIdentitiesSchema } from './schemas/OrderIdentities';
313
341
  export { orderGiftsSchema } from './schemas/OrderGifts';
@@ -390,6 +418,7 @@ export { noticeSchema } from './schemas/Notice';
390
418
  export { netDiscountSchema } from './schemas/NetDiscount';
391
419
  export { mediaTypeSchema } from './schemas/MediaType';
392
420
  export { mediaRelSchema } from './schemas/MediaRel';
421
+ export { mappingToUpdateSchema } from './schemas/MappingToUpdate';
393
422
  export { mappingSchema } from './schemas/Mapping';
394
423
  export { listWebhooksRequestHeaders_octoCapabilitiesSchema } from './schemas/ListWebhooksRequestHeaders_octoCapabilities';
395
424
  export { listWebhooksRequestSchema } from './schemas/ListWebhooksRequest';
@@ -421,6 +450,12 @@ export { getYourGuideActivateBodySchema } from './schemas/GetYourGuideActivateBo
421
450
  export { getSupplierRequestSchema } from './schemas/GetSupplierRequest';
422
451
  export { getProductsRequestSchema } from './schemas/GetProductsRequest';
423
452
  export { getProductRequestSchema } from './schemas/GetProductRequest';
453
+ export { getOrderRequest_idSchema } from './schemas/GetOrderRequest_id';
454
+ export { getMappingsRequestSchema } from './schemas/GetMappingsRequest';
455
+ export { getMappingsQueryParams_resellerStatusSchema } from './schemas/GetMappingsQueryParams_resellerStatus';
456
+ export { getMappingsQueryParams_resellerReferenceSchema } from './schemas/GetMappingsQueryParams_resellerReference';
457
+ export { getMappingsQueryParams_productIdSchema } from './schemas/GetMappingsQueryParams_productId';
458
+ export { getMappingsQueryParams_optionIdSchema } from './schemas/GetMappingsQueryParams_optionId';
424
459
  export { getBookingsRequestSchema } from './schemas/GetBookingsRequest';
425
460
  export { getBookingRequestSchema } from './schemas/GetBookingRequest';
426
461
  export { fontSchema } from './schemas/Font';
@@ -433,6 +468,8 @@ export { extendReservationRequestSchema } from './schemas/ExtendReservationReque
433
468
  export { extendReservationPathParamsSchema } from './schemas/ExtendReservationPathParams';
434
469
  export { extendReservationErrorResponseSchema } from './schemas/ExtendReservationErrorResponse';
435
470
  export { extendReservationBodySchema } from './schemas/ExtendReservationBody';
471
+ export { extendOrderRequest_idSchema } from './schemas/ExtendOrderRequest_id';
472
+ export { extendOrderBodySchema } from './schemas/ExtendOrderBody';
436
473
  export { durationUnitSchema } from './schemas/DurationUnit';
437
474
  export { diffSchema } from './schemas/Diff';
438
475
  export { destinationContactSchema } from './schemas/DestinationContact';
@@ -449,10 +486,18 @@ export { createWebhookRequestHeaders_octoCapabilitiesSchema } from './schemas/Cr
449
486
  export { createWebhookRequestSchema } from './schemas/CreateWebhookRequest';
450
487
  export { createWebhookBodySchema } from './schemas/CreateWebhookBody';
451
488
  export { createWaitlistRequestSchema } from './schemas/CreateWaitlistRequest';
489
+ export { createOrderRequest_idSchema } from './schemas/CreateOrderRequest_id';
490
+ export { createOrderPricingBodySchema } from './schemas/CreateOrderPricingBody';
491
+ export { createOrderBodySchema } from './schemas/CreateOrderBody';
452
492
  export { contactFieldSchema } from './schemas/ContactField';
493
+ export { confirmOrderRequest_idSchema } from './schemas/ConfirmOrderRequest_id';
494
+ export { confirmOrderPricingBodySchema } from './schemas/ConfirmOrderPricingBody';
495
+ export { confirmOrderBodySchema } from './schemas/ConfirmOrderBody';
453
496
  export { categorySchema } from './schemas/Category';
454
497
  export { capabilityIdSchema } from './schemas/CapabilityId';
455
498
  export { capabilitySchema } from './schemas/Capability';
499
+ export { cancelOrderRequest_idSchema } from './schemas/CancelOrderRequest_id';
500
+ export { cancelOrderBodySchema } from './schemas/CancelOrderBody';
456
501
  export { brandContactSchema } from './schemas/BrandContact';
457
502
  export { brandSchema } from './schemas/Brand';
458
503
  export { bookingUpdateRequest_uuidSchema } from './schemas/BookingUpdateRequest_uuid';
@@ -469,6 +514,7 @@ export { bookingRejectionSchema } from './schemas/BookingRejection';
469
514
  export { bookingQuestionsSchema } from './schemas/BookingQuestions';
470
515
  export { bookingPricingSchema } from './schemas/BookingPricing';
471
516
  export { bookingPickupsSchema } from './schemas/BookingPickups';
517
+ export { bookingPickupBodySchema } from './schemas/BookingPickupBody';
472
518
  export { bookingPackagesSchema } from './schemas/BookingPackages';
473
519
  export { bookingOffersSchema } from './schemas/BookingOffers';
474
520
  export { bookingIdentitiesSchema } from './schemas/BookingIdentities';
@@ -12,11 +12,27 @@ export type BookingConfirmationBody = {
12
12
  /**
13
13
  * An array of unit items in the booking. To retain or modify existing unit items, you must include the unit item with the associated uuid, otherwise that unit item will be removed.
14
14
  */
15
- unitItems: Array<UnitItemIdentifier>;
15
+ unitItems?: Array<UnitItemIdentifier>;
16
16
  /**
17
17
  * Contact details for the main guest who will attend the tour/attraction. Contact Body can be applied to both the booking object (the main reservation) or the unit object (individual ticket holders - if the supplier requires this information).
18
18
  */
19
19
  contact: BookingContact;
20
20
  notes?: string;
21
21
  metadata?: Record<string, string>;
22
+ /**
23
+ * Whether the customer requested pickup.
24
+ */
25
+ pickupRequested?: boolean;
26
+ /**
27
+ * The ID of the chosen pickup point.
28
+ */
29
+ pickupPointId?: string;
30
+ /**
31
+ * The hotel address (optional).
32
+ */
33
+ pickupHotel?: string;
34
+ /**
35
+ * The hotel room number (optional).
36
+ */
37
+ pickupHotelRoom?: string;
22
38
  };
@@ -0,0 +1,18 @@
1
+ export type BookingPickupBody = {
2
+ /**
3
+ * Whether the customer requested pickup.
4
+ */
5
+ pickupRequested?: boolean;
6
+ /**
7
+ * The ID of the chosen pickup point.
8
+ */
9
+ pickupPointId?: string;
10
+ /**
11
+ * The hotel address (optional).
12
+ */
13
+ pickupHotel?: string;
14
+ /**
15
+ * The hotel room number (optional).
16
+ */
17
+ pickupHotelRoom?: string;
18
+ };
@@ -66,4 +66,20 @@ export type BookingReservationBody = {
66
66
  tags?: Array<string>;
67
67
  orderId?: string;
68
68
  metadata?: Record<string, string>;
69
+ /**
70
+ * Whether the customer requested pickup.
71
+ */
72
+ pickupRequested?: boolean;
73
+ /**
74
+ * The ID of the chosen pickup point.
75
+ */
76
+ pickupPointId?: string;
77
+ /**
78
+ * The hotel address (optional).
79
+ */
80
+ pickupHotel?: string;
81
+ /**
82
+ * The hotel room number (optional).
83
+ */
84
+ pickupHotelRoom?: string;
69
85
  };
@@ -61,4 +61,20 @@ export type BookingUpdateBody = {
61
61
  uuid?: string;
62
62
  tags?: Array<string>;
63
63
  metadata?: Record<string, string>;
64
+ /**
65
+ * Whether the customer requested pickup.
66
+ */
67
+ pickupRequested?: boolean;
68
+ /**
69
+ * The ID of the chosen pickup point.
70
+ */
71
+ pickupPointId?: string;
72
+ /**
73
+ * The hotel address (optional).
74
+ */
75
+ pickupHotel?: string;
76
+ /**
77
+ * The hotel room number (optional).
78
+ */
79
+ pickupHotelRoom?: string;
64
80
  };
@@ -0,0 +1,6 @@
1
+ export type CancelOrderBody = {
2
+ /**
3
+ * A text description reason for cancelling
4
+ */
5
+ reason?: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 0effd05e-d61e-47f2-8fc9-512f3144c69d
3
+ */
4
+ export type CancelOrderRequest_id = string;
@@ -0,0 +1,19 @@
1
+ import type { BookingContact } from './BookingContact';
2
+ export type ConfirmOrderBody = {
3
+ /**
4
+ * Optional expiration duration for the order, in minutes.
5
+ */
6
+ expirationMinutes?: number;
7
+ /**
8
+ * Whether to send a receipt to the customer's email.
9
+ */
10
+ emailReceipt?: boolean;
11
+ /**
12
+ * Contact information for the order.
13
+ */
14
+ contact?: BookingContact;
15
+ /**
16
+ * Optional ISO 4217 currency code for the order.
17
+ */
18
+ currency?: string;
19
+ };
@@ -0,0 +1,6 @@
1
+ export type ConfirmOrderPricingBody = {
2
+ /**
3
+ * Optional ISO 4217 currency code for the order.
4
+ */
5
+ currency?: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 0effd05e-d61e-47f2-8fc9-512f3144c69d
3
+ */
4
+ export type ConfirmOrderRequest_id = string;
@@ -0,0 +1,19 @@
1
+ import type { BookingContact } from './BookingContact';
2
+ export type CreateOrderBody = {
3
+ /**
4
+ * Optional expiration duration for the order, in minutes.
5
+ */
6
+ expirationMinutes?: number;
7
+ /**
8
+ * Whether to send a receipt to the customer's email.
9
+ */
10
+ emailReceipt?: boolean;
11
+ /**
12
+ * Contact information for the order.
13
+ */
14
+ contact?: BookingContact;
15
+ /**
16
+ * Optional ISO 4217 currency code for the order.
17
+ */
18
+ currency?: string;
19
+ };
@@ -0,0 +1,6 @@
1
+ export type CreateOrderPricingBody = {
2
+ /**
3
+ * Optional ISO 4217 currency code for the order.
4
+ */
5
+ currency?: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 0effd05e-d61e-47f2-8fc9-512f3144c69d
3
+ */
4
+ export type CreateOrderRequest_id = string;
@@ -0,0 +1,3 @@
1
+ export type ExtendOrderBody = {
2
+ expirationMinutes?: number;
3
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 0effd05e-d61e-47f2-8fc9-512f3144c69d
3
+ */
4
+ export type ExtendOrderRequest_id = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Optional option ID to filter mappings.
3
+ */
4
+ export type GetMappingsQueryParams_optionId = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Optional product ID to filter mappings.
3
+ */
4
+ export type GetMappingsQueryParams_productId = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Optional external reference from the reseller.
3
+ */
4
+ export type GetMappingsQueryParams_resellerReference = string;
@@ -0,0 +1,5 @@
1
+ import type { ResellerStatus } from './ResellerStatus';
2
+ /**
3
+ * Optional status of the mapping on the reseller side.
4
+ */
5
+ export type GetMappingsQueryParams_resellerStatus = ResellerStatus;
@@ -0,0 +1,19 @@
1
+ import type { ResellerStatus } from './ResellerStatus';
2
+ export type GetMappingsRequest = {
3
+ /**
4
+ * Optional product ID to filter mappings.
5
+ */
6
+ productId?: string;
7
+ /**
8
+ * Optional option ID to filter mappings.
9
+ */
10
+ optionId?: string;
11
+ /**
12
+ * Optional external reference from the reseller.
13
+ */
14
+ resellerReference?: string;
15
+ /**
16
+ * Optional status of the mapping on the reseller side.
17
+ */
18
+ resellerStatus?: ResellerStatus;
19
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 0effd05e-d61e-47f2-8fc9-512f3144c69d
3
+ */
4
+ export type GetOrderRequest_id = string;
@@ -0,0 +1,31 @@
1
+ import type { ResellerStatus } from './ResellerStatus';
2
+ export type MappingToUpdate = {
3
+ /**
4
+ * Reference string provided by the reseller.
5
+ */
6
+ resellerReference: string;
7
+ /**
8
+ * Current status of the mapping from the reseller perspective.
9
+ */
10
+ resellerStatus: ResellerStatus;
11
+ /**
12
+ * Display title of the mapping.
13
+ */
14
+ title: string;
15
+ /**
16
+ * Public-facing URL of the mapping.
17
+ */
18
+ url: string;
19
+ /**
20
+ * Optional webhook URL for updates.
21
+ */
22
+ webhookUrl: string | null;
23
+ /**
24
+ * Indicates whether the product option is required.
25
+ */
26
+ optionRequired: boolean;
27
+ /**
28
+ * Indicates whether a unit is required.
29
+ */
30
+ unitRequired: boolean;
31
+ };
@@ -0,0 +1,6 @@
1
+ export type OrderPathParams = {
2
+ /**
3
+ * The order ID
4
+ */
5
+ id: string;
6
+ };
@@ -190,5 +190,5 @@ export type Product = {
190
190
  includeTax?: boolean;
191
191
  isPackage?: boolean;
192
192
  packageBookingAvailabilityRequired?: boolean;
193
- googleOptions?: Array<GoogleOptions>;
193
+ googleOptions?: GoogleOptions;
194
194
  };
@@ -1,4 +1,4 @@
1
1
  import type { GoogleOptions } from './GoogleOptions';
2
2
  export type ProductGoogle = {
3
- googleOptions?: Array<GoogleOptions>;
3
+ googleOptions?: GoogleOptions;
4
4
  };
@@ -0,0 +1,4 @@
1
+ import type { MappingToUpdate } from './MappingToUpdate';
2
+ export type UpdateMappingsRequest = {
3
+ body: Array<MappingToUpdate>;
4
+ };
@@ -0,0 +1,19 @@
1
+ import type { BookingContact } from './BookingContact';
2
+ export type UpdateOrderBody = {
3
+ /**
4
+ * Optional expiration duration for the order, in minutes.
5
+ */
6
+ expirationMinutes?: number;
7
+ /**
8
+ * Whether to send a receipt to the customer's email.
9
+ */
10
+ emailReceipt?: boolean;
11
+ /**
12
+ * Contact information for the order.
13
+ */
14
+ contact?: BookingContact;
15
+ /**
16
+ * Optional ISO 4217 currency code for the order.
17
+ */
18
+ currency?: string;
19
+ };
@@ -0,0 +1,6 @@
1
+ export type UpdateOrderPricingBody = {
2
+ /**
3
+ * Optional ISO 4217 currency code for the order.
4
+ */
5
+ currency?: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 0effd05e-d61e-47f2-8fc9-512f3144c69d
3
+ */
4
+ export type UpdateOrderRequest_id = string;
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const bookingConfirmationBodySchema: z.ZodObject<{
3
3
  emailReceipt: z.ZodOptional<z.ZodBoolean>;
4
4
  resellerReference: z.ZodOptional<z.ZodString>;
5
- unitItems: z.ZodArray<z.ZodObject<{
5
+ unitItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
6
  uuid: z.ZodOptional<z.ZodString>;
7
7
  unitId: z.ZodOptional<z.ZodString>;
8
8
  unitType: z.ZodOptional<z.ZodString>;
@@ -20,7 +20,7 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
20
20
  uuid?: string | undefined;
21
21
  resellerReference?: string | undefined;
22
22
  alias?: string | undefined;
23
- }>, "many">;
23
+ }>, "many">>;
24
24
  contact: z.ZodObject<{
25
25
  fullName: z.ZodOptional<z.ZodString>;
26
26
  firstName: z.ZodOptional<z.ZodString>;
@@ -69,6 +69,10 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
69
69
  }>;
70
70
  notes: z.ZodOptional<z.ZodString>;
71
71
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
72
+ pickupRequested: z.ZodOptional<z.ZodBoolean>;
73
+ pickupPointId: z.ZodOptional<z.ZodString>;
74
+ pickupHotel: z.ZodOptional<z.ZodString>;
75
+ pickupHotelRoom: z.ZodOptional<z.ZodString>;
72
76
  }, "strip", z.ZodTypeAny, {
73
77
  contact: {
74
78
  firstName?: string | undefined;
@@ -86,17 +90,21 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
86
90
  streetAddress?: string | null | undefined;
87
91
  city?: string | null | undefined;
88
92
  };
89
- unitItems: {
93
+ notes?: string | undefined;
94
+ resellerReference?: string | undefined;
95
+ unitItems?: {
90
96
  unitId?: string | undefined;
91
97
  unitType?: string | undefined;
92
98
  uuid?: string | undefined;
93
99
  resellerReference?: string | undefined;
94
100
  alias?: string | undefined;
95
- }[];
96
- notes?: string | undefined;
97
- resellerReference?: string | undefined;
101
+ }[] | undefined;
98
102
  emailReceipt?: boolean | undefined;
103
+ pickupRequested?: boolean | undefined;
104
+ pickupHotel?: string | undefined;
99
105
  metadata?: Record<string, string> | undefined;
106
+ pickupPointId?: string | undefined;
107
+ pickupHotelRoom?: string | undefined;
100
108
  }, {
101
109
  contact: {
102
110
  firstName?: string | undefined;
@@ -114,15 +122,19 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
114
122
  streetAddress?: string | null | undefined;
115
123
  city?: string | null | undefined;
116
124
  };
117
- unitItems: {
125
+ notes?: string | undefined;
126
+ resellerReference?: string | undefined;
127
+ unitItems?: {
118
128
  unitId?: string | undefined;
119
129
  unitType?: string | undefined;
120
130
  uuid?: string | undefined;
121
131
  resellerReference?: string | undefined;
122
132
  alias?: string | undefined;
123
- }[];
124
- notes?: string | undefined;
125
- resellerReference?: string | undefined;
133
+ }[] | undefined;
126
134
  emailReceipt?: boolean | undefined;
135
+ pickupRequested?: boolean | undefined;
136
+ pickupHotel?: string | undefined;
127
137
  metadata?: Record<string, string> | undefined;
138
+ pickupPointId?: string | undefined;
139
+ pickupHotelRoom?: string | undefined;
128
140
  }>;