@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.
- package/dist/index.d.ts +10 -3
- package/dist/models/Availability.d.ts +1 -1
- package/dist/models/AvailabilityCalendar.d.ts +1 -1
- package/dist/models/AvailabilityCalendarPricing.d.ts +1 -1
- package/dist/models/AvailabilityPricing.d.ts +1 -1
- package/dist/models/Capability.d.ts +23 -23
- package/dist/models/CapabilityId.d.ts +23 -0
- package/dist/models/CreateWebhookBody.d.ts +2 -2
- package/dist/models/Destination.d.ts +2 -0
- package/dist/models/ListCapabilitiesRequest.d.ts +1 -0
- package/dist/models/ListCapabilitiesRequestHeaders.d.ts +1 -0
- package/dist/models/Octo_CapabilityId.d.ts +10 -0
- package/dist/models/Option.d.ts +3 -2
- package/dist/models/Product.d.ts +11 -9
- package/dist/models/ProductContent.d.ts +11 -9
- package/dist/models/Webhook.d.ts +2 -2
- package/dist/schemas/Availability.d.ts +4 -4
- package/dist/schemas/AvailabilityCalendar.d.ts +4 -4
- package/dist/schemas/AvailabilityCalendarPricing.d.ts +4 -4
- package/dist/schemas/AvailabilityPricing.d.ts +4 -4
- package/dist/schemas/AvailabilityUpdate.d.ts +459 -29
- package/dist/schemas/BookingUpdate.d.ts +453 -23
- package/dist/schemas/Capability.d.ts +19 -2
- package/dist/schemas/CapabilityId.d.ts +3 -0
- package/dist/schemas/CreateWebhookBody.d.ts +3 -3
- package/dist/schemas/CreateWebhookRequest.d.ts +5 -5
- package/dist/schemas/Destination.d.ts +268 -6
- package/dist/schemas/ListCapabilitiesRequest.d.ts +2 -0
- package/dist/schemas/ListCapabilitiesRequestHeaders.d.ts +2 -0
- package/dist/schemas/Octo_Capability.d.ts +20 -0
- package/dist/schemas/Octo_CapabilityId.d.ts +3 -0
- package/dist/schemas/PartnersListConnection.d.ts +448 -18
- package/dist/schemas/ProductContent.d.ts +440 -88
- package/dist/schemas/Supplier.d.ts +358 -12
- package/dist/schemas/SupplierContent.d.ts +358 -12
- package/dist/schemas/Webhook.d.ts +3 -3
- 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
|
@@ -26,6 +26,184 @@ export declare const destinationSchema: z.ZodObject<{
|
|
|
26
26
|
email: string | null;
|
|
27
27
|
telephone: string | null;
|
|
28
28
|
}>;
|
|
29
|
+
brand: z.ZodObject<{
|
|
30
|
+
id: z.ZodNullable<z.ZodString>;
|
|
31
|
+
name: z.ZodNullable<z.ZodString>;
|
|
32
|
+
contact: z.ZodNullable<z.ZodObject<{
|
|
33
|
+
name: z.ZodNullable<z.ZodString>;
|
|
34
|
+
email: z.ZodNullable<z.ZodString>;
|
|
35
|
+
telephone: z.ZodNullable<z.ZodString>;
|
|
36
|
+
address: z.ZodNullable<z.ZodString>;
|
|
37
|
+
website: z.ZodNullable<z.ZodString>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
name: string | null;
|
|
40
|
+
address: string | null;
|
|
41
|
+
website: string | null;
|
|
42
|
+
email: string | null;
|
|
43
|
+
telephone: string | null;
|
|
44
|
+
}, {
|
|
45
|
+
name: string | null;
|
|
46
|
+
address: string | null;
|
|
47
|
+
website: string | null;
|
|
48
|
+
email: string | null;
|
|
49
|
+
telephone: string | null;
|
|
50
|
+
}>>;
|
|
51
|
+
color: z.ZodNullable<z.ZodString>;
|
|
52
|
+
secondaryColor: z.ZodNullable<z.ZodString>;
|
|
53
|
+
backgroundColor: z.ZodNullable<z.ZodString>;
|
|
54
|
+
accentFont: z.ZodNullable<z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
name: z.ZodNullable<z.ZodString>;
|
|
57
|
+
normalTtfUrl: z.ZodNullable<z.ZodString>;
|
|
58
|
+
italicTtfUrl: z.ZodNullable<z.ZodString>;
|
|
59
|
+
boldTtfUrl: z.ZodNullable<z.ZodString>;
|
|
60
|
+
boldItalicTtfUrl: z.ZodNullable<z.ZodString>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
id: string;
|
|
63
|
+
name: string | null;
|
|
64
|
+
normalTtfUrl: string | null;
|
|
65
|
+
italicTtfUrl: string | null;
|
|
66
|
+
boldTtfUrl: string | null;
|
|
67
|
+
boldItalicTtfUrl: string | null;
|
|
68
|
+
}, {
|
|
69
|
+
id: string;
|
|
70
|
+
name: string | null;
|
|
71
|
+
normalTtfUrl: string | null;
|
|
72
|
+
italicTtfUrl: string | null;
|
|
73
|
+
boldTtfUrl: string | null;
|
|
74
|
+
boldItalicTtfUrl: string | null;
|
|
75
|
+
}>>;
|
|
76
|
+
bodyFont: z.ZodNullable<z.ZodObject<{
|
|
77
|
+
id: z.ZodString;
|
|
78
|
+
name: z.ZodNullable<z.ZodString>;
|
|
79
|
+
normalTtfUrl: z.ZodNullable<z.ZodString>;
|
|
80
|
+
italicTtfUrl: z.ZodNullable<z.ZodString>;
|
|
81
|
+
boldTtfUrl: z.ZodNullable<z.ZodString>;
|
|
82
|
+
boldItalicTtfUrl: z.ZodNullable<z.ZodString>;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
id: string;
|
|
85
|
+
name: string | null;
|
|
86
|
+
normalTtfUrl: string | null;
|
|
87
|
+
italicTtfUrl: string | null;
|
|
88
|
+
boldTtfUrl: string | null;
|
|
89
|
+
boldItalicTtfUrl: string | null;
|
|
90
|
+
}, {
|
|
91
|
+
id: string;
|
|
92
|
+
name: string | null;
|
|
93
|
+
normalTtfUrl: string | null;
|
|
94
|
+
italicTtfUrl: string | null;
|
|
95
|
+
boldTtfUrl: string | null;
|
|
96
|
+
boldItalicTtfUrl: string | null;
|
|
97
|
+
}>>;
|
|
98
|
+
headerFont: z.ZodNullable<z.ZodObject<{
|
|
99
|
+
id: z.ZodString;
|
|
100
|
+
name: z.ZodNullable<z.ZodString>;
|
|
101
|
+
normalTtfUrl: z.ZodNullable<z.ZodString>;
|
|
102
|
+
italicTtfUrl: z.ZodNullable<z.ZodString>;
|
|
103
|
+
boldTtfUrl: z.ZodNullable<z.ZodString>;
|
|
104
|
+
boldItalicTtfUrl: z.ZodNullable<z.ZodString>;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
id: string;
|
|
107
|
+
name: string | null;
|
|
108
|
+
normalTtfUrl: string | null;
|
|
109
|
+
italicTtfUrl: string | null;
|
|
110
|
+
boldTtfUrl: string | null;
|
|
111
|
+
boldItalicTtfUrl: string | null;
|
|
112
|
+
}, {
|
|
113
|
+
id: string;
|
|
114
|
+
name: string | null;
|
|
115
|
+
normalTtfUrl: string | null;
|
|
116
|
+
italicTtfUrl: string | null;
|
|
117
|
+
boldTtfUrl: string | null;
|
|
118
|
+
boldItalicTtfUrl: string | null;
|
|
119
|
+
}>>;
|
|
120
|
+
checkoutLogoUrl: z.ZodNullable<z.ZodString>;
|
|
121
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
122
|
+
logoWhiteUrl: z.ZodNullable<z.ZodString>;
|
|
123
|
+
faviconUrl: z.ZodNullable<z.ZodString>;
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
id: string | null;
|
|
126
|
+
name: string | null;
|
|
127
|
+
contact: {
|
|
128
|
+
name: string | null;
|
|
129
|
+
address: string | null;
|
|
130
|
+
website: string | null;
|
|
131
|
+
email: string | null;
|
|
132
|
+
telephone: string | null;
|
|
133
|
+
} | null;
|
|
134
|
+
color: string | null;
|
|
135
|
+
secondaryColor: string | null;
|
|
136
|
+
backgroundColor: string | null;
|
|
137
|
+
accentFont: {
|
|
138
|
+
id: string;
|
|
139
|
+
name: string | null;
|
|
140
|
+
normalTtfUrl: string | null;
|
|
141
|
+
italicTtfUrl: string | null;
|
|
142
|
+
boldTtfUrl: string | null;
|
|
143
|
+
boldItalicTtfUrl: string | null;
|
|
144
|
+
} | null;
|
|
145
|
+
bodyFont: {
|
|
146
|
+
id: string;
|
|
147
|
+
name: string | null;
|
|
148
|
+
normalTtfUrl: string | null;
|
|
149
|
+
italicTtfUrl: string | null;
|
|
150
|
+
boldTtfUrl: string | null;
|
|
151
|
+
boldItalicTtfUrl: string | null;
|
|
152
|
+
} | null;
|
|
153
|
+
headerFont: {
|
|
154
|
+
id: string;
|
|
155
|
+
name: string | null;
|
|
156
|
+
normalTtfUrl: string | null;
|
|
157
|
+
italicTtfUrl: string | null;
|
|
158
|
+
boldTtfUrl: string | null;
|
|
159
|
+
boldItalicTtfUrl: string | null;
|
|
160
|
+
} | null;
|
|
161
|
+
checkoutLogoUrl: string | null;
|
|
162
|
+
logoUrl: string | null;
|
|
163
|
+
logoWhiteUrl: string | null;
|
|
164
|
+
faviconUrl: string | null;
|
|
165
|
+
}, {
|
|
166
|
+
id: string | null;
|
|
167
|
+
name: string | null;
|
|
168
|
+
contact: {
|
|
169
|
+
name: string | null;
|
|
170
|
+
address: string | null;
|
|
171
|
+
website: string | null;
|
|
172
|
+
email: string | null;
|
|
173
|
+
telephone: string | null;
|
|
174
|
+
} | null;
|
|
175
|
+
color: string | null;
|
|
176
|
+
secondaryColor: string | null;
|
|
177
|
+
backgroundColor: string | null;
|
|
178
|
+
accentFont: {
|
|
179
|
+
id: string;
|
|
180
|
+
name: string | null;
|
|
181
|
+
normalTtfUrl: string | null;
|
|
182
|
+
italicTtfUrl: string | null;
|
|
183
|
+
boldTtfUrl: string | null;
|
|
184
|
+
boldItalicTtfUrl: string | null;
|
|
185
|
+
} | null;
|
|
186
|
+
bodyFont: {
|
|
187
|
+
id: string;
|
|
188
|
+
name: string | null;
|
|
189
|
+
normalTtfUrl: string | null;
|
|
190
|
+
italicTtfUrl: string | null;
|
|
191
|
+
boldTtfUrl: string | null;
|
|
192
|
+
boldItalicTtfUrl: string | null;
|
|
193
|
+
} | null;
|
|
194
|
+
headerFont: {
|
|
195
|
+
id: string;
|
|
196
|
+
name: string | null;
|
|
197
|
+
normalTtfUrl: string | null;
|
|
198
|
+
italicTtfUrl: string | null;
|
|
199
|
+
boldTtfUrl: string | null;
|
|
200
|
+
boldItalicTtfUrl: string | null;
|
|
201
|
+
} | null;
|
|
202
|
+
checkoutLogoUrl: string | null;
|
|
203
|
+
logoUrl: string | null;
|
|
204
|
+
logoWhiteUrl: string | null;
|
|
205
|
+
faviconUrl: string | null;
|
|
206
|
+
}>;
|
|
29
207
|
latitude: z.ZodNullable<z.ZodNumber>;
|
|
30
208
|
longitude: z.ZodNullable<z.ZodNumber>;
|
|
31
209
|
googlePlaceId: z.ZodNullable<z.ZodString>;
|
|
@@ -105,9 +283,6 @@ export declare const destinationSchema: z.ZodObject<{
|
|
|
105
283
|
title: string | null;
|
|
106
284
|
coverImageUrl: string | null;
|
|
107
285
|
}[];
|
|
108
|
-
default: boolean;
|
|
109
|
-
bannerImageUrl: string | null;
|
|
110
|
-
featured: boolean;
|
|
111
286
|
contact: {
|
|
112
287
|
name: string | null;
|
|
113
288
|
address: string | null;
|
|
@@ -115,6 +290,51 @@ export declare const destinationSchema: z.ZodObject<{
|
|
|
115
290
|
email: string | null;
|
|
116
291
|
telephone: string | null;
|
|
117
292
|
};
|
|
293
|
+
default: boolean;
|
|
294
|
+
bannerImageUrl: string | null;
|
|
295
|
+
featured: boolean;
|
|
296
|
+
brand: {
|
|
297
|
+
id: string | null;
|
|
298
|
+
name: string | null;
|
|
299
|
+
contact: {
|
|
300
|
+
name: string | null;
|
|
301
|
+
address: string | null;
|
|
302
|
+
website: string | null;
|
|
303
|
+
email: string | null;
|
|
304
|
+
telephone: string | null;
|
|
305
|
+
} | null;
|
|
306
|
+
color: string | null;
|
|
307
|
+
secondaryColor: string | null;
|
|
308
|
+
backgroundColor: string | null;
|
|
309
|
+
accentFont: {
|
|
310
|
+
id: string;
|
|
311
|
+
name: string | null;
|
|
312
|
+
normalTtfUrl: string | null;
|
|
313
|
+
italicTtfUrl: string | null;
|
|
314
|
+
boldTtfUrl: string | null;
|
|
315
|
+
boldItalicTtfUrl: string | null;
|
|
316
|
+
} | null;
|
|
317
|
+
bodyFont: {
|
|
318
|
+
id: string;
|
|
319
|
+
name: string | null;
|
|
320
|
+
normalTtfUrl: string | null;
|
|
321
|
+
italicTtfUrl: string | null;
|
|
322
|
+
boldTtfUrl: string | null;
|
|
323
|
+
boldItalicTtfUrl: string | null;
|
|
324
|
+
} | null;
|
|
325
|
+
headerFont: {
|
|
326
|
+
id: string;
|
|
327
|
+
name: string | null;
|
|
328
|
+
normalTtfUrl: string | null;
|
|
329
|
+
italicTtfUrl: string | null;
|
|
330
|
+
boldTtfUrl: string | null;
|
|
331
|
+
boldItalicTtfUrl: string | null;
|
|
332
|
+
} | null;
|
|
333
|
+
checkoutLogoUrl: string | null;
|
|
334
|
+
logoUrl: string | null;
|
|
335
|
+
logoWhiteUrl: string | null;
|
|
336
|
+
faviconUrl: string | null;
|
|
337
|
+
};
|
|
118
338
|
videoUrl: string | null;
|
|
119
339
|
facebookUrl: string | null;
|
|
120
340
|
googleUrl: string | null;
|
|
@@ -151,9 +371,6 @@ export declare const destinationSchema: z.ZodObject<{
|
|
|
151
371
|
title: string | null;
|
|
152
372
|
coverImageUrl: string | null;
|
|
153
373
|
}[];
|
|
154
|
-
default: boolean;
|
|
155
|
-
bannerImageUrl: string | null;
|
|
156
|
-
featured: boolean;
|
|
157
374
|
contact: {
|
|
158
375
|
name: string | null;
|
|
159
376
|
address: string | null;
|
|
@@ -161,6 +378,51 @@ export declare const destinationSchema: z.ZodObject<{
|
|
|
161
378
|
email: string | null;
|
|
162
379
|
telephone: string | null;
|
|
163
380
|
};
|
|
381
|
+
default: boolean;
|
|
382
|
+
bannerImageUrl: string | null;
|
|
383
|
+
featured: boolean;
|
|
384
|
+
brand: {
|
|
385
|
+
id: string | null;
|
|
386
|
+
name: string | null;
|
|
387
|
+
contact: {
|
|
388
|
+
name: string | null;
|
|
389
|
+
address: string | null;
|
|
390
|
+
website: string | null;
|
|
391
|
+
email: string | null;
|
|
392
|
+
telephone: string | null;
|
|
393
|
+
} | null;
|
|
394
|
+
color: string | null;
|
|
395
|
+
secondaryColor: string | null;
|
|
396
|
+
backgroundColor: string | null;
|
|
397
|
+
accentFont: {
|
|
398
|
+
id: string;
|
|
399
|
+
name: string | null;
|
|
400
|
+
normalTtfUrl: string | null;
|
|
401
|
+
italicTtfUrl: string | null;
|
|
402
|
+
boldTtfUrl: string | null;
|
|
403
|
+
boldItalicTtfUrl: string | null;
|
|
404
|
+
} | null;
|
|
405
|
+
bodyFont: {
|
|
406
|
+
id: string;
|
|
407
|
+
name: string | null;
|
|
408
|
+
normalTtfUrl: string | null;
|
|
409
|
+
italicTtfUrl: string | null;
|
|
410
|
+
boldTtfUrl: string | null;
|
|
411
|
+
boldItalicTtfUrl: string | null;
|
|
412
|
+
} | null;
|
|
413
|
+
headerFont: {
|
|
414
|
+
id: string;
|
|
415
|
+
name: string | null;
|
|
416
|
+
normalTtfUrl: string | null;
|
|
417
|
+
italicTtfUrl: string | null;
|
|
418
|
+
boldTtfUrl: string | null;
|
|
419
|
+
boldItalicTtfUrl: string | null;
|
|
420
|
+
} | null;
|
|
421
|
+
checkoutLogoUrl: string | null;
|
|
422
|
+
logoUrl: string | null;
|
|
423
|
+
logoWhiteUrl: string | null;
|
|
424
|
+
faviconUrl: string | null;
|
|
425
|
+
};
|
|
164
426
|
videoUrl: string | null;
|
|
165
427
|
facebookUrl: string | null;
|
|
166
428
|
googleUrl: string | null;
|
|
@@ -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
|
+
}>;
|