@ventrata/octo-types 0.0.4 → 0.0.6

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 (40) hide show
  1. package/dist/index.d.ts +10 -3
  2. package/dist/models/Availability.d.ts +1 -1
  3. package/dist/models/AvailabilityCalendar.d.ts +1 -1
  4. package/dist/models/AvailabilityCalendarPricing.d.ts +1 -1
  5. package/dist/models/AvailabilityPricing.d.ts +1 -1
  6. package/dist/models/Capability.d.ts +23 -23
  7. package/dist/models/CapabilityId.d.ts +23 -0
  8. package/dist/models/CreateWebhookBody.d.ts +2 -2
  9. package/dist/models/Destination.d.ts +2 -0
  10. package/dist/models/ListCapabilitiesRequest.d.ts +1 -0
  11. package/dist/models/ListCapabilitiesRequestHeaders.d.ts +1 -0
  12. package/dist/models/Octo_CapabilityId.d.ts +10 -0
  13. package/dist/models/Option.d.ts +3 -2
  14. package/dist/models/Product.d.ts +11 -9
  15. package/dist/models/ProductContent.d.ts +11 -9
  16. package/dist/models/Webhook.d.ts +2 -2
  17. package/dist/schemas/Availability.d.ts +4 -4
  18. package/dist/schemas/AvailabilityCalendar.d.ts +4 -4
  19. package/dist/schemas/AvailabilityCalendarPricing.d.ts +4 -4
  20. package/dist/schemas/AvailabilityPricing.d.ts +4 -4
  21. package/dist/schemas/AvailabilityUpdate.d.ts +459 -29
  22. package/dist/schemas/BookingUpdate.d.ts +453 -23
  23. package/dist/schemas/Capability.d.ts +19 -2
  24. package/dist/schemas/CapabilityId.d.ts +3 -0
  25. package/dist/schemas/CreateWebhookBody.d.ts +3 -3
  26. package/dist/schemas/CreateWebhookRequest.d.ts +5 -5
  27. package/dist/schemas/Destination.d.ts +268 -6
  28. package/dist/schemas/ListCapabilitiesRequest.d.ts +2 -0
  29. package/dist/schemas/ListCapabilitiesRequestHeaders.d.ts +2 -0
  30. package/dist/schemas/Octo_Capability.d.ts +20 -0
  31. package/dist/schemas/Octo_CapabilityId.d.ts +3 -0
  32. package/dist/schemas/PartnersListConnection.d.ts +448 -18
  33. package/dist/schemas/ProductContent.d.ts +440 -88
  34. package/dist/schemas/Supplier.d.ts +358 -12
  35. package/dist/schemas/SupplierContent.d.ts +358 -12
  36. package/dist/schemas/Webhook.d.ts +3 -3
  37. package/dist/schemas/WhoIAm.d.ts +448 -18
  38. package/package.json +1 -1
  39. package/dist/models/CancellationCutoffUnit.d.ts +0 -5
  40. package/dist/schemas/CancellationCutoffUnit.d.ts +0 -3
package/dist/index.d.ts CHANGED
@@ -51,8 +51,8 @@ export type { BookingUpdateBody } from './models/BookingUpdateBody';
51
51
  export type { BookingUpdateRequest } from './models/BookingUpdateRequest';
52
52
  export type { Brand } from './models/Brand';
53
53
  export type { BrandContact } from './models/BrandContact';
54
- export { CancellationCutoffUnit } from './models/CancellationCutoffUnit';
55
- export { Capability } from './models/Capability';
54
+ export type { Capability } from './models/Capability';
55
+ export { CapabilityId } from './models/CapabilityId';
56
56
  export type { Category } from './models/Category';
57
57
  export { ContactField } from './models/ContactField';
58
58
  export type { CreateWaitlistRequest } from './models/CreateWaitlistRequest';
@@ -105,6 +105,8 @@ export type { Include } from './models/Include';
105
105
  export type { ItineraryItem } from './models/ItineraryItem';
106
106
  export { ItineraryItemType } from './models/ItineraryItemType';
107
107
  export type { Label } from './models/Label';
108
+ export type { ListCapabilitiesRequest } from './models/ListCapabilitiesRequest';
109
+ export type { ListCapabilitiesRequestHeaders } from './models/ListCapabilitiesRequestHeaders';
108
110
  export type { ListOrdersRequest } from './models/ListOrdersRequest';
109
111
  export type { ListWebhooksRequest } from './models/ListWebhooksRequest';
110
112
  export type { ListWebhooksRequestHeaders_octoCapabilities } from './models/ListWebhooksRequestHeaders_octoCapabilities';
@@ -122,6 +124,7 @@ export type { Octo_BookingCancellationRequest } from './models/Octo_BookingCance
122
124
  export type { Octo_BookingCancellationRequest_uuid } from './models/Octo_BookingCancellationRequest_uuid';
123
125
  export type { Octo_BookingConfirmationErrorResponse } from './models/Octo_BookingConfirmationErrorResponse';
124
126
  export type { Octo_BookingReservationErrorResponse } from './models/Octo_BookingReservationErrorResponse';
127
+ export { Octo_CapabilityId } from './models/Octo_CapabilityId';
125
128
  export type { Octo_ErrorBadRequest } from './models/Octo_ErrorBadRequest';
126
129
  export type { Octo_ErrorForbidden } from './models/Octo_ErrorForbidden';
127
130
  export type { Octo_ErrorInternalServerError } from './models/Octo_ErrorInternalServerError';
@@ -359,6 +362,8 @@ export { octo_ErrorInvalidAvailabilityIDSchema } from './schemas/Octo_ErrorInval
359
362
  export { octo_ErrorInternalServerErrorSchema } from './schemas/Octo_ErrorInternalServerError';
360
363
  export { octo_ErrorForbiddenSchema } from './schemas/Octo_ErrorForbidden';
361
364
  export { octo_ErrorBadRequestSchema } from './schemas/Octo_ErrorBadRequest';
365
+ export { octo_CapabilityIdSchema } from './schemas/Octo_CapabilityId';
366
+ export { octo_CapabilitySchema } from './schemas/Octo_Capability';
362
367
  export { octo_BookingUnitItemSchema } from './schemas/Octo_BookingUnitItem';
363
368
  export { octo_BookingReservationRequestSchema } from './schemas/Octo_BookingReservationRequest';
364
369
  export { octo_BookingReservationErrorResponseSchema } from './schemas/Octo_BookingReservationErrorResponse';
@@ -389,6 +394,8 @@ export { mappingSchema } from './schemas/Mapping';
389
394
  export { listWebhooksRequestHeaders_octoCapabilitiesSchema } from './schemas/ListWebhooksRequestHeaders_octoCapabilities';
390
395
  export { listWebhooksRequestSchema } from './schemas/ListWebhooksRequest';
391
396
  export { listOrdersRequestSchema } from './schemas/ListOrdersRequest';
397
+ export { listCapabilitiesRequestHeadersSchema } from './schemas/ListCapabilitiesRequestHeaders';
398
+ export { listCapabilitiesRequestSchema } from './schemas/ListCapabilitiesRequest';
392
399
  export { labelSchema } from './schemas/Label';
393
400
  export { itineraryItemTypeSchema } from './schemas/ItineraryItemType';
394
401
  export { itineraryItemSchema } from './schemas/ItineraryItem';
@@ -442,8 +449,8 @@ export { createWebhookBodySchema } from './schemas/CreateWebhookBody';
442
449
  export { createWaitlistRequestSchema } from './schemas/CreateWaitlistRequest';
443
450
  export { contactFieldSchema } from './schemas/ContactField';
444
451
  export { categorySchema } from './schemas/Category';
452
+ export { capabilityIdSchema } from './schemas/CapabilityId';
445
453
  export { capabilitySchema } from './schemas/Capability';
446
- export { cancellationCutoffUnitSchema } from './schemas/CancellationCutoffUnit';
447
454
  export { brandContactSchema } from './schemas/BrandContact';
448
455
  export { brandSchema } from './schemas/Brand';
449
456
  export { bookingUpdateRequestSchema } from './schemas/BookingUpdateRequest';
@@ -86,7 +86,7 @@ export type Availability = {
86
86
  /**
87
87
  * Is on the object when Pricing capability is requested.
88
88
  */
89
- pricing?: Array<Pricing>;
89
+ pricing?: Pricing;
90
90
  /**
91
91
  * Optional code used to apply a specific offer.
92
92
  */
@@ -55,7 +55,7 @@ export type AvailabilityCalendar = {
55
55
  /**
56
56
  * Is on the object when Pricing capability is requested.
57
57
  */
58
- pricingFrom?: Array<Pricing>;
58
+ pricingFrom?: Pricing;
59
59
  /**
60
60
  * Optional code used to apply a specific offer.
61
61
  */
@@ -8,5 +8,5 @@ export type AvailabilityCalendarPricing = {
8
8
  /**
9
9
  * Is on the object when Pricing capability is requested.
10
10
  */
11
- pricingFrom?: Array<Pricing>;
11
+ pricingFrom?: Pricing;
12
12
  };
@@ -8,5 +8,5 @@ export type AvailabilityPricing = {
8
8
  /**
9
9
  * Is on the object when Pricing capability is requested.
10
10
  */
11
- pricing?: Array<Pricing>;
11
+ pricing?: Pricing;
12
12
  };
@@ -1,23 +1,23 @@
1
- export declare enum Capability {
2
- OCTO_CONTENT = "octo/content",
3
- OCTO_PRICING = "octo/pricing",
4
- OCTO_PICKUPS = "octo/pickups",
5
- OCTO_ADJUSTMENTS = "octo/adjustments",
6
- OCTO_OFFERS = "octo/offers",
7
- OCTO_CART = "octo/cart",
8
- OCTO_CARD_PAYMENTS = "octo/cardPayments",
9
- OCTO_CHECKIN = "octo/checkin",
10
- OCTO_WEBHOOKS = "octo/webhooks",
11
- OCTO_MAPPINGS = "octo/mappings",
12
- OCTO_REDEMPTION = "octo/redemption",
13
- OCTO_GOOGLE = "octo/google",
14
- OCTO_QUESTIONS = "octo/questions",
15
- OCTO_RESOURCES = "octo/resources",
16
- OCTO_GIFTS = "octo/gifts",
17
- OCTO_EXTRAS = "octo/extras",
18
- OCTO_PACKAGES = "octo/packages",
19
- OCTO_IDENTITIES = "octo/identities",
20
- VENTRATA_CONTENT = "ventrata/content",
21
- VENTRATA_GETYOURGUIDE = "ventrata/getyourguide",
22
- VENTRATA_PARTNERS = "ventrata/partners"
23
- }
1
+ import type { Octo_CapabilityId } from './Octo_CapabilityId';
2
+ export type Capability = {
3
+ /**
4
+ * Unique identifier of the capability.
5
+ */
6
+ id: Octo_CapabilityId;
7
+ /**
8
+ * Revision number for the capability.
9
+ */
10
+ revision: number;
11
+ /**
12
+ * Whether this capability is required.
13
+ */
14
+ required: boolean;
15
+ /**
16
+ * List of dependent capability IDs.
17
+ */
18
+ dependencies: Array<Octo_CapabilityId>;
19
+ /**
20
+ * Optional documentation or description for this capability.
21
+ */
22
+ docs: string | null;
23
+ };
@@ -0,0 +1,23 @@
1
+ export declare enum CapabilityId {
2
+ OCTO_CONTENT = "octo/content",
3
+ OCTO_PRICING = "octo/pricing",
4
+ OCTO_PICKUPS = "octo/pickups",
5
+ OCTO_ADJUSTMENTS = "octo/adjustments",
6
+ OCTO_OFFERS = "octo/offers",
7
+ OCTO_CART = "octo/cart",
8
+ OCTO_CARD_PAYMENTS = "octo/cardPayments",
9
+ OCTO_CHECKIN = "octo/checkin",
10
+ OCTO_WEBHOOKS = "octo/webhooks",
11
+ OCTO_MAPPINGS = "octo/mappings",
12
+ OCTO_REDEMPTION = "octo/redemption",
13
+ OCTO_GOOGLE = "octo/google",
14
+ OCTO_QUESTIONS = "octo/questions",
15
+ OCTO_RESOURCES = "octo/resources",
16
+ OCTO_GIFTS = "octo/gifts",
17
+ OCTO_EXTRAS = "octo/extras",
18
+ OCTO_PACKAGES = "octo/packages",
19
+ OCTO_IDENTITIES = "octo/identities",
20
+ VENTRATA_CONTENT = "ventrata/content",
21
+ VENTRATA_GETYOURGUIDE = "ventrata/getyourguide",
22
+ VENTRATA_PARTNERS = "ventrata/partners"
23
+ }
@@ -1,4 +1,4 @@
1
- import type { Capability } from './Capability';
1
+ import type { CapabilityId } from './CapabilityId';
2
2
  import type { WebhookEvent } from './WebhookEvent';
3
3
  export type CreateWebhookBody = {
4
4
  /**
@@ -31,5 +31,5 @@ export type CreateWebhookBody = {
31
31
  /**
32
32
  * A list of capabilities that will be activated before triggering the webhook which will affect the data included in the webhook body.
33
33
  */
34
- capabilities?: Array<Capability>;
34
+ capabilities?: Array<CapabilityId>;
35
35
  };
@@ -1,3 +1,4 @@
1
+ import type { Brand } from './Brand';
1
2
  import type { Category } from './Category';
2
3
  import type { DestinationContact } from './DestinationContact';
3
4
  import type { Notice } from './Notice';
@@ -31,6 +32,7 @@ export type Destination = {
31
32
  */
32
33
  country: string | null;
33
34
  contact: DestinationContact;
35
+ brand: Brand;
34
36
  /**
35
37
  * The latitude of the destination.
36
38
  */
@@ -0,0 +1 @@
1
+ export type ListCapabilitiesRequest = Record<string, any>;
@@ -0,0 +1 @@
1
+ export type ListCapabilitiesRequestHeaders = Record<string, any>;
@@ -0,0 +1,10 @@
1
+ export declare enum Octo_CapabilityId {
2
+ OCTO_ADJUSTMENTS = "octo/adjustments",
3
+ OCTO_CART = "octo/cart",
4
+ OCTO_CONTENT = "octo/content",
5
+ OCTO_MAPPINGS = "octo/mappings",
6
+ OCTO_PACKAGES = "octo/packages",
7
+ OCTO_PICKUPS = "octo/pickups",
8
+ OCTO_PRICING = "octo/pricing",
9
+ OCTO_QUESTIONS = "octo/questions"
10
+ }
@@ -1,4 +1,3 @@
1
- import type { CancellationCutoffUnit } from './CancellationCutoffUnit';
2
1
  import type { ContactField } from './ContactField';
3
2
  import type { DurationUnit } from './DurationUnit';
4
3
  import type { Extra } from './Extra';
@@ -33,6 +32,8 @@ export type Option = {
33
32
  * An array containing all possible start times for the option that can be returned during availability. For example a tour with multiple departure times may have multiple:["09:00", "14:00", "17:00"].
34
33
  */
35
34
  availabilityLocalStartTimes: Array<string>;
35
+ availabilityLocalDateStart: string;
36
+ availabilityLocalDateEnd: string | null;
36
37
  /**
37
38
  * A text description of the option's cancellation policy, providing clear guidelines to customers.
38
39
  */
@@ -47,7 +48,7 @@ export type Option = {
47
48
  * minute: Cutoff is measured in minutes.
48
49
  * day: Cutoff is measured in days.
49
50
  */
50
- cancellationCutoffUnit: CancellationCutoffUnit;
51
+ cancellationCutoffUnit: DurationUnit;
51
52
  /**
52
53
  * An array specifying the contact fields required to confirm a booking. These apply to the lead traveler, not individual tickets. Possible values:
53
54
  * firstName: The first name of the traveler.
@@ -100,7 +100,7 @@ export type Product = {
100
100
  /**
101
101
  * Alert message for this product. Only present when ventrata/content capability is requested.
102
102
  */
103
- alert?: string;
103
+ alert?: string | null;
104
104
  /**
105
105
  * Title for this product. Only present when ventrata/content capability is requested.
106
106
  */
@@ -108,11 +108,11 @@ export type Product = {
108
108
  /**
109
109
  * Subtitle for this product. Only present when ventrata/content capability is requested.
110
110
  */
111
- subtitle?: string;
111
+ subtitle?: string | null;
112
112
  /**
113
113
  * Description for this product. Only present when ventrata/content capability is requested.
114
114
  */
115
- description?: string;
115
+ description?: string | null;
116
116
  /**
117
117
  * Short description for this product. Only present when ventrata/content capability is requested.
118
118
  */
@@ -140,26 +140,26 @@ export type Product = {
140
140
  /**
141
141
  * Booking terms for this product. Only present when ventrata/content capability is requested.
142
142
  */
143
- bookingTerms?: string;
143
+ bookingTerms?: string | null;
144
144
  /**
145
145
  * Privacy terms for this product. Only present when ventrata/content capability is requested.
146
146
  */
147
- privacyTerms?: string;
147
+ privacyTerms?: string | null;
148
148
  /**
149
149
  * Redemption instructions for this product. Only present when ventrata/content capability is requested.
150
150
  */
151
- redemptionInstructions?: string;
151
+ redemptionInstructions?: string | null;
152
152
  /**
153
153
  * Cancellation policy for this product. Only present when ventrata/content capability is requested.
154
154
  */
155
- cancellationPolicy?: string;
155
+ cancellationPolicy?: string | null;
156
156
  /**
157
157
  * FAQs for this product. Only present when ventrata/content capability is requested.
158
158
  */
159
159
  faqs?: Array<FAQ>;
160
160
  coverImageUrl?: string;
161
161
  bannerImageUrl?: string;
162
- videoUrl?: string;
162
+ videoUrl?: string | null;
163
163
  /**
164
164
  * Gallery image URLs for this product. Only present when ventrata/content capability is requested.
165
165
  */
@@ -168,7 +168,9 @@ export type Product = {
168
168
  * Banner image URLs for this product. Only present when ventrata/content capability is requested.
169
169
  */
170
170
  bannerImages?: Array<Image>;
171
- googlePlaceId?: string;
171
+ googlePlaceId?: string | null;
172
+ latitude?: number;
173
+ longitude?: number;
172
174
  address?: string;
173
175
  keywords?: Array<string>;
174
176
  tagline?: string;
@@ -19,7 +19,7 @@ export type ProductContent = {
19
19
  /**
20
20
  * Alert message for this product. Only present when ventrata/content capability is requested.
21
21
  */
22
- alert?: string;
22
+ alert?: string | null;
23
23
  /**
24
24
  * Title for this product. Only present when ventrata/content capability is requested.
25
25
  */
@@ -27,11 +27,11 @@ export type ProductContent = {
27
27
  /**
28
28
  * Subtitle for this product. Only present when ventrata/content capability is requested.
29
29
  */
30
- subtitle?: string;
30
+ subtitle?: string | null;
31
31
  /**
32
32
  * Description for this product. Only present when ventrata/content capability is requested.
33
33
  */
34
- description?: string;
34
+ description?: string | null;
35
35
  /**
36
36
  * Short description for this product. Only present when ventrata/content capability is requested.
37
37
  */
@@ -59,26 +59,26 @@ export type ProductContent = {
59
59
  /**
60
60
  * Booking terms for this product. Only present when ventrata/content capability is requested.
61
61
  */
62
- bookingTerms?: string;
62
+ bookingTerms?: string | null;
63
63
  /**
64
64
  * Privacy terms for this product. Only present when ventrata/content capability is requested.
65
65
  */
66
- privacyTerms?: string;
66
+ privacyTerms?: string | null;
67
67
  /**
68
68
  * Redemption instructions for this product. Only present when ventrata/content capability is requested.
69
69
  */
70
- redemptionInstructions?: string;
70
+ redemptionInstructions?: string | null;
71
71
  /**
72
72
  * Cancellation policy for this product. Only present when ventrata/content capability is requested.
73
73
  */
74
- cancellationPolicy?: string;
74
+ cancellationPolicy?: string | null;
75
75
  /**
76
76
  * FAQs for this product. Only present when ventrata/content capability is requested.
77
77
  */
78
78
  faqs?: Array<FAQ>;
79
79
  coverImageUrl?: string;
80
80
  bannerImageUrl?: string;
81
- videoUrl?: string;
81
+ videoUrl?: string | null;
82
82
  /**
83
83
  * Gallery image URLs for this product. Only present when ventrata/content capability is requested.
84
84
  */
@@ -87,7 +87,9 @@ export type ProductContent = {
87
87
  * Banner image URLs for this product. Only present when ventrata/content capability is requested.
88
88
  */
89
89
  bannerImages?: Array<Image>;
90
- googlePlaceId?: string;
90
+ googlePlaceId?: string | null;
91
+ latitude?: number;
92
+ longitude?: number;
91
93
  address?: string;
92
94
  keywords?: Array<string>;
93
95
  tagline?: string;
@@ -1,4 +1,4 @@
1
- import type { Capability } from './Capability';
1
+ import type { CapabilityId } from './CapabilityId';
2
2
  import type { WebhookEvent } from './WebhookEvent';
3
3
  export type Webhook = {
4
4
  /**
@@ -28,5 +28,5 @@ export type Webhook = {
28
28
  /**
29
29
  * List of capability identifiers associated with this webhook.
30
30
  */
31
- capabilities: Array<Capability>;
31
+ capabilities: Array<CapabilityId>;
32
32
  };
@@ -318,7 +318,7 @@ export declare const availabilitySchema: z.ZodObject<{
318
318
  extraId?: string[] | undefined;
319
319
  }[] | undefined;
320
320
  }>, "many">>;
321
- pricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
321
+ pricing: z.ZodOptional<z.ZodObject<{
322
322
  original: z.ZodNumber;
323
323
  retail: z.ZodNumber;
324
324
  net: z.ZodNullable<z.ZodNumber>;
@@ -437,7 +437,7 @@ export declare const availabilitySchema: z.ZodObject<{
437
437
  }[];
438
438
  } | null | undefined;
439
439
  extraId?: string[] | undefined;
440
- }>, "many">>;
440
+ }>>;
441
441
  offerCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
442
442
  offerTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
443
443
  offers: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -690,7 +690,7 @@ export declare const availabilitySchema: z.ZodObject<{
690
690
  }[];
691
691
  } | null | undefined;
692
692
  extraId?: string[] | undefined;
693
- }[] | undefined;
693
+ } | undefined;
694
694
  offerCode?: string | null | undefined;
695
695
  offerTitle?: string | null | undefined;
696
696
  offers?: {
@@ -849,7 +849,7 @@ export declare const availabilitySchema: z.ZodObject<{
849
849
  }[];
850
850
  } | null | undefined;
851
851
  extraId?: string[] | undefined;
852
- }[] | undefined;
852
+ } | undefined;
853
853
  offerCode?: string | null | undefined;
854
854
  offerTitle?: string | null | undefined;
855
855
  offers?: {
@@ -261,7 +261,7 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
261
261
  extraId?: string[] | undefined;
262
262
  }[] | undefined;
263
263
  }>, "many">>;
264
- pricingFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
264
+ pricingFrom: z.ZodOptional<z.ZodObject<{
265
265
  original: z.ZodNumber;
266
266
  retail: z.ZodNumber;
267
267
  net: z.ZodNullable<z.ZodNumber>;
@@ -380,7 +380,7 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
380
380
  }[];
381
381
  } | null | undefined;
382
382
  extraId?: string[] | undefined;
383
- }>, "many">>;
383
+ }>>;
384
384
  offerCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
385
385
  offerTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
386
386
  offers: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -604,7 +604,7 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
604
604
  }[];
605
605
  } | null | undefined;
606
606
  extraId?: string[] | undefined;
607
- }[] | undefined;
607
+ } | undefined;
608
608
  }, {
609
609
  status: import("..").AvailabilityStatus;
610
610
  utcCutoffAt: string;
@@ -722,5 +722,5 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
722
722
  }[];
723
723
  } | null | undefined;
724
724
  extraId?: string[] | undefined;
725
- }[] | undefined;
725
+ } | undefined;
726
726
  }>;
@@ -230,7 +230,7 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
230
230
  extraId?: string[] | undefined;
231
231
  }[] | undefined;
232
232
  }>, "many">>;
233
- pricingFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
233
+ pricingFrom: z.ZodOptional<z.ZodObject<{
234
234
  original: z.ZodNumber;
235
235
  retail: z.ZodNumber;
236
236
  net: z.ZodNullable<z.ZodNumber>;
@@ -349,7 +349,7 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
349
349
  }[];
350
350
  } | null | undefined;
351
351
  extraId?: string[] | undefined;
352
- }>, "many">>;
352
+ }>>;
353
353
  }, "strip", z.ZodTypeAny, {
354
354
  unitPricingFrom?: {
355
355
  retail: number;
@@ -418,7 +418,7 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
418
418
  }[];
419
419
  } | null | undefined;
420
420
  extraId?: string[] | undefined;
421
- }[] | undefined;
421
+ } | undefined;
422
422
  }, {
423
423
  unitPricingFrom?: {
424
424
  retail: number;
@@ -487,5 +487,5 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
487
487
  }[];
488
488
  } | null | undefined;
489
489
  extraId?: string[] | undefined;
490
- }[] | undefined;
490
+ } | undefined;
491
491
  }>;
@@ -230,7 +230,7 @@ export declare const availabilityPricingSchema: z.ZodObject<{
230
230
  extraId?: string[] | undefined;
231
231
  }[] | undefined;
232
232
  }>, "many">>;
233
- pricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
233
+ pricing: z.ZodOptional<z.ZodObject<{
234
234
  original: z.ZodNumber;
235
235
  retail: z.ZodNumber;
236
236
  net: z.ZodNullable<z.ZodNumber>;
@@ -349,7 +349,7 @@ export declare const availabilityPricingSchema: z.ZodObject<{
349
349
  }[];
350
350
  } | null | undefined;
351
351
  extraId?: string[] | undefined;
352
- }>, "many">>;
352
+ }>>;
353
353
  }, "strip", z.ZodTypeAny, {
354
354
  unitPricing?: {
355
355
  retail: number;
@@ -418,7 +418,7 @@ export declare const availabilityPricingSchema: z.ZodObject<{
418
418
  }[];
419
419
  } | null | undefined;
420
420
  extraId?: string[] | undefined;
421
- }[] | undefined;
421
+ } | undefined;
422
422
  }, {
423
423
  unitPricing?: {
424
424
  retail: number;
@@ -487,5 +487,5 @@ export declare const availabilityPricingSchema: z.ZodObject<{
487
487
  }[];
488
488
  } | null | undefined;
489
489
  extraId?: string[] | undefined;
490
- }[] | undefined;
490
+ } | undefined;
491
491
  }>;