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