@opencrvs/toolkit 1.8.0-rc.fc43738 → 1.8.0-rc.fca3e39
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.
- package/dist/commons/api/router.d.ts +7518 -2532
- package/dist/commons/conditionals/conditionals.d.ts +3 -2
- package/dist/commons/conditionals/validate-address.test.d.ts +2 -0
- package/dist/commons/conditionals/validate.d.ts +33 -6
- package/dist/commons/conditionals/validate.test.d.ts +2 -0
- package/dist/commons/events/ActionConfig.d.ts +6 -24
- package/dist/commons/events/ActionDocument.d.ts +3196 -1113
- package/dist/commons/events/ActionInput.d.ts +4796 -1760
- package/dist/commons/events/ActionType.d.ts +6 -1
- package/dist/commons/events/CompositeFieldValue.d.ts +414 -0
- package/dist/commons/events/Draft.d.ts +440 -155
- package/dist/commons/events/EventConfig.d.ts +4 -28
- package/dist/commons/events/EventDocument.d.ts +3845 -1325
- package/dist/commons/events/EventIndex.d.ts +3 -3
- package/dist/commons/events/EventMetadata.d.ts +3 -3
- package/dist/commons/events/FieldConfig.d.ts +64 -1
- package/dist/commons/events/FieldType.d.ts +4 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +252 -38
- package/dist/commons/events/FieldValue.d.ts +133 -64
- package/dist/commons/events/TemplateConfig.d.ts +38 -0
- package/dist/commons/events/defineConfig.d.ts +1 -7
- package/dist/commons/events/index.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +219 -69
- package/dist/commons/events/utils.d.ts +123 -3
- package/dist/conditionals/index.js +17 -0
- package/dist/events/index.js +780 -487
- package/package.json +1 -1
@@ -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,94 @@ export declare const Draft: z.ZodObject<{
|
|
36
36
|
option: string;
|
37
37
|
filename: string;
|
38
38
|
originalFilename: string;
|
39
|
-
}>, "many">, z.
|
39
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
40
40
|
country: z.ZodString;
|
41
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
41
42
|
province: z.ZodString;
|
42
43
|
district: z.ZodString;
|
43
44
|
}, {
|
44
45
|
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
|
46
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
47
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
48
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
49
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
50
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
50
51
|
}>, "strip", z.ZodTypeAny, {
|
51
52
|
country: string;
|
52
53
|
district: string;
|
54
|
+
addressType: "DOMESTIC";
|
53
55
|
province: string;
|
54
56
|
urbanOrRural: "URBAN";
|
55
|
-
number?: string | undefined;
|
56
|
-
town?: string | undefined;
|
57
|
-
residentialArea?: string | undefined;
|
58
|
-
street?: string | undefined;
|
59
|
-
zipCode?: string | undefined;
|
57
|
+
number?: string | null | undefined;
|
58
|
+
town?: string | null | undefined;
|
59
|
+
residentialArea?: string | null | undefined;
|
60
|
+
street?: string | null | undefined;
|
61
|
+
zipCode?: string | null | undefined;
|
60
62
|
}, {
|
61
63
|
country: string;
|
62
64
|
district: string;
|
65
|
+
addressType: "DOMESTIC";
|
63
66
|
province: string;
|
64
67
|
urbanOrRural: "URBAN";
|
65
|
-
number?: string | undefined;
|
66
|
-
town?: string | undefined;
|
67
|
-
residentialArea?: string | undefined;
|
68
|
-
street?: string | undefined;
|
69
|
-
zipCode?: string | undefined;
|
68
|
+
number?: string | null | undefined;
|
69
|
+
town?: string | null | undefined;
|
70
|
+
residentialArea?: string | null | undefined;
|
71
|
+
street?: string | null | undefined;
|
72
|
+
zipCode?: string | null | undefined;
|
70
73
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
71
74
|
country: z.ZodString;
|
75
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
72
76
|
province: z.ZodString;
|
73
77
|
district: z.ZodString;
|
74
78
|
}, {
|
75
79
|
urbanOrRural: z.ZodLiteral<"RURAL">;
|
76
|
-
village: z.ZodOptional<z.ZodString
|
80
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
77
81
|
}>, "strip", z.ZodTypeAny, {
|
78
82
|
country: string;
|
79
83
|
district: string;
|
84
|
+
addressType: "DOMESTIC";
|
80
85
|
province: string;
|
81
86
|
urbanOrRural: "RURAL";
|
82
|
-
village?: string | undefined;
|
87
|
+
village?: string | null | undefined;
|
83
88
|
}, {
|
84
89
|
country: string;
|
85
90
|
district: string;
|
91
|
+
addressType: "DOMESTIC";
|
86
92
|
province: string;
|
87
93
|
urbanOrRural: "RURAL";
|
88
|
-
village?: string | undefined;
|
94
|
+
village?: string | null | undefined;
|
95
|
+
}>, z.ZodObject<{
|
96
|
+
country: z.ZodString;
|
97
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
98
|
+
state: z.ZodString;
|
99
|
+
district2: z.ZodString;
|
100
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
101
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
102
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
103
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
104
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
106
|
+
country: string;
|
107
|
+
state: string;
|
108
|
+
addressType: "INTERNATIONAL";
|
109
|
+
district2: string;
|
110
|
+
cityOrTown?: string | null | undefined;
|
111
|
+
addressLine1?: string | null | undefined;
|
112
|
+
addressLine2?: string | null | undefined;
|
113
|
+
addressLine3?: string | null | undefined;
|
114
|
+
postcodeOrZip?: string | null | undefined;
|
115
|
+
}, {
|
116
|
+
country: string;
|
117
|
+
state: string;
|
118
|
+
addressType: "INTERNATIONAL";
|
119
|
+
district2: string;
|
120
|
+
cityOrTown?: string | null | undefined;
|
121
|
+
addressLine1?: string | null | undefined;
|
122
|
+
addressLine2?: string | null | undefined;
|
123
|
+
addressLine3?: string | null | undefined;
|
124
|
+
postcodeOrZip?: string | null | undefined;
|
89
125
|
}>]>>;
|
90
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodObject<{
|
126
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
91
127
|
filename: z.ZodString;
|
92
128
|
originalFilename: z.ZodString;
|
93
129
|
type: z.ZodString;
|
@@ -114,56 +150,92 @@ export declare const Draft: z.ZodObject<{
|
|
114
150
|
option: string;
|
115
151
|
filename: string;
|
116
152
|
originalFilename: string;
|
117
|
-
}>, "many">, z.
|
153
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
118
154
|
country: z.ZodString;
|
155
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
119
156
|
province: z.ZodString;
|
120
157
|
district: z.ZodString;
|
121
158
|
}, {
|
122
159
|
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
|
160
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
161
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
163
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
164
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
128
165
|
}>, "strip", z.ZodTypeAny, {
|
129
166
|
country: string;
|
130
167
|
district: string;
|
168
|
+
addressType: "DOMESTIC";
|
131
169
|
province: string;
|
132
170
|
urbanOrRural: "URBAN";
|
133
|
-
number?: string | undefined;
|
134
|
-
town?: string | undefined;
|
135
|
-
residentialArea?: string | undefined;
|
136
|
-
street?: string | undefined;
|
137
|
-
zipCode?: string | undefined;
|
171
|
+
number?: string | null | undefined;
|
172
|
+
town?: string | null | undefined;
|
173
|
+
residentialArea?: string | null | undefined;
|
174
|
+
street?: string | null | undefined;
|
175
|
+
zipCode?: string | null | undefined;
|
138
176
|
}, {
|
139
177
|
country: string;
|
140
178
|
district: string;
|
179
|
+
addressType: "DOMESTIC";
|
141
180
|
province: string;
|
142
181
|
urbanOrRural: "URBAN";
|
143
|
-
number?: string | undefined;
|
144
|
-
town?: string | undefined;
|
145
|
-
residentialArea?: string | undefined;
|
146
|
-
street?: string | undefined;
|
147
|
-
zipCode?: string | undefined;
|
182
|
+
number?: string | null | undefined;
|
183
|
+
town?: string | null | undefined;
|
184
|
+
residentialArea?: string | null | undefined;
|
185
|
+
street?: string | null | undefined;
|
186
|
+
zipCode?: string | null | undefined;
|
148
187
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
149
188
|
country: z.ZodString;
|
189
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
150
190
|
province: z.ZodString;
|
151
191
|
district: z.ZodString;
|
152
192
|
}, {
|
153
193
|
urbanOrRural: z.ZodLiteral<"RURAL">;
|
154
|
-
village: z.ZodOptional<z.ZodString
|
194
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
155
195
|
}>, "strip", z.ZodTypeAny, {
|
156
196
|
country: string;
|
157
197
|
district: string;
|
198
|
+
addressType: "DOMESTIC";
|
158
199
|
province: string;
|
159
200
|
urbanOrRural: "RURAL";
|
160
|
-
village?: string | undefined;
|
201
|
+
village?: string | null | undefined;
|
161
202
|
}, {
|
162
203
|
country: string;
|
163
204
|
district: string;
|
205
|
+
addressType: "DOMESTIC";
|
164
206
|
province: string;
|
165
207
|
urbanOrRural: "RURAL";
|
166
|
-
village?: string | undefined;
|
208
|
+
village?: string | null | undefined;
|
209
|
+
}>, z.ZodObject<{
|
210
|
+
country: z.ZodString;
|
211
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
212
|
+
state: z.ZodString;
|
213
|
+
district2: z.ZodString;
|
214
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
215
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
216
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
217
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
218
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
220
|
+
country: string;
|
221
|
+
state: string;
|
222
|
+
addressType: "INTERNATIONAL";
|
223
|
+
district2: string;
|
224
|
+
cityOrTown?: string | null | undefined;
|
225
|
+
addressLine1?: string | null | undefined;
|
226
|
+
addressLine2?: string | null | undefined;
|
227
|
+
addressLine3?: string | null | undefined;
|
228
|
+
postcodeOrZip?: string | null | undefined;
|
229
|
+
}, {
|
230
|
+
country: string;
|
231
|
+
state: string;
|
232
|
+
addressType: "INTERNATIONAL";
|
233
|
+
district2: string;
|
234
|
+
cityOrTown?: string | null | undefined;
|
235
|
+
addressLine1?: string | null | undefined;
|
236
|
+
addressLine2?: string | null | undefined;
|
237
|
+
addressLine3?: string | null | undefined;
|
238
|
+
postcodeOrZip?: string | null | undefined;
|
167
239
|
}>]>>>;
|
168
240
|
createdAtLocation: z.ZodString;
|
169
241
|
}, {
|
@@ -177,19 +249,31 @@ export declare const Draft: z.ZodObject<{
|
|
177
249
|
} | {
|
178
250
|
country: string;
|
179
251
|
district: string;
|
252
|
+
addressType: "DOMESTIC";
|
180
253
|
province: string;
|
181
254
|
urbanOrRural: "URBAN";
|
182
|
-
number?: string | undefined;
|
183
|
-
town?: string | undefined;
|
184
|
-
residentialArea?: string | undefined;
|
185
|
-
street?: string | undefined;
|
186
|
-
zipCode?: string | undefined;
|
255
|
+
number?: string | null | undefined;
|
256
|
+
town?: string | null | undefined;
|
257
|
+
residentialArea?: string | null | undefined;
|
258
|
+
street?: string | null | undefined;
|
259
|
+
zipCode?: string | null | undefined;
|
187
260
|
} | {
|
188
261
|
country: string;
|
189
262
|
district: string;
|
263
|
+
addressType: "DOMESTIC";
|
190
264
|
province: string;
|
191
265
|
urbanOrRural: "RURAL";
|
192
|
-
village?: string | undefined;
|
266
|
+
village?: string | null | undefined;
|
267
|
+
} | {
|
268
|
+
country: string;
|
269
|
+
state: string;
|
270
|
+
addressType: "INTERNATIONAL";
|
271
|
+
district2: string;
|
272
|
+
cityOrTown?: string | null | undefined;
|
273
|
+
addressLine1?: string | null | undefined;
|
274
|
+
addressLine2?: string | null | undefined;
|
275
|
+
addressLine3?: string | null | undefined;
|
276
|
+
postcodeOrZip?: string | null | undefined;
|
193
277
|
} | {
|
194
278
|
type: string;
|
195
279
|
option: string;
|
@@ -206,19 +290,31 @@ export declare const Draft: z.ZodObject<{
|
|
206
290
|
} | {
|
207
291
|
country: string;
|
208
292
|
district: string;
|
293
|
+
addressType: "DOMESTIC";
|
209
294
|
province: string;
|
210
295
|
urbanOrRural: "URBAN";
|
211
|
-
number?: string | undefined;
|
212
|
-
town?: string | undefined;
|
213
|
-
residentialArea?: string | undefined;
|
214
|
-
street?: string | undefined;
|
215
|
-
zipCode?: string | undefined;
|
296
|
+
number?: string | null | undefined;
|
297
|
+
town?: string | null | undefined;
|
298
|
+
residentialArea?: string | null | undefined;
|
299
|
+
street?: string | null | undefined;
|
300
|
+
zipCode?: string | null | undefined;
|
216
301
|
} | {
|
217
302
|
country: string;
|
218
303
|
district: string;
|
304
|
+
addressType: "DOMESTIC";
|
219
305
|
province: string;
|
220
306
|
urbanOrRural: "RURAL";
|
221
|
-
village?: string | undefined;
|
307
|
+
village?: string | null | undefined;
|
308
|
+
} | {
|
309
|
+
country: string;
|
310
|
+
state: string;
|
311
|
+
addressType: "INTERNATIONAL";
|
312
|
+
district2: string;
|
313
|
+
cityOrTown?: string | null | undefined;
|
314
|
+
addressLine1?: string | null | undefined;
|
315
|
+
addressLine2?: string | null | undefined;
|
316
|
+
addressLine3?: string | null | undefined;
|
317
|
+
postcodeOrZip?: string | null | undefined;
|
222
318
|
} | {
|
223
319
|
type: string;
|
224
320
|
option: string;
|
@@ -234,19 +330,31 @@ export declare const Draft: z.ZodObject<{
|
|
234
330
|
} | {
|
235
331
|
country: string;
|
236
332
|
district: string;
|
333
|
+
addressType: "DOMESTIC";
|
237
334
|
province: string;
|
238
335
|
urbanOrRural: "URBAN";
|
239
|
-
number?: string | undefined;
|
240
|
-
town?: string | undefined;
|
241
|
-
residentialArea?: string | undefined;
|
242
|
-
street?: string | undefined;
|
243
|
-
zipCode?: string | undefined;
|
336
|
+
number?: string | null | undefined;
|
337
|
+
town?: string | null | undefined;
|
338
|
+
residentialArea?: string | null | undefined;
|
339
|
+
street?: string | null | undefined;
|
340
|
+
zipCode?: string | null | undefined;
|
244
341
|
} | {
|
245
342
|
country: string;
|
246
343
|
district: string;
|
344
|
+
addressType: "DOMESTIC";
|
247
345
|
province: string;
|
248
346
|
urbanOrRural: "RURAL";
|
249
|
-
village?: string | undefined;
|
347
|
+
village?: string | null | undefined;
|
348
|
+
} | {
|
349
|
+
country: string;
|
350
|
+
state: string;
|
351
|
+
addressType: "INTERNATIONAL";
|
352
|
+
district2: string;
|
353
|
+
cityOrTown?: string | null | undefined;
|
354
|
+
addressLine1?: string | null | undefined;
|
355
|
+
addressLine2?: string | null | undefined;
|
356
|
+
addressLine3?: string | null | undefined;
|
357
|
+
postcodeOrZip?: string | null | undefined;
|
250
358
|
} | {
|
251
359
|
type: string;
|
252
360
|
option: string;
|
@@ -263,19 +371,31 @@ export declare const Draft: z.ZodObject<{
|
|
263
371
|
} | {
|
264
372
|
country: string;
|
265
373
|
district: string;
|
374
|
+
addressType: "DOMESTIC";
|
266
375
|
province: string;
|
267
376
|
urbanOrRural: "URBAN";
|
268
|
-
number?: string | undefined;
|
269
|
-
town?: string | undefined;
|
270
|
-
residentialArea?: string | undefined;
|
271
|
-
street?: string | undefined;
|
272
|
-
zipCode?: string | undefined;
|
377
|
+
number?: string | null | undefined;
|
378
|
+
town?: string | null | undefined;
|
379
|
+
residentialArea?: string | null | undefined;
|
380
|
+
street?: string | null | undefined;
|
381
|
+
zipCode?: string | null | undefined;
|
273
382
|
} | {
|
274
383
|
country: string;
|
275
384
|
district: string;
|
385
|
+
addressType: "DOMESTIC";
|
276
386
|
province: string;
|
277
387
|
urbanOrRural: "RURAL";
|
278
|
-
village?: string | undefined;
|
388
|
+
village?: string | null | undefined;
|
389
|
+
} | {
|
390
|
+
country: string;
|
391
|
+
state: string;
|
392
|
+
addressType: "INTERNATIONAL";
|
393
|
+
district2: string;
|
394
|
+
cityOrTown?: string | null | undefined;
|
395
|
+
addressLine1?: string | null | undefined;
|
396
|
+
addressLine2?: string | null | undefined;
|
397
|
+
addressLine3?: string | null | undefined;
|
398
|
+
postcodeOrZip?: string | null | undefined;
|
279
399
|
} | {
|
280
400
|
type: string;
|
281
401
|
option: string;
|
@@ -297,19 +417,31 @@ export declare const Draft: z.ZodObject<{
|
|
297
417
|
} | {
|
298
418
|
country: string;
|
299
419
|
district: string;
|
420
|
+
addressType: "DOMESTIC";
|
300
421
|
province: string;
|
301
422
|
urbanOrRural: "URBAN";
|
302
|
-
number?: string | undefined;
|
303
|
-
town?: string | undefined;
|
304
|
-
residentialArea?: string | undefined;
|
305
|
-
street?: string | undefined;
|
306
|
-
zipCode?: string | undefined;
|
423
|
+
number?: string | null | undefined;
|
424
|
+
town?: string | null | undefined;
|
425
|
+
residentialArea?: string | null | undefined;
|
426
|
+
street?: string | null | undefined;
|
427
|
+
zipCode?: string | null | undefined;
|
307
428
|
} | {
|
308
429
|
country: string;
|
309
430
|
district: string;
|
431
|
+
addressType: "DOMESTIC";
|
310
432
|
province: string;
|
311
433
|
urbanOrRural: "RURAL";
|
312
|
-
village?: string | undefined;
|
434
|
+
village?: string | null | undefined;
|
435
|
+
} | {
|
436
|
+
country: string;
|
437
|
+
state: string;
|
438
|
+
addressType: "INTERNATIONAL";
|
439
|
+
district2: string;
|
440
|
+
cityOrTown?: string | null | undefined;
|
441
|
+
addressLine1?: string | null | undefined;
|
442
|
+
addressLine2?: string | null | undefined;
|
443
|
+
addressLine3?: string | null | undefined;
|
444
|
+
postcodeOrZip?: string | null | undefined;
|
313
445
|
} | {
|
314
446
|
type: string;
|
315
447
|
option: string;
|
@@ -326,19 +458,31 @@ export declare const Draft: z.ZodObject<{
|
|
326
458
|
} | {
|
327
459
|
country: string;
|
328
460
|
district: string;
|
461
|
+
addressType: "DOMESTIC";
|
329
462
|
province: string;
|
330
463
|
urbanOrRural: "URBAN";
|
331
|
-
number?: string | undefined;
|
332
|
-
town?: string | undefined;
|
333
|
-
residentialArea?: string | undefined;
|
334
|
-
street?: string | undefined;
|
335
|
-
zipCode?: string | undefined;
|
464
|
+
number?: string | null | undefined;
|
465
|
+
town?: string | null | undefined;
|
466
|
+
residentialArea?: string | null | undefined;
|
467
|
+
street?: string | null | undefined;
|
468
|
+
zipCode?: string | null | undefined;
|
336
469
|
} | {
|
337
470
|
country: string;
|
338
471
|
district: string;
|
472
|
+
addressType: "DOMESTIC";
|
339
473
|
province: string;
|
340
474
|
urbanOrRural: "RURAL";
|
341
|
-
village?: string | undefined;
|
475
|
+
village?: string | null | undefined;
|
476
|
+
} | {
|
477
|
+
country: string;
|
478
|
+
state: string;
|
479
|
+
addressType: "INTERNATIONAL";
|
480
|
+
district2: string;
|
481
|
+
cityOrTown?: string | null | undefined;
|
482
|
+
addressLine1?: string | null | undefined;
|
483
|
+
addressLine2?: string | null | undefined;
|
484
|
+
addressLine3?: string | null | undefined;
|
485
|
+
postcodeOrZip?: string | null | undefined;
|
342
486
|
} | {
|
343
487
|
type: string;
|
344
488
|
option: string;
|
@@ -360,19 +504,31 @@ export declare const Draft: z.ZodObject<{
|
|
360
504
|
} | {
|
361
505
|
country: string;
|
362
506
|
district: string;
|
507
|
+
addressType: "DOMESTIC";
|
363
508
|
province: string;
|
364
509
|
urbanOrRural: "URBAN";
|
365
|
-
number?: string | undefined;
|
366
|
-
town?: string | undefined;
|
367
|
-
residentialArea?: string | undefined;
|
368
|
-
street?: string | undefined;
|
369
|
-
zipCode?: string | undefined;
|
510
|
+
number?: string | null | undefined;
|
511
|
+
town?: string | null | undefined;
|
512
|
+
residentialArea?: string | null | undefined;
|
513
|
+
street?: string | null | undefined;
|
514
|
+
zipCode?: string | null | undefined;
|
370
515
|
} | {
|
371
516
|
country: string;
|
372
517
|
district: string;
|
518
|
+
addressType: "DOMESTIC";
|
373
519
|
province: string;
|
374
520
|
urbanOrRural: "RURAL";
|
375
|
-
village?: string | undefined;
|
521
|
+
village?: string | null | undefined;
|
522
|
+
} | {
|
523
|
+
country: string;
|
524
|
+
state: string;
|
525
|
+
addressType: "INTERNATIONAL";
|
526
|
+
district2: string;
|
527
|
+
cityOrTown?: string | null | undefined;
|
528
|
+
addressLine1?: string | null | undefined;
|
529
|
+
addressLine2?: string | null | undefined;
|
530
|
+
addressLine3?: string | null | undefined;
|
531
|
+
postcodeOrZip?: string | null | undefined;
|
376
532
|
} | {
|
377
533
|
type: string;
|
378
534
|
option: string;
|
@@ -389,19 +545,31 @@ export declare const Draft: z.ZodObject<{
|
|
389
545
|
} | {
|
390
546
|
country: string;
|
391
547
|
district: string;
|
548
|
+
addressType: "DOMESTIC";
|
392
549
|
province: string;
|
393
550
|
urbanOrRural: "URBAN";
|
394
|
-
number?: string | undefined;
|
395
|
-
town?: string | undefined;
|
396
|
-
residentialArea?: string | undefined;
|
397
|
-
street?: string | undefined;
|
398
|
-
zipCode?: string | undefined;
|
551
|
+
number?: string | null | undefined;
|
552
|
+
town?: string | null | undefined;
|
553
|
+
residentialArea?: string | null | undefined;
|
554
|
+
street?: string | null | undefined;
|
555
|
+
zipCode?: string | null | undefined;
|
399
556
|
} | {
|
400
557
|
country: string;
|
401
558
|
district: string;
|
559
|
+
addressType: "DOMESTIC";
|
402
560
|
province: string;
|
403
561
|
urbanOrRural: "RURAL";
|
404
|
-
village?: string | undefined;
|
562
|
+
village?: string | null | undefined;
|
563
|
+
} | {
|
564
|
+
country: string;
|
565
|
+
state: string;
|
566
|
+
addressType: "INTERNATIONAL";
|
567
|
+
district2: string;
|
568
|
+
cityOrTown?: string | null | undefined;
|
569
|
+
addressLine1?: string | null | undefined;
|
570
|
+
addressLine2?: string | null | undefined;
|
571
|
+
addressLine3?: string | null | undefined;
|
572
|
+
postcodeOrZip?: string | null | undefined;
|
405
573
|
} | {
|
406
574
|
type: string;
|
407
575
|
option: string;
|
@@ -413,8 +581,7 @@ export declare const Draft: z.ZodObject<{
|
|
413
581
|
export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
414
582
|
eventId: z.ZodString;
|
415
583
|
transactionId: z.ZodString;
|
416
|
-
|
417
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodObject<{
|
584
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
418
585
|
filename: z.ZodString;
|
419
586
|
originalFilename: z.ZodString;
|
420
587
|
type: z.ZodString;
|
@@ -441,58 +608,94 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
441
608
|
option: string;
|
442
609
|
filename: string;
|
443
610
|
originalFilename: string;
|
444
|
-
}>, "many">, z.
|
611
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
445
612
|
country: z.ZodString;
|
613
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
446
614
|
province: z.ZodString;
|
447
615
|
district: z.ZodString;
|
448
616
|
}, {
|
449
617
|
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
|
618
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
619
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
620
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
621
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
622
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
455
623
|
}>, "strip", z.ZodTypeAny, {
|
456
624
|
country: string;
|
457
625
|
district: string;
|
626
|
+
addressType: "DOMESTIC";
|
458
627
|
province: string;
|
459
628
|
urbanOrRural: "URBAN";
|
460
|
-
number?: string | undefined;
|
461
|
-
town?: string | undefined;
|
462
|
-
residentialArea?: string | undefined;
|
463
|
-
street?: string | undefined;
|
464
|
-
zipCode?: string | undefined;
|
629
|
+
number?: string | null | undefined;
|
630
|
+
town?: string | null | undefined;
|
631
|
+
residentialArea?: string | null | undefined;
|
632
|
+
street?: string | null | undefined;
|
633
|
+
zipCode?: string | null | undefined;
|
465
634
|
}, {
|
466
635
|
country: string;
|
467
636
|
district: string;
|
637
|
+
addressType: "DOMESTIC";
|
468
638
|
province: string;
|
469
639
|
urbanOrRural: "URBAN";
|
470
|
-
number?: string | undefined;
|
471
|
-
town?: string | undefined;
|
472
|
-
residentialArea?: string | undefined;
|
473
|
-
street?: string | undefined;
|
474
|
-
zipCode?: string | undefined;
|
640
|
+
number?: string | null | undefined;
|
641
|
+
town?: string | null | undefined;
|
642
|
+
residentialArea?: string | null | undefined;
|
643
|
+
street?: string | null | undefined;
|
644
|
+
zipCode?: string | null | undefined;
|
475
645
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
476
646
|
country: z.ZodString;
|
647
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
477
648
|
province: z.ZodString;
|
478
649
|
district: z.ZodString;
|
479
650
|
}, {
|
480
651
|
urbanOrRural: z.ZodLiteral<"RURAL">;
|
481
|
-
village: z.ZodOptional<z.ZodString
|
652
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
482
653
|
}>, "strip", z.ZodTypeAny, {
|
483
654
|
country: string;
|
484
655
|
district: string;
|
656
|
+
addressType: "DOMESTIC";
|
485
657
|
province: string;
|
486
658
|
urbanOrRural: "RURAL";
|
487
|
-
village?: string | undefined;
|
659
|
+
village?: string | null | undefined;
|
488
660
|
}, {
|
489
661
|
country: string;
|
490
662
|
district: string;
|
663
|
+
addressType: "DOMESTIC";
|
491
664
|
province: string;
|
492
665
|
urbanOrRural: "RURAL";
|
493
|
-
village?: string | undefined;
|
666
|
+
village?: string | null | undefined;
|
667
|
+
}>, z.ZodObject<{
|
668
|
+
country: z.ZodString;
|
669
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
670
|
+
state: z.ZodString;
|
671
|
+
district2: z.ZodString;
|
672
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
673
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
674
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
675
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
676
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
678
|
+
country: string;
|
679
|
+
state: string;
|
680
|
+
addressType: "INTERNATIONAL";
|
681
|
+
district2: string;
|
682
|
+
cityOrTown?: string | null | undefined;
|
683
|
+
addressLine1?: string | null | undefined;
|
684
|
+
addressLine2?: string | null | undefined;
|
685
|
+
addressLine3?: string | null | undefined;
|
686
|
+
postcodeOrZip?: string | null | undefined;
|
687
|
+
}, {
|
688
|
+
country: string;
|
689
|
+
state: string;
|
690
|
+
addressType: "INTERNATIONAL";
|
691
|
+
district2: string;
|
692
|
+
cityOrTown?: string | null | undefined;
|
693
|
+
addressLine1?: string | null | undefined;
|
694
|
+
addressLine2?: string | null | undefined;
|
695
|
+
addressLine3?: string | null | undefined;
|
696
|
+
postcodeOrZip?: string | null | undefined;
|
494
697
|
}>]>>;
|
495
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodObject<{
|
698
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
496
699
|
filename: z.ZodString;
|
497
700
|
originalFilename: z.ZodString;
|
498
701
|
type: z.ZodString;
|
@@ -519,56 +722,92 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
519
722
|
option: string;
|
520
723
|
filename: string;
|
521
724
|
originalFilename: string;
|
522
|
-
}>, "many">, z.
|
725
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
523
726
|
country: z.ZodString;
|
727
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
524
728
|
province: z.ZodString;
|
525
729
|
district: z.ZodString;
|
526
730
|
}, {
|
527
731
|
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
|
732
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
733
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
734
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
735
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
736
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
533
737
|
}>, "strip", z.ZodTypeAny, {
|
534
738
|
country: string;
|
535
739
|
district: string;
|
740
|
+
addressType: "DOMESTIC";
|
536
741
|
province: string;
|
537
742
|
urbanOrRural: "URBAN";
|
538
|
-
number?: string | undefined;
|
539
|
-
town?: string | undefined;
|
540
|
-
residentialArea?: string | undefined;
|
541
|
-
street?: string | undefined;
|
542
|
-
zipCode?: string | undefined;
|
743
|
+
number?: string | null | undefined;
|
744
|
+
town?: string | null | undefined;
|
745
|
+
residentialArea?: string | null | undefined;
|
746
|
+
street?: string | null | undefined;
|
747
|
+
zipCode?: string | null | undefined;
|
543
748
|
}, {
|
544
749
|
country: string;
|
545
750
|
district: string;
|
751
|
+
addressType: "DOMESTIC";
|
546
752
|
province: string;
|
547
753
|
urbanOrRural: "URBAN";
|
548
|
-
number?: string | undefined;
|
549
|
-
town?: string | undefined;
|
550
|
-
residentialArea?: string | undefined;
|
551
|
-
street?: string | undefined;
|
552
|
-
zipCode?: string | undefined;
|
754
|
+
number?: string | null | undefined;
|
755
|
+
town?: string | null | undefined;
|
756
|
+
residentialArea?: string | null | undefined;
|
757
|
+
street?: string | null | undefined;
|
758
|
+
zipCode?: string | null | undefined;
|
553
759
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
554
760
|
country: z.ZodString;
|
761
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
555
762
|
province: z.ZodString;
|
556
763
|
district: z.ZodString;
|
557
764
|
}, {
|
558
765
|
urbanOrRural: z.ZodLiteral<"RURAL">;
|
559
|
-
village: z.ZodOptional<z.ZodString
|
766
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
560
767
|
}>, "strip", z.ZodTypeAny, {
|
561
768
|
country: string;
|
562
769
|
district: string;
|
770
|
+
addressType: "DOMESTIC";
|
563
771
|
province: string;
|
564
772
|
urbanOrRural: "RURAL";
|
565
|
-
village?: string | undefined;
|
773
|
+
village?: string | null | undefined;
|
566
774
|
}, {
|
567
775
|
country: string;
|
568
776
|
district: string;
|
777
|
+
addressType: "DOMESTIC";
|
569
778
|
province: string;
|
570
779
|
urbanOrRural: "RURAL";
|
571
|
-
village?: string | undefined;
|
780
|
+
village?: string | null | undefined;
|
781
|
+
}>, z.ZodObject<{
|
782
|
+
country: z.ZodString;
|
783
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
784
|
+
state: z.ZodString;
|
785
|
+
district2: z.ZodString;
|
786
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
787
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
788
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
789
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
790
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
791
|
+
}, "strip", z.ZodTypeAny, {
|
792
|
+
country: string;
|
793
|
+
state: string;
|
794
|
+
addressType: "INTERNATIONAL";
|
795
|
+
district2: string;
|
796
|
+
cityOrTown?: string | null | undefined;
|
797
|
+
addressLine1?: string | null | undefined;
|
798
|
+
addressLine2?: string | null | undefined;
|
799
|
+
addressLine3?: string | null | undefined;
|
800
|
+
postcodeOrZip?: string | null | undefined;
|
801
|
+
}, {
|
802
|
+
country: string;
|
803
|
+
state: string;
|
804
|
+
addressType: "INTERNATIONAL";
|
805
|
+
district2: string;
|
806
|
+
cityOrTown?: string | null | undefined;
|
807
|
+
addressLine1?: string | null | undefined;
|
808
|
+
addressLine2?: string | null | undefined;
|
809
|
+
addressLine3?: string | null | undefined;
|
810
|
+
postcodeOrZip?: string | null | undefined;
|
572
811
|
}>]>>>;
|
573
812
|
}, {
|
574
813
|
type: z.ZodEnum<[ActionType, ...ActionType[]]>;
|
@@ -581,19 +820,31 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
581
820
|
} | {
|
582
821
|
country: string;
|
583
822
|
district: string;
|
823
|
+
addressType: "DOMESTIC";
|
584
824
|
province: string;
|
585
825
|
urbanOrRural: "URBAN";
|
586
|
-
number?: string | undefined;
|
587
|
-
town?: string | undefined;
|
588
|
-
residentialArea?: string | undefined;
|
589
|
-
street?: string | undefined;
|
590
|
-
zipCode?: string | undefined;
|
826
|
+
number?: string | null | undefined;
|
827
|
+
town?: string | null | undefined;
|
828
|
+
residentialArea?: string | null | undefined;
|
829
|
+
street?: string | null | undefined;
|
830
|
+
zipCode?: string | null | undefined;
|
591
831
|
} | {
|
592
832
|
country: string;
|
593
833
|
district: string;
|
834
|
+
addressType: "DOMESTIC";
|
594
835
|
province: string;
|
595
836
|
urbanOrRural: "RURAL";
|
596
|
-
village?: string | undefined;
|
837
|
+
village?: string | null | undefined;
|
838
|
+
} | {
|
839
|
+
country: string;
|
840
|
+
state: string;
|
841
|
+
addressType: "INTERNATIONAL";
|
842
|
+
district2: string;
|
843
|
+
cityOrTown?: string | null | undefined;
|
844
|
+
addressLine1?: string | null | undefined;
|
845
|
+
addressLine2?: string | null | undefined;
|
846
|
+
addressLine3?: string | null | undefined;
|
847
|
+
postcodeOrZip?: string | null | undefined;
|
597
848
|
} | {
|
598
849
|
type: string;
|
599
850
|
option: string;
|
@@ -602,7 +853,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
602
853
|
}[]>;
|
603
854
|
eventId: string;
|
604
855
|
transactionId: string;
|
605
|
-
incomplete: boolean;
|
606
856
|
metadata?: Record<string, string | number | boolean | {
|
607
857
|
type: string;
|
608
858
|
filename: string;
|
@@ -610,19 +860,31 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
610
860
|
} | {
|
611
861
|
country: string;
|
612
862
|
district: string;
|
863
|
+
addressType: "DOMESTIC";
|
613
864
|
province: string;
|
614
865
|
urbanOrRural: "URBAN";
|
615
|
-
number?: string | undefined;
|
616
|
-
town?: string | undefined;
|
617
|
-
residentialArea?: string | undefined;
|
618
|
-
street?: string | undefined;
|
619
|
-
zipCode?: string | undefined;
|
866
|
+
number?: string | null | undefined;
|
867
|
+
town?: string | null | undefined;
|
868
|
+
residentialArea?: string | null | undefined;
|
869
|
+
street?: string | null | undefined;
|
870
|
+
zipCode?: string | null | undefined;
|
620
871
|
} | {
|
621
872
|
country: string;
|
622
873
|
district: string;
|
874
|
+
addressType: "DOMESTIC";
|
623
875
|
province: string;
|
624
876
|
urbanOrRural: "RURAL";
|
625
|
-
village?: string | undefined;
|
877
|
+
village?: string | null | undefined;
|
878
|
+
} | {
|
879
|
+
country: string;
|
880
|
+
state: string;
|
881
|
+
addressType: "INTERNATIONAL";
|
882
|
+
district2: string;
|
883
|
+
cityOrTown?: string | null | undefined;
|
884
|
+
addressLine1?: string | null | undefined;
|
885
|
+
addressLine2?: string | null | undefined;
|
886
|
+
addressLine3?: string | null | undefined;
|
887
|
+
postcodeOrZip?: string | null | undefined;
|
626
888
|
} | {
|
627
889
|
type: string;
|
628
890
|
option: string;
|
@@ -638,19 +900,31 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
638
900
|
} | {
|
639
901
|
country: string;
|
640
902
|
district: string;
|
903
|
+
addressType: "DOMESTIC";
|
641
904
|
province: string;
|
642
905
|
urbanOrRural: "URBAN";
|
643
|
-
number?: string | undefined;
|
644
|
-
town?: string | undefined;
|
645
|
-
residentialArea?: string | undefined;
|
646
|
-
street?: string | undefined;
|
647
|
-
zipCode?: string | undefined;
|
906
|
+
number?: string | null | undefined;
|
907
|
+
town?: string | null | undefined;
|
908
|
+
residentialArea?: string | null | undefined;
|
909
|
+
street?: string | null | undefined;
|
910
|
+
zipCode?: string | null | undefined;
|
648
911
|
} | {
|
649
912
|
country: string;
|
650
913
|
district: string;
|
914
|
+
addressType: "DOMESTIC";
|
651
915
|
province: string;
|
652
916
|
urbanOrRural: "RURAL";
|
653
|
-
village?: string | undefined;
|
917
|
+
village?: string | null | undefined;
|
918
|
+
} | {
|
919
|
+
country: string;
|
920
|
+
state: string;
|
921
|
+
addressType: "INTERNATIONAL";
|
922
|
+
district2: string;
|
923
|
+
cityOrTown?: string | null | undefined;
|
924
|
+
addressLine1?: string | null | undefined;
|
925
|
+
addressLine2?: string | null | undefined;
|
926
|
+
addressLine3?: string | null | undefined;
|
927
|
+
postcodeOrZip?: string | null | undefined;
|
654
928
|
} | {
|
655
929
|
type: string;
|
656
930
|
option: string;
|
@@ -666,26 +940,37 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
666
940
|
} | {
|
667
941
|
country: string;
|
668
942
|
district: string;
|
943
|
+
addressType: "DOMESTIC";
|
669
944
|
province: string;
|
670
945
|
urbanOrRural: "URBAN";
|
671
|
-
number?: string | undefined;
|
672
|
-
town?: string | undefined;
|
673
|
-
residentialArea?: string | undefined;
|
674
|
-
street?: string | undefined;
|
675
|
-
zipCode?: string | undefined;
|
946
|
+
number?: string | null | undefined;
|
947
|
+
town?: string | null | undefined;
|
948
|
+
residentialArea?: string | null | undefined;
|
949
|
+
street?: string | null | undefined;
|
950
|
+
zipCode?: string | null | undefined;
|
676
951
|
} | {
|
677
952
|
country: string;
|
678
953
|
district: string;
|
954
|
+
addressType: "DOMESTIC";
|
679
955
|
province: string;
|
680
956
|
urbanOrRural: "RURAL";
|
681
|
-
village?: string | undefined;
|
957
|
+
village?: string | null | undefined;
|
958
|
+
} | {
|
959
|
+
country: string;
|
960
|
+
state: string;
|
961
|
+
addressType: "INTERNATIONAL";
|
962
|
+
district2: string;
|
963
|
+
cityOrTown?: string | null | undefined;
|
964
|
+
addressLine1?: string | null | undefined;
|
965
|
+
addressLine2?: string | null | undefined;
|
966
|
+
addressLine3?: string | null | undefined;
|
967
|
+
postcodeOrZip?: string | null | undefined;
|
682
968
|
} | {
|
683
969
|
type: string;
|
684
970
|
option: string;
|
685
971
|
filename: string;
|
686
972
|
originalFilename: string;
|
687
973
|
}[]> | undefined;
|
688
|
-
incomplete?: boolean | undefined;
|
689
974
|
}>;
|
690
975
|
export type Draft = z.infer<typeof Draft>;
|
691
976
|
export type DraftInput = z.infer<typeof DraftInput>;
|