@ventrata/octo-types 0.0.5 → 0.0.7

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 (56) hide show
  1. package/dist/index.d.ts +24 -8
  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/BookingCancellationPathParams.d.ts +6 -0
  7. package/dist/models/BookingCancellationRequest_uuid.d.ts +4 -0
  8. package/dist/models/BookingConfirmationPathParams.d.ts +6 -0
  9. package/dist/models/BookingConfirmationRequest_uuid.d.ts +1 -1
  10. package/dist/models/BookingUpdatePathParams.d.ts +6 -0
  11. package/dist/models/BookingUpdateRequest_uuid.d.ts +4 -0
  12. package/dist/models/Capability.d.ts +24 -23
  13. package/dist/models/CapabilityId.d.ts +23 -0
  14. package/dist/models/CreateWebhookBody.d.ts +2 -2
  15. package/dist/models/DeleteWebhookPathParams.d.ts +1 -1
  16. package/dist/models/DeleteWebhookRequest_id.d.ts +1 -1
  17. package/dist/models/ExtendReservationPathParams.d.ts +6 -0
  18. package/dist/models/ExtendReservationRequest_uuid.d.ts +4 -0
  19. package/dist/models/ListCapabilitiesRequest.d.ts +1 -0
  20. package/dist/models/ListCapabilitiesRequestHeaders.d.ts +1 -0
  21. package/dist/models/Octo_CapabilityId.d.ts +10 -0
  22. package/dist/models/Option.d.ts +2 -0
  23. package/dist/models/Product.d.ts +2 -0
  24. package/dist/models/ProductContent.d.ts +2 -0
  25. package/dist/models/Webhook.d.ts +2 -2
  26. package/dist/schemas/Availability.d.ts +4 -4
  27. package/dist/schemas/AvailabilityCalendar.d.ts +4 -4
  28. package/dist/schemas/AvailabilityCalendarPricing.d.ts +4 -4
  29. package/dist/schemas/AvailabilityPricing.d.ts +4 -4
  30. package/dist/schemas/AvailabilityUpdate.d.ts +11 -11
  31. package/dist/schemas/BookingCancellationPathParams.d.ts +8 -0
  32. package/dist/schemas/BookingCancellationRequest_uuid.d.ts +2 -0
  33. package/dist/schemas/BookingConfirmationPathParams.d.ts +8 -0
  34. package/dist/schemas/BookingUpdate.d.ts +5 -5
  35. package/dist/schemas/BookingUpdatePathParams.d.ts +8 -0
  36. package/dist/schemas/BookingUpdateRequest_uuid.d.ts +2 -0
  37. package/dist/schemas/Capability.d.ts +19 -2
  38. package/dist/schemas/CapabilityId.d.ts +3 -0
  39. package/dist/schemas/CreateWebhookBody.d.ts +3 -3
  40. package/dist/schemas/CreateWebhookRequest.d.ts +5 -5
  41. package/dist/schemas/ExtendReservationPathParams.d.ts +8 -0
  42. package/dist/schemas/ExtendReservationRequest_uuid.d.ts +2 -0
  43. package/dist/schemas/ListCapabilitiesRequest.d.ts +2 -0
  44. package/dist/schemas/ListCapabilitiesRequestHeaders.d.ts +2 -0
  45. package/dist/schemas/Octo_Capability.d.ts +20 -0
  46. package/dist/schemas/Octo_CapabilityId.d.ts +3 -0
  47. package/dist/schemas/ProductContent.d.ts +6 -0
  48. package/dist/schemas/Webhook.d.ts +3 -3
  49. package/package.json +1 -1
  50. package/dist/models/BookingCancellationRequest.d.ts +0 -5
  51. package/dist/models/BookingUpdateRequest.d.ts +0 -4
  52. package/dist/models/ExtendReservationRequest.d.ts +0 -5
  53. package/dist/models/Octo_BookingCancellationRequest.d.ts +0 -8
  54. package/dist/models/Octo_BookingCancellationRequest_uuid.d.ts +0 -4
  55. package/dist/models/Octo_ExtendReservationRequest.d.ts +0 -8
  56. package/dist/models/Octo_ExtendReservationRequest_uuid.d.ts +0 -4
package/dist/index.d.ts CHANGED
@@ -25,10 +25,12 @@ export type { BookingAdjustments } from './models/BookingAdjustments';
25
25
  export type { BookingCancellation } from './models/BookingCancellation';
26
26
  export type { BookingCancellationBody } from './models/BookingCancellationBody';
27
27
  export type { BookingCancellationErrorResponse } from './models/BookingCancellationErrorResponse';
28
- export type { BookingCancellationRequest } from './models/BookingCancellationRequest';
28
+ export type { BookingCancellationPathParams } from './models/BookingCancellationPathParams';
29
+ export type { BookingCancellationRequest_uuid } from './models/BookingCancellationRequest_uuid';
29
30
  export type { BookingCart } from './models/BookingCart';
30
31
  export type { BookingConfirmationBody } from './models/BookingConfirmationBody';
31
32
  export type { BookingConfirmationErrorResponse } from './models/BookingConfirmationErrorResponse';
33
+ export type { BookingConfirmationPathParams } from './models/BookingConfirmationPathParams';
32
34
  export type { BookingConfirmationRequest_uuid } from './models/BookingConfirmationRequest_uuid';
33
35
  export type { BookingContact } from './models/BookingContact';
34
36
  export type { BookingContent } from './models/BookingContent';
@@ -48,10 +50,12 @@ export type { BookingResources } from './models/BookingResources';
48
50
  export { BookingStatus } from './models/BookingStatus';
49
51
  export type { BookingUpdate } from './models/BookingUpdate';
50
52
  export type { BookingUpdateBody } from './models/BookingUpdateBody';
51
- export type { BookingUpdateRequest } from './models/BookingUpdateRequest';
53
+ export type { BookingUpdatePathParams } from './models/BookingUpdatePathParams';
54
+ export type { BookingUpdateRequest_uuid } from './models/BookingUpdateRequest_uuid';
52
55
  export type { Brand } from './models/Brand';
53
56
  export type { BrandContact } from './models/BrandContact';
54
- export { Capability } from './models/Capability';
57
+ export type { Capability } from './models/Capability';
58
+ export { CapabilityId } from './models/CapabilityId';
55
59
  export type { Category } from './models/Category';
56
60
  export { ContactField } from './models/ContactField';
57
61
  export type { CreateWaitlistRequest } from './models/CreateWaitlistRequest';
@@ -72,7 +76,8 @@ export type { Diff } from './models/Diff';
72
76
  export { DurationUnit } from './models/DurationUnit';
73
77
  export type { ExtendReservationBody } from './models/ExtendReservationBody';
74
78
  export type { ExtendReservationErrorResponse } from './models/ExtendReservationErrorResponse';
75
- export type { ExtendReservationRequest } from './models/ExtendReservationRequest';
79
+ export type { ExtendReservationPathParams } from './models/ExtendReservationPathParams';
80
+ export type { ExtendReservationRequest_uuid } from './models/ExtendReservationRequest_uuid';
76
81
  export type { Extra } from './models/Extra';
77
82
  export type { ExtraItem } from './models/ExtraItem';
78
83
  export type { ExtraRestrictions } from './models/ExtraRestrictions';
@@ -104,6 +109,8 @@ export type { Include } from './models/Include';
104
109
  export type { ItineraryItem } from './models/ItineraryItem';
105
110
  export { ItineraryItemType } from './models/ItineraryItemType';
106
111
  export type { Label } from './models/Label';
112
+ export type { ListCapabilitiesRequest } from './models/ListCapabilitiesRequest';
113
+ export type { ListCapabilitiesRequestHeaders } from './models/ListCapabilitiesRequestHeaders';
107
114
  export type { ListOrdersRequest } from './models/ListOrdersRequest';
108
115
  export type { ListWebhooksRequest } from './models/ListWebhooksRequest';
109
116
  export type { ListWebhooksRequestHeaders_octoCapabilities } from './models/ListWebhooksRequestHeaders_octoCapabilities';
@@ -117,10 +124,9 @@ export type { Octo_AvailabilityCheckErrorResponse } from './models/Octo_Availabi
117
124
  export type { Octo_BaseError } from './models/Octo_BaseError';
118
125
  export type { Octo_BookingCancellationBody } from './models/Octo_BookingCancellationBody';
119
126
  export type { Octo_BookingCancellationErrorResponse } from './models/Octo_BookingCancellationErrorResponse';
120
- export type { Octo_BookingCancellationRequest } from './models/Octo_BookingCancellationRequest';
121
- export type { Octo_BookingCancellationRequest_uuid } from './models/Octo_BookingCancellationRequest_uuid';
122
127
  export type { Octo_BookingConfirmationErrorResponse } from './models/Octo_BookingConfirmationErrorResponse';
123
128
  export type { Octo_BookingReservationErrorResponse } from './models/Octo_BookingReservationErrorResponse';
129
+ export { Octo_CapabilityId } from './models/Octo_CapabilityId';
124
130
  export type { Octo_ErrorBadRequest } from './models/Octo_ErrorBadRequest';
125
131
  export type { Octo_ErrorForbidden } from './models/Octo_ErrorForbidden';
126
132
  export type { Octo_ErrorInternalServerError } from './models/Octo_ErrorInternalServerError';
@@ -133,8 +139,6 @@ export type { Octo_ErrorUnauthorized } from './models/Octo_ErrorUnauthorized';
133
139
  export type { Octo_ErrorUnprocessableEntity } from './models/Octo_ErrorUnprocessableEntity';
134
140
  export type { Octo_ExtendReservationBody } from './models/Octo_ExtendReservationBody';
135
141
  export type { Octo_ExtendReservationErrorResponse } from './models/Octo_ExtendReservationErrorResponse';
136
- export type { Octo_ExtendReservationRequest } from './models/Octo_ExtendReservationRequest';
137
- export type { Octo_ExtendReservationRequest_uuid } from './models/Octo_ExtendReservationRequest_uuid';
138
142
  export type { Octo_GetBookingRequest } from './models/Octo_GetBookingRequest';
139
143
  export type { Octo_GetBookingRequest_uuid } from './models/Octo_GetBookingRequest_uuid';
140
144
  export type { Octo_GetBookingsRequest } from './models/Octo_GetBookingsRequest';
@@ -358,6 +362,8 @@ export { octo_ErrorInvalidAvailabilityIDSchema } from './schemas/Octo_ErrorInval
358
362
  export { octo_ErrorInternalServerErrorSchema } from './schemas/Octo_ErrorInternalServerError';
359
363
  export { octo_ErrorForbiddenSchema } from './schemas/Octo_ErrorForbidden';
360
364
  export { octo_ErrorBadRequestSchema } from './schemas/Octo_ErrorBadRequest';
365
+ export { octo_CapabilityIdSchema } from './schemas/Octo_CapabilityId';
366
+ export { octo_CapabilitySchema } from './schemas/Octo_Capability';
361
367
  export { octo_BookingUnitItemSchema } from './schemas/Octo_BookingUnitItem';
362
368
  export { octo_BookingReservationRequestSchema } from './schemas/Octo_BookingReservationRequest';
363
369
  export { octo_BookingReservationErrorResponseSchema } from './schemas/Octo_BookingReservationErrorResponse';
@@ -388,6 +394,8 @@ export { mappingSchema } from './schemas/Mapping';
388
394
  export { listWebhooksRequestHeaders_octoCapabilitiesSchema } from './schemas/ListWebhooksRequestHeaders_octoCapabilities';
389
395
  export { listWebhooksRequestSchema } from './schemas/ListWebhooksRequest';
390
396
  export { listOrdersRequestSchema } from './schemas/ListOrdersRequest';
397
+ export { listCapabilitiesRequestHeadersSchema } from './schemas/ListCapabilitiesRequestHeaders';
398
+ export { listCapabilitiesRequestSchema } from './schemas/ListCapabilitiesRequest';
391
399
  export { labelSchema } from './schemas/Label';
392
400
  export { itineraryItemTypeSchema } from './schemas/ItineraryItemType';
393
401
  export { itineraryItemSchema } from './schemas/ItineraryItem';
@@ -420,7 +428,9 @@ export { fAQSchema } from './schemas/FAQ';
420
428
  export { extraRestrictionsSchema } from './schemas/ExtraRestrictions';
421
429
  export { extraItemSchema } from './schemas/ExtraItem';
422
430
  export { extraSchema } from './schemas/Extra';
431
+ export { extendReservationRequest_uuidSchema } from './schemas/ExtendReservationRequest_uuid';
423
432
  export { extendReservationRequestSchema } from './schemas/ExtendReservationRequest';
433
+ export { extendReservationPathParamsSchema } from './schemas/ExtendReservationPathParams';
424
434
  export { extendReservationErrorResponseSchema } from './schemas/ExtendReservationErrorResponse';
425
435
  export { extendReservationBodySchema } from './schemas/ExtendReservationBody';
426
436
  export { durationUnitSchema } from './schemas/DurationUnit';
@@ -441,10 +451,13 @@ export { createWebhookBodySchema } from './schemas/CreateWebhookBody';
441
451
  export { createWaitlistRequestSchema } from './schemas/CreateWaitlistRequest';
442
452
  export { contactFieldSchema } from './schemas/ContactField';
443
453
  export { categorySchema } from './schemas/Category';
454
+ export { capabilityIdSchema } from './schemas/CapabilityId';
444
455
  export { capabilitySchema } from './schemas/Capability';
445
456
  export { brandContactSchema } from './schemas/BrandContact';
446
457
  export { brandSchema } from './schemas/Brand';
458
+ export { bookingUpdateRequest_uuidSchema } from './schemas/BookingUpdateRequest_uuid';
447
459
  export { bookingUpdateRequestSchema } from './schemas/BookingUpdateRequest';
460
+ export { bookingUpdatePathParamsSchema } from './schemas/BookingUpdatePathParams';
448
461
  export { bookingUpdateBodySchema } from './schemas/BookingUpdateBody';
449
462
  export { bookingUpdateSchema } from './schemas/BookingUpdate';
450
463
  export { bookingStatusSchema } from './schemas/BookingStatus';
@@ -465,10 +478,13 @@ export { bookingContentSchema } from './schemas/BookingContent';
465
478
  export { bookingContactSchema } from './schemas/BookingContact';
466
479
  export { bookingConfirmationRequest_uuidSchema } from './schemas/BookingConfirmationRequest_uuid';
467
480
  export { bookingConfirmationRequestSchema } from './schemas/BookingConfirmationRequest';
481
+ export { bookingConfirmationPathParamsSchema } from './schemas/BookingConfirmationPathParams';
468
482
  export { bookingConfirmationErrorResponseSchema } from './schemas/BookingConfirmationErrorResponse';
469
483
  export { bookingConfirmationBodySchema } from './schemas/BookingConfirmationBody';
470
484
  export { bookingCartSchema } from './schemas/BookingCart';
485
+ export { bookingCancellationRequest_uuidSchema } from './schemas/BookingCancellationRequest_uuid';
471
486
  export { bookingCancellationRequestSchema } from './schemas/BookingCancellationRequest';
487
+ export { bookingCancellationPathParamsSchema } from './schemas/BookingCancellationPathParams';
472
488
  export { bookingCancellationErrorResponseSchema } from './schemas/BookingCancellationErrorResponse';
473
489
  export { bookingCancellationBodySchema } from './schemas/BookingCancellationBody';
474
490
  export { bookingCancellationSchema } from './schemas/BookingCancellation';
@@ -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
  };
@@ -0,0 +1,6 @@
1
+ export type BookingCancellationPathParams = {
2
+ /**
3
+ * The booking uuid
4
+ */
5
+ uuid: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The booking uuid
3
+ */
4
+ export type BookingCancellationRequest_uuid = string;
@@ -0,0 +1,6 @@
1
+ export type BookingConfirmationPathParams = {
2
+ /**
3
+ * The booking uuid
4
+ */
5
+ uuid: string;
6
+ };
@@ -1,4 +1,4 @@
1
1
  /**
2
- * The UUID of the booking
2
+ * The booking uuid
3
3
  */
4
4
  export type BookingConfirmationRequest_uuid = string;
@@ -0,0 +1,6 @@
1
+ export type BookingUpdatePathParams = {
2
+ /**
3
+ * The booking uuid
4
+ */
5
+ uuid: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The booking uuid
3
+ */
4
+ export type BookingUpdateRequest_uuid = string;
@@ -1,23 +1,24 @@
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 { CapabilityId } from './CapabilityId';
2
+ import type { Octo_CapabilityId } from './Octo_CapabilityId';
3
+ export type Capability = {
4
+ /**
5
+ * Unique identifier of the capability.
6
+ */
7
+ id: CapabilityId;
8
+ /**
9
+ * Revision number for the capability.
10
+ */
11
+ revision: number;
12
+ /**
13
+ * Whether this capability is required.
14
+ */
15
+ required: boolean;
16
+ /**
17
+ * List of dependent capability IDs.
18
+ */
19
+ dependencies: Array<Octo_CapabilityId>;
20
+ /**
21
+ * Optional documentation or description for this capability.
22
+ */
23
+ docs: string | null;
24
+ };
@@ -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,6 +1,6 @@
1
1
  export type DeleteWebhookPathParams = {
2
2
  /**
3
- * The webhook id
3
+ * The booking uuid
4
4
  */
5
5
  id: string;
6
6
  };
@@ -1,4 +1,4 @@
1
1
  /**
2
- * The webhook id
2
+ * The booking uuid
3
3
  */
4
4
  export type DeleteWebhookRequest_id = string;
@@ -0,0 +1,6 @@
1
+ export type ExtendReservationPathParams = {
2
+ /**
3
+ * The booking uuid
4
+ */
5
+ uuid: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The booking uuid
3
+ */
4
+ export type ExtendReservationRequest_uuid = string;
@@ -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
+ }
@@ -32,6 +32,8 @@ export type Option = {
32
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"].
33
33
  */
34
34
  availabilityLocalStartTimes: Array<string>;
35
+ availabilityLocalDateStart: string;
36
+ availabilityLocalDateEnd: string | null;
35
37
  /**
36
38
  * A text description of the option's cancellation policy, providing clear guidelines to customers.
37
39
  */
@@ -169,6 +169,8 @@ export type Product = {
169
169
  */
170
170
  bannerImages?: Array<Image>;
171
171
  googlePlaceId?: string | null;
172
+ latitude?: number;
173
+ longitude?: number;
172
174
  address?: string;
173
175
  keywords?: Array<string>;
174
176
  tagline?: string;
@@ -88,6 +88,8 @@ export type ProductContent = {
88
88
  */
89
89
  bannerImages?: Array<Image>;
90
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
  }>;
@@ -7,7 +7,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
7
7
  retryOnError: z.ZodBoolean;
8
8
  useContactLanguage: z.ZodBoolean;
9
9
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
10
- capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").Capability>, "many">;
10
+ capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  id: string;
13
13
  event: import("..").WebhookEvent;
@@ -15,7 +15,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
15
15
  retryOnError: boolean;
16
16
  useContactLanguage: boolean;
17
17
  headers: Record<string, string>;
18
- capabilities: import("..").Capability[];
18
+ capabilities: import("..").CapabilityId[];
19
19
  }, {
20
20
  id: string;
21
21
  event: import("..").WebhookEvent;
@@ -23,7 +23,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
23
23
  retryOnError: boolean;
24
24
  useContactLanguage: boolean;
25
25
  headers: Record<string, string>;
26
- capabilities: import("..").Capability[];
26
+ capabilities: import("..").CapabilityId[];
27
27
  }>;
28
28
  availability: z.ZodObject<{
29
29
  id: z.ZodString;
@@ -344,7 +344,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
344
344
  extraId?: string[] | undefined;
345
345
  }[] | undefined;
346
346
  }>, "many">>;
347
- pricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
347
+ pricing: z.ZodOptional<z.ZodObject<{
348
348
  original: z.ZodNumber;
349
349
  retail: z.ZodNumber;
350
350
  net: z.ZodNullable<z.ZodNumber>;
@@ -463,7 +463,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
463
463
  }[];
464
464
  } | null | undefined;
465
465
  extraId?: string[] | undefined;
466
- }>, "many">>;
466
+ }>>;
467
467
  offerCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
468
468
  offerTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
469
469
  offers: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -716,7 +716,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
716
716
  }[];
717
717
  } | null | undefined;
718
718
  extraId?: string[] | undefined;
719
- }[] | undefined;
719
+ } | undefined;
720
720
  offerCode?: string | null | undefined;
721
721
  offerTitle?: string | null | undefined;
722
722
  offers?: {
@@ -875,7 +875,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
875
875
  }[];
876
876
  } | null | undefined;
877
877
  extraId?: string[] | undefined;
878
- }[] | undefined;
878
+ } | undefined;
879
879
  offerCode?: string | null | undefined;
880
880
  offerTitle?: string | null | undefined;
881
881
  offers?: {
@@ -1641,7 +1641,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
1641
1641
  retryOnError: boolean;
1642
1642
  useContactLanguage: boolean;
1643
1643
  headers: Record<string, string>;
1644
- capabilities: import("..").Capability[];
1644
+ capabilities: import("..").CapabilityId[];
1645
1645
  };
1646
1646
  availability: {
1647
1647
  id: string;
@@ -1755,7 +1755,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
1755
1755
  }[];
1756
1756
  } | null | undefined;
1757
1757
  extraId?: string[] | undefined;
1758
- }[] | undefined;
1758
+ } | undefined;
1759
1759
  offerCode?: string | null | undefined;
1760
1760
  offerTitle?: string | null | undefined;
1761
1761
  offers?: {
@@ -1923,7 +1923,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
1923
1923
  retryOnError: boolean;
1924
1924
  useContactLanguage: boolean;
1925
1925
  headers: Record<string, string>;
1926
- capabilities: import("..").Capability[];
1926
+ capabilities: import("..").CapabilityId[];
1927
1927
  };
1928
1928
  availability: {
1929
1929
  id: string;
@@ -2037,7 +2037,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
2037
2037
  }[];
2038
2038
  } | null | undefined;
2039
2039
  extraId?: string[] | undefined;
2040
- }[] | undefined;
2040
+ } | undefined;
2041
2041
  offerCode?: string | null | undefined;
2042
2042
  offerTitle?: string | null | undefined;
2043
2043
  offers?: {
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingCancellationPathParamsSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ uuid: string;
6
+ }, {
7
+ uuid: string;
8
+ }>;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingCancellationRequest_uuidSchema: z.ZodString;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingConfirmationPathParamsSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ uuid: string;
6
+ }, {
7
+ uuid: string;
8
+ }>;
@@ -7,7 +7,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
7
7
  retryOnError: z.ZodBoolean;
8
8
  useContactLanguage: z.ZodBoolean;
9
9
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
10
- capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").Capability>, "many">;
10
+ capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  id: string;
13
13
  event: import("..").WebhookEvent;
@@ -15,7 +15,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
15
15
  retryOnError: boolean;
16
16
  useContactLanguage: boolean;
17
17
  headers: Record<string, string>;
18
- capabilities: import("..").Capability[];
18
+ capabilities: import("..").CapabilityId[];
19
19
  }, {
20
20
  id: string;
21
21
  event: import("..").WebhookEvent;
@@ -23,7 +23,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
23
23
  retryOnError: boolean;
24
24
  useContactLanguage: boolean;
25
25
  headers: Record<string, string>;
26
- capabilities: import("..").Capability[];
26
+ capabilities: import("..").CapabilityId[];
27
27
  }>;
28
28
  booking: z.ZodType<import("..").Booking, z.ZodTypeDef, import("..").Booking>;
29
29
  diff: z.ZodArray<z.ZodObject<{
@@ -756,7 +756,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
756
756
  retryOnError: boolean;
757
757
  useContactLanguage: boolean;
758
758
  headers: Record<string, string>;
759
- capabilities: import("..").Capability[];
759
+ capabilities: import("..").CapabilityId[];
760
760
  };
761
761
  supplier: {
762
762
  id: string;
@@ -883,7 +883,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
883
883
  retryOnError: boolean;
884
884
  useContactLanguage: boolean;
885
885
  headers: Record<string, string>;
886
- capabilities: import("..").Capability[];
886
+ capabilities: import("..").CapabilityId[];
887
887
  };
888
888
  supplier: {
889
889
  id: string;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingUpdatePathParamsSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ uuid: string;
6
+ }, {
7
+ uuid: string;
8
+ }>;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingUpdateRequest_uuidSchema: z.ZodString;
@@ -1,3 +1,20 @@
1
1
  import { z } from 'zod';
2
- import { Capability } from '../models/Capability';
3
- export declare const capabilitySchema: z.ZodNativeEnum<typeof Capability>;
2
+ export declare const capabilitySchema: z.ZodObject<{
3
+ id: z.ZodNativeEnum<typeof import("..").CapabilityId>;
4
+ revision: z.ZodNumber;
5
+ required: z.ZodBoolean;
6
+ dependencies: z.ZodArray<z.ZodNativeEnum<typeof import("..").Octo_CapabilityId>, "many">;
7
+ docs: z.ZodNullable<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: import("..").CapabilityId;
10
+ required: boolean;
11
+ revision: number;
12
+ dependencies: import("..").Octo_CapabilityId[];
13
+ docs: string | null;
14
+ }, {
15
+ id: import("..").CapabilityId;
16
+ required: boolean;
17
+ revision: number;
18
+ dependencies: import("..").Octo_CapabilityId[];
19
+ docs: string | null;
20
+ }>;
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ import { CapabilityId } from '../models/CapabilityId';
3
+ export declare const capabilityIdSchema: z.ZodNativeEnum<typeof CapabilityId>;
@@ -5,19 +5,19 @@ export declare const createWebhookBodySchema: z.ZodObject<{
5
5
  retryOnError: z.ZodOptional<z.ZodBoolean>;
6
6
  useContactLanguage: z.ZodOptional<z.ZodBoolean>;
7
7
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8
- capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").Capability>, "many">>;
8
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">>;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  event: import("..").WebhookEvent;
11
11
  url: string;
12
12
  retryOnError?: boolean | undefined;
13
13
  useContactLanguage?: boolean | undefined;
14
14
  headers?: Record<string, string> | undefined;
15
- capabilities?: import("..").Capability[] | undefined;
15
+ capabilities?: import("..").CapabilityId[] | undefined;
16
16
  }, {
17
17
  event: import("..").WebhookEvent;
18
18
  url: string;
19
19
  retryOnError?: boolean | undefined;
20
20
  useContactLanguage?: boolean | undefined;
21
21
  headers?: Record<string, string> | undefined;
22
- capabilities?: import("..").Capability[] | undefined;
22
+ capabilities?: import("..").CapabilityId[] | undefined;
23
23
  }>;
@@ -6,21 +6,21 @@ export declare const createWebhookRequestSchema: z.ZodObject<{
6
6
  retryOnError: z.ZodOptional<z.ZodBoolean>;
7
7
  useContactLanguage: z.ZodOptional<z.ZodBoolean>;
8
8
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9
- capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").Capability>, "many">>;
9
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  event: import("..").WebhookEvent;
12
12
  url: string;
13
13
  retryOnError?: boolean | undefined;
14
14
  useContactLanguage?: boolean | undefined;
15
15
  headers?: Record<string, string> | undefined;
16
- capabilities?: import("..").Capability[] | undefined;
16
+ capabilities?: import("..").CapabilityId[] | undefined;
17
17
  }, {
18
18
  event: import("..").WebhookEvent;
19
19
  url: string;
20
20
  retryOnError?: boolean | undefined;
21
21
  useContactLanguage?: boolean | undefined;
22
22
  headers?: Record<string, string> | undefined;
23
- capabilities?: import("..").Capability[] | undefined;
23
+ capabilities?: import("..").CapabilityId[] | undefined;
24
24
  }>;
25
25
  }, "strip", z.ZodTypeAny, {
26
26
  body: {
@@ -29,7 +29,7 @@ export declare const createWebhookRequestSchema: z.ZodObject<{
29
29
  retryOnError?: boolean | undefined;
30
30
  useContactLanguage?: boolean | undefined;
31
31
  headers?: Record<string, string> | undefined;
32
- capabilities?: import("..").Capability[] | undefined;
32
+ capabilities?: import("..").CapabilityId[] | undefined;
33
33
  };
34
34
  }, {
35
35
  body: {
@@ -38,6 +38,6 @@ export declare const createWebhookRequestSchema: z.ZodObject<{
38
38
  retryOnError?: boolean | undefined;
39
39
  useContactLanguage?: boolean | undefined;
40
40
  headers?: Record<string, string> | undefined;
41
- capabilities?: import("..").Capability[] | undefined;
41
+ capabilities?: import("..").CapabilityId[] | undefined;
42
42
  };
43
43
  }>;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const extendReservationPathParamsSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ uuid: string;
6
+ }, {
7
+ uuid: string;
8
+ }>;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const extendReservationRequest_uuidSchema: z.ZodString;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const listCapabilitiesRequestSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const listCapabilitiesRequestHeadersSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ export declare const octo_CapabilitySchema: z.ZodObject<{
3
+ id: z.ZodNativeEnum<typeof import("..").Octo_CapabilityId>;
4
+ revision: z.ZodNumber;
5
+ required: z.ZodBoolean;
6
+ dependencies: z.ZodArray<z.ZodNativeEnum<typeof import("..").Octo_CapabilityId>, "many">;
7
+ docs: z.ZodNullable<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: import("..").Octo_CapabilityId;
10
+ required: boolean;
11
+ revision: number;
12
+ dependencies: import("..").Octo_CapabilityId[];
13
+ docs: string | null;
14
+ }, {
15
+ id: import("..").Octo_CapabilityId;
16
+ required: boolean;
17
+ revision: number;
18
+ dependencies: import("..").Octo_CapabilityId[];
19
+ docs: string | null;
20
+ }>;
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ import { Octo_CapabilityId } from '../models/Octo_CapabilityId';
3
+ export declare const octo_CapabilityIdSchema: z.ZodNativeEnum<typeof Octo_CapabilityId>;
@@ -529,6 +529,8 @@ export declare const productContentSchema: z.ZodObject<{
529
529
  caption: string | null;
530
530
  }>, "many">>;
531
531
  googlePlaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
532
+ latitude: z.ZodOptional<z.ZodNumber>;
533
+ longitude: z.ZodOptional<z.ZodNumber>;
532
534
  address: z.ZodOptional<z.ZodString>;
533
535
  keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
534
536
  tagline: z.ZodOptional<z.ZodString>;
@@ -713,6 +715,8 @@ export declare const productContentSchema: z.ZodObject<{
713
715
  }, "strip", z.ZodTypeAny, {
714
716
  country?: string | undefined;
715
717
  address?: string | undefined;
718
+ latitude?: number | undefined;
719
+ longitude?: number | undefined;
716
720
  googlePlaceId?: string | null | undefined;
717
721
  shortDescription?: string | undefined;
718
722
  title?: string | undefined;
@@ -892,6 +896,8 @@ export declare const productContentSchema: z.ZodObject<{
892
896
  }, {
893
897
  country?: string | undefined;
894
898
  address?: string | undefined;
899
+ latitude?: number | undefined;
900
+ longitude?: number | undefined;
895
901
  googlePlaceId?: string | null | undefined;
896
902
  shortDescription?: string | undefined;
897
903
  title?: string | undefined;
@@ -6,7 +6,7 @@ export declare const webhookSchema: z.ZodObject<{
6
6
  retryOnError: z.ZodBoolean;
7
7
  useContactLanguage: z.ZodBoolean;
8
8
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
9
- capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").Capability>, "many">;
9
+ capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  id: string;
12
12
  event: import("..").WebhookEvent;
@@ -14,7 +14,7 @@ export declare const webhookSchema: z.ZodObject<{
14
14
  retryOnError: boolean;
15
15
  useContactLanguage: boolean;
16
16
  headers: Record<string, string>;
17
- capabilities: import("..").Capability[];
17
+ capabilities: import("..").CapabilityId[];
18
18
  }, {
19
19
  id: string;
20
20
  event: import("..").WebhookEvent;
@@ -22,5 +22,5 @@ export declare const webhookSchema: z.ZodObject<{
22
22
  retryOnError: boolean;
23
23
  useContactLanguage: boolean;
24
24
  headers: Record<string, string>;
25
- capabilities: import("..").Capability[];
25
+ capabilities: import("..").CapabilityId[];
26
26
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ventrata/octo-types",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "private": false,
5
5
  "license": "ISC",
6
6
  "files": [
@@ -1,5 +0,0 @@
1
- import type { BookingCancellationBody } from './BookingCancellationBody';
2
- import type { Octo_BookingCancellationRequest } from './Octo_BookingCancellationRequest';
3
- export type BookingCancellationRequest = Octo_BookingCancellationRequest & {
4
- body: BookingCancellationBody;
5
- };
@@ -1,4 +0,0 @@
1
- import type { BookingUpdateBody } from './BookingUpdateBody';
2
- export type BookingUpdateRequest = {
3
- body: BookingUpdateBody;
4
- };
@@ -1,5 +0,0 @@
1
- import type { ExtendReservationBody } from './ExtendReservationBody';
2
- import type { Octo_ExtendReservationRequest } from './Octo_ExtendReservationRequest';
3
- export type ExtendReservationRequest = Octo_ExtendReservationRequest & {
4
- body: ExtendReservationBody;
5
- };
@@ -1,8 +0,0 @@
1
- import type { Octo_BookingCancellationBody } from './Octo_BookingCancellationBody';
2
- export type Octo_BookingCancellationRequest = {
3
- /**
4
- * The UUID of the booking
5
- */
6
- uuid: string;
7
- body: Octo_BookingCancellationBody;
8
- };
@@ -1,4 +0,0 @@
1
- /**
2
- * The UUID of the booking
3
- */
4
- export type Octo_BookingCancellationRequest_uuid = string;
@@ -1,8 +0,0 @@
1
- import type { Octo_ExtendReservationBody } from './Octo_ExtendReservationBody';
2
- export type Octo_ExtendReservationRequest = {
3
- /**
4
- * The UUID of the booking
5
- */
6
- uuid: string;
7
- body: Octo_ExtendReservationBody;
8
- };
@@ -1,4 +0,0 @@
1
- /**
2
- * The UUID of the booking
3
- */
4
- export type Octo_ExtendReservationRequest_uuid = string;