@voyantjs/storefront 0.49.0 → 0.50.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.
@@ -1,4 +1,6 @@
1
1
  import { z } from "zod";
2
+ export type { StorefrontBankTransfer, StorefrontBankTransferInput, StorefrontCurrencyDisplay, StorefrontFormField, StorefrontFormFieldInput, StorefrontPaymentMethod, StorefrontPaymentMethodCode, StorefrontPaymentMethodInput, StorefrontPaymentSchedule, StorefrontPaymentScheduleInput, StorefrontSettings, StorefrontSettingsInput, StorefrontSettingsPatchInput, StorefrontSupportLink, StorefrontSupportLinkInput, } from "./validation-settings.js";
3
+ export { storefrontBankTransferInputSchema, storefrontBankTransferSchema, storefrontCurrencyDisplaySchema, storefrontFormFieldInputSchema, storefrontFormFieldOptionSchema, storefrontFormFieldSchema, storefrontFormFieldTypeSchema, storefrontPaymentMethodCodeSchema, storefrontPaymentMethodInputSchema, storefrontPaymentMethodSchema, storefrontPaymentScheduleInputSchema, storefrontPaymentScheduleSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, storefrontSupportLinkInputSchema, storefrontSupportLinkSchema, } from "./validation-settings.js";
2
4
  export declare const storefrontIntakeConsentSchema: z.ZodObject<{
3
5
  marketing: z.ZodDefault<z.ZodBoolean>;
4
6
  newsletter: z.ZodDefault<z.ZodBoolean>;
@@ -25,8 +27,8 @@ export declare const storefrontLeadIntakeInputSchema: z.ZodObject<{
25
27
  admin: "admin";
26
28
  form: "form";
27
29
  phone: "phone";
28
- website: "website";
29
30
  booking: "booking";
31
+ website: "website";
30
32
  abandoned_cart: "abandoned_cart";
31
33
  }>>;
32
34
  contact: z.ZodObject<{
@@ -61,8 +63,8 @@ export declare const storefrontNewsletterSubscribeInputSchema: z.ZodObject<{
61
63
  admin: "admin";
62
64
  form: "form";
63
65
  phone: "phone";
64
- website: "website";
65
66
  booking: "booking";
67
+ website: "website";
66
68
  abandoned_cart: "abandoned_cart";
67
69
  }>>;
68
70
  sourceSubmissionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -92,8 +94,8 @@ export declare const storefrontIntakeResponseSchema: z.ZodObject<{
92
94
  admin: "admin";
93
95
  form: "form";
94
96
  phone: "phone";
95
- website: "website";
96
97
  booking: "booking";
98
+ website: "website";
97
99
  abandoned_cart: "abandoned_cart";
98
100
  }>;
99
101
  status: z.ZodEnum<{
@@ -120,8 +122,8 @@ export declare const storefrontNewsletterSubscribeResponseSchema: z.ZodObject<{
120
122
  admin: "admin";
121
123
  form: "form";
122
124
  phone: "phone";
123
- website: "website";
124
125
  booking: "booking";
126
+ website: "website";
125
127
  abandoned_cart: "abandoned_cart";
126
128
  }>;
127
129
  status: z.ZodEnum<{
@@ -134,8 +136,8 @@ export declare const storefrontNewsletterSubscribeResponseSchema: z.ZodObject<{
134
136
  }>;
135
137
  duplicate: z.ZodBoolean;
136
138
  doubleOptIn: z.ZodEnum<{
137
- not_configured: "not_configured";
138
139
  requested: "requested";
140
+ not_configured: "not_configured";
139
141
  }>;
140
142
  }, z.core.$strip>;
141
143
  export type StorefrontIntakeConsent = z.infer<typeof storefrontIntakeConsentSchema>;
@@ -144,267 +146,6 @@ export type StorefrontLeadIntakeInput = z.infer<typeof storefrontLeadIntakeInput
144
146
  export type StorefrontNewsletterSubscribeInput = z.infer<typeof storefrontNewsletterSubscribeInputSchema>;
145
147
  export type StorefrontIntakeResponse = z.infer<typeof storefrontIntakeResponseSchema>;
146
148
  export type StorefrontNewsletterSubscribeResponse = z.infer<typeof storefrontNewsletterSubscribeResponseSchema>;
147
- export declare const storefrontPaymentMethodCodeSchema: z.ZodEnum<{
148
- voucher: "voucher";
149
- bank_transfer: "bank_transfer";
150
- card: "card";
151
- cash: "cash";
152
- invoice: "invoice";
153
- }>;
154
- export declare const storefrontFormFieldTypeSchema: z.ZodEnum<{
155
- text: "text";
156
- date: "date";
157
- select: "select";
158
- email: "email";
159
- country: "country";
160
- tel: "tel";
161
- textarea: "textarea";
162
- checkbox: "checkbox";
163
- }>;
164
- export declare const storefrontFormFieldOptionSchema: z.ZodObject<{
165
- value: z.ZodString;
166
- label: z.ZodString;
167
- }, z.core.$strip>;
168
- export declare const storefrontFormFieldInputSchema: z.ZodObject<{
169
- key: z.ZodString;
170
- label: z.ZodString;
171
- type: z.ZodDefault<z.ZodEnum<{
172
- text: "text";
173
- date: "date";
174
- select: "select";
175
- email: "email";
176
- country: "country";
177
- tel: "tel";
178
- textarea: "textarea";
179
- checkbox: "checkbox";
180
- }>>;
181
- required: z.ZodDefault<z.ZodBoolean>;
182
- placeholder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
183
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
184
- autocomplete: z.ZodNullable<z.ZodOptional<z.ZodString>>;
185
- options: z.ZodDefault<z.ZodArray<z.ZodObject<{
186
- value: z.ZodString;
187
- label: z.ZodString;
188
- }, z.core.$strip>>>;
189
- }, z.core.$strip>;
190
- export declare const storefrontFormFieldSchema: z.ZodObject<{
191
- key: z.ZodString;
192
- label: z.ZodString;
193
- type: z.ZodEnum<{
194
- text: "text";
195
- date: "date";
196
- select: "select";
197
- email: "email";
198
- country: "country";
199
- tel: "tel";
200
- textarea: "textarea";
201
- checkbox: "checkbox";
202
- }>;
203
- required: z.ZodBoolean;
204
- placeholder: z.ZodNullable<z.ZodString>;
205
- description: z.ZodNullable<z.ZodString>;
206
- autocomplete: z.ZodNullable<z.ZodString>;
207
- options: z.ZodArray<z.ZodObject<{
208
- value: z.ZodString;
209
- label: z.ZodString;
210
- }, z.core.$strip>>;
211
- }, z.core.$strip>;
212
- export declare const storefrontPaymentMethodInputSchema: z.ZodObject<{
213
- code: z.ZodEnum<{
214
- voucher: "voucher";
215
- bank_transfer: "bank_transfer";
216
- card: "card";
217
- cash: "cash";
218
- invoice: "invoice";
219
- }>;
220
- label: z.ZodOptional<z.ZodString>;
221
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
222
- enabled: z.ZodDefault<z.ZodBoolean>;
223
- }, z.core.$strip>;
224
- export declare const storefrontPaymentMethodSchema: z.ZodObject<{
225
- code: z.ZodEnum<{
226
- voucher: "voucher";
227
- bank_transfer: "bank_transfer";
228
- card: "card";
229
- cash: "cash";
230
- invoice: "invoice";
231
- }>;
232
- label: z.ZodString;
233
- description: z.ZodNullable<z.ZodString>;
234
- enabled: z.ZodBoolean;
235
- }, z.core.$strip>;
236
- export declare const storefrontSettingsInputSchema: z.ZodObject<{
237
- branding: z.ZodOptional<z.ZodObject<{
238
- logoUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
239
- supportedLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
240
- }, z.core.$strip>>;
241
- support: z.ZodOptional<z.ZodObject<{
242
- email: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
243
- phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
244
- }, z.core.$strip>>;
245
- legal: z.ZodOptional<z.ZodObject<{
246
- termsUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
247
- privacyUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
248
- defaultContractTemplateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
249
- }, z.core.$strip>>;
250
- forms: z.ZodOptional<z.ZodObject<{
251
- billing: z.ZodOptional<z.ZodObject<{
252
- fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
253
- key: z.ZodString;
254
- label: z.ZodString;
255
- type: z.ZodDefault<z.ZodEnum<{
256
- text: "text";
257
- date: "date";
258
- select: "select";
259
- email: "email";
260
- country: "country";
261
- tel: "tel";
262
- textarea: "textarea";
263
- checkbox: "checkbox";
264
- }>>;
265
- required: z.ZodDefault<z.ZodBoolean>;
266
- placeholder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
267
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
268
- autocomplete: z.ZodNullable<z.ZodOptional<z.ZodString>>;
269
- options: z.ZodDefault<z.ZodArray<z.ZodObject<{
270
- value: z.ZodString;
271
- label: z.ZodString;
272
- }, z.core.$strip>>>;
273
- }, z.core.$strip>>>;
274
- }, z.core.$strip>>;
275
- travelers: z.ZodOptional<z.ZodObject<{
276
- fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
277
- key: z.ZodString;
278
- label: z.ZodString;
279
- type: z.ZodDefault<z.ZodEnum<{
280
- text: "text";
281
- date: "date";
282
- select: "select";
283
- email: "email";
284
- country: "country";
285
- tel: "tel";
286
- textarea: "textarea";
287
- checkbox: "checkbox";
288
- }>>;
289
- required: z.ZodDefault<z.ZodBoolean>;
290
- placeholder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
291
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
292
- autocomplete: z.ZodNullable<z.ZodOptional<z.ZodString>>;
293
- options: z.ZodDefault<z.ZodArray<z.ZodObject<{
294
- value: z.ZodString;
295
- label: z.ZodString;
296
- }, z.core.$strip>>>;
297
- }, z.core.$strip>>>;
298
- }, z.core.$strip>>;
299
- }, z.core.$strip>>;
300
- payment: z.ZodOptional<z.ZodObject<{
301
- defaultMethod: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
302
- voucher: "voucher";
303
- bank_transfer: "bank_transfer";
304
- card: "card";
305
- cash: "cash";
306
- invoice: "invoice";
307
- }>>>;
308
- methods: z.ZodOptional<z.ZodArray<z.ZodObject<{
309
- code: z.ZodEnum<{
310
- voucher: "voucher";
311
- bank_transfer: "bank_transfer";
312
- card: "card";
313
- cash: "cash";
314
- invoice: "invoice";
315
- }>;
316
- label: z.ZodOptional<z.ZodString>;
317
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
318
- enabled: z.ZodDefault<z.ZodBoolean>;
319
- }, z.core.$strip>>>;
320
- }, z.core.$strip>>;
321
- }, z.core.$strip>;
322
- export declare const storefrontSettingsSchema: z.ZodObject<{
323
- branding: z.ZodObject<{
324
- logoUrl: z.ZodNullable<z.ZodURL>;
325
- supportedLanguages: z.ZodArray<z.ZodString>;
326
- }, z.core.$strip>;
327
- support: z.ZodObject<{
328
- email: z.ZodNullable<z.ZodEmail>;
329
- phone: z.ZodNullable<z.ZodString>;
330
- }, z.core.$strip>;
331
- legal: z.ZodObject<{
332
- termsUrl: z.ZodNullable<z.ZodURL>;
333
- privacyUrl: z.ZodNullable<z.ZodURL>;
334
- defaultContractTemplateId: z.ZodNullable<z.ZodString>;
335
- }, z.core.$strip>;
336
- forms: z.ZodObject<{
337
- billing: z.ZodObject<{
338
- fields: z.ZodArray<z.ZodObject<{
339
- key: z.ZodString;
340
- label: z.ZodString;
341
- type: z.ZodEnum<{
342
- text: "text";
343
- date: "date";
344
- select: "select";
345
- email: "email";
346
- country: "country";
347
- tel: "tel";
348
- textarea: "textarea";
349
- checkbox: "checkbox";
350
- }>;
351
- required: z.ZodBoolean;
352
- placeholder: z.ZodNullable<z.ZodString>;
353
- description: z.ZodNullable<z.ZodString>;
354
- autocomplete: z.ZodNullable<z.ZodString>;
355
- options: z.ZodArray<z.ZodObject<{
356
- value: z.ZodString;
357
- label: z.ZodString;
358
- }, z.core.$strip>>;
359
- }, z.core.$strip>>;
360
- }, z.core.$strip>;
361
- travelers: z.ZodObject<{
362
- fields: z.ZodArray<z.ZodObject<{
363
- key: z.ZodString;
364
- label: z.ZodString;
365
- type: z.ZodEnum<{
366
- text: "text";
367
- date: "date";
368
- select: "select";
369
- email: "email";
370
- country: "country";
371
- tel: "tel";
372
- textarea: "textarea";
373
- checkbox: "checkbox";
374
- }>;
375
- required: z.ZodBoolean;
376
- placeholder: z.ZodNullable<z.ZodString>;
377
- description: z.ZodNullable<z.ZodString>;
378
- autocomplete: z.ZodNullable<z.ZodString>;
379
- options: z.ZodArray<z.ZodObject<{
380
- value: z.ZodString;
381
- label: z.ZodString;
382
- }, z.core.$strip>>;
383
- }, z.core.$strip>>;
384
- }, z.core.$strip>;
385
- }, z.core.$strip>;
386
- payment: z.ZodObject<{
387
- defaultMethod: z.ZodNullable<z.ZodEnum<{
388
- voucher: "voucher";
389
- bank_transfer: "bank_transfer";
390
- card: "card";
391
- cash: "cash";
392
- invoice: "invoice";
393
- }>>;
394
- methods: z.ZodArray<z.ZodObject<{
395
- code: z.ZodEnum<{
396
- voucher: "voucher";
397
- bank_transfer: "bank_transfer";
398
- card: "card";
399
- cash: "cash";
400
- invoice: "invoice";
401
- }>;
402
- label: z.ZodString;
403
- description: z.ZodNullable<z.ZodString>;
404
- enabled: z.ZodBoolean;
405
- }, z.core.$strip>>;
406
- }, z.core.$strip>;
407
- }, z.core.$strip>;
408
149
  export declare const storefrontDepartureStatusSchema: z.ZodEnum<{
409
150
  cancelled: "cancelled";
410
151
  open: "open";
@@ -585,8 +326,8 @@ export declare const storefrontProductAvailabilityStateSchema: z.ZodEnum<{
585
326
  sold_out: "sold_out";
586
327
  past_cutoff: "past_cutoff";
587
328
  too_early: "too_early";
588
- unavailable: "unavailable";
589
329
  on_request: "on_request";
330
+ unavailable: "unavailable";
590
331
  available: "available";
591
332
  }>;
592
333
  export declare const storefrontProductAvailabilitySummaryQuerySchema: z.ZodObject<{
@@ -625,8 +366,8 @@ export declare const storefrontProductAvailabilitySlotSchema: z.ZodObject<{
625
366
  sold_out: "sold_out";
626
367
  past_cutoff: "past_cutoff";
627
368
  too_early: "too_early";
628
- unavailable: "unavailable";
629
369
  on_request: "on_request";
370
+ unavailable: "unavailable";
630
371
  available: "available";
631
372
  }>;
632
373
  capacity: z.ZodNullable<z.ZodNumber>;
@@ -642,8 +383,8 @@ export declare const storefrontProductAvailabilitySummarySchema: z.ZodObject<{
642
383
  sold_out: "sold_out";
643
384
  past_cutoff: "past_cutoff";
644
385
  too_early: "too_early";
645
- unavailable: "unavailable";
646
386
  on_request: "on_request";
387
+ unavailable: "unavailable";
647
388
  available: "available";
648
389
  }>;
649
390
  counts: z.ZodObject<{
@@ -678,8 +419,8 @@ export declare const storefrontProductAvailabilitySummarySchema: z.ZodObject<{
678
419
  sold_out: "sold_out";
679
420
  past_cutoff: "past_cutoff";
680
421
  too_early: "too_early";
681
- unavailable: "unavailable";
682
422
  on_request: "on_request";
423
+ unavailable: "unavailable";
683
424
  available: "available";
684
425
  }>;
685
426
  capacity: z.ZodNullable<z.ZodNumber>;
@@ -700,8 +441,8 @@ export declare const storefrontProductAvailabilitySummaryResponseSchema: z.ZodOb
700
441
  sold_out: "sold_out";
701
442
  past_cutoff: "past_cutoff";
702
443
  too_early: "too_early";
703
- unavailable: "unavailable";
704
444
  on_request: "on_request";
445
+ unavailable: "unavailable";
705
446
  available: "available";
706
447
  }>;
707
448
  counts: z.ZodObject<{
@@ -736,8 +477,8 @@ export declare const storefrontProductAvailabilitySummaryResponseSchema: z.ZodOb
736
477
  sold_out: "sold_out";
737
478
  past_cutoff: "past_cutoff";
738
479
  too_early: "too_early";
739
- unavailable: "unavailable";
740
480
  on_request: "on_request";
481
+ unavailable: "unavailable";
741
482
  available: "available";
742
483
  }>;
743
484
  capacity: z.ZodNullable<z.ZodNumber>;
@@ -766,6 +507,12 @@ export declare const storefrontDeparturePricePreviewInputSchema: z.ZodObject<{
766
507
  extraId: z.ZodString;
767
508
  quantity: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
768
509
  }, z.core.$strip>>>;
510
+ offers: z.ZodDefault<z.ZodArray<z.ZodObject<{
511
+ slug: z.ZodString;
512
+ }, z.core.$strip>>>;
513
+ offerCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
514
+ locale: z.ZodOptional<z.ZodString>;
515
+ market: z.ZodDefault<z.ZodString>;
769
516
  }, z.core.$strip>;
770
517
  export declare const storefrontDeparturePriceLineItemSchema: z.ZodObject<{
771
518
  name: z.ZodString;
@@ -773,114 +520,1251 @@ export declare const storefrontDeparturePriceLineItemSchema: z.ZodObject<{
773
520
  quantity: z.ZodNumber;
774
521
  unitPrice: z.ZodNumber;
775
522
  }, z.core.$strip>;
776
- export declare const storefrontDeparturePricePreviewSchema: z.ZodObject<{
777
- departureId: z.ZodString;
523
+ export declare const storefrontDeparturePriceSlotSchema: z.ZodObject<{
524
+ id: z.ZodString;
778
525
  productId: z.ZodString;
779
526
  optionId: z.ZodNullable<z.ZodString>;
527
+ dateLocal: z.ZodNullable<z.ZodString>;
528
+ startAt: z.ZodNullable<z.ZodString>;
529
+ endAt: z.ZodNullable<z.ZodString>;
530
+ timezone: z.ZodString;
531
+ status: z.ZodEnum<{
532
+ cancelled: "cancelled";
533
+ open: "open";
534
+ closed: "closed";
535
+ sold_out: "sold_out";
536
+ on_request: "on_request";
537
+ }>;
538
+ availabilityState: z.ZodEnum<{
539
+ cancelled: "cancelled";
540
+ closed: "closed";
541
+ sold_out: "sold_out";
542
+ past_cutoff: "past_cutoff";
543
+ too_early: "too_early";
544
+ on_request: "on_request";
545
+ unavailable: "unavailable";
546
+ available: "available";
547
+ }>;
548
+ capacity: z.ZodNullable<z.ZodNumber>;
549
+ remaining: z.ZodNullable<z.ZodNumber>;
550
+ pastCutoff: z.ZodBoolean;
551
+ tooEarly: z.ZodBoolean;
552
+ }, z.core.$strip>;
553
+ export declare const storefrontDeparturePricePaxSchema: z.ZodObject<{
554
+ adults: z.ZodNumber;
555
+ children: z.ZodNumber;
556
+ infants: z.ZodNumber;
557
+ total: z.ZodNumber;
558
+ }, z.core.$strip>;
559
+ export declare const storefrontDeparturePriceUnitRowSchema: z.ZodObject<{
560
+ unitId: z.ZodNullable<z.ZodString>;
561
+ requestRef: z.ZodNullable<z.ZodString>;
562
+ name: z.ZodString;
563
+ unitType: z.ZodNullable<z.ZodString>;
564
+ quantity: z.ZodNumber;
565
+ pricingMode: z.ZodNullable<z.ZodString>;
566
+ unitPrice: z.ZodNumber;
567
+ total: z.ZodNumber;
780
568
  currencyCode: z.ZodString;
781
- basePrice: z.ZodNumber;
782
- taxAmount: z.ZodNumber;
569
+ tierId: z.ZodNullable<z.ZodString>;
570
+ }, z.core.$strip>;
571
+ export declare const storefrontDeparturePriceRoomRowSchema: z.ZodObject<{
572
+ unitId: z.ZodString;
573
+ name: z.ZodString;
574
+ occupancy: z.ZodNumber;
575
+ quantity: z.ZodNumber;
576
+ pax: z.ZodNumber;
577
+ pricingMode: z.ZodNullable<z.ZodString>;
578
+ unitPrice: z.ZodNumber;
783
579
  total: z.ZodNumber;
784
- notes: z.ZodNullable<z.ZodString>;
785
- lineItems: z.ZodArray<z.ZodObject<{
786
- name: z.ZodString;
580
+ currencyCode: z.ZodString;
581
+ tierId: z.ZodNullable<z.ZodString>;
582
+ }, z.core.$strip>;
583
+ export declare const storefrontDeparturePriceAllocationSchema: z.ZodObject<{
584
+ slot: z.ZodObject<{
585
+ id: z.ZodString;
586
+ productId: z.ZodString;
587
+ optionId: z.ZodNullable<z.ZodString>;
588
+ dateLocal: z.ZodNullable<z.ZodString>;
589
+ startAt: z.ZodNullable<z.ZodString>;
590
+ endAt: z.ZodNullable<z.ZodString>;
591
+ timezone: z.ZodString;
592
+ status: z.ZodEnum<{
593
+ cancelled: "cancelled";
594
+ open: "open";
595
+ closed: "closed";
596
+ sold_out: "sold_out";
597
+ on_request: "on_request";
598
+ }>;
599
+ availabilityState: z.ZodEnum<{
600
+ cancelled: "cancelled";
601
+ closed: "closed";
602
+ sold_out: "sold_out";
603
+ past_cutoff: "past_cutoff";
604
+ too_early: "too_early";
605
+ on_request: "on_request";
606
+ unavailable: "unavailable";
607
+ available: "available";
608
+ }>;
609
+ capacity: z.ZodNullable<z.ZodNumber>;
610
+ remaining: z.ZodNullable<z.ZodNumber>;
611
+ pastCutoff: z.ZodBoolean;
612
+ tooEarly: z.ZodBoolean;
613
+ }, z.core.$strip>;
614
+ pax: z.ZodObject<{
615
+ adults: z.ZodNumber;
616
+ children: z.ZodNumber;
617
+ infants: z.ZodNumber;
787
618
  total: z.ZodNumber;
619
+ }, z.core.$strip>;
620
+ requestedUnits: z.ZodArray<z.ZodObject<{
621
+ unitId: z.ZodNullable<z.ZodString>;
622
+ requestRef: z.ZodNullable<z.ZodString>;
623
+ name: z.ZodString;
624
+ unitType: z.ZodNullable<z.ZodString>;
788
625
  quantity: z.ZodNumber;
626
+ pricingMode: z.ZodNullable<z.ZodString>;
789
627
  unitPrice: z.ZodNumber;
628
+ total: z.ZodNumber;
629
+ currencyCode: z.ZodString;
630
+ tierId: z.ZodNullable<z.ZodString>;
790
631
  }, z.core.$strip>>;
791
- }, z.core.$strip>;
792
- export declare const storefrontProductExtensionsQuerySchema: z.ZodObject<{
793
- optionId: z.ZodOptional<z.ZodString>;
794
- }, z.core.$strip>;
795
- export declare const storefrontProductExtensionMediaSchema: z.ZodObject<{
796
- url: z.ZodString;
797
- alt: z.ZodNullable<z.ZodString>;
798
- }, z.core.$strip>;
799
- export declare const storefrontProductExtensionDetailSchema: z.ZodObject<{
800
- description: z.ZodNullable<z.ZodString>;
801
- media: z.ZodArray<z.ZodObject<{
802
- url: z.ZodString;
803
- alt: z.ZodNullable<z.ZodString>;
632
+ rooms: z.ZodArray<z.ZodObject<{
633
+ unitId: z.ZodString;
634
+ name: z.ZodString;
635
+ occupancy: z.ZodNumber;
636
+ quantity: z.ZodNumber;
637
+ pax: z.ZodNumber;
638
+ pricingMode: z.ZodNullable<z.ZodString>;
639
+ unitPrice: z.ZodNumber;
640
+ total: z.ZodNumber;
641
+ currencyCode: z.ZodString;
642
+ tierId: z.ZodNullable<z.ZodString>;
804
643
  }, z.core.$strip>>;
805
644
  }, z.core.$strip>;
806
- export declare const storefrontProductExtensionSchema: z.ZodObject<{
807
- id: z.ZodString;
645
+ export declare const storefrontDeparturePriceExtraImpactSchema: z.ZodObject<{
646
+ extraId: z.ZodString;
808
647
  name: z.ZodString;
809
- label: z.ZodString;
810
648
  required: z.ZodBoolean;
811
649
  selectable: z.ZodBoolean;
812
- hasOptions: z.ZodBoolean;
813
- refProductId: z.ZodNullable<z.ZodString>;
814
- thumb: z.ZodNullable<z.ZodString>;
815
- pricePerPerson: z.ZodNullable<z.ZodNumber>;
816
- currencyCode: z.ZodString;
650
+ selected: z.ZodBoolean;
817
651
  pricingMode: z.ZodLazy<z.ZodEnum<{
652
+ per_booking: "per_booking";
653
+ free: "free";
818
654
  included: "included";
655
+ on_request: "on_request";
819
656
  per_person: "per_person";
820
- per_booking: "per_booking";
821
657
  quantity_based: "quantity_based";
822
- on_request: "on_request";
823
- free: "free";
824
658
  }>>;
825
- defaultQuantity: z.ZodNullable<z.ZodNumber>;
826
- minQuantity: z.ZodNullable<z.ZodNumber>;
827
- maxQuantity: z.ZodNullable<z.ZodNumber>;
659
+ quantity: z.ZodNumber;
660
+ unitPrice: z.ZodNumber;
661
+ total: z.ZodNumber;
662
+ currencyCode: z.ZodString;
828
663
  }, z.core.$strip>;
829
- export declare const storefrontProductExtensionsResponseSchema: z.ZodObject<{
830
- extensions: z.ZodArray<z.ZodObject<{
831
- id: z.ZodString;
832
- name: z.ZodString;
833
- label: z.ZodString;
834
- required: z.ZodBoolean;
835
- selectable: z.ZodBoolean;
836
- hasOptions: z.ZodBoolean;
837
- refProductId: z.ZodNullable<z.ZodString>;
838
- thumb: z.ZodNullable<z.ZodString>;
839
- pricePerPerson: z.ZodNullable<z.ZodNumber>;
840
- currencyCode: z.ZodString;
841
- pricingMode: z.ZodLazy<z.ZodEnum<{
842
- included: "included";
843
- per_person: "per_person";
844
- per_booking: "per_booking";
845
- quantity_based: "quantity_based";
846
- on_request: "on_request";
847
- free: "free";
848
- }>>;
849
- defaultQuantity: z.ZodNullable<z.ZodNumber>;
850
- minQuantity: z.ZodNullable<z.ZodNumber>;
851
- maxQuantity: z.ZodNullable<z.ZodNumber>;
852
- }, z.core.$strip>>;
853
- items: z.ZodArray<z.ZodObject<{
664
+ export declare const storefrontDeparturePriceOfferImpactSchema: z.ZodObject<{
665
+ offer: z.ZodLazy<z.ZodObject<{
854
666
  id: z.ZodString;
855
667
  name: z.ZodString;
856
- label: z.ZodString;
857
- required: z.ZodBoolean;
858
- selectable: z.ZodBoolean;
859
- hasOptions: z.ZodBoolean;
860
- refProductId: z.ZodNullable<z.ZodString>;
861
- thumb: z.ZodNullable<z.ZodString>;
862
- pricePerPerson: z.ZodNullable<z.ZodNumber>;
863
- currencyCode: z.ZodString;
864
- pricingMode: z.ZodLazy<z.ZodEnum<{
865
- included: "included";
866
- per_person: "per_person";
867
- per_booking: "per_booking";
868
- quantity_based: "quantity_based";
869
- on_request: "on_request";
870
- free: "free";
871
- }>>;
872
- defaultQuantity: z.ZodNullable<z.ZodNumber>;
873
- minQuantity: z.ZodNullable<z.ZodNumber>;
874
- maxQuantity: z.ZodNullable<z.ZodNumber>;
875
- }, z.core.$strip>>;
876
- details: z.ZodRecord<z.ZodString, z.ZodObject<{
668
+ slug: z.ZodNullable<z.ZodString>;
877
669
  description: z.ZodNullable<z.ZodString>;
878
- media: z.ZodArray<z.ZodObject<{
879
- url: z.ZodString;
880
- alt: z.ZodNullable<z.ZodString>;
881
- }, z.core.$strip>>;
882
- }, z.core.$strip>>;
883
- currencyCode: z.ZodString;
670
+ discountType: z.ZodEnum<{
671
+ percentage: "percentage";
672
+ fixed_amount: "fixed_amount";
673
+ }>;
674
+ discountValue: z.ZodString;
675
+ currency: z.ZodNullable<z.ZodString>;
676
+ applicableProductIds: z.ZodArray<z.ZodString>;
677
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
678
+ validFrom: z.ZodNullable<z.ZodString>;
679
+ validTo: z.ZodNullable<z.ZodString>;
680
+ minTravelers: z.ZodNullable<z.ZodNumber>;
681
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
682
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
683
+ stackable: z.ZodBoolean;
684
+ createdAt: z.ZodString;
685
+ updatedAt: z.ZodString;
686
+ }, z.core.$strip>>;
687
+ status: z.ZodEnum<{
688
+ applied: "applied";
689
+ not_applicable: "not_applicable";
690
+ conflict: "conflict";
691
+ }>;
692
+ reason: z.ZodNullable<z.ZodEnum<{
693
+ currency: "currency";
694
+ conflict: "conflict";
695
+ min_pax: "min_pax";
696
+ no_discount: "no_discount";
697
+ }>>;
698
+ selected: z.ZodBoolean;
699
+ discountAppliedCents: z.ZodNumber;
700
+ discountedPriceCents: z.ZodNumber;
701
+ }, z.core.$strip>;
702
+ export declare const storefrontDeparturePriceRequestedOfferSchema: z.ZodObject<{
703
+ kind: z.ZodEnum<{
704
+ slug: "slug";
705
+ code: "code";
706
+ }>;
707
+ value: z.ZodString;
708
+ result: z.ZodNullable<z.ZodLazy<z.ZodObject<{
709
+ status: z.ZodEnum<{
710
+ applied: "applied";
711
+ not_applicable: "not_applicable";
712
+ conflict: "conflict";
713
+ invalid: "invalid";
714
+ }>;
715
+ reason: z.ZodNullable<z.ZodEnum<{
716
+ scope: "scope";
717
+ currency: "currency";
718
+ booking_mismatch: "booking_mismatch";
719
+ conflict: "conflict";
720
+ min_pax: "min_pax";
721
+ no_discount: "no_discount";
722
+ offer_not_found: "offer_not_found";
723
+ offer_expired: "offer_expired";
724
+ offer_not_yet_valid: "offer_not_yet_valid";
725
+ code_not_found: "code_not_found";
726
+ code_required: "code_required";
727
+ code_expired: "code_expired";
728
+ code_not_yet_valid: "code_not_yet_valid";
729
+ session_mismatch: "session_mismatch";
730
+ }>>;
731
+ offer: z.ZodNullable<z.ZodObject<{
732
+ id: z.ZodString;
733
+ name: z.ZodString;
734
+ slug: z.ZodNullable<z.ZodString>;
735
+ description: z.ZodNullable<z.ZodString>;
736
+ discountType: z.ZodEnum<{
737
+ percentage: "percentage";
738
+ fixed_amount: "fixed_amount";
739
+ }>;
740
+ discountValue: z.ZodString;
741
+ currency: z.ZodNullable<z.ZodString>;
742
+ applicableProductIds: z.ZodArray<z.ZodString>;
743
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
744
+ validFrom: z.ZodNullable<z.ZodString>;
745
+ validTo: z.ZodNullable<z.ZodString>;
746
+ minTravelers: z.ZodNullable<z.ZodNumber>;
747
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
748
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
749
+ stackable: z.ZodBoolean;
750
+ createdAt: z.ZodString;
751
+ updatedAt: z.ZodString;
752
+ }, z.core.$strip>>;
753
+ target: z.ZodObject<{
754
+ bookingId: z.ZodNullable<z.ZodString>;
755
+ sessionId: z.ZodNullable<z.ZodString>;
756
+ productId: z.ZodString;
757
+ departureId: z.ZodNullable<z.ZodString>;
758
+ }, z.core.$strip>;
759
+ pricing: z.ZodObject<{
760
+ basePriceCents: z.ZodNumber;
761
+ currency: z.ZodString;
762
+ discountAppliedCents: z.ZodNumber;
763
+ discountedPriceCents: z.ZodNumber;
764
+ }, z.core.$strip>;
765
+ appliedOffers: z.ZodArray<z.ZodObject<{
766
+ offerId: z.ZodString;
767
+ offerName: z.ZodString;
768
+ discountAppliedCents: z.ZodNumber;
769
+ discountedPriceCents: z.ZodNumber;
770
+ currency: z.ZodString;
771
+ discountKind: z.ZodEnum<{
772
+ percentage: "percentage";
773
+ fixed_amount: "fixed_amount";
774
+ }>;
775
+ discountPercent: z.ZodNullable<z.ZodNumber>;
776
+ discountAmountCents: z.ZodNullable<z.ZodNumber>;
777
+ appliedCode: z.ZodNullable<z.ZodString>;
778
+ stackable: z.ZodBoolean;
779
+ }, z.core.$strip>>;
780
+ conflict: z.ZodNullable<z.ZodObject<{
781
+ policy: z.ZodEnum<{
782
+ best_discount_wins: "best_discount_wins";
783
+ stackable_compose: "stackable_compose";
784
+ }>;
785
+ autoAppliedOfferIds: z.ZodArray<z.ZodString>;
786
+ manualOfferId: z.ZodNullable<z.ZodString>;
787
+ selectedOfferIds: z.ZodArray<z.ZodString>;
788
+ message: z.ZodString;
789
+ }, z.core.$strip>>;
790
+ }, z.core.$strip>>>;
791
+ }, z.core.$strip>;
792
+ export declare const storefrontDeparturePriceOffersSchema: z.ZodObject<{
793
+ available: z.ZodArray<z.ZodObject<{
794
+ offer: z.ZodLazy<z.ZodObject<{
795
+ id: z.ZodString;
796
+ name: z.ZodString;
797
+ slug: z.ZodNullable<z.ZodString>;
798
+ description: z.ZodNullable<z.ZodString>;
799
+ discountType: z.ZodEnum<{
800
+ percentage: "percentage";
801
+ fixed_amount: "fixed_amount";
802
+ }>;
803
+ discountValue: z.ZodString;
804
+ currency: z.ZodNullable<z.ZodString>;
805
+ applicableProductIds: z.ZodArray<z.ZodString>;
806
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
807
+ validFrom: z.ZodNullable<z.ZodString>;
808
+ validTo: z.ZodNullable<z.ZodString>;
809
+ minTravelers: z.ZodNullable<z.ZodNumber>;
810
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
811
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
812
+ stackable: z.ZodBoolean;
813
+ createdAt: z.ZodString;
814
+ updatedAt: z.ZodString;
815
+ }, z.core.$strip>>;
816
+ status: z.ZodEnum<{
817
+ applied: "applied";
818
+ not_applicable: "not_applicable";
819
+ conflict: "conflict";
820
+ }>;
821
+ reason: z.ZodNullable<z.ZodEnum<{
822
+ currency: "currency";
823
+ conflict: "conflict";
824
+ min_pax: "min_pax";
825
+ no_discount: "no_discount";
826
+ }>>;
827
+ selected: z.ZodBoolean;
828
+ discountAppliedCents: z.ZodNumber;
829
+ discountedPriceCents: z.ZodNumber;
830
+ }, z.core.$strip>>;
831
+ requested: z.ZodArray<z.ZodObject<{
832
+ kind: z.ZodEnum<{
833
+ slug: "slug";
834
+ code: "code";
835
+ }>;
836
+ value: z.ZodString;
837
+ result: z.ZodNullable<z.ZodLazy<z.ZodObject<{
838
+ status: z.ZodEnum<{
839
+ applied: "applied";
840
+ not_applicable: "not_applicable";
841
+ conflict: "conflict";
842
+ invalid: "invalid";
843
+ }>;
844
+ reason: z.ZodNullable<z.ZodEnum<{
845
+ scope: "scope";
846
+ currency: "currency";
847
+ booking_mismatch: "booking_mismatch";
848
+ conflict: "conflict";
849
+ min_pax: "min_pax";
850
+ no_discount: "no_discount";
851
+ offer_not_found: "offer_not_found";
852
+ offer_expired: "offer_expired";
853
+ offer_not_yet_valid: "offer_not_yet_valid";
854
+ code_not_found: "code_not_found";
855
+ code_required: "code_required";
856
+ code_expired: "code_expired";
857
+ code_not_yet_valid: "code_not_yet_valid";
858
+ session_mismatch: "session_mismatch";
859
+ }>>;
860
+ offer: z.ZodNullable<z.ZodObject<{
861
+ id: z.ZodString;
862
+ name: z.ZodString;
863
+ slug: z.ZodNullable<z.ZodString>;
864
+ description: z.ZodNullable<z.ZodString>;
865
+ discountType: z.ZodEnum<{
866
+ percentage: "percentage";
867
+ fixed_amount: "fixed_amount";
868
+ }>;
869
+ discountValue: z.ZodString;
870
+ currency: z.ZodNullable<z.ZodString>;
871
+ applicableProductIds: z.ZodArray<z.ZodString>;
872
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
873
+ validFrom: z.ZodNullable<z.ZodString>;
874
+ validTo: z.ZodNullable<z.ZodString>;
875
+ minTravelers: z.ZodNullable<z.ZodNumber>;
876
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
877
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
878
+ stackable: z.ZodBoolean;
879
+ createdAt: z.ZodString;
880
+ updatedAt: z.ZodString;
881
+ }, z.core.$strip>>;
882
+ target: z.ZodObject<{
883
+ bookingId: z.ZodNullable<z.ZodString>;
884
+ sessionId: z.ZodNullable<z.ZodString>;
885
+ productId: z.ZodString;
886
+ departureId: z.ZodNullable<z.ZodString>;
887
+ }, z.core.$strip>;
888
+ pricing: z.ZodObject<{
889
+ basePriceCents: z.ZodNumber;
890
+ currency: z.ZodString;
891
+ discountAppliedCents: z.ZodNumber;
892
+ discountedPriceCents: z.ZodNumber;
893
+ }, z.core.$strip>;
894
+ appliedOffers: z.ZodArray<z.ZodObject<{
895
+ offerId: z.ZodString;
896
+ offerName: z.ZodString;
897
+ discountAppliedCents: z.ZodNumber;
898
+ discountedPriceCents: z.ZodNumber;
899
+ currency: z.ZodString;
900
+ discountKind: z.ZodEnum<{
901
+ percentage: "percentage";
902
+ fixed_amount: "fixed_amount";
903
+ }>;
904
+ discountPercent: z.ZodNullable<z.ZodNumber>;
905
+ discountAmountCents: z.ZodNullable<z.ZodNumber>;
906
+ appliedCode: z.ZodNullable<z.ZodString>;
907
+ stackable: z.ZodBoolean;
908
+ }, z.core.$strip>>;
909
+ conflict: z.ZodNullable<z.ZodObject<{
910
+ policy: z.ZodEnum<{
911
+ best_discount_wins: "best_discount_wins";
912
+ stackable_compose: "stackable_compose";
913
+ }>;
914
+ autoAppliedOfferIds: z.ZodArray<z.ZodString>;
915
+ manualOfferId: z.ZodNullable<z.ZodString>;
916
+ selectedOfferIds: z.ZodArray<z.ZodString>;
917
+ message: z.ZodString;
918
+ }, z.core.$strip>>;
919
+ }, z.core.$strip>>>;
920
+ }, z.core.$strip>>;
921
+ applied: z.ZodArray<z.ZodLazy<z.ZodObject<{
922
+ offerId: z.ZodString;
923
+ offerName: z.ZodString;
924
+ discountAppliedCents: z.ZodNumber;
925
+ discountedPriceCents: z.ZodNumber;
926
+ currency: z.ZodString;
927
+ discountKind: z.ZodEnum<{
928
+ percentage: "percentage";
929
+ fixed_amount: "fixed_amount";
930
+ }>;
931
+ discountPercent: z.ZodNullable<z.ZodNumber>;
932
+ discountAmountCents: z.ZodNullable<z.ZodNumber>;
933
+ appliedCode: z.ZodNullable<z.ZodString>;
934
+ stackable: z.ZodBoolean;
935
+ }, z.core.$strip>>>;
936
+ conflict: z.ZodNullable<z.ZodLazy<z.ZodObject<{
937
+ policy: z.ZodEnum<{
938
+ best_discount_wins: "best_discount_wins";
939
+ stackable_compose: "stackable_compose";
940
+ }>;
941
+ autoAppliedOfferIds: z.ZodArray<z.ZodString>;
942
+ manualOfferId: z.ZodNullable<z.ZodString>;
943
+ selectedOfferIds: z.ZodArray<z.ZodString>;
944
+ message: z.ZodString;
945
+ }, z.core.$strip>>>;
946
+ discountTotal: z.ZodNumber;
947
+ discountTotalCents: z.ZodNumber;
948
+ totalAfterDiscount: z.ZodNumber;
949
+ currencyCode: z.ZodString;
950
+ }, z.core.$strip>;
951
+ export declare const storefrontDeparturePriceTotalsSchema: z.ZodObject<{
952
+ currencyCode: z.ZodString;
953
+ base: z.ZodNumber;
954
+ extras: z.ZodNumber;
955
+ subtotal: z.ZodNumber;
956
+ discount: z.ZodNumber;
957
+ tax: z.ZodNumber;
958
+ total: z.ZodNumber;
959
+ perPerson: z.ZodNumber;
960
+ perBooking: z.ZodNumber;
961
+ }, z.core.$strip>;
962
+ export declare const storefrontDeparturePricePreviewSchema: z.ZodObject<{
963
+ departureId: z.ZodString;
964
+ productId: z.ZodString;
965
+ optionId: z.ZodNullable<z.ZodString>;
966
+ currencyCode: z.ZodString;
967
+ basePrice: z.ZodNumber;
968
+ taxAmount: z.ZodNumber;
969
+ total: z.ZodNumber;
970
+ notes: z.ZodNullable<z.ZodString>;
971
+ lineItems: z.ZodArray<z.ZodObject<{
972
+ name: z.ZodString;
973
+ total: z.ZodNumber;
974
+ quantity: z.ZodNumber;
975
+ unitPrice: z.ZodNumber;
976
+ }, z.core.$strip>>;
977
+ allocation: z.ZodObject<{
978
+ slot: z.ZodObject<{
979
+ id: z.ZodString;
980
+ productId: z.ZodString;
981
+ optionId: z.ZodNullable<z.ZodString>;
982
+ dateLocal: z.ZodNullable<z.ZodString>;
983
+ startAt: z.ZodNullable<z.ZodString>;
984
+ endAt: z.ZodNullable<z.ZodString>;
985
+ timezone: z.ZodString;
986
+ status: z.ZodEnum<{
987
+ cancelled: "cancelled";
988
+ open: "open";
989
+ closed: "closed";
990
+ sold_out: "sold_out";
991
+ on_request: "on_request";
992
+ }>;
993
+ availabilityState: z.ZodEnum<{
994
+ cancelled: "cancelled";
995
+ closed: "closed";
996
+ sold_out: "sold_out";
997
+ past_cutoff: "past_cutoff";
998
+ too_early: "too_early";
999
+ on_request: "on_request";
1000
+ unavailable: "unavailable";
1001
+ available: "available";
1002
+ }>;
1003
+ capacity: z.ZodNullable<z.ZodNumber>;
1004
+ remaining: z.ZodNullable<z.ZodNumber>;
1005
+ pastCutoff: z.ZodBoolean;
1006
+ tooEarly: z.ZodBoolean;
1007
+ }, z.core.$strip>;
1008
+ pax: z.ZodObject<{
1009
+ adults: z.ZodNumber;
1010
+ children: z.ZodNumber;
1011
+ infants: z.ZodNumber;
1012
+ total: z.ZodNumber;
1013
+ }, z.core.$strip>;
1014
+ requestedUnits: z.ZodArray<z.ZodObject<{
1015
+ unitId: z.ZodNullable<z.ZodString>;
1016
+ requestRef: z.ZodNullable<z.ZodString>;
1017
+ name: z.ZodString;
1018
+ unitType: z.ZodNullable<z.ZodString>;
1019
+ quantity: z.ZodNumber;
1020
+ pricingMode: z.ZodNullable<z.ZodString>;
1021
+ unitPrice: z.ZodNumber;
1022
+ total: z.ZodNumber;
1023
+ currencyCode: z.ZodString;
1024
+ tierId: z.ZodNullable<z.ZodString>;
1025
+ }, z.core.$strip>>;
1026
+ rooms: z.ZodArray<z.ZodObject<{
1027
+ unitId: z.ZodString;
1028
+ name: z.ZodString;
1029
+ occupancy: z.ZodNumber;
1030
+ quantity: z.ZodNumber;
1031
+ pax: z.ZodNumber;
1032
+ pricingMode: z.ZodNullable<z.ZodString>;
1033
+ unitPrice: z.ZodNumber;
1034
+ total: z.ZodNumber;
1035
+ currencyCode: z.ZodString;
1036
+ tierId: z.ZodNullable<z.ZodString>;
1037
+ }, z.core.$strip>>;
1038
+ }, z.core.$strip>;
1039
+ units: z.ZodArray<z.ZodObject<{
1040
+ unitId: z.ZodNullable<z.ZodString>;
1041
+ requestRef: z.ZodNullable<z.ZodString>;
1042
+ name: z.ZodString;
1043
+ unitType: z.ZodNullable<z.ZodString>;
1044
+ quantity: z.ZodNumber;
1045
+ pricingMode: z.ZodNullable<z.ZodString>;
1046
+ unitPrice: z.ZodNumber;
1047
+ total: z.ZodNumber;
1048
+ currencyCode: z.ZodString;
1049
+ tierId: z.ZodNullable<z.ZodString>;
1050
+ }, z.core.$strip>>;
1051
+ rooms: z.ZodArray<z.ZodObject<{
1052
+ unitId: z.ZodString;
1053
+ name: z.ZodString;
1054
+ occupancy: z.ZodNumber;
1055
+ quantity: z.ZodNumber;
1056
+ pax: z.ZodNumber;
1057
+ pricingMode: z.ZodNullable<z.ZodString>;
1058
+ unitPrice: z.ZodNumber;
1059
+ total: z.ZodNumber;
1060
+ currencyCode: z.ZodString;
1061
+ tierId: z.ZodNullable<z.ZodString>;
1062
+ }, z.core.$strip>>;
1063
+ extras: z.ZodArray<z.ZodObject<{
1064
+ extraId: z.ZodString;
1065
+ name: z.ZodString;
1066
+ required: z.ZodBoolean;
1067
+ selectable: z.ZodBoolean;
1068
+ selected: z.ZodBoolean;
1069
+ pricingMode: z.ZodLazy<z.ZodEnum<{
1070
+ per_booking: "per_booking";
1071
+ free: "free";
1072
+ included: "included";
1073
+ on_request: "on_request";
1074
+ per_person: "per_person";
1075
+ quantity_based: "quantity_based";
1076
+ }>>;
1077
+ quantity: z.ZodNumber;
1078
+ unitPrice: z.ZodNumber;
1079
+ total: z.ZodNumber;
1080
+ currencyCode: z.ZodString;
1081
+ }, z.core.$strip>>;
1082
+ offers: z.ZodObject<{
1083
+ available: z.ZodArray<z.ZodObject<{
1084
+ offer: z.ZodLazy<z.ZodObject<{
1085
+ id: z.ZodString;
1086
+ name: z.ZodString;
1087
+ slug: z.ZodNullable<z.ZodString>;
1088
+ description: z.ZodNullable<z.ZodString>;
1089
+ discountType: z.ZodEnum<{
1090
+ percentage: "percentage";
1091
+ fixed_amount: "fixed_amount";
1092
+ }>;
1093
+ discountValue: z.ZodString;
1094
+ currency: z.ZodNullable<z.ZodString>;
1095
+ applicableProductIds: z.ZodArray<z.ZodString>;
1096
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
1097
+ validFrom: z.ZodNullable<z.ZodString>;
1098
+ validTo: z.ZodNullable<z.ZodString>;
1099
+ minTravelers: z.ZodNullable<z.ZodNumber>;
1100
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
1101
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
1102
+ stackable: z.ZodBoolean;
1103
+ createdAt: z.ZodString;
1104
+ updatedAt: z.ZodString;
1105
+ }, z.core.$strip>>;
1106
+ status: z.ZodEnum<{
1107
+ applied: "applied";
1108
+ not_applicable: "not_applicable";
1109
+ conflict: "conflict";
1110
+ }>;
1111
+ reason: z.ZodNullable<z.ZodEnum<{
1112
+ currency: "currency";
1113
+ conflict: "conflict";
1114
+ min_pax: "min_pax";
1115
+ no_discount: "no_discount";
1116
+ }>>;
1117
+ selected: z.ZodBoolean;
1118
+ discountAppliedCents: z.ZodNumber;
1119
+ discountedPriceCents: z.ZodNumber;
1120
+ }, z.core.$strip>>;
1121
+ requested: z.ZodArray<z.ZodObject<{
1122
+ kind: z.ZodEnum<{
1123
+ slug: "slug";
1124
+ code: "code";
1125
+ }>;
1126
+ value: z.ZodString;
1127
+ result: z.ZodNullable<z.ZodLazy<z.ZodObject<{
1128
+ status: z.ZodEnum<{
1129
+ applied: "applied";
1130
+ not_applicable: "not_applicable";
1131
+ conflict: "conflict";
1132
+ invalid: "invalid";
1133
+ }>;
1134
+ reason: z.ZodNullable<z.ZodEnum<{
1135
+ scope: "scope";
1136
+ currency: "currency";
1137
+ booking_mismatch: "booking_mismatch";
1138
+ conflict: "conflict";
1139
+ min_pax: "min_pax";
1140
+ no_discount: "no_discount";
1141
+ offer_not_found: "offer_not_found";
1142
+ offer_expired: "offer_expired";
1143
+ offer_not_yet_valid: "offer_not_yet_valid";
1144
+ code_not_found: "code_not_found";
1145
+ code_required: "code_required";
1146
+ code_expired: "code_expired";
1147
+ code_not_yet_valid: "code_not_yet_valid";
1148
+ session_mismatch: "session_mismatch";
1149
+ }>>;
1150
+ offer: z.ZodNullable<z.ZodObject<{
1151
+ id: z.ZodString;
1152
+ name: z.ZodString;
1153
+ slug: z.ZodNullable<z.ZodString>;
1154
+ description: z.ZodNullable<z.ZodString>;
1155
+ discountType: z.ZodEnum<{
1156
+ percentage: "percentage";
1157
+ fixed_amount: "fixed_amount";
1158
+ }>;
1159
+ discountValue: z.ZodString;
1160
+ currency: z.ZodNullable<z.ZodString>;
1161
+ applicableProductIds: z.ZodArray<z.ZodString>;
1162
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
1163
+ validFrom: z.ZodNullable<z.ZodString>;
1164
+ validTo: z.ZodNullable<z.ZodString>;
1165
+ minTravelers: z.ZodNullable<z.ZodNumber>;
1166
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
1167
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
1168
+ stackable: z.ZodBoolean;
1169
+ createdAt: z.ZodString;
1170
+ updatedAt: z.ZodString;
1171
+ }, z.core.$strip>>;
1172
+ target: z.ZodObject<{
1173
+ bookingId: z.ZodNullable<z.ZodString>;
1174
+ sessionId: z.ZodNullable<z.ZodString>;
1175
+ productId: z.ZodString;
1176
+ departureId: z.ZodNullable<z.ZodString>;
1177
+ }, z.core.$strip>;
1178
+ pricing: z.ZodObject<{
1179
+ basePriceCents: z.ZodNumber;
1180
+ currency: z.ZodString;
1181
+ discountAppliedCents: z.ZodNumber;
1182
+ discountedPriceCents: z.ZodNumber;
1183
+ }, z.core.$strip>;
1184
+ appliedOffers: z.ZodArray<z.ZodObject<{
1185
+ offerId: z.ZodString;
1186
+ offerName: z.ZodString;
1187
+ discountAppliedCents: z.ZodNumber;
1188
+ discountedPriceCents: z.ZodNumber;
1189
+ currency: z.ZodString;
1190
+ discountKind: z.ZodEnum<{
1191
+ percentage: "percentage";
1192
+ fixed_amount: "fixed_amount";
1193
+ }>;
1194
+ discountPercent: z.ZodNullable<z.ZodNumber>;
1195
+ discountAmountCents: z.ZodNullable<z.ZodNumber>;
1196
+ appliedCode: z.ZodNullable<z.ZodString>;
1197
+ stackable: z.ZodBoolean;
1198
+ }, z.core.$strip>>;
1199
+ conflict: z.ZodNullable<z.ZodObject<{
1200
+ policy: z.ZodEnum<{
1201
+ best_discount_wins: "best_discount_wins";
1202
+ stackable_compose: "stackable_compose";
1203
+ }>;
1204
+ autoAppliedOfferIds: z.ZodArray<z.ZodString>;
1205
+ manualOfferId: z.ZodNullable<z.ZodString>;
1206
+ selectedOfferIds: z.ZodArray<z.ZodString>;
1207
+ message: z.ZodString;
1208
+ }, z.core.$strip>>;
1209
+ }, z.core.$strip>>>;
1210
+ }, z.core.$strip>>;
1211
+ applied: z.ZodArray<z.ZodLazy<z.ZodObject<{
1212
+ offerId: z.ZodString;
1213
+ offerName: z.ZodString;
1214
+ discountAppliedCents: z.ZodNumber;
1215
+ discountedPriceCents: z.ZodNumber;
1216
+ currency: z.ZodString;
1217
+ discountKind: z.ZodEnum<{
1218
+ percentage: "percentage";
1219
+ fixed_amount: "fixed_amount";
1220
+ }>;
1221
+ discountPercent: z.ZodNullable<z.ZodNumber>;
1222
+ discountAmountCents: z.ZodNullable<z.ZodNumber>;
1223
+ appliedCode: z.ZodNullable<z.ZodString>;
1224
+ stackable: z.ZodBoolean;
1225
+ }, z.core.$strip>>>;
1226
+ conflict: z.ZodNullable<z.ZodLazy<z.ZodObject<{
1227
+ policy: z.ZodEnum<{
1228
+ best_discount_wins: "best_discount_wins";
1229
+ stackable_compose: "stackable_compose";
1230
+ }>;
1231
+ autoAppliedOfferIds: z.ZodArray<z.ZodString>;
1232
+ manualOfferId: z.ZodNullable<z.ZodString>;
1233
+ selectedOfferIds: z.ZodArray<z.ZodString>;
1234
+ message: z.ZodString;
1235
+ }, z.core.$strip>>>;
1236
+ discountTotal: z.ZodNumber;
1237
+ discountTotalCents: z.ZodNumber;
1238
+ totalAfterDiscount: z.ZodNumber;
1239
+ currencyCode: z.ZodString;
1240
+ }, z.core.$strip>;
1241
+ totals: z.ZodObject<{
1242
+ currencyCode: z.ZodString;
1243
+ base: z.ZodNumber;
1244
+ extras: z.ZodNumber;
1245
+ subtotal: z.ZodNumber;
1246
+ discount: z.ZodNumber;
1247
+ tax: z.ZodNumber;
1248
+ total: z.ZodNumber;
1249
+ perPerson: z.ZodNumber;
1250
+ perBooking: z.ZodNumber;
1251
+ }, z.core.$strip>;
1252
+ }, z.core.$strip>;
1253
+ export declare const storefrontBookingSessionQuoteSchema: z.ZodObject<{
1254
+ currencyCode: z.ZodString;
1255
+ totalSellAmountCents: z.ZodNumber;
1256
+ quotedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1257
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1258
+ }, z.core.$strip>;
1259
+ export declare const storefrontBookingSessionBootstrapInputSchema: z.ZodObject<{
1260
+ departureId: z.ZodString;
1261
+ slotId: z.ZodString;
1262
+ catalogId: z.ZodOptional<z.ZodString>;
1263
+ quote: z.ZodObject<{
1264
+ currencyCode: z.ZodString;
1265
+ totalSellAmountCents: z.ZodNumber;
1266
+ quotedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1267
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1268
+ }, z.core.$strip>;
1269
+ session: z.ZodObject<{
1270
+ externalBookingRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1271
+ communicationLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1272
+ sellCurrency: z.ZodString;
1273
+ baseCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
+ sellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1275
+ baseSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1276
+ costAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1277
+ baseCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1278
+ marginPercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1279
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1280
+ endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1281
+ pax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1282
+ holdMinutes: z.ZodOptional<z.ZodNumber>;
1283
+ holdExpiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1284
+ items: z.ZodArray<z.ZodObject<{
1285
+ title: z.ZodString;
1286
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1287
+ itemType: z.ZodDefault<z.ZodEnum<{
1288
+ service: "service";
1289
+ other: "other";
1290
+ unit: "unit";
1291
+ extra: "extra";
1292
+ fee: "fee";
1293
+ tax: "tax";
1294
+ discount: "discount";
1295
+ adjustment: "adjustment";
1296
+ accommodation: "accommodation";
1297
+ transport: "transport";
1298
+ }>>;
1299
+ quantity: z.ZodDefault<z.ZodNumber>;
1300
+ sellCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1301
+ unitSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1302
+ totalSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1303
+ costCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1304
+ unitCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1305
+ totalCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1306
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1307
+ productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1308
+ optionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1309
+ optionUnitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1310
+ pricingCategoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1311
+ sourceSnapshotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1312
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1313
+ availabilitySlotId: z.ZodString;
1314
+ allocationType: z.ZodDefault<z.ZodEnum<{
1315
+ resource: "resource";
1316
+ pickup: "pickup";
1317
+ unit: "unit";
1318
+ }>>;
1319
+ }, z.core.$strip>>;
1320
+ travelers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1321
+ id: z.ZodOptional<z.ZodString>;
1322
+ participantType: z.ZodDefault<z.ZodEnum<{
1323
+ traveler: "traveler";
1324
+ occupant: "occupant";
1325
+ }>>;
1326
+ travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1327
+ child: "child";
1328
+ other: "other";
1329
+ adult: "adult";
1330
+ infant: "infant";
1331
+ senior: "senior";
1332
+ }>>>;
1333
+ firstName: z.ZodString;
1334
+ lastName: z.ZodString;
1335
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1336
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1337
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1338
+ specialRequests: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1339
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
1340
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1341
+ }, z.core.$strip>>>;
1342
+ }, z.core.$strip>;
1343
+ }, z.core.$strip>;
1344
+ export declare const storefrontBookingSessionPaymentPlanSchema: z.ZodObject<{
1345
+ source: z.ZodLiteral<"storefront_default">;
1346
+ depositKind: z.ZodEnum<{
1347
+ percent: "percent";
1348
+ none: "none";
1349
+ fixed_cents: "fixed_cents";
1350
+ }>;
1351
+ depositPercent: z.ZodNullable<z.ZodNumber>;
1352
+ depositAmountCents: z.ZodNullable<z.ZodNumber>;
1353
+ requiresFullPayment: z.ZodBoolean;
1354
+ }, z.core.$strip>;
1355
+ export declare const storefrontBookingSessionAvailabilitySnapshotSchema: z.ZodObject<{
1356
+ departureId: z.ZodString;
1357
+ slotId: z.ZodString;
1358
+ productId: z.ZodString;
1359
+ optionId: z.ZodNullable<z.ZodString>;
1360
+ dateLocal: z.ZodNullable<z.ZodString>;
1361
+ startsAt: z.ZodNullable<z.ZodString>;
1362
+ endsAt: z.ZodNullable<z.ZodString>;
1363
+ timezone: z.ZodString;
1364
+ status: z.ZodEnum<{
1365
+ cancelled: "cancelled";
1366
+ open: "open";
1367
+ closed: "closed";
1368
+ sold_out: "sold_out";
1369
+ on_request: "on_request";
1370
+ }>;
1371
+ capacity: z.ZodNullable<z.ZodNumber>;
1372
+ remaining: z.ZodNullable<z.ZodNumber>;
1373
+ }, z.core.$strip>;
1374
+ export declare const storefrontBookingSessionRepricingSnapshotSchema: z.ZodObject<{
1375
+ originalQuote: z.ZodObject<{
1376
+ currencyCode: z.ZodString;
1377
+ totalSellAmountCents: z.ZodNumber;
1378
+ quotedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1379
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1380
+ }, z.core.$strip>;
1381
+ current: z.ZodObject<{
1382
+ sessionId: z.ZodString;
1383
+ catalogId: z.ZodNullable<z.ZodString>;
1384
+ currencyCode: z.ZodString;
1385
+ totalSellAmountCents: z.ZodNumber;
1386
+ items: z.ZodArray<z.ZodObject<{
1387
+ itemId: z.ZodString;
1388
+ title: z.ZodString;
1389
+ productId: z.ZodNullable<z.ZodString>;
1390
+ optionId: z.ZodNullable<z.ZodString>;
1391
+ optionUnitId: z.ZodNullable<z.ZodString>;
1392
+ optionUnitName: z.ZodNullable<z.ZodString>;
1393
+ optionUnitType: z.ZodNullable<z.ZodString>;
1394
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
1395
+ quantity: z.ZodNumber;
1396
+ pricingMode: z.ZodString;
1397
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
1398
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
1399
+ warnings: z.ZodArray<z.ZodString>;
1400
+ }, z.core.$strip>>;
1401
+ warnings: z.ZodArray<z.ZodString>;
1402
+ appliedToSession: z.ZodBoolean;
1403
+ }, z.core.$strip>;
1404
+ deltaAmountCents: z.ZodNumber;
1405
+ staleQuote: z.ZodBoolean;
1406
+ }, z.core.$strip>;
1407
+ export declare const storefrontBookingSessionBootstrapSchema: z.ZodObject<{
1408
+ session: z.ZodObject<{
1409
+ sessionId: z.ZodString;
1410
+ bookingNumber: z.ZodString;
1411
+ status: z.ZodEnum<{
1412
+ completed: "completed";
1413
+ cancelled: "cancelled";
1414
+ draft: "draft";
1415
+ on_hold: "on_hold";
1416
+ awaiting_payment: "awaiting_payment";
1417
+ confirmed: "confirmed";
1418
+ in_progress: "in_progress";
1419
+ expired: "expired";
1420
+ }>;
1421
+ externalBookingRef: z.ZodNullable<z.ZodString>;
1422
+ communicationLanguage: z.ZodNullable<z.ZodString>;
1423
+ sellCurrency: z.ZodString;
1424
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
1425
+ startDate: z.ZodNullable<z.ZodString>;
1426
+ endDate: z.ZodNullable<z.ZodString>;
1427
+ pax: z.ZodNullable<z.ZodNumber>;
1428
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
1429
+ confirmedAt: z.ZodNullable<z.ZodString>;
1430
+ expiredAt: z.ZodNullable<z.ZodString>;
1431
+ cancelledAt: z.ZodNullable<z.ZodString>;
1432
+ completedAt: z.ZodNullable<z.ZodString>;
1433
+ travelers: z.ZodArray<z.ZodObject<{
1434
+ id: z.ZodString;
1435
+ participantType: z.ZodEnum<{
1436
+ other: "other";
1437
+ traveler: "traveler";
1438
+ occupant: "occupant";
1439
+ }>;
1440
+ travelerCategory: z.ZodNullable<z.ZodEnum<{
1441
+ child: "child";
1442
+ other: "other";
1443
+ adult: "adult";
1444
+ infant: "infant";
1445
+ senior: "senior";
1446
+ }>>;
1447
+ firstName: z.ZodString;
1448
+ lastName: z.ZodString;
1449
+ email: z.ZodNullable<z.ZodString>;
1450
+ phone: z.ZodNullable<z.ZodString>;
1451
+ preferredLanguage: z.ZodNullable<z.ZodString>;
1452
+ specialRequests: z.ZodNullable<z.ZodString>;
1453
+ isPrimary: z.ZodBoolean;
1454
+ notes: z.ZodNullable<z.ZodString>;
1455
+ }, z.core.$strip>>;
1456
+ items: z.ZodArray<z.ZodObject<{
1457
+ id: z.ZodString;
1458
+ title: z.ZodString;
1459
+ description: z.ZodNullable<z.ZodString>;
1460
+ itemType: z.ZodEnum<{
1461
+ service: "service";
1462
+ other: "other";
1463
+ unit: "unit";
1464
+ extra: "extra";
1465
+ fee: "fee";
1466
+ tax: "tax";
1467
+ discount: "discount";
1468
+ adjustment: "adjustment";
1469
+ accommodation: "accommodation";
1470
+ transport: "transport";
1471
+ }>;
1472
+ status: z.ZodEnum<{
1473
+ cancelled: "cancelled";
1474
+ draft: "draft";
1475
+ on_hold: "on_hold";
1476
+ confirmed: "confirmed";
1477
+ expired: "expired";
1478
+ fulfilled: "fulfilled";
1479
+ }>;
1480
+ serviceDate: z.ZodNullable<z.ZodString>;
1481
+ startsAt: z.ZodNullable<z.ZodString>;
1482
+ endsAt: z.ZodNullable<z.ZodString>;
1483
+ quantity: z.ZodNumber;
1484
+ sellCurrency: z.ZodString;
1485
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
1486
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
1487
+ costCurrency: z.ZodNullable<z.ZodString>;
1488
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
1489
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
1490
+ notes: z.ZodNullable<z.ZodString>;
1491
+ productId: z.ZodNullable<z.ZodString>;
1492
+ optionId: z.ZodNullable<z.ZodString>;
1493
+ optionUnitId: z.ZodNullable<z.ZodString>;
1494
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
1495
+ travelerLinks: z.ZodArray<z.ZodObject<{
1496
+ id: z.ZodString;
1497
+ travelerId: z.ZodString;
1498
+ role: z.ZodEnum<{
1499
+ other: "other";
1500
+ traveler: "traveler";
1501
+ occupant: "occupant";
1502
+ beneficiary: "beneficiary";
1503
+ }>;
1504
+ isPrimary: z.ZodBoolean;
1505
+ }, z.core.$strip>>;
1506
+ }, z.core.$strip>>;
1507
+ allocations: z.ZodArray<z.ZodObject<{
1508
+ id: z.ZodString;
1509
+ bookingItemId: z.ZodNullable<z.ZodString>;
1510
+ productId: z.ZodNullable<z.ZodString>;
1511
+ optionId: z.ZodNullable<z.ZodString>;
1512
+ optionUnitId: z.ZodNullable<z.ZodString>;
1513
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
1514
+ availabilitySlotId: z.ZodNullable<z.ZodString>;
1515
+ quantity: z.ZodNumber;
1516
+ allocationType: z.ZodEnum<{
1517
+ resource: "resource";
1518
+ pickup: "pickup";
1519
+ unit: "unit";
1520
+ }>;
1521
+ status: z.ZodEnum<{
1522
+ cancelled: "cancelled";
1523
+ confirmed: "confirmed";
1524
+ expired: "expired";
1525
+ fulfilled: "fulfilled";
1526
+ held: "held";
1527
+ released: "released";
1528
+ }>;
1529
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
1530
+ confirmedAt: z.ZodNullable<z.ZodString>;
1531
+ releasedAt: z.ZodNullable<z.ZodString>;
1532
+ }, z.core.$strip>>;
1533
+ checklist: z.ZodObject<{
1534
+ hasTravelers: z.ZodBoolean;
1535
+ hasPrimaryTraveler: z.ZodBoolean;
1536
+ hasItems: z.ZodBoolean;
1537
+ hasAllocations: z.ZodBoolean;
1538
+ readyForConfirmation: z.ZodBoolean;
1539
+ }, z.core.$strip>;
1540
+ state: z.ZodNullable<z.ZodObject<{
1541
+ sessionId: z.ZodString;
1542
+ stateKey: z.ZodLiteral<"wizard">;
1543
+ currentStep: z.ZodNullable<z.ZodString>;
1544
+ completedSteps: z.ZodArray<z.ZodString>;
1545
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1546
+ version: z.ZodNumber;
1547
+ createdAt: z.ZodString;
1548
+ updatedAt: z.ZodString;
1549
+ }, z.core.$strip>>;
1550
+ checkoutCapability: z.ZodOptional<z.ZodObject<{
1551
+ token: z.ZodString;
1552
+ expiresAt: z.ZodString;
1553
+ actions: z.ZodArray<z.ZodEnum<{
1554
+ "session:read": "session:read";
1555
+ "session:update": "session:update";
1556
+ "session:reprice": "session:reprice";
1557
+ "session:finalize": "session:finalize";
1558
+ "payment:read": "payment:read";
1559
+ "payment:start": "payment:start";
1560
+ }>>;
1561
+ }, z.core.$strip>>;
1562
+ }, z.core.$strip>;
1563
+ paymentPlan: z.ZodObject<{
1564
+ source: z.ZodLiteral<"storefront_default">;
1565
+ depositKind: z.ZodEnum<{
1566
+ percent: "percent";
1567
+ none: "none";
1568
+ fixed_cents: "fixed_cents";
1569
+ }>;
1570
+ depositPercent: z.ZodNullable<z.ZodNumber>;
1571
+ depositAmountCents: z.ZodNullable<z.ZodNumber>;
1572
+ requiresFullPayment: z.ZodBoolean;
1573
+ }, z.core.$strip>;
1574
+ paymentSchedule: z.ZodArray<z.ZodObject<{
1575
+ id: z.ZodString;
1576
+ scheduleType: z.ZodEnum<{
1577
+ other: "other";
1578
+ deposit: "deposit";
1579
+ installment: "installment";
1580
+ balance: "balance";
1581
+ hold: "hold";
1582
+ }>;
1583
+ status: z.ZodEnum<{
1584
+ pending: "pending";
1585
+ cancelled: "cancelled";
1586
+ expired: "expired";
1587
+ paid: "paid";
1588
+ due: "due";
1589
+ waived: "waived";
1590
+ }>;
1591
+ dueDate: z.ZodString;
1592
+ currency: z.ZodString;
1593
+ amountCents: z.ZodNumber;
1594
+ notes: z.ZodNullable<z.ZodString>;
1595
+ }, z.core.$strip>>;
1596
+ repricing: z.ZodObject<{
1597
+ originalQuote: z.ZodObject<{
1598
+ currencyCode: z.ZodString;
1599
+ totalSellAmountCents: z.ZodNumber;
1600
+ quotedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1601
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1602
+ }, z.core.$strip>;
1603
+ current: z.ZodObject<{
1604
+ sessionId: z.ZodString;
1605
+ catalogId: z.ZodNullable<z.ZodString>;
1606
+ currencyCode: z.ZodString;
1607
+ totalSellAmountCents: z.ZodNumber;
1608
+ items: z.ZodArray<z.ZodObject<{
1609
+ itemId: z.ZodString;
1610
+ title: z.ZodString;
1611
+ productId: z.ZodNullable<z.ZodString>;
1612
+ optionId: z.ZodNullable<z.ZodString>;
1613
+ optionUnitId: z.ZodNullable<z.ZodString>;
1614
+ optionUnitName: z.ZodNullable<z.ZodString>;
1615
+ optionUnitType: z.ZodNullable<z.ZodString>;
1616
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
1617
+ quantity: z.ZodNumber;
1618
+ pricingMode: z.ZodString;
1619
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
1620
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
1621
+ warnings: z.ZodArray<z.ZodString>;
1622
+ }, z.core.$strip>>;
1623
+ warnings: z.ZodArray<z.ZodString>;
1624
+ appliedToSession: z.ZodBoolean;
1625
+ }, z.core.$strip>;
1626
+ deltaAmountCents: z.ZodNumber;
1627
+ staleQuote: z.ZodBoolean;
1628
+ }, z.core.$strip>;
1629
+ availability: z.ZodObject<{
1630
+ departureId: z.ZodString;
1631
+ slotId: z.ZodString;
1632
+ productId: z.ZodString;
1633
+ optionId: z.ZodNullable<z.ZodString>;
1634
+ dateLocal: z.ZodNullable<z.ZodString>;
1635
+ startsAt: z.ZodNullable<z.ZodString>;
1636
+ endsAt: z.ZodNullable<z.ZodString>;
1637
+ timezone: z.ZodString;
1638
+ status: z.ZodEnum<{
1639
+ cancelled: "cancelled";
1640
+ open: "open";
1641
+ closed: "closed";
1642
+ sold_out: "sold_out";
1643
+ on_request: "on_request";
1644
+ }>;
1645
+ capacity: z.ZodNullable<z.ZodNumber>;
1646
+ remaining: z.ZodNullable<z.ZodNumber>;
1647
+ }, z.core.$strip>;
1648
+ allocation: z.ZodArray<z.ZodObject<{
1649
+ id: z.ZodString;
1650
+ bookingItemId: z.ZodNullable<z.ZodString>;
1651
+ productId: z.ZodNullable<z.ZodString>;
1652
+ optionId: z.ZodNullable<z.ZodString>;
1653
+ optionUnitId: z.ZodNullable<z.ZodString>;
1654
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
1655
+ availabilitySlotId: z.ZodNullable<z.ZodString>;
1656
+ quantity: z.ZodNumber;
1657
+ allocationType: z.ZodEnum<{
1658
+ resource: "resource";
1659
+ pickup: "pickup";
1660
+ unit: "unit";
1661
+ }>;
1662
+ status: z.ZodEnum<{
1663
+ cancelled: "cancelled";
1664
+ confirmed: "confirmed";
1665
+ expired: "expired";
1666
+ fulfilled: "fulfilled";
1667
+ held: "held";
1668
+ released: "released";
1669
+ }>;
1670
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
1671
+ confirmedAt: z.ZodNullable<z.ZodString>;
1672
+ releasedAt: z.ZodNullable<z.ZodString>;
1673
+ }, z.core.$strip>>;
1674
+ currency: z.ZodString;
1675
+ }, z.core.$strip>;
1676
+ export declare const storefrontProductExtensionsQuerySchema: z.ZodObject<{
1677
+ optionId: z.ZodOptional<z.ZodString>;
1678
+ }, z.core.$strip>;
1679
+ export declare const storefrontProductExtensionMediaSchema: z.ZodObject<{
1680
+ url: z.ZodString;
1681
+ alt: z.ZodNullable<z.ZodString>;
1682
+ }, z.core.$strip>;
1683
+ export declare const storefrontProductExtensionDetailSchema: z.ZodObject<{
1684
+ description: z.ZodNullable<z.ZodString>;
1685
+ media: z.ZodArray<z.ZodObject<{
1686
+ url: z.ZodString;
1687
+ alt: z.ZodNullable<z.ZodString>;
1688
+ }, z.core.$strip>>;
1689
+ }, z.core.$strip>;
1690
+ export declare const storefrontProductExtensionSchema: z.ZodObject<{
1691
+ id: z.ZodString;
1692
+ name: z.ZodString;
1693
+ label: z.ZodString;
1694
+ required: z.ZodBoolean;
1695
+ selectable: z.ZodBoolean;
1696
+ hasOptions: z.ZodBoolean;
1697
+ refProductId: z.ZodNullable<z.ZodString>;
1698
+ thumb: z.ZodNullable<z.ZodString>;
1699
+ pricePerPerson: z.ZodNullable<z.ZodNumber>;
1700
+ currencyCode: z.ZodString;
1701
+ pricingMode: z.ZodLazy<z.ZodEnum<{
1702
+ per_booking: "per_booking";
1703
+ free: "free";
1704
+ included: "included";
1705
+ on_request: "on_request";
1706
+ per_person: "per_person";
1707
+ quantity_based: "quantity_based";
1708
+ }>>;
1709
+ defaultQuantity: z.ZodNullable<z.ZodNumber>;
1710
+ minQuantity: z.ZodNullable<z.ZodNumber>;
1711
+ maxQuantity: z.ZodNullable<z.ZodNumber>;
1712
+ }, z.core.$strip>;
1713
+ export declare const storefrontProductExtensionsResponseSchema: z.ZodObject<{
1714
+ extensions: z.ZodArray<z.ZodObject<{
1715
+ id: z.ZodString;
1716
+ name: z.ZodString;
1717
+ label: z.ZodString;
1718
+ required: z.ZodBoolean;
1719
+ selectable: z.ZodBoolean;
1720
+ hasOptions: z.ZodBoolean;
1721
+ refProductId: z.ZodNullable<z.ZodString>;
1722
+ thumb: z.ZodNullable<z.ZodString>;
1723
+ pricePerPerson: z.ZodNullable<z.ZodNumber>;
1724
+ currencyCode: z.ZodString;
1725
+ pricingMode: z.ZodLazy<z.ZodEnum<{
1726
+ per_booking: "per_booking";
1727
+ free: "free";
1728
+ included: "included";
1729
+ on_request: "on_request";
1730
+ per_person: "per_person";
1731
+ quantity_based: "quantity_based";
1732
+ }>>;
1733
+ defaultQuantity: z.ZodNullable<z.ZodNumber>;
1734
+ minQuantity: z.ZodNullable<z.ZodNumber>;
1735
+ maxQuantity: z.ZodNullable<z.ZodNumber>;
1736
+ }, z.core.$strip>>;
1737
+ items: z.ZodArray<z.ZodObject<{
1738
+ id: z.ZodString;
1739
+ name: z.ZodString;
1740
+ label: z.ZodString;
1741
+ required: z.ZodBoolean;
1742
+ selectable: z.ZodBoolean;
1743
+ hasOptions: z.ZodBoolean;
1744
+ refProductId: z.ZodNullable<z.ZodString>;
1745
+ thumb: z.ZodNullable<z.ZodString>;
1746
+ pricePerPerson: z.ZodNullable<z.ZodNumber>;
1747
+ currencyCode: z.ZodString;
1748
+ pricingMode: z.ZodLazy<z.ZodEnum<{
1749
+ per_booking: "per_booking";
1750
+ free: "free";
1751
+ included: "included";
1752
+ on_request: "on_request";
1753
+ per_person: "per_person";
1754
+ quantity_based: "quantity_based";
1755
+ }>>;
1756
+ defaultQuantity: z.ZodNullable<z.ZodNumber>;
1757
+ minQuantity: z.ZodNullable<z.ZodNumber>;
1758
+ maxQuantity: z.ZodNullable<z.ZodNumber>;
1759
+ }, z.core.$strip>>;
1760
+ details: z.ZodRecord<z.ZodString, z.ZodObject<{
1761
+ description: z.ZodNullable<z.ZodString>;
1762
+ media: z.ZodArray<z.ZodObject<{
1763
+ url: z.ZodString;
1764
+ alt: z.ZodNullable<z.ZodString>;
1765
+ }, z.core.$strip>>;
1766
+ }, z.core.$strip>>;
1767
+ currencyCode: z.ZodString;
884
1768
  }, z.core.$strip>;
885
1769
  export declare const storefrontDepartureItinerarySegmentSchema: z.ZodObject<{
886
1770
  id: z.ZodString;
@@ -1048,16 +1932,18 @@ export declare const storefrontAppliedOfferSchema: z.ZodObject<{
1048
1932
  stackable: z.ZodBoolean;
1049
1933
  }, z.core.$strip>;
1050
1934
  export declare const storefrontOfferMutationStatusSchema: z.ZodEnum<{
1051
- not_applicable: "not_applicable";
1052
1935
  applied: "applied";
1053
- invalid: "invalid";
1936
+ not_applicable: "not_applicable";
1054
1937
  conflict: "conflict";
1938
+ invalid: "invalid";
1055
1939
  }>;
1056
1940
  export declare const storefrontOfferMutationReasonSchema: z.ZodNullable<z.ZodEnum<{
1057
1941
  scope: "scope";
1058
1942
  currency: "currency";
1059
- min_pax: "min_pax";
1943
+ booking_mismatch: "booking_mismatch";
1060
1944
  conflict: "conflict";
1945
+ min_pax: "min_pax";
1946
+ no_discount: "no_discount";
1061
1947
  offer_not_found: "offer_not_found";
1062
1948
  offer_expired: "offer_expired";
1063
1949
  offer_not_yet_valid: "offer_not_yet_valid";
@@ -1065,8 +1951,6 @@ export declare const storefrontOfferMutationReasonSchema: z.ZodNullable<z.ZodEnu
1065
1951
  code_required: "code_required";
1066
1952
  code_expired: "code_expired";
1067
1953
  code_not_yet_valid: "code_not_yet_valid";
1068
- no_discount: "no_discount";
1069
- booking_mismatch: "booking_mismatch";
1070
1954
  session_mismatch: "session_mismatch";
1071
1955
  }>>;
1072
1956
  export declare const storefrontOfferConflictSchema: z.ZodObject<{
@@ -1081,16 +1965,18 @@ export declare const storefrontOfferConflictSchema: z.ZodObject<{
1081
1965
  }, z.core.$strip>;
1082
1966
  export declare const storefrontOfferMutationResultSchema: z.ZodObject<{
1083
1967
  status: z.ZodEnum<{
1084
- not_applicable: "not_applicable";
1085
1968
  applied: "applied";
1086
- invalid: "invalid";
1969
+ not_applicable: "not_applicable";
1087
1970
  conflict: "conflict";
1971
+ invalid: "invalid";
1088
1972
  }>;
1089
1973
  reason: z.ZodNullable<z.ZodEnum<{
1090
1974
  scope: "scope";
1091
1975
  currency: "currency";
1092
- min_pax: "min_pax";
1976
+ booking_mismatch: "booking_mismatch";
1093
1977
  conflict: "conflict";
1978
+ min_pax: "min_pax";
1979
+ no_discount: "no_discount";
1094
1980
  offer_not_found: "offer_not_found";
1095
1981
  offer_expired: "offer_expired";
1096
1982
  offer_not_yet_valid: "offer_not_yet_valid";
@@ -1098,8 +1984,6 @@ export declare const storefrontOfferMutationResultSchema: z.ZodObject<{
1098
1984
  code_required: "code_required";
1099
1985
  code_expired: "code_expired";
1100
1986
  code_not_yet_valid: "code_not_yet_valid";
1101
- no_discount: "no_discount";
1102
- booking_mismatch: "booking_mismatch";
1103
1987
  session_mismatch: "session_mismatch";
1104
1988
  }>>;
1105
1989
  offer: z.ZodNullable<z.ZodObject<{
@@ -1165,16 +2049,18 @@ export declare const storefrontOfferMutationResultSchema: z.ZodObject<{
1165
2049
  export declare const storefrontOfferMutationResponseSchema: z.ZodObject<{
1166
2050
  data: z.ZodObject<{
1167
2051
  status: z.ZodEnum<{
1168
- not_applicable: "not_applicable";
1169
2052
  applied: "applied";
1170
- invalid: "invalid";
2053
+ not_applicable: "not_applicable";
1171
2054
  conflict: "conflict";
2055
+ invalid: "invalid";
1172
2056
  }>;
1173
2057
  reason: z.ZodNullable<z.ZodEnum<{
1174
2058
  scope: "scope";
1175
2059
  currency: "currency";
1176
- min_pax: "min_pax";
2060
+ booking_mismatch: "booking_mismatch";
1177
2061
  conflict: "conflict";
2062
+ min_pax: "min_pax";
2063
+ no_discount: "no_discount";
1178
2064
  offer_not_found: "offer_not_found";
1179
2065
  offer_expired: "offer_expired";
1180
2066
  offer_not_yet_valid: "offer_not_yet_valid";
@@ -1182,8 +2068,6 @@ export declare const storefrontOfferMutationResponseSchema: z.ZodObject<{
1182
2068
  code_required: "code_required";
1183
2069
  code_expired: "code_expired";
1184
2070
  code_not_yet_valid: "code_not_yet_valid";
1185
- no_discount: "no_discount";
1186
- booking_mismatch: "booking_mismatch";
1187
2071
  session_mismatch: "session_mismatch";
1188
2072
  }>>;
1189
2073
  offer: z.ZodNullable<z.ZodObject<{
@@ -1247,16 +2131,12 @@ export declare const storefrontOfferMutationResponseSchema: z.ZodObject<{
1247
2131
  }, z.core.$strip>>;
1248
2132
  }, z.core.$strip>;
1249
2133
  }, z.core.$strip>;
1250
- export type StorefrontFormFieldInput = z.infer<typeof storefrontFormFieldInputSchema>;
1251
- export type StorefrontFormField = z.infer<typeof storefrontFormFieldSchema>;
1252
- export type StorefrontPaymentMethodInput = z.infer<typeof storefrontPaymentMethodInputSchema>;
1253
- export type StorefrontPaymentMethod = z.infer<typeof storefrontPaymentMethodSchema>;
1254
- export type StorefrontPaymentMethodCode = z.infer<typeof storefrontPaymentMethodCodeSchema>;
1255
- export type StorefrontSettingsInput = z.infer<typeof storefrontSettingsInputSchema>;
1256
- export type StorefrontSettings = z.infer<typeof storefrontSettingsSchema>;
1257
2134
  export type StorefrontDepartureListQuery = z.infer<typeof storefrontDepartureListQuerySchema>;
1258
2135
  export type StorefrontProductAvailabilitySummaryQuery = z.infer<typeof storefrontProductAvailabilitySummaryQuerySchema>;
1259
2136
  export type StorefrontDeparturePricePreviewInput = z.infer<typeof storefrontDeparturePricePreviewInputSchema>;
2137
+ export type StorefrontDeparturePricePreview = z.infer<typeof storefrontDeparturePricePreviewSchema>;
2138
+ export type StorefrontBookingSessionBootstrapInput = z.infer<typeof storefrontBookingSessionBootstrapInputSchema>;
2139
+ export type StorefrontBookingSessionBootstrap = z.infer<typeof storefrontBookingSessionBootstrapSchema>;
1260
2140
  export type StorefrontPromotionalOffer = z.infer<typeof storefrontPromotionalOfferSchema>;
1261
2141
  export type StorefrontOfferApplyInput = z.infer<typeof storefrontOfferApplyInputSchema>;
1262
2142
  export type StorefrontOfferRedeemInput = z.infer<typeof storefrontOfferRedeemInputSchema>;