@opencrvs/toolkit 1.8.0-rc.fd1df48 → 1.8.0-rc.fd49b3a
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 +1806 -922
- package/dist/commons/conditionals/conditionals.d.ts +0 -12
- package/dist/commons/events/ActionConfig.d.ts +7830 -2014
- package/dist/commons/events/ActionDocument.d.ts +1948 -904
- package/dist/commons/events/ActionInput.d.ts +1680 -780
- package/dist/commons/events/AdvancedSearchConfig.d.ts +82 -33
- package/dist/commons/events/CompositeFieldValue.d.ts +9 -9
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1086 -684
- package/dist/commons/events/Draft.d.ts +142 -70
- package/dist/commons/events/EventConfig.d.ts +3649 -935
- package/dist/commons/events/EventDocument.d.ts +1236 -588
- package/dist/commons/events/EventIndex.d.ts +339 -120
- package/dist/commons/events/FieldConfig.d.ts +455 -30
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +57 -25
- package/dist/commons/events/FieldValue.d.ts +45 -16
- package/dist/commons/events/FormConfig.d.ts +3005 -557
- package/dist/commons/events/PageConfig.d.ts +646 -38
- package/dist/commons/events/User.d.ts +6 -3
- package/dist/commons/events/WorkqueueConfig.d.ts +1990 -1174
- package/dist/commons/events/defineConfig.d.ts +498 -34
- package/dist/commons/events/event.d.ts +10 -18
- package/dist/commons/events/field.d.ts +13 -1
- package/dist/commons/events/test.utils.d.ts +43 -19
- package/dist/commons/events/utils.d.ts +2543 -77
- package/dist/conditionals/index.js +2 -34
- package/dist/events/index.js +963 -801
- package/dist/scopes/index.d.ts +92 -6
- package/dist/scopes/index.js +38 -9
- package/package.json +3 -3
@@ -13,32 +13,41 @@ export declare const Draft: z.ZodObject<{
|
|
13
13
|
createdByRole: z.ZodString;
|
14
14
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
15
15
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
16
|
-
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.
|
17
|
-
|
16
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
17
|
+
start: z.ZodString;
|
18
|
+
end: z.ZodString;
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
20
|
+
start: string;
|
21
|
+
end: string;
|
22
|
+
}, {
|
23
|
+
start: string;
|
24
|
+
end: string;
|
25
|
+
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
26
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
18
27
|
originalFilename: z.ZodString;
|
19
28
|
type: z.ZodString;
|
20
29
|
}, "strip", z.ZodTypeAny, {
|
21
30
|
type: string;
|
22
|
-
|
31
|
+
path: string;
|
23
32
|
originalFilename: string;
|
24
33
|
}, {
|
25
34
|
type: string;
|
26
|
-
|
35
|
+
path: string;
|
27
36
|
originalFilename: string;
|
28
37
|
}>, z.ZodArray<z.ZodObject<{
|
29
|
-
|
38
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
30
39
|
originalFilename: z.ZodString;
|
31
40
|
type: z.ZodString;
|
32
41
|
option: z.ZodString;
|
33
42
|
}, "strip", z.ZodTypeAny, {
|
34
43
|
type: string;
|
35
44
|
option: string;
|
36
|
-
|
45
|
+
path: string;
|
37
46
|
originalFilename: string;
|
38
47
|
}, {
|
39
48
|
type: string;
|
40
49
|
option: string;
|
41
|
-
|
50
|
+
path: string;
|
42
51
|
originalFilename: string;
|
43
52
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
44
53
|
country: z.ZodString;
|
@@ -139,32 +148,41 @@ export declare const Draft: z.ZodObject<{
|
|
139
148
|
surname?: string | null | undefined;
|
140
149
|
middlename?: string | null | undefined;
|
141
150
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
142
|
-
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.
|
143
|
-
|
151
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
152
|
+
start: z.ZodString;
|
153
|
+
end: z.ZodString;
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
155
|
+
start: string;
|
156
|
+
end: string;
|
157
|
+
}, {
|
158
|
+
start: string;
|
159
|
+
end: string;
|
160
|
+
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
161
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
144
162
|
originalFilename: z.ZodString;
|
145
163
|
type: z.ZodString;
|
146
164
|
}, "strip", z.ZodTypeAny, {
|
147
165
|
type: string;
|
148
|
-
|
166
|
+
path: string;
|
149
167
|
originalFilename: string;
|
150
168
|
}, {
|
151
169
|
type: string;
|
152
|
-
|
170
|
+
path: string;
|
153
171
|
originalFilename: string;
|
154
172
|
}>, z.ZodArray<z.ZodObject<{
|
155
|
-
|
173
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
156
174
|
originalFilename: z.ZodString;
|
157
175
|
type: z.ZodString;
|
158
176
|
option: z.ZodString;
|
159
177
|
}, "strip", z.ZodTypeAny, {
|
160
178
|
type: string;
|
161
179
|
option: string;
|
162
|
-
|
180
|
+
path: string;
|
163
181
|
originalFilename: string;
|
164
182
|
}, {
|
165
183
|
type: string;
|
166
184
|
option: string;
|
167
|
-
|
185
|
+
path: string;
|
168
186
|
originalFilename: string;
|
169
187
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
170
188
|
country: z.ZodString;
|
@@ -270,7 +288,7 @@ export declare const Draft: z.ZodObject<{
|
|
270
288
|
}, {
|
271
289
|
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"]>;
|
272
290
|
}>, "id">, "strip", z.ZodTypeAny, {
|
273
|
-
type: "
|
291
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
274
292
|
status: "Rejected" | "Requested" | "Accepted";
|
275
293
|
transactionId: string;
|
276
294
|
createdByUserType: "system" | "user";
|
@@ -279,7 +297,7 @@ export declare const Draft: z.ZodObject<{
|
|
279
297
|
createdByRole: string;
|
280
298
|
declaration: Record<string, string | number | boolean | {
|
281
299
|
type: string;
|
282
|
-
|
300
|
+
path: string;
|
283
301
|
originalFilename: string;
|
284
302
|
} | {
|
285
303
|
country: string;
|
@@ -316,14 +334,17 @@ export declare const Draft: z.ZodObject<{
|
|
316
334
|
} | {
|
317
335
|
type: string;
|
318
336
|
option: string;
|
319
|
-
|
337
|
+
path: string;
|
320
338
|
originalFilename: string;
|
321
|
-
}[] |
|
339
|
+
}[] | {
|
340
|
+
start: string;
|
341
|
+
end: string;
|
342
|
+
} | null | undefined>;
|
322
343
|
createdBySignature?: string | null | undefined;
|
323
344
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
324
345
|
annotation?: Record<string, string | number | boolean | {
|
325
346
|
type: string;
|
326
|
-
|
347
|
+
path: string;
|
327
348
|
originalFilename: string;
|
328
349
|
} | {
|
329
350
|
country: string;
|
@@ -360,12 +381,15 @@ export declare const Draft: z.ZodObject<{
|
|
360
381
|
} | {
|
361
382
|
type: string;
|
362
383
|
option: string;
|
363
|
-
|
384
|
+
path: string;
|
364
385
|
originalFilename: string;
|
365
|
-
}[] |
|
386
|
+
}[] | {
|
387
|
+
start: string;
|
388
|
+
end: string;
|
389
|
+
} | null | undefined> | null | undefined;
|
366
390
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
367
391
|
}, {
|
368
|
-
type: "
|
392
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
369
393
|
status: "Rejected" | "Requested" | "Accepted";
|
370
394
|
transactionId: string;
|
371
395
|
createdByUserType: "system" | "user";
|
@@ -374,7 +398,7 @@ export declare const Draft: z.ZodObject<{
|
|
374
398
|
createdByRole: string;
|
375
399
|
declaration: Record<string, string | number | boolean | {
|
376
400
|
type: string;
|
377
|
-
|
401
|
+
path: string;
|
378
402
|
originalFilename: string;
|
379
403
|
} | {
|
380
404
|
country: string;
|
@@ -411,14 +435,17 @@ export declare const Draft: z.ZodObject<{
|
|
411
435
|
} | {
|
412
436
|
type: string;
|
413
437
|
option: string;
|
414
|
-
|
438
|
+
path: string;
|
415
439
|
originalFilename: string;
|
416
|
-
}[] |
|
440
|
+
}[] | {
|
441
|
+
start: string;
|
442
|
+
end: string;
|
443
|
+
} | null | undefined>;
|
417
444
|
createdBySignature?: string | null | undefined;
|
418
445
|
createdAtLocation?: string | null | undefined;
|
419
446
|
annotation?: Record<string, string | number | boolean | {
|
420
447
|
type: string;
|
421
|
-
|
448
|
+
path: string;
|
422
449
|
originalFilename: string;
|
423
450
|
} | {
|
424
451
|
country: string;
|
@@ -455,9 +482,12 @@ export declare const Draft: z.ZodObject<{
|
|
455
482
|
} | {
|
456
483
|
type: string;
|
457
484
|
option: string;
|
458
|
-
|
485
|
+
path: string;
|
459
486
|
originalFilename: string;
|
460
|
-
}[] |
|
487
|
+
}[] | {
|
488
|
+
start: string;
|
489
|
+
end: string;
|
490
|
+
} | null | undefined> | null | undefined;
|
461
491
|
originalActionId?: string | null | undefined;
|
462
492
|
}>;
|
463
493
|
}, "strip", z.ZodTypeAny, {
|
@@ -466,7 +496,7 @@ export declare const Draft: z.ZodObject<{
|
|
466
496
|
createdAt: string;
|
467
497
|
eventId: string & z.BRAND<"UUID">;
|
468
498
|
action: {
|
469
|
-
type: "
|
499
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
470
500
|
status: "Rejected" | "Requested" | "Accepted";
|
471
501
|
transactionId: string;
|
472
502
|
createdByUserType: "system" | "user";
|
@@ -475,7 +505,7 @@ export declare const Draft: z.ZodObject<{
|
|
475
505
|
createdByRole: string;
|
476
506
|
declaration: Record<string, string | number | boolean | {
|
477
507
|
type: string;
|
478
|
-
|
508
|
+
path: string;
|
479
509
|
originalFilename: string;
|
480
510
|
} | {
|
481
511
|
country: string;
|
@@ -512,14 +542,17 @@ export declare const Draft: z.ZodObject<{
|
|
512
542
|
} | {
|
513
543
|
type: string;
|
514
544
|
option: string;
|
515
|
-
|
545
|
+
path: string;
|
516
546
|
originalFilename: string;
|
517
|
-
}[] |
|
547
|
+
}[] | {
|
548
|
+
start: string;
|
549
|
+
end: string;
|
550
|
+
} | null | undefined>;
|
518
551
|
createdBySignature?: string | null | undefined;
|
519
552
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
520
553
|
annotation?: Record<string, string | number | boolean | {
|
521
554
|
type: string;
|
522
|
-
|
555
|
+
path: string;
|
523
556
|
originalFilename: string;
|
524
557
|
} | {
|
525
558
|
country: string;
|
@@ -556,9 +589,12 @@ export declare const Draft: z.ZodObject<{
|
|
556
589
|
} | {
|
557
590
|
type: string;
|
558
591
|
option: string;
|
559
|
-
|
592
|
+
path: string;
|
560
593
|
originalFilename: string;
|
561
|
-
}[] |
|
594
|
+
}[] | {
|
595
|
+
start: string;
|
596
|
+
end: string;
|
597
|
+
} | null | undefined> | null | undefined;
|
562
598
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
563
599
|
};
|
564
600
|
}, {
|
@@ -567,7 +603,7 @@ export declare const Draft: z.ZodObject<{
|
|
567
603
|
createdAt: string;
|
568
604
|
eventId: string;
|
569
605
|
action: {
|
570
|
-
type: "
|
606
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
571
607
|
status: "Rejected" | "Requested" | "Accepted";
|
572
608
|
transactionId: string;
|
573
609
|
createdByUserType: "system" | "user";
|
@@ -576,7 +612,7 @@ export declare const Draft: z.ZodObject<{
|
|
576
612
|
createdByRole: string;
|
577
613
|
declaration: Record<string, string | number | boolean | {
|
578
614
|
type: string;
|
579
|
-
|
615
|
+
path: string;
|
580
616
|
originalFilename: string;
|
581
617
|
} | {
|
582
618
|
country: string;
|
@@ -613,14 +649,17 @@ export declare const Draft: z.ZodObject<{
|
|
613
649
|
} | {
|
614
650
|
type: string;
|
615
651
|
option: string;
|
616
|
-
|
652
|
+
path: string;
|
617
653
|
originalFilename: string;
|
618
|
-
}[] |
|
654
|
+
}[] | {
|
655
|
+
start: string;
|
656
|
+
end: string;
|
657
|
+
} | null | undefined>;
|
619
658
|
createdBySignature?: string | null | undefined;
|
620
659
|
createdAtLocation?: string | null | undefined;
|
621
660
|
annotation?: Record<string, string | number | boolean | {
|
622
661
|
type: string;
|
623
|
-
|
662
|
+
path: string;
|
624
663
|
originalFilename: string;
|
625
664
|
} | {
|
626
665
|
country: string;
|
@@ -657,41 +696,53 @@ export declare const Draft: z.ZodObject<{
|
|
657
696
|
} | {
|
658
697
|
type: string;
|
659
698
|
option: string;
|
660
|
-
|
699
|
+
path: string;
|
661
700
|
originalFilename: string;
|
662
|
-
}[] |
|
701
|
+
}[] | {
|
702
|
+
start: string;
|
703
|
+
end: string;
|
704
|
+
} | null | undefined> | null | undefined;
|
663
705
|
originalActionId?: string | null | undefined;
|
664
706
|
};
|
665
707
|
}>;
|
666
708
|
export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
667
709
|
eventId: z.ZodBranded<z.ZodString, "UUID">;
|
668
710
|
transactionId: z.ZodString;
|
669
|
-
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.
|
670
|
-
|
711
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
712
|
+
start: z.ZodString;
|
713
|
+
end: z.ZodString;
|
714
|
+
}, "strip", z.ZodTypeAny, {
|
715
|
+
start: string;
|
716
|
+
end: string;
|
717
|
+
}, {
|
718
|
+
start: string;
|
719
|
+
end: string;
|
720
|
+
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
721
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
671
722
|
originalFilename: z.ZodString;
|
672
723
|
type: z.ZodString;
|
673
724
|
}, "strip", z.ZodTypeAny, {
|
674
725
|
type: string;
|
675
|
-
|
726
|
+
path: string;
|
676
727
|
originalFilename: string;
|
677
728
|
}, {
|
678
729
|
type: string;
|
679
|
-
|
730
|
+
path: string;
|
680
731
|
originalFilename: string;
|
681
732
|
}>, z.ZodArray<z.ZodObject<{
|
682
|
-
|
733
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
683
734
|
originalFilename: z.ZodString;
|
684
735
|
type: z.ZodString;
|
685
736
|
option: z.ZodString;
|
686
737
|
}, "strip", z.ZodTypeAny, {
|
687
738
|
type: string;
|
688
739
|
option: string;
|
689
|
-
|
740
|
+
path: string;
|
690
741
|
originalFilename: string;
|
691
742
|
}, {
|
692
743
|
type: string;
|
693
744
|
option: string;
|
694
|
-
|
745
|
+
path: string;
|
695
746
|
originalFilename: string;
|
696
747
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
697
748
|
country: z.ZodString;
|
@@ -792,32 +843,41 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
792
843
|
surname?: string | null | undefined;
|
793
844
|
middlename?: string | null | undefined;
|
794
845
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
795
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.
|
796
|
-
|
846
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
847
|
+
start: z.ZodString;
|
848
|
+
end: z.ZodString;
|
849
|
+
}, "strip", z.ZodTypeAny, {
|
850
|
+
start: string;
|
851
|
+
end: string;
|
852
|
+
}, {
|
853
|
+
start: string;
|
854
|
+
end: string;
|
855
|
+
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
856
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
797
857
|
originalFilename: z.ZodString;
|
798
858
|
type: z.ZodString;
|
799
859
|
}, "strip", z.ZodTypeAny, {
|
800
860
|
type: string;
|
801
|
-
|
861
|
+
path: string;
|
802
862
|
originalFilename: string;
|
803
863
|
}, {
|
804
864
|
type: string;
|
805
|
-
|
865
|
+
path: string;
|
806
866
|
originalFilename: string;
|
807
867
|
}>, z.ZodArray<z.ZodObject<{
|
808
|
-
|
868
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
809
869
|
originalFilename: z.ZodString;
|
810
870
|
type: z.ZodString;
|
811
871
|
option: z.ZodString;
|
812
872
|
}, "strip", z.ZodTypeAny, {
|
813
873
|
type: string;
|
814
874
|
option: string;
|
815
|
-
|
875
|
+
path: string;
|
816
876
|
originalFilename: string;
|
817
877
|
}, {
|
818
878
|
type: string;
|
819
879
|
option: string;
|
820
|
-
|
880
|
+
path: string;
|
821
881
|
originalFilename: string;
|
822
882
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
823
883
|
country: z.ZodString;
|
@@ -924,12 +984,12 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
924
984
|
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"]>;
|
925
985
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
926
986
|
}>, "strip", z.ZodTypeAny, {
|
927
|
-
type: "
|
987
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
928
988
|
status: "Rejected" | "Requested" | "Accepted";
|
929
989
|
transactionId: string;
|
930
990
|
declaration: Record<string, string | number | boolean | {
|
931
991
|
type: string;
|
932
|
-
|
992
|
+
path: string;
|
933
993
|
originalFilename: string;
|
934
994
|
} | {
|
935
995
|
country: string;
|
@@ -966,13 +1026,16 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
966
1026
|
} | {
|
967
1027
|
type: string;
|
968
1028
|
option: string;
|
969
|
-
|
1029
|
+
path: string;
|
970
1030
|
originalFilename: string;
|
971
|
-
}[] |
|
1031
|
+
}[] | {
|
1032
|
+
start: string;
|
1033
|
+
end: string;
|
1034
|
+
} | null | undefined>;
|
972
1035
|
eventId: string & z.BRAND<"UUID">;
|
973
1036
|
annotation?: Record<string, string | number | boolean | {
|
974
1037
|
type: string;
|
975
|
-
|
1038
|
+
path: string;
|
976
1039
|
originalFilename: string;
|
977
1040
|
} | {
|
978
1041
|
country: string;
|
@@ -1009,19 +1072,22 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1009
1072
|
} | {
|
1010
1073
|
type: string;
|
1011
1074
|
option: string;
|
1012
|
-
|
1075
|
+
path: string;
|
1013
1076
|
originalFilename: string;
|
1014
|
-
}[] |
|
1077
|
+
}[] | {
|
1078
|
+
start: string;
|
1079
|
+
end: string;
|
1080
|
+
} | null | undefined> | undefined;
|
1015
1081
|
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
1016
1082
|
keepAssignment?: boolean | undefined;
|
1017
1083
|
}, {
|
1018
|
-
type: "
|
1084
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
1019
1085
|
status: "Rejected" | "Requested" | "Accepted";
|
1020
1086
|
transactionId: string;
|
1021
1087
|
eventId: string;
|
1022
1088
|
declaration?: Record<string, string | number | boolean | {
|
1023
1089
|
type: string;
|
1024
|
-
|
1090
|
+
path: string;
|
1025
1091
|
originalFilename: string;
|
1026
1092
|
} | {
|
1027
1093
|
country: string;
|
@@ -1058,12 +1124,15 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1058
1124
|
} | {
|
1059
1125
|
type: string;
|
1060
1126
|
option: string;
|
1061
|
-
|
1127
|
+
path: string;
|
1062
1128
|
originalFilename: string;
|
1063
|
-
}[] |
|
1129
|
+
}[] | {
|
1130
|
+
start: string;
|
1131
|
+
end: string;
|
1132
|
+
} | null | undefined> | undefined;
|
1064
1133
|
annotation?: Record<string, string | number | boolean | {
|
1065
1134
|
type: string;
|
1066
|
-
|
1135
|
+
path: string;
|
1067
1136
|
originalFilename: string;
|
1068
1137
|
} | {
|
1069
1138
|
country: string;
|
@@ -1100,9 +1169,12 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1100
1169
|
} | {
|
1101
1170
|
type: string;
|
1102
1171
|
option: string;
|
1103
|
-
|
1172
|
+
path: string;
|
1104
1173
|
originalFilename: string;
|
1105
|
-
}[] |
|
1174
|
+
}[] | {
|
1175
|
+
start: string;
|
1176
|
+
end: string;
|
1177
|
+
} | null | undefined> | undefined;
|
1106
1178
|
originalActionId?: string | undefined;
|
1107
1179
|
keepAssignment?: boolean | undefined;
|
1108
1180
|
}>;
|