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