@ventrata/octo-types 0.0.3 → 0.0.5

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.
package/dist/index.d.ts CHANGED
@@ -51,7 +51,6 @@ 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
54
  export { Capability } from './models/Capability';
56
55
  export type { Category } from './models/Category';
57
56
  export { ContactField } from './models/ContactField';
@@ -61,6 +60,9 @@ export type { CreateWebhookRequest } from './models/CreateWebhookRequest';
61
60
  export type { CreateWebhookRequestHeaders_octoCapabilities } from './models/CreateWebhookRequestHeaders_octoCapabilities';
62
61
  export type { CustomerContact } from './models/CustomerContact';
63
62
  export type { DefaultableID } from './models/DefaultableID';
63
+ export type { DeleteWebhookPathParams } from './models/DeleteWebhookPathParams';
64
+ export type { DeleteWebhookRequest_id } from './models/DeleteWebhookRequest_id';
65
+ export type { DeleteWebhookRequestHeaders_octoCapabilities } from './models/DeleteWebhookRequestHeaders_octoCapabilities';
64
66
  export { DeliveryFormat } from './models/DeliveryFormat';
65
67
  export { DeliveryMethod } from './models/DeliveryMethod';
66
68
  export type { DeliveryOption } from './models/DeliveryOption';
@@ -428,6 +430,9 @@ export { destinationSchema } from './schemas/Destination';
428
430
  export { deliveryOptionSchema } from './schemas/DeliveryOption';
429
431
  export { deliveryMethodSchema } from './schemas/DeliveryMethod';
430
432
  export { deliveryFormatSchema } from './schemas/DeliveryFormat';
433
+ export { deleteWebhookRequest_idSchema } from './schemas/DeleteWebhookRequest_id';
434
+ export { deleteWebhookRequestHeaders_octoCapabilitiesSchema } from './schemas/DeleteWebhookRequestHeaders_octoCapabilities';
435
+ export { deleteWebhookPathParamsSchema } from './schemas/DeleteWebhookPathParams';
431
436
  export { defaultableIDSchema } from './schemas/DefaultableID';
432
437
  export { customerContactSchema } from './schemas/CustomerContact';
433
438
  export { createWebhookRequestHeaders_octoCapabilitiesSchema } from './schemas/CreateWebhookRequestHeaders_octoCapabilities';
@@ -437,7 +442,6 @@ export { createWaitlistRequestSchema } from './schemas/CreateWaitlistRequest';
437
442
  export { contactFieldSchema } from './schemas/ContactField';
438
443
  export { categorySchema } from './schemas/Category';
439
444
  export { capabilitySchema } from './schemas/Capability';
440
- export { cancellationCutoffUnitSchema } from './schemas/CancellationCutoffUnit';
441
445
  export { brandContactSchema } from './schemas/BrandContact';
442
446
  export { brandSchema } from './schemas/Brand';
443
447
  export { bookingUpdateRequestSchema } from './schemas/BookingUpdateRequest';
@@ -0,0 +1,6 @@
1
+ export type DeleteWebhookPathParams = {
2
+ /**
3
+ * The webhook id
4
+ */
5
+ id: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * A list of the Capabilities (their IDs) initialized with your request. ventrata/getyourguide capability is required
3
+ */
4
+ export type DeleteWebhookRequestHeaders_octoCapabilities = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The webhook id
3
+ */
4
+ export type DeleteWebhookRequest_id = string;
@@ -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
  */
@@ -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';
@@ -47,7 +46,7 @@ export type Option = {
47
46
  * minute: Cutoff is measured in minutes.
48
47
  * day: Cutoff is measured in days.
49
48
  */
50
- cancellationCutoffUnit: CancellationCutoffUnit;
49
+ cancellationCutoffUnit: DurationUnit;
51
50
  /**
52
51
  * An array specifying the contact fields required to confirm a booking. These apply to the lead traveler, not individual tickets. Possible values:
53
52
  * 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,7 @@ 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
172
  address?: string;
173
173
  keywords?: Array<string>;
174
174
  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,7 @@ 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
91
  address?: string;
92
92
  keywords?: Array<string>;
93
93
  tagline?: string;