@opencrvs/toolkit 1.8.0-rc.fbb7263 → 1.8.0-rc.fd16d13

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.
@@ -18,7 +18,7 @@ export declare const ActionType: {
18
18
  readonly CUSTOM: "CUSTOM";
19
19
  readonly REJECT: "REJECT";
20
20
  readonly MARKED_AS_DUPLICATE: "MARKED_AS_DUPLICATE";
21
- readonly ARCHIVED: "ARCHIVED";
21
+ readonly ARCHIVE: "ARCHIVE";
22
22
  };
23
23
  export type ActionType = (typeof ActionType)[keyof typeof ActionType];
24
24
  //# sourceMappingURL=ActionType.d.ts.map
@@ -21,7 +21,7 @@ export declare const FileFieldValue: z.ZodObject<{
21
21
  }>;
22
22
  export type FileFieldValue = z.infer<typeof FileFieldValue>;
23
23
  export declare const UrbanAddressValue: z.ZodObject<z.objectUtil.extendShape<{
24
- country: z.ZodString;
24
+ country: z.ZodLiteral<string>;
25
25
  province: z.ZodString;
26
26
  district: z.ZodString;
27
27
  }, {
@@ -53,7 +53,7 @@ export declare const UrbanAddressValue: z.ZodObject<z.objectUtil.extendShape<{
53
53
  zipCode?: string | undefined;
54
54
  }>;
55
55
  export declare const RuralAddressValue: z.ZodObject<z.objectUtil.extendShape<{
56
- country: z.ZodString;
56
+ country: z.ZodLiteral<string>;
57
57
  province: z.ZodString;
58
58
  district: z.ZodString;
59
59
  }, {
@@ -73,7 +73,7 @@ export declare const RuralAddressValue: z.ZodObject<z.objectUtil.extendShape<{
73
73
  village?: string | undefined;
74
74
  }>;
75
75
  export declare const UrbanAddressUpdateValue: z.ZodObject<z.objectUtil.extendShape<{
76
- country: z.ZodString;
76
+ country: z.ZodLiteral<string>;
77
77
  province: z.ZodString;
78
78
  district: z.ZodString;
79
79
  }, {
@@ -105,7 +105,7 @@ export declare const UrbanAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
105
105
  zipCode?: string | null | undefined;
106
106
  }>;
107
107
  export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendShape<{
108
- country: z.ZodString;
108
+ country: z.ZodLiteral<string>;
109
109
  province: z.ZodString;
110
110
  district: z.ZodString;
111
111
  }, {
@@ -124,8 +124,36 @@ export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
124
124
  urbanOrRural: "RURAL";
125
125
  village?: string | null | undefined;
126
126
  }>;
127
- export declare const AddressFieldValue: z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
128
- country: z.ZodString;
127
+ export declare const GenericAddressValue: z.ZodObject<{
128
+ country: z.ZodEffects<z.ZodString, string, string>;
129
+ state: z.ZodString;
130
+ district2: z.ZodString;
131
+ cityOrTown: z.ZodOptional<z.ZodString>;
132
+ addressLine1: z.ZodOptional<z.ZodString>;
133
+ addressLine2: z.ZodOptional<z.ZodString>;
134
+ addressLine3: z.ZodOptional<z.ZodString>;
135
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ country: string;
138
+ state: string;
139
+ district2: string;
140
+ cityOrTown?: string | undefined;
141
+ addressLine1?: string | undefined;
142
+ addressLine2?: string | undefined;
143
+ addressLine3?: string | undefined;
144
+ postcodeOrZip?: string | undefined;
145
+ }, {
146
+ country: string;
147
+ state: string;
148
+ district2: string;
149
+ cityOrTown?: string | undefined;
150
+ addressLine1?: string | undefined;
151
+ addressLine2?: string | undefined;
152
+ addressLine3?: string | undefined;
153
+ postcodeOrZip?: string | undefined;
154
+ }>;
155
+ export declare const AddressFieldValue: z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
156
+ country: z.ZodLiteral<string>;
129
157
  province: z.ZodString;
130
158
  district: z.ZodString;
131
159
  }, {
@@ -156,7 +184,7 @@ export declare const AddressFieldValue: z.ZodDiscriminatedUnion<"urbanOrRural",
156
184
  street?: string | undefined;
157
185
  zipCode?: string | undefined;
158
186
  }>, z.ZodObject<z.objectUtil.extendShape<{
159
- country: z.ZodString;
187
+ country: z.ZodLiteral<string>;
160
188
  province: z.ZodString;
161
189
  district: z.ZodString;
162
190
  }, {
@@ -174,9 +202,64 @@ export declare const AddressFieldValue: z.ZodDiscriminatedUnion<"urbanOrRural",
174
202
  province: string;
175
203
  urbanOrRural: "RURAL";
176
204
  village?: string | undefined;
205
+ }>]>, z.ZodObject<{
206
+ country: z.ZodEffects<z.ZodString, string, string>;
207
+ state: z.ZodString;
208
+ district2: z.ZodString;
209
+ cityOrTown: z.ZodOptional<z.ZodString>;
210
+ addressLine1: z.ZodOptional<z.ZodString>;
211
+ addressLine2: z.ZodOptional<z.ZodString>;
212
+ addressLine3: z.ZodOptional<z.ZodString>;
213
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ country: string;
216
+ state: string;
217
+ district2: string;
218
+ cityOrTown?: string | undefined;
219
+ addressLine1?: string | undefined;
220
+ addressLine2?: string | undefined;
221
+ addressLine3?: string | undefined;
222
+ postcodeOrZip?: string | undefined;
223
+ }, {
224
+ country: string;
225
+ state: string;
226
+ district2: string;
227
+ cityOrTown?: string | undefined;
228
+ addressLine1?: string | undefined;
229
+ addressLine2?: string | undefined;
230
+ addressLine3?: string | undefined;
231
+ postcodeOrZip?: string | undefined;
177
232
  }>]>;
178
- export declare const AddressFieldUpdateValue: z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
179
- country: z.ZodString;
233
+ export declare const GenericAddressUpdateValue: z.ZodObject<{
234
+ country: z.ZodEffects<z.ZodString, string, string>;
235
+ state: z.ZodString;
236
+ district2: z.ZodString;
237
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ country: string;
244
+ state: string;
245
+ district2: string;
246
+ cityOrTown?: string | null | undefined;
247
+ addressLine1?: string | null | undefined;
248
+ addressLine2?: string | null | undefined;
249
+ addressLine3?: string | null | undefined;
250
+ postcodeOrZip?: string | null | undefined;
251
+ }, {
252
+ country: string;
253
+ state: string;
254
+ district2: string;
255
+ cityOrTown?: string | null | undefined;
256
+ addressLine1?: string | null | undefined;
257
+ addressLine2?: string | null | undefined;
258
+ addressLine3?: string | null | undefined;
259
+ postcodeOrZip?: string | null | undefined;
260
+ }>;
261
+ export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
262
+ country: z.ZodLiteral<string>;
180
263
  province: z.ZodString;
181
264
  district: z.ZodString;
182
265
  }, {
@@ -207,7 +290,7 @@ export declare const AddressFieldUpdateValue: z.ZodDiscriminatedUnion<"urbanOrRu
207
290
  street?: string | null | undefined;
208
291
  zipCode?: string | null | undefined;
209
292
  }>, z.ZodObject<z.objectUtil.extendShape<{
210
- country: z.ZodString;
293
+ country: z.ZodLiteral<string>;
211
294
  province: z.ZodString;
212
295
  district: z.ZodString;
213
296
  }, {
@@ -225,6 +308,33 @@ export declare const AddressFieldUpdateValue: z.ZodDiscriminatedUnion<"urbanOrRu
225
308
  province: string;
226
309
  urbanOrRural: "RURAL";
227
310
  village?: string | null | undefined;
311
+ }>]>, z.ZodObject<{
312
+ country: z.ZodEffects<z.ZodString, string, string>;
313
+ state: z.ZodString;
314
+ district2: z.ZodString;
315
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
+ }, "strip", z.ZodTypeAny, {
321
+ country: string;
322
+ state: string;
323
+ district2: string;
324
+ cityOrTown?: string | null | undefined;
325
+ addressLine1?: string | null | undefined;
326
+ addressLine2?: string | null | undefined;
327
+ addressLine3?: string | null | undefined;
328
+ postcodeOrZip?: string | null | undefined;
329
+ }, {
330
+ country: string;
331
+ state: string;
332
+ district2: string;
333
+ cityOrTown?: string | null | undefined;
334
+ addressLine1?: string | null | undefined;
335
+ addressLine2?: string | null | undefined;
336
+ addressLine3?: string | null | undefined;
337
+ postcodeOrZip?: string | null | undefined;
228
338
  }>]>;
229
339
  export type AddressFieldValue = z.infer<typeof AddressFieldValue>;
230
340
  export declare const FileFieldValueWithOption: z.ZodObject<{
@@ -37,7 +37,7 @@ export declare const Draft: z.ZodObject<{
37
37
  filename: string;
38
38
  originalFilename: string;
39
39
  }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
40
- country: z.ZodString;
40
+ country: z.ZodLiteral<string>;
41
41
  province: z.ZodString;
42
42
  district: z.ZodString;
43
43
  }, {
@@ -68,7 +68,7 @@ export declare const Draft: z.ZodObject<{
68
68
  street?: string | null | undefined;
69
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
  }, {
@@ -86,6 +86,33 @@ export declare const Draft: z.ZodObject<{
86
86
  province: string;
87
87
  urbanOrRural: "RURAL";
88
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
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;
@@ -115,7 +142,7 @@ export declare const Draft: z.ZodObject<{
115
142
  filename: string;
116
143
  originalFilename: string;
117
144
  }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
118
- country: z.ZodString;
145
+ country: z.ZodLiteral<string>;
119
146
  province: z.ZodString;
120
147
  district: z.ZodString;
121
148
  }, {
@@ -146,7 +173,7 @@ export declare const Draft: z.ZodObject<{
146
173
  street?: string | null | undefined;
147
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
  }, {
@@ -164,6 +191,33 @@ export declare const Draft: z.ZodObject<{
164
191
  province: string;
165
192
  urbanOrRural: "RURAL";
166
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
  }, {
@@ -190,6 +244,15 @@ export declare const Draft: z.ZodObject<{
190
244
  province: string;
191
245
  urbanOrRural: "RURAL";
192
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;
@@ -219,6 +282,15 @@ export declare const Draft: z.ZodObject<{
219
282
  province: string;
220
283
  urbanOrRural: "RURAL";
221
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;
@@ -247,6 +319,15 @@ export declare const Draft: z.ZodObject<{
247
319
  province: string;
248
320
  urbanOrRural: "RURAL";
249
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;
@@ -276,6 +357,15 @@ export declare const Draft: z.ZodObject<{
276
357
  province: string;
277
358
  urbanOrRural: "RURAL";
278
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;
@@ -310,6 +400,15 @@ export declare const Draft: z.ZodObject<{
310
400
  province: string;
311
401
  urbanOrRural: "RURAL";
312
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;
@@ -339,6 +438,15 @@ export declare const Draft: z.ZodObject<{
339
438
  province: string;
340
439
  urbanOrRural: "RURAL";
341
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;
@@ -373,6 +481,15 @@ export declare const Draft: z.ZodObject<{
373
481
  province: string;
374
482
  urbanOrRural: "RURAL";
375
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;
@@ -402,6 +519,15 @@ export declare const Draft: z.ZodObject<{
402
519
  province: string;
403
520
  urbanOrRural: "RURAL";
404
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;
@@ -441,7 +567,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
441
567
  filename: string;
442
568
  originalFilename: string;
443
569
  }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
444
- country: z.ZodString;
570
+ country: z.ZodLiteral<string>;
445
571
  province: z.ZodString;
446
572
  district: z.ZodString;
447
573
  }, {
@@ -472,7 +598,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
472
598
  street?: string | null | undefined;
473
599
  zipCode?: string | null | undefined;
474
600
  }>, z.ZodObject<z.objectUtil.extendShape<{
475
- country: z.ZodString;
601
+ country: z.ZodLiteral<string>;
476
602
  province: z.ZodString;
477
603
  district: z.ZodString;
478
604
  }, {
@@ -490,6 +616,33 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
490
616
  province: string;
491
617
  urbanOrRural: "RURAL";
492
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;
493
646
  }>]>>;
494
647
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
495
648
  filename: z.ZodString;
@@ -519,7 +672,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
519
672
  filename: string;
520
673
  originalFilename: string;
521
674
  }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
522
- country: z.ZodString;
675
+ country: z.ZodLiteral<string>;
523
676
  province: z.ZodString;
524
677
  district: z.ZodString;
525
678
  }, {
@@ -550,7 +703,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
550
703
  street?: string | null | undefined;
551
704
  zipCode?: string | null | undefined;
552
705
  }>, z.ZodObject<z.objectUtil.extendShape<{
553
- country: z.ZodString;
706
+ country: z.ZodLiteral<string>;
554
707
  province: z.ZodString;
555
708
  district: z.ZodString;
556
709
  }, {
@@ -568,6 +721,33 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
568
721
  province: string;
569
722
  urbanOrRural: "RURAL";
570
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;
571
751
  }>]>>>;
572
752
  }, {
573
753
  type: z.ZodEnum<[ActionType, ...ActionType[]]>;
@@ -593,6 +773,15 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
593
773
  province: string;
594
774
  urbanOrRural: "RURAL";
595
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;
596
785
  } | {
597
786
  type: string;
598
787
  option: string;
@@ -621,6 +810,15 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
621
810
  province: string;
622
811
  urbanOrRural: "RURAL";
623
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;
624
822
  } | {
625
823
  type: string;
626
824
  option: string;
@@ -649,6 +847,15 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
649
847
  province: string;
650
848
  urbanOrRural: "RURAL";
651
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;
652
859
  } | {
653
860
  type: string;
654
861
  option: string;
@@ -677,6 +884,15 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
677
884
  province: string;
678
885
  urbanOrRural: "RURAL";
679
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;
680
896
  } | {
681
897
  type: string;
682
898
  option: string;