@voyantjs/transactions-contracts 0.95.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,1462 @@
1
+ import { z } from "zod";
2
+ export declare const storefrontOfferDiscountTypeSchema: z.ZodEnum<{
3
+ percentage: "percentage";
4
+ fixed_amount: "fixed_amount";
5
+ }>;
6
+ export declare const storefrontOfferMetadataSchema: z.ZodPipe<z.ZodObject<{
7
+ enabled: z.ZodDefault<z.ZodBoolean>;
8
+ locale: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11
+ discountType: z.ZodEnum<{
12
+ percentage: "percentage";
13
+ fixed_amount: "fixed_amount";
14
+ }>;
15
+ discountValue: z.ZodString;
16
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17
+ applicableProductIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
18
+ applicableDepartureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
19
+ validFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21
+ minTravelers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22
+ minPassengers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
23
+ imageMobileUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
24
+ imageDesktopUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25
+ stackable: z.ZodDefault<z.ZodBoolean>;
26
+ }, z.core.$strip>, z.ZodTransform<{
27
+ minTravelers: number | null;
28
+ enabled: boolean;
29
+ discountType: "percentage" | "fixed_amount";
30
+ discountValue: string;
31
+ applicableProductIds: string[];
32
+ applicableDepartureIds: string[];
33
+ stackable: boolean;
34
+ locale?: string | null | undefined;
35
+ slug?: string | null | undefined;
36
+ description?: string | null | undefined;
37
+ currency?: string | null | undefined;
38
+ validFrom?: string | null | undefined;
39
+ validTo?: string | null | undefined;
40
+ imageMobileUrl?: string | null | undefined;
41
+ imageDesktopUrl?: string | null | undefined;
42
+ }, {
43
+ enabled: boolean;
44
+ discountType: "percentage" | "fixed_amount";
45
+ discountValue: string;
46
+ applicableProductIds: string[];
47
+ applicableDepartureIds: string[];
48
+ stackable: boolean;
49
+ locale?: string | null | undefined;
50
+ slug?: string | null | undefined;
51
+ description?: string | null | undefined;
52
+ currency?: string | null | undefined;
53
+ validFrom?: string | null | undefined;
54
+ validTo?: string | null | undefined;
55
+ minTravelers?: number | null | undefined;
56
+ minPassengers?: number | null | undefined;
57
+ imageMobileUrl?: string | null | undefined;
58
+ imageDesktopUrl?: string | null | undefined;
59
+ }>>;
60
+ export declare const offerMetadataSchema: z.ZodObject<{
61
+ storefrontPromotionalOffer: z.ZodOptional<z.ZodPipe<z.ZodObject<{
62
+ enabled: z.ZodDefault<z.ZodBoolean>;
63
+ locale: z.ZodNullable<z.ZodOptional<z.ZodString>>;
64
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
65
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
66
+ discountType: z.ZodEnum<{
67
+ percentage: "percentage";
68
+ fixed_amount: "fixed_amount";
69
+ }>;
70
+ discountValue: z.ZodString;
71
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
72
+ applicableProductIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
73
+ applicableDepartureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
74
+ validFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
75
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
76
+ minTravelers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
77
+ minPassengers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
78
+ imageMobileUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
79
+ imageDesktopUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
80
+ stackable: z.ZodDefault<z.ZodBoolean>;
81
+ }, z.core.$strip>, z.ZodTransform<{
82
+ minTravelers: number | null;
83
+ enabled: boolean;
84
+ discountType: "percentage" | "fixed_amount";
85
+ discountValue: string;
86
+ applicableProductIds: string[];
87
+ applicableDepartureIds: string[];
88
+ stackable: boolean;
89
+ locale?: string | null | undefined;
90
+ slug?: string | null | undefined;
91
+ description?: string | null | undefined;
92
+ currency?: string | null | undefined;
93
+ validFrom?: string | null | undefined;
94
+ validTo?: string | null | undefined;
95
+ imageMobileUrl?: string | null | undefined;
96
+ imageDesktopUrl?: string | null | undefined;
97
+ }, {
98
+ enabled: boolean;
99
+ discountType: "percentage" | "fixed_amount";
100
+ discountValue: string;
101
+ applicableProductIds: string[];
102
+ applicableDepartureIds: string[];
103
+ stackable: boolean;
104
+ locale?: string | null | undefined;
105
+ slug?: string | null | undefined;
106
+ description?: string | null | undefined;
107
+ currency?: string | null | undefined;
108
+ validFrom?: string | null | undefined;
109
+ validTo?: string | null | undefined;
110
+ minTravelers?: number | null | undefined;
111
+ minPassengers?: number | null | undefined;
112
+ imageMobileUrl?: string | null | undefined;
113
+ imageDesktopUrl?: string | null | undefined;
114
+ }>>>;
115
+ }, z.core.$catchall<z.ZodUnknown>>;
116
+ export declare const offerStatusSchema: z.ZodEnum<{
117
+ draft: "draft";
118
+ expired: "expired";
119
+ published: "published";
120
+ sent: "sent";
121
+ accepted: "accepted";
122
+ withdrawn: "withdrawn";
123
+ converted: "converted";
124
+ }>;
125
+ export declare const orderStatusSchema: z.ZodEnum<{
126
+ draft: "draft";
127
+ pending: "pending";
128
+ confirmed: "confirmed";
129
+ fulfilled: "fulfilled";
130
+ cancelled: "cancelled";
131
+ expired: "expired";
132
+ }>;
133
+ export declare const transactionParticipantTypeSchema: z.ZodEnum<{
134
+ other: "other";
135
+ traveler: "traveler";
136
+ occupant: "occupant";
137
+ staff: "staff";
138
+ }>;
139
+ export declare const transactionTravelerCategorySchema: z.ZodEnum<{
140
+ other: "other";
141
+ adult: "adult";
142
+ child: "child";
143
+ infant: "infant";
144
+ senior: "senior";
145
+ }>;
146
+ export declare const transactionItemTypeSchema: z.ZodEnum<{
147
+ unit: "unit";
148
+ service: "service";
149
+ extra: "extra";
150
+ fee: "fee";
151
+ tax: "tax";
152
+ discount: "discount";
153
+ adjustment: "adjustment";
154
+ accommodation: "accommodation";
155
+ transport: "transport";
156
+ other: "other";
157
+ }>;
158
+ export declare const transactionItemStatusSchema: z.ZodEnum<{
159
+ draft: "draft";
160
+ confirmed: "confirmed";
161
+ fulfilled: "fulfilled";
162
+ cancelled: "cancelled";
163
+ priced: "priced";
164
+ }>;
165
+ export declare const transactionItemParticipantRoleSchema: z.ZodEnum<{
166
+ other: "other";
167
+ traveler: "traveler";
168
+ occupant: "occupant";
169
+ primary_contact: "primary_contact";
170
+ beneficiary: "beneficiary";
171
+ service_assignee: "service_assignee";
172
+ }>;
173
+ export declare const transactionContactAssignmentRoleSchema: z.ZodEnum<{
174
+ other: "other";
175
+ primary_contact: "primary_contact";
176
+ }>;
177
+ export declare const transactionStaffAssignmentRoleSchema: z.ZodEnum<{
178
+ other: "other";
179
+ service_assignee: "service_assignee";
180
+ }>;
181
+ export declare const transactionContactPartyTypeSchema: z.ZodEnum<{
182
+ individual: "individual";
183
+ company: "company";
184
+ }>;
185
+ export declare const orderTermTypeSchema: z.ZodEnum<{
186
+ other: "other";
187
+ terms_and_conditions: "terms_and_conditions";
188
+ cancellation: "cancellation";
189
+ guarantee: "guarantee";
190
+ payment: "payment";
191
+ pricing: "pricing";
192
+ commission: "commission";
193
+ }>;
194
+ export declare const orderTermAcceptanceStatusSchema: z.ZodEnum<{
195
+ pending: "pending";
196
+ accepted: "accepted";
197
+ not_required: "not_required";
198
+ declined: "declined";
199
+ }>;
200
+ export declare const insertOfferSchema: z.ZodObject<{
201
+ offerNumber: z.ZodString;
202
+ title: z.ZodString;
203
+ status: z.ZodDefault<z.ZodEnum<{
204
+ draft: "draft";
205
+ expired: "expired";
206
+ published: "published";
207
+ sent: "sent";
208
+ accepted: "accepted";
209
+ withdrawn: "withdrawn";
210
+ converted: "converted";
211
+ }>>;
212
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
+ opportunityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
+ quoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
216
+ marketId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
+ sourceChannelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
+ contactPartyType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
219
+ individual: "individual";
220
+ company: "company";
221
+ }>>>;
222
+ contactFirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ contactLastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ contactTaxId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
+ contactPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
+ contactPreferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
+ contactCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
229
+ contactRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ contactCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
+ contactAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ contactAddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
+ contactPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
+ currency: z.ZodString;
235
+ baseCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
236
+ fxRateSetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
+ subtotalAmountCents: z.ZodDefault<z.ZodNumber>;
238
+ taxAmountCents: z.ZodDefault<z.ZodNumber>;
239
+ feeAmountCents: z.ZodDefault<z.ZodNumber>;
240
+ totalAmountCents: z.ZodDefault<z.ZodNumber>;
241
+ costAmountCents: z.ZodDefault<z.ZodNumber>;
242
+ validFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
243
+ validUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ sentAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
+ acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
+ convertedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
249
+ storefrontPromotionalOffer: z.ZodOptional<z.ZodPipe<z.ZodObject<{
250
+ enabled: z.ZodDefault<z.ZodBoolean>;
251
+ locale: z.ZodNullable<z.ZodOptional<z.ZodString>>;
252
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
253
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
254
+ discountType: z.ZodEnum<{
255
+ percentage: "percentage";
256
+ fixed_amount: "fixed_amount";
257
+ }>;
258
+ discountValue: z.ZodString;
259
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
260
+ applicableProductIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
261
+ applicableDepartureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
262
+ validFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
263
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
264
+ minTravelers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
265
+ minPassengers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
266
+ imageMobileUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
267
+ imageDesktopUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
268
+ stackable: z.ZodDefault<z.ZodBoolean>;
269
+ }, z.core.$strip>, z.ZodTransform<{
270
+ minTravelers: number | null;
271
+ enabled: boolean;
272
+ discountType: "percentage" | "fixed_amount";
273
+ discountValue: string;
274
+ applicableProductIds: string[];
275
+ applicableDepartureIds: string[];
276
+ stackable: boolean;
277
+ locale?: string | null | undefined;
278
+ slug?: string | null | undefined;
279
+ description?: string | null | undefined;
280
+ currency?: string | null | undefined;
281
+ validFrom?: string | null | undefined;
282
+ validTo?: string | null | undefined;
283
+ imageMobileUrl?: string | null | undefined;
284
+ imageDesktopUrl?: string | null | undefined;
285
+ }, {
286
+ enabled: boolean;
287
+ discountType: "percentage" | "fixed_amount";
288
+ discountValue: string;
289
+ applicableProductIds: string[];
290
+ applicableDepartureIds: string[];
291
+ stackable: boolean;
292
+ locale?: string | null | undefined;
293
+ slug?: string | null | undefined;
294
+ description?: string | null | undefined;
295
+ currency?: string | null | undefined;
296
+ validFrom?: string | null | undefined;
297
+ validTo?: string | null | undefined;
298
+ minTravelers?: number | null | undefined;
299
+ minPassengers?: number | null | undefined;
300
+ imageMobileUrl?: string | null | undefined;
301
+ imageDesktopUrl?: string | null | undefined;
302
+ }>>>;
303
+ }, z.core.$catchall<z.ZodUnknown>>>>;
304
+ }, z.core.$strip>;
305
+ export declare const updateOfferSchema: z.ZodObject<{
306
+ offerNumber: z.ZodOptional<z.ZodString>;
307
+ title: z.ZodOptional<z.ZodString>;
308
+ status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
309
+ draft: "draft";
310
+ expired: "expired";
311
+ published: "published";
312
+ sent: "sent";
313
+ accepted: "accepted";
314
+ withdrawn: "withdrawn";
315
+ converted: "converted";
316
+ }>>>;
317
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
318
+ organizationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
319
+ opportunityId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
320
+ quoteId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
321
+ marketId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
322
+ sourceChannelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
323
+ contactPartyType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
324
+ individual: "individual";
325
+ company: "company";
326
+ }>>>>;
327
+ contactFirstName: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
328
+ contactLastName: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
329
+ contactTaxId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
330
+ contactEmail: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
331
+ contactPhone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
332
+ contactPreferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
333
+ contactCountry: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
334
+ contactRegion: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
335
+ contactCity: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
336
+ contactAddressLine1: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
337
+ contactAddressLine2: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
338
+ contactPostalCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
339
+ currency: z.ZodOptional<z.ZodString>;
340
+ baseCurrency: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
341
+ fxRateSetId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
342
+ subtotalAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
343
+ taxAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
344
+ feeAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
345
+ totalAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
346
+ costAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
347
+ validFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
348
+ validUntil: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
349
+ sentAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
350
+ acceptedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
351
+ convertedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
352
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
353
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
354
+ storefrontPromotionalOffer: z.ZodOptional<z.ZodPipe<z.ZodObject<{
355
+ enabled: z.ZodDefault<z.ZodBoolean>;
356
+ locale: z.ZodNullable<z.ZodOptional<z.ZodString>>;
357
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
358
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
359
+ discountType: z.ZodEnum<{
360
+ percentage: "percentage";
361
+ fixed_amount: "fixed_amount";
362
+ }>;
363
+ discountValue: z.ZodString;
364
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
365
+ applicableProductIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
366
+ applicableDepartureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
367
+ validFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
368
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
369
+ minTravelers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
370
+ minPassengers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
371
+ imageMobileUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
372
+ imageDesktopUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
373
+ stackable: z.ZodDefault<z.ZodBoolean>;
374
+ }, z.core.$strip>, z.ZodTransform<{
375
+ minTravelers: number | null;
376
+ enabled: boolean;
377
+ discountType: "percentage" | "fixed_amount";
378
+ discountValue: string;
379
+ applicableProductIds: string[];
380
+ applicableDepartureIds: string[];
381
+ stackable: boolean;
382
+ locale?: string | null | undefined;
383
+ slug?: string | null | undefined;
384
+ description?: string | null | undefined;
385
+ currency?: string | null | undefined;
386
+ validFrom?: string | null | undefined;
387
+ validTo?: string | null | undefined;
388
+ imageMobileUrl?: string | null | undefined;
389
+ imageDesktopUrl?: string | null | undefined;
390
+ }, {
391
+ enabled: boolean;
392
+ discountType: "percentage" | "fixed_amount";
393
+ discountValue: string;
394
+ applicableProductIds: string[];
395
+ applicableDepartureIds: string[];
396
+ stackable: boolean;
397
+ locale?: string | null | undefined;
398
+ slug?: string | null | undefined;
399
+ description?: string | null | undefined;
400
+ currency?: string | null | undefined;
401
+ validFrom?: string | null | undefined;
402
+ validTo?: string | null | undefined;
403
+ minTravelers?: number | null | undefined;
404
+ minPassengers?: number | null | undefined;
405
+ imageMobileUrl?: string | null | undefined;
406
+ imageDesktopUrl?: string | null | undefined;
407
+ }>>>;
408
+ }, z.core.$catchall<z.ZodUnknown>>>>>;
409
+ }, z.core.$strip>;
410
+ export declare const offerListQuerySchema: z.ZodObject<{
411
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
412
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
413
+ status: z.ZodOptional<z.ZodEnum<{
414
+ draft: "draft";
415
+ expired: "expired";
416
+ published: "published";
417
+ sent: "sent";
418
+ accepted: "accepted";
419
+ withdrawn: "withdrawn";
420
+ converted: "converted";
421
+ }>>;
422
+ opportunityId: z.ZodOptional<z.ZodString>;
423
+ quoteId: z.ZodOptional<z.ZodString>;
424
+ personId: z.ZodOptional<z.ZodString>;
425
+ organizationId: z.ZodOptional<z.ZodString>;
426
+ marketId: z.ZodOptional<z.ZodString>;
427
+ search: z.ZodOptional<z.ZodString>;
428
+ }, z.core.$strip>;
429
+ export declare const insertOfferTravelerSchema: z.ZodObject<{
430
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
431
+ participantType: z.ZodDefault<z.ZodEnum<{
432
+ other: "other";
433
+ traveler: "traveler";
434
+ occupant: "occupant";
435
+ staff: "staff";
436
+ }>>;
437
+ travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
438
+ other: "other";
439
+ adult: "adult";
440
+ child: "child";
441
+ infant: "infant";
442
+ senior: "senior";
443
+ }>>>;
444
+ firstName: z.ZodString;
445
+ lastName: z.ZodString;
446
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
447
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
448
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
449
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
450
+ nationality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
452
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
453
+ offerId: z.ZodString;
454
+ }, z.core.$strip>;
455
+ export declare const updateOfferTravelerSchema: z.ZodObject<{
456
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
457
+ participantType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
458
+ other: "other";
459
+ traveler: "traveler";
460
+ occupant: "occupant";
461
+ staff: "staff";
462
+ }>>>;
463
+ travelerCategory: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
464
+ other: "other";
465
+ adult: "adult";
466
+ child: "child";
467
+ infant: "infant";
468
+ senior: "senior";
469
+ }>>>>;
470
+ firstName: z.ZodOptional<z.ZodString>;
471
+ lastName: z.ZodOptional<z.ZodString>;
472
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
473
+ phone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
474
+ preferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
475
+ dateOfBirth: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
476
+ nationality: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
477
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
478
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
479
+ }, z.core.$strip>;
480
+ export declare const offerTravelerListQuerySchema: z.ZodObject<{
481
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
482
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
483
+ offerId: z.ZodOptional<z.ZodString>;
484
+ personId: z.ZodOptional<z.ZodString>;
485
+ }, z.core.$strip>;
486
+ export declare const insertOfferParticipantSchema: z.ZodObject<{
487
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
488
+ participantType: z.ZodDefault<z.ZodEnum<{
489
+ other: "other";
490
+ traveler: "traveler";
491
+ occupant: "occupant";
492
+ staff: "staff";
493
+ }>>;
494
+ travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
495
+ other: "other";
496
+ adult: "adult";
497
+ child: "child";
498
+ infant: "infant";
499
+ senior: "senior";
500
+ }>>>;
501
+ firstName: z.ZodString;
502
+ lastName: z.ZodString;
503
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
504
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
505
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
506
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
507
+ nationality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
509
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
510
+ offerId: z.ZodString;
511
+ }, z.core.$strip>;
512
+ export declare const updateOfferParticipantSchema: z.ZodObject<{
513
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
514
+ participantType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
515
+ other: "other";
516
+ traveler: "traveler";
517
+ occupant: "occupant";
518
+ staff: "staff";
519
+ }>>>;
520
+ travelerCategory: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
521
+ other: "other";
522
+ adult: "adult";
523
+ child: "child";
524
+ infant: "infant";
525
+ senior: "senior";
526
+ }>>>>;
527
+ firstName: z.ZodOptional<z.ZodString>;
528
+ lastName: z.ZodOptional<z.ZodString>;
529
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
530
+ phone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
531
+ preferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
532
+ dateOfBirth: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
533
+ nationality: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
534
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
535
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
536
+ }, z.core.$strip>;
537
+ export declare const offerParticipantListQuerySchema: z.ZodObject<{
538
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
539
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
540
+ offerId: z.ZodOptional<z.ZodString>;
541
+ personId: z.ZodOptional<z.ZodString>;
542
+ }, z.core.$strip>;
543
+ export declare const insertOfferContactAssignmentSchema: z.ZodObject<{
544
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
+ role: z.ZodDefault<z.ZodEnum<{
546
+ other: "other";
547
+ primary_contact: "primary_contact";
548
+ }>>;
549
+ firstName: z.ZodString;
550
+ lastName: z.ZodString;
551
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
552
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
553
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
555
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
556
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
557
+ offerId: z.ZodString;
558
+ offerItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
559
+ }, z.core.$strip>;
560
+ export declare const updateOfferContactAssignmentSchema: z.ZodObject<{
561
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
562
+ role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
563
+ other: "other";
564
+ primary_contact: "primary_contact";
565
+ }>>>;
566
+ firstName: z.ZodOptional<z.ZodString>;
567
+ lastName: z.ZodOptional<z.ZodString>;
568
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
569
+ phone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
570
+ preferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
571
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
572
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
573
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
574
+ offerItemId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
575
+ }, z.core.$strip>;
576
+ export declare const offerContactAssignmentListQuerySchema: z.ZodObject<{
577
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
578
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
579
+ offerId: z.ZodOptional<z.ZodString>;
580
+ offerItemId: z.ZodOptional<z.ZodString>;
581
+ personId: z.ZodOptional<z.ZodString>;
582
+ role: z.ZodOptional<z.ZodEnum<{
583
+ other: "other";
584
+ primary_contact: "primary_contact";
585
+ }>>;
586
+ }, z.core.$strip>;
587
+ export declare const insertOfferStaffAssignmentSchema: z.ZodObject<{
588
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
+ role: z.ZodDefault<z.ZodEnum<{
590
+ other: "other";
591
+ service_assignee: "service_assignee";
592
+ }>>;
593
+ firstName: z.ZodString;
594
+ lastName: z.ZodString;
595
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
596
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
597
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
599
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
601
+ offerId: z.ZodString;
602
+ offerItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
603
+ }, z.core.$strip>;
604
+ export declare const updateOfferStaffAssignmentSchema: z.ZodObject<{
605
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
606
+ role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
607
+ other: "other";
608
+ service_assignee: "service_assignee";
609
+ }>>>;
610
+ firstName: z.ZodOptional<z.ZodString>;
611
+ lastName: z.ZodOptional<z.ZodString>;
612
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
613
+ phone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
614
+ preferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
615
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
616
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
617
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
618
+ offerItemId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
619
+ }, z.core.$strip>;
620
+ export declare const offerStaffAssignmentListQuerySchema: z.ZodObject<{
621
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
622
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
623
+ offerId: z.ZodOptional<z.ZodString>;
624
+ offerItemId: z.ZodOptional<z.ZodString>;
625
+ personId: z.ZodOptional<z.ZodString>;
626
+ role: z.ZodOptional<z.ZodEnum<{
627
+ other: "other";
628
+ service_assignee: "service_assignee";
629
+ }>>;
630
+ }, z.core.$strip>;
631
+ export declare const insertOfferItemSchema: z.ZodObject<{
632
+ productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
633
+ optionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
634
+ unitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
635
+ slotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
636
+ title: z.ZodString;
637
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
+ itemType: z.ZodDefault<z.ZodEnum<{
639
+ unit: "unit";
640
+ service: "service";
641
+ extra: "extra";
642
+ fee: "fee";
643
+ tax: "tax";
644
+ discount: "discount";
645
+ adjustment: "adjustment";
646
+ accommodation: "accommodation";
647
+ transport: "transport";
648
+ other: "other";
649
+ }>>;
650
+ status: z.ZodDefault<z.ZodEnum<{
651
+ draft: "draft";
652
+ confirmed: "confirmed";
653
+ fulfilled: "fulfilled";
654
+ cancelled: "cancelled";
655
+ priced: "priced";
656
+ }>>;
657
+ serviceDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
658
+ startsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
659
+ endsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
+ quantity: z.ZodDefault<z.ZodNumber>;
661
+ sellCurrency: z.ZodString;
662
+ unitSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
663
+ totalSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
664
+ taxAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
665
+ feeAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
666
+ costCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
667
+ unitCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
668
+ totalCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
669
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
670
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
671
+ offerId: z.ZodString;
672
+ }, z.core.$strip>;
673
+ export declare const updateOfferItemSchema: z.ZodObject<{
674
+ productId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
675
+ optionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
676
+ unitId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
677
+ slotId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
678
+ title: z.ZodOptional<z.ZodString>;
679
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
680
+ itemType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
681
+ unit: "unit";
682
+ service: "service";
683
+ extra: "extra";
684
+ fee: "fee";
685
+ tax: "tax";
686
+ discount: "discount";
687
+ adjustment: "adjustment";
688
+ accommodation: "accommodation";
689
+ transport: "transport";
690
+ other: "other";
691
+ }>>>;
692
+ status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
693
+ draft: "draft";
694
+ confirmed: "confirmed";
695
+ fulfilled: "fulfilled";
696
+ cancelled: "cancelled";
697
+ priced: "priced";
698
+ }>>>;
699
+ serviceDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
700
+ startsAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
701
+ endsAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
702
+ quantity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
703
+ sellCurrency: z.ZodOptional<z.ZodString>;
704
+ unitSellAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
705
+ totalSellAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
706
+ taxAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
707
+ feeAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
708
+ costCurrency: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
709
+ unitCostAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
710
+ totalCostAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
711
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
712
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
713
+ }, z.core.$strip>;
714
+ export declare const offerItemListQuerySchema: z.ZodObject<{
715
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
716
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
717
+ offerId: z.ZodOptional<z.ZodString>;
718
+ productId: z.ZodOptional<z.ZodString>;
719
+ optionId: z.ZodOptional<z.ZodString>;
720
+ unitId: z.ZodOptional<z.ZodString>;
721
+ slotId: z.ZodOptional<z.ZodString>;
722
+ status: z.ZodOptional<z.ZodEnum<{
723
+ draft: "draft";
724
+ confirmed: "confirmed";
725
+ fulfilled: "fulfilled";
726
+ cancelled: "cancelled";
727
+ priced: "priced";
728
+ }>>;
729
+ }, z.core.$strip>;
730
+ export declare const insertOfferItemTravelerSchema: z.ZodPipe<z.ZodObject<{
731
+ travelerId: z.ZodOptional<z.ZodString>;
732
+ role: z.ZodDefault<z.ZodEnum<{
733
+ other: "other";
734
+ traveler: "traveler";
735
+ occupant: "occupant";
736
+ primary_contact: "primary_contact";
737
+ beneficiary: "beneficiary";
738
+ service_assignee: "service_assignee";
739
+ }>>;
740
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
741
+ offerItemId: z.ZodString;
742
+ }, z.core.$strip>, z.ZodTransform<{
743
+ travelerId: string;
744
+ role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
745
+ isPrimary: boolean;
746
+ offerItemId: string;
747
+ }, {
748
+ role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
749
+ isPrimary: boolean;
750
+ offerItemId: string;
751
+ travelerId?: string | undefined;
752
+ }>>;
753
+ export declare const updateOfferItemTravelerSchema: z.ZodPipe<z.ZodObject<{
754
+ travelerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
755
+ role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
756
+ other: "other";
757
+ traveler: "traveler";
758
+ occupant: "occupant";
759
+ primary_contact: "primary_contact";
760
+ beneficiary: "beneficiary";
761
+ service_assignee: "service_assignee";
762
+ }>>>;
763
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
764
+ }, z.core.$strip>, z.ZodTransform<{
765
+ travelerId: string | undefined;
766
+ role?: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
767
+ isPrimary?: boolean | undefined;
768
+ }, {
769
+ travelerId?: string | undefined;
770
+ role?: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
771
+ isPrimary?: boolean | undefined;
772
+ }>>;
773
+ export declare const offerItemTravelerListQuerySchema: z.ZodPipe<z.ZodObject<{
774
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
775
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
776
+ offerItemId: z.ZodOptional<z.ZodString>;
777
+ travelerId: z.ZodOptional<z.ZodString>;
778
+ }, z.core.$strip>, z.ZodTransform<{
779
+ travelerId: string | undefined;
780
+ limit: number;
781
+ offset: number;
782
+ offerItemId?: string | undefined;
783
+ }, {
784
+ limit: number;
785
+ offset: number;
786
+ offerItemId?: string | undefined;
787
+ travelerId?: string | undefined;
788
+ }>>;
789
+ export declare const insertOfferItemParticipantSchema: z.ZodPipe<z.ZodObject<{
790
+ travelerId: z.ZodOptional<z.ZodString>;
791
+ role: z.ZodDefault<z.ZodEnum<{
792
+ other: "other";
793
+ traveler: "traveler";
794
+ occupant: "occupant";
795
+ primary_contact: "primary_contact";
796
+ beneficiary: "beneficiary";
797
+ service_assignee: "service_assignee";
798
+ }>>;
799
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
800
+ offerItemId: z.ZodString;
801
+ }, z.core.$strip>, z.ZodTransform<{
802
+ travelerId: string;
803
+ role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
804
+ isPrimary: boolean;
805
+ offerItemId: string;
806
+ }, {
807
+ role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
808
+ isPrimary: boolean;
809
+ offerItemId: string;
810
+ travelerId?: string | undefined;
811
+ }>>;
812
+ export declare const updateOfferItemParticipantSchema: z.ZodPipe<z.ZodObject<{
813
+ travelerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
814
+ role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
815
+ other: "other";
816
+ traveler: "traveler";
817
+ occupant: "occupant";
818
+ primary_contact: "primary_contact";
819
+ beneficiary: "beneficiary";
820
+ service_assignee: "service_assignee";
821
+ }>>>;
822
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
823
+ }, z.core.$strip>, z.ZodTransform<{
824
+ travelerId: string | undefined;
825
+ role?: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
826
+ isPrimary?: boolean | undefined;
827
+ }, {
828
+ travelerId?: string | undefined;
829
+ role?: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
830
+ isPrimary?: boolean | undefined;
831
+ }>>;
832
+ export declare const offerItemParticipantListQuerySchema: z.ZodPipe<z.ZodObject<{
833
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
834
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
835
+ offerItemId: z.ZodOptional<z.ZodString>;
836
+ travelerId: z.ZodOptional<z.ZodString>;
837
+ }, z.core.$strip>, z.ZodTransform<{
838
+ travelerId: string | undefined;
839
+ limit: number;
840
+ offset: number;
841
+ offerItemId?: string | undefined;
842
+ }, {
843
+ limit: number;
844
+ offset: number;
845
+ offerItemId?: string | undefined;
846
+ travelerId?: string | undefined;
847
+ }>>;
848
+ export declare const insertOrderSchema: z.ZodObject<{
849
+ orderNumber: z.ZodString;
850
+ offerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
851
+ title: z.ZodString;
852
+ status: z.ZodDefault<z.ZodEnum<{
853
+ draft: "draft";
854
+ pending: "pending";
855
+ confirmed: "confirmed";
856
+ fulfilled: "fulfilled";
857
+ cancelled: "cancelled";
858
+ expired: "expired";
859
+ }>>;
860
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
861
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
862
+ opportunityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
863
+ quoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
864
+ marketId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
865
+ sourceChannelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
866
+ contactPartyType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
867
+ individual: "individual";
868
+ company: "company";
869
+ }>>>;
870
+ contactFirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
+ contactLastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
872
+ contactTaxId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
873
+ contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
874
+ contactPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
875
+ contactPreferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
876
+ contactCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
877
+ contactRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
878
+ contactCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
879
+ contactAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
880
+ contactAddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
881
+ contactPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
882
+ currency: z.ZodString;
883
+ baseCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
884
+ fxRateSetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
885
+ subtotalAmountCents: z.ZodDefault<z.ZodNumber>;
886
+ taxAmountCents: z.ZodDefault<z.ZodNumber>;
887
+ feeAmountCents: z.ZodDefault<z.ZodNumber>;
888
+ totalAmountCents: z.ZodDefault<z.ZodNumber>;
889
+ costAmountCents: z.ZodDefault<z.ZodNumber>;
890
+ orderedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
891
+ confirmedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
892
+ cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
893
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
894
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
895
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
896
+ }, z.core.$strip>;
897
+ export declare const updateOrderSchema: z.ZodObject<{
898
+ orderNumber: z.ZodOptional<z.ZodString>;
899
+ offerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
900
+ title: z.ZodOptional<z.ZodString>;
901
+ status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
902
+ draft: "draft";
903
+ pending: "pending";
904
+ confirmed: "confirmed";
905
+ fulfilled: "fulfilled";
906
+ cancelled: "cancelled";
907
+ expired: "expired";
908
+ }>>>;
909
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
910
+ organizationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
911
+ opportunityId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
912
+ quoteId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
913
+ marketId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
914
+ sourceChannelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
915
+ contactPartyType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
916
+ individual: "individual";
917
+ company: "company";
918
+ }>>>>;
919
+ contactFirstName: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
920
+ contactLastName: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
921
+ contactTaxId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
922
+ contactEmail: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
923
+ contactPhone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
924
+ contactPreferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
925
+ contactCountry: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
926
+ contactRegion: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
927
+ contactCity: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
928
+ contactAddressLine1: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
929
+ contactAddressLine2: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
930
+ contactPostalCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
931
+ currency: z.ZodOptional<z.ZodString>;
932
+ baseCurrency: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
933
+ fxRateSetId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
934
+ subtotalAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
935
+ taxAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
936
+ feeAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
937
+ totalAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
938
+ costAmountCents: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
939
+ orderedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
940
+ confirmedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
941
+ cancelledAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
942
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
943
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
944
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
945
+ }, z.core.$strip>;
946
+ export declare const orderListQuerySchema: z.ZodObject<{
947
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
948
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
949
+ status: z.ZodOptional<z.ZodEnum<{
950
+ draft: "draft";
951
+ pending: "pending";
952
+ confirmed: "confirmed";
953
+ fulfilled: "fulfilled";
954
+ cancelled: "cancelled";
955
+ expired: "expired";
956
+ }>>;
957
+ offerId: z.ZodOptional<z.ZodString>;
958
+ opportunityId: z.ZodOptional<z.ZodString>;
959
+ quoteId: z.ZodOptional<z.ZodString>;
960
+ personId: z.ZodOptional<z.ZodString>;
961
+ organizationId: z.ZodOptional<z.ZodString>;
962
+ marketId: z.ZodOptional<z.ZodString>;
963
+ search: z.ZodOptional<z.ZodString>;
964
+ }, z.core.$strip>;
965
+ export declare const insertOrderTravelerSchema: z.ZodObject<{
966
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
967
+ participantType: z.ZodDefault<z.ZodEnum<{
968
+ other: "other";
969
+ traveler: "traveler";
970
+ occupant: "occupant";
971
+ staff: "staff";
972
+ }>>;
973
+ travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
974
+ other: "other";
975
+ adult: "adult";
976
+ child: "child";
977
+ infant: "infant";
978
+ senior: "senior";
979
+ }>>>;
980
+ firstName: z.ZodString;
981
+ lastName: z.ZodString;
982
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
983
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
984
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
985
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
986
+ nationality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
987
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
988
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
989
+ orderId: z.ZodString;
990
+ }, z.core.$strip>;
991
+ export declare const updateOrderTravelerSchema: z.ZodObject<{
992
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
993
+ participantType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
994
+ other: "other";
995
+ traveler: "traveler";
996
+ occupant: "occupant";
997
+ staff: "staff";
998
+ }>>>;
999
+ travelerCategory: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1000
+ other: "other";
1001
+ adult: "adult";
1002
+ child: "child";
1003
+ infant: "infant";
1004
+ senior: "senior";
1005
+ }>>>>;
1006
+ firstName: z.ZodOptional<z.ZodString>;
1007
+ lastName: z.ZodOptional<z.ZodString>;
1008
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1009
+ phone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1010
+ preferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1011
+ dateOfBirth: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1012
+ nationality: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1013
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1014
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1015
+ }, z.core.$strip>;
1016
+ export declare const orderTravelerListQuerySchema: z.ZodObject<{
1017
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1018
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1019
+ orderId: z.ZodOptional<z.ZodString>;
1020
+ personId: z.ZodOptional<z.ZodString>;
1021
+ }, z.core.$strip>;
1022
+ export declare const insertOrderParticipantSchema: z.ZodObject<{
1023
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1024
+ participantType: z.ZodDefault<z.ZodEnum<{
1025
+ other: "other";
1026
+ traveler: "traveler";
1027
+ occupant: "occupant";
1028
+ staff: "staff";
1029
+ }>>;
1030
+ travelerCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1031
+ other: "other";
1032
+ adult: "adult";
1033
+ child: "child";
1034
+ infant: "infant";
1035
+ senior: "senior";
1036
+ }>>>;
1037
+ firstName: z.ZodString;
1038
+ lastName: z.ZodString;
1039
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1040
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1041
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1042
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1043
+ nationality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1044
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
1045
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1046
+ orderId: z.ZodString;
1047
+ }, z.core.$strip>;
1048
+ export declare const updateOrderParticipantSchema: z.ZodObject<{
1049
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1050
+ participantType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1051
+ other: "other";
1052
+ traveler: "traveler";
1053
+ occupant: "occupant";
1054
+ staff: "staff";
1055
+ }>>>;
1056
+ travelerCategory: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1057
+ other: "other";
1058
+ adult: "adult";
1059
+ child: "child";
1060
+ infant: "infant";
1061
+ senior: "senior";
1062
+ }>>>>;
1063
+ firstName: z.ZodOptional<z.ZodString>;
1064
+ lastName: z.ZodOptional<z.ZodString>;
1065
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1066
+ phone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1067
+ preferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1068
+ dateOfBirth: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1069
+ nationality: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1070
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1071
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1072
+ }, z.core.$strip>;
1073
+ export declare const orderParticipantListQuerySchema: z.ZodObject<{
1074
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1075
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1076
+ orderId: z.ZodOptional<z.ZodString>;
1077
+ personId: z.ZodOptional<z.ZodString>;
1078
+ }, z.core.$strip>;
1079
+ export declare const insertOrderContactAssignmentSchema: z.ZodObject<{
1080
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
+ role: z.ZodDefault<z.ZodEnum<{
1082
+ other: "other";
1083
+ primary_contact: "primary_contact";
1084
+ }>>;
1085
+ firstName: z.ZodString;
1086
+ lastName: z.ZodString;
1087
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1090
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
1091
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1093
+ orderId: z.ZodString;
1094
+ orderItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1095
+ }, z.core.$strip>;
1096
+ export declare const updateOrderContactAssignmentSchema: z.ZodObject<{
1097
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1098
+ role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1099
+ other: "other";
1100
+ primary_contact: "primary_contact";
1101
+ }>>>;
1102
+ firstName: z.ZodOptional<z.ZodString>;
1103
+ lastName: z.ZodOptional<z.ZodString>;
1104
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1105
+ phone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1106
+ preferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1107
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1108
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1109
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
1110
+ orderItemId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1111
+ }, z.core.$strip>;
1112
+ export declare const orderContactAssignmentListQuerySchema: z.ZodObject<{
1113
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1114
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1115
+ orderId: z.ZodOptional<z.ZodString>;
1116
+ orderItemId: z.ZodOptional<z.ZodString>;
1117
+ personId: z.ZodOptional<z.ZodString>;
1118
+ role: z.ZodOptional<z.ZodEnum<{
1119
+ other: "other";
1120
+ primary_contact: "primary_contact";
1121
+ }>>;
1122
+ }, z.core.$strip>;
1123
+ export declare const insertOrderStaffAssignmentSchema: z.ZodObject<{
1124
+ personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1125
+ role: z.ZodDefault<z.ZodEnum<{
1126
+ other: "other";
1127
+ service_assignee: "service_assignee";
1128
+ }>>;
1129
+ firstName: z.ZodString;
1130
+ lastName: z.ZodString;
1131
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1132
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1133
+ preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1134
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
1135
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1136
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1137
+ orderId: z.ZodString;
1138
+ orderItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1139
+ }, z.core.$strip>;
1140
+ export declare const updateOrderStaffAssignmentSchema: z.ZodObject<{
1141
+ personId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1142
+ role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1143
+ other: "other";
1144
+ service_assignee: "service_assignee";
1145
+ }>>>;
1146
+ firstName: z.ZodOptional<z.ZodString>;
1147
+ lastName: z.ZodOptional<z.ZodString>;
1148
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1149
+ phone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1150
+ preferredLanguage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1151
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1152
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1153
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
1154
+ orderItemId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1155
+ }, z.core.$strip>;
1156
+ export declare const orderStaffAssignmentListQuerySchema: z.ZodObject<{
1157
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1158
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1159
+ orderId: z.ZodOptional<z.ZodString>;
1160
+ orderItemId: z.ZodOptional<z.ZodString>;
1161
+ personId: z.ZodOptional<z.ZodString>;
1162
+ role: z.ZodOptional<z.ZodEnum<{
1163
+ other: "other";
1164
+ service_assignee: "service_assignee";
1165
+ }>>;
1166
+ }, z.core.$strip>;
1167
+ export declare const insertOrderItemSchema: z.ZodObject<{
1168
+ productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1169
+ optionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1170
+ unitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
+ slotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1172
+ title: z.ZodString;
1173
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1174
+ itemType: z.ZodDefault<z.ZodEnum<{
1175
+ unit: "unit";
1176
+ service: "service";
1177
+ extra: "extra";
1178
+ fee: "fee";
1179
+ tax: "tax";
1180
+ discount: "discount";
1181
+ adjustment: "adjustment";
1182
+ accommodation: "accommodation";
1183
+ transport: "transport";
1184
+ other: "other";
1185
+ }>>;
1186
+ status: z.ZodDefault<z.ZodEnum<{
1187
+ draft: "draft";
1188
+ confirmed: "confirmed";
1189
+ fulfilled: "fulfilled";
1190
+ cancelled: "cancelled";
1191
+ priced: "priced";
1192
+ }>>;
1193
+ serviceDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1194
+ startsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1195
+ endsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1196
+ quantity: z.ZodDefault<z.ZodNumber>;
1197
+ sellCurrency: z.ZodString;
1198
+ unitSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1199
+ totalSellAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1200
+ taxAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1201
+ feeAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1202
+ costCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1203
+ unitCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1204
+ totalCostAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1205
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1206
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1207
+ offerItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1208
+ orderId: z.ZodString;
1209
+ }, z.core.$strip>;
1210
+ export declare const updateOrderItemSchema: z.ZodObject<{
1211
+ productId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1212
+ optionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1213
+ unitId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1214
+ slotId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1215
+ title: z.ZodOptional<z.ZodString>;
1216
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1217
+ itemType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1218
+ unit: "unit";
1219
+ service: "service";
1220
+ extra: "extra";
1221
+ fee: "fee";
1222
+ tax: "tax";
1223
+ discount: "discount";
1224
+ adjustment: "adjustment";
1225
+ accommodation: "accommodation";
1226
+ transport: "transport";
1227
+ other: "other";
1228
+ }>>>;
1229
+ status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1230
+ draft: "draft";
1231
+ confirmed: "confirmed";
1232
+ fulfilled: "fulfilled";
1233
+ cancelled: "cancelled";
1234
+ priced: "priced";
1235
+ }>>>;
1236
+ serviceDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1237
+ startsAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1238
+ endsAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1239
+ quantity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1240
+ sellCurrency: z.ZodOptional<z.ZodString>;
1241
+ unitSellAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1242
+ totalSellAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1243
+ taxAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1244
+ feeAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1245
+ costCurrency: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1246
+ unitCostAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1247
+ totalCostAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1248
+ notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1249
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
1250
+ offerItemId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1251
+ }, z.core.$strip>;
1252
+ export declare const orderItemListQuerySchema: z.ZodObject<{
1253
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1254
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1255
+ orderId: z.ZodOptional<z.ZodString>;
1256
+ offerItemId: z.ZodOptional<z.ZodString>;
1257
+ productId: z.ZodOptional<z.ZodString>;
1258
+ optionId: z.ZodOptional<z.ZodString>;
1259
+ unitId: z.ZodOptional<z.ZodString>;
1260
+ slotId: z.ZodOptional<z.ZodString>;
1261
+ status: z.ZodOptional<z.ZodEnum<{
1262
+ draft: "draft";
1263
+ confirmed: "confirmed";
1264
+ fulfilled: "fulfilled";
1265
+ cancelled: "cancelled";
1266
+ priced: "priced";
1267
+ }>>;
1268
+ }, z.core.$strip>;
1269
+ export declare const insertOrderItemTravelerSchema: z.ZodPipe<z.ZodObject<{
1270
+ travelerId: z.ZodOptional<z.ZodString>;
1271
+ role: z.ZodDefault<z.ZodEnum<{
1272
+ other: "other";
1273
+ traveler: "traveler";
1274
+ occupant: "occupant";
1275
+ primary_contact: "primary_contact";
1276
+ beneficiary: "beneficiary";
1277
+ service_assignee: "service_assignee";
1278
+ }>>;
1279
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
1280
+ orderItemId: z.ZodString;
1281
+ }, z.core.$strip>, z.ZodTransform<{
1282
+ travelerId: string;
1283
+ role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
1284
+ isPrimary: boolean;
1285
+ orderItemId: string;
1286
+ }, {
1287
+ role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
1288
+ isPrimary: boolean;
1289
+ orderItemId: string;
1290
+ travelerId?: string | undefined;
1291
+ }>>;
1292
+ export declare const updateOrderItemTravelerSchema: z.ZodPipe<z.ZodObject<{
1293
+ travelerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1294
+ role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1295
+ other: "other";
1296
+ traveler: "traveler";
1297
+ occupant: "occupant";
1298
+ primary_contact: "primary_contact";
1299
+ beneficiary: "beneficiary";
1300
+ service_assignee: "service_assignee";
1301
+ }>>>;
1302
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1303
+ }, z.core.$strip>, z.ZodTransform<{
1304
+ travelerId: string | undefined;
1305
+ role?: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
1306
+ isPrimary?: boolean | undefined;
1307
+ }, {
1308
+ travelerId?: string | undefined;
1309
+ role?: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
1310
+ isPrimary?: boolean | undefined;
1311
+ }>>;
1312
+ export declare const orderItemTravelerListQuerySchema: z.ZodPipe<z.ZodObject<{
1313
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1314
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1315
+ orderItemId: z.ZodOptional<z.ZodString>;
1316
+ travelerId: z.ZodOptional<z.ZodString>;
1317
+ }, z.core.$strip>, z.ZodTransform<{
1318
+ travelerId: string | undefined;
1319
+ limit: number;
1320
+ offset: number;
1321
+ orderItemId?: string | undefined;
1322
+ }, {
1323
+ limit: number;
1324
+ offset: number;
1325
+ orderItemId?: string | undefined;
1326
+ travelerId?: string | undefined;
1327
+ }>>;
1328
+ export declare const insertOrderItemParticipantSchema: z.ZodPipe<z.ZodObject<{
1329
+ travelerId: z.ZodOptional<z.ZodString>;
1330
+ role: z.ZodDefault<z.ZodEnum<{
1331
+ other: "other";
1332
+ traveler: "traveler";
1333
+ occupant: "occupant";
1334
+ primary_contact: "primary_contact";
1335
+ beneficiary: "beneficiary";
1336
+ service_assignee: "service_assignee";
1337
+ }>>;
1338
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
1339
+ orderItemId: z.ZodString;
1340
+ }, z.core.$strip>, z.ZodTransform<{
1341
+ travelerId: string;
1342
+ role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
1343
+ isPrimary: boolean;
1344
+ orderItemId: string;
1345
+ }, {
1346
+ role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
1347
+ isPrimary: boolean;
1348
+ orderItemId: string;
1349
+ travelerId?: string | undefined;
1350
+ }>>;
1351
+ export declare const updateOrderItemParticipantSchema: z.ZodPipe<z.ZodObject<{
1352
+ travelerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1353
+ role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1354
+ other: "other";
1355
+ traveler: "traveler";
1356
+ occupant: "occupant";
1357
+ primary_contact: "primary_contact";
1358
+ beneficiary: "beneficiary";
1359
+ service_assignee: "service_assignee";
1360
+ }>>>;
1361
+ isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1362
+ }, z.core.$strip>, z.ZodTransform<{
1363
+ travelerId: string | undefined;
1364
+ role?: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
1365
+ isPrimary?: boolean | undefined;
1366
+ }, {
1367
+ travelerId?: string | undefined;
1368
+ role?: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee" | undefined;
1369
+ isPrimary?: boolean | undefined;
1370
+ }>>;
1371
+ export declare const orderItemParticipantListQuerySchema: z.ZodPipe<z.ZodObject<{
1372
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1373
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1374
+ orderItemId: z.ZodOptional<z.ZodString>;
1375
+ travelerId: z.ZodOptional<z.ZodString>;
1376
+ }, z.core.$strip>, z.ZodTransform<{
1377
+ travelerId: string | undefined;
1378
+ limit: number;
1379
+ offset: number;
1380
+ orderItemId?: string | undefined;
1381
+ }, {
1382
+ limit: number;
1383
+ offset: number;
1384
+ orderItemId?: string | undefined;
1385
+ travelerId?: string | undefined;
1386
+ }>>;
1387
+ export declare const insertOrderTermSchema: z.ZodObject<{
1388
+ offerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1389
+ orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1390
+ termType: z.ZodDefault<z.ZodEnum<{
1391
+ other: "other";
1392
+ terms_and_conditions: "terms_and_conditions";
1393
+ cancellation: "cancellation";
1394
+ guarantee: "guarantee";
1395
+ payment: "payment";
1396
+ pricing: "pricing";
1397
+ commission: "commission";
1398
+ }>>;
1399
+ title: z.ZodString;
1400
+ body: z.ZodString;
1401
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1402
+ required: z.ZodDefault<z.ZodBoolean>;
1403
+ sortOrder: z.ZodDefault<z.ZodNumber>;
1404
+ acceptanceStatus: z.ZodDefault<z.ZodEnum<{
1405
+ pending: "pending";
1406
+ accepted: "accepted";
1407
+ not_required: "not_required";
1408
+ declined: "declined";
1409
+ }>>;
1410
+ acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1411
+ acceptedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1412
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1413
+ }, z.core.$strip>;
1414
+ export declare const updateOrderTermSchema: z.ZodObject<{
1415
+ offerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1416
+ orderId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1417
+ termType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1418
+ other: "other";
1419
+ terms_and_conditions: "terms_and_conditions";
1420
+ cancellation: "cancellation";
1421
+ guarantee: "guarantee";
1422
+ payment: "payment";
1423
+ pricing: "pricing";
1424
+ commission: "commission";
1425
+ }>>>;
1426
+ title: z.ZodOptional<z.ZodString>;
1427
+ body: z.ZodOptional<z.ZodString>;
1428
+ language: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1429
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1430
+ sortOrder: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1431
+ acceptanceStatus: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1432
+ pending: "pending";
1433
+ accepted: "accepted";
1434
+ not_required: "not_required";
1435
+ declined: "declined";
1436
+ }>>>;
1437
+ acceptedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1438
+ acceptedBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1439
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
1440
+ }, z.core.$strip>;
1441
+ export declare const orderTermListQuerySchema: z.ZodObject<{
1442
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1443
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1444
+ offerId: z.ZodOptional<z.ZodString>;
1445
+ orderId: z.ZodOptional<z.ZodString>;
1446
+ termType: z.ZodOptional<z.ZodEnum<{
1447
+ other: "other";
1448
+ terms_and_conditions: "terms_and_conditions";
1449
+ cancellation: "cancellation";
1450
+ guarantee: "guarantee";
1451
+ payment: "payment";
1452
+ pricing: "pricing";
1453
+ commission: "commission";
1454
+ }>>;
1455
+ acceptanceStatus: z.ZodOptional<z.ZodEnum<{
1456
+ pending: "pending";
1457
+ accepted: "accepted";
1458
+ not_required: "not_required";
1459
+ declined: "declined";
1460
+ }>>;
1461
+ }, z.core.$strip>;
1462
+ //# sourceMappingURL=validation.d.ts.map