@voyantjs/products-contracts 0.99.0 → 0.101.0

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.
@@ -0,0 +1,698 @@
1
+ import { z } from "zod";
2
+ export declare const publicCatalogProductListQuerySchema: z.ZodObject<{
3
+ search: z.ZodOptional<z.ZodString>;
4
+ languageTag: z.ZodOptional<z.ZodString>;
5
+ bookingMode: z.ZodOptional<z.ZodEnum<{
6
+ date: "date";
7
+ other: "other";
8
+ date_time: "date_time";
9
+ open: "open";
10
+ stay: "stay";
11
+ transfer: "transfer";
12
+ itinerary: "itinerary";
13
+ }>>;
14
+ capacityMode: z.ZodOptional<z.ZodEnum<{
15
+ free_sale: "free_sale";
16
+ limited: "limited";
17
+ on_request: "on_request";
18
+ }>>;
19
+ productTypeId: z.ZodOptional<z.ZodString>;
20
+ categoryId: z.ZodOptional<z.ZodString>;
21
+ tagId: z.ZodOptional<z.ZodString>;
22
+ destinationId: z.ZodOptional<z.ZodString>;
23
+ destinationSlug: z.ZodOptional<z.ZodString>;
24
+ locationTitle: z.ZodOptional<z.ZodString>;
25
+ locationCity: z.ZodOptional<z.ZodString>;
26
+ locationCountryCode: z.ZodOptional<z.ZodString>;
27
+ locationType: z.ZodOptional<z.ZodEnum<{
28
+ other: "other";
29
+ start: "start";
30
+ end: "end";
31
+ meeting_point: "meeting_point";
32
+ pickup: "pickup";
33
+ dropoff: "dropoff";
34
+ point_of_interest: "point_of_interest";
35
+ }>>;
36
+ featured: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
37
+ 0: "0";
38
+ 1: "1";
39
+ true: "true";
40
+ false: "false";
41
+ }>, z.ZodTransform<boolean, "0" | "1" | "true" | "false">>>;
42
+ sort: z.ZodDefault<z.ZodEnum<{
43
+ name: "name";
44
+ createdAt: "createdAt";
45
+ startDate: "startDate";
46
+ price: "price";
47
+ }>>;
48
+ direction: z.ZodDefault<z.ZodEnum<{
49
+ asc: "asc";
50
+ desc: "desc";
51
+ }>>;
52
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
53
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
54
+ }, z.core.$strip>;
55
+ export declare const publicCatalogCategoryListQuerySchema: z.ZodObject<{
56
+ search: z.ZodOptional<z.ZodString>;
57
+ parentId: z.ZodOptional<z.ZodString>;
58
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
59
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
60
+ }, z.core.$strip>;
61
+ export declare const publicCatalogTagListQuerySchema: z.ZodObject<{
62
+ search: z.ZodOptional<z.ZodString>;
63
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
64
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
65
+ }, z.core.$strip>;
66
+ export declare const publicCatalogDestinationListQuerySchema: z.ZodObject<{
67
+ search: z.ZodOptional<z.ZodString>;
68
+ parentId: z.ZodOptional<z.ZodString>;
69
+ active: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
70
+ 0: "0";
71
+ 1: "1";
72
+ true: "true";
73
+ false: "false";
74
+ }>, z.ZodTransform<boolean, "0" | "1" | "true" | "false">>>;
75
+ languageTag: z.ZodOptional<z.ZodString>;
76
+ destinationType: z.ZodOptional<z.ZodEnum<{
77
+ country: "country";
78
+ port: "port";
79
+ destination: "destination";
80
+ region: "region";
81
+ city: "city";
82
+ river: "river";
83
+ sea: "sea";
84
+ ocean: "ocean";
85
+ canal: "canal";
86
+ lake: "lake";
87
+ }>>;
88
+ canonicalPlaceId: z.ZodOptional<z.ZodString>;
89
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
90
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
91
+ }, z.core.$strip>;
92
+ export declare const publicCatalogProductLookupBySlugQuerySchema: z.ZodObject<{
93
+ languageTag: z.ZodOptional<z.ZodString>;
94
+ }, z.core.$strip>;
95
+ export declare const publicCatalogProductCategorySchema: z.ZodObject<{
96
+ id: z.ZodString;
97
+ parentId: z.ZodNullable<z.ZodString>;
98
+ name: z.ZodString;
99
+ slug: z.ZodString;
100
+ description: z.ZodNullable<z.ZodString>;
101
+ sortOrder: z.ZodNumber;
102
+ }, z.core.$strip>;
103
+ export declare const publicCatalogProductTagSchema: z.ZodObject<{
104
+ id: z.ZodString;
105
+ name: z.ZodString;
106
+ }, z.core.$strip>;
107
+ export declare const publicCatalogProductTypeSchema: z.ZodObject<{
108
+ id: z.ZodString;
109
+ code: z.ZodString;
110
+ name: z.ZodString;
111
+ description: z.ZodNullable<z.ZodString>;
112
+ }, z.core.$strip>;
113
+ export declare const publicCatalogProductMediaSchema: z.ZodObject<{
114
+ id: z.ZodString;
115
+ mediaType: z.ZodEnum<{
116
+ image: "image";
117
+ video: "video";
118
+ document: "document";
119
+ }>;
120
+ name: z.ZodString;
121
+ url: z.ZodString;
122
+ mimeType: z.ZodNullable<z.ZodString>;
123
+ altText: z.ZodNullable<z.ZodString>;
124
+ sortOrder: z.ZodNumber;
125
+ isCover: z.ZodBoolean;
126
+ isBrochure: z.ZodBoolean;
127
+ isBrochureCurrent: z.ZodBoolean;
128
+ brochureVersion: z.ZodNullable<z.ZodNumber>;
129
+ }, z.core.$strip>;
130
+ export declare const publicCatalogProductFeatureSchema: z.ZodObject<{
131
+ id: z.ZodString;
132
+ featureType: z.ZodEnum<{
133
+ other: "other";
134
+ inclusion: "inclusion";
135
+ exclusion: "exclusion";
136
+ highlight: "highlight";
137
+ important_information: "important_information";
138
+ }>;
139
+ title: z.ZodString;
140
+ description: z.ZodNullable<z.ZodString>;
141
+ sortOrder: z.ZodNumber;
142
+ }, z.core.$strip>;
143
+ export declare const publicCatalogProductFaqSchema: z.ZodObject<{
144
+ id: z.ZodString;
145
+ question: z.ZodString;
146
+ answer: z.ZodString;
147
+ sortOrder: z.ZodNumber;
148
+ }, z.core.$strip>;
149
+ export declare const publicCatalogProductLocationSchema: z.ZodObject<{
150
+ id: z.ZodString;
151
+ locationType: z.ZodEnum<{
152
+ other: "other";
153
+ start: "start";
154
+ end: "end";
155
+ meeting_point: "meeting_point";
156
+ pickup: "pickup";
157
+ dropoff: "dropoff";
158
+ point_of_interest: "point_of_interest";
159
+ }>;
160
+ title: z.ZodString;
161
+ address: z.ZodNullable<z.ZodString>;
162
+ city: z.ZodNullable<z.ZodString>;
163
+ countryCode: z.ZodNullable<z.ZodString>;
164
+ latitude: z.ZodNullable<z.ZodNumber>;
165
+ longitude: z.ZodNullable<z.ZodNumber>;
166
+ sortOrder: z.ZodNumber;
167
+ }, z.core.$strip>;
168
+ export declare const publicCatalogDestinationSchema: z.ZodObject<{
169
+ id: z.ZodString;
170
+ parentId: z.ZodNullable<z.ZodString>;
171
+ slug: z.ZodString;
172
+ canonicalPlaceId: z.ZodNullable<z.ZodString>;
173
+ name: z.ZodString;
174
+ description: z.ZodNullable<z.ZodString>;
175
+ seoTitle: z.ZodNullable<z.ZodString>;
176
+ seoDescription: z.ZodNullable<z.ZodString>;
177
+ destinationType: z.ZodEnum<{
178
+ country: "country";
179
+ port: "port";
180
+ destination: "destination";
181
+ region: "region";
182
+ city: "city";
183
+ river: "river";
184
+ sea: "sea";
185
+ ocean: "ocean";
186
+ canal: "canal";
187
+ lake: "lake";
188
+ }>;
189
+ latitude: z.ZodNullable<z.ZodNumber>;
190
+ longitude: z.ZodNullable<z.ZodNumber>;
191
+ sortOrder: z.ZodNumber;
192
+ }, z.core.$strip>;
193
+ export declare const publicCatalogProductSummarySchema: z.ZodObject<{
194
+ id: z.ZodString;
195
+ name: z.ZodString;
196
+ description: z.ZodNullable<z.ZodString>;
197
+ contentLanguageTag: z.ZodNullable<z.ZodString>;
198
+ slug: z.ZodNullable<z.ZodString>;
199
+ shortDescription: z.ZodNullable<z.ZodString>;
200
+ seoTitle: z.ZodNullable<z.ZodString>;
201
+ seoDescription: z.ZodNullable<z.ZodString>;
202
+ bookingMode: z.ZodEnum<{
203
+ date: "date";
204
+ other: "other";
205
+ date_time: "date_time";
206
+ open: "open";
207
+ stay: "stay";
208
+ transfer: "transfer";
209
+ itinerary: "itinerary";
210
+ }>;
211
+ capacityMode: z.ZodEnum<{
212
+ free_sale: "free_sale";
213
+ limited: "limited";
214
+ on_request: "on_request";
215
+ }>;
216
+ visibility: z.ZodEnum<{
217
+ public: "public";
218
+ private: "private";
219
+ hidden: "hidden";
220
+ }>;
221
+ sellCurrency: z.ZodString;
222
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
223
+ startDate: z.ZodNullable<z.ZodString>;
224
+ endDate: z.ZodNullable<z.ZodString>;
225
+ pax: z.ZodNullable<z.ZodNumber>;
226
+ contractTemplateId: z.ZodNullable<z.ZodString>;
227
+ productType: z.ZodNullable<z.ZodObject<{
228
+ id: z.ZodString;
229
+ code: z.ZodString;
230
+ name: z.ZodString;
231
+ description: z.ZodNullable<z.ZodString>;
232
+ }, z.core.$strip>>;
233
+ categories: z.ZodArray<z.ZodObject<{
234
+ id: z.ZodString;
235
+ parentId: z.ZodNullable<z.ZodString>;
236
+ name: z.ZodString;
237
+ slug: z.ZodString;
238
+ description: z.ZodNullable<z.ZodString>;
239
+ sortOrder: z.ZodNumber;
240
+ }, z.core.$strip>>;
241
+ tags: z.ZodArray<z.ZodObject<{
242
+ id: z.ZodString;
243
+ name: z.ZodString;
244
+ }, z.core.$strip>>;
245
+ capabilities: z.ZodArray<z.ZodEnum<{
246
+ on_request: "on_request";
247
+ private: "private";
248
+ instant_confirmation: "instant_confirmation";
249
+ pickup_available: "pickup_available";
250
+ dropoff_available: "dropoff_available";
251
+ guided: "guided";
252
+ shared: "shared";
253
+ digital_ticket: "digital_ticket";
254
+ voucher_required: "voucher_required";
255
+ external_inventory: "external_inventory";
256
+ multi_day: "multi_day";
257
+ accommodation: "accommodation";
258
+ transport: "transport";
259
+ }>>;
260
+ destinations: z.ZodArray<z.ZodObject<{
261
+ id: z.ZodString;
262
+ parentId: z.ZodNullable<z.ZodString>;
263
+ slug: z.ZodString;
264
+ canonicalPlaceId: z.ZodNullable<z.ZodString>;
265
+ name: z.ZodString;
266
+ description: z.ZodNullable<z.ZodString>;
267
+ seoTitle: z.ZodNullable<z.ZodString>;
268
+ seoDescription: z.ZodNullable<z.ZodString>;
269
+ destinationType: z.ZodEnum<{
270
+ country: "country";
271
+ port: "port";
272
+ destination: "destination";
273
+ region: "region";
274
+ city: "city";
275
+ river: "river";
276
+ sea: "sea";
277
+ ocean: "ocean";
278
+ canal: "canal";
279
+ lake: "lake";
280
+ }>;
281
+ latitude: z.ZodNullable<z.ZodNumber>;
282
+ longitude: z.ZodNullable<z.ZodNumber>;
283
+ sortOrder: z.ZodNumber;
284
+ }, z.core.$strip>>;
285
+ locations: z.ZodArray<z.ZodObject<{
286
+ id: z.ZodString;
287
+ locationType: z.ZodEnum<{
288
+ other: "other";
289
+ start: "start";
290
+ end: "end";
291
+ meeting_point: "meeting_point";
292
+ pickup: "pickup";
293
+ dropoff: "dropoff";
294
+ point_of_interest: "point_of_interest";
295
+ }>;
296
+ title: z.ZodString;
297
+ address: z.ZodNullable<z.ZodString>;
298
+ city: z.ZodNullable<z.ZodString>;
299
+ countryCode: z.ZodNullable<z.ZodString>;
300
+ latitude: z.ZodNullable<z.ZodNumber>;
301
+ longitude: z.ZodNullable<z.ZodNumber>;
302
+ sortOrder: z.ZodNumber;
303
+ }, z.core.$strip>>;
304
+ coverMedia: z.ZodNullable<z.ZodObject<{
305
+ id: z.ZodString;
306
+ mediaType: z.ZodEnum<{
307
+ image: "image";
308
+ video: "video";
309
+ document: "document";
310
+ }>;
311
+ name: z.ZodString;
312
+ url: z.ZodString;
313
+ mimeType: z.ZodNullable<z.ZodString>;
314
+ altText: z.ZodNullable<z.ZodString>;
315
+ sortOrder: z.ZodNumber;
316
+ isCover: z.ZodBoolean;
317
+ isBrochure: z.ZodBoolean;
318
+ isBrochureCurrent: z.ZodBoolean;
319
+ brochureVersion: z.ZodNullable<z.ZodNumber>;
320
+ }, z.core.$strip>>;
321
+ isFeatured: z.ZodBoolean;
322
+ }, z.core.$strip>;
323
+ export declare const publicCatalogProductDetailSchema: z.ZodObject<{
324
+ id: z.ZodString;
325
+ name: z.ZodString;
326
+ description: z.ZodNullable<z.ZodString>;
327
+ contentLanguageTag: z.ZodNullable<z.ZodString>;
328
+ slug: z.ZodNullable<z.ZodString>;
329
+ shortDescription: z.ZodNullable<z.ZodString>;
330
+ seoTitle: z.ZodNullable<z.ZodString>;
331
+ seoDescription: z.ZodNullable<z.ZodString>;
332
+ bookingMode: z.ZodEnum<{
333
+ date: "date";
334
+ other: "other";
335
+ date_time: "date_time";
336
+ open: "open";
337
+ stay: "stay";
338
+ transfer: "transfer";
339
+ itinerary: "itinerary";
340
+ }>;
341
+ capacityMode: z.ZodEnum<{
342
+ free_sale: "free_sale";
343
+ limited: "limited";
344
+ on_request: "on_request";
345
+ }>;
346
+ visibility: z.ZodEnum<{
347
+ public: "public";
348
+ private: "private";
349
+ hidden: "hidden";
350
+ }>;
351
+ sellCurrency: z.ZodString;
352
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
353
+ startDate: z.ZodNullable<z.ZodString>;
354
+ endDate: z.ZodNullable<z.ZodString>;
355
+ pax: z.ZodNullable<z.ZodNumber>;
356
+ contractTemplateId: z.ZodNullable<z.ZodString>;
357
+ productType: z.ZodNullable<z.ZodObject<{
358
+ id: z.ZodString;
359
+ code: z.ZodString;
360
+ name: z.ZodString;
361
+ description: z.ZodNullable<z.ZodString>;
362
+ }, z.core.$strip>>;
363
+ categories: z.ZodArray<z.ZodObject<{
364
+ id: z.ZodString;
365
+ parentId: z.ZodNullable<z.ZodString>;
366
+ name: z.ZodString;
367
+ slug: z.ZodString;
368
+ description: z.ZodNullable<z.ZodString>;
369
+ sortOrder: z.ZodNumber;
370
+ }, z.core.$strip>>;
371
+ tags: z.ZodArray<z.ZodObject<{
372
+ id: z.ZodString;
373
+ name: z.ZodString;
374
+ }, z.core.$strip>>;
375
+ capabilities: z.ZodArray<z.ZodEnum<{
376
+ on_request: "on_request";
377
+ private: "private";
378
+ instant_confirmation: "instant_confirmation";
379
+ pickup_available: "pickup_available";
380
+ dropoff_available: "dropoff_available";
381
+ guided: "guided";
382
+ shared: "shared";
383
+ digital_ticket: "digital_ticket";
384
+ voucher_required: "voucher_required";
385
+ external_inventory: "external_inventory";
386
+ multi_day: "multi_day";
387
+ accommodation: "accommodation";
388
+ transport: "transport";
389
+ }>>;
390
+ destinations: z.ZodArray<z.ZodObject<{
391
+ id: z.ZodString;
392
+ parentId: z.ZodNullable<z.ZodString>;
393
+ slug: z.ZodString;
394
+ canonicalPlaceId: z.ZodNullable<z.ZodString>;
395
+ name: z.ZodString;
396
+ description: z.ZodNullable<z.ZodString>;
397
+ seoTitle: z.ZodNullable<z.ZodString>;
398
+ seoDescription: z.ZodNullable<z.ZodString>;
399
+ destinationType: z.ZodEnum<{
400
+ country: "country";
401
+ port: "port";
402
+ destination: "destination";
403
+ region: "region";
404
+ city: "city";
405
+ river: "river";
406
+ sea: "sea";
407
+ ocean: "ocean";
408
+ canal: "canal";
409
+ lake: "lake";
410
+ }>;
411
+ latitude: z.ZodNullable<z.ZodNumber>;
412
+ longitude: z.ZodNullable<z.ZodNumber>;
413
+ sortOrder: z.ZodNumber;
414
+ }, z.core.$strip>>;
415
+ locations: z.ZodArray<z.ZodObject<{
416
+ id: z.ZodString;
417
+ locationType: z.ZodEnum<{
418
+ other: "other";
419
+ start: "start";
420
+ end: "end";
421
+ meeting_point: "meeting_point";
422
+ pickup: "pickup";
423
+ dropoff: "dropoff";
424
+ point_of_interest: "point_of_interest";
425
+ }>;
426
+ title: z.ZodString;
427
+ address: z.ZodNullable<z.ZodString>;
428
+ city: z.ZodNullable<z.ZodString>;
429
+ countryCode: z.ZodNullable<z.ZodString>;
430
+ latitude: z.ZodNullable<z.ZodNumber>;
431
+ longitude: z.ZodNullable<z.ZodNumber>;
432
+ sortOrder: z.ZodNumber;
433
+ }, z.core.$strip>>;
434
+ coverMedia: z.ZodNullable<z.ZodObject<{
435
+ id: z.ZodString;
436
+ mediaType: z.ZodEnum<{
437
+ image: "image";
438
+ video: "video";
439
+ document: "document";
440
+ }>;
441
+ name: z.ZodString;
442
+ url: z.ZodString;
443
+ mimeType: z.ZodNullable<z.ZodString>;
444
+ altText: z.ZodNullable<z.ZodString>;
445
+ sortOrder: z.ZodNumber;
446
+ isCover: z.ZodBoolean;
447
+ isBrochure: z.ZodBoolean;
448
+ isBrochureCurrent: z.ZodBoolean;
449
+ brochureVersion: z.ZodNullable<z.ZodNumber>;
450
+ }, z.core.$strip>>;
451
+ isFeatured: z.ZodBoolean;
452
+ brochure: z.ZodNullable<z.ZodObject<{
453
+ id: z.ZodString;
454
+ mediaType: z.ZodEnum<{
455
+ image: "image";
456
+ video: "video";
457
+ document: "document";
458
+ }>;
459
+ name: z.ZodString;
460
+ url: z.ZodString;
461
+ mimeType: z.ZodNullable<z.ZodString>;
462
+ altText: z.ZodNullable<z.ZodString>;
463
+ sortOrder: z.ZodNumber;
464
+ isCover: z.ZodBoolean;
465
+ isBrochure: z.ZodBoolean;
466
+ isBrochureCurrent: z.ZodBoolean;
467
+ brochureVersion: z.ZodNullable<z.ZodNumber>;
468
+ }, z.core.$strip>>;
469
+ media: z.ZodArray<z.ZodObject<{
470
+ id: z.ZodString;
471
+ mediaType: z.ZodEnum<{
472
+ image: "image";
473
+ video: "video";
474
+ document: "document";
475
+ }>;
476
+ name: z.ZodString;
477
+ url: z.ZodString;
478
+ mimeType: z.ZodNullable<z.ZodString>;
479
+ altText: z.ZodNullable<z.ZodString>;
480
+ sortOrder: z.ZodNumber;
481
+ isCover: z.ZodBoolean;
482
+ isBrochure: z.ZodBoolean;
483
+ isBrochureCurrent: z.ZodBoolean;
484
+ brochureVersion: z.ZodNullable<z.ZodNumber>;
485
+ }, z.core.$strip>>;
486
+ features: z.ZodArray<z.ZodObject<{
487
+ id: z.ZodString;
488
+ featureType: z.ZodEnum<{
489
+ other: "other";
490
+ inclusion: "inclusion";
491
+ exclusion: "exclusion";
492
+ highlight: "highlight";
493
+ important_information: "important_information";
494
+ }>;
495
+ title: z.ZodString;
496
+ description: z.ZodNullable<z.ZodString>;
497
+ sortOrder: z.ZodNumber;
498
+ }, z.core.$strip>>;
499
+ faqs: z.ZodArray<z.ZodObject<{
500
+ id: z.ZodString;
501
+ question: z.ZodString;
502
+ answer: z.ZodString;
503
+ sortOrder: z.ZodNumber;
504
+ }, z.core.$strip>>;
505
+ }, z.core.$strip>;
506
+ export declare const publicCatalogProductListResponseSchema: z.ZodObject<{
507
+ data: z.ZodArray<z.ZodObject<{
508
+ id: z.ZodString;
509
+ name: z.ZodString;
510
+ description: z.ZodNullable<z.ZodString>;
511
+ contentLanguageTag: z.ZodNullable<z.ZodString>;
512
+ slug: z.ZodNullable<z.ZodString>;
513
+ shortDescription: z.ZodNullable<z.ZodString>;
514
+ seoTitle: z.ZodNullable<z.ZodString>;
515
+ seoDescription: z.ZodNullable<z.ZodString>;
516
+ bookingMode: z.ZodEnum<{
517
+ date: "date";
518
+ other: "other";
519
+ date_time: "date_time";
520
+ open: "open";
521
+ stay: "stay";
522
+ transfer: "transfer";
523
+ itinerary: "itinerary";
524
+ }>;
525
+ capacityMode: z.ZodEnum<{
526
+ free_sale: "free_sale";
527
+ limited: "limited";
528
+ on_request: "on_request";
529
+ }>;
530
+ visibility: z.ZodEnum<{
531
+ public: "public";
532
+ private: "private";
533
+ hidden: "hidden";
534
+ }>;
535
+ sellCurrency: z.ZodString;
536
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
537
+ startDate: z.ZodNullable<z.ZodString>;
538
+ endDate: z.ZodNullable<z.ZodString>;
539
+ pax: z.ZodNullable<z.ZodNumber>;
540
+ contractTemplateId: z.ZodNullable<z.ZodString>;
541
+ productType: z.ZodNullable<z.ZodObject<{
542
+ id: z.ZodString;
543
+ code: z.ZodString;
544
+ name: z.ZodString;
545
+ description: z.ZodNullable<z.ZodString>;
546
+ }, z.core.$strip>>;
547
+ categories: z.ZodArray<z.ZodObject<{
548
+ id: z.ZodString;
549
+ parentId: z.ZodNullable<z.ZodString>;
550
+ name: z.ZodString;
551
+ slug: z.ZodString;
552
+ description: z.ZodNullable<z.ZodString>;
553
+ sortOrder: z.ZodNumber;
554
+ }, z.core.$strip>>;
555
+ tags: z.ZodArray<z.ZodObject<{
556
+ id: z.ZodString;
557
+ name: z.ZodString;
558
+ }, z.core.$strip>>;
559
+ capabilities: z.ZodArray<z.ZodEnum<{
560
+ on_request: "on_request";
561
+ private: "private";
562
+ instant_confirmation: "instant_confirmation";
563
+ pickup_available: "pickup_available";
564
+ dropoff_available: "dropoff_available";
565
+ guided: "guided";
566
+ shared: "shared";
567
+ digital_ticket: "digital_ticket";
568
+ voucher_required: "voucher_required";
569
+ external_inventory: "external_inventory";
570
+ multi_day: "multi_day";
571
+ accommodation: "accommodation";
572
+ transport: "transport";
573
+ }>>;
574
+ destinations: z.ZodArray<z.ZodObject<{
575
+ id: z.ZodString;
576
+ parentId: z.ZodNullable<z.ZodString>;
577
+ slug: z.ZodString;
578
+ canonicalPlaceId: z.ZodNullable<z.ZodString>;
579
+ name: z.ZodString;
580
+ description: z.ZodNullable<z.ZodString>;
581
+ seoTitle: z.ZodNullable<z.ZodString>;
582
+ seoDescription: z.ZodNullable<z.ZodString>;
583
+ destinationType: z.ZodEnum<{
584
+ country: "country";
585
+ port: "port";
586
+ destination: "destination";
587
+ region: "region";
588
+ city: "city";
589
+ river: "river";
590
+ sea: "sea";
591
+ ocean: "ocean";
592
+ canal: "canal";
593
+ lake: "lake";
594
+ }>;
595
+ latitude: z.ZodNullable<z.ZodNumber>;
596
+ longitude: z.ZodNullable<z.ZodNumber>;
597
+ sortOrder: z.ZodNumber;
598
+ }, z.core.$strip>>;
599
+ locations: z.ZodArray<z.ZodObject<{
600
+ id: z.ZodString;
601
+ locationType: z.ZodEnum<{
602
+ other: "other";
603
+ start: "start";
604
+ end: "end";
605
+ meeting_point: "meeting_point";
606
+ pickup: "pickup";
607
+ dropoff: "dropoff";
608
+ point_of_interest: "point_of_interest";
609
+ }>;
610
+ title: z.ZodString;
611
+ address: z.ZodNullable<z.ZodString>;
612
+ city: z.ZodNullable<z.ZodString>;
613
+ countryCode: z.ZodNullable<z.ZodString>;
614
+ latitude: z.ZodNullable<z.ZodNumber>;
615
+ longitude: z.ZodNullable<z.ZodNumber>;
616
+ sortOrder: z.ZodNumber;
617
+ }, z.core.$strip>>;
618
+ coverMedia: z.ZodNullable<z.ZodObject<{
619
+ id: z.ZodString;
620
+ mediaType: z.ZodEnum<{
621
+ image: "image";
622
+ video: "video";
623
+ document: "document";
624
+ }>;
625
+ name: z.ZodString;
626
+ url: z.ZodString;
627
+ mimeType: z.ZodNullable<z.ZodString>;
628
+ altText: z.ZodNullable<z.ZodString>;
629
+ sortOrder: z.ZodNumber;
630
+ isCover: z.ZodBoolean;
631
+ isBrochure: z.ZodBoolean;
632
+ isBrochureCurrent: z.ZodBoolean;
633
+ brochureVersion: z.ZodNullable<z.ZodNumber>;
634
+ }, z.core.$strip>>;
635
+ isFeatured: z.ZodBoolean;
636
+ }, z.core.$strip>>;
637
+ total: z.ZodNumber;
638
+ limit: z.ZodNumber;
639
+ offset: z.ZodNumber;
640
+ }, z.core.$strip>;
641
+ export declare const publicCatalogCategoryListResponseSchema: z.ZodObject<{
642
+ data: z.ZodArray<z.ZodObject<{
643
+ id: z.ZodString;
644
+ parentId: z.ZodNullable<z.ZodString>;
645
+ name: z.ZodString;
646
+ slug: z.ZodString;
647
+ description: z.ZodNullable<z.ZodString>;
648
+ sortOrder: z.ZodNumber;
649
+ }, z.core.$strip>>;
650
+ total: z.ZodNumber;
651
+ limit: z.ZodNumber;
652
+ offset: z.ZodNumber;
653
+ }, z.core.$strip>;
654
+ export declare const publicCatalogTagListResponseSchema: z.ZodObject<{
655
+ data: z.ZodArray<z.ZodObject<{
656
+ id: z.ZodString;
657
+ name: z.ZodString;
658
+ }, z.core.$strip>>;
659
+ total: z.ZodNumber;
660
+ limit: z.ZodNumber;
661
+ offset: z.ZodNumber;
662
+ }, z.core.$strip>;
663
+ export declare const publicCatalogDestinationListResponseSchema: z.ZodObject<{
664
+ data: z.ZodArray<z.ZodObject<{
665
+ id: z.ZodString;
666
+ parentId: z.ZodNullable<z.ZodString>;
667
+ slug: z.ZodString;
668
+ canonicalPlaceId: z.ZodNullable<z.ZodString>;
669
+ name: z.ZodString;
670
+ description: z.ZodNullable<z.ZodString>;
671
+ seoTitle: z.ZodNullable<z.ZodString>;
672
+ seoDescription: z.ZodNullable<z.ZodString>;
673
+ destinationType: z.ZodEnum<{
674
+ country: "country";
675
+ port: "port";
676
+ destination: "destination";
677
+ region: "region";
678
+ city: "city";
679
+ river: "river";
680
+ sea: "sea";
681
+ ocean: "ocean";
682
+ canal: "canal";
683
+ lake: "lake";
684
+ }>;
685
+ latitude: z.ZodNullable<z.ZodNumber>;
686
+ longitude: z.ZodNullable<z.ZodNumber>;
687
+ sortOrder: z.ZodNumber;
688
+ }, z.core.$strip>>;
689
+ total: z.ZodNumber;
690
+ limit: z.ZodNumber;
691
+ offset: z.ZodNumber;
692
+ }, z.core.$strip>;
693
+ export type PublicCatalogProductListQuery = z.infer<typeof publicCatalogProductListQuerySchema>;
694
+ export type PublicCatalogCategoryListQuery = z.infer<typeof publicCatalogCategoryListQuerySchema>;
695
+ export type PublicCatalogTagListQuery = z.infer<typeof publicCatalogTagListQuerySchema>;
696
+ export type PublicCatalogDestinationListQuery = z.infer<typeof publicCatalogDestinationListQuerySchema>;
697
+ export type PublicCatalogProductLookupBySlugQuery = z.infer<typeof publicCatalogProductLookupBySlugQuerySchema>;
698
+ //# sourceMappingURL=validation-public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation-public.d.ts","sourceRoot":"","sources":["../src/validation-public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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