@opencrvs/toolkit 1.8.0-rc.fc43738 → 1.8.0-rc.fd6feaa

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.
@@ -9,7 +9,7 @@ export declare const Draft: z.ZodObject<{
9
9
  id: z.ZodString;
10
10
  createdAt: z.ZodString;
11
11
  createdBy: z.ZodString;
12
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodObject<{
12
+ data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13
13
  filename: z.ZodString;
14
14
  originalFilename: z.ZodString;
15
15
  type: z.ZodString;
@@ -36,58 +36,85 @@ export declare const Draft: z.ZodObject<{
36
36
  option: string;
37
37
  filename: string;
38
38
  originalFilename: string;
39
- }>, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<z.objectUtil.extendShape<{
40
- country: z.ZodString;
39
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
40
+ country: z.ZodLiteral<string>;
41
41
  province: z.ZodString;
42
42
  district: z.ZodString;
43
43
  }, {
44
44
  urbanOrRural: z.ZodLiteral<"URBAN">;
45
- town: z.ZodOptional<z.ZodString>;
46
- residentialArea: z.ZodOptional<z.ZodString>;
47
- street: z.ZodOptional<z.ZodString>;
48
- number: z.ZodOptional<z.ZodString>;
49
- zipCode: z.ZodOptional<z.ZodString>;
45
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
50
  }>, "strip", z.ZodTypeAny, {
51
51
  country: string;
52
52
  district: string;
53
53
  province: string;
54
54
  urbanOrRural: "URBAN";
55
- number?: string | undefined;
56
- town?: string | undefined;
57
- residentialArea?: string | undefined;
58
- street?: string | undefined;
59
- zipCode?: string | undefined;
55
+ number?: string | null | undefined;
56
+ town?: string | null | undefined;
57
+ residentialArea?: string | null | undefined;
58
+ street?: string | null | undefined;
59
+ zipCode?: string | null | undefined;
60
60
  }, {
61
61
  country: string;
62
62
  district: string;
63
63
  province: string;
64
64
  urbanOrRural: "URBAN";
65
- number?: string | undefined;
66
- town?: string | undefined;
67
- residentialArea?: string | undefined;
68
- street?: string | undefined;
69
- zipCode?: string | undefined;
65
+ number?: string | null | undefined;
66
+ town?: string | null | undefined;
67
+ residentialArea?: string | null | undefined;
68
+ street?: string | null | undefined;
69
+ zipCode?: string | null | undefined;
70
70
  }>, z.ZodObject<z.objectUtil.extendShape<{
71
- country: z.ZodString;
71
+ country: z.ZodLiteral<string>;
72
72
  province: z.ZodString;
73
73
  district: z.ZodString;
74
74
  }, {
75
75
  urbanOrRural: z.ZodLiteral<"RURAL">;
76
- village: z.ZodOptional<z.ZodString>;
76
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
77
  }>, "strip", z.ZodTypeAny, {
78
78
  country: string;
79
79
  district: string;
80
80
  province: string;
81
81
  urbanOrRural: "RURAL";
82
- village?: string | undefined;
82
+ village?: string | null | undefined;
83
83
  }, {
84
84
  country: string;
85
85
  district: string;
86
86
  province: string;
87
87
  urbanOrRural: "RURAL";
88
- village?: string | undefined;
88
+ village?: string | null | undefined;
89
+ }>, z.ZodObject<{
90
+ country: z.ZodEffects<z.ZodString, string, string>;
91
+ state: z.ZodString;
92
+ district2: z.ZodString;
93
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ }, "strip", z.ZodTypeAny, {
99
+ country: string;
100
+ state: string;
101
+ district2: string;
102
+ cityOrTown?: string | null | undefined;
103
+ addressLine1?: string | null | undefined;
104
+ addressLine2?: string | null | undefined;
105
+ addressLine3?: string | null | undefined;
106
+ postcodeOrZip?: string | null | undefined;
107
+ }, {
108
+ country: string;
109
+ state: string;
110
+ district2: string;
111
+ cityOrTown?: string | null | undefined;
112
+ addressLine1?: string | null | undefined;
113
+ addressLine2?: string | null | undefined;
114
+ addressLine3?: string | null | undefined;
115
+ postcodeOrZip?: string | null | undefined;
89
116
  }>]>>;
90
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodObject<{
117
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
91
118
  filename: z.ZodString;
92
119
  originalFilename: z.ZodString;
93
120
  type: z.ZodString;
@@ -114,56 +141,83 @@ export declare const Draft: z.ZodObject<{
114
141
  option: string;
115
142
  filename: string;
116
143
  originalFilename: string;
117
- }>, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<z.objectUtil.extendShape<{
118
- country: z.ZodString;
144
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
145
+ country: z.ZodLiteral<string>;
119
146
  province: z.ZodString;
120
147
  district: z.ZodString;
121
148
  }, {
122
149
  urbanOrRural: z.ZodLiteral<"URBAN">;
123
- town: z.ZodOptional<z.ZodString>;
124
- residentialArea: z.ZodOptional<z.ZodString>;
125
- street: z.ZodOptional<z.ZodString>;
126
- number: z.ZodOptional<z.ZodString>;
127
- zipCode: z.ZodOptional<z.ZodString>;
150
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
155
  }>, "strip", z.ZodTypeAny, {
129
156
  country: string;
130
157
  district: string;
131
158
  province: string;
132
159
  urbanOrRural: "URBAN";
133
- number?: string | undefined;
134
- town?: string | undefined;
135
- residentialArea?: string | undefined;
136
- street?: string | undefined;
137
- zipCode?: string | undefined;
160
+ number?: string | null | undefined;
161
+ town?: string | null | undefined;
162
+ residentialArea?: string | null | undefined;
163
+ street?: string | null | undefined;
164
+ zipCode?: string | null | undefined;
138
165
  }, {
139
166
  country: string;
140
167
  district: string;
141
168
  province: string;
142
169
  urbanOrRural: "URBAN";
143
- number?: string | undefined;
144
- town?: string | undefined;
145
- residentialArea?: string | undefined;
146
- street?: string | undefined;
147
- zipCode?: string | undefined;
170
+ number?: string | null | undefined;
171
+ town?: string | null | undefined;
172
+ residentialArea?: string | null | undefined;
173
+ street?: string | null | undefined;
174
+ zipCode?: string | null | undefined;
148
175
  }>, z.ZodObject<z.objectUtil.extendShape<{
149
- country: z.ZodString;
176
+ country: z.ZodLiteral<string>;
150
177
  province: z.ZodString;
151
178
  district: z.ZodString;
152
179
  }, {
153
180
  urbanOrRural: z.ZodLiteral<"RURAL">;
154
- village: z.ZodOptional<z.ZodString>;
181
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
182
  }>, "strip", z.ZodTypeAny, {
156
183
  country: string;
157
184
  district: string;
158
185
  province: string;
159
186
  urbanOrRural: "RURAL";
160
- village?: string | undefined;
187
+ village?: string | null | undefined;
161
188
  }, {
162
189
  country: string;
163
190
  district: string;
164
191
  province: string;
165
192
  urbanOrRural: "RURAL";
166
- village?: string | undefined;
193
+ village?: string | null | undefined;
194
+ }>, z.ZodObject<{
195
+ country: z.ZodEffects<z.ZodString, string, string>;
196
+ state: z.ZodString;
197
+ district2: z.ZodString;
198
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ country: string;
205
+ state: string;
206
+ district2: string;
207
+ cityOrTown?: string | null | undefined;
208
+ addressLine1?: string | null | undefined;
209
+ addressLine2?: string | null | undefined;
210
+ addressLine3?: string | null | undefined;
211
+ postcodeOrZip?: string | null | undefined;
212
+ }, {
213
+ country: string;
214
+ state: string;
215
+ district2: string;
216
+ cityOrTown?: string | null | undefined;
217
+ addressLine1?: string | null | undefined;
218
+ addressLine2?: string | null | undefined;
219
+ addressLine3?: string | null | undefined;
220
+ postcodeOrZip?: string | null | undefined;
167
221
  }>]>>>;
168
222
  createdAtLocation: z.ZodString;
169
223
  }, {
@@ -179,17 +233,26 @@ export declare const Draft: z.ZodObject<{
179
233
  district: string;
180
234
  province: string;
181
235
  urbanOrRural: "URBAN";
182
- number?: string | undefined;
183
- town?: string | undefined;
184
- residentialArea?: string | undefined;
185
- street?: string | undefined;
186
- zipCode?: string | undefined;
236
+ number?: string | null | undefined;
237
+ town?: string | null | undefined;
238
+ residentialArea?: string | null | undefined;
239
+ street?: string | null | undefined;
240
+ zipCode?: string | null | undefined;
187
241
  } | {
188
242
  country: string;
189
243
  district: string;
190
244
  province: string;
191
245
  urbanOrRural: "RURAL";
192
- village?: string | undefined;
246
+ village?: string | null | undefined;
247
+ } | {
248
+ country: string;
249
+ state: string;
250
+ district2: string;
251
+ cityOrTown?: string | null | undefined;
252
+ addressLine1?: string | null | undefined;
253
+ addressLine2?: string | null | undefined;
254
+ addressLine3?: string | null | undefined;
255
+ postcodeOrZip?: string | null | undefined;
193
256
  } | {
194
257
  type: string;
195
258
  option: string;
@@ -208,17 +271,26 @@ export declare const Draft: z.ZodObject<{
208
271
  district: string;
209
272
  province: string;
210
273
  urbanOrRural: "URBAN";
211
- number?: string | undefined;
212
- town?: string | undefined;
213
- residentialArea?: string | undefined;
214
- street?: string | undefined;
215
- zipCode?: string | undefined;
274
+ number?: string | null | undefined;
275
+ town?: string | null | undefined;
276
+ residentialArea?: string | null | undefined;
277
+ street?: string | null | undefined;
278
+ zipCode?: string | null | undefined;
216
279
  } | {
217
280
  country: string;
218
281
  district: string;
219
282
  province: string;
220
283
  urbanOrRural: "RURAL";
221
- village?: string | undefined;
284
+ village?: string | null | undefined;
285
+ } | {
286
+ country: string;
287
+ state: string;
288
+ district2: string;
289
+ cityOrTown?: string | null | undefined;
290
+ addressLine1?: string | null | undefined;
291
+ addressLine2?: string | null | undefined;
292
+ addressLine3?: string | null | undefined;
293
+ postcodeOrZip?: string | null | undefined;
222
294
  } | {
223
295
  type: string;
224
296
  option: string;
@@ -236,17 +308,26 @@ export declare const Draft: z.ZodObject<{
236
308
  district: string;
237
309
  province: string;
238
310
  urbanOrRural: "URBAN";
239
- number?: string | undefined;
240
- town?: string | undefined;
241
- residentialArea?: string | undefined;
242
- street?: string | undefined;
243
- zipCode?: string | undefined;
311
+ number?: string | null | undefined;
312
+ town?: string | null | undefined;
313
+ residentialArea?: string | null | undefined;
314
+ street?: string | null | undefined;
315
+ zipCode?: string | null | undefined;
244
316
  } | {
245
317
  country: string;
246
318
  district: string;
247
319
  province: string;
248
320
  urbanOrRural: "RURAL";
249
- village?: string | undefined;
321
+ village?: string | null | undefined;
322
+ } | {
323
+ country: string;
324
+ state: string;
325
+ district2: string;
326
+ cityOrTown?: string | null | undefined;
327
+ addressLine1?: string | null | undefined;
328
+ addressLine2?: string | null | undefined;
329
+ addressLine3?: string | null | undefined;
330
+ postcodeOrZip?: string | null | undefined;
250
331
  } | {
251
332
  type: string;
252
333
  option: string;
@@ -265,17 +346,26 @@ export declare const Draft: z.ZodObject<{
265
346
  district: string;
266
347
  province: string;
267
348
  urbanOrRural: "URBAN";
268
- number?: string | undefined;
269
- town?: string | undefined;
270
- residentialArea?: string | undefined;
271
- street?: string | undefined;
272
- zipCode?: string | undefined;
349
+ number?: string | null | undefined;
350
+ town?: string | null | undefined;
351
+ residentialArea?: string | null | undefined;
352
+ street?: string | null | undefined;
353
+ zipCode?: string | null | undefined;
273
354
  } | {
274
355
  country: string;
275
356
  district: string;
276
357
  province: string;
277
358
  urbanOrRural: "RURAL";
278
- village?: string | undefined;
359
+ village?: string | null | undefined;
360
+ } | {
361
+ country: string;
362
+ state: string;
363
+ district2: string;
364
+ cityOrTown?: string | null | undefined;
365
+ addressLine1?: string | null | undefined;
366
+ addressLine2?: string | null | undefined;
367
+ addressLine3?: string | null | undefined;
368
+ postcodeOrZip?: string | null | undefined;
279
369
  } | {
280
370
  type: string;
281
371
  option: string;
@@ -299,17 +389,26 @@ export declare const Draft: z.ZodObject<{
299
389
  district: string;
300
390
  province: string;
301
391
  urbanOrRural: "URBAN";
302
- number?: string | undefined;
303
- town?: string | undefined;
304
- residentialArea?: string | undefined;
305
- street?: string | undefined;
306
- zipCode?: string | undefined;
392
+ number?: string | null | undefined;
393
+ town?: string | null | undefined;
394
+ residentialArea?: string | null | undefined;
395
+ street?: string | null | undefined;
396
+ zipCode?: string | null | undefined;
307
397
  } | {
308
398
  country: string;
309
399
  district: string;
310
400
  province: string;
311
401
  urbanOrRural: "RURAL";
312
- village?: string | undefined;
402
+ village?: string | null | undefined;
403
+ } | {
404
+ country: string;
405
+ state: string;
406
+ district2: string;
407
+ cityOrTown?: string | null | undefined;
408
+ addressLine1?: string | null | undefined;
409
+ addressLine2?: string | null | undefined;
410
+ addressLine3?: string | null | undefined;
411
+ postcodeOrZip?: string | null | undefined;
313
412
  } | {
314
413
  type: string;
315
414
  option: string;
@@ -328,17 +427,26 @@ export declare const Draft: z.ZodObject<{
328
427
  district: string;
329
428
  province: string;
330
429
  urbanOrRural: "URBAN";
331
- number?: string | undefined;
332
- town?: string | undefined;
333
- residentialArea?: string | undefined;
334
- street?: string | undefined;
335
- zipCode?: string | undefined;
430
+ number?: string | null | undefined;
431
+ town?: string | null | undefined;
432
+ residentialArea?: string | null | undefined;
433
+ street?: string | null | undefined;
434
+ zipCode?: string | null | undefined;
336
435
  } | {
337
436
  country: string;
338
437
  district: string;
339
438
  province: string;
340
439
  urbanOrRural: "RURAL";
341
- village?: string | undefined;
440
+ village?: string | null | undefined;
441
+ } | {
442
+ country: string;
443
+ state: string;
444
+ district2: string;
445
+ cityOrTown?: string | null | undefined;
446
+ addressLine1?: string | null | undefined;
447
+ addressLine2?: string | null | undefined;
448
+ addressLine3?: string | null | undefined;
449
+ postcodeOrZip?: string | null | undefined;
342
450
  } | {
343
451
  type: string;
344
452
  option: string;
@@ -362,17 +470,26 @@ export declare const Draft: z.ZodObject<{
362
470
  district: string;
363
471
  province: string;
364
472
  urbanOrRural: "URBAN";
365
- number?: string | undefined;
366
- town?: string | undefined;
367
- residentialArea?: string | undefined;
368
- street?: string | undefined;
369
- zipCode?: string | undefined;
473
+ number?: string | null | undefined;
474
+ town?: string | null | undefined;
475
+ residentialArea?: string | null | undefined;
476
+ street?: string | null | undefined;
477
+ zipCode?: string | null | undefined;
370
478
  } | {
371
479
  country: string;
372
480
  district: string;
373
481
  province: string;
374
482
  urbanOrRural: "RURAL";
375
- village?: string | undefined;
483
+ village?: string | null | undefined;
484
+ } | {
485
+ country: string;
486
+ state: string;
487
+ district2: string;
488
+ cityOrTown?: string | null | undefined;
489
+ addressLine1?: string | null | undefined;
490
+ addressLine2?: string | null | undefined;
491
+ addressLine3?: string | null | undefined;
492
+ postcodeOrZip?: string | null | undefined;
376
493
  } | {
377
494
  type: string;
378
495
  option: string;
@@ -391,17 +508,26 @@ export declare const Draft: z.ZodObject<{
391
508
  district: string;
392
509
  province: string;
393
510
  urbanOrRural: "URBAN";
394
- number?: string | undefined;
395
- town?: string | undefined;
396
- residentialArea?: string | undefined;
397
- street?: string | undefined;
398
- zipCode?: string | undefined;
511
+ number?: string | null | undefined;
512
+ town?: string | null | undefined;
513
+ residentialArea?: string | null | undefined;
514
+ street?: string | null | undefined;
515
+ zipCode?: string | null | undefined;
399
516
  } | {
400
517
  country: string;
401
518
  district: string;
402
519
  province: string;
403
520
  urbanOrRural: "RURAL";
404
- village?: string | undefined;
521
+ village?: string | null | undefined;
522
+ } | {
523
+ country: string;
524
+ state: string;
525
+ district2: string;
526
+ cityOrTown?: string | null | undefined;
527
+ addressLine1?: string | null | undefined;
528
+ addressLine2?: string | null | undefined;
529
+ addressLine3?: string | null | undefined;
530
+ postcodeOrZip?: string | null | undefined;
405
531
  } | {
406
532
  type: string;
407
533
  option: string;
@@ -413,8 +539,7 @@ export declare const Draft: z.ZodObject<{
413
539
  export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
414
540
  eventId: z.ZodString;
415
541
  transactionId: z.ZodString;
416
- incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
417
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodObject<{
542
+ data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
418
543
  filename: z.ZodString;
419
544
  originalFilename: z.ZodString;
420
545
  type: z.ZodString;
@@ -441,58 +566,85 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
441
566
  option: string;
442
567
  filename: string;
443
568
  originalFilename: string;
444
- }>, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<z.objectUtil.extendShape<{
445
- country: z.ZodString;
569
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
570
+ country: z.ZodLiteral<string>;
446
571
  province: z.ZodString;
447
572
  district: z.ZodString;
448
573
  }, {
449
574
  urbanOrRural: z.ZodLiteral<"URBAN">;
450
- town: z.ZodOptional<z.ZodString>;
451
- residentialArea: z.ZodOptional<z.ZodString>;
452
- street: z.ZodOptional<z.ZodString>;
453
- number: z.ZodOptional<z.ZodString>;
454
- zipCode: z.ZodOptional<z.ZodString>;
575
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
577
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
579
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
455
580
  }>, "strip", z.ZodTypeAny, {
456
581
  country: string;
457
582
  district: string;
458
583
  province: string;
459
584
  urbanOrRural: "URBAN";
460
- number?: string | undefined;
461
- town?: string | undefined;
462
- residentialArea?: string | undefined;
463
- street?: string | undefined;
464
- zipCode?: string | undefined;
585
+ number?: string | null | undefined;
586
+ town?: string | null | undefined;
587
+ residentialArea?: string | null | undefined;
588
+ street?: string | null | undefined;
589
+ zipCode?: string | null | undefined;
465
590
  }, {
466
591
  country: string;
467
592
  district: string;
468
593
  province: string;
469
594
  urbanOrRural: "URBAN";
470
- number?: string | undefined;
471
- town?: string | undefined;
472
- residentialArea?: string | undefined;
473
- street?: string | undefined;
474
- zipCode?: string | undefined;
595
+ number?: string | null | undefined;
596
+ town?: string | null | undefined;
597
+ residentialArea?: string | null | undefined;
598
+ street?: string | null | undefined;
599
+ zipCode?: string | null | undefined;
475
600
  }>, z.ZodObject<z.objectUtil.extendShape<{
476
- country: z.ZodString;
601
+ country: z.ZodLiteral<string>;
477
602
  province: z.ZodString;
478
603
  district: z.ZodString;
479
604
  }, {
480
605
  urbanOrRural: z.ZodLiteral<"RURAL">;
481
- village: z.ZodOptional<z.ZodString>;
606
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
607
  }>, "strip", z.ZodTypeAny, {
483
608
  country: string;
484
609
  district: string;
485
610
  province: string;
486
611
  urbanOrRural: "RURAL";
487
- village?: string | undefined;
612
+ village?: string | null | undefined;
488
613
  }, {
489
614
  country: string;
490
615
  district: string;
491
616
  province: string;
492
617
  urbanOrRural: "RURAL";
493
- village?: string | undefined;
618
+ village?: string | null | undefined;
619
+ }>, z.ZodObject<{
620
+ country: z.ZodEffects<z.ZodString, string, string>;
621
+ state: z.ZodString;
622
+ district2: z.ZodString;
623
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
624
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
625
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
626
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
627
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
628
+ }, "strip", z.ZodTypeAny, {
629
+ country: string;
630
+ state: string;
631
+ district2: string;
632
+ cityOrTown?: string | null | undefined;
633
+ addressLine1?: string | null | undefined;
634
+ addressLine2?: string | null | undefined;
635
+ addressLine3?: string | null | undefined;
636
+ postcodeOrZip?: string | null | undefined;
637
+ }, {
638
+ country: string;
639
+ state: string;
640
+ district2: string;
641
+ cityOrTown?: string | null | undefined;
642
+ addressLine1?: string | null | undefined;
643
+ addressLine2?: string | null | undefined;
644
+ addressLine3?: string | null | undefined;
645
+ postcodeOrZip?: string | null | undefined;
494
646
  }>]>>;
495
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodObject<{
647
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
496
648
  filename: z.ZodString;
497
649
  originalFilename: z.ZodString;
498
650
  type: z.ZodString;
@@ -519,56 +671,83 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
519
671
  option: string;
520
672
  filename: string;
521
673
  originalFilename: string;
522
- }>, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<z.objectUtil.extendShape<{
523
- country: z.ZodString;
674
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
675
+ country: z.ZodLiteral<string>;
524
676
  province: z.ZodString;
525
677
  district: z.ZodString;
526
678
  }, {
527
679
  urbanOrRural: z.ZodLiteral<"URBAN">;
528
- town: z.ZodOptional<z.ZodString>;
529
- residentialArea: z.ZodOptional<z.ZodString>;
530
- street: z.ZodOptional<z.ZodString>;
531
- number: z.ZodOptional<z.ZodString>;
532
- zipCode: z.ZodOptional<z.ZodString>;
680
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
681
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
682
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
683
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
684
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
533
685
  }>, "strip", z.ZodTypeAny, {
534
686
  country: string;
535
687
  district: string;
536
688
  province: string;
537
689
  urbanOrRural: "URBAN";
538
- number?: string | undefined;
539
- town?: string | undefined;
540
- residentialArea?: string | undefined;
541
- street?: string | undefined;
542
- zipCode?: string | undefined;
690
+ number?: string | null | undefined;
691
+ town?: string | null | undefined;
692
+ residentialArea?: string | null | undefined;
693
+ street?: string | null | undefined;
694
+ zipCode?: string | null | undefined;
543
695
  }, {
544
696
  country: string;
545
697
  district: string;
546
698
  province: string;
547
699
  urbanOrRural: "URBAN";
548
- number?: string | undefined;
549
- town?: string | undefined;
550
- residentialArea?: string | undefined;
551
- street?: string | undefined;
552
- zipCode?: string | undefined;
700
+ number?: string | null | undefined;
701
+ town?: string | null | undefined;
702
+ residentialArea?: string | null | undefined;
703
+ street?: string | null | undefined;
704
+ zipCode?: string | null | undefined;
553
705
  }>, z.ZodObject<z.objectUtil.extendShape<{
554
- country: z.ZodString;
706
+ country: z.ZodLiteral<string>;
555
707
  province: z.ZodString;
556
708
  district: z.ZodString;
557
709
  }, {
558
710
  urbanOrRural: z.ZodLiteral<"RURAL">;
559
- village: z.ZodOptional<z.ZodString>;
711
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
560
712
  }>, "strip", z.ZodTypeAny, {
561
713
  country: string;
562
714
  district: string;
563
715
  province: string;
564
716
  urbanOrRural: "RURAL";
565
- village?: string | undefined;
717
+ village?: string | null | undefined;
566
718
  }, {
567
719
  country: string;
568
720
  district: string;
569
721
  province: string;
570
722
  urbanOrRural: "RURAL";
571
- village?: string | undefined;
723
+ village?: string | null | undefined;
724
+ }>, z.ZodObject<{
725
+ country: z.ZodEffects<z.ZodString, string, string>;
726
+ state: z.ZodString;
727
+ district2: z.ZodString;
728
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
729
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
730
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
731
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
732
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
733
+ }, "strip", z.ZodTypeAny, {
734
+ country: string;
735
+ state: string;
736
+ district2: string;
737
+ cityOrTown?: string | null | undefined;
738
+ addressLine1?: string | null | undefined;
739
+ addressLine2?: string | null | undefined;
740
+ addressLine3?: string | null | undefined;
741
+ postcodeOrZip?: string | null | undefined;
742
+ }, {
743
+ country: string;
744
+ state: string;
745
+ district2: string;
746
+ cityOrTown?: string | null | undefined;
747
+ addressLine1?: string | null | undefined;
748
+ addressLine2?: string | null | undefined;
749
+ addressLine3?: string | null | undefined;
750
+ postcodeOrZip?: string | null | undefined;
572
751
  }>]>>>;
573
752
  }, {
574
753
  type: z.ZodEnum<[ActionType, ...ActionType[]]>;
@@ -583,17 +762,26 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
583
762
  district: string;
584
763
  province: string;
585
764
  urbanOrRural: "URBAN";
586
- number?: string | undefined;
587
- town?: string | undefined;
588
- residentialArea?: string | undefined;
589
- street?: string | undefined;
590
- zipCode?: string | undefined;
765
+ number?: string | null | undefined;
766
+ town?: string | null | undefined;
767
+ residentialArea?: string | null | undefined;
768
+ street?: string | null | undefined;
769
+ zipCode?: string | null | undefined;
591
770
  } | {
592
771
  country: string;
593
772
  district: string;
594
773
  province: string;
595
774
  urbanOrRural: "RURAL";
596
- village?: string | undefined;
775
+ village?: string | null | undefined;
776
+ } | {
777
+ country: string;
778
+ state: string;
779
+ district2: string;
780
+ cityOrTown?: string | null | undefined;
781
+ addressLine1?: string | null | undefined;
782
+ addressLine2?: string | null | undefined;
783
+ addressLine3?: string | null | undefined;
784
+ postcodeOrZip?: string | null | undefined;
597
785
  } | {
598
786
  type: string;
599
787
  option: string;
@@ -602,7 +790,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
602
790
  }[]>;
603
791
  eventId: string;
604
792
  transactionId: string;
605
- incomplete: boolean;
606
793
  metadata?: Record<string, string | number | boolean | {
607
794
  type: string;
608
795
  filename: string;
@@ -612,17 +799,26 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
612
799
  district: string;
613
800
  province: string;
614
801
  urbanOrRural: "URBAN";
615
- number?: string | undefined;
616
- town?: string | undefined;
617
- residentialArea?: string | undefined;
618
- street?: string | undefined;
619
- zipCode?: string | undefined;
802
+ number?: string | null | undefined;
803
+ town?: string | null | undefined;
804
+ residentialArea?: string | null | undefined;
805
+ street?: string | null | undefined;
806
+ zipCode?: string | null | undefined;
620
807
  } | {
621
808
  country: string;
622
809
  district: string;
623
810
  province: string;
624
811
  urbanOrRural: "RURAL";
625
- village?: string | undefined;
812
+ village?: string | null | undefined;
813
+ } | {
814
+ country: string;
815
+ state: string;
816
+ district2: string;
817
+ cityOrTown?: string | null | undefined;
818
+ addressLine1?: string | null | undefined;
819
+ addressLine2?: string | null | undefined;
820
+ addressLine3?: string | null | undefined;
821
+ postcodeOrZip?: string | null | undefined;
626
822
  } | {
627
823
  type: string;
628
824
  option: string;
@@ -640,17 +836,26 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
640
836
  district: string;
641
837
  province: string;
642
838
  urbanOrRural: "URBAN";
643
- number?: string | undefined;
644
- town?: string | undefined;
645
- residentialArea?: string | undefined;
646
- street?: string | undefined;
647
- zipCode?: string | undefined;
839
+ number?: string | null | undefined;
840
+ town?: string | null | undefined;
841
+ residentialArea?: string | null | undefined;
842
+ street?: string | null | undefined;
843
+ zipCode?: string | null | undefined;
648
844
  } | {
649
845
  country: string;
650
846
  district: string;
651
847
  province: string;
652
848
  urbanOrRural: "RURAL";
653
- village?: string | undefined;
849
+ village?: string | null | undefined;
850
+ } | {
851
+ country: string;
852
+ state: string;
853
+ district2: string;
854
+ cityOrTown?: string | null | undefined;
855
+ addressLine1?: string | null | undefined;
856
+ addressLine2?: string | null | undefined;
857
+ addressLine3?: string | null | undefined;
858
+ postcodeOrZip?: string | null | undefined;
654
859
  } | {
655
860
  type: string;
656
861
  option: string;
@@ -668,24 +873,32 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
668
873
  district: string;
669
874
  province: string;
670
875
  urbanOrRural: "URBAN";
671
- number?: string | undefined;
672
- town?: string | undefined;
673
- residentialArea?: string | undefined;
674
- street?: string | undefined;
675
- zipCode?: string | undefined;
876
+ number?: string | null | undefined;
877
+ town?: string | null | undefined;
878
+ residentialArea?: string | null | undefined;
879
+ street?: string | null | undefined;
880
+ zipCode?: string | null | undefined;
676
881
  } | {
677
882
  country: string;
678
883
  district: string;
679
884
  province: string;
680
885
  urbanOrRural: "RURAL";
681
- village?: string | undefined;
886
+ village?: string | null | undefined;
887
+ } | {
888
+ country: string;
889
+ state: string;
890
+ district2: string;
891
+ cityOrTown?: string | null | undefined;
892
+ addressLine1?: string | null | undefined;
893
+ addressLine2?: string | null | undefined;
894
+ addressLine3?: string | null | undefined;
895
+ postcodeOrZip?: string | null | undefined;
682
896
  } | {
683
897
  type: string;
684
898
  option: string;
685
899
  filename: string;
686
900
  originalFilename: string;
687
901
  }[]> | undefined;
688
- incomplete?: boolean | undefined;
689
902
  }>;
690
903
  export type Draft = z.infer<typeof Draft>;
691
904
  export type DraftInput = z.infer<typeof DraftInput>;