@voyantjs/storefront 0.24.1 → 0.24.2

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,859 @@
1
+ import { z } from "zod";
2
+ export declare const storefrontPaymentMethodCodeSchema: z.ZodEnum<{
3
+ voucher: "voucher";
4
+ card: "card";
5
+ bank_transfer: "bank_transfer";
6
+ cash: "cash";
7
+ invoice: "invoice";
8
+ }>;
9
+ export declare const storefrontFormFieldTypeSchema: z.ZodEnum<{
10
+ date: "date";
11
+ select: "select";
12
+ email: "email";
13
+ text: "text";
14
+ country: "country";
15
+ tel: "tel";
16
+ textarea: "textarea";
17
+ checkbox: "checkbox";
18
+ }>;
19
+ export declare const storefrontFormFieldOptionSchema: z.ZodObject<{
20
+ value: z.ZodString;
21
+ label: z.ZodString;
22
+ }, z.core.$strip>;
23
+ export declare const storefrontFormFieldInputSchema: z.ZodObject<{
24
+ key: z.ZodString;
25
+ label: z.ZodString;
26
+ type: z.ZodDefault<z.ZodEnum<{
27
+ date: "date";
28
+ select: "select";
29
+ email: "email";
30
+ text: "text";
31
+ country: "country";
32
+ tel: "tel";
33
+ textarea: "textarea";
34
+ checkbox: "checkbox";
35
+ }>>;
36
+ required: z.ZodDefault<z.ZodBoolean>;
37
+ placeholder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
+ autocomplete: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
41
+ value: z.ZodString;
42
+ label: z.ZodString;
43
+ }, z.core.$strip>>>;
44
+ }, z.core.$strip>;
45
+ export declare const storefrontFormFieldSchema: z.ZodObject<{
46
+ key: z.ZodString;
47
+ label: z.ZodString;
48
+ type: z.ZodEnum<{
49
+ date: "date";
50
+ select: "select";
51
+ email: "email";
52
+ text: "text";
53
+ country: "country";
54
+ tel: "tel";
55
+ textarea: "textarea";
56
+ checkbox: "checkbox";
57
+ }>;
58
+ required: z.ZodBoolean;
59
+ placeholder: z.ZodNullable<z.ZodString>;
60
+ description: z.ZodNullable<z.ZodString>;
61
+ autocomplete: z.ZodNullable<z.ZodString>;
62
+ options: z.ZodArray<z.ZodObject<{
63
+ value: z.ZodString;
64
+ label: z.ZodString;
65
+ }, z.core.$strip>>;
66
+ }, z.core.$strip>;
67
+ export declare const storefrontPaymentMethodInputSchema: z.ZodObject<{
68
+ code: z.ZodEnum<{
69
+ voucher: "voucher";
70
+ card: "card";
71
+ bank_transfer: "bank_transfer";
72
+ cash: "cash";
73
+ invoice: "invoice";
74
+ }>;
75
+ label: z.ZodOptional<z.ZodString>;
76
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
77
+ enabled: z.ZodDefault<z.ZodBoolean>;
78
+ }, z.core.$strip>;
79
+ export declare const storefrontPaymentMethodSchema: z.ZodObject<{
80
+ code: z.ZodEnum<{
81
+ voucher: "voucher";
82
+ card: "card";
83
+ bank_transfer: "bank_transfer";
84
+ cash: "cash";
85
+ invoice: "invoice";
86
+ }>;
87
+ label: z.ZodString;
88
+ description: z.ZodNullable<z.ZodString>;
89
+ enabled: z.ZodBoolean;
90
+ }, z.core.$strip>;
91
+ export declare const storefrontSettingsInputSchema: z.ZodObject<{
92
+ branding: z.ZodOptional<z.ZodObject<{
93
+ logoUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
94
+ supportedLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
95
+ }, z.core.$strip>>;
96
+ support: z.ZodOptional<z.ZodObject<{
97
+ email: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
98
+ phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
99
+ }, z.core.$strip>>;
100
+ legal: z.ZodOptional<z.ZodObject<{
101
+ termsUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
102
+ privacyUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
103
+ defaultContractTemplateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
104
+ }, z.core.$strip>>;
105
+ forms: z.ZodOptional<z.ZodObject<{
106
+ billing: z.ZodOptional<z.ZodObject<{
107
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
108
+ key: z.ZodString;
109
+ label: z.ZodString;
110
+ type: z.ZodDefault<z.ZodEnum<{
111
+ date: "date";
112
+ select: "select";
113
+ email: "email";
114
+ text: "text";
115
+ country: "country";
116
+ tel: "tel";
117
+ textarea: "textarea";
118
+ checkbox: "checkbox";
119
+ }>>;
120
+ required: z.ZodDefault<z.ZodBoolean>;
121
+ placeholder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
122
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
+ autocomplete: z.ZodNullable<z.ZodOptional<z.ZodString>>;
124
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
125
+ value: z.ZodString;
126
+ label: z.ZodString;
127
+ }, z.core.$strip>>>;
128
+ }, z.core.$strip>>>;
129
+ }, z.core.$strip>>;
130
+ travelers: z.ZodOptional<z.ZodObject<{
131
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
132
+ key: z.ZodString;
133
+ label: z.ZodString;
134
+ type: z.ZodDefault<z.ZodEnum<{
135
+ date: "date";
136
+ select: "select";
137
+ email: "email";
138
+ text: "text";
139
+ country: "country";
140
+ tel: "tel";
141
+ textarea: "textarea";
142
+ checkbox: "checkbox";
143
+ }>>;
144
+ required: z.ZodDefault<z.ZodBoolean>;
145
+ placeholder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
146
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
+ autocomplete: z.ZodNullable<z.ZodOptional<z.ZodString>>;
148
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
149
+ value: z.ZodString;
150
+ label: z.ZodString;
151
+ }, z.core.$strip>>>;
152
+ }, z.core.$strip>>>;
153
+ }, z.core.$strip>>;
154
+ }, z.core.$strip>>;
155
+ payment: z.ZodOptional<z.ZodObject<{
156
+ defaultMethod: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
157
+ voucher: "voucher";
158
+ card: "card";
159
+ bank_transfer: "bank_transfer";
160
+ cash: "cash";
161
+ invoice: "invoice";
162
+ }>>>;
163
+ methods: z.ZodOptional<z.ZodArray<z.ZodObject<{
164
+ code: z.ZodEnum<{
165
+ voucher: "voucher";
166
+ card: "card";
167
+ bank_transfer: "bank_transfer";
168
+ cash: "cash";
169
+ invoice: "invoice";
170
+ }>;
171
+ label: z.ZodOptional<z.ZodString>;
172
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
173
+ enabled: z.ZodDefault<z.ZodBoolean>;
174
+ }, z.core.$strip>>>;
175
+ }, z.core.$strip>>;
176
+ }, z.core.$strip>;
177
+ export declare const storefrontSettingsSchema: z.ZodObject<{
178
+ branding: z.ZodObject<{
179
+ logoUrl: z.ZodNullable<z.ZodURL>;
180
+ supportedLanguages: z.ZodArray<z.ZodString>;
181
+ }, z.core.$strip>;
182
+ support: z.ZodObject<{
183
+ email: z.ZodNullable<z.ZodEmail>;
184
+ phone: z.ZodNullable<z.ZodString>;
185
+ }, z.core.$strip>;
186
+ legal: z.ZodObject<{
187
+ termsUrl: z.ZodNullable<z.ZodURL>;
188
+ privacyUrl: z.ZodNullable<z.ZodURL>;
189
+ defaultContractTemplateId: z.ZodNullable<z.ZodString>;
190
+ }, z.core.$strip>;
191
+ forms: z.ZodObject<{
192
+ billing: z.ZodObject<{
193
+ fields: z.ZodArray<z.ZodObject<{
194
+ key: z.ZodString;
195
+ label: z.ZodString;
196
+ type: z.ZodEnum<{
197
+ date: "date";
198
+ select: "select";
199
+ email: "email";
200
+ text: "text";
201
+ country: "country";
202
+ tel: "tel";
203
+ textarea: "textarea";
204
+ checkbox: "checkbox";
205
+ }>;
206
+ required: z.ZodBoolean;
207
+ placeholder: z.ZodNullable<z.ZodString>;
208
+ description: z.ZodNullable<z.ZodString>;
209
+ autocomplete: z.ZodNullable<z.ZodString>;
210
+ options: z.ZodArray<z.ZodObject<{
211
+ value: z.ZodString;
212
+ label: z.ZodString;
213
+ }, z.core.$strip>>;
214
+ }, z.core.$strip>>;
215
+ }, z.core.$strip>;
216
+ travelers: z.ZodObject<{
217
+ fields: z.ZodArray<z.ZodObject<{
218
+ key: z.ZodString;
219
+ label: z.ZodString;
220
+ type: z.ZodEnum<{
221
+ date: "date";
222
+ select: "select";
223
+ email: "email";
224
+ text: "text";
225
+ country: "country";
226
+ tel: "tel";
227
+ textarea: "textarea";
228
+ checkbox: "checkbox";
229
+ }>;
230
+ required: z.ZodBoolean;
231
+ placeholder: z.ZodNullable<z.ZodString>;
232
+ description: z.ZodNullable<z.ZodString>;
233
+ autocomplete: z.ZodNullable<z.ZodString>;
234
+ options: z.ZodArray<z.ZodObject<{
235
+ value: z.ZodString;
236
+ label: z.ZodString;
237
+ }, z.core.$strip>>;
238
+ }, z.core.$strip>>;
239
+ }, z.core.$strip>;
240
+ }, z.core.$strip>;
241
+ payment: z.ZodObject<{
242
+ defaultMethod: z.ZodNullable<z.ZodEnum<{
243
+ voucher: "voucher";
244
+ card: "card";
245
+ bank_transfer: "bank_transfer";
246
+ cash: "cash";
247
+ invoice: "invoice";
248
+ }>>;
249
+ methods: z.ZodArray<z.ZodObject<{
250
+ code: z.ZodEnum<{
251
+ voucher: "voucher";
252
+ card: "card";
253
+ bank_transfer: "bank_transfer";
254
+ cash: "cash";
255
+ invoice: "invoice";
256
+ }>;
257
+ label: z.ZodString;
258
+ description: z.ZodNullable<z.ZodString>;
259
+ enabled: z.ZodBoolean;
260
+ }, z.core.$strip>>;
261
+ }, z.core.$strip>;
262
+ }, z.core.$strip>;
263
+ export declare const storefrontDepartureStatusSchema: z.ZodEnum<{
264
+ open: "open";
265
+ closed: "closed";
266
+ sold_out: "sold_out";
267
+ cancelled: "cancelled";
268
+ on_request: "on_request";
269
+ }>;
270
+ export declare const storefrontDepartureRoomOccupancySchema: z.ZodObject<{
271
+ adultsMin: z.ZodNumber;
272
+ adultsMax: z.ZodNumber;
273
+ childrenMax: z.ZodNumber;
274
+ }, z.core.$strip>;
275
+ export declare const storefrontDepartureRoomPriceSchema: z.ZodObject<{
276
+ amount: z.ZodNumber;
277
+ currencyCode: z.ZodString;
278
+ roomType: z.ZodObject<{
279
+ id: z.ZodString;
280
+ name: z.ZodString;
281
+ occupancy: z.ZodObject<{
282
+ adultsMin: z.ZodNumber;
283
+ adultsMax: z.ZodNumber;
284
+ childrenMax: z.ZodNumber;
285
+ }, z.core.$strip>;
286
+ }, z.core.$strip>;
287
+ }, z.core.$strip>;
288
+ export declare const storefrontDepartureRatePlanSchema: z.ZodObject<{
289
+ id: z.ZodString;
290
+ active: z.ZodBoolean;
291
+ name: z.ZodString;
292
+ pricingModel: z.ZodString;
293
+ basePrices: z.ZodArray<z.ZodObject<{
294
+ amount: z.ZodNumber;
295
+ currencyCode: z.ZodString;
296
+ }, z.core.$strip>>;
297
+ roomPrices: z.ZodArray<z.ZodObject<{
298
+ amount: z.ZodNumber;
299
+ currencyCode: z.ZodString;
300
+ roomType: z.ZodObject<{
301
+ id: z.ZodString;
302
+ name: z.ZodString;
303
+ occupancy: z.ZodObject<{
304
+ adultsMin: z.ZodNumber;
305
+ adultsMax: z.ZodNumber;
306
+ childrenMax: z.ZodNumber;
307
+ }, z.core.$strip>;
308
+ }, z.core.$strip>;
309
+ }, z.core.$strip>>;
310
+ }, z.core.$strip>;
311
+ export declare const storefrontDepartureStartTimeSchema: z.ZodObject<{
312
+ id: z.ZodString;
313
+ label: z.ZodNullable<z.ZodString>;
314
+ startTimeLocal: z.ZodString;
315
+ durationMinutes: z.ZodNullable<z.ZodNumber>;
316
+ }, z.core.$strip>;
317
+ export declare const storefrontDepartureSchema: z.ZodObject<{
318
+ id: z.ZodString;
319
+ productId: z.ZodString;
320
+ itineraryId: z.ZodString;
321
+ optionId: z.ZodNullable<z.ZodString>;
322
+ dateLocal: z.ZodNullable<z.ZodString>;
323
+ startAt: z.ZodNullable<z.ZodString>;
324
+ endAt: z.ZodNullable<z.ZodString>;
325
+ timezone: z.ZodString;
326
+ startTime: z.ZodNullable<z.ZodObject<{
327
+ id: z.ZodString;
328
+ label: z.ZodNullable<z.ZodString>;
329
+ startTimeLocal: z.ZodString;
330
+ durationMinutes: z.ZodNullable<z.ZodNumber>;
331
+ }, z.core.$strip>>;
332
+ meetingPoint: z.ZodNullable<z.ZodString>;
333
+ capacity: z.ZodNullable<z.ZodNumber>;
334
+ remaining: z.ZodNullable<z.ZodNumber>;
335
+ departureStatus: z.ZodEnum<{
336
+ open: "open";
337
+ closed: "closed";
338
+ sold_out: "sold_out";
339
+ cancelled: "cancelled";
340
+ on_request: "on_request";
341
+ }>;
342
+ nights: z.ZodNullable<z.ZodNumber>;
343
+ days: z.ZodNullable<z.ZodNumber>;
344
+ ratePlans: z.ZodArray<z.ZodObject<{
345
+ id: z.ZodString;
346
+ active: z.ZodBoolean;
347
+ name: z.ZodString;
348
+ pricingModel: z.ZodString;
349
+ basePrices: z.ZodArray<z.ZodObject<{
350
+ amount: z.ZodNumber;
351
+ currencyCode: z.ZodString;
352
+ }, z.core.$strip>>;
353
+ roomPrices: z.ZodArray<z.ZodObject<{
354
+ amount: z.ZodNumber;
355
+ currencyCode: z.ZodString;
356
+ roomType: z.ZodObject<{
357
+ id: z.ZodString;
358
+ name: z.ZodString;
359
+ occupancy: z.ZodObject<{
360
+ adultsMin: z.ZodNumber;
361
+ adultsMax: z.ZodNumber;
362
+ childrenMax: z.ZodNumber;
363
+ }, z.core.$strip>;
364
+ }, z.core.$strip>;
365
+ }, z.core.$strip>>;
366
+ }, z.core.$strip>>;
367
+ }, z.core.$strip>;
368
+ export declare const storefrontDepartureListQuerySchema: z.ZodObject<{
369
+ optionId: z.ZodOptional<z.ZodString>;
370
+ status: z.ZodOptional<z.ZodEnum<{
371
+ open: "open";
372
+ closed: "closed";
373
+ sold_out: "sold_out";
374
+ cancelled: "cancelled";
375
+ }>>;
376
+ dateFrom: z.ZodOptional<z.ZodString>;
377
+ dateTo: z.ZodOptional<z.ZodString>;
378
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
379
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
380
+ }, z.core.$strip>;
381
+ export declare const storefrontDepartureListResponseSchema: z.ZodObject<{
382
+ data: z.ZodArray<z.ZodObject<{
383
+ id: z.ZodString;
384
+ productId: z.ZodString;
385
+ itineraryId: z.ZodString;
386
+ optionId: z.ZodNullable<z.ZodString>;
387
+ dateLocal: z.ZodNullable<z.ZodString>;
388
+ startAt: z.ZodNullable<z.ZodString>;
389
+ endAt: z.ZodNullable<z.ZodString>;
390
+ timezone: z.ZodString;
391
+ startTime: z.ZodNullable<z.ZodObject<{
392
+ id: z.ZodString;
393
+ label: z.ZodNullable<z.ZodString>;
394
+ startTimeLocal: z.ZodString;
395
+ durationMinutes: z.ZodNullable<z.ZodNumber>;
396
+ }, z.core.$strip>>;
397
+ meetingPoint: z.ZodNullable<z.ZodString>;
398
+ capacity: z.ZodNullable<z.ZodNumber>;
399
+ remaining: z.ZodNullable<z.ZodNumber>;
400
+ departureStatus: z.ZodEnum<{
401
+ open: "open";
402
+ closed: "closed";
403
+ sold_out: "sold_out";
404
+ cancelled: "cancelled";
405
+ on_request: "on_request";
406
+ }>;
407
+ nights: z.ZodNullable<z.ZodNumber>;
408
+ days: z.ZodNullable<z.ZodNumber>;
409
+ ratePlans: z.ZodArray<z.ZodObject<{
410
+ id: z.ZodString;
411
+ active: z.ZodBoolean;
412
+ name: z.ZodString;
413
+ pricingModel: z.ZodString;
414
+ basePrices: z.ZodArray<z.ZodObject<{
415
+ amount: z.ZodNumber;
416
+ currencyCode: z.ZodString;
417
+ }, z.core.$strip>>;
418
+ roomPrices: z.ZodArray<z.ZodObject<{
419
+ amount: z.ZodNumber;
420
+ currencyCode: z.ZodString;
421
+ roomType: z.ZodObject<{
422
+ id: z.ZodString;
423
+ name: z.ZodString;
424
+ occupancy: z.ZodObject<{
425
+ adultsMin: z.ZodNumber;
426
+ adultsMax: z.ZodNumber;
427
+ childrenMax: z.ZodNumber;
428
+ }, z.core.$strip>;
429
+ }, z.core.$strip>;
430
+ }, z.core.$strip>>;
431
+ }, z.core.$strip>>;
432
+ }, z.core.$strip>>;
433
+ total: z.ZodNumber;
434
+ limit: z.ZodNumber;
435
+ offset: z.ZodNumber;
436
+ }, z.core.$strip>;
437
+ export declare const storefrontProductAvailabilityStateSchema: z.ZodEnum<{
438
+ closed: "closed";
439
+ sold_out: "sold_out";
440
+ cancelled: "cancelled";
441
+ past_cutoff: "past_cutoff";
442
+ too_early: "too_early";
443
+ unavailable: "unavailable";
444
+ on_request: "on_request";
445
+ available: "available";
446
+ }>;
447
+ export declare const storefrontProductAvailabilitySummaryQuerySchema: z.ZodObject<{
448
+ optionId: z.ZodOptional<z.ZodString>;
449
+ status: z.ZodOptional<z.ZodEnum<{
450
+ open: "open";
451
+ closed: "closed";
452
+ sold_out: "sold_out";
453
+ cancelled: "cancelled";
454
+ on_request: "on_request";
455
+ }>>;
456
+ dateFrom: z.ZodOptional<z.ZodString>;
457
+ dateTo: z.ZodOptional<z.ZodString>;
458
+ locale: z.ZodOptional<z.ZodString>;
459
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
460
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
461
+ }, z.core.$strip>;
462
+ export declare const storefrontProductAvailabilitySlotSchema: z.ZodObject<{
463
+ id: z.ZodString;
464
+ productId: z.ZodString;
465
+ optionId: z.ZodNullable<z.ZodString>;
466
+ dateLocal: z.ZodNullable<z.ZodString>;
467
+ startAt: z.ZodNullable<z.ZodString>;
468
+ endAt: z.ZodNullable<z.ZodString>;
469
+ timezone: z.ZodString;
470
+ status: z.ZodEnum<{
471
+ open: "open";
472
+ closed: "closed";
473
+ sold_out: "sold_out";
474
+ cancelled: "cancelled";
475
+ on_request: "on_request";
476
+ }>;
477
+ availabilityState: z.ZodEnum<{
478
+ closed: "closed";
479
+ sold_out: "sold_out";
480
+ cancelled: "cancelled";
481
+ past_cutoff: "past_cutoff";
482
+ too_early: "too_early";
483
+ unavailable: "unavailable";
484
+ on_request: "on_request";
485
+ available: "available";
486
+ }>;
487
+ capacity: z.ZodNullable<z.ZodNumber>;
488
+ remaining: z.ZodNullable<z.ZodNumber>;
489
+ pastCutoff: z.ZodBoolean;
490
+ tooEarly: z.ZodBoolean;
491
+ }, z.core.$strip>;
492
+ export declare const storefrontProductAvailabilitySummarySchema: z.ZodObject<{
493
+ productId: z.ZodString;
494
+ availabilityState: z.ZodEnum<{
495
+ closed: "closed";
496
+ sold_out: "sold_out";
497
+ cancelled: "cancelled";
498
+ past_cutoff: "past_cutoff";
499
+ too_early: "too_early";
500
+ unavailable: "unavailable";
501
+ on_request: "on_request";
502
+ available: "available";
503
+ }>;
504
+ counts: z.ZodObject<{
505
+ total: z.ZodNumber;
506
+ open: z.ZodNumber;
507
+ closed: z.ZodNumber;
508
+ soldOut: z.ZodNumber;
509
+ cancelled: z.ZodNumber;
510
+ onRequest: z.ZodNumber;
511
+ pastCutoff: z.ZodNumber;
512
+ tooEarly: z.ZodNumber;
513
+ available: z.ZodNumber;
514
+ }, z.core.$strip>;
515
+ departures: z.ZodArray<z.ZodObject<{
516
+ id: z.ZodString;
517
+ productId: z.ZodString;
518
+ optionId: z.ZodNullable<z.ZodString>;
519
+ dateLocal: z.ZodNullable<z.ZodString>;
520
+ startAt: z.ZodNullable<z.ZodString>;
521
+ endAt: z.ZodNullable<z.ZodString>;
522
+ timezone: z.ZodString;
523
+ status: z.ZodEnum<{
524
+ open: "open";
525
+ closed: "closed";
526
+ sold_out: "sold_out";
527
+ cancelled: "cancelled";
528
+ on_request: "on_request";
529
+ }>;
530
+ availabilityState: z.ZodEnum<{
531
+ closed: "closed";
532
+ sold_out: "sold_out";
533
+ cancelled: "cancelled";
534
+ past_cutoff: "past_cutoff";
535
+ too_early: "too_early";
536
+ unavailable: "unavailable";
537
+ on_request: "on_request";
538
+ available: "available";
539
+ }>;
540
+ capacity: z.ZodNullable<z.ZodNumber>;
541
+ remaining: z.ZodNullable<z.ZodNumber>;
542
+ pastCutoff: z.ZodBoolean;
543
+ tooEarly: z.ZodBoolean;
544
+ }, z.core.$strip>>;
545
+ total: z.ZodNumber;
546
+ limit: z.ZodNumber;
547
+ offset: z.ZodNumber;
548
+ }, z.core.$strip>;
549
+ export declare const storefrontProductAvailabilitySummaryResponseSchema: z.ZodObject<{
550
+ data: z.ZodObject<{
551
+ productId: z.ZodString;
552
+ availabilityState: z.ZodEnum<{
553
+ closed: "closed";
554
+ sold_out: "sold_out";
555
+ cancelled: "cancelled";
556
+ past_cutoff: "past_cutoff";
557
+ too_early: "too_early";
558
+ unavailable: "unavailable";
559
+ on_request: "on_request";
560
+ available: "available";
561
+ }>;
562
+ counts: z.ZodObject<{
563
+ total: z.ZodNumber;
564
+ open: z.ZodNumber;
565
+ closed: z.ZodNumber;
566
+ soldOut: z.ZodNumber;
567
+ cancelled: z.ZodNumber;
568
+ onRequest: z.ZodNumber;
569
+ pastCutoff: z.ZodNumber;
570
+ tooEarly: z.ZodNumber;
571
+ available: z.ZodNumber;
572
+ }, z.core.$strip>;
573
+ departures: z.ZodArray<z.ZodObject<{
574
+ id: z.ZodString;
575
+ productId: z.ZodString;
576
+ optionId: z.ZodNullable<z.ZodString>;
577
+ dateLocal: z.ZodNullable<z.ZodString>;
578
+ startAt: z.ZodNullable<z.ZodString>;
579
+ endAt: z.ZodNullable<z.ZodString>;
580
+ timezone: z.ZodString;
581
+ status: z.ZodEnum<{
582
+ open: "open";
583
+ closed: "closed";
584
+ sold_out: "sold_out";
585
+ cancelled: "cancelled";
586
+ on_request: "on_request";
587
+ }>;
588
+ availabilityState: z.ZodEnum<{
589
+ closed: "closed";
590
+ sold_out: "sold_out";
591
+ cancelled: "cancelled";
592
+ past_cutoff: "past_cutoff";
593
+ too_early: "too_early";
594
+ unavailable: "unavailable";
595
+ on_request: "on_request";
596
+ available: "available";
597
+ }>;
598
+ capacity: z.ZodNullable<z.ZodNumber>;
599
+ remaining: z.ZodNullable<z.ZodNumber>;
600
+ pastCutoff: z.ZodBoolean;
601
+ tooEarly: z.ZodBoolean;
602
+ }, z.core.$strip>>;
603
+ total: z.ZodNumber;
604
+ limit: z.ZodNumber;
605
+ offset: z.ZodNumber;
606
+ }, z.core.$strip>;
607
+ }, z.core.$strip>;
608
+ export declare const storefrontDeparturePricePreviewInputSchema: z.ZodObject<{
609
+ pax: z.ZodDefault<z.ZodObject<{
610
+ adults: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
611
+ children: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
612
+ infants: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
613
+ }, z.core.$strip>>;
614
+ currencyCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
615
+ rooms: z.ZodDefault<z.ZodArray<z.ZodObject<{
616
+ unitId: z.ZodString;
617
+ occupancy: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
618
+ quantity: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
619
+ }, z.core.$strip>>>;
620
+ extras: z.ZodDefault<z.ZodArray<z.ZodObject<{
621
+ extraId: z.ZodString;
622
+ quantity: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
623
+ }, z.core.$strip>>>;
624
+ }, z.core.$strip>;
625
+ export declare const storefrontDeparturePriceLineItemSchema: z.ZodObject<{
626
+ name: z.ZodString;
627
+ total: z.ZodNumber;
628
+ quantity: z.ZodNumber;
629
+ unitPrice: z.ZodNumber;
630
+ }, z.core.$strip>;
631
+ export declare const storefrontDeparturePricePreviewSchema: z.ZodObject<{
632
+ departureId: z.ZodString;
633
+ productId: z.ZodString;
634
+ optionId: z.ZodNullable<z.ZodString>;
635
+ currencyCode: z.ZodString;
636
+ basePrice: z.ZodNumber;
637
+ taxAmount: z.ZodNumber;
638
+ total: z.ZodNumber;
639
+ notes: z.ZodNullable<z.ZodString>;
640
+ lineItems: z.ZodArray<z.ZodObject<{
641
+ name: z.ZodString;
642
+ total: z.ZodNumber;
643
+ quantity: z.ZodNumber;
644
+ unitPrice: z.ZodNumber;
645
+ }, z.core.$strip>>;
646
+ }, z.core.$strip>;
647
+ export declare const storefrontProductExtensionsQuerySchema: z.ZodObject<{
648
+ optionId: z.ZodOptional<z.ZodString>;
649
+ }, z.core.$strip>;
650
+ export declare const storefrontProductExtensionMediaSchema: z.ZodObject<{
651
+ url: z.ZodString;
652
+ alt: z.ZodNullable<z.ZodString>;
653
+ }, z.core.$strip>;
654
+ export declare const storefrontProductExtensionDetailSchema: z.ZodObject<{
655
+ description: z.ZodNullable<z.ZodString>;
656
+ media: z.ZodArray<z.ZodObject<{
657
+ url: z.ZodString;
658
+ alt: z.ZodNullable<z.ZodString>;
659
+ }, z.core.$strip>>;
660
+ }, z.core.$strip>;
661
+ export declare const storefrontProductExtensionSchema: z.ZodObject<{
662
+ id: z.ZodString;
663
+ name: z.ZodString;
664
+ label: z.ZodString;
665
+ required: z.ZodBoolean;
666
+ selectable: z.ZodBoolean;
667
+ hasOptions: z.ZodBoolean;
668
+ refProductId: z.ZodNullable<z.ZodString>;
669
+ thumb: z.ZodNullable<z.ZodString>;
670
+ pricePerPerson: z.ZodNullable<z.ZodNumber>;
671
+ currencyCode: z.ZodString;
672
+ pricingMode: z.ZodEnum<{
673
+ included: "included";
674
+ per_person: "per_person";
675
+ per_booking: "per_booking";
676
+ quantity_based: "quantity_based";
677
+ on_request: "on_request";
678
+ free: "free";
679
+ }>;
680
+ defaultQuantity: z.ZodNullable<z.ZodNumber>;
681
+ minQuantity: z.ZodNullable<z.ZodNumber>;
682
+ maxQuantity: z.ZodNullable<z.ZodNumber>;
683
+ }, z.core.$strip>;
684
+ export declare const storefrontProductExtensionsResponseSchema: z.ZodObject<{
685
+ extensions: z.ZodArray<z.ZodObject<{
686
+ id: z.ZodString;
687
+ name: z.ZodString;
688
+ label: z.ZodString;
689
+ required: z.ZodBoolean;
690
+ selectable: z.ZodBoolean;
691
+ hasOptions: z.ZodBoolean;
692
+ refProductId: z.ZodNullable<z.ZodString>;
693
+ thumb: z.ZodNullable<z.ZodString>;
694
+ pricePerPerson: z.ZodNullable<z.ZodNumber>;
695
+ currencyCode: z.ZodString;
696
+ pricingMode: z.ZodEnum<{
697
+ included: "included";
698
+ per_person: "per_person";
699
+ per_booking: "per_booking";
700
+ quantity_based: "quantity_based";
701
+ on_request: "on_request";
702
+ free: "free";
703
+ }>;
704
+ defaultQuantity: z.ZodNullable<z.ZodNumber>;
705
+ minQuantity: z.ZodNullable<z.ZodNumber>;
706
+ maxQuantity: z.ZodNullable<z.ZodNumber>;
707
+ }, z.core.$strip>>;
708
+ items: z.ZodArray<z.ZodObject<{
709
+ id: z.ZodString;
710
+ name: z.ZodString;
711
+ label: z.ZodString;
712
+ required: z.ZodBoolean;
713
+ selectable: z.ZodBoolean;
714
+ hasOptions: z.ZodBoolean;
715
+ refProductId: z.ZodNullable<z.ZodString>;
716
+ thumb: z.ZodNullable<z.ZodString>;
717
+ pricePerPerson: z.ZodNullable<z.ZodNumber>;
718
+ currencyCode: z.ZodString;
719
+ pricingMode: z.ZodEnum<{
720
+ included: "included";
721
+ per_person: "per_person";
722
+ per_booking: "per_booking";
723
+ quantity_based: "quantity_based";
724
+ on_request: "on_request";
725
+ free: "free";
726
+ }>;
727
+ defaultQuantity: z.ZodNullable<z.ZodNumber>;
728
+ minQuantity: z.ZodNullable<z.ZodNumber>;
729
+ maxQuantity: z.ZodNullable<z.ZodNumber>;
730
+ }, z.core.$strip>>;
731
+ details: z.ZodRecord<z.ZodString, z.ZodObject<{
732
+ description: z.ZodNullable<z.ZodString>;
733
+ media: z.ZodArray<z.ZodObject<{
734
+ url: z.ZodString;
735
+ alt: z.ZodNullable<z.ZodString>;
736
+ }, z.core.$strip>>;
737
+ }, z.core.$strip>>;
738
+ currencyCode: z.ZodString;
739
+ }, z.core.$strip>;
740
+ export declare const storefrontDepartureItinerarySegmentSchema: z.ZodObject<{
741
+ id: z.ZodString;
742
+ title: z.ZodString;
743
+ description: z.ZodNullable<z.ZodString>;
744
+ }, z.core.$strip>;
745
+ export declare const storefrontDepartureItineraryDaySchema: z.ZodObject<{
746
+ id: z.ZodString;
747
+ title: z.ZodString;
748
+ description: z.ZodNullable<z.ZodString>;
749
+ thumbnail: z.ZodNullable<z.ZodObject<{
750
+ url: z.ZodString;
751
+ }, z.core.$strip>>;
752
+ segments: z.ZodArray<z.ZodObject<{
753
+ id: z.ZodString;
754
+ title: z.ZodString;
755
+ description: z.ZodNullable<z.ZodString>;
756
+ }, z.core.$strip>>;
757
+ }, z.core.$strip>;
758
+ export declare const storefrontDepartureItinerarySchema: z.ZodObject<{
759
+ id: z.ZodString;
760
+ days: z.ZodArray<z.ZodObject<{
761
+ id: z.ZodString;
762
+ title: z.ZodString;
763
+ description: z.ZodNullable<z.ZodString>;
764
+ thumbnail: z.ZodNullable<z.ZodObject<{
765
+ url: z.ZodString;
766
+ }, z.core.$strip>>;
767
+ segments: z.ZodArray<z.ZodObject<{
768
+ id: z.ZodString;
769
+ title: z.ZodString;
770
+ description: z.ZodNullable<z.ZodString>;
771
+ }, z.core.$strip>>;
772
+ }, z.core.$strip>>;
773
+ }, z.core.$strip>;
774
+ export declare const storefrontPromotionalOfferSchema: z.ZodObject<{
775
+ id: z.ZodString;
776
+ name: z.ZodString;
777
+ slug: z.ZodNullable<z.ZodString>;
778
+ description: z.ZodNullable<z.ZodString>;
779
+ discountType: z.ZodEnum<{
780
+ percentage: "percentage";
781
+ fixed_amount: "fixed_amount";
782
+ }>;
783
+ discountValue: z.ZodString;
784
+ currency: z.ZodNullable<z.ZodString>;
785
+ applicableProductIds: z.ZodArray<z.ZodString>;
786
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
787
+ validFrom: z.ZodNullable<z.ZodString>;
788
+ validTo: z.ZodNullable<z.ZodString>;
789
+ minTravelers: z.ZodNullable<z.ZodNumber>;
790
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
791
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
792
+ stackable: z.ZodBoolean;
793
+ createdAt: z.ZodString;
794
+ updatedAt: z.ZodString;
795
+ }, z.core.$strip>;
796
+ export declare const storefrontPromotionalOfferListQuerySchema: z.ZodObject<{
797
+ departureId: z.ZodOptional<z.ZodString>;
798
+ locale: z.ZodOptional<z.ZodString>;
799
+ }, z.core.$strip>;
800
+ export declare const storefrontPromotionalOfferListResponseSchema: z.ZodObject<{
801
+ data: z.ZodArray<z.ZodObject<{
802
+ id: z.ZodString;
803
+ name: z.ZodString;
804
+ slug: z.ZodNullable<z.ZodString>;
805
+ description: z.ZodNullable<z.ZodString>;
806
+ discountType: z.ZodEnum<{
807
+ percentage: "percentage";
808
+ fixed_amount: "fixed_amount";
809
+ }>;
810
+ discountValue: z.ZodString;
811
+ currency: z.ZodNullable<z.ZodString>;
812
+ applicableProductIds: z.ZodArray<z.ZodString>;
813
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
814
+ validFrom: z.ZodNullable<z.ZodString>;
815
+ validTo: z.ZodNullable<z.ZodString>;
816
+ minTravelers: z.ZodNullable<z.ZodNumber>;
817
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
818
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
819
+ stackable: z.ZodBoolean;
820
+ createdAt: z.ZodString;
821
+ updatedAt: z.ZodString;
822
+ }, z.core.$strip>>;
823
+ }, z.core.$strip>;
824
+ export declare const storefrontPromotionalOfferResponseSchema: z.ZodObject<{
825
+ data: z.ZodObject<{
826
+ id: z.ZodString;
827
+ name: z.ZodString;
828
+ slug: z.ZodNullable<z.ZodString>;
829
+ description: z.ZodNullable<z.ZodString>;
830
+ discountType: z.ZodEnum<{
831
+ percentage: "percentage";
832
+ fixed_amount: "fixed_amount";
833
+ }>;
834
+ discountValue: z.ZodString;
835
+ currency: z.ZodNullable<z.ZodString>;
836
+ applicableProductIds: z.ZodArray<z.ZodString>;
837
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
838
+ validFrom: z.ZodNullable<z.ZodString>;
839
+ validTo: z.ZodNullable<z.ZodString>;
840
+ minTravelers: z.ZodNullable<z.ZodNumber>;
841
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
842
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
843
+ stackable: z.ZodBoolean;
844
+ createdAt: z.ZodString;
845
+ updatedAt: z.ZodString;
846
+ }, z.core.$strip>;
847
+ }, z.core.$strip>;
848
+ export type StorefrontFormFieldInput = z.infer<typeof storefrontFormFieldInputSchema>;
849
+ export type StorefrontFormField = z.infer<typeof storefrontFormFieldSchema>;
850
+ export type StorefrontPaymentMethodInput = z.infer<typeof storefrontPaymentMethodInputSchema>;
851
+ export type StorefrontPaymentMethod = z.infer<typeof storefrontPaymentMethodSchema>;
852
+ export type StorefrontPaymentMethodCode = z.infer<typeof storefrontPaymentMethodCodeSchema>;
853
+ export type StorefrontSettingsInput = z.infer<typeof storefrontSettingsInputSchema>;
854
+ export type StorefrontSettings = z.infer<typeof storefrontSettingsSchema>;
855
+ export type StorefrontDepartureListQuery = z.infer<typeof storefrontDepartureListQuerySchema>;
856
+ export type StorefrontProductAvailabilitySummaryQuery = z.infer<typeof storefrontProductAvailabilitySummaryQuerySchema>;
857
+ export type StorefrontDeparturePricePreviewInput = z.infer<typeof storefrontDeparturePricePreviewInputSchema>;
858
+ export type StorefrontPromotionalOffer = z.infer<typeof storefrontPromotionalOfferSchema>;
859
+ //# sourceMappingURL=validation.d.ts.map