@voyantjs/customer-portal 0.3.1 → 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.
@@ -1,4 +1,45 @@
1
1
  import { z } from "zod";
2
+ export declare const customerPortalAddressSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ label: z.ZodEnum<{
5
+ other: "other";
6
+ service: "service";
7
+ primary: "primary";
8
+ billing: "billing";
9
+ shipping: "shipping";
10
+ mailing: "mailing";
11
+ meeting: "meeting";
12
+ legal: "legal";
13
+ }>;
14
+ fullText: z.ZodNullable<z.ZodString>;
15
+ line1: z.ZodNullable<z.ZodString>;
16
+ line2: z.ZodNullable<z.ZodString>;
17
+ city: z.ZodNullable<z.ZodString>;
18
+ region: z.ZodNullable<z.ZodString>;
19
+ postalCode: z.ZodNullable<z.ZodString>;
20
+ country: z.ZodNullable<z.ZodString>;
21
+ isPrimary: z.ZodBoolean;
22
+ }, z.core.$strip>;
23
+ export declare const updateCustomerPortalAddressSchema: z.ZodObject<{
24
+ label: z.ZodOptional<z.ZodEnum<{
25
+ other: "other";
26
+ service: "service";
27
+ primary: "primary";
28
+ billing: "billing";
29
+ shipping: "shipping";
30
+ mailing: "mailing";
31
+ meeting: "meeting";
32
+ legal: "legal";
33
+ }>>;
34
+ fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
42
+ }, z.core.$strip>;
2
43
  export declare const customerPortalRecordSchema: z.ZodObject<{
3
44
  id: z.ZodString;
4
45
  firstName: z.ZodString;
@@ -11,6 +52,27 @@ export declare const customerPortalRecordSchema: z.ZodObject<{
11
52
  address: z.ZodNullable<z.ZodString>;
12
53
  city: z.ZodNullable<z.ZodString>;
13
54
  country: z.ZodNullable<z.ZodString>;
55
+ billingAddress: z.ZodNullable<z.ZodObject<{
56
+ id: z.ZodString;
57
+ label: z.ZodEnum<{
58
+ other: "other";
59
+ service: "service";
60
+ primary: "primary";
61
+ billing: "billing";
62
+ shipping: "shipping";
63
+ mailing: "mailing";
64
+ meeting: "meeting";
65
+ legal: "legal";
66
+ }>;
67
+ fullText: z.ZodNullable<z.ZodString>;
68
+ line1: z.ZodNullable<z.ZodString>;
69
+ line2: z.ZodNullable<z.ZodString>;
70
+ city: z.ZodNullable<z.ZodString>;
71
+ region: z.ZodNullable<z.ZodString>;
72
+ postalCode: z.ZodNullable<z.ZodString>;
73
+ country: z.ZodNullable<z.ZodString>;
74
+ isPrimary: z.ZodBoolean;
75
+ }, z.core.$strip>>;
14
76
  relation: z.ZodNullable<z.ZodString>;
15
77
  status: z.ZodString;
16
78
  }, z.core.$strip>;
@@ -26,6 +88,27 @@ export declare const customerPortalBootstrapCandidateSchema: z.ZodObject<{
26
88
  address: z.ZodNullable<z.ZodString>;
27
89
  city: z.ZodNullable<z.ZodString>;
28
90
  country: z.ZodNullable<z.ZodString>;
91
+ billingAddress: z.ZodNullable<z.ZodObject<{
92
+ id: z.ZodString;
93
+ label: z.ZodEnum<{
94
+ other: "other";
95
+ service: "service";
96
+ primary: "primary";
97
+ billing: "billing";
98
+ shipping: "shipping";
99
+ mailing: "mailing";
100
+ meeting: "meeting";
101
+ legal: "legal";
102
+ }>;
103
+ fullText: z.ZodNullable<z.ZodString>;
104
+ line1: z.ZodNullable<z.ZodString>;
105
+ line2: z.ZodNullable<z.ZodString>;
106
+ city: z.ZodNullable<z.ZodString>;
107
+ region: z.ZodNullable<z.ZodString>;
108
+ postalCode: z.ZodNullable<z.ZodString>;
109
+ country: z.ZodNullable<z.ZodString>;
110
+ isPrimary: z.ZodBoolean;
111
+ }, z.core.$strip>>;
29
112
  relation: z.ZodNullable<z.ZodString>;
30
113
  status: z.ZodString;
31
114
  linkable: z.ZodBoolean;
@@ -36,6 +119,7 @@ export declare const customerPortalProfileSchema: z.ZodObject<{
36
119
  email: z.ZodString;
37
120
  emailVerified: z.ZodBoolean;
38
121
  firstName: z.ZodNullable<z.ZodString>;
122
+ middleName: z.ZodNullable<z.ZodString>;
39
123
  lastName: z.ZodNullable<z.ZodString>;
40
124
  avatarUrl: z.ZodNullable<z.ZodString>;
41
125
  locale: z.ZodString;
@@ -46,8 +130,33 @@ export declare const customerPortalProfileSchema: z.ZodObject<{
46
130
  middle: "middle";
47
131
  no_preference: "no_preference";
48
132
  }>>;
133
+ dateOfBirth: z.ZodNullable<z.ZodString>;
134
+ address: z.ZodNullable<z.ZodObject<{
135
+ country: z.ZodNullable<z.ZodString>;
136
+ state: z.ZodNullable<z.ZodString>;
137
+ city: z.ZodNullable<z.ZodString>;
138
+ postalCode: z.ZodNullable<z.ZodString>;
139
+ addressLine1: z.ZodNullable<z.ZodString>;
140
+ addressLine2: z.ZodNullable<z.ZodString>;
141
+ }, z.core.$strip>>;
142
+ documents: z.ZodArray<z.ZodObject<{
143
+ type: z.ZodEnum<{
144
+ visa: "visa";
145
+ other: "other";
146
+ passport: "passport";
147
+ drivers_license: "drivers_license";
148
+ id_card: "id_card";
149
+ }>;
150
+ number: z.ZodString;
151
+ issuingAuthority: z.ZodNullable<z.ZodString>;
152
+ issuingCountry: z.ZodString;
153
+ nationality: z.ZodNullable<z.ZodString>;
154
+ expiryDate: z.ZodString;
155
+ issueDate: z.ZodNullable<z.ZodString>;
156
+ }, z.core.$strip>>;
49
157
  marketingConsent: z.ZodBoolean;
50
158
  marketingConsentAt: z.ZodNullable<z.ZodString>;
159
+ marketingConsentSource: z.ZodNullable<z.ZodString>;
51
160
  notificationDefaults: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
52
161
  uiPrefs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
53
162
  customerRecord: z.ZodNullable<z.ZodObject<{
@@ -62,6 +171,27 @@ export declare const customerPortalProfileSchema: z.ZodObject<{
62
171
  address: z.ZodNullable<z.ZodString>;
63
172
  city: z.ZodNullable<z.ZodString>;
64
173
  country: z.ZodNullable<z.ZodString>;
174
+ billingAddress: z.ZodNullable<z.ZodObject<{
175
+ id: z.ZodString;
176
+ label: z.ZodEnum<{
177
+ other: "other";
178
+ service: "service";
179
+ primary: "primary";
180
+ billing: "billing";
181
+ shipping: "shipping";
182
+ mailing: "mailing";
183
+ meeting: "meeting";
184
+ legal: "legal";
185
+ }>;
186
+ fullText: z.ZodNullable<z.ZodString>;
187
+ line1: z.ZodNullable<z.ZodString>;
188
+ line2: z.ZodNullable<z.ZodString>;
189
+ city: z.ZodNullable<z.ZodString>;
190
+ region: z.ZodNullable<z.ZodString>;
191
+ postalCode: z.ZodNullable<z.ZodString>;
192
+ country: z.ZodNullable<z.ZodString>;
193
+ isPrimary: z.ZodBoolean;
194
+ }, z.core.$strip>>;
65
195
  relation: z.ZodNullable<z.ZodString>;
66
196
  status: z.ZodString;
67
197
  }, z.core.$strip>>;
@@ -74,9 +204,30 @@ export declare const updateCustomerPortalRecordSchema: z.ZodObject<{
74
204
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
205
  city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
206
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
+ billingAddress: z.ZodOptional<z.ZodObject<{
208
+ label: z.ZodOptional<z.ZodEnum<{
209
+ other: "other";
210
+ service: "service";
211
+ primary: "primary";
212
+ billing: "billing";
213
+ shipping: "shipping";
214
+ mailing: "mailing";
215
+ meeting: "meeting";
216
+ legal: "legal";
217
+ }>>;
218
+ fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
226
+ }, z.core.$strip>>;
77
227
  }, z.core.$strip>;
78
228
  export declare const updateCustomerPortalProfileSchema: z.ZodObject<{
79
229
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
231
  lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
232
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
233
  locale: z.ZodOptional<z.ZodString>;
@@ -87,7 +238,32 @@ export declare const updateCustomerPortalProfileSchema: z.ZodObject<{
87
238
  middle: "middle";
88
239
  no_preference: "no_preference";
89
240
  }>>>;
241
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
+ address: z.ZodOptional<z.ZodObject<{
243
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
+ }, z.core.$strip>>;
250
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
251
+ type: z.ZodEnum<{
252
+ visa: "visa";
253
+ other: "other";
254
+ passport: "passport";
255
+ drivers_license: "drivers_license";
256
+ id_card: "id_card";
257
+ }>;
258
+ number: z.ZodString;
259
+ issuingAuthority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ issuingCountry: z.ZodString;
261
+ nationality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
+ expiryDate: z.ZodString;
263
+ issueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
264
+ }, z.core.$strip>>>;
90
265
  marketingConsent: z.ZodOptional<z.ZodBoolean>;
266
+ marketingConsentSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
267
  notificationDefaults: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
92
268
  uiPrefs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
93
269
  customerRecord: z.ZodOptional<z.ZodObject<{
@@ -98,6 +274,26 @@ export declare const updateCustomerPortalProfileSchema: z.ZodObject<{
98
274
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
275
  city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
276
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
+ billingAddress: z.ZodOptional<z.ZodObject<{
278
+ label: z.ZodOptional<z.ZodEnum<{
279
+ other: "other";
280
+ service: "service";
281
+ primary: "primary";
282
+ billing: "billing";
283
+ shipping: "shipping";
284
+ mailing: "mailing";
285
+ meeting: "meeting";
286
+ legal: "legal";
287
+ }>>;
288
+ fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
290
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
296
+ }, z.core.$strip>>;
101
297
  }, z.core.$strip>>;
102
298
  }, z.core.$strip>;
103
299
  export declare const customerPortalContactExistsQuerySchema: z.ZodObject<{
@@ -123,6 +319,7 @@ export declare const bootstrapCustomerPortalSchema: z.ZodObject<{
123
319
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
320
  lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
321
  marketingConsent: z.ZodOptional<z.ZodBoolean>;
322
+ marketingConsentSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
323
  customerRecord: z.ZodOptional<z.ZodObject<{
127
324
  preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
325
  preferredCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -131,6 +328,26 @@ export declare const bootstrapCustomerPortalSchema: z.ZodObject<{
131
328
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
329
  city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
330
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
+ billingAddress: z.ZodOptional<z.ZodObject<{
332
+ label: z.ZodOptional<z.ZodEnum<{
333
+ other: "other";
334
+ service: "service";
335
+ primary: "primary";
336
+ billing: "billing";
337
+ shipping: "shipping";
338
+ mailing: "mailing";
339
+ meeting: "meeting";
340
+ legal: "legal";
341
+ }>>;
342
+ fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
+ line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
345
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
346
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
347
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
348
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
349
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
350
+ }, z.core.$strip>>;
134
351
  }, z.core.$strip>>;
135
352
  }, z.core.$strip>;
136
353
  export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
@@ -145,6 +362,7 @@ export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
145
362
  email: z.ZodString;
146
363
  emailVerified: z.ZodBoolean;
147
364
  firstName: z.ZodNullable<z.ZodString>;
365
+ middleName: z.ZodNullable<z.ZodString>;
148
366
  lastName: z.ZodNullable<z.ZodString>;
149
367
  avatarUrl: z.ZodNullable<z.ZodString>;
150
368
  locale: z.ZodString;
@@ -155,8 +373,33 @@ export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
155
373
  middle: "middle";
156
374
  no_preference: "no_preference";
157
375
  }>>;
376
+ dateOfBirth: z.ZodNullable<z.ZodString>;
377
+ address: z.ZodNullable<z.ZodObject<{
378
+ country: z.ZodNullable<z.ZodString>;
379
+ state: z.ZodNullable<z.ZodString>;
380
+ city: z.ZodNullable<z.ZodString>;
381
+ postalCode: z.ZodNullable<z.ZodString>;
382
+ addressLine1: z.ZodNullable<z.ZodString>;
383
+ addressLine2: z.ZodNullable<z.ZodString>;
384
+ }, z.core.$strip>>;
385
+ documents: z.ZodArray<z.ZodObject<{
386
+ type: z.ZodEnum<{
387
+ visa: "visa";
388
+ other: "other";
389
+ passport: "passport";
390
+ drivers_license: "drivers_license";
391
+ id_card: "id_card";
392
+ }>;
393
+ number: z.ZodString;
394
+ issuingAuthority: z.ZodNullable<z.ZodString>;
395
+ issuingCountry: z.ZodString;
396
+ nationality: z.ZodNullable<z.ZodString>;
397
+ expiryDate: z.ZodString;
398
+ issueDate: z.ZodNullable<z.ZodString>;
399
+ }, z.core.$strip>>;
158
400
  marketingConsent: z.ZodBoolean;
159
401
  marketingConsentAt: z.ZodNullable<z.ZodString>;
402
+ marketingConsentSource: z.ZodNullable<z.ZodString>;
160
403
  notificationDefaults: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
161
404
  uiPrefs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
162
405
  customerRecord: z.ZodNullable<z.ZodObject<{
@@ -171,6 +414,27 @@ export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
171
414
  address: z.ZodNullable<z.ZodString>;
172
415
  city: z.ZodNullable<z.ZodString>;
173
416
  country: z.ZodNullable<z.ZodString>;
417
+ billingAddress: z.ZodNullable<z.ZodObject<{
418
+ id: z.ZodString;
419
+ label: z.ZodEnum<{
420
+ other: "other";
421
+ service: "service";
422
+ primary: "primary";
423
+ billing: "billing";
424
+ shipping: "shipping";
425
+ mailing: "mailing";
426
+ meeting: "meeting";
427
+ legal: "legal";
428
+ }>;
429
+ fullText: z.ZodNullable<z.ZodString>;
430
+ line1: z.ZodNullable<z.ZodString>;
431
+ line2: z.ZodNullable<z.ZodString>;
432
+ city: z.ZodNullable<z.ZodString>;
433
+ region: z.ZodNullable<z.ZodString>;
434
+ postalCode: z.ZodNullable<z.ZodString>;
435
+ country: z.ZodNullable<z.ZodString>;
436
+ isPrimary: z.ZodBoolean;
437
+ }, z.core.$strip>>;
174
438
  relation: z.ZodNullable<z.ZodString>;
175
439
  status: z.ZodString;
176
440
  }, z.core.$strip>>;
@@ -187,6 +451,27 @@ export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
187
451
  address: z.ZodNullable<z.ZodString>;
188
452
  city: z.ZodNullable<z.ZodString>;
189
453
  country: z.ZodNullable<z.ZodString>;
454
+ billingAddress: z.ZodNullable<z.ZodObject<{
455
+ id: z.ZodString;
456
+ label: z.ZodEnum<{
457
+ other: "other";
458
+ service: "service";
459
+ primary: "primary";
460
+ billing: "billing";
461
+ shipping: "shipping";
462
+ mailing: "mailing";
463
+ meeting: "meeting";
464
+ legal: "legal";
465
+ }>;
466
+ fullText: z.ZodNullable<z.ZodString>;
467
+ line1: z.ZodNullable<z.ZodString>;
468
+ line2: z.ZodNullable<z.ZodString>;
469
+ city: z.ZodNullable<z.ZodString>;
470
+ region: z.ZodNullable<z.ZodString>;
471
+ postalCode: z.ZodNullable<z.ZodString>;
472
+ country: z.ZodNullable<z.ZodString>;
473
+ isPrimary: z.ZodBoolean;
474
+ }, z.core.$strip>>;
190
475
  relation: z.ZodNullable<z.ZodString>;
191
476
  status: z.ZodString;
192
477
  linkable: z.ZodBoolean;
@@ -202,6 +487,37 @@ export declare const customerPortalCompanionSchema: z.ZodObject<{
202
487
  phone: z.ZodNullable<z.ZodString>;
203
488
  isPrimary: z.ZodBoolean;
204
489
  notes: z.ZodNullable<z.ZodString>;
490
+ typeKey: z.ZodNullable<z.ZodString>;
491
+ person: z.ZodObject<{
492
+ firstName: z.ZodNullable<z.ZodString>;
493
+ middleName: z.ZodNullable<z.ZodString>;
494
+ lastName: z.ZodNullable<z.ZodString>;
495
+ dateOfBirth: z.ZodNullable<z.ZodString>;
496
+ addresses: z.ZodArray<z.ZodObject<{
497
+ type: z.ZodNullable<z.ZodString>;
498
+ country: z.ZodNullable<z.ZodString>;
499
+ state: z.ZodNullable<z.ZodString>;
500
+ city: z.ZodNullable<z.ZodString>;
501
+ postalCode: z.ZodNullable<z.ZodString>;
502
+ addressLine1: z.ZodNullable<z.ZodString>;
503
+ addressLine2: z.ZodNullable<z.ZodString>;
504
+ isDefault: z.ZodBoolean;
505
+ }, z.core.$strip>>;
506
+ documents: z.ZodArray<z.ZodObject<{
507
+ type: z.ZodEnum<{
508
+ visa: "visa";
509
+ other: "other";
510
+ passport: "passport";
511
+ drivers_license: "drivers_license";
512
+ id_card: "id_card";
513
+ }>;
514
+ number: z.ZodNullable<z.ZodString>;
515
+ issuingAuthority: z.ZodNullable<z.ZodString>;
516
+ country: z.ZodNullable<z.ZodString>;
517
+ issueDate: z.ZodNullable<z.ZodString>;
518
+ expiryDate: z.ZodNullable<z.ZodString>;
519
+ }, z.core.$strip>>;
520
+ }, z.core.$strip>;
205
521
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
206
522
  }, z.core.$strip>;
207
523
  export declare const createCustomerPortalCompanionSchema: z.ZodObject<{
@@ -223,6 +539,37 @@ export declare const createCustomerPortalCompanionSchema: z.ZodObject<{
223
539
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
540
  isPrimary: z.ZodDefault<z.ZodBoolean>;
225
541
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
+ typeKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
543
+ person: z.ZodOptional<z.ZodObject<{
544
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
+ middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
546
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
547
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
548
+ addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
549
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
550
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
551
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
552
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
553
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
556
+ isDefault: z.ZodOptional<z.ZodBoolean>;
557
+ }, z.core.$strip>>>;
558
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
559
+ type: z.ZodEnum<{
560
+ visa: "visa";
561
+ other: "other";
562
+ passport: "passport";
563
+ drivers_license: "drivers_license";
564
+ id_card: "id_card";
565
+ }>;
566
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
567
+ issuingAuthority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
568
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
569
+ issueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
570
+ expiryDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
+ }, z.core.$strip>>>;
572
+ }, z.core.$strip>>;
226
573
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
227
574
  }, z.core.$strip>;
228
575
  export declare const updateCustomerPortalCompanionSchema: z.ZodObject<{
@@ -244,8 +591,87 @@ export declare const updateCustomerPortalCompanionSchema: z.ZodObject<{
244
591
  phone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
245
592
  isPrimary: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
246
593
  notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
594
+ typeKey: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
595
+ person: z.ZodOptional<z.ZodOptional<z.ZodObject<{
596
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
597
+ middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
599
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
+ addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
601
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
602
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
603
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
604
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
605
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
606
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
607
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
608
+ isDefault: z.ZodOptional<z.ZodBoolean>;
609
+ }, z.core.$strip>>>;
610
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
611
+ type: z.ZodEnum<{
612
+ visa: "visa";
613
+ other: "other";
614
+ passport: "passport";
615
+ drivers_license: "drivers_license";
616
+ id_card: "id_card";
617
+ }>;
618
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
619
+ issuingAuthority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
620
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
621
+ issueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
622
+ expiryDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
623
+ }, z.core.$strip>>>;
624
+ }, z.core.$strip>>>;
247
625
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
248
626
  }, z.core.$strip>;
627
+ export declare const importCustomerPortalBookingParticipantsSchema: z.ZodObject<{
628
+ bookingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
629
+ }, z.core.$strip>;
630
+ export declare const importCustomerPortalBookingParticipantsResultSchema: z.ZodObject<{
631
+ created: z.ZodArray<z.ZodObject<{
632
+ id: z.ZodString;
633
+ role: z.ZodString;
634
+ name: z.ZodString;
635
+ title: z.ZodNullable<z.ZodString>;
636
+ email: z.ZodNullable<z.ZodString>;
637
+ phone: z.ZodNullable<z.ZodString>;
638
+ isPrimary: z.ZodBoolean;
639
+ notes: z.ZodNullable<z.ZodString>;
640
+ typeKey: z.ZodNullable<z.ZodString>;
641
+ person: z.ZodObject<{
642
+ firstName: z.ZodNullable<z.ZodString>;
643
+ middleName: z.ZodNullable<z.ZodString>;
644
+ lastName: z.ZodNullable<z.ZodString>;
645
+ dateOfBirth: z.ZodNullable<z.ZodString>;
646
+ addresses: z.ZodArray<z.ZodObject<{
647
+ type: z.ZodNullable<z.ZodString>;
648
+ country: z.ZodNullable<z.ZodString>;
649
+ state: z.ZodNullable<z.ZodString>;
650
+ city: z.ZodNullable<z.ZodString>;
651
+ postalCode: z.ZodNullable<z.ZodString>;
652
+ addressLine1: z.ZodNullable<z.ZodString>;
653
+ addressLine2: z.ZodNullable<z.ZodString>;
654
+ isDefault: z.ZodBoolean;
655
+ }, z.core.$strip>>;
656
+ documents: z.ZodArray<z.ZodObject<{
657
+ type: z.ZodEnum<{
658
+ visa: "visa";
659
+ other: "other";
660
+ passport: "passport";
661
+ drivers_license: "drivers_license";
662
+ id_card: "id_card";
663
+ }>;
664
+ number: z.ZodNullable<z.ZodString>;
665
+ issuingAuthority: z.ZodNullable<z.ZodString>;
666
+ country: z.ZodNullable<z.ZodString>;
667
+ issueDate: z.ZodNullable<z.ZodString>;
668
+ expiryDate: z.ZodNullable<z.ZodString>;
669
+ }, z.core.$strip>>;
670
+ }, z.core.$strip>;
671
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
672
+ }, z.core.$strip>>;
673
+ skippedCount: z.ZodNumber;
674
+ }, z.core.$strip>;
249
675
  export declare const customerPortalBookingSummarySchema: z.ZodObject<{
250
676
  bookingId: z.ZodString;
251
677
  bookingNumber: z.ZodString;
@@ -260,6 +686,13 @@ export declare const customerPortalBookingSummarySchema: z.ZodObject<{
260
686
  }>;
261
687
  sellCurrency: z.ZodString;
262
688
  sellAmountCents: z.ZodNullable<z.ZodNumber>;
689
+ productTitle: z.ZodNullable<z.ZodString>;
690
+ paymentStatus: z.ZodEnum<{
691
+ partially_paid: "partially_paid";
692
+ paid: "paid";
693
+ overdue: "overdue";
694
+ unpaid: "unpaid";
695
+ }>;
263
696
  startDate: z.ZodNullable<z.ZodString>;
264
697
  endDate: z.ZodNullable<z.ZodString>;
265
698
  pax: z.ZodNullable<z.ZodNumber>;
@@ -341,8 +774,24 @@ export declare const customerPortalBookingParticipantSchema: z.ZodObject<{
341
774
  lastName: z.ZodString;
342
775
  isPrimary: z.ZodBoolean;
343
776
  }, z.core.$strip>;
777
+ export declare const customerPortalBookingBillingContactSchema: z.ZodObject<{
778
+ email: z.ZodNullable<z.ZodString>;
779
+ phone: z.ZodNullable<z.ZodString>;
780
+ firstName: z.ZodNullable<z.ZodString>;
781
+ lastName: z.ZodNullable<z.ZodString>;
782
+ country: z.ZodNullable<z.ZodString>;
783
+ state: z.ZodNullable<z.ZodString>;
784
+ city: z.ZodNullable<z.ZodString>;
785
+ address1: z.ZodNullable<z.ZodString>;
786
+ postal: z.ZodNullable<z.ZodString>;
787
+ }, z.core.$strip>;
344
788
  export declare const customerPortalBookingDocumentSchema: z.ZodObject<{
345
789
  id: z.ZodString;
790
+ source: z.ZodEnum<{
791
+ legal: "legal";
792
+ finance: "finance";
793
+ booking_document: "booking_document";
794
+ }>;
346
795
  participantId: z.ZodNullable<z.ZodString>;
347
796
  type: z.ZodEnum<{
348
797
  visa: "visa";
@@ -350,9 +799,157 @@ export declare const customerPortalBookingDocumentSchema: z.ZodObject<{
350
799
  health: "health";
351
800
  passport_copy: "passport_copy";
352
801
  other: "other";
802
+ invoice: "invoice";
803
+ proforma: "proforma";
804
+ credit_note: "credit_note";
805
+ contract: "contract";
353
806
  }>;
354
807
  fileName: z.ZodString;
355
808
  fileUrl: z.ZodString;
809
+ mimeType: z.ZodNullable<z.ZodString>;
810
+ reference: z.ZodNullable<z.ZodString>;
811
+ }, z.core.$strip>;
812
+ export declare const customerPortalBookingFinancialDocumentSchema: z.ZodObject<{
813
+ invoiceId: z.ZodString;
814
+ invoiceNumber: z.ZodString;
815
+ invoiceType: z.ZodEnum<{
816
+ invoice: "invoice";
817
+ proforma: "proforma";
818
+ credit_note: "credit_note";
819
+ }>;
820
+ invoiceStatus: z.ZodEnum<{
821
+ draft: "draft";
822
+ void: "void";
823
+ sent: "sent";
824
+ partially_paid: "partially_paid";
825
+ paid: "paid";
826
+ overdue: "overdue";
827
+ }>;
828
+ currency: z.ZodString;
829
+ totalCents: z.ZodNumber;
830
+ paidCents: z.ZodNumber;
831
+ balanceDueCents: z.ZodNumber;
832
+ issueDate: z.ZodString;
833
+ dueDate: z.ZodString;
834
+ documentStatus: z.ZodEnum<{
835
+ pending: "pending";
836
+ failed: "failed";
837
+ ready: "ready";
838
+ stale: "stale";
839
+ missing: "missing";
840
+ }>;
841
+ format: z.ZodNullable<z.ZodEnum<{
842
+ pdf: "pdf";
843
+ json: "json";
844
+ html: "html";
845
+ xml: "xml";
846
+ }>>;
847
+ generatedAt: z.ZodNullable<z.ZodString>;
848
+ downloadUrl: z.ZodNullable<z.ZodString>;
849
+ }, z.core.$strip>;
850
+ export declare const customerPortalBookingPaymentSchema: z.ZodObject<{
851
+ id: z.ZodString;
852
+ invoiceId: z.ZodString;
853
+ invoiceNumber: z.ZodString;
854
+ invoiceType: z.ZodEnum<{
855
+ invoice: "invoice";
856
+ proforma: "proforma";
857
+ credit_note: "credit_note";
858
+ }>;
859
+ status: z.ZodEnum<{
860
+ completed: "completed";
861
+ pending: "pending";
862
+ failed: "failed";
863
+ refunded: "refunded";
864
+ }>;
865
+ paymentMethod: z.ZodEnum<{
866
+ other: "other";
867
+ voucher: "voucher";
868
+ wallet: "wallet";
869
+ bank_transfer: "bank_transfer";
870
+ credit_card: "credit_card";
871
+ debit_card: "debit_card";
872
+ cash: "cash";
873
+ cheque: "cheque";
874
+ direct_bill: "direct_bill";
875
+ }>;
876
+ amountCents: z.ZodNumber;
877
+ currency: z.ZodString;
878
+ paymentDate: z.ZodString;
879
+ referenceNumber: z.ZodNullable<z.ZodString>;
880
+ notes: z.ZodNullable<z.ZodString>;
881
+ }, z.core.$strip>;
882
+ export declare const customerPortalBookingFinancialsSchema: z.ZodObject<{
883
+ documents: z.ZodArray<z.ZodObject<{
884
+ invoiceId: z.ZodString;
885
+ invoiceNumber: z.ZodString;
886
+ invoiceType: z.ZodEnum<{
887
+ invoice: "invoice";
888
+ proforma: "proforma";
889
+ credit_note: "credit_note";
890
+ }>;
891
+ invoiceStatus: z.ZodEnum<{
892
+ draft: "draft";
893
+ void: "void";
894
+ sent: "sent";
895
+ partially_paid: "partially_paid";
896
+ paid: "paid";
897
+ overdue: "overdue";
898
+ }>;
899
+ currency: z.ZodString;
900
+ totalCents: z.ZodNumber;
901
+ paidCents: z.ZodNumber;
902
+ balanceDueCents: z.ZodNumber;
903
+ issueDate: z.ZodString;
904
+ dueDate: z.ZodString;
905
+ documentStatus: z.ZodEnum<{
906
+ pending: "pending";
907
+ failed: "failed";
908
+ ready: "ready";
909
+ stale: "stale";
910
+ missing: "missing";
911
+ }>;
912
+ format: z.ZodNullable<z.ZodEnum<{
913
+ pdf: "pdf";
914
+ json: "json";
915
+ html: "html";
916
+ xml: "xml";
917
+ }>>;
918
+ generatedAt: z.ZodNullable<z.ZodString>;
919
+ downloadUrl: z.ZodNullable<z.ZodString>;
920
+ }, z.core.$strip>>;
921
+ payments: z.ZodArray<z.ZodObject<{
922
+ id: z.ZodString;
923
+ invoiceId: z.ZodString;
924
+ invoiceNumber: z.ZodString;
925
+ invoiceType: z.ZodEnum<{
926
+ invoice: "invoice";
927
+ proforma: "proforma";
928
+ credit_note: "credit_note";
929
+ }>;
930
+ status: z.ZodEnum<{
931
+ completed: "completed";
932
+ pending: "pending";
933
+ failed: "failed";
934
+ refunded: "refunded";
935
+ }>;
936
+ paymentMethod: z.ZodEnum<{
937
+ other: "other";
938
+ voucher: "voucher";
939
+ wallet: "wallet";
940
+ bank_transfer: "bank_transfer";
941
+ credit_card: "credit_card";
942
+ debit_card: "debit_card";
943
+ cash: "cash";
944
+ cheque: "cheque";
945
+ direct_bill: "direct_bill";
946
+ }>;
947
+ amountCents: z.ZodNumber;
948
+ currency: z.ZodString;
949
+ paymentDate: z.ZodString;
950
+ referenceNumber: z.ZodNullable<z.ZodString>;
951
+ notes: z.ZodNullable<z.ZodString>;
952
+ }, z.core.$strip>>;
356
953
  }, z.core.$strip>;
357
954
  export declare const customerPortalBookingFulfillmentSchema: z.ZodObject<{
358
955
  id: z.ZodString;
@@ -463,8 +1060,24 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
463
1060
  isPrimary: z.ZodBoolean;
464
1061
  }, z.core.$strip>>;
465
1062
  }, z.core.$strip>>;
1063
+ billingContact: z.ZodNullable<z.ZodObject<{
1064
+ email: z.ZodNullable<z.ZodString>;
1065
+ phone: z.ZodNullable<z.ZodString>;
1066
+ firstName: z.ZodNullable<z.ZodString>;
1067
+ lastName: z.ZodNullable<z.ZodString>;
1068
+ country: z.ZodNullable<z.ZodString>;
1069
+ state: z.ZodNullable<z.ZodString>;
1070
+ city: z.ZodNullable<z.ZodString>;
1071
+ address1: z.ZodNullable<z.ZodString>;
1072
+ postal: z.ZodNullable<z.ZodString>;
1073
+ }, z.core.$strip>>;
466
1074
  documents: z.ZodArray<z.ZodObject<{
467
1075
  id: z.ZodString;
1076
+ source: z.ZodEnum<{
1077
+ legal: "legal";
1078
+ finance: "finance";
1079
+ booking_document: "booking_document";
1080
+ }>;
468
1081
  participantId: z.ZodNullable<z.ZodString>;
469
1082
  type: z.ZodEnum<{
470
1083
  visa: "visa";
@@ -472,10 +1085,88 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
472
1085
  health: "health";
473
1086
  passport_copy: "passport_copy";
474
1087
  other: "other";
1088
+ invoice: "invoice";
1089
+ proforma: "proforma";
1090
+ credit_note: "credit_note";
1091
+ contract: "contract";
475
1092
  }>;
476
1093
  fileName: z.ZodString;
477
1094
  fileUrl: z.ZodString;
1095
+ mimeType: z.ZodNullable<z.ZodString>;
1096
+ reference: z.ZodNullable<z.ZodString>;
478
1097
  }, z.core.$strip>>;
1098
+ financials: z.ZodObject<{
1099
+ documents: z.ZodArray<z.ZodObject<{
1100
+ invoiceId: z.ZodString;
1101
+ invoiceNumber: z.ZodString;
1102
+ invoiceType: z.ZodEnum<{
1103
+ invoice: "invoice";
1104
+ proforma: "proforma";
1105
+ credit_note: "credit_note";
1106
+ }>;
1107
+ invoiceStatus: z.ZodEnum<{
1108
+ draft: "draft";
1109
+ void: "void";
1110
+ sent: "sent";
1111
+ partially_paid: "partially_paid";
1112
+ paid: "paid";
1113
+ overdue: "overdue";
1114
+ }>;
1115
+ currency: z.ZodString;
1116
+ totalCents: z.ZodNumber;
1117
+ paidCents: z.ZodNumber;
1118
+ balanceDueCents: z.ZodNumber;
1119
+ issueDate: z.ZodString;
1120
+ dueDate: z.ZodString;
1121
+ documentStatus: z.ZodEnum<{
1122
+ pending: "pending";
1123
+ failed: "failed";
1124
+ ready: "ready";
1125
+ stale: "stale";
1126
+ missing: "missing";
1127
+ }>;
1128
+ format: z.ZodNullable<z.ZodEnum<{
1129
+ pdf: "pdf";
1130
+ json: "json";
1131
+ html: "html";
1132
+ xml: "xml";
1133
+ }>>;
1134
+ generatedAt: z.ZodNullable<z.ZodString>;
1135
+ downloadUrl: z.ZodNullable<z.ZodString>;
1136
+ }, z.core.$strip>>;
1137
+ payments: z.ZodArray<z.ZodObject<{
1138
+ id: z.ZodString;
1139
+ invoiceId: z.ZodString;
1140
+ invoiceNumber: z.ZodString;
1141
+ invoiceType: z.ZodEnum<{
1142
+ invoice: "invoice";
1143
+ proforma: "proforma";
1144
+ credit_note: "credit_note";
1145
+ }>;
1146
+ status: z.ZodEnum<{
1147
+ completed: "completed";
1148
+ pending: "pending";
1149
+ failed: "failed";
1150
+ refunded: "refunded";
1151
+ }>;
1152
+ paymentMethod: z.ZodEnum<{
1153
+ other: "other";
1154
+ voucher: "voucher";
1155
+ wallet: "wallet";
1156
+ bank_transfer: "bank_transfer";
1157
+ credit_card: "credit_card";
1158
+ debit_card: "debit_card";
1159
+ cash: "cash";
1160
+ cheque: "cheque";
1161
+ direct_bill: "direct_bill";
1162
+ }>;
1163
+ amountCents: z.ZodNumber;
1164
+ currency: z.ZodString;
1165
+ paymentDate: z.ZodString;
1166
+ referenceNumber: z.ZodNullable<z.ZodString>;
1167
+ notes: z.ZodNullable<z.ZodString>;
1168
+ }, z.core.$strip>>;
1169
+ }, z.core.$strip>;
479
1170
  fulfillments: z.ZodArray<z.ZodObject<{
480
1171
  id: z.ZodString;
481
1172
  bookingItemId: z.ZodNullable<z.ZodString>;
@@ -518,7 +1209,15 @@ export type CustomerPortalBootstrapCandidate = z.infer<typeof customerPortalBoot
518
1209
  export type CustomerPortalCompanion = z.infer<typeof customerPortalCompanionSchema>;
519
1210
  export type CreateCustomerPortalCompanionInput = z.infer<typeof createCustomerPortalCompanionSchema>;
520
1211
  export type UpdateCustomerPortalCompanionInput = z.infer<typeof updateCustomerPortalCompanionSchema>;
1212
+ export type ImportCustomerPortalBookingParticipantsInput = z.infer<typeof importCustomerPortalBookingParticipantsSchema>;
1213
+ export type ImportCustomerPortalBookingParticipantsResult = z.infer<typeof importCustomerPortalBookingParticipantsResultSchema>;
521
1214
  export type CustomerPortalBookingSummary = z.infer<typeof customerPortalBookingSummarySchema>;
1215
+ export type CustomerPortalBookingBillingContact = z.infer<typeof customerPortalBookingBillingContactSchema>;
522
1216
  export type CustomerPortalBookingDocument = z.infer<typeof customerPortalBookingDocumentSchema>;
1217
+ export type CustomerPortalAddress = z.infer<typeof customerPortalAddressSchema>;
1218
+ export type UpdateCustomerPortalAddressInput = z.input<typeof updateCustomerPortalAddressSchema>;
1219
+ export type CustomerPortalBookingFinancialDocument = z.infer<typeof customerPortalBookingFinancialDocumentSchema>;
1220
+ export type CustomerPortalBookingPayment = z.infer<typeof customerPortalBookingPaymentSchema>;
1221
+ export type CustomerPortalBookingFinancials = z.infer<typeof customerPortalBookingFinancialsSchema>;
523
1222
  export type CustomerPortalBookingDetail = z.infer<typeof customerPortalBookingDetailSchema>;
524
1223
  //# sourceMappingURL=validation-public.d.ts.map