@voyantjs/storefront 0.47.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,265 +1,151 @@
1
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
- text: "text";
11
- date: "date";
12
- select: "select";
13
- email: "email";
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;
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";
4
+ export declare const storefrontIntakeConsentSchema: z.ZodObject<{
5
+ marketing: z.ZodDefault<z.ZodBoolean>;
6
+ newsletter: z.ZodDefault<z.ZodBoolean>;
7
+ gdpr: z.ZodDefault<z.ZodBoolean>;
8
+ scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
10
  }, 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
- text: "text";
28
- date: "date";
29
- select: "select";
30
- email: "email";
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>>>;
11
+ export declare const storefrontLeadContactSchema: z.ZodObject<{
12
+ name: z.ZodOptional<z.ZodString>;
13
+ firstName: z.ZodOptional<z.ZodString>;
14
+ lastName: z.ZodOptional<z.ZodString>;
15
+ email: z.ZodOptional<z.ZodEmail>;
16
+ phone: z.ZodOptional<z.ZodString>;
44
17
  }, z.core.$strip>;
45
- export declare const storefrontFormFieldSchema: z.ZodObject<{
46
- key: z.ZodString;
47
- label: z.ZodString;
48
- type: z.ZodEnum<{
49
- text: "text";
50
- date: "date";
51
- select: "select";
52
- email: "email";
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;
18
+ export declare const storefrontLeadIntakeInputSchema: z.ZodObject<{
19
+ kind: z.ZodDefault<z.ZodEnum<{
20
+ wishlist: "wishlist";
21
+ notify: "notify";
22
+ inquiry: "inquiry";
23
+ request_offer: "request_offer";
24
+ referral: "referral";
25
+ }>>;
26
+ source: z.ZodDefault<z.ZodEnum<{
27
+ admin: "admin";
28
+ form: "form";
29
+ phone: "phone";
30
+ booking: "booking";
31
+ website: "website";
32
+ abandoned_cart: "abandoned_cart";
33
+ }>>;
34
+ contact: z.ZodObject<{
35
+ name: z.ZodOptional<z.ZodString>;
36
+ firstName: z.ZodOptional<z.ZodString>;
37
+ lastName: z.ZodOptional<z.ZodString>;
38
+ email: z.ZodOptional<z.ZodEmail>;
39
+ phone: z.ZodOptional<z.ZodString>;
40
+ }, z.core.$strip>;
41
+ productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ optionUnitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
45
+ sourceSubmissionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
47
+ locale: z.ZodOptional<z.ZodString>;
48
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
49
+ consent: z.ZodDefault<z.ZodObject<{
50
+ marketing: z.ZodDefault<z.ZodBoolean>;
51
+ newsletter: z.ZodDefault<z.ZodBoolean>;
52
+ gdpr: z.ZodDefault<z.ZodBoolean>;
53
+ scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
55
  }, z.core.$strip>>;
66
56
  }, 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>;
57
+ export declare const storefrontNewsletterSubscribeInputSchema: z.ZodObject<{
58
+ email: z.ZodEmail;
59
+ name: z.ZodOptional<z.ZodString>;
60
+ firstName: z.ZodOptional<z.ZodString>;
61
+ lastName: z.ZodOptional<z.ZodString>;
62
+ source: z.ZodDefault<z.ZodEnum<{
63
+ admin: "admin";
64
+ form: "form";
65
+ phone: "phone";
66
+ booking: "booking";
67
+ website: "website";
68
+ abandoned_cart: "abandoned_cart";
69
+ }>>;
70
+ sourceSubmissionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
72
+ locale: z.ZodOptional<z.ZodString>;
73
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
74
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
75
+ consent: z.ZodObject<{
76
+ marketing: z.ZodDefault<z.ZodBoolean>;
77
+ gdpr: z.ZodDefault<z.ZodBoolean>;
78
+ scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ newsletter: z.ZodLiteral<true>;
81
+ }, z.core.$strip>;
78
82
  }, 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";
83
+ export declare const storefrontIntakeResponseSchema: z.ZodObject<{
84
+ id: z.ZodString;
85
+ personId: z.ZodString;
86
+ kind: z.ZodEnum<{
87
+ wishlist: "wishlist";
88
+ notify: "notify";
89
+ inquiry: "inquiry";
90
+ request_offer: "request_offer";
91
+ referral: "referral";
86
92
  }>;
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
- text: "text";
112
- date: "date";
113
- select: "select";
114
- email: "email";
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
- text: "text";
136
- date: "date";
137
- select: "select";
138
- email: "email";
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>>;
93
+ source: z.ZodEnum<{
94
+ admin: "admin";
95
+ form: "form";
96
+ phone: "phone";
97
+ booking: "booking";
98
+ website: "website";
99
+ abandoned_cart: "abandoned_cart";
100
+ }>;
101
+ status: z.ZodEnum<{
102
+ expired: "expired";
103
+ converted: "converted";
104
+ lost: "lost";
105
+ new: "new";
106
+ contacted: "contacted";
107
+ qualified: "qualified";
108
+ }>;
109
+ duplicate: z.ZodBoolean;
176
110
  }, 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
- text: "text";
198
- date: "date";
199
- select: "select";
200
- email: "email";
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
- text: "text";
222
- date: "date";
223
- select: "select";
224
- email: "email";
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>;
111
+ export declare const storefrontNewsletterSubscribeResponseSchema: z.ZodObject<{
112
+ id: z.ZodString;
113
+ personId: z.ZodString;
114
+ kind: z.ZodEnum<{
115
+ wishlist: "wishlist";
116
+ notify: "notify";
117
+ inquiry: "inquiry";
118
+ request_offer: "request_offer";
119
+ referral: "referral";
120
+ }>;
121
+ source: z.ZodEnum<{
122
+ admin: "admin";
123
+ form: "form";
124
+ phone: "phone";
125
+ booking: "booking";
126
+ website: "website";
127
+ abandoned_cart: "abandoned_cart";
128
+ }>;
129
+ status: z.ZodEnum<{
130
+ expired: "expired";
131
+ converted: "converted";
132
+ lost: "lost";
133
+ new: "new";
134
+ contacted: "contacted";
135
+ qualified: "qualified";
136
+ }>;
137
+ duplicate: z.ZodBoolean;
138
+ doubleOptIn: z.ZodEnum<{
139
+ requested: "requested";
140
+ not_configured: "not_configured";
141
+ }>;
262
142
  }, z.core.$strip>;
143
+ export type StorefrontIntakeConsent = z.infer<typeof storefrontIntakeConsentSchema>;
144
+ export type StorefrontLeadContact = z.infer<typeof storefrontLeadContactSchema>;
145
+ export type StorefrontLeadIntakeInput = z.infer<typeof storefrontLeadIntakeInputSchema>;
146
+ export type StorefrontNewsletterSubscribeInput = z.infer<typeof storefrontNewsletterSubscribeInputSchema>;
147
+ export type StorefrontIntakeResponse = z.infer<typeof storefrontIntakeResponseSchema>;
148
+ export type StorefrontNewsletterSubscribeResponse = z.infer<typeof storefrontNewsletterSubscribeResponseSchema>;
263
149
  export declare const storefrontDepartureStatusSchema: z.ZodEnum<{
264
150
  cancelled: "cancelled";
265
151
  open: "open";
@@ -440,8 +326,8 @@ export declare const storefrontProductAvailabilityStateSchema: z.ZodEnum<{
440
326
  sold_out: "sold_out";
441
327
  past_cutoff: "past_cutoff";
442
328
  too_early: "too_early";
443
- unavailable: "unavailable";
444
329
  on_request: "on_request";
330
+ unavailable: "unavailable";
445
331
  available: "available";
446
332
  }>;
447
333
  export declare const storefrontProductAvailabilitySummaryQuerySchema: z.ZodObject<{
@@ -474,51 +360,1280 @@ export declare const storefrontProductAvailabilitySlotSchema: z.ZodObject<{
474
360
  sold_out: "sold_out";
475
361
  on_request: "on_request";
476
362
  }>;
477
- availabilityState: z.ZodEnum<{
478
- cancelled: "cancelled";
479
- closed: "closed";
480
- sold_out: "sold_out";
481
- past_cutoff: "past_cutoff";
482
- too_early: "too_early";
483
- unavailable: "unavailable";
484
- on_request: "on_request";
485
- available: "available";
486
- }>;
363
+ availabilityState: z.ZodEnum<{
364
+ cancelled: "cancelled";
365
+ closed: "closed";
366
+ sold_out: "sold_out";
367
+ past_cutoff: "past_cutoff";
368
+ too_early: "too_early";
369
+ on_request: "on_request";
370
+ unavailable: "unavailable";
371
+ available: "available";
372
+ }>;
373
+ capacity: z.ZodNullable<z.ZodNumber>;
374
+ remaining: z.ZodNullable<z.ZodNumber>;
375
+ pastCutoff: z.ZodBoolean;
376
+ tooEarly: z.ZodBoolean;
377
+ }, z.core.$strip>;
378
+ export declare const storefrontProductAvailabilitySummarySchema: z.ZodObject<{
379
+ productId: z.ZodString;
380
+ availabilityState: z.ZodEnum<{
381
+ cancelled: "cancelled";
382
+ closed: "closed";
383
+ sold_out: "sold_out";
384
+ past_cutoff: "past_cutoff";
385
+ too_early: "too_early";
386
+ on_request: "on_request";
387
+ unavailable: "unavailable";
388
+ available: "available";
389
+ }>;
390
+ counts: z.ZodObject<{
391
+ total: z.ZodNumber;
392
+ open: z.ZodNumber;
393
+ closed: z.ZodNumber;
394
+ soldOut: z.ZodNumber;
395
+ cancelled: z.ZodNumber;
396
+ onRequest: z.ZodNumber;
397
+ pastCutoff: z.ZodNumber;
398
+ tooEarly: z.ZodNumber;
399
+ available: z.ZodNumber;
400
+ }, z.core.$strip>;
401
+ departures: z.ZodArray<z.ZodObject<{
402
+ id: z.ZodString;
403
+ productId: z.ZodString;
404
+ optionId: z.ZodNullable<z.ZodString>;
405
+ dateLocal: z.ZodNullable<z.ZodString>;
406
+ startAt: z.ZodNullable<z.ZodString>;
407
+ endAt: z.ZodNullable<z.ZodString>;
408
+ timezone: z.ZodString;
409
+ status: z.ZodEnum<{
410
+ cancelled: "cancelled";
411
+ open: "open";
412
+ closed: "closed";
413
+ sold_out: "sold_out";
414
+ on_request: "on_request";
415
+ }>;
416
+ availabilityState: z.ZodEnum<{
417
+ cancelled: "cancelled";
418
+ closed: "closed";
419
+ sold_out: "sold_out";
420
+ past_cutoff: "past_cutoff";
421
+ too_early: "too_early";
422
+ on_request: "on_request";
423
+ unavailable: "unavailable";
424
+ available: "available";
425
+ }>;
426
+ capacity: z.ZodNullable<z.ZodNumber>;
427
+ remaining: z.ZodNullable<z.ZodNumber>;
428
+ pastCutoff: z.ZodBoolean;
429
+ tooEarly: z.ZodBoolean;
430
+ }, z.core.$strip>>;
431
+ total: z.ZodNumber;
432
+ limit: z.ZodNumber;
433
+ offset: z.ZodNumber;
434
+ }, z.core.$strip>;
435
+ export declare const storefrontProductAvailabilitySummaryResponseSchema: z.ZodObject<{
436
+ data: z.ZodObject<{
437
+ productId: z.ZodString;
438
+ availabilityState: z.ZodEnum<{
439
+ cancelled: "cancelled";
440
+ closed: "closed";
441
+ sold_out: "sold_out";
442
+ past_cutoff: "past_cutoff";
443
+ too_early: "too_early";
444
+ on_request: "on_request";
445
+ unavailable: "unavailable";
446
+ available: "available";
447
+ }>;
448
+ counts: z.ZodObject<{
449
+ total: z.ZodNumber;
450
+ open: z.ZodNumber;
451
+ closed: z.ZodNumber;
452
+ soldOut: z.ZodNumber;
453
+ cancelled: z.ZodNumber;
454
+ onRequest: z.ZodNumber;
455
+ pastCutoff: z.ZodNumber;
456
+ tooEarly: z.ZodNumber;
457
+ available: z.ZodNumber;
458
+ }, z.core.$strip>;
459
+ departures: z.ZodArray<z.ZodObject<{
460
+ id: z.ZodString;
461
+ productId: z.ZodString;
462
+ optionId: z.ZodNullable<z.ZodString>;
463
+ dateLocal: z.ZodNullable<z.ZodString>;
464
+ startAt: z.ZodNullable<z.ZodString>;
465
+ endAt: z.ZodNullable<z.ZodString>;
466
+ timezone: z.ZodString;
467
+ status: z.ZodEnum<{
468
+ cancelled: "cancelled";
469
+ open: "open";
470
+ closed: "closed";
471
+ sold_out: "sold_out";
472
+ on_request: "on_request";
473
+ }>;
474
+ availabilityState: z.ZodEnum<{
475
+ cancelled: "cancelled";
476
+ closed: "closed";
477
+ sold_out: "sold_out";
478
+ past_cutoff: "past_cutoff";
479
+ too_early: "too_early";
480
+ on_request: "on_request";
481
+ unavailable: "unavailable";
482
+ available: "available";
483
+ }>;
484
+ capacity: z.ZodNullable<z.ZodNumber>;
485
+ remaining: z.ZodNullable<z.ZodNumber>;
486
+ pastCutoff: z.ZodBoolean;
487
+ tooEarly: z.ZodBoolean;
488
+ }, z.core.$strip>>;
489
+ total: z.ZodNumber;
490
+ limit: z.ZodNumber;
491
+ offset: z.ZodNumber;
492
+ }, z.core.$strip>;
493
+ }, z.core.$strip>;
494
+ export declare const storefrontDeparturePricePreviewInputSchema: z.ZodObject<{
495
+ pax: z.ZodDefault<z.ZodObject<{
496
+ adults: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
497
+ children: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
498
+ infants: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
499
+ }, z.core.$strip>>;
500
+ currencyCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
501
+ rooms: z.ZodDefault<z.ZodArray<z.ZodObject<{
502
+ unitId: z.ZodString;
503
+ occupancy: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
504
+ quantity: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
505
+ }, z.core.$strip>>>;
506
+ extras: z.ZodDefault<z.ZodArray<z.ZodObject<{
507
+ extraId: z.ZodString;
508
+ quantity: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
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>;
516
+ }, z.core.$strip>;
517
+ export declare const storefrontDeparturePriceLineItemSchema: z.ZodObject<{
518
+ name: z.ZodString;
519
+ total: z.ZodNumber;
520
+ quantity: z.ZodNumber;
521
+ unitPrice: z.ZodNumber;
522
+ }, z.core.$strip>;
523
+ export declare const storefrontDeparturePriceSlotSchema: z.ZodObject<{
524
+ id: z.ZodString;
525
+ productId: z.ZodString;
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;
568
+ currencyCode: z.ZodString;
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;
579
+ total: z.ZodNumber;
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;
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>;
625
+ quantity: z.ZodNumber;
626
+ pricingMode: z.ZodNullable<z.ZodString>;
627
+ unitPrice: z.ZodNumber;
628
+ total: z.ZodNumber;
629
+ currencyCode: z.ZodString;
630
+ tierId: z.ZodNullable<z.ZodString>;
631
+ }, z.core.$strip>>;
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>;
643
+ }, z.core.$strip>>;
644
+ }, z.core.$strip>;
645
+ export declare const storefrontDeparturePriceExtraImpactSchema: z.ZodObject<{
646
+ extraId: z.ZodString;
647
+ name: z.ZodString;
648
+ required: z.ZodBoolean;
649
+ selectable: z.ZodBoolean;
650
+ selected: z.ZodBoolean;
651
+ pricingMode: z.ZodLazy<z.ZodEnum<{
652
+ per_booking: "per_booking";
653
+ free: "free";
654
+ included: "included";
655
+ on_request: "on_request";
656
+ per_person: "per_person";
657
+ quantity_based: "quantity_based";
658
+ }>>;
659
+ quantity: z.ZodNumber;
660
+ unitPrice: z.ZodNumber;
661
+ total: z.ZodNumber;
662
+ currencyCode: z.ZodString;
663
+ }, z.core.$strip>;
664
+ export declare const storefrontDeparturePriceOfferImpactSchema: z.ZodObject<{
665
+ offer: z.ZodLazy<z.ZodObject<{
666
+ id: z.ZodString;
667
+ name: z.ZodString;
668
+ slug: z.ZodNullable<z.ZodString>;
669
+ description: z.ZodNullable<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
+ }>;
487
1371
  capacity: z.ZodNullable<z.ZodNumber>;
488
1372
  remaining: z.ZodNullable<z.ZodNumber>;
489
- pastCutoff: z.ZodBoolean;
490
- tooEarly: z.ZodBoolean;
491
1373
  }, z.core.$strip>;
492
- export declare const storefrontProductAvailabilitySummarySchema: z.ZodObject<{
493
- productId: z.ZodString;
494
- availabilityState: z.ZodEnum<{
495
- cancelled: "cancelled";
496
- closed: "closed";
497
- sold_out: "sold_out";
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;
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>>;
514
1380
  }, z.core.$strip>;
515
- departures: z.ZodArray<z.ZodObject<{
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<{
516
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;
517
1632
  productId: z.ZodString;
518
1633
  optionId: z.ZodNullable<z.ZodString>;
519
1634
  dateLocal: z.ZodNullable<z.ZodString>;
520
- startAt: z.ZodNullable<z.ZodString>;
521
- endAt: z.ZodNullable<z.ZodString>;
1635
+ startsAt: z.ZodNullable<z.ZodString>;
1636
+ endsAt: z.ZodNullable<z.ZodString>;
522
1637
  timezone: z.ZodString;
523
1638
  status: z.ZodEnum<{
524
1639
  cancelled: "cancelled";
@@ -527,122 +1642,36 @@ export declare const storefrontProductAvailabilitySummarySchema: z.ZodObject<{
527
1642
  sold_out: "sold_out";
528
1643
  on_request: "on_request";
529
1644
  }>;
530
- availabilityState: z.ZodEnum<{
531
- cancelled: "cancelled";
532
- closed: "closed";
533
- sold_out: "sold_out";
534
- past_cutoff: "past_cutoff";
535
- too_early: "too_early";
536
- unavailable: "unavailable";
537
- on_request: "on_request";
538
- available: "available";
539
- }>;
540
1645
  capacity: z.ZodNullable<z.ZodNumber>;
541
1646
  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
- cancelled: "cancelled";
554
- closed: "closed";
555
- sold_out: "sold_out";
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
- cancelled: "cancelled";
583
- open: "open";
584
- closed: "closed";
585
- sold_out: "sold_out";
586
- on_request: "on_request";
587
- }>;
588
- availabilityState: z.ZodEnum<{
589
- cancelled: "cancelled";
590
- closed: "closed";
591
- sold_out: "sold_out";
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
1647
  }, 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;
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>;
643
1656
  quantity: z.ZodNumber;
644
- unitPrice: 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>;
645
1673
  }, z.core.$strip>>;
1674
+ currency: z.ZodString;
646
1675
  }, z.core.$strip>;
647
1676
  export declare const storefrontProductExtensionsQuerySchema: z.ZodObject<{
648
1677
  optionId: z.ZodOptional<z.ZodString>;
@@ -670,12 +1699,12 @@ export declare const storefrontProductExtensionSchema: z.ZodObject<{
670
1699
  pricePerPerson: z.ZodNullable<z.ZodNumber>;
671
1700
  currencyCode: z.ZodString;
672
1701
  pricingMode: z.ZodLazy<z.ZodEnum<{
1702
+ per_booking: "per_booking";
1703
+ free: "free";
673
1704
  included: "included";
1705
+ on_request: "on_request";
674
1706
  per_person: "per_person";
675
- per_booking: "per_booking";
676
1707
  quantity_based: "quantity_based";
677
- on_request: "on_request";
678
- free: "free";
679
1708
  }>>;
680
1709
  defaultQuantity: z.ZodNullable<z.ZodNumber>;
681
1710
  minQuantity: z.ZodNullable<z.ZodNumber>;
@@ -694,12 +1723,12 @@ export declare const storefrontProductExtensionsResponseSchema: z.ZodObject<{
694
1723
  pricePerPerson: z.ZodNullable<z.ZodNumber>;
695
1724
  currencyCode: z.ZodString;
696
1725
  pricingMode: z.ZodLazy<z.ZodEnum<{
1726
+ per_booking: "per_booking";
1727
+ free: "free";
697
1728
  included: "included";
1729
+ on_request: "on_request";
698
1730
  per_person: "per_person";
699
- per_booking: "per_booking";
700
1731
  quantity_based: "quantity_based";
701
- on_request: "on_request";
702
- free: "free";
703
1732
  }>>;
704
1733
  defaultQuantity: z.ZodNullable<z.ZodNumber>;
705
1734
  minQuantity: z.ZodNullable<z.ZodNumber>;
@@ -717,12 +1746,12 @@ export declare const storefrontProductExtensionsResponseSchema: z.ZodObject<{
717
1746
  pricePerPerson: z.ZodNullable<z.ZodNumber>;
718
1747
  currencyCode: z.ZodString;
719
1748
  pricingMode: z.ZodLazy<z.ZodEnum<{
1749
+ per_booking: "per_booking";
1750
+ free: "free";
720
1751
  included: "included";
1752
+ on_request: "on_request";
721
1753
  per_person: "per_person";
722
- per_booking: "per_booking";
723
1754
  quantity_based: "quantity_based";
724
- on_request: "on_request";
725
- free: "free";
726
1755
  }>>;
727
1756
  defaultQuantity: z.ZodNullable<z.ZodNumber>;
728
1757
  minQuantity: z.ZodNullable<z.ZodNumber>;
@@ -903,16 +1932,18 @@ export declare const storefrontAppliedOfferSchema: z.ZodObject<{
903
1932
  stackable: z.ZodBoolean;
904
1933
  }, z.core.$strip>;
905
1934
  export declare const storefrontOfferMutationStatusSchema: z.ZodEnum<{
906
- not_applicable: "not_applicable";
907
1935
  applied: "applied";
908
- invalid: "invalid";
1936
+ not_applicable: "not_applicable";
909
1937
  conflict: "conflict";
1938
+ invalid: "invalid";
910
1939
  }>;
911
1940
  export declare const storefrontOfferMutationReasonSchema: z.ZodNullable<z.ZodEnum<{
912
1941
  scope: "scope";
913
1942
  currency: "currency";
914
- min_pax: "min_pax";
1943
+ booking_mismatch: "booking_mismatch";
915
1944
  conflict: "conflict";
1945
+ min_pax: "min_pax";
1946
+ no_discount: "no_discount";
916
1947
  offer_not_found: "offer_not_found";
917
1948
  offer_expired: "offer_expired";
918
1949
  offer_not_yet_valid: "offer_not_yet_valid";
@@ -920,8 +1951,6 @@ export declare const storefrontOfferMutationReasonSchema: z.ZodNullable<z.ZodEnu
920
1951
  code_required: "code_required";
921
1952
  code_expired: "code_expired";
922
1953
  code_not_yet_valid: "code_not_yet_valid";
923
- no_discount: "no_discount";
924
- booking_mismatch: "booking_mismatch";
925
1954
  session_mismatch: "session_mismatch";
926
1955
  }>>;
927
1956
  export declare const storefrontOfferConflictSchema: z.ZodObject<{
@@ -936,16 +1965,18 @@ export declare const storefrontOfferConflictSchema: z.ZodObject<{
936
1965
  }, z.core.$strip>;
937
1966
  export declare const storefrontOfferMutationResultSchema: z.ZodObject<{
938
1967
  status: z.ZodEnum<{
939
- not_applicable: "not_applicable";
940
1968
  applied: "applied";
941
- invalid: "invalid";
1969
+ not_applicable: "not_applicable";
942
1970
  conflict: "conflict";
1971
+ invalid: "invalid";
943
1972
  }>;
944
1973
  reason: z.ZodNullable<z.ZodEnum<{
945
1974
  scope: "scope";
946
1975
  currency: "currency";
947
- min_pax: "min_pax";
1976
+ booking_mismatch: "booking_mismatch";
948
1977
  conflict: "conflict";
1978
+ min_pax: "min_pax";
1979
+ no_discount: "no_discount";
949
1980
  offer_not_found: "offer_not_found";
950
1981
  offer_expired: "offer_expired";
951
1982
  offer_not_yet_valid: "offer_not_yet_valid";
@@ -953,8 +1984,6 @@ export declare const storefrontOfferMutationResultSchema: z.ZodObject<{
953
1984
  code_required: "code_required";
954
1985
  code_expired: "code_expired";
955
1986
  code_not_yet_valid: "code_not_yet_valid";
956
- no_discount: "no_discount";
957
- booking_mismatch: "booking_mismatch";
958
1987
  session_mismatch: "session_mismatch";
959
1988
  }>>;
960
1989
  offer: z.ZodNullable<z.ZodObject<{
@@ -1020,16 +2049,18 @@ export declare const storefrontOfferMutationResultSchema: z.ZodObject<{
1020
2049
  export declare const storefrontOfferMutationResponseSchema: z.ZodObject<{
1021
2050
  data: z.ZodObject<{
1022
2051
  status: z.ZodEnum<{
1023
- not_applicable: "not_applicable";
1024
2052
  applied: "applied";
1025
- invalid: "invalid";
2053
+ not_applicable: "not_applicable";
1026
2054
  conflict: "conflict";
2055
+ invalid: "invalid";
1027
2056
  }>;
1028
2057
  reason: z.ZodNullable<z.ZodEnum<{
1029
2058
  scope: "scope";
1030
2059
  currency: "currency";
1031
- min_pax: "min_pax";
2060
+ booking_mismatch: "booking_mismatch";
1032
2061
  conflict: "conflict";
2062
+ min_pax: "min_pax";
2063
+ no_discount: "no_discount";
1033
2064
  offer_not_found: "offer_not_found";
1034
2065
  offer_expired: "offer_expired";
1035
2066
  offer_not_yet_valid: "offer_not_yet_valid";
@@ -1037,8 +2068,6 @@ export declare const storefrontOfferMutationResponseSchema: z.ZodObject<{
1037
2068
  code_required: "code_required";
1038
2069
  code_expired: "code_expired";
1039
2070
  code_not_yet_valid: "code_not_yet_valid";
1040
- no_discount: "no_discount";
1041
- booking_mismatch: "booking_mismatch";
1042
2071
  session_mismatch: "session_mismatch";
1043
2072
  }>>;
1044
2073
  offer: z.ZodNullable<z.ZodObject<{
@@ -1102,16 +2131,12 @@ export declare const storefrontOfferMutationResponseSchema: z.ZodObject<{
1102
2131
  }, z.core.$strip>>;
1103
2132
  }, z.core.$strip>;
1104
2133
  }, z.core.$strip>;
1105
- export type StorefrontFormFieldInput = z.infer<typeof storefrontFormFieldInputSchema>;
1106
- export type StorefrontFormField = z.infer<typeof storefrontFormFieldSchema>;
1107
- export type StorefrontPaymentMethodInput = z.infer<typeof storefrontPaymentMethodInputSchema>;
1108
- export type StorefrontPaymentMethod = z.infer<typeof storefrontPaymentMethodSchema>;
1109
- export type StorefrontPaymentMethodCode = z.infer<typeof storefrontPaymentMethodCodeSchema>;
1110
- export type StorefrontSettingsInput = z.infer<typeof storefrontSettingsInputSchema>;
1111
- export type StorefrontSettings = z.infer<typeof storefrontSettingsSchema>;
1112
2134
  export type StorefrontDepartureListQuery = z.infer<typeof storefrontDepartureListQuerySchema>;
1113
2135
  export type StorefrontProductAvailabilitySummaryQuery = z.infer<typeof storefrontProductAvailabilitySummaryQuerySchema>;
1114
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>;
1115
2140
  export type StorefrontPromotionalOffer = z.infer<typeof storefrontPromotionalOfferSchema>;
1116
2141
  export type StorefrontOfferApplyInput = z.infer<typeof storefrontOfferApplyInputSchema>;
1117
2142
  export type StorefrontOfferRedeemInput = z.infer<typeof storefrontOfferRedeemInputSchema>;