@voyantjs/storefront-sdk 0.31.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1190 @@
1
+ import { publicBookingOverviewLookupQuerySchema, publicBookingOverviewSchema, publicBookingSessionMutationSchema, publicBookingSessionRepriceResultSchema, publicBookingSessionSchema, publicBookingSessionStateSchema, publicCreateBookingSessionSchema, publicRepriceBookingSessionSchema, publicUpdateBookingSessionSchema, publicUpsertBookingSessionStateSchema } from "@voyantjs/bookings";
2
+ import { bootstrapCheckoutCollectionSchema, bootstrappedCheckoutCollectionSchema, checkoutCollectionPlanSchema, initiateCheckoutCollectionSchema, initiatedCheckoutCollectionSchema, previewCheckoutCollectionSchema } from "@voyantjs/checkout";
3
+ import { storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDepartureSchema, storefrontProductAvailabilitySummaryQuerySchema, storefrontProductAvailabilitySummaryResponseSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsSchema } from "@voyantjs/storefront";
4
+ import { z } from "zod";
5
+ export declare const storefrontSingleEnvelopeSchema: <T extends z.ZodTypeAny>(item: T) => z.ZodObject<{
6
+ data: T;
7
+ }, z.core.$strip>;
8
+ export declare const storefrontArrayEnvelopeSchema: <T extends z.ZodTypeAny>(item: T) => z.ZodObject<{
9
+ data: z.ZodArray<T>;
10
+ }, z.core.$strip>;
11
+ export { bootstrapCheckoutCollectionSchema, bootstrappedCheckoutCollectionSchema, checkoutCollectionPlanSchema, initiateCheckoutCollectionSchema, initiatedCheckoutCollectionSchema, previewCheckoutCollectionSchema, publicBookingOverviewLookupQuerySchema, publicBookingOverviewSchema, publicBookingSessionMutationSchema, publicBookingSessionRepriceResultSchema, publicBookingSessionSchema, publicBookingSessionStateSchema, publicCreateBookingSessionSchema, publicRepriceBookingSessionSchema, publicUpdateBookingSessionSchema, publicUpsertBookingSessionStateSchema, storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDepartureSchema, storefrontProductAvailabilitySummaryQuerySchema, storefrontProductAvailabilitySummaryResponseSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsSchema, };
12
+ export declare const storefrontSettingsResponseSchema: z.ZodObject<{
13
+ data: z.ZodObject<{
14
+ branding: z.ZodObject<{
15
+ logoUrl: z.ZodNullable<z.ZodURL>;
16
+ supportedLanguages: z.ZodArray<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ support: z.ZodObject<{
19
+ email: z.ZodNullable<z.ZodEmail>;
20
+ phone: z.ZodNullable<z.ZodString>;
21
+ }, z.core.$strip>;
22
+ legal: z.ZodObject<{
23
+ termsUrl: z.ZodNullable<z.ZodURL>;
24
+ privacyUrl: z.ZodNullable<z.ZodURL>;
25
+ defaultContractTemplateId: z.ZodNullable<z.ZodString>;
26
+ }, z.core.$strip>;
27
+ forms: z.ZodObject<{
28
+ billing: z.ZodObject<{
29
+ fields: z.ZodArray<z.ZodObject<{
30
+ key: z.ZodString;
31
+ label: z.ZodString;
32
+ type: z.ZodEnum<{
33
+ email: "email";
34
+ date: "date";
35
+ text: "text";
36
+ tel: "tel";
37
+ textarea: "textarea";
38
+ select: "select";
39
+ checkbox: "checkbox";
40
+ country: "country";
41
+ }>;
42
+ required: z.ZodBoolean;
43
+ placeholder: z.ZodNullable<z.ZodString>;
44
+ description: z.ZodNullable<z.ZodString>;
45
+ autocomplete: z.ZodNullable<z.ZodString>;
46
+ options: z.ZodArray<z.ZodObject<{
47
+ value: z.ZodString;
48
+ label: z.ZodString;
49
+ }, z.core.$strip>>;
50
+ }, z.core.$strip>>;
51
+ }, z.core.$strip>;
52
+ travelers: z.ZodObject<{
53
+ fields: z.ZodArray<z.ZodObject<{
54
+ key: z.ZodString;
55
+ label: z.ZodString;
56
+ type: z.ZodEnum<{
57
+ email: "email";
58
+ date: "date";
59
+ text: "text";
60
+ tel: "tel";
61
+ textarea: "textarea";
62
+ select: "select";
63
+ checkbox: "checkbox";
64
+ country: "country";
65
+ }>;
66
+ required: z.ZodBoolean;
67
+ placeholder: z.ZodNullable<z.ZodString>;
68
+ description: z.ZodNullable<z.ZodString>;
69
+ autocomplete: z.ZodNullable<z.ZodString>;
70
+ options: z.ZodArray<z.ZodObject<{
71
+ value: z.ZodString;
72
+ label: z.ZodString;
73
+ }, z.core.$strip>>;
74
+ }, z.core.$strip>>;
75
+ }, z.core.$strip>;
76
+ }, z.core.$strip>;
77
+ payment: z.ZodObject<{
78
+ defaultMethod: z.ZodNullable<z.ZodEnum<{
79
+ card: "card";
80
+ bank_transfer: "bank_transfer";
81
+ invoice: "invoice";
82
+ voucher: "voucher";
83
+ cash: "cash";
84
+ }>>;
85
+ methods: z.ZodArray<z.ZodObject<{
86
+ code: z.ZodEnum<{
87
+ card: "card";
88
+ bank_transfer: "bank_transfer";
89
+ invoice: "invoice";
90
+ voucher: "voucher";
91
+ cash: "cash";
92
+ }>;
93
+ label: z.ZodString;
94
+ description: z.ZodNullable<z.ZodString>;
95
+ enabled: z.ZodBoolean;
96
+ }, z.core.$strip>>;
97
+ }, z.core.$strip>;
98
+ }, z.core.$strip>;
99
+ }, z.core.$strip>;
100
+ export declare const storefrontDepartureResponseSchema: z.ZodObject<{
101
+ data: z.ZodObject<{
102
+ id: z.ZodString;
103
+ productId: z.ZodString;
104
+ itineraryId: z.ZodString;
105
+ optionId: z.ZodNullable<z.ZodString>;
106
+ dateLocal: z.ZodNullable<z.ZodString>;
107
+ startAt: z.ZodNullable<z.ZodString>;
108
+ endAt: z.ZodNullable<z.ZodString>;
109
+ timezone: z.ZodString;
110
+ startTime: z.ZodNullable<z.ZodObject<{
111
+ id: z.ZodString;
112
+ label: z.ZodNullable<z.ZodString>;
113
+ startTimeLocal: z.ZodString;
114
+ durationMinutes: z.ZodNullable<z.ZodNumber>;
115
+ }, z.core.$strip>>;
116
+ meetingPoint: z.ZodNullable<z.ZodString>;
117
+ capacity: z.ZodNullable<z.ZodNumber>;
118
+ remaining: z.ZodNullable<z.ZodNumber>;
119
+ departureStatus: z.ZodEnum<{
120
+ cancelled: "cancelled";
121
+ open: "open";
122
+ closed: "closed";
123
+ sold_out: "sold_out";
124
+ on_request: "on_request";
125
+ }>;
126
+ nights: z.ZodNullable<z.ZodNumber>;
127
+ days: z.ZodNullable<z.ZodNumber>;
128
+ ratePlans: z.ZodArray<z.ZodObject<{
129
+ id: z.ZodString;
130
+ active: z.ZodBoolean;
131
+ name: z.ZodString;
132
+ pricingModel: z.ZodString;
133
+ basePrices: z.ZodArray<z.ZodObject<{
134
+ amount: z.ZodNumber;
135
+ currencyCode: z.ZodString;
136
+ }, z.core.$strip>>;
137
+ roomPrices: z.ZodArray<z.ZodObject<{
138
+ amount: z.ZodNumber;
139
+ currencyCode: z.ZodString;
140
+ roomType: z.ZodObject<{
141
+ id: z.ZodString;
142
+ name: z.ZodString;
143
+ occupancy: z.ZodObject<{
144
+ adultsMin: z.ZodNumber;
145
+ adultsMax: z.ZodNumber;
146
+ childrenMax: z.ZodNumber;
147
+ }, z.core.$strip>;
148
+ }, z.core.$strip>;
149
+ }, z.core.$strip>>;
150
+ }, z.core.$strip>>;
151
+ }, z.core.$strip>;
152
+ }, z.core.$strip>;
153
+ export declare const storefrontDeparturePricePreviewResponseSchema: z.ZodObject<{
154
+ data: z.ZodObject<{
155
+ departureId: z.ZodString;
156
+ productId: z.ZodString;
157
+ optionId: z.ZodNullable<z.ZodString>;
158
+ currencyCode: z.ZodString;
159
+ basePrice: z.ZodNumber;
160
+ taxAmount: z.ZodNumber;
161
+ total: z.ZodNumber;
162
+ notes: z.ZodNullable<z.ZodString>;
163
+ lineItems: z.ZodArray<z.ZodObject<{
164
+ name: z.ZodString;
165
+ total: z.ZodNumber;
166
+ quantity: z.ZodNumber;
167
+ unitPrice: z.ZodNumber;
168
+ }, z.core.$strip>>;
169
+ }, z.core.$strip>;
170
+ }, z.core.$strip>;
171
+ export declare const storefrontDepartureItineraryResponseSchema: z.ZodObject<{
172
+ data: z.ZodObject<{
173
+ id: z.ZodString;
174
+ itineraryId: z.ZodString;
175
+ days: z.ZodArray<z.ZodObject<{
176
+ id: z.ZodString;
177
+ title: z.ZodString;
178
+ description: z.ZodNullable<z.ZodString>;
179
+ thumbnail: z.ZodNullable<z.ZodObject<{
180
+ url: z.ZodString;
181
+ }, z.core.$strip>>;
182
+ segments: z.ZodArray<z.ZodObject<{
183
+ id: z.ZodString;
184
+ title: z.ZodString;
185
+ description: z.ZodNullable<z.ZodString>;
186
+ }, z.core.$strip>>;
187
+ }, z.core.$strip>>;
188
+ }, z.core.$strip>;
189
+ }, z.core.$strip>;
190
+ export declare const storefrontPromotionalOfferListResponseSchema: z.ZodObject<{
191
+ data: z.ZodArray<z.ZodObject<{
192
+ id: z.ZodString;
193
+ name: z.ZodString;
194
+ slug: z.ZodNullable<z.ZodString>;
195
+ description: z.ZodNullable<z.ZodString>;
196
+ discountType: z.ZodEnum<{
197
+ percentage: "percentage";
198
+ fixed_amount: "fixed_amount";
199
+ }>;
200
+ discountValue: z.ZodString;
201
+ currency: z.ZodNullable<z.ZodString>;
202
+ applicableProductIds: z.ZodArray<z.ZodString>;
203
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
204
+ validFrom: z.ZodNullable<z.ZodString>;
205
+ validTo: z.ZodNullable<z.ZodString>;
206
+ minTravelers: z.ZodNullable<z.ZodNumber>;
207
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
208
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
209
+ stackable: z.ZodBoolean;
210
+ createdAt: z.ZodString;
211
+ updatedAt: z.ZodString;
212
+ }, z.core.$strip>>;
213
+ }, z.core.$strip>;
214
+ export declare const storefrontPromotionalOfferResponseSchema: z.ZodObject<{
215
+ data: z.ZodObject<{
216
+ id: z.ZodString;
217
+ name: z.ZodString;
218
+ slug: z.ZodNullable<z.ZodString>;
219
+ description: z.ZodNullable<z.ZodString>;
220
+ discountType: z.ZodEnum<{
221
+ percentage: "percentage";
222
+ fixed_amount: "fixed_amount";
223
+ }>;
224
+ discountValue: z.ZodString;
225
+ currency: z.ZodNullable<z.ZodString>;
226
+ applicableProductIds: z.ZodArray<z.ZodString>;
227
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
228
+ validFrom: z.ZodNullable<z.ZodString>;
229
+ validTo: z.ZodNullable<z.ZodString>;
230
+ minTravelers: z.ZodNullable<z.ZodNumber>;
231
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
232
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
233
+ stackable: z.ZodBoolean;
234
+ createdAt: z.ZodString;
235
+ updatedAt: z.ZodString;
236
+ }, z.core.$strip>;
237
+ }, z.core.$strip>;
238
+ export declare const publicBookingSessionResponseSchema: z.ZodObject<{
239
+ data: z.ZodObject<{
240
+ sessionId: z.ZodString;
241
+ bookingNumber: z.ZodString;
242
+ status: z.ZodEnum<{
243
+ draft: "draft";
244
+ confirmed: "confirmed";
245
+ completed: "completed";
246
+ expired: "expired";
247
+ cancelled: "cancelled";
248
+ on_hold: "on_hold";
249
+ awaiting_payment: "awaiting_payment";
250
+ in_progress: "in_progress";
251
+ }>;
252
+ externalBookingRef: z.ZodNullable<z.ZodString>;
253
+ communicationLanguage: z.ZodNullable<z.ZodString>;
254
+ sellCurrency: z.ZodString;
255
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
256
+ startDate: z.ZodNullable<z.ZodString>;
257
+ endDate: z.ZodNullable<z.ZodString>;
258
+ pax: z.ZodNullable<z.ZodNumber>;
259
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
260
+ confirmedAt: z.ZodNullable<z.ZodString>;
261
+ expiredAt: z.ZodNullable<z.ZodString>;
262
+ cancelledAt: z.ZodNullable<z.ZodString>;
263
+ completedAt: z.ZodNullable<z.ZodString>;
264
+ travelers: z.ZodArray<z.ZodObject<{
265
+ id: z.ZodString;
266
+ participantType: z.ZodEnum<{
267
+ traveler: "traveler";
268
+ occupant: "occupant";
269
+ other: "other";
270
+ }>;
271
+ travelerCategory: z.ZodNullable<z.ZodEnum<{
272
+ other: "other";
273
+ adult: "adult";
274
+ child: "child";
275
+ infant: "infant";
276
+ senior: "senior";
277
+ }>>;
278
+ firstName: z.ZodString;
279
+ lastName: z.ZodString;
280
+ email: z.ZodNullable<z.ZodString>;
281
+ phone: z.ZodNullable<z.ZodString>;
282
+ preferredLanguage: z.ZodNullable<z.ZodString>;
283
+ specialRequests: z.ZodNullable<z.ZodString>;
284
+ isPrimary: z.ZodBoolean;
285
+ notes: z.ZodNullable<z.ZodString>;
286
+ }, z.core.$strip>>;
287
+ items: z.ZodArray<z.ZodObject<{
288
+ id: z.ZodString;
289
+ title: z.ZodString;
290
+ description: z.ZodNullable<z.ZodString>;
291
+ itemType: z.ZodEnum<{
292
+ other: "other";
293
+ unit: "unit";
294
+ extra: "extra";
295
+ service: "service";
296
+ fee: "fee";
297
+ tax: "tax";
298
+ discount: "discount";
299
+ adjustment: "adjustment";
300
+ accommodation: "accommodation";
301
+ transport: "transport";
302
+ }>;
303
+ status: z.ZodEnum<{
304
+ draft: "draft";
305
+ confirmed: "confirmed";
306
+ expired: "expired";
307
+ cancelled: "cancelled";
308
+ on_hold: "on_hold";
309
+ fulfilled: "fulfilled";
310
+ }>;
311
+ serviceDate: z.ZodNullable<z.ZodString>;
312
+ startsAt: z.ZodNullable<z.ZodString>;
313
+ endsAt: z.ZodNullable<z.ZodString>;
314
+ quantity: z.ZodNumber;
315
+ sellCurrency: z.ZodString;
316
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
317
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
318
+ costCurrency: z.ZodNullable<z.ZodString>;
319
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
320
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
321
+ notes: z.ZodNullable<z.ZodString>;
322
+ productId: z.ZodNullable<z.ZodString>;
323
+ optionId: z.ZodNullable<z.ZodString>;
324
+ optionUnitId: z.ZodNullable<z.ZodString>;
325
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
326
+ travelerLinks: z.ZodArray<z.ZodObject<{
327
+ id: z.ZodString;
328
+ travelerId: z.ZodString;
329
+ role: z.ZodEnum<{
330
+ traveler: "traveler";
331
+ occupant: "occupant";
332
+ other: "other";
333
+ beneficiary: "beneficiary";
334
+ }>;
335
+ isPrimary: z.ZodBoolean;
336
+ }, z.core.$strip>>;
337
+ }, z.core.$strip>>;
338
+ allocations: z.ZodArray<z.ZodObject<{
339
+ id: z.ZodString;
340
+ bookingItemId: z.ZodNullable<z.ZodString>;
341
+ productId: z.ZodNullable<z.ZodString>;
342
+ optionId: z.ZodNullable<z.ZodString>;
343
+ optionUnitId: z.ZodNullable<z.ZodString>;
344
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
345
+ availabilitySlotId: z.ZodNullable<z.ZodString>;
346
+ quantity: z.ZodNumber;
347
+ allocationType: z.ZodEnum<{
348
+ unit: "unit";
349
+ pickup: "pickup";
350
+ resource: "resource";
351
+ }>;
352
+ status: z.ZodEnum<{
353
+ confirmed: "confirmed";
354
+ expired: "expired";
355
+ cancelled: "cancelled";
356
+ fulfilled: "fulfilled";
357
+ held: "held";
358
+ released: "released";
359
+ }>;
360
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
361
+ confirmedAt: z.ZodNullable<z.ZodString>;
362
+ releasedAt: z.ZodNullable<z.ZodString>;
363
+ }, z.core.$strip>>;
364
+ checklist: z.ZodObject<{
365
+ hasTravelers: z.ZodBoolean;
366
+ hasPrimaryTraveler: z.ZodBoolean;
367
+ hasItems: z.ZodBoolean;
368
+ hasAllocations: z.ZodBoolean;
369
+ readyForConfirmation: z.ZodBoolean;
370
+ }, z.core.$strip>;
371
+ state: z.ZodNullable<z.ZodObject<{
372
+ sessionId: z.ZodString;
373
+ stateKey: z.ZodLiteral<"wizard">;
374
+ currentStep: z.ZodNullable<z.ZodString>;
375
+ completedSteps: z.ZodArray<z.ZodString>;
376
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
377
+ version: z.ZodNumber;
378
+ createdAt: z.ZodString;
379
+ updatedAt: z.ZodString;
380
+ }, z.core.$strip>>;
381
+ }, z.core.$strip>;
382
+ }, z.core.$strip>;
383
+ export declare const publicBookingSessionStateResponseSchema: z.ZodObject<{
384
+ data: z.ZodObject<{
385
+ sessionId: z.ZodString;
386
+ stateKey: z.ZodLiteral<"wizard">;
387
+ currentStep: z.ZodNullable<z.ZodString>;
388
+ completedSteps: z.ZodArray<z.ZodString>;
389
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
390
+ version: z.ZodNumber;
391
+ createdAt: z.ZodString;
392
+ updatedAt: z.ZodString;
393
+ }, z.core.$strip>;
394
+ }, z.core.$strip>;
395
+ export declare const publicBookingSessionRepriceResponseSchema: z.ZodObject<{
396
+ data: z.ZodObject<{
397
+ pricing: z.ZodObject<{
398
+ sessionId: z.ZodString;
399
+ catalogId: z.ZodNullable<z.ZodString>;
400
+ currencyCode: z.ZodString;
401
+ totalSellAmountCents: z.ZodNumber;
402
+ items: z.ZodArray<z.ZodObject<{
403
+ itemId: z.ZodString;
404
+ title: z.ZodString;
405
+ productId: z.ZodNullable<z.ZodString>;
406
+ optionId: z.ZodNullable<z.ZodString>;
407
+ optionUnitId: z.ZodNullable<z.ZodString>;
408
+ optionUnitName: z.ZodNullable<z.ZodString>;
409
+ optionUnitType: z.ZodNullable<z.ZodString>;
410
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
411
+ quantity: z.ZodNumber;
412
+ pricingMode: z.ZodString;
413
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
414
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
415
+ warnings: z.ZodArray<z.ZodString>;
416
+ }, z.core.$strip>>;
417
+ warnings: z.ZodArray<z.ZodString>;
418
+ appliedToSession: z.ZodBoolean;
419
+ }, z.core.$strip>;
420
+ session: z.ZodNullable<z.ZodObject<{
421
+ sessionId: z.ZodString;
422
+ bookingNumber: z.ZodString;
423
+ status: z.ZodEnum<{
424
+ draft: "draft";
425
+ confirmed: "confirmed";
426
+ completed: "completed";
427
+ expired: "expired";
428
+ cancelled: "cancelled";
429
+ on_hold: "on_hold";
430
+ awaiting_payment: "awaiting_payment";
431
+ in_progress: "in_progress";
432
+ }>;
433
+ externalBookingRef: z.ZodNullable<z.ZodString>;
434
+ communicationLanguage: z.ZodNullable<z.ZodString>;
435
+ sellCurrency: z.ZodString;
436
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
437
+ startDate: z.ZodNullable<z.ZodString>;
438
+ endDate: z.ZodNullable<z.ZodString>;
439
+ pax: z.ZodNullable<z.ZodNumber>;
440
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
441
+ confirmedAt: z.ZodNullable<z.ZodString>;
442
+ expiredAt: z.ZodNullable<z.ZodString>;
443
+ cancelledAt: z.ZodNullable<z.ZodString>;
444
+ completedAt: z.ZodNullable<z.ZodString>;
445
+ travelers: z.ZodArray<z.ZodObject<{
446
+ id: z.ZodString;
447
+ participantType: z.ZodEnum<{
448
+ traveler: "traveler";
449
+ occupant: "occupant";
450
+ other: "other";
451
+ }>;
452
+ travelerCategory: z.ZodNullable<z.ZodEnum<{
453
+ other: "other";
454
+ adult: "adult";
455
+ child: "child";
456
+ infant: "infant";
457
+ senior: "senior";
458
+ }>>;
459
+ firstName: z.ZodString;
460
+ lastName: z.ZodString;
461
+ email: z.ZodNullable<z.ZodString>;
462
+ phone: z.ZodNullable<z.ZodString>;
463
+ preferredLanguage: z.ZodNullable<z.ZodString>;
464
+ specialRequests: z.ZodNullable<z.ZodString>;
465
+ isPrimary: z.ZodBoolean;
466
+ notes: z.ZodNullable<z.ZodString>;
467
+ }, z.core.$strip>>;
468
+ items: z.ZodArray<z.ZodObject<{
469
+ id: z.ZodString;
470
+ title: z.ZodString;
471
+ description: z.ZodNullable<z.ZodString>;
472
+ itemType: z.ZodEnum<{
473
+ other: "other";
474
+ unit: "unit";
475
+ extra: "extra";
476
+ service: "service";
477
+ fee: "fee";
478
+ tax: "tax";
479
+ discount: "discount";
480
+ adjustment: "adjustment";
481
+ accommodation: "accommodation";
482
+ transport: "transport";
483
+ }>;
484
+ status: z.ZodEnum<{
485
+ draft: "draft";
486
+ confirmed: "confirmed";
487
+ expired: "expired";
488
+ cancelled: "cancelled";
489
+ on_hold: "on_hold";
490
+ fulfilled: "fulfilled";
491
+ }>;
492
+ serviceDate: z.ZodNullable<z.ZodString>;
493
+ startsAt: z.ZodNullable<z.ZodString>;
494
+ endsAt: z.ZodNullable<z.ZodString>;
495
+ quantity: z.ZodNumber;
496
+ sellCurrency: z.ZodString;
497
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
498
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
499
+ costCurrency: z.ZodNullable<z.ZodString>;
500
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
501
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
502
+ notes: z.ZodNullable<z.ZodString>;
503
+ productId: z.ZodNullable<z.ZodString>;
504
+ optionId: z.ZodNullable<z.ZodString>;
505
+ optionUnitId: z.ZodNullable<z.ZodString>;
506
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
507
+ travelerLinks: z.ZodArray<z.ZodObject<{
508
+ id: z.ZodString;
509
+ travelerId: z.ZodString;
510
+ role: z.ZodEnum<{
511
+ traveler: "traveler";
512
+ occupant: "occupant";
513
+ other: "other";
514
+ beneficiary: "beneficiary";
515
+ }>;
516
+ isPrimary: z.ZodBoolean;
517
+ }, z.core.$strip>>;
518
+ }, z.core.$strip>>;
519
+ allocations: z.ZodArray<z.ZodObject<{
520
+ id: z.ZodString;
521
+ bookingItemId: z.ZodNullable<z.ZodString>;
522
+ productId: z.ZodNullable<z.ZodString>;
523
+ optionId: z.ZodNullable<z.ZodString>;
524
+ optionUnitId: z.ZodNullable<z.ZodString>;
525
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
526
+ availabilitySlotId: z.ZodNullable<z.ZodString>;
527
+ quantity: z.ZodNumber;
528
+ allocationType: z.ZodEnum<{
529
+ unit: "unit";
530
+ pickup: "pickup";
531
+ resource: "resource";
532
+ }>;
533
+ status: z.ZodEnum<{
534
+ confirmed: "confirmed";
535
+ expired: "expired";
536
+ cancelled: "cancelled";
537
+ fulfilled: "fulfilled";
538
+ held: "held";
539
+ released: "released";
540
+ }>;
541
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
542
+ confirmedAt: z.ZodNullable<z.ZodString>;
543
+ releasedAt: z.ZodNullable<z.ZodString>;
544
+ }, z.core.$strip>>;
545
+ checklist: z.ZodObject<{
546
+ hasTravelers: z.ZodBoolean;
547
+ hasPrimaryTraveler: z.ZodBoolean;
548
+ hasItems: z.ZodBoolean;
549
+ hasAllocations: z.ZodBoolean;
550
+ readyForConfirmation: z.ZodBoolean;
551
+ }, z.core.$strip>;
552
+ state: z.ZodNullable<z.ZodObject<{
553
+ sessionId: z.ZodString;
554
+ stateKey: z.ZodLiteral<"wizard">;
555
+ currentStep: z.ZodNullable<z.ZodString>;
556
+ completedSteps: z.ZodArray<z.ZodString>;
557
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
558
+ version: z.ZodNumber;
559
+ createdAt: z.ZodString;
560
+ updatedAt: z.ZodString;
561
+ }, z.core.$strip>>;
562
+ }, z.core.$strip>>;
563
+ }, z.core.$strip>;
564
+ }, z.core.$strip>;
565
+ export declare const publicBookingOverviewResponseSchema: z.ZodObject<{
566
+ data: z.ZodObject<{
567
+ bookingId: z.ZodString;
568
+ bookingNumber: z.ZodString;
569
+ status: z.ZodEnum<{
570
+ draft: "draft";
571
+ confirmed: "confirmed";
572
+ completed: "completed";
573
+ expired: "expired";
574
+ cancelled: "cancelled";
575
+ on_hold: "on_hold";
576
+ awaiting_payment: "awaiting_payment";
577
+ in_progress: "in_progress";
578
+ }>;
579
+ sellCurrency: z.ZodString;
580
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
581
+ startDate: z.ZodNullable<z.ZodString>;
582
+ endDate: z.ZodNullable<z.ZodString>;
583
+ pax: z.ZodNullable<z.ZodNumber>;
584
+ confirmedAt: z.ZodNullable<z.ZodString>;
585
+ cancelledAt: z.ZodNullable<z.ZodString>;
586
+ completedAt: z.ZodNullable<z.ZodString>;
587
+ travelers: z.ZodArray<z.ZodObject<{
588
+ id: z.ZodString;
589
+ participantType: z.ZodEnum<{
590
+ traveler: "traveler";
591
+ occupant: "occupant";
592
+ other: "other";
593
+ }>;
594
+ firstName: z.ZodString;
595
+ lastName: z.ZodString;
596
+ isPrimary: z.ZodBoolean;
597
+ }, z.core.$strip>>;
598
+ items: z.ZodArray<z.ZodObject<{
599
+ id: z.ZodString;
600
+ title: z.ZodString;
601
+ description: z.ZodNullable<z.ZodString>;
602
+ itemType: z.ZodEnum<{
603
+ other: "other";
604
+ unit: "unit";
605
+ extra: "extra";
606
+ service: "service";
607
+ fee: "fee";
608
+ tax: "tax";
609
+ discount: "discount";
610
+ adjustment: "adjustment";
611
+ accommodation: "accommodation";
612
+ transport: "transport";
613
+ }>;
614
+ status: z.ZodEnum<{
615
+ draft: "draft";
616
+ confirmed: "confirmed";
617
+ expired: "expired";
618
+ cancelled: "cancelled";
619
+ on_hold: "on_hold";
620
+ fulfilled: "fulfilled";
621
+ }>;
622
+ serviceDate: z.ZodNullable<z.ZodString>;
623
+ startsAt: z.ZodNullable<z.ZodString>;
624
+ endsAt: z.ZodNullable<z.ZodString>;
625
+ quantity: z.ZodNumber;
626
+ sellCurrency: z.ZodString;
627
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
628
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
629
+ costCurrency: z.ZodNullable<z.ZodString>;
630
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
631
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
632
+ notes: z.ZodNullable<z.ZodString>;
633
+ productId: z.ZodNullable<z.ZodString>;
634
+ optionId: z.ZodNullable<z.ZodString>;
635
+ optionUnitId: z.ZodNullable<z.ZodString>;
636
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
637
+ travelerLinks: z.ZodArray<z.ZodObject<{
638
+ id: z.ZodString;
639
+ travelerId: z.ZodString;
640
+ role: z.ZodEnum<{
641
+ traveler: "traveler";
642
+ occupant: "occupant";
643
+ other: "other";
644
+ beneficiary: "beneficiary";
645
+ }>;
646
+ isPrimary: z.ZodBoolean;
647
+ }, z.core.$strip>>;
648
+ }, z.core.$strip>>;
649
+ documents: z.ZodArray<z.ZodObject<{
650
+ id: z.ZodString;
651
+ travelerId: z.ZodNullable<z.ZodString>;
652
+ type: z.ZodEnum<{
653
+ other: "other";
654
+ visa: "visa";
655
+ insurance: "insurance";
656
+ health: "health";
657
+ passport_copy: "passport_copy";
658
+ }>;
659
+ fileName: z.ZodString;
660
+ fileUrl: z.ZodString;
661
+ }, z.core.$strip>>;
662
+ fulfillments: z.ZodArray<z.ZodObject<{
663
+ id: z.ZodString;
664
+ bookingItemId: z.ZodNullable<z.ZodString>;
665
+ travelerId: z.ZodNullable<z.ZodString>;
666
+ fulfillmentType: z.ZodEnum<{
667
+ other: "other";
668
+ voucher: "voucher";
669
+ ticket: "ticket";
670
+ pdf: "pdf";
671
+ qr_code: "qr_code";
672
+ barcode: "barcode";
673
+ mobile: "mobile";
674
+ }>;
675
+ deliveryChannel: z.ZodEnum<{
676
+ other: "other";
677
+ email: "email";
678
+ wallet: "wallet";
679
+ download: "download";
680
+ api: "api";
681
+ }>;
682
+ status: z.ZodEnum<{
683
+ pending: "pending";
684
+ issued: "issued";
685
+ reissued: "reissued";
686
+ revoked: "revoked";
687
+ failed: "failed";
688
+ }>;
689
+ artifactUrl: z.ZodNullable<z.ZodString>;
690
+ }, z.core.$strip>>;
691
+ }, z.core.$strip>;
692
+ }, z.core.$strip>;
693
+ export declare const checkoutCollectionPlanResponseSchema: z.ZodObject<{
694
+ data: z.ZodObject<{
695
+ bookingId: z.ZodString;
696
+ method: z.ZodEnum<{
697
+ card: "card";
698
+ bank_transfer: "bank_transfer";
699
+ }>;
700
+ stage: z.ZodEnum<{
701
+ manual: "manual";
702
+ initial: "initial";
703
+ reminder: "reminder";
704
+ }>;
705
+ paymentSessionTarget: z.ZodNullable<z.ZodEnum<{
706
+ schedule: "schedule";
707
+ invoice: "invoice";
708
+ }>>;
709
+ documentType: z.ZodNullable<z.ZodEnum<{
710
+ invoice: "invoice";
711
+ proforma: "proforma";
712
+ }>>;
713
+ willCreateDefaultPaymentPlan: z.ZodBoolean;
714
+ selectedSchedule: z.ZodNullable<z.ZodObject<{
715
+ id: z.ZodString;
716
+ bookingId: z.ZodString;
717
+ bookingItemId: z.ZodNullable<z.ZodString>;
718
+ scheduleType: z.ZodString;
719
+ status: z.ZodString;
720
+ dueDate: z.ZodString;
721
+ currency: z.ZodString;
722
+ amountCents: z.ZodNumber;
723
+ notes: z.ZodNullable<z.ZodString>;
724
+ }, z.core.$strip>>;
725
+ selectedInvoice: z.ZodNullable<z.ZodObject<{
726
+ id: z.ZodString;
727
+ invoiceNumber: z.ZodString;
728
+ invoiceType: z.ZodString;
729
+ bookingId: z.ZodString;
730
+ personId: z.ZodNullable<z.ZodString>;
731
+ organizationId: z.ZodNullable<z.ZodString>;
732
+ status: z.ZodString;
733
+ currency: z.ZodString;
734
+ totalCents: z.ZodNumber;
735
+ paidCents: z.ZodNumber;
736
+ balanceDueCents: z.ZodNumber;
737
+ issueDate: z.ZodString;
738
+ dueDate: z.ZodString;
739
+ notes: z.ZodNullable<z.ZodString>;
740
+ createdAt: z.ZodString;
741
+ updatedAt: z.ZodString;
742
+ }, z.core.$strip>>;
743
+ amountCents: z.ZodNumber;
744
+ currency: z.ZodString;
745
+ recommendedAction: z.ZodEnum<{
746
+ none: "none";
747
+ create_bank_transfer_document: "create_bank_transfer_document";
748
+ create_payment_session: "create_payment_session";
749
+ create_invoice_then_payment_session: "create_invoice_then_payment_session";
750
+ }>;
751
+ }, z.core.$strip>;
752
+ }, z.core.$strip>;
753
+ export declare const initiatedCheckoutCollectionResponseSchema: z.ZodObject<{
754
+ data: z.ZodObject<{
755
+ plan: z.ZodObject<{
756
+ bookingId: z.ZodString;
757
+ method: z.ZodEnum<{
758
+ card: "card";
759
+ bank_transfer: "bank_transfer";
760
+ }>;
761
+ stage: z.ZodEnum<{
762
+ manual: "manual";
763
+ initial: "initial";
764
+ reminder: "reminder";
765
+ }>;
766
+ paymentSessionTarget: z.ZodNullable<z.ZodEnum<{
767
+ schedule: "schedule";
768
+ invoice: "invoice";
769
+ }>>;
770
+ documentType: z.ZodNullable<z.ZodEnum<{
771
+ invoice: "invoice";
772
+ proforma: "proforma";
773
+ }>>;
774
+ willCreateDefaultPaymentPlan: z.ZodBoolean;
775
+ selectedSchedule: z.ZodNullable<z.ZodObject<{
776
+ id: z.ZodString;
777
+ bookingId: z.ZodString;
778
+ bookingItemId: z.ZodNullable<z.ZodString>;
779
+ scheduleType: z.ZodString;
780
+ status: z.ZodString;
781
+ dueDate: z.ZodString;
782
+ currency: z.ZodString;
783
+ amountCents: z.ZodNumber;
784
+ notes: z.ZodNullable<z.ZodString>;
785
+ }, z.core.$strip>>;
786
+ selectedInvoice: z.ZodNullable<z.ZodObject<{
787
+ id: z.ZodString;
788
+ invoiceNumber: z.ZodString;
789
+ invoiceType: z.ZodString;
790
+ bookingId: z.ZodString;
791
+ personId: z.ZodNullable<z.ZodString>;
792
+ organizationId: z.ZodNullable<z.ZodString>;
793
+ status: z.ZodString;
794
+ currency: z.ZodString;
795
+ totalCents: z.ZodNumber;
796
+ paidCents: z.ZodNumber;
797
+ balanceDueCents: z.ZodNumber;
798
+ issueDate: z.ZodString;
799
+ dueDate: z.ZodString;
800
+ notes: z.ZodNullable<z.ZodString>;
801
+ createdAt: z.ZodString;
802
+ updatedAt: z.ZodString;
803
+ }, z.core.$strip>>;
804
+ amountCents: z.ZodNumber;
805
+ currency: z.ZodString;
806
+ recommendedAction: z.ZodEnum<{
807
+ none: "none";
808
+ create_bank_transfer_document: "create_bank_transfer_document";
809
+ create_payment_session: "create_payment_session";
810
+ create_invoice_then_payment_session: "create_invoice_then_payment_session";
811
+ }>;
812
+ }, z.core.$strip>;
813
+ invoice: z.ZodNullable<z.ZodObject<{
814
+ id: z.ZodString;
815
+ invoiceNumber: z.ZodString;
816
+ invoiceType: z.ZodString;
817
+ bookingId: z.ZodString;
818
+ personId: z.ZodNullable<z.ZodString>;
819
+ organizationId: z.ZodNullable<z.ZodString>;
820
+ status: z.ZodString;
821
+ currency: z.ZodString;
822
+ totalCents: z.ZodNumber;
823
+ paidCents: z.ZodNumber;
824
+ balanceDueCents: z.ZodNumber;
825
+ issueDate: z.ZodString;
826
+ dueDate: z.ZodString;
827
+ notes: z.ZodNullable<z.ZodString>;
828
+ createdAt: z.ZodString;
829
+ updatedAt: z.ZodString;
830
+ }, z.core.$strip>>;
831
+ paymentSession: z.ZodNullable<z.ZodObject<{
832
+ id: z.ZodString;
833
+ targetType: z.ZodEnum<{
834
+ other: "other";
835
+ invoice: "invoice";
836
+ booking: "booking";
837
+ order: "order";
838
+ booking_payment_schedule: "booking_payment_schedule";
839
+ booking_guarantee: "booking_guarantee";
840
+ flight_order: "flight_order";
841
+ }>;
842
+ targetId: z.ZodNullable<z.ZodString>;
843
+ bookingId: z.ZodNullable<z.ZodString>;
844
+ invoiceId: z.ZodNullable<z.ZodString>;
845
+ bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
846
+ bookingGuaranteeId: z.ZodNullable<z.ZodString>;
847
+ status: z.ZodEnum<{
848
+ expired: "expired";
849
+ cancelled: "cancelled";
850
+ pending: "pending";
851
+ failed: "failed";
852
+ requires_redirect: "requires_redirect";
853
+ processing: "processing";
854
+ authorized: "authorized";
855
+ paid: "paid";
856
+ }>;
857
+ provider: z.ZodNullable<z.ZodString>;
858
+ providerSessionId: z.ZodNullable<z.ZodString>;
859
+ providerPaymentId: z.ZodNullable<z.ZodString>;
860
+ externalReference: z.ZodNullable<z.ZodString>;
861
+ clientReference: z.ZodNullable<z.ZodString>;
862
+ currency: z.ZodString;
863
+ amountCents: z.ZodNumber;
864
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
865
+ other: "other";
866
+ bank_transfer: "bank_transfer";
867
+ credit_card: "credit_card";
868
+ voucher: "voucher";
869
+ debit_card: "debit_card";
870
+ cash: "cash";
871
+ cheque: "cheque";
872
+ wallet: "wallet";
873
+ direct_bill: "direct_bill";
874
+ }>>;
875
+ payerEmail: z.ZodNullable<z.ZodString>;
876
+ payerName: z.ZodNullable<z.ZodString>;
877
+ redirectUrl: z.ZodNullable<z.ZodString>;
878
+ returnUrl: z.ZodNullable<z.ZodString>;
879
+ cancelUrl: z.ZodNullable<z.ZodString>;
880
+ expiresAt: z.ZodNullable<z.ZodString>;
881
+ completedAt: z.ZodNullable<z.ZodString>;
882
+ failureCode: z.ZodNullable<z.ZodString>;
883
+ failureMessage: z.ZodNullable<z.ZodString>;
884
+ notes: z.ZodNullable<z.ZodString>;
885
+ }, z.core.$strip>>;
886
+ invoiceNotification: z.ZodNullable<z.ZodObject<{
887
+ id: z.ZodString;
888
+ templateSlug: z.ZodNullable<z.ZodString>;
889
+ channel: z.ZodEnum<{
890
+ email: "email";
891
+ sms: "sms";
892
+ }>;
893
+ provider: z.ZodString;
894
+ status: z.ZodEnum<{
895
+ cancelled: "cancelled";
896
+ pending: "pending";
897
+ failed: "failed";
898
+ sent: "sent";
899
+ }>;
900
+ toAddress: z.ZodString;
901
+ subject: z.ZodNullable<z.ZodString>;
902
+ sentAt: z.ZodNullable<z.ZodString>;
903
+ failedAt: z.ZodNullable<z.ZodString>;
904
+ errorMessage: z.ZodNullable<z.ZodString>;
905
+ }, z.core.$strip>>;
906
+ paymentSessionNotification: z.ZodNullable<z.ZodObject<{
907
+ id: z.ZodString;
908
+ templateSlug: z.ZodNullable<z.ZodString>;
909
+ channel: z.ZodEnum<{
910
+ email: "email";
911
+ sms: "sms";
912
+ }>;
913
+ provider: z.ZodString;
914
+ status: z.ZodEnum<{
915
+ cancelled: "cancelled";
916
+ pending: "pending";
917
+ failed: "failed";
918
+ sent: "sent";
919
+ }>;
920
+ toAddress: z.ZodString;
921
+ subject: z.ZodNullable<z.ZodString>;
922
+ sentAt: z.ZodNullable<z.ZodString>;
923
+ failedAt: z.ZodNullable<z.ZodString>;
924
+ errorMessage: z.ZodNullable<z.ZodString>;
925
+ }, z.core.$strip>>;
926
+ bankTransferInstructions: z.ZodNullable<z.ZodObject<{
927
+ provider: z.ZodNullable<z.ZodString>;
928
+ invoiceId: z.ZodString;
929
+ invoiceNumber: z.ZodString;
930
+ documentType: z.ZodEnum<{
931
+ invoice: "invoice";
932
+ proforma: "proforma";
933
+ }>;
934
+ amountCents: z.ZodNumber;
935
+ currency: z.ZodString;
936
+ dueDate: z.ZodNullable<z.ZodString>;
937
+ beneficiary: z.ZodString;
938
+ iban: z.ZodString;
939
+ bankName: z.ZodNullable<z.ZodString>;
940
+ notes: z.ZodNullable<z.ZodString>;
941
+ }, z.core.$strip>>;
942
+ providerStart: z.ZodNullable<z.ZodObject<{
943
+ provider: z.ZodString;
944
+ paymentSessionId: z.ZodString;
945
+ redirectUrl: z.ZodNullable<z.ZodString>;
946
+ externalReference: z.ZodNullable<z.ZodString>;
947
+ providerSessionId: z.ZodNullable<z.ZodString>;
948
+ providerPaymentId: z.ZodNullable<z.ZodString>;
949
+ response: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
950
+ }, z.core.$strip>>;
951
+ }, z.core.$strip>;
952
+ }, z.core.$strip>;
953
+ export declare const bootstrappedCheckoutCollectionResponseSchema: z.ZodObject<{
954
+ data: z.ZodObject<{
955
+ plan: z.ZodObject<{
956
+ bookingId: z.ZodString;
957
+ method: z.ZodEnum<{
958
+ card: "card";
959
+ bank_transfer: "bank_transfer";
960
+ }>;
961
+ stage: z.ZodEnum<{
962
+ manual: "manual";
963
+ initial: "initial";
964
+ reminder: "reminder";
965
+ }>;
966
+ paymentSessionTarget: z.ZodNullable<z.ZodEnum<{
967
+ schedule: "schedule";
968
+ invoice: "invoice";
969
+ }>>;
970
+ documentType: z.ZodNullable<z.ZodEnum<{
971
+ invoice: "invoice";
972
+ proforma: "proforma";
973
+ }>>;
974
+ willCreateDefaultPaymentPlan: z.ZodBoolean;
975
+ selectedSchedule: z.ZodNullable<z.ZodObject<{
976
+ id: z.ZodString;
977
+ bookingId: z.ZodString;
978
+ bookingItemId: z.ZodNullable<z.ZodString>;
979
+ scheduleType: z.ZodString;
980
+ status: z.ZodString;
981
+ dueDate: z.ZodString;
982
+ currency: z.ZodString;
983
+ amountCents: z.ZodNumber;
984
+ notes: z.ZodNullable<z.ZodString>;
985
+ }, z.core.$strip>>;
986
+ selectedInvoice: z.ZodNullable<z.ZodObject<{
987
+ id: z.ZodString;
988
+ invoiceNumber: z.ZodString;
989
+ invoiceType: z.ZodString;
990
+ bookingId: z.ZodString;
991
+ personId: z.ZodNullable<z.ZodString>;
992
+ organizationId: z.ZodNullable<z.ZodString>;
993
+ status: z.ZodString;
994
+ currency: z.ZodString;
995
+ totalCents: z.ZodNumber;
996
+ paidCents: z.ZodNumber;
997
+ balanceDueCents: z.ZodNumber;
998
+ issueDate: z.ZodString;
999
+ dueDate: z.ZodString;
1000
+ notes: z.ZodNullable<z.ZodString>;
1001
+ createdAt: z.ZodString;
1002
+ updatedAt: z.ZodString;
1003
+ }, z.core.$strip>>;
1004
+ amountCents: z.ZodNumber;
1005
+ currency: z.ZodString;
1006
+ recommendedAction: z.ZodEnum<{
1007
+ none: "none";
1008
+ create_bank_transfer_document: "create_bank_transfer_document";
1009
+ create_payment_session: "create_payment_session";
1010
+ create_invoice_then_payment_session: "create_invoice_then_payment_session";
1011
+ }>;
1012
+ }, z.core.$strip>;
1013
+ invoice: z.ZodNullable<z.ZodObject<{
1014
+ id: z.ZodString;
1015
+ invoiceNumber: z.ZodString;
1016
+ invoiceType: z.ZodString;
1017
+ bookingId: z.ZodString;
1018
+ personId: z.ZodNullable<z.ZodString>;
1019
+ organizationId: z.ZodNullable<z.ZodString>;
1020
+ status: z.ZodString;
1021
+ currency: z.ZodString;
1022
+ totalCents: z.ZodNumber;
1023
+ paidCents: z.ZodNumber;
1024
+ balanceDueCents: z.ZodNumber;
1025
+ issueDate: z.ZodString;
1026
+ dueDate: z.ZodString;
1027
+ notes: z.ZodNullable<z.ZodString>;
1028
+ createdAt: z.ZodString;
1029
+ updatedAt: z.ZodString;
1030
+ }, z.core.$strip>>;
1031
+ paymentSession: z.ZodNullable<z.ZodObject<{
1032
+ id: z.ZodString;
1033
+ targetType: z.ZodEnum<{
1034
+ other: "other";
1035
+ invoice: "invoice";
1036
+ booking: "booking";
1037
+ order: "order";
1038
+ booking_payment_schedule: "booking_payment_schedule";
1039
+ booking_guarantee: "booking_guarantee";
1040
+ flight_order: "flight_order";
1041
+ }>;
1042
+ targetId: z.ZodNullable<z.ZodString>;
1043
+ bookingId: z.ZodNullable<z.ZodString>;
1044
+ invoiceId: z.ZodNullable<z.ZodString>;
1045
+ bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
1046
+ bookingGuaranteeId: z.ZodNullable<z.ZodString>;
1047
+ status: z.ZodEnum<{
1048
+ expired: "expired";
1049
+ cancelled: "cancelled";
1050
+ pending: "pending";
1051
+ failed: "failed";
1052
+ requires_redirect: "requires_redirect";
1053
+ processing: "processing";
1054
+ authorized: "authorized";
1055
+ paid: "paid";
1056
+ }>;
1057
+ provider: z.ZodNullable<z.ZodString>;
1058
+ providerSessionId: z.ZodNullable<z.ZodString>;
1059
+ providerPaymentId: z.ZodNullable<z.ZodString>;
1060
+ externalReference: z.ZodNullable<z.ZodString>;
1061
+ clientReference: z.ZodNullable<z.ZodString>;
1062
+ currency: z.ZodString;
1063
+ amountCents: z.ZodNumber;
1064
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
1065
+ other: "other";
1066
+ bank_transfer: "bank_transfer";
1067
+ credit_card: "credit_card";
1068
+ voucher: "voucher";
1069
+ debit_card: "debit_card";
1070
+ cash: "cash";
1071
+ cheque: "cheque";
1072
+ wallet: "wallet";
1073
+ direct_bill: "direct_bill";
1074
+ }>>;
1075
+ payerEmail: z.ZodNullable<z.ZodString>;
1076
+ payerName: z.ZodNullable<z.ZodString>;
1077
+ redirectUrl: z.ZodNullable<z.ZodString>;
1078
+ returnUrl: z.ZodNullable<z.ZodString>;
1079
+ cancelUrl: z.ZodNullable<z.ZodString>;
1080
+ expiresAt: z.ZodNullable<z.ZodString>;
1081
+ completedAt: z.ZodNullable<z.ZodString>;
1082
+ failureCode: z.ZodNullable<z.ZodString>;
1083
+ failureMessage: z.ZodNullable<z.ZodString>;
1084
+ notes: z.ZodNullable<z.ZodString>;
1085
+ }, z.core.$strip>>;
1086
+ invoiceNotification: z.ZodNullable<z.ZodObject<{
1087
+ id: z.ZodString;
1088
+ templateSlug: z.ZodNullable<z.ZodString>;
1089
+ channel: z.ZodEnum<{
1090
+ email: "email";
1091
+ sms: "sms";
1092
+ }>;
1093
+ provider: z.ZodString;
1094
+ status: z.ZodEnum<{
1095
+ cancelled: "cancelled";
1096
+ pending: "pending";
1097
+ failed: "failed";
1098
+ sent: "sent";
1099
+ }>;
1100
+ toAddress: z.ZodString;
1101
+ subject: z.ZodNullable<z.ZodString>;
1102
+ sentAt: z.ZodNullable<z.ZodString>;
1103
+ failedAt: z.ZodNullable<z.ZodString>;
1104
+ errorMessage: z.ZodNullable<z.ZodString>;
1105
+ }, z.core.$strip>>;
1106
+ paymentSessionNotification: z.ZodNullable<z.ZodObject<{
1107
+ id: z.ZodString;
1108
+ templateSlug: z.ZodNullable<z.ZodString>;
1109
+ channel: z.ZodEnum<{
1110
+ email: "email";
1111
+ sms: "sms";
1112
+ }>;
1113
+ provider: z.ZodString;
1114
+ status: z.ZodEnum<{
1115
+ cancelled: "cancelled";
1116
+ pending: "pending";
1117
+ failed: "failed";
1118
+ sent: "sent";
1119
+ }>;
1120
+ toAddress: z.ZodString;
1121
+ subject: z.ZodNullable<z.ZodString>;
1122
+ sentAt: z.ZodNullable<z.ZodString>;
1123
+ failedAt: z.ZodNullable<z.ZodString>;
1124
+ errorMessage: z.ZodNullable<z.ZodString>;
1125
+ }, z.core.$strip>>;
1126
+ bankTransferInstructions: z.ZodNullable<z.ZodObject<{
1127
+ provider: z.ZodNullable<z.ZodString>;
1128
+ invoiceId: z.ZodString;
1129
+ invoiceNumber: z.ZodString;
1130
+ documentType: z.ZodEnum<{
1131
+ invoice: "invoice";
1132
+ proforma: "proforma";
1133
+ }>;
1134
+ amountCents: z.ZodNumber;
1135
+ currency: z.ZodString;
1136
+ dueDate: z.ZodNullable<z.ZodString>;
1137
+ beneficiary: z.ZodString;
1138
+ iban: z.ZodString;
1139
+ bankName: z.ZodNullable<z.ZodString>;
1140
+ notes: z.ZodNullable<z.ZodString>;
1141
+ }, z.core.$strip>>;
1142
+ providerStart: z.ZodNullable<z.ZodObject<{
1143
+ provider: z.ZodString;
1144
+ paymentSessionId: z.ZodString;
1145
+ redirectUrl: z.ZodNullable<z.ZodString>;
1146
+ externalReference: z.ZodNullable<z.ZodString>;
1147
+ providerSessionId: z.ZodNullable<z.ZodString>;
1148
+ providerPaymentId: z.ZodNullable<z.ZodString>;
1149
+ response: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1150
+ }, z.core.$strip>>;
1151
+ bookingId: z.ZodString;
1152
+ sessionId: z.ZodString;
1153
+ sourceType: z.ZodEnum<{
1154
+ session: "session";
1155
+ booking: "booking";
1156
+ }>;
1157
+ intent: z.ZodEnum<{
1158
+ custom: "custom";
1159
+ deposit: "deposit";
1160
+ balance: "balance";
1161
+ }>;
1162
+ }, z.core.$strip>;
1163
+ }, z.core.$strip>;
1164
+ export type StorefrontSettingsRecord = z.infer<typeof storefrontSettingsSchema>;
1165
+ export type StorefrontDepartureRecord = z.infer<typeof storefrontDepartureSchema>;
1166
+ export type StorefrontDepartureListQuery = z.input<typeof storefrontDepartureListQuerySchema>;
1167
+ export type StorefrontDeparturePricePreviewInput = z.input<typeof storefrontDeparturePricePreviewInputSchema>;
1168
+ export type StorefrontDeparturePricePreviewRecord = z.infer<typeof storefrontDeparturePricePreviewSchema>;
1169
+ export type StorefrontDepartureItineraryRecord = z.infer<typeof storefrontDepartureItinerarySchema>;
1170
+ export type StorefrontProductAvailabilitySummaryQuery = z.input<typeof storefrontProductAvailabilitySummaryQuerySchema>;
1171
+ export type StorefrontProductExtensionsQuery = z.input<typeof storefrontProductExtensionsQuerySchema>;
1172
+ export type StorefrontPromotionalOfferListQuery = z.input<typeof storefrontPromotionalOfferListQuerySchema>;
1173
+ export type StorefrontPromotionalOfferRecord = z.infer<typeof storefrontPromotionalOfferSchema>;
1174
+ export type PublicCreateBookingSessionInput = z.input<typeof publicCreateBookingSessionSchema>;
1175
+ export type PublicUpdateBookingSessionInput = z.input<typeof publicUpdateBookingSessionSchema>;
1176
+ export type PublicBookingSessionMutationInput = z.input<typeof publicBookingSessionMutationSchema>;
1177
+ export type PublicBookingSessionRepriceInput = z.input<typeof publicRepriceBookingSessionSchema>;
1178
+ export type PublicUpsertBookingSessionStateInput = z.input<typeof publicUpsertBookingSessionStateSchema>;
1179
+ export type PublicBookingOverviewLookupQuery = z.input<typeof publicBookingOverviewLookupQuerySchema>;
1180
+ export type PublicBookingSessionRecord = z.infer<typeof publicBookingSessionSchema>;
1181
+ export type PublicBookingSessionStateRecord = z.infer<typeof publicBookingSessionStateSchema>;
1182
+ export type PublicBookingSessionRepriceResultRecord = z.infer<typeof publicBookingSessionRepriceResultSchema>;
1183
+ export type PublicBookingOverviewRecord = z.infer<typeof publicBookingOverviewSchema>;
1184
+ export type PreviewCheckoutCollectionInput = z.input<typeof previewCheckoutCollectionSchema>;
1185
+ export type InitiateCheckoutCollectionInput = z.input<typeof initiateCheckoutCollectionSchema>;
1186
+ export type BootstrapCheckoutCollectionInput = z.input<typeof bootstrapCheckoutCollectionSchema>;
1187
+ export type CheckoutCollectionPlanRecord = z.infer<typeof checkoutCollectionPlanSchema>;
1188
+ export type InitiatedCheckoutCollectionRecord = z.infer<typeof initiatedCheckoutCollectionSchema>;
1189
+ export type BootstrappedCheckoutCollectionRecord = z.infer<typeof bootstrappedCheckoutCollectionSchema>;
1190
+ //# sourceMappingURL=schemas.d.ts.map