@opencrvs/toolkit 1.8.0-rc.fd8a78f → 1.8.0-rc.fd936ab
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 +447 -14227
- package/dist/commons/conditionals/conditionals.d.ts +6 -14
- package/dist/commons/conditionals/validate.d.ts +6 -10
- package/dist/commons/events/ActionConfig.d.ts +1726 -117415
- package/dist/commons/events/ActionDocument.d.ts +383 -2305
- package/dist/commons/events/ActionInput.d.ts +303 -1583
- package/dist/commons/events/ActionType.d.ts +0 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +22 -1029
- package/dist/commons/events/CompositeFieldValue.d.ts +0 -31
- package/dist/commons/events/Draft.d.ts +29 -143
- package/dist/commons/events/EventConfig.d.ts +1361 -56376
- package/dist/commons/events/EventDocument.d.ts +264 -1428
- package/dist/commons/events/EventIndex.d.ts +25 -1590
- package/dist/commons/events/EventMetadata.d.ts +43 -299
- package/dist/commons/events/FieldConfig.d.ts +1060 -5458
- package/dist/commons/events/FieldType.d.ts +3 -6
- package/dist/commons/events/FieldTypeMapping.d.ts +54 -103
- package/dist/commons/events/FieldValue.d.ts +8 -49
- package/dist/commons/events/FormConfig.d.ts +524 -49166
- package/dist/commons/events/PageConfig.d.ts +208 -12210
- package/dist/commons/events/SummaryConfig.d.ts +42 -93
- package/dist/commons/events/User.d.ts +2 -31
- package/dist/commons/events/WorkqueueConfig.d.ts +20 -4803
- package/dist/commons/events/defineConfig.d.ts +75 -9010
- package/dist/commons/events/index.d.ts +0 -8
- package/dist/commons/events/test.utils.d.ts +78 -147
- package/dist/commons/events/utils.d.ts +68 -13352
- package/dist/conditionals/index.js +36 -76
- package/dist/events/index.js +1504 -3807
- package/dist/scopes/index.d.ts +6 -94
- package/dist/scopes/index.js +21 -42
- package/package.json +2 -3
- package/dist/commons/events/Constants.d.ts +0 -3
- package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -2982
- package/dist/commons/events/CreatedAtLocation.d.ts +0 -3
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +0 -53
- package/dist/commons/events/event.d.ts +0 -54
- package/dist/commons/events/field.d.ts +0 -77
- package/dist/commons/events/scopes.d.ts +0 -45
- package/dist/commons/events/serializer.d.ts +0 -2
- package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -3
@@ -117,35 +117,6 @@ export declare const UrbanAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
|
|
117
117
|
street?: string | null | undefined;
|
118
118
|
zipCode?: string | null | undefined;
|
119
119
|
}>;
|
120
|
-
export declare const NameFieldValue: z.ZodObject<{
|
121
|
-
firstname: z.ZodString;
|
122
|
-
surname: z.ZodString;
|
123
|
-
middlename: z.ZodOptional<z.ZodString>;
|
124
|
-
}, "strip", z.ZodTypeAny, {
|
125
|
-
firstname: string;
|
126
|
-
surname: string;
|
127
|
-
middlename?: string | undefined;
|
128
|
-
}, {
|
129
|
-
firstname: string;
|
130
|
-
surname: string;
|
131
|
-
middlename?: string | undefined;
|
132
|
-
}>;
|
133
|
-
export declare const NameFieldUpdateValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
134
|
-
firstname: z.ZodString;
|
135
|
-
surname: z.ZodString;
|
136
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
137
|
-
}, "strip", z.ZodTypeAny, {
|
138
|
-
firstname: string;
|
139
|
-
surname: string;
|
140
|
-
middlename?: string | null | undefined;
|
141
|
-
}, {
|
142
|
-
firstname: string;
|
143
|
-
surname: string;
|
144
|
-
middlename?: string | null | undefined;
|
145
|
-
}>, z.ZodNull]>, z.ZodUndefined]>;
|
146
|
-
export type NameFieldValue = z.infer<typeof NameFieldValue>;
|
147
|
-
export type NameFieldUpdateValue = z.infer<typeof NameFieldUpdateValue>;
|
148
|
-
export type UrbanAddressUpdateValue = z.infer<typeof UrbanAddressUpdateValue>;
|
149
120
|
export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendShape<{
|
150
121
|
country: z.ZodString;
|
151
122
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -169,7 +140,6 @@ export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
|
|
169
140
|
urbanOrRural: "RURAL";
|
170
141
|
village?: string | null | undefined;
|
171
142
|
}>;
|
172
|
-
export type RuralAddressUpdateValue = z.infer<typeof RuralAddressUpdateValue>;
|
173
143
|
export declare const GenericAddressValue: z.ZodObject<{
|
174
144
|
country: z.ZodString;
|
175
145
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
@@ -319,7 +289,6 @@ export declare const GenericAddressUpdateValue: z.ZodObject<{
|
|
319
289
|
addressLine3?: string | null | undefined;
|
320
290
|
postcodeOrZip?: string | null | undefined;
|
321
291
|
}>;
|
322
|
-
export type GenericAddressUpdateValue = z.infer<typeof GenericAddressUpdateValue>;
|
323
292
|
export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
324
293
|
country: z.ZodString;
|
325
294
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -6,13 +6,9 @@ export declare const Draft: z.ZodObject<{
|
|
6
6
|
createdAt: z.ZodString;
|
7
7
|
action: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
8
8
|
id: z.ZodString;
|
9
|
-
transactionId: z.ZodString;
|
10
9
|
createdAt: z.ZodString;
|
11
10
|
createdBy: z.ZodString;
|
12
|
-
|
13
|
-
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
14
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
15
|
-
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
11
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
16
12
|
filename: z.ZodString;
|
17
13
|
originalFilename: z.ZodString;
|
18
14
|
type: z.ZodString;
|
@@ -125,20 +121,8 @@ export declare const Draft: z.ZodObject<{
|
|
125
121
|
addressLine2?: string | null | undefined;
|
126
122
|
addressLine3?: string | null | undefined;
|
127
123
|
postcodeOrZip?: string | null | undefined;
|
128
|
-
}
|
129
|
-
|
130
|
-
surname: z.ZodString;
|
131
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
132
|
-
}, "strip", z.ZodTypeAny, {
|
133
|
-
firstname: string;
|
134
|
-
surname: string;
|
135
|
-
middlename?: string | null | undefined;
|
136
|
-
}, {
|
137
|
-
firstname: string;
|
138
|
-
surname: string;
|
139
|
-
middlename?: string | null | undefined;
|
140
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
141
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
124
|
+
}>]>>;
|
125
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
142
126
|
filename: z.ZodString;
|
143
127
|
originalFilename: z.ZodString;
|
144
128
|
type: z.ZodString;
|
@@ -251,19 +235,8 @@ export declare const Draft: z.ZodObject<{
|
|
251
235
|
addressLine2?: string | null | undefined;
|
252
236
|
addressLine3?: string | null | undefined;
|
253
237
|
postcodeOrZip?: string | null | undefined;
|
254
|
-
}
|
255
|
-
|
256
|
-
surname: z.ZodString;
|
257
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
258
|
-
}, "strip", z.ZodTypeAny, {
|
259
|
-
firstname: string;
|
260
|
-
surname: string;
|
261
|
-
middlename?: string | null | undefined;
|
262
|
-
}, {
|
263
|
-
firstname: string;
|
264
|
-
surname: string;
|
265
|
-
middlename?: string | null | undefined;
|
266
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
238
|
+
}>]>>>;
|
239
|
+
createdAtLocation: z.ZodString;
|
267
240
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
268
241
|
originalActionId: z.ZodOptional<z.ZodString>;
|
269
242
|
}, {
|
@@ -271,10 +244,8 @@ export declare const Draft: z.ZodObject<{
|
|
271
244
|
}>, "id">, "strip", z.ZodTypeAny, {
|
272
245
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
273
246
|
status: "Rejected" | "Requested" | "Accepted";
|
274
|
-
transactionId: string;
|
275
247
|
createdAt: string;
|
276
248
|
createdBy: string;
|
277
|
-
createdByRole: string;
|
278
249
|
declaration: Record<string, string | number | boolean | {
|
279
250
|
type: string;
|
280
251
|
filename: string;
|
@@ -290,10 +261,6 @@ export declare const Draft: z.ZodObject<{
|
|
290
261
|
residentialArea?: string | null | undefined;
|
291
262
|
street?: string | null | undefined;
|
292
263
|
zipCode?: string | null | undefined;
|
293
|
-
} | {
|
294
|
-
firstname: string;
|
295
|
-
surname: string;
|
296
|
-
middlename?: string | null | undefined;
|
297
264
|
} | {
|
298
265
|
country: string;
|
299
266
|
district: string;
|
@@ -316,9 +283,8 @@ export declare const Draft: z.ZodObject<{
|
|
316
283
|
option: string;
|
317
284
|
filename: string;
|
318
285
|
originalFilename: string;
|
319
|
-
}[] |
|
320
|
-
|
321
|
-
createdAtLocation?: string | null | undefined;
|
286
|
+
}[] | undefined>;
|
287
|
+
createdAtLocation: string;
|
322
288
|
annotation?: Record<string, string | number | boolean | {
|
323
289
|
type: string;
|
324
290
|
filename: string;
|
@@ -334,10 +300,6 @@ export declare const Draft: z.ZodObject<{
|
|
334
300
|
residentialArea?: string | null | undefined;
|
335
301
|
street?: string | null | undefined;
|
336
302
|
zipCode?: string | null | undefined;
|
337
|
-
} | {
|
338
|
-
firstname: string;
|
339
|
-
surname: string;
|
340
|
-
middlename?: string | null | undefined;
|
341
303
|
} | {
|
342
304
|
country: string;
|
343
305
|
district: string;
|
@@ -360,15 +322,13 @@ export declare const Draft: z.ZodObject<{
|
|
360
322
|
option: string;
|
361
323
|
filename: string;
|
362
324
|
originalFilename: string;
|
363
|
-
}[] |
|
325
|
+
}[] | undefined> | undefined;
|
364
326
|
originalActionId?: string | undefined;
|
365
327
|
}, {
|
366
328
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
367
329
|
status: "Rejected" | "Requested" | "Accepted";
|
368
|
-
transactionId: string;
|
369
330
|
createdAt: string;
|
370
331
|
createdBy: string;
|
371
|
-
createdByRole: string;
|
372
332
|
declaration: Record<string, string | number | boolean | {
|
373
333
|
type: string;
|
374
334
|
filename: string;
|
@@ -384,10 +344,6 @@ export declare const Draft: z.ZodObject<{
|
|
384
344
|
residentialArea?: string | null | undefined;
|
385
345
|
street?: string | null | undefined;
|
386
346
|
zipCode?: string | null | undefined;
|
387
|
-
} | {
|
388
|
-
firstname: string;
|
389
|
-
surname: string;
|
390
|
-
middlename?: string | null | undefined;
|
391
347
|
} | {
|
392
348
|
country: string;
|
393
349
|
district: string;
|
@@ -410,9 +366,8 @@ export declare const Draft: z.ZodObject<{
|
|
410
366
|
option: string;
|
411
367
|
filename: string;
|
412
368
|
originalFilename: string;
|
413
|
-
}[] |
|
414
|
-
|
415
|
-
createdAtLocation?: string | null | undefined;
|
369
|
+
}[] | undefined>;
|
370
|
+
createdAtLocation: string;
|
416
371
|
annotation?: Record<string, string | number | boolean | {
|
417
372
|
type: string;
|
418
373
|
filename: string;
|
@@ -428,10 +383,6 @@ export declare const Draft: z.ZodObject<{
|
|
428
383
|
residentialArea?: string | null | undefined;
|
429
384
|
street?: string | null | undefined;
|
430
385
|
zipCode?: string | null | undefined;
|
431
|
-
} | {
|
432
|
-
firstname: string;
|
433
|
-
surname: string;
|
434
|
-
middlename?: string | null | undefined;
|
435
386
|
} | {
|
436
387
|
country: string;
|
437
388
|
district: string;
|
@@ -454,21 +405,19 @@ export declare const Draft: z.ZodObject<{
|
|
454
405
|
option: string;
|
455
406
|
filename: string;
|
456
407
|
originalFilename: string;
|
457
|
-
}[] |
|
408
|
+
}[] | undefined> | undefined;
|
458
409
|
originalActionId?: string | undefined;
|
459
410
|
}>;
|
460
411
|
}, "strip", z.ZodTypeAny, {
|
461
412
|
id: string;
|
462
|
-
transactionId: string;
|
463
413
|
createdAt: string;
|
464
414
|
eventId: string;
|
415
|
+
transactionId: string;
|
465
416
|
action: {
|
466
417
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
467
418
|
status: "Rejected" | "Requested" | "Accepted";
|
468
|
-
transactionId: string;
|
469
419
|
createdAt: string;
|
470
420
|
createdBy: string;
|
471
|
-
createdByRole: string;
|
472
421
|
declaration: Record<string, string | number | boolean | {
|
473
422
|
type: string;
|
474
423
|
filename: string;
|
@@ -484,10 +433,6 @@ export declare const Draft: z.ZodObject<{
|
|
484
433
|
residentialArea?: string | null | undefined;
|
485
434
|
street?: string | null | undefined;
|
486
435
|
zipCode?: string | null | undefined;
|
487
|
-
} | {
|
488
|
-
firstname: string;
|
489
|
-
surname: string;
|
490
|
-
middlename?: string | null | undefined;
|
491
436
|
} | {
|
492
437
|
country: string;
|
493
438
|
district: string;
|
@@ -510,9 +455,8 @@ export declare const Draft: z.ZodObject<{
|
|
510
455
|
option: string;
|
511
456
|
filename: string;
|
512
457
|
originalFilename: string;
|
513
|
-
}[] |
|
514
|
-
|
515
|
-
createdAtLocation?: string | null | undefined;
|
458
|
+
}[] | undefined>;
|
459
|
+
createdAtLocation: string;
|
516
460
|
annotation?: Record<string, string | number | boolean | {
|
517
461
|
type: string;
|
518
462
|
filename: string;
|
@@ -528,10 +472,6 @@ export declare const Draft: z.ZodObject<{
|
|
528
472
|
residentialArea?: string | null | undefined;
|
529
473
|
street?: string | null | undefined;
|
530
474
|
zipCode?: string | null | undefined;
|
531
|
-
} | {
|
532
|
-
firstname: string;
|
533
|
-
surname: string;
|
534
|
-
middlename?: string | null | undefined;
|
535
475
|
} | {
|
536
476
|
country: string;
|
537
477
|
district: string;
|
@@ -554,21 +494,19 @@ export declare const Draft: z.ZodObject<{
|
|
554
494
|
option: string;
|
555
495
|
filename: string;
|
556
496
|
originalFilename: string;
|
557
|
-
}[] |
|
497
|
+
}[] | undefined> | undefined;
|
558
498
|
originalActionId?: string | undefined;
|
559
499
|
};
|
560
500
|
}, {
|
561
501
|
id: string;
|
562
|
-
transactionId: string;
|
563
502
|
createdAt: string;
|
564
503
|
eventId: string;
|
504
|
+
transactionId: string;
|
565
505
|
action: {
|
566
506
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
567
507
|
status: "Rejected" | "Requested" | "Accepted";
|
568
|
-
transactionId: string;
|
569
508
|
createdAt: string;
|
570
509
|
createdBy: string;
|
571
|
-
createdByRole: string;
|
572
510
|
declaration: Record<string, string | number | boolean | {
|
573
511
|
type: string;
|
574
512
|
filename: string;
|
@@ -584,10 +522,6 @@ export declare const Draft: z.ZodObject<{
|
|
584
522
|
residentialArea?: string | null | undefined;
|
585
523
|
street?: string | null | undefined;
|
586
524
|
zipCode?: string | null | undefined;
|
587
|
-
} | {
|
588
|
-
firstname: string;
|
589
|
-
surname: string;
|
590
|
-
middlename?: string | null | undefined;
|
591
525
|
} | {
|
592
526
|
country: string;
|
593
527
|
district: string;
|
@@ -610,9 +544,8 @@ export declare const Draft: z.ZodObject<{
|
|
610
544
|
option: string;
|
611
545
|
filename: string;
|
612
546
|
originalFilename: string;
|
613
|
-
}[] |
|
614
|
-
|
615
|
-
createdAtLocation?: string | null | undefined;
|
547
|
+
}[] | undefined>;
|
548
|
+
createdAtLocation: string;
|
616
549
|
annotation?: Record<string, string | number | boolean | {
|
617
550
|
type: string;
|
618
551
|
filename: string;
|
@@ -628,10 +561,6 @@ export declare const Draft: z.ZodObject<{
|
|
628
561
|
residentialArea?: string | null | undefined;
|
629
562
|
street?: string | null | undefined;
|
630
563
|
zipCode?: string | null | undefined;
|
631
|
-
} | {
|
632
|
-
firstname: string;
|
633
|
-
surname: string;
|
634
|
-
middlename?: string | null | undefined;
|
635
564
|
} | {
|
636
565
|
country: string;
|
637
566
|
district: string;
|
@@ -654,14 +583,14 @@ export declare const Draft: z.ZodObject<{
|
|
654
583
|
option: string;
|
655
584
|
filename: string;
|
656
585
|
originalFilename: string;
|
657
|
-
}[] |
|
586
|
+
}[] | undefined> | undefined;
|
658
587
|
originalActionId?: string | undefined;
|
659
588
|
};
|
660
589
|
}>;
|
661
590
|
export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
662
591
|
eventId: z.ZodString;
|
663
592
|
transactionId: z.ZodString;
|
664
|
-
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.
|
593
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
665
594
|
filename: z.ZodString;
|
666
595
|
originalFilename: z.ZodString;
|
667
596
|
type: z.ZodString;
|
@@ -774,20 +703,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
774
703
|
addressLine2?: string | null | undefined;
|
775
704
|
addressLine3?: string | null | undefined;
|
776
705
|
postcodeOrZip?: string | null | undefined;
|
777
|
-
}
|
778
|
-
|
779
|
-
surname: z.ZodString;
|
780
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
781
|
-
}, "strip", z.ZodTypeAny, {
|
782
|
-
firstname: string;
|
783
|
-
surname: string;
|
784
|
-
middlename?: string | null | undefined;
|
785
|
-
}, {
|
786
|
-
firstname: string;
|
787
|
-
surname: string;
|
788
|
-
middlename?: string | null | undefined;
|
789
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
790
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
706
|
+
}>]>>>;
|
707
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
791
708
|
filename: z.ZodString;
|
792
709
|
originalFilename: z.ZodString;
|
793
710
|
type: z.ZodString;
|
@@ -900,28 +817,13 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
900
817
|
addressLine2?: string | null | undefined;
|
901
818
|
addressLine3?: string | null | undefined;
|
902
819
|
postcodeOrZip?: string | null | undefined;
|
903
|
-
}
|
904
|
-
firstname: z.ZodString;
|
905
|
-
surname: z.ZodString;
|
906
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
907
|
-
}, "strip", z.ZodTypeAny, {
|
908
|
-
firstname: string;
|
909
|
-
surname: string;
|
910
|
-
middlename?: string | null | undefined;
|
911
|
-
}, {
|
912
|
-
firstname: string;
|
913
|
-
surname: string;
|
914
|
-
middlename?: string | null | undefined;
|
915
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
820
|
+
}>]>>>;
|
916
821
|
originalActionId: z.ZodOptional<z.ZodString>;
|
917
822
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
918
823
|
}, {
|
919
824
|
type: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
|
920
|
-
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
921
825
|
}>, "strip", z.ZodTypeAny, {
|
922
826
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
923
|
-
status: "Rejected" | "Requested" | "Accepted";
|
924
|
-
transactionId: string;
|
925
827
|
declaration: Record<string, string | number | boolean | {
|
926
828
|
type: string;
|
927
829
|
filename: string;
|
@@ -937,10 +839,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
937
839
|
residentialArea?: string | null | undefined;
|
938
840
|
street?: string | null | undefined;
|
939
841
|
zipCode?: string | null | undefined;
|
940
|
-
} | {
|
941
|
-
firstname: string;
|
942
|
-
surname: string;
|
943
|
-
middlename?: string | null | undefined;
|
944
842
|
} | {
|
945
843
|
country: string;
|
946
844
|
district: string;
|
@@ -963,8 +861,9 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
963
861
|
option: string;
|
964
862
|
filename: string;
|
965
863
|
originalFilename: string;
|
966
|
-
}[] |
|
864
|
+
}[] | undefined>;
|
967
865
|
eventId: string;
|
866
|
+
transactionId: string;
|
968
867
|
annotation?: Record<string, string | number | boolean | {
|
969
868
|
type: string;
|
970
869
|
filename: string;
|
@@ -980,10 +879,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
980
879
|
residentialArea?: string | null | undefined;
|
981
880
|
street?: string | null | undefined;
|
982
881
|
zipCode?: string | null | undefined;
|
983
|
-
} | {
|
984
|
-
firstname: string;
|
985
|
-
surname: string;
|
986
|
-
middlename?: string | null | undefined;
|
987
882
|
} | {
|
988
883
|
country: string;
|
989
884
|
district: string;
|
@@ -1006,14 +901,13 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1006
901
|
option: string;
|
1007
902
|
filename: string;
|
1008
903
|
originalFilename: string;
|
1009
|
-
}[] |
|
904
|
+
}[] | undefined> | undefined;
|
1010
905
|
originalActionId?: string | undefined;
|
1011
906
|
keepAssignment?: boolean | undefined;
|
1012
907
|
}, {
|
1013
908
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
1014
|
-
status: "Rejected" | "Requested" | "Accepted";
|
1015
|
-
transactionId: string;
|
1016
909
|
eventId: string;
|
910
|
+
transactionId: string;
|
1017
911
|
declaration?: Record<string, string | number | boolean | {
|
1018
912
|
type: string;
|
1019
913
|
filename: string;
|
@@ -1029,10 +923,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1029
923
|
residentialArea?: string | null | undefined;
|
1030
924
|
street?: string | null | undefined;
|
1031
925
|
zipCode?: string | null | undefined;
|
1032
|
-
} | {
|
1033
|
-
firstname: string;
|
1034
|
-
surname: string;
|
1035
|
-
middlename?: string | null | undefined;
|
1036
926
|
} | {
|
1037
927
|
country: string;
|
1038
928
|
district: string;
|
@@ -1055,7 +945,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1055
945
|
option: string;
|
1056
946
|
filename: string;
|
1057
947
|
originalFilename: string;
|
1058
|
-
}[] |
|
948
|
+
}[] | undefined> | undefined;
|
1059
949
|
annotation?: Record<string, string | number | boolean | {
|
1060
950
|
type: string;
|
1061
951
|
filename: string;
|
@@ -1071,10 +961,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1071
961
|
residentialArea?: string | null | undefined;
|
1072
962
|
street?: string | null | undefined;
|
1073
963
|
zipCode?: string | null | undefined;
|
1074
|
-
} | {
|
1075
|
-
firstname: string;
|
1076
|
-
surname: string;
|
1077
|
-
middlename?: string | null | undefined;
|
1078
964
|
} | {
|
1079
965
|
country: string;
|
1080
966
|
district: string;
|
@@ -1097,7 +983,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1097
983
|
option: string;
|
1098
984
|
filename: string;
|
1099
985
|
originalFilename: string;
|
1100
|
-
}[] |
|
986
|
+
}[] | undefined> | undefined;
|
1101
987
|
originalActionId?: string | undefined;
|
1102
988
|
keepAssignment?: boolean | undefined;
|
1103
989
|
}>;
|