@ventrata/octo-types 0.0.2 → 0.0.3

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 (70) hide show
  1. package/dist/index.d.ts +22 -2
  2. package/dist/models/{Octo_AvailabilityCalendar.d.ts → AvailabilityCalendar.d.ts} +37 -7
  3. package/dist/models/AvailabilityCalendarOffers.d.ts +19 -0
  4. package/dist/models/AvailabilityCalendarPricing.d.ts +12 -0
  5. package/dist/models/AvailabilityUpdate.d.ts +25 -0
  6. package/dist/models/BookingUpdate.d.ts +19 -0
  7. package/dist/models/CreateWebhookBody.d.ts +35 -0
  8. package/dist/models/CreateWebhookRequest.d.ts +4 -0
  9. package/dist/models/CreateWebhookRequestHeaders_octoCapabilities.d.ts +4 -0
  10. package/dist/models/Diff.d.ts +18 -0
  11. package/dist/models/ListWebhooksRequest.d.ts +1 -0
  12. package/dist/models/ListWebhooksRequestHeaders_octoCapabilities.d.ts +4 -0
  13. package/dist/models/OptionRestrictions.d.ts +1 -1
  14. package/dist/models/PricingUnit.d.ts +2 -0
  15. package/dist/models/Webhook.d.ts +1 -1
  16. package/dist/schemas/Availability.d.ts +5 -0
  17. package/dist/schemas/AvailabilityCalendar.d.ts +726 -0
  18. package/dist/schemas/AvailabilityCalendarOffers.d.ts +171 -0
  19. package/dist/schemas/AvailabilityCalendarPricing.d.ts +491 -0
  20. package/dist/schemas/AvailabilityPricing.d.ts +5 -0
  21. package/dist/schemas/AvailabilityUpdate.d.ts +1768 -0
  22. package/dist/schemas/BookingConfirmationBody.d.ts +4 -4
  23. package/dist/schemas/BookingConfirmationRequest.d.ts +6 -6
  24. package/dist/schemas/BookingExtras.d.ts +8 -8
  25. package/dist/schemas/BookingOffers.d.ts +10 -10
  26. package/dist/schemas/BookingReservationBody.d.ts +4 -4
  27. package/dist/schemas/BookingReservationRequest.d.ts +6 -6
  28. package/dist/schemas/BookingUpdate.d.ts +575 -0
  29. package/dist/schemas/BookingUpdateBody.d.ts +4 -4
  30. package/dist/schemas/BookingUpdateRequest.d.ts +6 -6
  31. package/dist/schemas/Brand.d.ts +4 -4
  32. package/dist/schemas/BrandContact.d.ts +2 -2
  33. package/dist/schemas/CreateWaitlistRequest.d.ts +2 -2
  34. package/dist/schemas/CreateWebhookBody.d.ts +23 -0
  35. package/dist/schemas/CreateWebhookRequest.d.ts +43 -0
  36. package/dist/schemas/CreateWebhookRequestHeaders_octoCapabilities.d.ts +2 -0
  37. package/dist/schemas/Destination.d.ts +4 -4
  38. package/dist/schemas/DestinationContact.d.ts +2 -2
  39. package/dist/schemas/Diff.d.ts +17 -0
  40. package/dist/schemas/Extra.d.ts +4 -4
  41. package/dist/schemas/ExtraItem.d.ts +6 -6
  42. package/dist/schemas/ExtraRestrictions.d.ts +2 -2
  43. package/dist/schemas/GetBookingsRequest.d.ts +2 -2
  44. package/dist/schemas/Gift.d.ts +2 -2
  45. package/dist/schemas/ListWebhooksRequest.d.ts +2 -0
  46. package/dist/schemas/ListWebhooksRequestHeaders_octoCapabilities.d.ts +2 -0
  47. package/dist/schemas/Octo_AvailabilityCalendar.d.ts +12 -12
  48. package/dist/schemas/Octo_GetBookingsRequest.d.ts +2 -2
  49. package/dist/schemas/Octo_Media.d.ts +2 -2
  50. package/dist/schemas/OfferCombination.d.ts +8 -8
  51. package/dist/schemas/OfferComparison.d.ts +8 -8
  52. package/dist/schemas/OptionExtras.d.ts +6 -6
  53. package/dist/schemas/OptionRestrictions.d.ts +3 -3
  54. package/dist/schemas/Order.d.ts +10 -10
  55. package/dist/schemas/OrderOffers.d.ts +10 -10
  56. package/dist/schemas/PartnersListConnection.d.ts +20 -20
  57. package/dist/schemas/PricingUnit.d.ts +3 -0
  58. package/dist/schemas/ProductContent.d.ts +14 -14
  59. package/dist/schemas/Supplier.d.ts +14 -14
  60. package/dist/schemas/SupplierContact.d.ts +2 -2
  61. package/dist/schemas/SupplierContent.d.ts +6 -6
  62. package/dist/schemas/Unit.d.ts +6 -6
  63. package/dist/schemas/UnitExtras.d.ts +6 -6
  64. package/dist/schemas/UnitItem.d.ts +14 -14
  65. package/dist/schemas/UnitItemIdentifier.d.ts +2 -2
  66. package/dist/schemas/Waitlist.d.ts +2 -2
  67. package/dist/schemas/Webhook.d.ts +3 -3
  68. package/dist/schemas/WhoIAm.d.ts +32 -32
  69. package/package.json +2 -2
  70. package/dist/models/Octo_OpeningHours.d.ts +0 -13
@@ -10,16 +10,16 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
10
10
  alias: z.ZodOptional<z.ZodString>;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  unitId?: string | undefined;
13
+ unitType?: string | undefined;
13
14
  uuid?: string | undefined;
14
15
  resellerReference?: string | undefined;
15
16
  alias?: string | undefined;
16
- unitType?: string | undefined;
17
17
  }, {
18
18
  unitId?: string | undefined;
19
+ unitType?: string | undefined;
19
20
  uuid?: string | undefined;
20
21
  resellerReference?: string | undefined;
21
22
  alias?: string | undefined;
22
- unitType?: string | undefined;
23
23
  }>, "many">;
24
24
  contact: z.ZodObject<{
25
25
  fullName: z.ZodOptional<z.ZodString>;
@@ -86,10 +86,10 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
86
86
  };
87
87
  unitItems: {
88
88
  unitId?: string | undefined;
89
+ unitType?: string | undefined;
89
90
  uuid?: string | undefined;
90
91
  resellerReference?: string | undefined;
91
92
  alias?: string | undefined;
92
- unitType?: string | undefined;
93
93
  }[];
94
94
  resellerReference?: string | undefined;
95
95
  emailReceipt?: boolean | undefined;
@@ -112,10 +112,10 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
112
112
  };
113
113
  unitItems: {
114
114
  unitId?: string | undefined;
115
+ unitType?: string | undefined;
115
116
  uuid?: string | undefined;
116
117
  resellerReference?: string | undefined;
117
118
  alias?: string | undefined;
118
- unitType?: string | undefined;
119
119
  }[];
120
120
  resellerReference?: string | undefined;
121
121
  emailReceipt?: boolean | undefined;
@@ -136,16 +136,16 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
136
136
  alias: z.ZodOptional<z.ZodString>;
137
137
  }, "strip", z.ZodTypeAny, {
138
138
  unitId?: string | undefined;
139
+ unitType?: string | undefined;
139
140
  uuid?: string | undefined;
140
141
  resellerReference?: string | undefined;
141
142
  alias?: string | undefined;
142
- unitType?: string | undefined;
143
143
  }, {
144
144
  unitId?: string | undefined;
145
+ unitType?: string | undefined;
145
146
  uuid?: string | undefined;
146
147
  resellerReference?: string | undefined;
147
148
  alias?: string | undefined;
148
- unitType?: string | undefined;
149
149
  }>, "many">;
150
150
  contact: z.ZodObject<{
151
151
  fullName: z.ZodOptional<z.ZodString>;
@@ -212,10 +212,10 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
212
212
  };
213
213
  unitItems: {
214
214
  unitId?: string | undefined;
215
+ unitType?: string | undefined;
215
216
  uuid?: string | undefined;
216
217
  resellerReference?: string | undefined;
217
218
  alias?: string | undefined;
218
- unitType?: string | undefined;
219
219
  }[];
220
220
  resellerReference?: string | undefined;
221
221
  emailReceipt?: boolean | undefined;
@@ -238,10 +238,10 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
238
238
  };
239
239
  unitItems: {
240
240
  unitId?: string | undefined;
241
+ unitType?: string | undefined;
241
242
  uuid?: string | undefined;
242
243
  resellerReference?: string | undefined;
243
244
  alias?: string | undefined;
244
- unitType?: string | undefined;
245
245
  }[];
246
246
  resellerReference?: string | undefined;
247
247
  emailReceipt?: boolean | undefined;
@@ -266,10 +266,10 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
266
266
  };
267
267
  unitItems: {
268
268
  unitId?: string | undefined;
269
+ unitType?: string | undefined;
269
270
  uuid?: string | undefined;
270
271
  resellerReference?: string | undefined;
271
272
  alias?: string | undefined;
272
- unitType?: string | undefined;
273
273
  }[];
274
274
  resellerReference?: string | undefined;
275
275
  emailReceipt?: boolean | undefined;
@@ -294,10 +294,10 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
294
294
  };
295
295
  unitItems: {
296
296
  unitId?: string | undefined;
297
+ unitType?: string | undefined;
297
298
  uuid?: string | undefined;
298
299
  resellerReference?: string | undefined;
299
300
  alias?: string | undefined;
300
- unitType?: string | undefined;
301
301
  }[];
302
302
  resellerReference?: string | undefined;
303
303
  emailReceipt?: boolean | undefined;
@@ -15,15 +15,15 @@ export declare const bookingExtrasSchema: z.ZodObject<{
15
15
  minQuantity: z.ZodNumber;
16
16
  maxQuantity: z.ZodNullable<z.ZodNumber>;
17
17
  }, "strip", z.ZodTypeAny, {
18
+ default: boolean;
18
19
  minQuantity: number;
19
20
  maxQuantity: number | null;
20
21
  required: boolean;
21
- default: boolean;
22
22
  }, {
23
+ default: boolean;
23
24
  minQuantity: number;
24
25
  maxQuantity: number | null;
25
26
  required: boolean;
26
- default: boolean;
27
27
  }>;
28
28
  pricingFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
29
29
  original: z.ZodNumber;
@@ -273,10 +273,10 @@ export declare const bookingExtrasSchema: z.ZodObject<{
273
273
  title: string | null;
274
274
  description: string | null;
275
275
  restrictions: {
276
+ default: boolean;
276
277
  minQuantity: number;
277
278
  maxQuantity: number | null;
278
279
  required: boolean;
279
- default: boolean;
280
280
  };
281
281
  internalName: string | null;
282
282
  pricing?: {
@@ -338,10 +338,10 @@ export declare const bookingExtrasSchema: z.ZodObject<{
338
338
  title: string | null;
339
339
  description: string | null;
340
340
  restrictions: {
341
+ default: boolean;
341
342
  minQuantity: number;
342
343
  maxQuantity: number | null;
343
344
  required: boolean;
344
- default: boolean;
345
345
  };
346
346
  internalName: string | null;
347
347
  pricing?: {
@@ -553,10 +553,10 @@ export declare const bookingExtrasSchema: z.ZodObject<{
553
553
  title: string | null;
554
554
  description: string | null;
555
555
  restrictions: {
556
+ default: boolean;
556
557
  minQuantity: number;
557
558
  maxQuantity: number | null;
558
559
  required: boolean;
559
- default: boolean;
560
560
  };
561
561
  internalName: string | null;
562
562
  pricing?: {
@@ -648,10 +648,10 @@ export declare const bookingExtrasSchema: z.ZodObject<{
648
648
  title: string | null;
649
649
  description: string | null;
650
650
  restrictions: {
651
+ default: boolean;
651
652
  minQuantity: number;
652
653
  maxQuantity: number | null;
653
654
  required: boolean;
654
- default: boolean;
655
655
  };
656
656
  internalName: string | null;
657
657
  pricing?: {
@@ -745,10 +745,10 @@ export declare const bookingExtrasSchema: z.ZodObject<{
745
745
  title: string | null;
746
746
  description: string | null;
747
747
  restrictions: {
748
+ default: boolean;
748
749
  minQuantity: number;
749
750
  maxQuantity: number | null;
750
751
  required: boolean;
751
- default: boolean;
752
752
  };
753
753
  internalName: string | null;
754
754
  pricing?: {
@@ -842,10 +842,10 @@ export declare const bookingExtrasSchema: z.ZodObject<{
842
842
  title: string | null;
843
843
  description: string | null;
844
844
  restrictions: {
845
+ default: boolean;
845
846
  minQuantity: number;
846
847
  maxQuantity: number | null;
847
848
  required: boolean;
848
- default: boolean;
849
849
  };
850
850
  internalName: string | null;
851
851
  pricing?: {
@@ -494,15 +494,15 @@ export declare const bookingOffersSchema: z.ZodObject<{
494
494
  minQuantity: z.ZodNumber;
495
495
  maxQuantity: z.ZodNullable<z.ZodNumber>;
496
496
  }, "strip", z.ZodTypeAny, {
497
+ default: boolean;
497
498
  minQuantity: number;
498
499
  maxQuantity: number | null;
499
500
  required: boolean;
500
- default: boolean;
501
501
  }, {
502
+ default: boolean;
502
503
  minQuantity: number;
503
504
  maxQuantity: number | null;
504
505
  required: boolean;
505
- default: boolean;
506
506
  }>;
507
507
  pricingFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
508
508
  original: z.ZodNumber;
@@ -752,10 +752,10 @@ export declare const bookingOffersSchema: z.ZodObject<{
752
752
  title: string | null;
753
753
  description: string | null;
754
754
  restrictions: {
755
+ default: boolean;
755
756
  minQuantity: number;
756
757
  maxQuantity: number | null;
757
758
  required: boolean;
758
- default: boolean;
759
759
  };
760
760
  internalName: string | null;
761
761
  pricing?: {
@@ -817,10 +817,10 @@ export declare const bookingOffersSchema: z.ZodObject<{
817
817
  title: string | null;
818
818
  description: string | null;
819
819
  restrictions: {
820
+ default: boolean;
820
821
  minQuantity: number;
821
822
  maxQuantity: number | null;
822
823
  required: boolean;
823
- default: boolean;
824
824
  };
825
825
  internalName: string | null;
826
826
  pricing?: {
@@ -980,10 +980,10 @@ export declare const bookingOffersSchema: z.ZodObject<{
980
980
  title: string | null;
981
981
  description: string | null;
982
982
  restrictions: {
983
+ default: boolean;
983
984
  minQuantity: number;
984
985
  maxQuantity: number | null;
985
986
  required: boolean;
986
- default: boolean;
987
987
  };
988
988
  internalName: string | null;
989
989
  pricing?: {
@@ -1143,10 +1143,10 @@ export declare const bookingOffersSchema: z.ZodObject<{
1143
1143
  title: string | null;
1144
1144
  description: string | null;
1145
1145
  restrictions: {
1146
+ default: boolean;
1146
1147
  minQuantity: number;
1147
1148
  maxQuantity: number | null;
1148
1149
  required: boolean;
1149
- default: boolean;
1150
1150
  };
1151
1151
  internalName: string | null;
1152
1152
  pricing?: {
@@ -1336,10 +1336,10 @@ export declare const bookingOffersSchema: z.ZodObject<{
1336
1336
  title: string | null;
1337
1337
  description: string | null;
1338
1338
  restrictions: {
1339
+ default: boolean;
1339
1340
  minQuantity: number;
1340
1341
  maxQuantity: number | null;
1341
1342
  required: boolean;
1342
- default: boolean;
1343
1343
  };
1344
1344
  internalName: string | null;
1345
1345
  pricing?: {
@@ -1531,10 +1531,10 @@ export declare const bookingOffersSchema: z.ZodObject<{
1531
1531
  title: string | null;
1532
1532
  description: string | null;
1533
1533
  restrictions: {
1534
+ default: boolean;
1534
1535
  minQuantity: number;
1535
1536
  maxQuantity: number | null;
1536
1537
  required: boolean;
1537
- default: boolean;
1538
1538
  };
1539
1539
  internalName: string | null;
1540
1540
  pricing?: {
@@ -1863,10 +1863,10 @@ export declare const bookingOffersSchema: z.ZodObject<{
1863
1863
  title: string | null;
1864
1864
  description: string | null;
1865
1865
  restrictions: {
1866
+ default: boolean;
1866
1867
  minQuantity: number;
1867
1868
  maxQuantity: number | null;
1868
1869
  required: boolean;
1869
- default: boolean;
1870
1870
  };
1871
1871
  internalName: string | null;
1872
1872
  pricing?: {
@@ -2091,10 +2091,10 @@ export declare const bookingOffersSchema: z.ZodObject<{
2091
2091
  title: string | null;
2092
2092
  description: string | null;
2093
2093
  restrictions: {
2094
+ default: boolean;
2094
2095
  minQuantity: number;
2095
2096
  maxQuantity: number | null;
2096
2097
  required: boolean;
2097
- default: boolean;
2098
2098
  };
2099
2099
  internalName: string | null;
2100
2100
  pricing?: {
@@ -15,16 +15,16 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
15
15
  alias: z.ZodOptional<z.ZodString>;
16
16
  }, "strip", z.ZodTypeAny, {
17
17
  unitId?: string | undefined;
18
+ unitType?: string | undefined;
18
19
  uuid?: string | undefined;
19
20
  resellerReference?: string | undefined;
20
21
  alias?: string | undefined;
21
- unitType?: string | undefined;
22
22
  }, {
23
23
  unitId?: string | undefined;
24
+ unitType?: string | undefined;
24
25
  uuid?: string | undefined;
25
26
  resellerReference?: string | undefined;
26
27
  alias?: string | undefined;
27
- unitType?: string | undefined;
28
28
  }>, "many">;
29
29
  contact: z.ZodOptional<z.ZodObject<{
30
30
  fullName: z.ZodOptional<z.ZodString>;
@@ -86,10 +86,10 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
86
86
  optionId: string;
87
87
  unitItems: {
88
88
  unitId?: string | undefined;
89
+ unitType?: string | undefined;
89
90
  uuid?: string | undefined;
90
91
  resellerReference?: string | undefined;
91
92
  alias?: string | undefined;
92
- unitType?: string | undefined;
93
93
  }[];
94
94
  notes?: string | undefined;
95
95
  tags?: string[] | undefined;
@@ -126,10 +126,10 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
126
126
  optionId: string;
127
127
  unitItems: {
128
128
  unitId?: string | undefined;
129
+ unitType?: string | undefined;
129
130
  uuid?: string | undefined;
130
131
  resellerReference?: string | undefined;
131
132
  alias?: string | undefined;
132
- unitType?: string | undefined;
133
133
  }[];
134
134
  notes?: string | undefined;
135
135
  tags?: string[] | undefined;
@@ -16,16 +16,16 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
16
16
  alias: z.ZodOptional<z.ZodString>;
17
17
  }, "strip", z.ZodTypeAny, {
18
18
  unitId?: string | undefined;
19
+ unitType?: string | undefined;
19
20
  uuid?: string | undefined;
20
21
  resellerReference?: string | undefined;
21
22
  alias?: string | undefined;
22
- unitType?: string | undefined;
23
23
  }, {
24
24
  unitId?: string | undefined;
25
+ unitType?: string | undefined;
25
26
  uuid?: string | undefined;
26
27
  resellerReference?: string | undefined;
27
28
  alias?: string | undefined;
28
- unitType?: string | undefined;
29
29
  }>, "many">;
30
30
  contact: z.ZodOptional<z.ZodObject<{
31
31
  fullName: z.ZodOptional<z.ZodString>;
@@ -87,10 +87,10 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
87
87
  optionId: string;
88
88
  unitItems: {
89
89
  unitId?: string | undefined;
90
+ unitType?: string | undefined;
90
91
  uuid?: string | undefined;
91
92
  resellerReference?: string | undefined;
92
93
  alias?: string | undefined;
93
- unitType?: string | undefined;
94
94
  }[];
95
95
  notes?: string | undefined;
96
96
  tags?: string[] | undefined;
@@ -127,10 +127,10 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
127
127
  optionId: string;
128
128
  unitItems: {
129
129
  unitId?: string | undefined;
130
+ unitType?: string | undefined;
130
131
  uuid?: string | undefined;
131
132
  resellerReference?: string | undefined;
132
133
  alias?: string | undefined;
133
- unitType?: string | undefined;
134
134
  }[];
135
135
  notes?: string | undefined;
136
136
  tags?: string[] | undefined;
@@ -169,10 +169,10 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
169
169
  optionId: string;
170
170
  unitItems: {
171
171
  unitId?: string | undefined;
172
+ unitType?: string | undefined;
172
173
  uuid?: string | undefined;
173
174
  resellerReference?: string | undefined;
174
175
  alias?: string | undefined;
175
- unitType?: string | undefined;
176
176
  }[];
177
177
  notes?: string | undefined;
178
178
  tags?: string[] | undefined;
@@ -211,10 +211,10 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
211
211
  optionId: string;
212
212
  unitItems: {
213
213
  unitId?: string | undefined;
214
+ unitType?: string | undefined;
214
215
  uuid?: string | undefined;
215
216
  resellerReference?: string | undefined;
216
217
  alias?: string | undefined;
217
- unitType?: string | undefined;
218
218
  }[];
219
219
  notes?: string | undefined;
220
220
  tags?: string[] | undefined;