@ventrata/octo-types 0.0.4 → 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 +0 -2
- package/dist/models/Destination.d.ts +2 -0
- package/dist/models/Option.d.ts +1 -2
- package/dist/models/Product.d.ts +9 -9
- package/dist/models/ProductContent.d.ts +9 -9
- package/dist/schemas/AvailabilityUpdate.d.ts +448 -18
- package/dist/schemas/BookingUpdate.d.ts +448 -18
- package/dist/schemas/Destination.d.ts +268 -6
- package/dist/schemas/PartnersListConnection.d.ts +448 -18
- package/dist/schemas/ProductContent.d.ts +434 -88
- package/dist/schemas/Supplier.d.ts +358 -12
- package/dist/schemas/SupplierContent.d.ts +358 -12
- package/dist/schemas/WhoIAm.d.ts +448 -18
- package/package.json +1 -1
- package/dist/models/CancellationCutoffUnit.d.ts +0 -5
- package/dist/schemas/CancellationCutoffUnit.d.ts +0 -3
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';
|
|
@@ -443,7 +442,6 @@ export { createWaitlistRequestSchema } from './schemas/CreateWaitlistRequest';
|
|
|
443
442
|
export { contactFieldSchema } from './schemas/ContactField';
|
|
444
443
|
export { categorySchema } from './schemas/Category';
|
|
445
444
|
export { capabilitySchema } from './schemas/Capability';
|
|
446
|
-
export { cancellationCutoffUnitSchema } from './schemas/CancellationCutoffUnit';
|
|
447
445
|
export { brandContactSchema } from './schemas/BrandContact';
|
|
448
446
|
export { brandSchema } from './schemas/Brand';
|
|
449
447
|
export { bookingUpdateRequestSchema } from './schemas/BookingUpdateRequest';
|
|
@@ -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
|
*/
|
package/dist/models/Option.d.ts
CHANGED
|
@@ -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:
|
|
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.
|
package/dist/models/Product.d.ts
CHANGED
|
@@ -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;
|