@voyantjs/bookings 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,908 @@
1
+ import { z } from "zod";
2
+ export declare const publicBookingSessionParticipantInputSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodString>;
4
+ participantType: z.ZodDefault<z.ZodEnum<{
5
+ staff: "staff";
6
+ other: "other";
7
+ traveler: "traveler";
8
+ booker: "booker";
9
+ contact: "contact";
10
+ occupant: "occupant";
11
+ }>>;
12
+ travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
13
+ other: "other";
14
+ adult: "adult";
15
+ child: "child";
16
+ infant: "infant";
17
+ senior: "senior";
18
+ }>>>;
19
+ firstName: z.ZodString;
20
+ lastName: z.ZodString;
21
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ accessibilityNeeds: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ specialRequests: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
27
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ }, z.core.$strip>;
29
+ export declare const publicCreateBookingSessionItemSchema: z.ZodObject<{
30
+ title: z.ZodString;
31
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ itemType: z.ZodDefault<z.ZodEnum<{
33
+ other: "other";
34
+ unit: "unit";
35
+ extra: "extra";
36
+ service: "service";
37
+ fee: "fee";
38
+ tax: "tax";
39
+ discount: "discount";
40
+ adjustment: "adjustment";
41
+ accommodation: "accommodation";
42
+ transport: "transport";
43
+ }>>;
44
+ quantity: z.ZodDefault<z.ZodNumber>;
45
+ sellCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ unitSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ totalSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ costCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ unitCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
+ totalCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ optionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ optionUnitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ pricingCategoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ sourceSnapshotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
+ availabilitySlotId: z.ZodString;
59
+ allocationType: z.ZodDefault<z.ZodEnum<{
60
+ unit: "unit";
61
+ pickup: "pickup";
62
+ resource: "resource";
63
+ }>>;
64
+ }, z.core.$strip>;
65
+ export declare const publicCreateBookingSessionSchema: z.ZodObject<{
66
+ externalBookingRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ communicationLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ sellCurrency: z.ZodString;
69
+ baseCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ sellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
71
+ baseSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
+ costAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
73
+ baseCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
74
+ marginPercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
75
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ pax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
78
+ holdMinutes: z.ZodDefault<z.ZodNumber>;
79
+ holdExpiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ items: z.ZodArray<z.ZodObject<{
81
+ title: z.ZodString;
82
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
+ itemType: z.ZodDefault<z.ZodEnum<{
84
+ other: "other";
85
+ unit: "unit";
86
+ extra: "extra";
87
+ service: "service";
88
+ fee: "fee";
89
+ tax: "tax";
90
+ discount: "discount";
91
+ adjustment: "adjustment";
92
+ accommodation: "accommodation";
93
+ transport: "transport";
94
+ }>>;
95
+ quantity: z.ZodDefault<z.ZodNumber>;
96
+ sellCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ unitSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98
+ totalSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
99
+ costCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
+ unitCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
101
+ totalCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
+ optionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ optionUnitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ pricingCategoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
+ sourceSnapshotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
108
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
109
+ availabilitySlotId: z.ZodString;
110
+ allocationType: z.ZodDefault<z.ZodEnum<{
111
+ unit: "unit";
112
+ pickup: "pickup";
113
+ resource: "resource";
114
+ }>>;
115
+ }, z.core.$strip>>;
116
+ participants: z.ZodDefault<z.ZodArray<z.ZodObject<{
117
+ id: z.ZodOptional<z.ZodString>;
118
+ participantType: z.ZodDefault<z.ZodEnum<{
119
+ staff: "staff";
120
+ other: "other";
121
+ traveler: "traveler";
122
+ booker: "booker";
123
+ contact: "contact";
124
+ occupant: "occupant";
125
+ }>>;
126
+ travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
127
+ other: "other";
128
+ adult: "adult";
129
+ child: "child";
130
+ infant: "infant";
131
+ senior: "senior";
132
+ }>>>;
133
+ firstName: z.ZodString;
134
+ lastName: z.ZodString;
135
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
+ accessibilityNeeds: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
+ specialRequests: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
141
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
142
+ }, z.core.$strip>>>;
143
+ }, z.core.$strip>;
144
+ export declare const publicUpdateBookingSessionSchema: z.ZodObject<{
145
+ externalBookingRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
146
+ communicationLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
147
+ pax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
148
+ holdMinutes: z.ZodOptional<z.ZodNumber>;
149
+ holdExpiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
+ participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
151
+ id: z.ZodOptional<z.ZodString>;
152
+ participantType: z.ZodDefault<z.ZodEnum<{
153
+ staff: "staff";
154
+ other: "other";
155
+ traveler: "traveler";
156
+ booker: "booker";
157
+ contact: "contact";
158
+ occupant: "occupant";
159
+ }>>;
160
+ travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
161
+ other: "other";
162
+ adult: "adult";
163
+ child: "child";
164
+ infant: "infant";
165
+ senior: "senior";
166
+ }>>>;
167
+ firstName: z.ZodString;
168
+ lastName: z.ZodString;
169
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
+ accessibilityNeeds: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ specialRequests: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
175
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
+ }, z.core.$strip>>>;
177
+ removedParticipantIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
178
+ }, z.core.$strip>;
179
+ export declare const publicBookingSessionMutationSchema: z.ZodObject<{
180
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
+ }, z.core.$strip>;
182
+ export declare const publicBookingSessionStateSchema: z.ZodObject<{
183
+ sessionId: z.ZodString;
184
+ stateKey: z.ZodLiteral<"wizard">;
185
+ currentStep: z.ZodNullable<z.ZodString>;
186
+ completedSteps: z.ZodArray<z.ZodString>;
187
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
188
+ version: z.ZodNumber;
189
+ createdAt: z.ZodString;
190
+ updatedAt: z.ZodString;
191
+ }, z.core.$strip>;
192
+ export declare const publicUpsertBookingSessionStateSchema: z.ZodObject<{
193
+ currentStep: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
+ completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
195
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
196
+ replacePayload: z.ZodDefault<z.ZodBoolean>;
197
+ }, z.core.$strip>;
198
+ export declare const publicBookingSessionRepriceSelectionSchema: z.ZodObject<{
199
+ itemId: z.ZodString;
200
+ optionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
+ optionUnitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
+ pricingCategoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
+ quantity: z.ZodOptional<z.ZodNumber>;
204
+ }, z.core.$strip>;
205
+ export declare const publicRepriceBookingSessionSchema: z.ZodObject<{
206
+ catalogId: z.ZodOptional<z.ZodString>;
207
+ applyToSession: z.ZodDefault<z.ZodBoolean>;
208
+ selections: z.ZodArray<z.ZodObject<{
209
+ itemId: z.ZodString;
210
+ optionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
+ optionUnitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
+ pricingCategoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
+ quantity: z.ZodOptional<z.ZodNumber>;
214
+ }, z.core.$strip>>;
215
+ }, z.core.$strip>;
216
+ export declare const publicBookingOverviewLookupQuerySchema: z.ZodObject<{
217
+ bookingNumber: z.ZodString;
218
+ email: z.ZodString;
219
+ }, z.core.$strip>;
220
+ export declare const internalBookingOverviewLookupQuerySchema: z.ZodObject<{
221
+ bookingId: z.ZodOptional<z.ZodString>;
222
+ bookingNumber: z.ZodOptional<z.ZodString>;
223
+ bookingCode: z.ZodOptional<z.ZodString>;
224
+ email: z.ZodOptional<z.ZodString>;
225
+ }, z.core.$strip>;
226
+ export declare const publicBookingSessionParticipantSchema: z.ZodObject<{
227
+ id: z.ZodString;
228
+ participantType: z.ZodEnum<{
229
+ staff: "staff";
230
+ other: "other";
231
+ traveler: "traveler";
232
+ booker: "booker";
233
+ contact: "contact";
234
+ occupant: "occupant";
235
+ }>;
236
+ travelerCategory: z.ZodNullable<z.ZodEnum<{
237
+ other: "other";
238
+ adult: "adult";
239
+ child: "child";
240
+ infant: "infant";
241
+ senior: "senior";
242
+ }>>;
243
+ firstName: z.ZodString;
244
+ lastName: z.ZodString;
245
+ email: z.ZodNullable<z.ZodString>;
246
+ phone: z.ZodNullable<z.ZodString>;
247
+ preferredLanguage: z.ZodNullable<z.ZodString>;
248
+ accessibilityNeeds: z.ZodNullable<z.ZodString>;
249
+ specialRequests: z.ZodNullable<z.ZodString>;
250
+ isPrimary: z.ZodBoolean;
251
+ notes: z.ZodNullable<z.ZodString>;
252
+ }, z.core.$strip>;
253
+ export declare const publicBookingSessionItemParticipantSchema: z.ZodObject<{
254
+ id: z.ZodString;
255
+ participantId: z.ZodString;
256
+ role: z.ZodEnum<{
257
+ other: "other";
258
+ traveler: "traveler";
259
+ occupant: "occupant";
260
+ primary_contact: "primary_contact";
261
+ service_assignee: "service_assignee";
262
+ beneficiary: "beneficiary";
263
+ }>;
264
+ isPrimary: z.ZodBoolean;
265
+ }, z.core.$strip>;
266
+ export declare const publicBookingSessionItemSchema: z.ZodObject<{
267
+ id: z.ZodString;
268
+ title: z.ZodString;
269
+ description: z.ZodNullable<z.ZodString>;
270
+ itemType: z.ZodEnum<{
271
+ other: "other";
272
+ unit: "unit";
273
+ extra: "extra";
274
+ service: "service";
275
+ fee: "fee";
276
+ tax: "tax";
277
+ discount: "discount";
278
+ adjustment: "adjustment";
279
+ accommodation: "accommodation";
280
+ transport: "transport";
281
+ }>;
282
+ status: z.ZodEnum<{
283
+ cancelled: "cancelled";
284
+ draft: "draft";
285
+ on_hold: "on_hold";
286
+ confirmed: "confirmed";
287
+ expired: "expired";
288
+ fulfilled: "fulfilled";
289
+ }>;
290
+ serviceDate: z.ZodNullable<z.ZodString>;
291
+ startsAt: z.ZodNullable<z.ZodString>;
292
+ endsAt: z.ZodNullable<z.ZodString>;
293
+ quantity: z.ZodNumber;
294
+ sellCurrency: z.ZodString;
295
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
296
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
297
+ costCurrency: z.ZodNullable<z.ZodString>;
298
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
299
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
300
+ notes: z.ZodNullable<z.ZodString>;
301
+ productId: z.ZodNullable<z.ZodString>;
302
+ optionId: z.ZodNullable<z.ZodString>;
303
+ optionUnitId: z.ZodNullable<z.ZodString>;
304
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
305
+ participantLinks: z.ZodArray<z.ZodObject<{
306
+ id: z.ZodString;
307
+ participantId: z.ZodString;
308
+ role: z.ZodEnum<{
309
+ other: "other";
310
+ traveler: "traveler";
311
+ occupant: "occupant";
312
+ primary_contact: "primary_contact";
313
+ service_assignee: "service_assignee";
314
+ beneficiary: "beneficiary";
315
+ }>;
316
+ isPrimary: z.ZodBoolean;
317
+ }, z.core.$strip>>;
318
+ }, z.core.$strip>;
319
+ export declare const publicBookingSessionAllocationSchema: z.ZodObject<{
320
+ id: z.ZodString;
321
+ bookingItemId: 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
+ availabilitySlotId: z.ZodNullable<z.ZodString>;
327
+ quantity: z.ZodNumber;
328
+ allocationType: z.ZodEnum<{
329
+ unit: "unit";
330
+ pickup: "pickup";
331
+ resource: "resource";
332
+ }>;
333
+ status: z.ZodEnum<{
334
+ cancelled: "cancelled";
335
+ confirmed: "confirmed";
336
+ expired: "expired";
337
+ fulfilled: "fulfilled";
338
+ held: "held";
339
+ released: "released";
340
+ }>;
341
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
342
+ confirmedAt: z.ZodNullable<z.ZodString>;
343
+ releasedAt: z.ZodNullable<z.ZodString>;
344
+ }, z.core.$strip>;
345
+ export declare const publicBookingSessionChecklistSchema: z.ZodObject<{
346
+ hasParticipants: z.ZodBoolean;
347
+ hasTraveler: z.ZodBoolean;
348
+ hasPrimaryParticipant: z.ZodBoolean;
349
+ hasItems: z.ZodBoolean;
350
+ hasAllocations: z.ZodBoolean;
351
+ readyForConfirmation: z.ZodBoolean;
352
+ }, z.core.$strip>;
353
+ export declare const publicBookingSessionSchema: z.ZodObject<{
354
+ sessionId: z.ZodString;
355
+ bookingNumber: z.ZodString;
356
+ status: z.ZodEnum<{
357
+ cancelled: "cancelled";
358
+ draft: "draft";
359
+ on_hold: "on_hold";
360
+ confirmed: "confirmed";
361
+ in_progress: "in_progress";
362
+ completed: "completed";
363
+ expired: "expired";
364
+ }>;
365
+ externalBookingRef: z.ZodNullable<z.ZodString>;
366
+ communicationLanguage: z.ZodNullable<z.ZodString>;
367
+ sellCurrency: z.ZodString;
368
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
369
+ startDate: z.ZodNullable<z.ZodString>;
370
+ endDate: z.ZodNullable<z.ZodString>;
371
+ pax: z.ZodNullable<z.ZodNumber>;
372
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
373
+ confirmedAt: z.ZodNullable<z.ZodString>;
374
+ expiredAt: z.ZodNullable<z.ZodString>;
375
+ cancelledAt: z.ZodNullable<z.ZodString>;
376
+ completedAt: z.ZodNullable<z.ZodString>;
377
+ participants: z.ZodArray<z.ZodObject<{
378
+ id: z.ZodString;
379
+ participantType: z.ZodEnum<{
380
+ staff: "staff";
381
+ other: "other";
382
+ traveler: "traveler";
383
+ booker: "booker";
384
+ contact: "contact";
385
+ occupant: "occupant";
386
+ }>;
387
+ travelerCategory: z.ZodNullable<z.ZodEnum<{
388
+ other: "other";
389
+ adult: "adult";
390
+ child: "child";
391
+ infant: "infant";
392
+ senior: "senior";
393
+ }>>;
394
+ firstName: z.ZodString;
395
+ lastName: z.ZodString;
396
+ email: z.ZodNullable<z.ZodString>;
397
+ phone: z.ZodNullable<z.ZodString>;
398
+ preferredLanguage: z.ZodNullable<z.ZodString>;
399
+ accessibilityNeeds: z.ZodNullable<z.ZodString>;
400
+ specialRequests: z.ZodNullable<z.ZodString>;
401
+ isPrimary: z.ZodBoolean;
402
+ notes: z.ZodNullable<z.ZodString>;
403
+ }, z.core.$strip>>;
404
+ items: z.ZodArray<z.ZodObject<{
405
+ id: z.ZodString;
406
+ title: z.ZodString;
407
+ description: z.ZodNullable<z.ZodString>;
408
+ itemType: z.ZodEnum<{
409
+ other: "other";
410
+ unit: "unit";
411
+ extra: "extra";
412
+ service: "service";
413
+ fee: "fee";
414
+ tax: "tax";
415
+ discount: "discount";
416
+ adjustment: "adjustment";
417
+ accommodation: "accommodation";
418
+ transport: "transport";
419
+ }>;
420
+ status: z.ZodEnum<{
421
+ cancelled: "cancelled";
422
+ draft: "draft";
423
+ on_hold: "on_hold";
424
+ confirmed: "confirmed";
425
+ expired: "expired";
426
+ fulfilled: "fulfilled";
427
+ }>;
428
+ serviceDate: z.ZodNullable<z.ZodString>;
429
+ startsAt: z.ZodNullable<z.ZodString>;
430
+ endsAt: z.ZodNullable<z.ZodString>;
431
+ quantity: z.ZodNumber;
432
+ sellCurrency: z.ZodString;
433
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
434
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
435
+ costCurrency: z.ZodNullable<z.ZodString>;
436
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
437
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
438
+ notes: z.ZodNullable<z.ZodString>;
439
+ productId: z.ZodNullable<z.ZodString>;
440
+ optionId: z.ZodNullable<z.ZodString>;
441
+ optionUnitId: z.ZodNullable<z.ZodString>;
442
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
443
+ participantLinks: z.ZodArray<z.ZodObject<{
444
+ id: z.ZodString;
445
+ participantId: z.ZodString;
446
+ role: z.ZodEnum<{
447
+ other: "other";
448
+ traveler: "traveler";
449
+ occupant: "occupant";
450
+ primary_contact: "primary_contact";
451
+ service_assignee: "service_assignee";
452
+ beneficiary: "beneficiary";
453
+ }>;
454
+ isPrimary: z.ZodBoolean;
455
+ }, z.core.$strip>>;
456
+ }, z.core.$strip>>;
457
+ allocations: z.ZodArray<z.ZodObject<{
458
+ id: z.ZodString;
459
+ bookingItemId: z.ZodNullable<z.ZodString>;
460
+ productId: z.ZodNullable<z.ZodString>;
461
+ optionId: z.ZodNullable<z.ZodString>;
462
+ optionUnitId: z.ZodNullable<z.ZodString>;
463
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
464
+ availabilitySlotId: z.ZodNullable<z.ZodString>;
465
+ quantity: z.ZodNumber;
466
+ allocationType: z.ZodEnum<{
467
+ unit: "unit";
468
+ pickup: "pickup";
469
+ resource: "resource";
470
+ }>;
471
+ status: z.ZodEnum<{
472
+ cancelled: "cancelled";
473
+ confirmed: "confirmed";
474
+ expired: "expired";
475
+ fulfilled: "fulfilled";
476
+ held: "held";
477
+ released: "released";
478
+ }>;
479
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
480
+ confirmedAt: z.ZodNullable<z.ZodString>;
481
+ releasedAt: z.ZodNullable<z.ZodString>;
482
+ }, z.core.$strip>>;
483
+ checklist: z.ZodObject<{
484
+ hasParticipants: z.ZodBoolean;
485
+ hasTraveler: z.ZodBoolean;
486
+ hasPrimaryParticipant: z.ZodBoolean;
487
+ hasItems: z.ZodBoolean;
488
+ hasAllocations: z.ZodBoolean;
489
+ readyForConfirmation: z.ZodBoolean;
490
+ }, z.core.$strip>;
491
+ state: z.ZodNullable<z.ZodObject<{
492
+ sessionId: z.ZodString;
493
+ stateKey: z.ZodLiteral<"wizard">;
494
+ currentStep: z.ZodNullable<z.ZodString>;
495
+ completedSteps: z.ZodArray<z.ZodString>;
496
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
497
+ version: z.ZodNumber;
498
+ createdAt: z.ZodString;
499
+ updatedAt: z.ZodString;
500
+ }, z.core.$strip>>;
501
+ }, z.core.$strip>;
502
+ export declare const publicBookingSessionRepriceItemSchema: z.ZodObject<{
503
+ itemId: z.ZodString;
504
+ title: z.ZodString;
505
+ productId: z.ZodNullable<z.ZodString>;
506
+ optionId: z.ZodNullable<z.ZodString>;
507
+ optionUnitId: z.ZodNullable<z.ZodString>;
508
+ optionUnitName: z.ZodNullable<z.ZodString>;
509
+ optionUnitType: z.ZodNullable<z.ZodString>;
510
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
511
+ quantity: z.ZodNumber;
512
+ pricingMode: z.ZodString;
513
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
514
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
515
+ warnings: z.ZodArray<z.ZodString>;
516
+ }, z.core.$strip>;
517
+ export declare const publicBookingSessionRepriceSummarySchema: z.ZodObject<{
518
+ sessionId: z.ZodString;
519
+ catalogId: z.ZodNullable<z.ZodString>;
520
+ currencyCode: z.ZodString;
521
+ totalSellAmountCents: z.ZodNumber;
522
+ items: z.ZodArray<z.ZodObject<{
523
+ itemId: z.ZodString;
524
+ title: z.ZodString;
525
+ productId: z.ZodNullable<z.ZodString>;
526
+ optionId: z.ZodNullable<z.ZodString>;
527
+ optionUnitId: z.ZodNullable<z.ZodString>;
528
+ optionUnitName: z.ZodNullable<z.ZodString>;
529
+ optionUnitType: z.ZodNullable<z.ZodString>;
530
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
531
+ quantity: z.ZodNumber;
532
+ pricingMode: z.ZodString;
533
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
534
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
535
+ warnings: z.ZodArray<z.ZodString>;
536
+ }, z.core.$strip>>;
537
+ warnings: z.ZodArray<z.ZodString>;
538
+ appliedToSession: z.ZodBoolean;
539
+ }, z.core.$strip>;
540
+ export declare const publicBookingSessionRepriceResultSchema: z.ZodObject<{
541
+ pricing: z.ZodObject<{
542
+ sessionId: z.ZodString;
543
+ catalogId: z.ZodNullable<z.ZodString>;
544
+ currencyCode: z.ZodString;
545
+ totalSellAmountCents: z.ZodNumber;
546
+ items: z.ZodArray<z.ZodObject<{
547
+ itemId: z.ZodString;
548
+ title: z.ZodString;
549
+ productId: z.ZodNullable<z.ZodString>;
550
+ optionId: z.ZodNullable<z.ZodString>;
551
+ optionUnitId: z.ZodNullable<z.ZodString>;
552
+ optionUnitName: z.ZodNullable<z.ZodString>;
553
+ optionUnitType: z.ZodNullable<z.ZodString>;
554
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
555
+ quantity: z.ZodNumber;
556
+ pricingMode: z.ZodString;
557
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
558
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
559
+ warnings: z.ZodArray<z.ZodString>;
560
+ }, z.core.$strip>>;
561
+ warnings: z.ZodArray<z.ZodString>;
562
+ appliedToSession: z.ZodBoolean;
563
+ }, z.core.$strip>;
564
+ session: z.ZodNullable<z.ZodObject<{
565
+ sessionId: z.ZodString;
566
+ bookingNumber: z.ZodString;
567
+ status: z.ZodEnum<{
568
+ cancelled: "cancelled";
569
+ draft: "draft";
570
+ on_hold: "on_hold";
571
+ confirmed: "confirmed";
572
+ in_progress: "in_progress";
573
+ completed: "completed";
574
+ expired: "expired";
575
+ }>;
576
+ externalBookingRef: z.ZodNullable<z.ZodString>;
577
+ communicationLanguage: z.ZodNullable<z.ZodString>;
578
+ sellCurrency: z.ZodString;
579
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
580
+ startDate: z.ZodNullable<z.ZodString>;
581
+ endDate: z.ZodNullable<z.ZodString>;
582
+ pax: z.ZodNullable<z.ZodNumber>;
583
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
584
+ confirmedAt: z.ZodNullable<z.ZodString>;
585
+ expiredAt: z.ZodNullable<z.ZodString>;
586
+ cancelledAt: z.ZodNullable<z.ZodString>;
587
+ completedAt: z.ZodNullable<z.ZodString>;
588
+ participants: z.ZodArray<z.ZodObject<{
589
+ id: z.ZodString;
590
+ participantType: z.ZodEnum<{
591
+ staff: "staff";
592
+ other: "other";
593
+ traveler: "traveler";
594
+ booker: "booker";
595
+ contact: "contact";
596
+ occupant: "occupant";
597
+ }>;
598
+ travelerCategory: z.ZodNullable<z.ZodEnum<{
599
+ other: "other";
600
+ adult: "adult";
601
+ child: "child";
602
+ infant: "infant";
603
+ senior: "senior";
604
+ }>>;
605
+ firstName: z.ZodString;
606
+ lastName: z.ZodString;
607
+ email: z.ZodNullable<z.ZodString>;
608
+ phone: z.ZodNullable<z.ZodString>;
609
+ preferredLanguage: z.ZodNullable<z.ZodString>;
610
+ accessibilityNeeds: z.ZodNullable<z.ZodString>;
611
+ specialRequests: z.ZodNullable<z.ZodString>;
612
+ isPrimary: z.ZodBoolean;
613
+ notes: z.ZodNullable<z.ZodString>;
614
+ }, z.core.$strip>>;
615
+ items: z.ZodArray<z.ZodObject<{
616
+ id: z.ZodString;
617
+ title: z.ZodString;
618
+ description: z.ZodNullable<z.ZodString>;
619
+ itemType: z.ZodEnum<{
620
+ other: "other";
621
+ unit: "unit";
622
+ extra: "extra";
623
+ service: "service";
624
+ fee: "fee";
625
+ tax: "tax";
626
+ discount: "discount";
627
+ adjustment: "adjustment";
628
+ accommodation: "accommodation";
629
+ transport: "transport";
630
+ }>;
631
+ status: z.ZodEnum<{
632
+ cancelled: "cancelled";
633
+ draft: "draft";
634
+ on_hold: "on_hold";
635
+ confirmed: "confirmed";
636
+ expired: "expired";
637
+ fulfilled: "fulfilled";
638
+ }>;
639
+ serviceDate: z.ZodNullable<z.ZodString>;
640
+ startsAt: z.ZodNullable<z.ZodString>;
641
+ endsAt: z.ZodNullable<z.ZodString>;
642
+ quantity: z.ZodNumber;
643
+ sellCurrency: z.ZodString;
644
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
645
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
646
+ costCurrency: z.ZodNullable<z.ZodString>;
647
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
648
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
649
+ notes: z.ZodNullable<z.ZodString>;
650
+ productId: z.ZodNullable<z.ZodString>;
651
+ optionId: z.ZodNullable<z.ZodString>;
652
+ optionUnitId: z.ZodNullable<z.ZodString>;
653
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
654
+ participantLinks: z.ZodArray<z.ZodObject<{
655
+ id: z.ZodString;
656
+ participantId: z.ZodString;
657
+ role: z.ZodEnum<{
658
+ other: "other";
659
+ traveler: "traveler";
660
+ occupant: "occupant";
661
+ primary_contact: "primary_contact";
662
+ service_assignee: "service_assignee";
663
+ beneficiary: "beneficiary";
664
+ }>;
665
+ isPrimary: z.ZodBoolean;
666
+ }, z.core.$strip>>;
667
+ }, z.core.$strip>>;
668
+ allocations: z.ZodArray<z.ZodObject<{
669
+ id: z.ZodString;
670
+ bookingItemId: z.ZodNullable<z.ZodString>;
671
+ productId: z.ZodNullable<z.ZodString>;
672
+ optionId: z.ZodNullable<z.ZodString>;
673
+ optionUnitId: z.ZodNullable<z.ZodString>;
674
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
675
+ availabilitySlotId: z.ZodNullable<z.ZodString>;
676
+ quantity: z.ZodNumber;
677
+ allocationType: z.ZodEnum<{
678
+ unit: "unit";
679
+ pickup: "pickup";
680
+ resource: "resource";
681
+ }>;
682
+ status: z.ZodEnum<{
683
+ cancelled: "cancelled";
684
+ confirmed: "confirmed";
685
+ expired: "expired";
686
+ fulfilled: "fulfilled";
687
+ held: "held";
688
+ released: "released";
689
+ }>;
690
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
691
+ confirmedAt: z.ZodNullable<z.ZodString>;
692
+ releasedAt: z.ZodNullable<z.ZodString>;
693
+ }, z.core.$strip>>;
694
+ checklist: z.ZodObject<{
695
+ hasParticipants: z.ZodBoolean;
696
+ hasTraveler: z.ZodBoolean;
697
+ hasPrimaryParticipant: z.ZodBoolean;
698
+ hasItems: z.ZodBoolean;
699
+ hasAllocations: z.ZodBoolean;
700
+ readyForConfirmation: z.ZodBoolean;
701
+ }, z.core.$strip>;
702
+ state: z.ZodNullable<z.ZodObject<{
703
+ sessionId: z.ZodString;
704
+ stateKey: z.ZodLiteral<"wizard">;
705
+ currentStep: z.ZodNullable<z.ZodString>;
706
+ completedSteps: z.ZodArray<z.ZodString>;
707
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
708
+ version: z.ZodNumber;
709
+ createdAt: z.ZodString;
710
+ updatedAt: z.ZodString;
711
+ }, z.core.$strip>>;
712
+ }, z.core.$strip>>;
713
+ }, z.core.$strip>;
714
+ export declare const publicBookingOverviewParticipantSchema: z.ZodObject<{
715
+ id: z.ZodString;
716
+ participantType: z.ZodEnum<{
717
+ staff: "staff";
718
+ other: "other";
719
+ traveler: "traveler";
720
+ booker: "booker";
721
+ contact: "contact";
722
+ occupant: "occupant";
723
+ }>;
724
+ firstName: z.ZodString;
725
+ lastName: z.ZodString;
726
+ isPrimary: z.ZodBoolean;
727
+ }, z.core.$strip>;
728
+ export declare const publicBookingOverviewDocumentSchema: z.ZodObject<{
729
+ id: z.ZodString;
730
+ participantId: z.ZodNullable<z.ZodString>;
731
+ type: z.ZodEnum<{
732
+ visa: "visa";
733
+ other: "other";
734
+ insurance: "insurance";
735
+ health: "health";
736
+ passport_copy: "passport_copy";
737
+ }>;
738
+ fileName: z.ZodString;
739
+ fileUrl: z.ZodString;
740
+ }, z.core.$strip>;
741
+ export declare const publicBookingOverviewFulfillmentSchema: z.ZodObject<{
742
+ id: z.ZodString;
743
+ bookingItemId: z.ZodNullable<z.ZodString>;
744
+ participantId: z.ZodNullable<z.ZodString>;
745
+ fulfillmentType: z.ZodEnum<{
746
+ other: "other";
747
+ voucher: "voucher";
748
+ ticket: "ticket";
749
+ pdf: "pdf";
750
+ qr_code: "qr_code";
751
+ barcode: "barcode";
752
+ mobile: "mobile";
753
+ }>;
754
+ deliveryChannel: z.ZodEnum<{
755
+ other: "other";
756
+ download: "download";
757
+ email: "email";
758
+ api: "api";
759
+ wallet: "wallet";
760
+ }>;
761
+ status: z.ZodEnum<{
762
+ pending: "pending";
763
+ issued: "issued";
764
+ reissued: "reissued";
765
+ revoked: "revoked";
766
+ failed: "failed";
767
+ }>;
768
+ artifactUrl: z.ZodNullable<z.ZodString>;
769
+ }, z.core.$strip>;
770
+ export declare const publicBookingOverviewSchema: z.ZodObject<{
771
+ bookingId: z.ZodString;
772
+ bookingNumber: z.ZodString;
773
+ status: z.ZodEnum<{
774
+ cancelled: "cancelled";
775
+ draft: "draft";
776
+ on_hold: "on_hold";
777
+ confirmed: "confirmed";
778
+ in_progress: "in_progress";
779
+ completed: "completed";
780
+ expired: "expired";
781
+ }>;
782
+ sellCurrency: z.ZodString;
783
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
784
+ startDate: z.ZodNullable<z.ZodString>;
785
+ endDate: z.ZodNullable<z.ZodString>;
786
+ pax: z.ZodNullable<z.ZodNumber>;
787
+ confirmedAt: z.ZodNullable<z.ZodString>;
788
+ cancelledAt: z.ZodNullable<z.ZodString>;
789
+ completedAt: z.ZodNullable<z.ZodString>;
790
+ participants: z.ZodArray<z.ZodObject<{
791
+ id: z.ZodString;
792
+ participantType: z.ZodEnum<{
793
+ staff: "staff";
794
+ other: "other";
795
+ traveler: "traveler";
796
+ booker: "booker";
797
+ contact: "contact";
798
+ occupant: "occupant";
799
+ }>;
800
+ firstName: z.ZodString;
801
+ lastName: z.ZodString;
802
+ isPrimary: z.ZodBoolean;
803
+ }, z.core.$strip>>;
804
+ items: z.ZodArray<z.ZodObject<{
805
+ id: z.ZodString;
806
+ title: z.ZodString;
807
+ description: z.ZodNullable<z.ZodString>;
808
+ itemType: z.ZodEnum<{
809
+ other: "other";
810
+ unit: "unit";
811
+ extra: "extra";
812
+ service: "service";
813
+ fee: "fee";
814
+ tax: "tax";
815
+ discount: "discount";
816
+ adjustment: "adjustment";
817
+ accommodation: "accommodation";
818
+ transport: "transport";
819
+ }>;
820
+ status: z.ZodEnum<{
821
+ cancelled: "cancelled";
822
+ draft: "draft";
823
+ on_hold: "on_hold";
824
+ confirmed: "confirmed";
825
+ expired: "expired";
826
+ fulfilled: "fulfilled";
827
+ }>;
828
+ serviceDate: z.ZodNullable<z.ZodString>;
829
+ startsAt: z.ZodNullable<z.ZodString>;
830
+ endsAt: z.ZodNullable<z.ZodString>;
831
+ quantity: z.ZodNumber;
832
+ sellCurrency: z.ZodString;
833
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
834
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
835
+ costCurrency: z.ZodNullable<z.ZodString>;
836
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
837
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
838
+ notes: z.ZodNullable<z.ZodString>;
839
+ productId: z.ZodNullable<z.ZodString>;
840
+ optionId: z.ZodNullable<z.ZodString>;
841
+ optionUnitId: z.ZodNullable<z.ZodString>;
842
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
843
+ participantLinks: z.ZodArray<z.ZodObject<{
844
+ id: z.ZodString;
845
+ participantId: z.ZodString;
846
+ role: z.ZodEnum<{
847
+ other: "other";
848
+ traveler: "traveler";
849
+ occupant: "occupant";
850
+ primary_contact: "primary_contact";
851
+ service_assignee: "service_assignee";
852
+ beneficiary: "beneficiary";
853
+ }>;
854
+ isPrimary: z.ZodBoolean;
855
+ }, z.core.$strip>>;
856
+ }, z.core.$strip>>;
857
+ documents: z.ZodArray<z.ZodObject<{
858
+ id: z.ZodString;
859
+ participantId: z.ZodNullable<z.ZodString>;
860
+ type: z.ZodEnum<{
861
+ visa: "visa";
862
+ other: "other";
863
+ insurance: "insurance";
864
+ health: "health";
865
+ passport_copy: "passport_copy";
866
+ }>;
867
+ fileName: z.ZodString;
868
+ fileUrl: z.ZodString;
869
+ }, z.core.$strip>>;
870
+ fulfillments: z.ZodArray<z.ZodObject<{
871
+ id: z.ZodString;
872
+ bookingItemId: z.ZodNullable<z.ZodString>;
873
+ participantId: z.ZodNullable<z.ZodString>;
874
+ fulfillmentType: z.ZodEnum<{
875
+ other: "other";
876
+ voucher: "voucher";
877
+ ticket: "ticket";
878
+ pdf: "pdf";
879
+ qr_code: "qr_code";
880
+ barcode: "barcode";
881
+ mobile: "mobile";
882
+ }>;
883
+ deliveryChannel: z.ZodEnum<{
884
+ other: "other";
885
+ download: "download";
886
+ email: "email";
887
+ api: "api";
888
+ wallet: "wallet";
889
+ }>;
890
+ status: z.ZodEnum<{
891
+ pending: "pending";
892
+ issued: "issued";
893
+ reissued: "reissued";
894
+ revoked: "revoked";
895
+ failed: "failed";
896
+ }>;
897
+ artifactUrl: z.ZodNullable<z.ZodString>;
898
+ }, z.core.$strip>>;
899
+ }, z.core.$strip>;
900
+ export type PublicCreateBookingSessionInput = z.infer<typeof publicCreateBookingSessionSchema>;
901
+ export type PublicUpdateBookingSessionInput = z.infer<typeof publicUpdateBookingSessionSchema>;
902
+ export type PublicBookingSessionMutationInput = z.infer<typeof publicBookingSessionMutationSchema>;
903
+ export type PublicBookingSessionState = z.infer<typeof publicBookingSessionStateSchema>;
904
+ export type PublicUpsertBookingSessionStateInput = z.infer<typeof publicUpsertBookingSessionStateSchema>;
905
+ export type PublicBookingSessionRepriceInput = z.infer<typeof publicRepriceBookingSessionSchema>;
906
+ export type PublicBookingOverviewLookupQuery = z.infer<typeof publicBookingOverviewLookupQuerySchema>;
907
+ export type InternalBookingOverviewLookupQuery = z.infer<typeof internalBookingOverviewLookupQuerySchema>;
908
+ //# sourceMappingURL=validation-public.d.ts.map