@opencrvs/toolkit 1.8.0-rc.f876361 → 1.8.0-rc.f8a9481
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 +393 -1324
- package/dist/commons/conditionals/conditionals.d.ts +15 -8
- package/dist/commons/conditionals/validate.d.ts +12 -17
- package/dist/commons/events/ActionDocument.d.ts +214 -2
- package/dist/commons/events/ActionInput.d.ts +1135 -232
- package/dist/commons/events/ActionType.d.ts +5 -3
- package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
- package/dist/commons/events/Conditional.d.ts +21 -5
- package/dist/commons/events/Draft.d.ts +27 -10
- package/dist/commons/events/EventConfig.d.ts +153 -68
- package/dist/commons/events/EventDocument.d.ts +165 -1
- package/dist/commons/events/EventIndex.d.ts +6 -0
- package/dist/commons/events/EventMetadata.d.ts +6 -0
- package/dist/commons/events/FieldConfig.d.ts +212 -33
- package/dist/commons/events/PageConfig.d.ts +0 -24
- package/dist/commons/events/SummaryConfig.d.ts +93 -7
- package/dist/commons/events/TemplateConfig.d.ts +5 -5
- package/dist/commons/events/User.d.ts +5 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +44 -20
- package/dist/commons/events/defineConfig.d.ts +13 -8
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +25 -0
- package/dist/commons/events/test.utils.d.ts +20 -112
- package/dist/commons/events/utils.d.ts +65 -56
- package/dist/commons/events/utils.test.d.ts +2 -0
- package/dist/conditionals/index.js +131 -151
- package/dist/events/index.js +1037 -783
- package/package.json +1 -1
@@ -130,8 +130,10 @@ export declare const ActionStatus: {
|
|
130
130
|
export type ActionStatus = keyof typeof ActionStatus;
|
131
131
|
export declare const ActionBase: z.ZodObject<{
|
132
132
|
id: z.ZodString;
|
133
|
+
transactionId: z.ZodString;
|
133
134
|
createdAt: z.ZodString;
|
134
135
|
createdBy: z.ZodString;
|
136
|
+
createdByRole: z.ZodString;
|
135
137
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
136
138
|
filename: z.ZodString;
|
137
139
|
originalFilename: z.ZodString;
|
@@ -366,8 +368,10 @@ export declare const ActionBase: z.ZodObject<{
|
|
366
368
|
}, "strip", z.ZodTypeAny, {
|
367
369
|
id: string;
|
368
370
|
status: "Rejected" | "Requested" | "Accepted";
|
371
|
+
transactionId: string;
|
369
372
|
createdAt: string;
|
370
373
|
createdBy: string;
|
374
|
+
createdByRole: string;
|
371
375
|
declaration: Record<string, string | number | boolean | {
|
372
376
|
type: string;
|
373
377
|
filename: string;
|
@@ -449,8 +453,10 @@ export declare const ActionBase: z.ZodObject<{
|
|
449
453
|
}, {
|
450
454
|
id: string;
|
451
455
|
status: "Rejected" | "Requested" | "Accepted";
|
456
|
+
transactionId: string;
|
452
457
|
createdAt: string;
|
453
458
|
createdBy: string;
|
459
|
+
createdByRole: string;
|
454
460
|
declaration: Record<string, string | number | boolean | {
|
455
461
|
type: string;
|
456
462
|
filename: string;
|
@@ -533,8 +539,10 @@ export declare const ActionBase: z.ZodObject<{
|
|
533
539
|
export type ActionBase = z.infer<typeof ActionBase>;
|
534
540
|
export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
|
535
541
|
id: z.ZodString;
|
542
|
+
transactionId: z.ZodString;
|
536
543
|
createdAt: z.ZodString;
|
537
544
|
createdBy: z.ZodString;
|
545
|
+
createdByRole: z.ZodString;
|
538
546
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
539
547
|
filename: z.ZodString;
|
540
548
|
originalFilename: z.ZodString;
|
@@ -773,8 +781,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
773
781
|
type: "REGISTER";
|
774
782
|
id: string;
|
775
783
|
status: "Rejected" | "Requested" | "Accepted";
|
784
|
+
transactionId: string;
|
776
785
|
createdAt: string;
|
777
786
|
createdBy: string;
|
787
|
+
createdByRole: string;
|
778
788
|
declaration: Record<string, string | number | boolean | {
|
779
789
|
type: string;
|
780
790
|
filename: string;
|
@@ -858,8 +868,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
858
868
|
type: "REGISTER";
|
859
869
|
id: string;
|
860
870
|
status: "Rejected" | "Requested" | "Accepted";
|
871
|
+
transactionId: string;
|
861
872
|
createdAt: string;
|
862
873
|
createdBy: string;
|
874
|
+
createdByRole: string;
|
863
875
|
declaration: Record<string, string | number | boolean | {
|
864
876
|
type: string;
|
865
877
|
filename: string;
|
@@ -943,8 +955,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
943
955
|
export type RegisterAction = z.infer<typeof RegisterAction>;
|
944
956
|
declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
|
945
957
|
id: z.ZodString;
|
958
|
+
transactionId: z.ZodString;
|
946
959
|
createdAt: z.ZodString;
|
947
960
|
createdBy: z.ZodString;
|
961
|
+
createdByRole: z.ZodString;
|
948
962
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
949
963
|
filename: z.ZodString;
|
950
964
|
originalFilename: z.ZodString;
|
@@ -1182,8 +1196,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1182
1196
|
type: "CREATE";
|
1183
1197
|
id: string;
|
1184
1198
|
status: "Rejected" | "Requested" | "Accepted";
|
1199
|
+
transactionId: string;
|
1185
1200
|
createdAt: string;
|
1186
1201
|
createdBy: string;
|
1202
|
+
createdByRole: string;
|
1187
1203
|
declaration: Record<string, string | number | boolean | {
|
1188
1204
|
type: string;
|
1189
1205
|
filename: string;
|
@@ -1266,8 +1282,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1266
1282
|
type: "CREATE";
|
1267
1283
|
id: string;
|
1268
1284
|
status: "Rejected" | "Requested" | "Accepted";
|
1285
|
+
transactionId: string;
|
1269
1286
|
createdAt: string;
|
1270
1287
|
createdBy: string;
|
1288
|
+
createdByRole: string;
|
1271
1289
|
declaration: Record<string, string | number | boolean | {
|
1272
1290
|
type: string;
|
1273
1291
|
filename: string;
|
@@ -1349,8 +1367,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1349
1367
|
}>;
|
1350
1368
|
export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
1351
1369
|
id: z.ZodString;
|
1370
|
+
transactionId: z.ZodString;
|
1352
1371
|
createdAt: z.ZodString;
|
1353
1372
|
createdBy: z.ZodString;
|
1373
|
+
createdByRole: z.ZodString;
|
1354
1374
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1355
1375
|
filename: z.ZodString;
|
1356
1376
|
originalFilename: z.ZodString;
|
@@ -1588,8 +1608,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
1588
1608
|
type: "CREATE";
|
1589
1609
|
id: string;
|
1590
1610
|
status: "Rejected" | "Requested" | "Accepted";
|
1611
|
+
transactionId: string;
|
1591
1612
|
createdAt: string;
|
1592
1613
|
createdBy: string;
|
1614
|
+
createdByRole: string;
|
1593
1615
|
declaration: Record<string, string | number | boolean | {
|
1594
1616
|
type: string;
|
1595
1617
|
filename: string;
|
@@ -1672,8 +1694,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
1672
1694
|
type: "CREATE";
|
1673
1695
|
id: string;
|
1674
1696
|
status: "Rejected" | "Requested" | "Accepted";
|
1697
|
+
transactionId: string;
|
1675
1698
|
createdAt: string;
|
1676
1699
|
createdBy: string;
|
1700
|
+
createdByRole: string;
|
1677
1701
|
declaration: Record<string, string | number | boolean | {
|
1678
1702
|
type: string;
|
1679
1703
|
filename: string;
|
@@ -1754,8 +1778,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
1754
1778
|
originalActionId?: string | undefined;
|
1755
1779
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1756
1780
|
id: z.ZodString;
|
1781
|
+
transactionId: z.ZodString;
|
1757
1782
|
createdAt: z.ZodString;
|
1758
1783
|
createdBy: z.ZodString;
|
1784
|
+
createdByRole: z.ZodString;
|
1759
1785
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1760
1786
|
filename: z.ZodString;
|
1761
1787
|
originalFilename: z.ZodString;
|
@@ -1993,8 +2019,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
1993
2019
|
type: "VALIDATE";
|
1994
2020
|
id: string;
|
1995
2021
|
status: "Rejected" | "Requested" | "Accepted";
|
2022
|
+
transactionId: string;
|
1996
2023
|
createdAt: string;
|
1997
2024
|
createdBy: string;
|
2025
|
+
createdByRole: string;
|
1998
2026
|
declaration: Record<string, string | number | boolean | {
|
1999
2027
|
type: string;
|
2000
2028
|
filename: string;
|
@@ -2077,8 +2105,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2077
2105
|
type: "VALIDATE";
|
2078
2106
|
id: string;
|
2079
2107
|
status: "Rejected" | "Requested" | "Accepted";
|
2108
|
+
transactionId: string;
|
2080
2109
|
createdAt: string;
|
2081
2110
|
createdBy: string;
|
2111
|
+
createdByRole: string;
|
2082
2112
|
declaration: Record<string, string | number | boolean | {
|
2083
2113
|
type: string;
|
2084
2114
|
filename: string;
|
@@ -2159,8 +2189,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2159
2189
|
originalActionId?: string | undefined;
|
2160
2190
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2161
2191
|
id: z.ZodString;
|
2192
|
+
transactionId: z.ZodString;
|
2162
2193
|
createdAt: z.ZodString;
|
2163
2194
|
createdBy: z.ZodString;
|
2195
|
+
createdByRole: z.ZodString;
|
2164
2196
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2165
2197
|
filename: z.ZodString;
|
2166
2198
|
originalFilename: z.ZodString;
|
@@ -2398,8 +2430,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2398
2430
|
type: "REJECT";
|
2399
2431
|
id: string;
|
2400
2432
|
status: "Rejected" | "Requested" | "Accepted";
|
2433
|
+
transactionId: string;
|
2401
2434
|
createdAt: string;
|
2402
2435
|
createdBy: string;
|
2436
|
+
createdByRole: string;
|
2403
2437
|
declaration: Record<string, string | number | boolean | {
|
2404
2438
|
type: string;
|
2405
2439
|
filename: string;
|
@@ -2482,8 +2516,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2482
2516
|
type: "REJECT";
|
2483
2517
|
id: string;
|
2484
2518
|
status: "Rejected" | "Requested" | "Accepted";
|
2519
|
+
transactionId: string;
|
2485
2520
|
createdAt: string;
|
2486
2521
|
createdBy: string;
|
2522
|
+
createdByRole: string;
|
2487
2523
|
declaration: Record<string, string | number | boolean | {
|
2488
2524
|
type: string;
|
2489
2525
|
filename: string;
|
@@ -2564,8 +2600,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2564
2600
|
originalActionId?: string | undefined;
|
2565
2601
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2566
2602
|
id: z.ZodString;
|
2603
|
+
transactionId: z.ZodString;
|
2567
2604
|
createdAt: z.ZodString;
|
2568
2605
|
createdBy: z.ZodString;
|
2606
|
+
createdByRole: z.ZodString;
|
2569
2607
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2570
2608
|
filename: z.ZodString;
|
2571
2609
|
originalFilename: z.ZodString;
|
@@ -2803,8 +2841,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2803
2841
|
type: "MARKED_AS_DUPLICATE";
|
2804
2842
|
id: string;
|
2805
2843
|
status: "Rejected" | "Requested" | "Accepted";
|
2844
|
+
transactionId: string;
|
2806
2845
|
createdAt: string;
|
2807
2846
|
createdBy: string;
|
2847
|
+
createdByRole: string;
|
2808
2848
|
declaration: Record<string, string | number | boolean | {
|
2809
2849
|
type: string;
|
2810
2850
|
filename: string;
|
@@ -2887,8 +2927,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2887
2927
|
type: "MARKED_AS_DUPLICATE";
|
2888
2928
|
id: string;
|
2889
2929
|
status: "Rejected" | "Requested" | "Accepted";
|
2930
|
+
transactionId: string;
|
2890
2931
|
createdAt: string;
|
2891
2932
|
createdBy: string;
|
2933
|
+
createdByRole: string;
|
2892
2934
|
declaration: Record<string, string | number | boolean | {
|
2893
2935
|
type: string;
|
2894
2936
|
filename: string;
|
@@ -2969,8 +3011,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2969
3011
|
originalActionId?: string | undefined;
|
2970
3012
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2971
3013
|
id: z.ZodString;
|
3014
|
+
transactionId: z.ZodString;
|
2972
3015
|
createdAt: z.ZodString;
|
2973
3016
|
createdBy: z.ZodString;
|
3017
|
+
createdByRole: z.ZodString;
|
2974
3018
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2975
3019
|
filename: z.ZodString;
|
2976
3020
|
originalFilename: z.ZodString;
|
@@ -3208,8 +3252,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3208
3252
|
type: "ARCHIVE";
|
3209
3253
|
id: string;
|
3210
3254
|
status: "Rejected" | "Requested" | "Accepted";
|
3255
|
+
transactionId: string;
|
3211
3256
|
createdAt: string;
|
3212
3257
|
createdBy: string;
|
3258
|
+
createdByRole: string;
|
3213
3259
|
declaration: Record<string, string | number | boolean | {
|
3214
3260
|
type: string;
|
3215
3261
|
filename: string;
|
@@ -3292,8 +3338,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3292
3338
|
type: "ARCHIVE";
|
3293
3339
|
id: string;
|
3294
3340
|
status: "Rejected" | "Requested" | "Accepted";
|
3341
|
+
transactionId: string;
|
3295
3342
|
createdAt: string;
|
3296
3343
|
createdBy: string;
|
3344
|
+
createdByRole: string;
|
3297
3345
|
declaration: Record<string, string | number | boolean | {
|
3298
3346
|
type: string;
|
3299
3347
|
filename: string;
|
@@ -3374,8 +3422,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3374
3422
|
originalActionId?: string | undefined;
|
3375
3423
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3376
3424
|
id: z.ZodString;
|
3425
|
+
transactionId: z.ZodString;
|
3377
3426
|
createdAt: z.ZodString;
|
3378
3427
|
createdBy: z.ZodString;
|
3428
|
+
createdByRole: z.ZodString;
|
3379
3429
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3380
3430
|
filename: z.ZodString;
|
3381
3431
|
originalFilename: z.ZodString;
|
@@ -3613,8 +3663,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3613
3663
|
type: "NOTIFY";
|
3614
3664
|
id: string;
|
3615
3665
|
status: "Rejected" | "Requested" | "Accepted";
|
3666
|
+
transactionId: string;
|
3616
3667
|
createdAt: string;
|
3617
3668
|
createdBy: string;
|
3669
|
+
createdByRole: string;
|
3618
3670
|
declaration: Record<string, string | number | boolean | {
|
3619
3671
|
type: string;
|
3620
3672
|
filename: string;
|
@@ -3697,8 +3749,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3697
3749
|
type: "NOTIFY";
|
3698
3750
|
id: string;
|
3699
3751
|
status: "Rejected" | "Requested" | "Accepted";
|
3752
|
+
transactionId: string;
|
3700
3753
|
createdAt: string;
|
3701
3754
|
createdBy: string;
|
3755
|
+
createdByRole: string;
|
3702
3756
|
declaration: Record<string, string | number | boolean | {
|
3703
3757
|
type: string;
|
3704
3758
|
filename: string;
|
@@ -3779,8 +3833,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3779
3833
|
originalActionId?: string | undefined;
|
3780
3834
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3781
3835
|
id: z.ZodString;
|
3836
|
+
transactionId: z.ZodString;
|
3782
3837
|
createdAt: z.ZodString;
|
3783
3838
|
createdBy: z.ZodString;
|
3839
|
+
createdByRole: z.ZodString;
|
3784
3840
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3785
3841
|
filename: z.ZodString;
|
3786
3842
|
originalFilename: z.ZodString;
|
@@ -4019,8 +4075,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4019
4075
|
type: "REGISTER";
|
4020
4076
|
id: string;
|
4021
4077
|
status: "Rejected" | "Requested" | "Accepted";
|
4078
|
+
transactionId: string;
|
4022
4079
|
createdAt: string;
|
4023
4080
|
createdBy: string;
|
4081
|
+
createdByRole: string;
|
4024
4082
|
declaration: Record<string, string | number | boolean | {
|
4025
4083
|
type: string;
|
4026
4084
|
filename: string;
|
@@ -4104,8 +4162,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4104
4162
|
type: "REGISTER";
|
4105
4163
|
id: string;
|
4106
4164
|
status: "Rejected" | "Requested" | "Accepted";
|
4165
|
+
transactionId: string;
|
4107
4166
|
createdAt: string;
|
4108
4167
|
createdBy: string;
|
4168
|
+
createdByRole: string;
|
4109
4169
|
declaration: Record<string, string | number | boolean | {
|
4110
4170
|
type: string;
|
4111
4171
|
filename: string;
|
@@ -4187,8 +4247,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4187
4247
|
registrationNumber?: string | undefined;
|
4188
4248
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4189
4249
|
id: z.ZodString;
|
4250
|
+
transactionId: z.ZodString;
|
4190
4251
|
createdAt: z.ZodString;
|
4191
4252
|
createdBy: z.ZodString;
|
4253
|
+
createdByRole: z.ZodString;
|
4192
4254
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4193
4255
|
filename: z.ZodString;
|
4194
4256
|
originalFilename: z.ZodString;
|
@@ -4426,8 +4488,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4426
4488
|
type: "DECLARE";
|
4427
4489
|
id: string;
|
4428
4490
|
status: "Rejected" | "Requested" | "Accepted";
|
4491
|
+
transactionId: string;
|
4429
4492
|
createdAt: string;
|
4430
4493
|
createdBy: string;
|
4494
|
+
createdByRole: string;
|
4431
4495
|
declaration: Record<string, string | number | boolean | {
|
4432
4496
|
type: string;
|
4433
4497
|
filename: string;
|
@@ -4510,8 +4574,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4510
4574
|
type: "DECLARE";
|
4511
4575
|
id: string;
|
4512
4576
|
status: "Rejected" | "Requested" | "Accepted";
|
4577
|
+
transactionId: string;
|
4513
4578
|
createdAt: string;
|
4514
4579
|
createdBy: string;
|
4580
|
+
createdByRole: string;
|
4515
4581
|
declaration: Record<string, string | number | boolean | {
|
4516
4582
|
type: string;
|
4517
4583
|
filename: string;
|
@@ -4592,8 +4658,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4592
4658
|
originalActionId?: string | undefined;
|
4593
4659
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4594
4660
|
id: z.ZodString;
|
4661
|
+
transactionId: z.ZodString;
|
4595
4662
|
createdAt: z.ZodString;
|
4596
4663
|
createdBy: z.ZodString;
|
4664
|
+
createdByRole: z.ZodString;
|
4597
4665
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4598
4666
|
filename: z.ZodString;
|
4599
4667
|
originalFilename: z.ZodString;
|
@@ -4832,8 +4900,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4832
4900
|
type: "ASSIGN";
|
4833
4901
|
id: string;
|
4834
4902
|
status: "Rejected" | "Requested" | "Accepted";
|
4903
|
+
transactionId: string;
|
4835
4904
|
createdAt: string;
|
4836
4905
|
createdBy: string;
|
4906
|
+
createdByRole: string;
|
4837
4907
|
declaration: Record<string, string | number | boolean | {
|
4838
4908
|
type: string;
|
4839
4909
|
filename: string;
|
@@ -4917,8 +4987,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4917
4987
|
type: "ASSIGN";
|
4918
4988
|
id: string;
|
4919
4989
|
status: "Rejected" | "Requested" | "Accepted";
|
4990
|
+
transactionId: string;
|
4920
4991
|
createdAt: string;
|
4921
4992
|
createdBy: string;
|
4993
|
+
createdByRole: string;
|
4922
4994
|
declaration: Record<string, string | number | boolean | {
|
4923
4995
|
type: string;
|
4924
4996
|
filename: string;
|
@@ -5000,8 +5072,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5000
5072
|
originalActionId?: string | undefined;
|
5001
5073
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5002
5074
|
id: z.ZodString;
|
5075
|
+
transactionId: z.ZodString;
|
5003
5076
|
createdAt: z.ZodString;
|
5004
5077
|
createdBy: z.ZodString;
|
5078
|
+
createdByRole: z.ZodString;
|
5005
5079
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5006
5080
|
filename: z.ZodString;
|
5007
5081
|
originalFilename: z.ZodString;
|
@@ -5239,8 +5313,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5239
5313
|
type: "REQUEST_CORRECTION";
|
5240
5314
|
id: string;
|
5241
5315
|
status: "Rejected" | "Requested" | "Accepted";
|
5316
|
+
transactionId: string;
|
5242
5317
|
createdAt: string;
|
5243
5318
|
createdBy: string;
|
5319
|
+
createdByRole: string;
|
5244
5320
|
declaration: Record<string, string | number | boolean | {
|
5245
5321
|
type: string;
|
5246
5322
|
filename: string;
|
@@ -5323,8 +5399,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5323
5399
|
type: "REQUEST_CORRECTION";
|
5324
5400
|
id: string;
|
5325
5401
|
status: "Rejected" | "Requested" | "Accepted";
|
5402
|
+
transactionId: string;
|
5326
5403
|
createdAt: string;
|
5327
5404
|
createdBy: string;
|
5405
|
+
createdByRole: string;
|
5328
5406
|
declaration: Record<string, string | number | boolean | {
|
5329
5407
|
type: string;
|
5330
5408
|
filename: string;
|
@@ -5405,8 +5483,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5405
5483
|
originalActionId?: string | undefined;
|
5406
5484
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5407
5485
|
id: z.ZodString;
|
5486
|
+
transactionId: z.ZodString;
|
5408
5487
|
createdAt: z.ZodString;
|
5409
5488
|
createdBy: z.ZodString;
|
5489
|
+
createdByRole: z.ZodString;
|
5410
5490
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5411
5491
|
filename: z.ZodString;
|
5412
5492
|
originalFilename: z.ZodString;
|
@@ -5645,8 +5725,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5645
5725
|
type: "APPROVE_CORRECTION";
|
5646
5726
|
id: string;
|
5647
5727
|
status: "Rejected" | "Requested" | "Accepted";
|
5728
|
+
transactionId: string;
|
5648
5729
|
createdAt: string;
|
5649
5730
|
createdBy: string;
|
5731
|
+
createdByRole: string;
|
5650
5732
|
declaration: Record<string, string | number | boolean | {
|
5651
5733
|
type: string;
|
5652
5734
|
filename: string;
|
@@ -5730,8 +5812,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5730
5812
|
type: "APPROVE_CORRECTION";
|
5731
5813
|
id: string;
|
5732
5814
|
status: "Rejected" | "Requested" | "Accepted";
|
5815
|
+
transactionId: string;
|
5733
5816
|
createdAt: string;
|
5734
5817
|
createdBy: string;
|
5818
|
+
createdByRole: string;
|
5735
5819
|
declaration: Record<string, string | number | boolean | {
|
5736
5820
|
type: string;
|
5737
5821
|
filename: string;
|
@@ -5813,8 +5897,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5813
5897
|
originalActionId?: string | undefined;
|
5814
5898
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5815
5899
|
id: z.ZodString;
|
5900
|
+
transactionId: z.ZodString;
|
5816
5901
|
createdAt: z.ZodString;
|
5817
5902
|
createdBy: z.ZodString;
|
5903
|
+
createdByRole: z.ZodString;
|
5818
5904
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5819
5905
|
filename: z.ZodString;
|
5820
5906
|
originalFilename: z.ZodString;
|
@@ -6053,8 +6139,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6053
6139
|
type: "REJECT_CORRECTION";
|
6054
6140
|
id: string;
|
6055
6141
|
status: "Rejected" | "Requested" | "Accepted";
|
6142
|
+
transactionId: string;
|
6056
6143
|
createdAt: string;
|
6057
6144
|
createdBy: string;
|
6145
|
+
createdByRole: string;
|
6058
6146
|
declaration: Record<string, string | number | boolean | {
|
6059
6147
|
type: string;
|
6060
6148
|
filename: string;
|
@@ -6138,8 +6226,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6138
6226
|
type: "REJECT_CORRECTION";
|
6139
6227
|
id: string;
|
6140
6228
|
status: "Rejected" | "Requested" | "Accepted";
|
6229
|
+
transactionId: string;
|
6141
6230
|
createdAt: string;
|
6142
6231
|
createdBy: string;
|
6232
|
+
createdByRole: string;
|
6143
6233
|
declaration: Record<string, string | number | boolean | {
|
6144
6234
|
type: string;
|
6145
6235
|
filename: string;
|
@@ -6221,8 +6311,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6221
6311
|
originalActionId?: string | undefined;
|
6222
6312
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6223
6313
|
id: z.ZodString;
|
6314
|
+
transactionId: z.ZodString;
|
6224
6315
|
createdAt: z.ZodString;
|
6225
6316
|
createdBy: z.ZodString;
|
6317
|
+
createdByRole: z.ZodString;
|
6226
6318
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6227
6319
|
filename: z.ZodString;
|
6228
6320
|
originalFilename: z.ZodString;
|
@@ -6456,12 +6548,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6456
6548
|
originalActionId: z.ZodOptional<z.ZodString>;
|
6457
6549
|
}, {
|
6458
6550
|
type: z.ZodLiteral<"UNASSIGN">;
|
6551
|
+
assignedTo: z.ZodLiteral<null>;
|
6459
6552
|
}>, "strip", z.ZodTypeAny, {
|
6460
6553
|
type: "UNASSIGN";
|
6461
6554
|
id: string;
|
6462
6555
|
status: "Rejected" | "Requested" | "Accepted";
|
6556
|
+
transactionId: string;
|
6463
6557
|
createdAt: string;
|
6464
6558
|
createdBy: string;
|
6559
|
+
createdByRole: string;
|
6465
6560
|
declaration: Record<string, string | number | boolean | {
|
6466
6561
|
type: string;
|
6467
6562
|
filename: string;
|
@@ -6501,6 +6596,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6501
6596
|
originalFilename: string;
|
6502
6597
|
}[] | undefined>;
|
6503
6598
|
createdAtLocation: string;
|
6599
|
+
assignedTo: null;
|
6504
6600
|
annotation?: Record<string, string | number | boolean | {
|
6505
6601
|
type: string;
|
6506
6602
|
filename: string;
|
@@ -6544,8 +6640,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6544
6640
|
type: "UNASSIGN";
|
6545
6641
|
id: string;
|
6546
6642
|
status: "Rejected" | "Requested" | "Accepted";
|
6643
|
+
transactionId: string;
|
6547
6644
|
createdAt: string;
|
6548
6645
|
createdBy: string;
|
6646
|
+
createdByRole: string;
|
6549
6647
|
declaration: Record<string, string | number | boolean | {
|
6550
6648
|
type: string;
|
6551
6649
|
filename: string;
|
@@ -6585,6 +6683,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6585
6683
|
originalFilename: string;
|
6586
6684
|
}[] | undefined>;
|
6587
6685
|
createdAtLocation: string;
|
6686
|
+
assignedTo: null;
|
6588
6687
|
annotation?: Record<string, string | number | boolean | {
|
6589
6688
|
type: string;
|
6590
6689
|
filename: string;
|
@@ -6626,8 +6725,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6626
6725
|
originalActionId?: string | undefined;
|
6627
6726
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6628
6727
|
id: z.ZodString;
|
6728
|
+
transactionId: z.ZodString;
|
6629
6729
|
createdAt: z.ZodString;
|
6630
6730
|
createdBy: z.ZodString;
|
6731
|
+
createdByRole: z.ZodString;
|
6631
6732
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6632
6733
|
filename: z.ZodString;
|
6633
6734
|
originalFilename: z.ZodString;
|
@@ -6865,8 +6966,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6865
6966
|
type: "PRINT_CERTIFICATE";
|
6866
6967
|
id: string;
|
6867
6968
|
status: "Rejected" | "Requested" | "Accepted";
|
6969
|
+
transactionId: string;
|
6868
6970
|
createdAt: string;
|
6869
6971
|
createdBy: string;
|
6972
|
+
createdByRole: string;
|
6870
6973
|
declaration: Record<string, string | number | boolean | {
|
6871
6974
|
type: string;
|
6872
6975
|
filename: string;
|
@@ -6949,8 +7052,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6949
7052
|
type: "PRINT_CERTIFICATE";
|
6950
7053
|
id: string;
|
6951
7054
|
status: "Rejected" | "Requested" | "Accepted";
|
7055
|
+
transactionId: string;
|
6952
7056
|
createdAt: string;
|
6953
7057
|
createdBy: string;
|
7058
|
+
createdByRole: string;
|
6954
7059
|
declaration: Record<string, string | number | boolean | {
|
6955
7060
|
type: string;
|
6956
7061
|
filename: string;
|
@@ -7031,8 +7136,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7031
7136
|
originalActionId?: string | undefined;
|
7032
7137
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7033
7138
|
id: z.ZodString;
|
7139
|
+
transactionId: z.ZodString;
|
7034
7140
|
createdAt: z.ZodString;
|
7035
7141
|
createdBy: z.ZodString;
|
7142
|
+
createdByRole: z.ZodString;
|
7036
7143
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7037
7144
|
filename: z.ZodString;
|
7038
7145
|
originalFilename: z.ZodString;
|
@@ -7270,8 +7377,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7270
7377
|
type: "READ";
|
7271
7378
|
id: string;
|
7272
7379
|
status: "Rejected" | "Requested" | "Accepted";
|
7380
|
+
transactionId: string;
|
7273
7381
|
createdAt: string;
|
7274
7382
|
createdBy: string;
|
7383
|
+
createdByRole: string;
|
7275
7384
|
declaration: Record<string, string | number | boolean | {
|
7276
7385
|
type: string;
|
7277
7386
|
filename: string;
|
@@ -7354,8 +7463,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7354
7463
|
type: "READ";
|
7355
7464
|
id: string;
|
7356
7465
|
status: "Rejected" | "Requested" | "Accepted";
|
7466
|
+
transactionId: string;
|
7357
7467
|
createdAt: string;
|
7358
7468
|
createdBy: string;
|
7469
|
+
createdByRole: string;
|
7359
7470
|
declaration: Record<string, string | number | boolean | {
|
7360
7471
|
type: string;
|
7361
7472
|
filename: string;
|
@@ -7438,8 +7549,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7438
7549
|
export type ActionDocument = z.infer<typeof ActionDocument>;
|
7439
7550
|
export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
7440
7551
|
id: z.ZodString;
|
7552
|
+
transactionId: z.ZodString;
|
7441
7553
|
createdAt: z.ZodString;
|
7442
7554
|
createdBy: z.ZodString;
|
7555
|
+
createdByRole: z.ZodString;
|
7443
7556
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7444
7557
|
filename: z.ZodString;
|
7445
7558
|
originalFilename: z.ZodString;
|
@@ -7671,27 +7784,31 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
|
|
7671
7784
|
createdAtLocation: z.ZodString;
|
7672
7785
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
7673
7786
|
originalActionId: z.ZodOptional<z.ZodString>;
|
7674
|
-
}, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
|
7787
|
+
}, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
|
7675
7788
|
type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
|
7676
7789
|
status: z.ZodLiteral<"Rejected">;
|
7677
7790
|
}>, "strip", z.ZodTypeAny, {
|
7678
7791
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
7679
7792
|
id: string;
|
7680
7793
|
status: "Rejected";
|
7794
|
+
transactionId: string;
|
7681
7795
|
createdAt: string;
|
7682
7796
|
originalActionId?: string | undefined;
|
7683
7797
|
}, {
|
7684
7798
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
7685
7799
|
id: string;
|
7686
7800
|
status: "Rejected";
|
7801
|
+
transactionId: string;
|
7687
7802
|
createdAt: string;
|
7688
7803
|
originalActionId?: string | undefined;
|
7689
7804
|
}>;
|
7690
7805
|
export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
|
7691
7806
|
export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
7692
7807
|
id: z.ZodString;
|
7808
|
+
transactionId: z.ZodString;
|
7693
7809
|
createdAt: z.ZodString;
|
7694
7810
|
createdBy: z.ZodString;
|
7811
|
+
createdByRole: z.ZodString;
|
7695
7812
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7696
7813
|
filename: z.ZodString;
|
7697
7814
|
originalFilename: z.ZodString;
|
@@ -7929,8 +8046,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
7929
8046
|
type: "CREATE";
|
7930
8047
|
id: string;
|
7931
8048
|
status: "Rejected" | "Requested" | "Accepted";
|
8049
|
+
transactionId: string;
|
7932
8050
|
createdAt: string;
|
7933
8051
|
createdBy: string;
|
8052
|
+
createdByRole: string;
|
7934
8053
|
declaration: Record<string, string | number | boolean | {
|
7935
8054
|
type: string;
|
7936
8055
|
filename: string;
|
@@ -8013,8 +8132,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
8013
8132
|
type: "CREATE";
|
8014
8133
|
id: string;
|
8015
8134
|
status: "Rejected" | "Requested" | "Accepted";
|
8135
|
+
transactionId: string;
|
8016
8136
|
createdAt: string;
|
8017
8137
|
createdBy: string;
|
8138
|
+
createdByRole: string;
|
8018
8139
|
declaration: Record<string, string | number | boolean | {
|
8019
8140
|
type: string;
|
8020
8141
|
filename: string;
|
@@ -8095,8 +8216,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
8095
8216
|
originalActionId?: string | undefined;
|
8096
8217
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8097
8218
|
id: z.ZodString;
|
8219
|
+
transactionId: z.ZodString;
|
8098
8220
|
createdAt: z.ZodString;
|
8099
8221
|
createdBy: z.ZodString;
|
8222
|
+
createdByRole: z.ZodString;
|
8100
8223
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8101
8224
|
filename: z.ZodString;
|
8102
8225
|
originalFilename: z.ZodString;
|
@@ -8334,8 +8457,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
8334
8457
|
type: "VALIDATE";
|
8335
8458
|
id: string;
|
8336
8459
|
status: "Rejected" | "Requested" | "Accepted";
|
8460
|
+
transactionId: string;
|
8337
8461
|
createdAt: string;
|
8338
8462
|
createdBy: string;
|
8463
|
+
createdByRole: string;
|
8339
8464
|
declaration: Record<string, string | number | boolean | {
|
8340
8465
|
type: string;
|
8341
8466
|
filename: string;
|
@@ -8418,8 +8543,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
8418
8543
|
type: "VALIDATE";
|
8419
8544
|
id: string;
|
8420
8545
|
status: "Rejected" | "Requested" | "Accepted";
|
8546
|
+
transactionId: string;
|
8421
8547
|
createdAt: string;
|
8422
8548
|
createdBy: string;
|
8549
|
+
createdByRole: string;
|
8423
8550
|
declaration: Record<string, string | number | boolean | {
|
8424
8551
|
type: string;
|
8425
8552
|
filename: string;
|
@@ -8500,8 +8627,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
8500
8627
|
originalActionId?: string | undefined;
|
8501
8628
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8502
8629
|
id: z.ZodString;
|
8630
|
+
transactionId: z.ZodString;
|
8503
8631
|
createdAt: z.ZodString;
|
8504
8632
|
createdBy: z.ZodString;
|
8633
|
+
createdByRole: z.ZodString;
|
8505
8634
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8506
8635
|
filename: z.ZodString;
|
8507
8636
|
originalFilename: z.ZodString;
|
@@ -8739,8 +8868,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
8739
8868
|
type: "REJECT";
|
8740
8869
|
id: string;
|
8741
8870
|
status: "Rejected" | "Requested" | "Accepted";
|
8871
|
+
transactionId: string;
|
8742
8872
|
createdAt: string;
|
8743
8873
|
createdBy: string;
|
8874
|
+
createdByRole: string;
|
8744
8875
|
declaration: Record<string, string | number | boolean | {
|
8745
8876
|
type: string;
|
8746
8877
|
filename: string;
|
@@ -8823,8 +8954,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
8823
8954
|
type: "REJECT";
|
8824
8955
|
id: string;
|
8825
8956
|
status: "Rejected" | "Requested" | "Accepted";
|
8957
|
+
transactionId: string;
|
8826
8958
|
createdAt: string;
|
8827
8959
|
createdBy: string;
|
8960
|
+
createdByRole: string;
|
8828
8961
|
declaration: Record<string, string | number | boolean | {
|
8829
8962
|
type: string;
|
8830
8963
|
filename: string;
|
@@ -8905,8 +9038,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
8905
9038
|
originalActionId?: string | undefined;
|
8906
9039
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8907
9040
|
id: z.ZodString;
|
9041
|
+
transactionId: z.ZodString;
|
8908
9042
|
createdAt: z.ZodString;
|
8909
9043
|
createdBy: z.ZodString;
|
9044
|
+
createdByRole: z.ZodString;
|
8910
9045
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8911
9046
|
filename: z.ZodString;
|
8912
9047
|
originalFilename: z.ZodString;
|
@@ -9144,8 +9279,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
9144
9279
|
type: "MARKED_AS_DUPLICATE";
|
9145
9280
|
id: string;
|
9146
9281
|
status: "Rejected" | "Requested" | "Accepted";
|
9282
|
+
transactionId: string;
|
9147
9283
|
createdAt: string;
|
9148
9284
|
createdBy: string;
|
9285
|
+
createdByRole: string;
|
9149
9286
|
declaration: Record<string, string | number | boolean | {
|
9150
9287
|
type: string;
|
9151
9288
|
filename: string;
|
@@ -9228,8 +9365,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
9228
9365
|
type: "MARKED_AS_DUPLICATE";
|
9229
9366
|
id: string;
|
9230
9367
|
status: "Rejected" | "Requested" | "Accepted";
|
9368
|
+
transactionId: string;
|
9231
9369
|
createdAt: string;
|
9232
9370
|
createdBy: string;
|
9371
|
+
createdByRole: string;
|
9233
9372
|
declaration: Record<string, string | number | boolean | {
|
9234
9373
|
type: string;
|
9235
9374
|
filename: string;
|
@@ -9310,8 +9449,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
9310
9449
|
originalActionId?: string | undefined;
|
9311
9450
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9312
9451
|
id: z.ZodString;
|
9452
|
+
transactionId: z.ZodString;
|
9313
9453
|
createdAt: z.ZodString;
|
9314
9454
|
createdBy: z.ZodString;
|
9455
|
+
createdByRole: z.ZodString;
|
9315
9456
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
9316
9457
|
filename: z.ZodString;
|
9317
9458
|
originalFilename: z.ZodString;
|
@@ -9549,8 +9690,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
9549
9690
|
type: "ARCHIVE";
|
9550
9691
|
id: string;
|
9551
9692
|
status: "Rejected" | "Requested" | "Accepted";
|
9693
|
+
transactionId: string;
|
9552
9694
|
createdAt: string;
|
9553
9695
|
createdBy: string;
|
9696
|
+
createdByRole: string;
|
9554
9697
|
declaration: Record<string, string | number | boolean | {
|
9555
9698
|
type: string;
|
9556
9699
|
filename: string;
|
@@ -9633,8 +9776,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
9633
9776
|
type: "ARCHIVE";
|
9634
9777
|
id: string;
|
9635
9778
|
status: "Rejected" | "Requested" | "Accepted";
|
9779
|
+
transactionId: string;
|
9636
9780
|
createdAt: string;
|
9637
9781
|
createdBy: string;
|
9782
|
+
createdByRole: string;
|
9638
9783
|
declaration: Record<string, string | number | boolean | {
|
9639
9784
|
type: string;
|
9640
9785
|
filename: string;
|
@@ -9715,8 +9860,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
9715
9860
|
originalActionId?: string | undefined;
|
9716
9861
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9717
9862
|
id: z.ZodString;
|
9863
|
+
transactionId: z.ZodString;
|
9718
9864
|
createdAt: z.ZodString;
|
9719
9865
|
createdBy: z.ZodString;
|
9866
|
+
createdByRole: z.ZodString;
|
9720
9867
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
9721
9868
|
filename: z.ZodString;
|
9722
9869
|
originalFilename: z.ZodString;
|
@@ -9954,8 +10101,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
9954
10101
|
type: "NOTIFY";
|
9955
10102
|
id: string;
|
9956
10103
|
status: "Rejected" | "Requested" | "Accepted";
|
10104
|
+
transactionId: string;
|
9957
10105
|
createdAt: string;
|
9958
10106
|
createdBy: string;
|
10107
|
+
createdByRole: string;
|
9959
10108
|
declaration: Record<string, string | number | boolean | {
|
9960
10109
|
type: string;
|
9961
10110
|
filename: string;
|
@@ -10038,8 +10187,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10038
10187
|
type: "NOTIFY";
|
10039
10188
|
id: string;
|
10040
10189
|
status: "Rejected" | "Requested" | "Accepted";
|
10190
|
+
transactionId: string;
|
10041
10191
|
createdAt: string;
|
10042
10192
|
createdBy: string;
|
10193
|
+
createdByRole: string;
|
10043
10194
|
declaration: Record<string, string | number | boolean | {
|
10044
10195
|
type: string;
|
10045
10196
|
filename: string;
|
@@ -10120,8 +10271,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10120
10271
|
originalActionId?: string | undefined;
|
10121
10272
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10122
10273
|
id: z.ZodString;
|
10274
|
+
transactionId: z.ZodString;
|
10123
10275
|
createdAt: z.ZodString;
|
10124
10276
|
createdBy: z.ZodString;
|
10277
|
+
createdByRole: z.ZodString;
|
10125
10278
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
10126
10279
|
filename: z.ZodString;
|
10127
10280
|
originalFilename: z.ZodString;
|
@@ -10360,8 +10513,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10360
10513
|
type: "REGISTER";
|
10361
10514
|
id: string;
|
10362
10515
|
status: "Rejected" | "Requested" | "Accepted";
|
10516
|
+
transactionId: string;
|
10363
10517
|
createdAt: string;
|
10364
10518
|
createdBy: string;
|
10519
|
+
createdByRole: string;
|
10365
10520
|
declaration: Record<string, string | number | boolean | {
|
10366
10521
|
type: string;
|
10367
10522
|
filename: string;
|
@@ -10445,8 +10600,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10445
10600
|
type: "REGISTER";
|
10446
10601
|
id: string;
|
10447
10602
|
status: "Rejected" | "Requested" | "Accepted";
|
10603
|
+
transactionId: string;
|
10448
10604
|
createdAt: string;
|
10449
10605
|
createdBy: string;
|
10606
|
+
createdByRole: string;
|
10450
10607
|
declaration: Record<string, string | number | boolean | {
|
10451
10608
|
type: string;
|
10452
10609
|
filename: string;
|
@@ -10528,8 +10685,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10528
10685
|
registrationNumber?: string | undefined;
|
10529
10686
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10530
10687
|
id: z.ZodString;
|
10688
|
+
transactionId: z.ZodString;
|
10531
10689
|
createdAt: z.ZodString;
|
10532
10690
|
createdBy: z.ZodString;
|
10691
|
+
createdByRole: z.ZodString;
|
10533
10692
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
10534
10693
|
filename: z.ZodString;
|
10535
10694
|
originalFilename: z.ZodString;
|
@@ -10767,8 +10926,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10767
10926
|
type: "DECLARE";
|
10768
10927
|
id: string;
|
10769
10928
|
status: "Rejected" | "Requested" | "Accepted";
|
10929
|
+
transactionId: string;
|
10770
10930
|
createdAt: string;
|
10771
10931
|
createdBy: string;
|
10932
|
+
createdByRole: string;
|
10772
10933
|
declaration: Record<string, string | number | boolean | {
|
10773
10934
|
type: string;
|
10774
10935
|
filename: string;
|
@@ -10851,8 +11012,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10851
11012
|
type: "DECLARE";
|
10852
11013
|
id: string;
|
10853
11014
|
status: "Rejected" | "Requested" | "Accepted";
|
11015
|
+
transactionId: string;
|
10854
11016
|
createdAt: string;
|
10855
11017
|
createdBy: string;
|
11018
|
+
createdByRole: string;
|
10856
11019
|
declaration: Record<string, string | number | boolean | {
|
10857
11020
|
type: string;
|
10858
11021
|
filename: string;
|
@@ -10933,8 +11096,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10933
11096
|
originalActionId?: string | undefined;
|
10934
11097
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10935
11098
|
id: z.ZodString;
|
11099
|
+
transactionId: z.ZodString;
|
10936
11100
|
createdAt: z.ZodString;
|
10937
11101
|
createdBy: z.ZodString;
|
11102
|
+
createdByRole: z.ZodString;
|
10938
11103
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
10939
11104
|
filename: z.ZodString;
|
10940
11105
|
originalFilename: z.ZodString;
|
@@ -11173,8 +11338,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11173
11338
|
type: "ASSIGN";
|
11174
11339
|
id: string;
|
11175
11340
|
status: "Rejected" | "Requested" | "Accepted";
|
11341
|
+
transactionId: string;
|
11176
11342
|
createdAt: string;
|
11177
11343
|
createdBy: string;
|
11344
|
+
createdByRole: string;
|
11178
11345
|
declaration: Record<string, string | number | boolean | {
|
11179
11346
|
type: string;
|
11180
11347
|
filename: string;
|
@@ -11258,8 +11425,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11258
11425
|
type: "ASSIGN";
|
11259
11426
|
id: string;
|
11260
11427
|
status: "Rejected" | "Requested" | "Accepted";
|
11428
|
+
transactionId: string;
|
11261
11429
|
createdAt: string;
|
11262
11430
|
createdBy: string;
|
11431
|
+
createdByRole: string;
|
11263
11432
|
declaration: Record<string, string | number | boolean | {
|
11264
11433
|
type: string;
|
11265
11434
|
filename: string;
|
@@ -11341,8 +11510,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11341
11510
|
originalActionId?: string | undefined;
|
11342
11511
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
11343
11512
|
id: z.ZodString;
|
11513
|
+
transactionId: z.ZodString;
|
11344
11514
|
createdAt: z.ZodString;
|
11345
11515
|
createdBy: z.ZodString;
|
11516
|
+
createdByRole: z.ZodString;
|
11346
11517
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
11347
11518
|
filename: z.ZodString;
|
11348
11519
|
originalFilename: z.ZodString;
|
@@ -11580,8 +11751,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11580
11751
|
type: "REQUEST_CORRECTION";
|
11581
11752
|
id: string;
|
11582
11753
|
status: "Rejected" | "Requested" | "Accepted";
|
11754
|
+
transactionId: string;
|
11583
11755
|
createdAt: string;
|
11584
11756
|
createdBy: string;
|
11757
|
+
createdByRole: string;
|
11585
11758
|
declaration: Record<string, string | number | boolean | {
|
11586
11759
|
type: string;
|
11587
11760
|
filename: string;
|
@@ -11664,8 +11837,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11664
11837
|
type: "REQUEST_CORRECTION";
|
11665
11838
|
id: string;
|
11666
11839
|
status: "Rejected" | "Requested" | "Accepted";
|
11840
|
+
transactionId: string;
|
11667
11841
|
createdAt: string;
|
11668
11842
|
createdBy: string;
|
11843
|
+
createdByRole: string;
|
11669
11844
|
declaration: Record<string, string | number | boolean | {
|
11670
11845
|
type: string;
|
11671
11846
|
filename: string;
|
@@ -11746,8 +11921,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11746
11921
|
originalActionId?: string | undefined;
|
11747
11922
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
11748
11923
|
id: z.ZodString;
|
11924
|
+
transactionId: z.ZodString;
|
11749
11925
|
createdAt: z.ZodString;
|
11750
11926
|
createdBy: z.ZodString;
|
11927
|
+
createdByRole: z.ZodString;
|
11751
11928
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
11752
11929
|
filename: z.ZodString;
|
11753
11930
|
originalFilename: z.ZodString;
|
@@ -11986,8 +12163,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11986
12163
|
type: "APPROVE_CORRECTION";
|
11987
12164
|
id: string;
|
11988
12165
|
status: "Rejected" | "Requested" | "Accepted";
|
12166
|
+
transactionId: string;
|
11989
12167
|
createdAt: string;
|
11990
12168
|
createdBy: string;
|
12169
|
+
createdByRole: string;
|
11991
12170
|
declaration: Record<string, string | number | boolean | {
|
11992
12171
|
type: string;
|
11993
12172
|
filename: string;
|
@@ -12071,8 +12250,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12071
12250
|
type: "APPROVE_CORRECTION";
|
12072
12251
|
id: string;
|
12073
12252
|
status: "Rejected" | "Requested" | "Accepted";
|
12253
|
+
transactionId: string;
|
12074
12254
|
createdAt: string;
|
12075
12255
|
createdBy: string;
|
12256
|
+
createdByRole: string;
|
12076
12257
|
declaration: Record<string, string | number | boolean | {
|
12077
12258
|
type: string;
|
12078
12259
|
filename: string;
|
@@ -12154,8 +12335,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12154
12335
|
originalActionId?: string | undefined;
|
12155
12336
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
12156
12337
|
id: z.ZodString;
|
12338
|
+
transactionId: z.ZodString;
|
12157
12339
|
createdAt: z.ZodString;
|
12158
12340
|
createdBy: z.ZodString;
|
12341
|
+
createdByRole: z.ZodString;
|
12159
12342
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
12160
12343
|
filename: z.ZodString;
|
12161
12344
|
originalFilename: z.ZodString;
|
@@ -12394,8 +12577,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12394
12577
|
type: "REJECT_CORRECTION";
|
12395
12578
|
id: string;
|
12396
12579
|
status: "Rejected" | "Requested" | "Accepted";
|
12580
|
+
transactionId: string;
|
12397
12581
|
createdAt: string;
|
12398
12582
|
createdBy: string;
|
12583
|
+
createdByRole: string;
|
12399
12584
|
declaration: Record<string, string | number | boolean | {
|
12400
12585
|
type: string;
|
12401
12586
|
filename: string;
|
@@ -12479,8 +12664,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12479
12664
|
type: "REJECT_CORRECTION";
|
12480
12665
|
id: string;
|
12481
12666
|
status: "Rejected" | "Requested" | "Accepted";
|
12667
|
+
transactionId: string;
|
12482
12668
|
createdAt: string;
|
12483
12669
|
createdBy: string;
|
12670
|
+
createdByRole: string;
|
12484
12671
|
declaration: Record<string, string | number | boolean | {
|
12485
12672
|
type: string;
|
12486
12673
|
filename: string;
|
@@ -12562,8 +12749,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12562
12749
|
originalActionId?: string | undefined;
|
12563
12750
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
12564
12751
|
id: z.ZodString;
|
12752
|
+
transactionId: z.ZodString;
|
12565
12753
|
createdAt: z.ZodString;
|
12566
12754
|
createdBy: z.ZodString;
|
12755
|
+
createdByRole: z.ZodString;
|
12567
12756
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
12568
12757
|
filename: z.ZodString;
|
12569
12758
|
originalFilename: z.ZodString;
|
@@ -12797,12 +12986,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12797
12986
|
originalActionId: z.ZodOptional<z.ZodString>;
|
12798
12987
|
}, {
|
12799
12988
|
type: z.ZodLiteral<"UNASSIGN">;
|
12989
|
+
assignedTo: z.ZodLiteral<null>;
|
12800
12990
|
}>, "strip", z.ZodTypeAny, {
|
12801
12991
|
type: "UNASSIGN";
|
12802
12992
|
id: string;
|
12803
12993
|
status: "Rejected" | "Requested" | "Accepted";
|
12994
|
+
transactionId: string;
|
12804
12995
|
createdAt: string;
|
12805
12996
|
createdBy: string;
|
12997
|
+
createdByRole: string;
|
12806
12998
|
declaration: Record<string, string | number | boolean | {
|
12807
12999
|
type: string;
|
12808
13000
|
filename: string;
|
@@ -12842,6 +13034,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12842
13034
|
originalFilename: string;
|
12843
13035
|
}[] | undefined>;
|
12844
13036
|
createdAtLocation: string;
|
13037
|
+
assignedTo: null;
|
12845
13038
|
annotation?: Record<string, string | number | boolean | {
|
12846
13039
|
type: string;
|
12847
13040
|
filename: string;
|
@@ -12885,8 +13078,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12885
13078
|
type: "UNASSIGN";
|
12886
13079
|
id: string;
|
12887
13080
|
status: "Rejected" | "Requested" | "Accepted";
|
13081
|
+
transactionId: string;
|
12888
13082
|
createdAt: string;
|
12889
13083
|
createdBy: string;
|
13084
|
+
createdByRole: string;
|
12890
13085
|
declaration: Record<string, string | number | boolean | {
|
12891
13086
|
type: string;
|
12892
13087
|
filename: string;
|
@@ -12926,6 +13121,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12926
13121
|
originalFilename: string;
|
12927
13122
|
}[] | undefined>;
|
12928
13123
|
createdAtLocation: string;
|
13124
|
+
assignedTo: null;
|
12929
13125
|
annotation?: Record<string, string | number | boolean | {
|
12930
13126
|
type: string;
|
12931
13127
|
filename: string;
|
@@ -12967,8 +13163,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12967
13163
|
originalActionId?: string | undefined;
|
12968
13164
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
12969
13165
|
id: z.ZodString;
|
13166
|
+
transactionId: z.ZodString;
|
12970
13167
|
createdAt: z.ZodString;
|
12971
13168
|
createdBy: z.ZodString;
|
13169
|
+
createdByRole: z.ZodString;
|
12972
13170
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
12973
13171
|
filename: z.ZodString;
|
12974
13172
|
originalFilename: z.ZodString;
|
@@ -13206,8 +13404,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13206
13404
|
type: "PRINT_CERTIFICATE";
|
13207
13405
|
id: string;
|
13208
13406
|
status: "Rejected" | "Requested" | "Accepted";
|
13407
|
+
transactionId: string;
|
13209
13408
|
createdAt: string;
|
13210
13409
|
createdBy: string;
|
13410
|
+
createdByRole: string;
|
13211
13411
|
declaration: Record<string, string | number | boolean | {
|
13212
13412
|
type: string;
|
13213
13413
|
filename: string;
|
@@ -13290,8 +13490,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13290
13490
|
type: "PRINT_CERTIFICATE";
|
13291
13491
|
id: string;
|
13292
13492
|
status: "Rejected" | "Requested" | "Accepted";
|
13493
|
+
transactionId: string;
|
13293
13494
|
createdAt: string;
|
13294
13495
|
createdBy: string;
|
13496
|
+
createdByRole: string;
|
13295
13497
|
declaration: Record<string, string | number | boolean | {
|
13296
13498
|
type: string;
|
13297
13499
|
filename: string;
|
@@ -13372,8 +13574,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13372
13574
|
originalActionId?: string | undefined;
|
13373
13575
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
13374
13576
|
id: z.ZodString;
|
13577
|
+
transactionId: z.ZodString;
|
13375
13578
|
createdAt: z.ZodString;
|
13376
13579
|
createdBy: z.ZodString;
|
13580
|
+
createdByRole: z.ZodString;
|
13377
13581
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
13378
13582
|
filename: z.ZodString;
|
13379
13583
|
originalFilename: z.ZodString;
|
@@ -13611,8 +13815,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13611
13815
|
type: "READ";
|
13612
13816
|
id: string;
|
13613
13817
|
status: "Rejected" | "Requested" | "Accepted";
|
13818
|
+
transactionId: string;
|
13614
13819
|
createdAt: string;
|
13615
13820
|
createdBy: string;
|
13821
|
+
createdByRole: string;
|
13616
13822
|
declaration: Record<string, string | number | boolean | {
|
13617
13823
|
type: string;
|
13618
13824
|
filename: string;
|
@@ -13695,8 +13901,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13695
13901
|
type: "READ";
|
13696
13902
|
id: string;
|
13697
13903
|
status: "Rejected" | "Requested" | "Accepted";
|
13904
|
+
transactionId: string;
|
13698
13905
|
createdAt: string;
|
13699
13906
|
createdBy: string;
|
13907
|
+
createdByRole: string;
|
13700
13908
|
declaration: Record<string, string | number | boolean | {
|
13701
13909
|
type: string;
|
13702
13910
|
filename: string;
|
@@ -13777,8 +13985,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13777
13985
|
originalActionId?: string | undefined;
|
13778
13986
|
}>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
13779
13987
|
id: z.ZodString;
|
13988
|
+
transactionId: z.ZodString;
|
13780
13989
|
createdAt: z.ZodString;
|
13781
13990
|
createdBy: z.ZodString;
|
13991
|
+
createdByRole: z.ZodString;
|
13782
13992
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
13783
13993
|
filename: z.ZodString;
|
13784
13994
|
originalFilename: z.ZodString;
|
@@ -14010,19 +14220,21 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
14010
14220
|
createdAtLocation: z.ZodString;
|
14011
14221
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
14012
14222
|
originalActionId: z.ZodOptional<z.ZodString>;
|
14013
|
-
}, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
|
14223
|
+
}, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
|
14014
14224
|
type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
|
14015
14225
|
status: z.ZodLiteral<"Rejected">;
|
14016
14226
|
}>, "strip", z.ZodTypeAny, {
|
14017
14227
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
14018
14228
|
id: string;
|
14019
14229
|
status: "Rejected";
|
14230
|
+
transactionId: string;
|
14020
14231
|
createdAt: string;
|
14021
14232
|
originalActionId?: string | undefined;
|
14022
14233
|
}, {
|
14023
14234
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
14024
14235
|
id: string;
|
14025
14236
|
status: "Rejected";
|
14237
|
+
transactionId: string;
|
14026
14238
|
createdAt: string;
|
14027
14239
|
originalActionId?: string | undefined;
|
14028
14240
|
}>]>;
|