@opencrvs/toolkit 1.8.1-rc.5530ede → 1.8.1-rc.5c415ba
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 +432 -0
- package/dist/commons/conditionals/validate.d.ts +3 -2
- package/dist/commons/events/ActionDocument.d.ts +695 -0
- package/dist/commons/events/ActionInput.d.ts +576 -0
- package/dist/commons/events/Draft.d.ts +44 -0
- package/dist/commons/events/EventDocument.d.ts +442 -0
- package/dist/commons/events/EventIndex.d.ts +6 -0
- package/dist/commons/events/EventMetadata.d.ts +6 -0
- package/dist/commons/events/event.d.ts +55 -1
- package/dist/commons/events/test.utils.d.ts +5 -1
- package/dist/commons/events/utils.d.ts +4 -0
- package/dist/events/index.js +133 -34
- package/package.json +1 -1
@@ -295,6 +295,17 @@ export declare const ActionStatus: {
|
|
295
295
|
readonly Rejected: "Rejected";
|
296
296
|
};
|
297
297
|
export type ActionStatus = keyof typeof ActionStatus;
|
298
|
+
export declare const ActionDetails: z.ZodObject<{
|
299
|
+
templateId: z.ZodOptional<z.ZodString>;
|
300
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
301
|
+
}, "strip", z.ZodTypeAny, {
|
302
|
+
templateId?: string | undefined;
|
303
|
+
isImmediateCorrection?: boolean | undefined;
|
304
|
+
}, {
|
305
|
+
templateId?: string | undefined;
|
306
|
+
isImmediateCorrection?: boolean | undefined;
|
307
|
+
}>;
|
308
|
+
export type ActionDetails = z.infer<typeof ActionDetails>;
|
298
309
|
export declare const ActionBase: z.ZodObject<{
|
299
310
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
300
311
|
transactionId: z.ZodString;
|
@@ -574,6 +585,16 @@ export declare const ActionBase: z.ZodObject<{
|
|
574
585
|
surname?: string | null | undefined;
|
575
586
|
middlename?: string | null | undefined;
|
576
587
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
588
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
589
|
+
templateId: z.ZodOptional<z.ZodString>;
|
590
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
591
|
+
}, "strip", z.ZodTypeAny, {
|
592
|
+
templateId?: string | undefined;
|
593
|
+
isImmediateCorrection?: boolean | undefined;
|
594
|
+
}, {
|
595
|
+
templateId?: string | undefined;
|
596
|
+
isImmediateCorrection?: boolean | undefined;
|
597
|
+
}>>>;
|
577
598
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
578
599
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
579
600
|
}, "strip", z.ZodTypeAny, {
|
@@ -676,6 +697,10 @@ export declare const ActionBase: z.ZodObject<{
|
|
676
697
|
start: string;
|
677
698
|
end: string;
|
678
699
|
} | null | undefined> | null | undefined;
|
700
|
+
actionDetails?: {
|
701
|
+
templateId?: string | undefined;
|
702
|
+
isImmediateCorrection?: boolean | undefined;
|
703
|
+
} | null | undefined;
|
679
704
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
680
705
|
}, {
|
681
706
|
id: string;
|
@@ -777,6 +802,10 @@ export declare const ActionBase: z.ZodObject<{
|
|
777
802
|
start: string;
|
778
803
|
end: string;
|
779
804
|
} | null | undefined> | null | undefined;
|
805
|
+
actionDetails?: {
|
806
|
+
templateId?: string | undefined;
|
807
|
+
isImmediateCorrection?: boolean | undefined;
|
808
|
+
} | null | undefined;
|
780
809
|
originalActionId?: string | null | undefined;
|
781
810
|
}>;
|
782
811
|
export type ActionBase = z.infer<typeof ActionBase>;
|
@@ -1059,6 +1088,16 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1059
1088
|
surname?: string | null | undefined;
|
1060
1089
|
middlename?: string | null | undefined;
|
1061
1090
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
1091
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1092
|
+
templateId: z.ZodOptional<z.ZodString>;
|
1093
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
1094
|
+
}, "strip", z.ZodTypeAny, {
|
1095
|
+
templateId?: string | undefined;
|
1096
|
+
isImmediateCorrection?: boolean | undefined;
|
1097
|
+
}, {
|
1098
|
+
templateId?: string | undefined;
|
1099
|
+
isImmediateCorrection?: boolean | undefined;
|
1100
|
+
}>>>;
|
1062
1101
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1063
1102
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
1064
1103
|
}, {
|
@@ -1165,6 +1204,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1165
1204
|
start: string;
|
1166
1205
|
end: string;
|
1167
1206
|
} | null | undefined> | null | undefined;
|
1207
|
+
actionDetails?: {
|
1208
|
+
templateId?: string | undefined;
|
1209
|
+
isImmediateCorrection?: boolean | undefined;
|
1210
|
+
} | null | undefined;
|
1168
1211
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
1169
1212
|
registrationNumber?: string | undefined;
|
1170
1213
|
}, {
|
@@ -1268,6 +1311,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1268
1311
|
start: string;
|
1269
1312
|
end: string;
|
1270
1313
|
} | null | undefined> | null | undefined;
|
1314
|
+
actionDetails?: {
|
1315
|
+
templateId?: string | undefined;
|
1316
|
+
isImmediateCorrection?: boolean | undefined;
|
1317
|
+
} | null | undefined;
|
1271
1318
|
originalActionId?: string | null | undefined;
|
1272
1319
|
registrationNumber?: string | undefined;
|
1273
1320
|
}>;
|
@@ -1561,6 +1608,16 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1561
1608
|
surname?: string | null | undefined;
|
1562
1609
|
middlename?: string | null | undefined;
|
1563
1610
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
1611
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1612
|
+
templateId: z.ZodOptional<z.ZodString>;
|
1613
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
1614
|
+
}, "strip", z.ZodTypeAny, {
|
1615
|
+
templateId?: string | undefined;
|
1616
|
+
isImmediateCorrection?: boolean | undefined;
|
1617
|
+
}, {
|
1618
|
+
templateId?: string | undefined;
|
1619
|
+
isImmediateCorrection?: boolean | undefined;
|
1620
|
+
}>>>;
|
1564
1621
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1565
1622
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
1566
1623
|
}, {
|
@@ -1666,6 +1723,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1666
1723
|
start: string;
|
1667
1724
|
end: string;
|
1668
1725
|
} | null | undefined> | null | undefined;
|
1726
|
+
actionDetails?: {
|
1727
|
+
templateId?: string | undefined;
|
1728
|
+
isImmediateCorrection?: boolean | undefined;
|
1729
|
+
} | null | undefined;
|
1669
1730
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
1670
1731
|
}, {
|
1671
1732
|
type: "CREATE";
|
@@ -1768,6 +1829,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1768
1829
|
start: string;
|
1769
1830
|
end: string;
|
1770
1831
|
} | null | undefined> | null | undefined;
|
1832
|
+
actionDetails?: {
|
1833
|
+
templateId?: string | undefined;
|
1834
|
+
isImmediateCorrection?: boolean | undefined;
|
1835
|
+
} | null | undefined;
|
1771
1836
|
originalActionId?: string | null | undefined;
|
1772
1837
|
}>;
|
1773
1838
|
declare const RequestedCorrectionAction: z.ZodObject<z.objectUtil.extendShape<{
|
@@ -2049,6 +2114,16 @@ declare const RequestedCorrectionAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
2049
2114
|
surname?: string | null | undefined;
|
2050
2115
|
middlename?: string | null | undefined;
|
2051
2116
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
2117
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2118
|
+
templateId: z.ZodOptional<z.ZodString>;
|
2119
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
2120
|
+
}, "strip", z.ZodTypeAny, {
|
2121
|
+
templateId?: string | undefined;
|
2122
|
+
isImmediateCorrection?: boolean | undefined;
|
2123
|
+
}, {
|
2124
|
+
templateId?: string | undefined;
|
2125
|
+
isImmediateCorrection?: boolean | undefined;
|
2126
|
+
}>>>;
|
2052
2127
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
2053
2128
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
2054
2129
|
}, {
|
@@ -2154,6 +2229,10 @@ declare const RequestedCorrectionAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
2154
2229
|
start: string;
|
2155
2230
|
end: string;
|
2156
2231
|
} | null | undefined> | null | undefined;
|
2232
|
+
actionDetails?: {
|
2233
|
+
templateId?: string | undefined;
|
2234
|
+
isImmediateCorrection?: boolean | undefined;
|
2235
|
+
} | null | undefined;
|
2157
2236
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
2158
2237
|
}, {
|
2159
2238
|
type: "REQUEST_CORRECTION";
|
@@ -2256,6 +2335,10 @@ declare const RequestedCorrectionAction: z.ZodObject<z.objectUtil.extendShape<{
|
|
2256
2335
|
start: string;
|
2257
2336
|
end: string;
|
2258
2337
|
} | null | undefined> | null | undefined;
|
2338
|
+
actionDetails?: {
|
2339
|
+
templateId?: string | undefined;
|
2340
|
+
isImmediateCorrection?: boolean | undefined;
|
2341
|
+
} | null | undefined;
|
2259
2342
|
originalActionId?: string | null | undefined;
|
2260
2343
|
}>;
|
2261
2344
|
export type RequestedCorrectionAction = z.infer<typeof RequestedCorrectionAction>;
|
@@ -2538,6 +2621,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2538
2621
|
surname?: string | null | undefined;
|
2539
2622
|
middlename?: string | null | undefined;
|
2540
2623
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
2624
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2625
|
+
templateId: z.ZodOptional<z.ZodString>;
|
2626
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
2627
|
+
}, "strip", z.ZodTypeAny, {
|
2628
|
+
templateId?: string | undefined;
|
2629
|
+
isImmediateCorrection?: boolean | undefined;
|
2630
|
+
}, {
|
2631
|
+
templateId?: string | undefined;
|
2632
|
+
isImmediateCorrection?: boolean | undefined;
|
2633
|
+
}>>>;
|
2541
2634
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
2542
2635
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
2543
2636
|
}, {
|
@@ -2643,6 +2736,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2643
2736
|
start: string;
|
2644
2737
|
end: string;
|
2645
2738
|
} | null | undefined> | null | undefined;
|
2739
|
+
actionDetails?: {
|
2740
|
+
templateId?: string | undefined;
|
2741
|
+
isImmediateCorrection?: boolean | undefined;
|
2742
|
+
} | null | undefined;
|
2646
2743
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
2647
2744
|
}, {
|
2648
2745
|
type: "CREATE";
|
@@ -2745,6 +2842,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
2745
2842
|
start: string;
|
2746
2843
|
end: string;
|
2747
2844
|
} | null | undefined> | null | undefined;
|
2845
|
+
actionDetails?: {
|
2846
|
+
templateId?: string | undefined;
|
2847
|
+
isImmediateCorrection?: boolean | undefined;
|
2848
|
+
} | null | undefined;
|
2748
2849
|
originalActionId?: string | null | undefined;
|
2749
2850
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2750
2851
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -3025,6 +3126,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3025
3126
|
surname?: string | null | undefined;
|
3026
3127
|
middlename?: string | null | undefined;
|
3027
3128
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
3129
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3130
|
+
templateId: z.ZodOptional<z.ZodString>;
|
3131
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
3132
|
+
}, "strip", z.ZodTypeAny, {
|
3133
|
+
templateId?: string | undefined;
|
3134
|
+
isImmediateCorrection?: boolean | undefined;
|
3135
|
+
}, {
|
3136
|
+
templateId?: string | undefined;
|
3137
|
+
isImmediateCorrection?: boolean | undefined;
|
3138
|
+
}>>>;
|
3028
3139
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3029
3140
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
3030
3141
|
}, {
|
@@ -3130,6 +3241,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3130
3241
|
start: string;
|
3131
3242
|
end: string;
|
3132
3243
|
} | null | undefined> | null | undefined;
|
3244
|
+
actionDetails?: {
|
3245
|
+
templateId?: string | undefined;
|
3246
|
+
isImmediateCorrection?: boolean | undefined;
|
3247
|
+
} | null | undefined;
|
3133
3248
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
3134
3249
|
}, {
|
3135
3250
|
type: "VALIDATE";
|
@@ -3232,6 +3347,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3232
3347
|
start: string;
|
3233
3348
|
end: string;
|
3234
3349
|
} | null | undefined> | null | undefined;
|
3350
|
+
actionDetails?: {
|
3351
|
+
templateId?: string | undefined;
|
3352
|
+
isImmediateCorrection?: boolean | undefined;
|
3353
|
+
} | null | undefined;
|
3235
3354
|
originalActionId?: string | null | undefined;
|
3236
3355
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3237
3356
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -3512,6 +3631,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3512
3631
|
surname?: string | null | undefined;
|
3513
3632
|
middlename?: string | null | undefined;
|
3514
3633
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
3634
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3635
|
+
templateId: z.ZodOptional<z.ZodString>;
|
3636
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
3637
|
+
}, "strip", z.ZodTypeAny, {
|
3638
|
+
templateId?: string | undefined;
|
3639
|
+
isImmediateCorrection?: boolean | undefined;
|
3640
|
+
}, {
|
3641
|
+
templateId?: string | undefined;
|
3642
|
+
isImmediateCorrection?: boolean | undefined;
|
3643
|
+
}>>>;
|
3515
3644
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3516
3645
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
3517
3646
|
}, {
|
@@ -3631,6 +3760,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3631
3760
|
start: string;
|
3632
3761
|
end: string;
|
3633
3762
|
} | null | undefined> | null | undefined;
|
3763
|
+
actionDetails?: {
|
3764
|
+
templateId?: string | undefined;
|
3765
|
+
isImmediateCorrection?: boolean | undefined;
|
3766
|
+
} | null | undefined;
|
3634
3767
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
3635
3768
|
}, {
|
3636
3769
|
type: "REJECT";
|
@@ -3737,6 +3870,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
3737
3870
|
start: string;
|
3738
3871
|
end: string;
|
3739
3872
|
} | null | undefined> | null | undefined;
|
3873
|
+
actionDetails?: {
|
3874
|
+
templateId?: string | undefined;
|
3875
|
+
isImmediateCorrection?: boolean | undefined;
|
3876
|
+
} | null | undefined;
|
3740
3877
|
originalActionId?: string | null | undefined;
|
3741
3878
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3742
3879
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -4017,6 +4154,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4017
4154
|
surname?: string | null | undefined;
|
4018
4155
|
middlename?: string | null | undefined;
|
4019
4156
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
4157
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4158
|
+
templateId: z.ZodOptional<z.ZodString>;
|
4159
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
4160
|
+
}, "strip", z.ZodTypeAny, {
|
4161
|
+
templateId?: string | undefined;
|
4162
|
+
isImmediateCorrection?: boolean | undefined;
|
4163
|
+
}, {
|
4164
|
+
templateId?: string | undefined;
|
4165
|
+
isImmediateCorrection?: boolean | undefined;
|
4166
|
+
}>>>;
|
4020
4167
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
4021
4168
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
4022
4169
|
}, {
|
@@ -4122,6 +4269,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4122
4269
|
start: string;
|
4123
4270
|
end: string;
|
4124
4271
|
} | null | undefined> | null | undefined;
|
4272
|
+
actionDetails?: {
|
4273
|
+
templateId?: string | undefined;
|
4274
|
+
isImmediateCorrection?: boolean | undefined;
|
4275
|
+
} | null | undefined;
|
4125
4276
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
4126
4277
|
}, {
|
4127
4278
|
type: "MARKED_AS_DUPLICATE";
|
@@ -4224,6 +4375,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4224
4375
|
start: string;
|
4225
4376
|
end: string;
|
4226
4377
|
} | null | undefined> | null | undefined;
|
4378
|
+
actionDetails?: {
|
4379
|
+
templateId?: string | undefined;
|
4380
|
+
isImmediateCorrection?: boolean | undefined;
|
4381
|
+
} | null | undefined;
|
4227
4382
|
originalActionId?: string | null | undefined;
|
4228
4383
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4229
4384
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -4504,6 +4659,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4504
4659
|
surname?: string | null | undefined;
|
4505
4660
|
middlename?: string | null | undefined;
|
4506
4661
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
4662
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4663
|
+
templateId: z.ZodOptional<z.ZodString>;
|
4664
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
4665
|
+
}, "strip", z.ZodTypeAny, {
|
4666
|
+
templateId?: string | undefined;
|
4667
|
+
isImmediateCorrection?: boolean | undefined;
|
4668
|
+
}, {
|
4669
|
+
templateId?: string | undefined;
|
4670
|
+
isImmediateCorrection?: boolean | undefined;
|
4671
|
+
}>>>;
|
4507
4672
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
4508
4673
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
4509
4674
|
}, {
|
@@ -4623,6 +4788,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4623
4788
|
start: string;
|
4624
4789
|
end: string;
|
4625
4790
|
} | null | undefined> | null | undefined;
|
4791
|
+
actionDetails?: {
|
4792
|
+
templateId?: string | undefined;
|
4793
|
+
isImmediateCorrection?: boolean | undefined;
|
4794
|
+
} | null | undefined;
|
4626
4795
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
4627
4796
|
}, {
|
4628
4797
|
type: "ARCHIVE";
|
@@ -4729,6 +4898,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
4729
4898
|
start: string;
|
4730
4899
|
end: string;
|
4731
4900
|
} | null | undefined> | null | undefined;
|
4901
|
+
actionDetails?: {
|
4902
|
+
templateId?: string | undefined;
|
4903
|
+
isImmediateCorrection?: boolean | undefined;
|
4904
|
+
} | null | undefined;
|
4732
4905
|
originalActionId?: string | null | undefined;
|
4733
4906
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4734
4907
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -5009,6 +5182,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5009
5182
|
surname?: string | null | undefined;
|
5010
5183
|
middlename?: string | null | undefined;
|
5011
5184
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
5185
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5186
|
+
templateId: z.ZodOptional<z.ZodString>;
|
5187
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
5188
|
+
}, "strip", z.ZodTypeAny, {
|
5189
|
+
templateId?: string | undefined;
|
5190
|
+
isImmediateCorrection?: boolean | undefined;
|
5191
|
+
}, {
|
5192
|
+
templateId?: string | undefined;
|
5193
|
+
isImmediateCorrection?: boolean | undefined;
|
5194
|
+
}>>>;
|
5012
5195
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5013
5196
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
5014
5197
|
}, {
|
@@ -5114,6 +5297,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5114
5297
|
start: string;
|
5115
5298
|
end: string;
|
5116
5299
|
} | null | undefined> | null | undefined;
|
5300
|
+
actionDetails?: {
|
5301
|
+
templateId?: string | undefined;
|
5302
|
+
isImmediateCorrection?: boolean | undefined;
|
5303
|
+
} | null | undefined;
|
5117
5304
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
5118
5305
|
}, {
|
5119
5306
|
type: "NOTIFY";
|
@@ -5216,6 +5403,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5216
5403
|
start: string;
|
5217
5404
|
end: string;
|
5218
5405
|
} | null | undefined> | null | undefined;
|
5406
|
+
actionDetails?: {
|
5407
|
+
templateId?: string | undefined;
|
5408
|
+
isImmediateCorrection?: boolean | undefined;
|
5409
|
+
} | null | undefined;
|
5219
5410
|
originalActionId?: string | null | undefined;
|
5220
5411
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5221
5412
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -5496,6 +5687,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5496
5687
|
surname?: string | null | undefined;
|
5497
5688
|
middlename?: string | null | undefined;
|
5498
5689
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
5690
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5691
|
+
templateId: z.ZodOptional<z.ZodString>;
|
5692
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
5693
|
+
}, "strip", z.ZodTypeAny, {
|
5694
|
+
templateId?: string | undefined;
|
5695
|
+
isImmediateCorrection?: boolean | undefined;
|
5696
|
+
}, {
|
5697
|
+
templateId?: string | undefined;
|
5698
|
+
isImmediateCorrection?: boolean | undefined;
|
5699
|
+
}>>>;
|
5499
5700
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5500
5701
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
5501
5702
|
}, {
|
@@ -5602,6 +5803,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5602
5803
|
start: string;
|
5603
5804
|
end: string;
|
5604
5805
|
} | null | undefined> | null | undefined;
|
5806
|
+
actionDetails?: {
|
5807
|
+
templateId?: string | undefined;
|
5808
|
+
isImmediateCorrection?: boolean | undefined;
|
5809
|
+
} | null | undefined;
|
5605
5810
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
5606
5811
|
registrationNumber?: string | undefined;
|
5607
5812
|
}, {
|
@@ -5705,6 +5910,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5705
5910
|
start: string;
|
5706
5911
|
end: string;
|
5707
5912
|
} | null | undefined> | null | undefined;
|
5913
|
+
actionDetails?: {
|
5914
|
+
templateId?: string | undefined;
|
5915
|
+
isImmediateCorrection?: boolean | undefined;
|
5916
|
+
} | null | undefined;
|
5708
5917
|
originalActionId?: string | null | undefined;
|
5709
5918
|
registrationNumber?: string | undefined;
|
5710
5919
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
@@ -5986,6 +6195,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
5986
6195
|
surname?: string | null | undefined;
|
5987
6196
|
middlename?: string | null | undefined;
|
5988
6197
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
6198
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
6199
|
+
templateId: z.ZodOptional<z.ZodString>;
|
6200
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
6201
|
+
}, "strip", z.ZodTypeAny, {
|
6202
|
+
templateId?: string | undefined;
|
6203
|
+
isImmediateCorrection?: boolean | undefined;
|
6204
|
+
}, {
|
6205
|
+
templateId?: string | undefined;
|
6206
|
+
isImmediateCorrection?: boolean | undefined;
|
6207
|
+
}>>>;
|
5989
6208
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5990
6209
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
5991
6210
|
}, {
|
@@ -6091,6 +6310,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6091
6310
|
start: string;
|
6092
6311
|
end: string;
|
6093
6312
|
} | null | undefined> | null | undefined;
|
6313
|
+
actionDetails?: {
|
6314
|
+
templateId?: string | undefined;
|
6315
|
+
isImmediateCorrection?: boolean | undefined;
|
6316
|
+
} | null | undefined;
|
6094
6317
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6095
6318
|
}, {
|
6096
6319
|
type: "DECLARE";
|
@@ -6193,6 +6416,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6193
6416
|
start: string;
|
6194
6417
|
end: string;
|
6195
6418
|
} | null | undefined> | null | undefined;
|
6419
|
+
actionDetails?: {
|
6420
|
+
templateId?: string | undefined;
|
6421
|
+
isImmediateCorrection?: boolean | undefined;
|
6422
|
+
} | null | undefined;
|
6196
6423
|
originalActionId?: string | null | undefined;
|
6197
6424
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6198
6425
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -6473,6 +6700,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6473
6700
|
surname?: string | null | undefined;
|
6474
6701
|
middlename?: string | null | undefined;
|
6475
6702
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
6703
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
6704
|
+
templateId: z.ZodOptional<z.ZodString>;
|
6705
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
6706
|
+
}, "strip", z.ZodTypeAny, {
|
6707
|
+
templateId?: string | undefined;
|
6708
|
+
isImmediateCorrection?: boolean | undefined;
|
6709
|
+
}, {
|
6710
|
+
templateId?: string | undefined;
|
6711
|
+
isImmediateCorrection?: boolean | undefined;
|
6712
|
+
}>>>;
|
6476
6713
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
6477
6714
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
6478
6715
|
}, {
|
@@ -6580,6 +6817,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6580
6817
|
start: string;
|
6581
6818
|
end: string;
|
6582
6819
|
} | null | undefined> | null | undefined;
|
6820
|
+
actionDetails?: {
|
6821
|
+
templateId?: string | undefined;
|
6822
|
+
isImmediateCorrection?: boolean | undefined;
|
6823
|
+
} | null | undefined;
|
6583
6824
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6584
6825
|
}, {
|
6585
6826
|
type: "ASSIGN";
|
@@ -6683,6 +6924,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6683
6924
|
start: string;
|
6684
6925
|
end: string;
|
6685
6926
|
} | null | undefined> | null | undefined;
|
6927
|
+
actionDetails?: {
|
6928
|
+
templateId?: string | undefined;
|
6929
|
+
isImmediateCorrection?: boolean | undefined;
|
6930
|
+
} | null | undefined;
|
6686
6931
|
originalActionId?: string | null | undefined;
|
6687
6932
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6688
6933
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -6963,6 +7208,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
6963
7208
|
surname?: string | null | undefined;
|
6964
7209
|
middlename?: string | null | undefined;
|
6965
7210
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
7211
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
7212
|
+
templateId: z.ZodOptional<z.ZodString>;
|
7213
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
7214
|
+
}, "strip", z.ZodTypeAny, {
|
7215
|
+
templateId?: string | undefined;
|
7216
|
+
isImmediateCorrection?: boolean | undefined;
|
7217
|
+
}, {
|
7218
|
+
templateId?: string | undefined;
|
7219
|
+
isImmediateCorrection?: boolean | undefined;
|
7220
|
+
}>>>;
|
6966
7221
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
6967
7222
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
6968
7223
|
}, {
|
@@ -7068,6 +7323,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7068
7323
|
start: string;
|
7069
7324
|
end: string;
|
7070
7325
|
} | null | undefined> | null | undefined;
|
7326
|
+
actionDetails?: {
|
7327
|
+
templateId?: string | undefined;
|
7328
|
+
isImmediateCorrection?: boolean | undefined;
|
7329
|
+
} | null | undefined;
|
7071
7330
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7072
7331
|
}, {
|
7073
7332
|
type: "REQUEST_CORRECTION";
|
@@ -7170,6 +7429,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7170
7429
|
start: string;
|
7171
7430
|
end: string;
|
7172
7431
|
} | null | undefined> | null | undefined;
|
7432
|
+
actionDetails?: {
|
7433
|
+
templateId?: string | undefined;
|
7434
|
+
isImmediateCorrection?: boolean | undefined;
|
7435
|
+
} | null | undefined;
|
7173
7436
|
originalActionId?: string | null | undefined;
|
7174
7437
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7175
7438
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -7450,6 +7713,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7450
7713
|
surname?: string | null | undefined;
|
7451
7714
|
middlename?: string | null | undefined;
|
7452
7715
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
7716
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
7717
|
+
templateId: z.ZodOptional<z.ZodString>;
|
7718
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
7719
|
+
}, "strip", z.ZodTypeAny, {
|
7720
|
+
templateId?: string | undefined;
|
7721
|
+
isImmediateCorrection?: boolean | undefined;
|
7722
|
+
}, {
|
7723
|
+
templateId?: string | undefined;
|
7724
|
+
isImmediateCorrection?: boolean | undefined;
|
7725
|
+
}>>>;
|
7453
7726
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
7454
7727
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
7455
7728
|
}, {
|
@@ -7557,6 +7830,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7557
7830
|
start: string;
|
7558
7831
|
end: string;
|
7559
7832
|
} | null | undefined> | null | undefined;
|
7833
|
+
actionDetails?: {
|
7834
|
+
templateId?: string | undefined;
|
7835
|
+
isImmediateCorrection?: boolean | undefined;
|
7836
|
+
} | null | undefined;
|
7560
7837
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7561
7838
|
}, {
|
7562
7839
|
type: "APPROVE_CORRECTION";
|
@@ -7660,6 +7937,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7660
7937
|
start: string;
|
7661
7938
|
end: string;
|
7662
7939
|
} | null | undefined> | null | undefined;
|
7940
|
+
actionDetails?: {
|
7941
|
+
templateId?: string | undefined;
|
7942
|
+
isImmediateCorrection?: boolean | undefined;
|
7943
|
+
} | null | undefined;
|
7663
7944
|
originalActionId?: string | null | undefined;
|
7664
7945
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7665
7946
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -7940,15 +8221,39 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7940
8221
|
surname?: string | null | undefined;
|
7941
8222
|
middlename?: string | null | undefined;
|
7942
8223
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
8224
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8225
|
+
templateId: z.ZodOptional<z.ZodString>;
|
8226
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
8227
|
+
}, "strip", z.ZodTypeAny, {
|
8228
|
+
templateId?: string | undefined;
|
8229
|
+
isImmediateCorrection?: boolean | undefined;
|
8230
|
+
}, {
|
8231
|
+
templateId?: string | undefined;
|
8232
|
+
isImmediateCorrection?: boolean | undefined;
|
8233
|
+
}>>>;
|
7943
8234
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
7944
8235
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
7945
8236
|
}, {
|
7946
8237
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
7947
8238
|
requestId: z.ZodString;
|
8239
|
+
reason: z.ZodObject<{
|
8240
|
+
message: z.ZodString;
|
8241
|
+
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
8242
|
+
}, "strip", z.ZodTypeAny, {
|
8243
|
+
message: string;
|
8244
|
+
isDuplicate?: boolean | undefined;
|
8245
|
+
}, {
|
8246
|
+
message: string;
|
8247
|
+
isDuplicate?: boolean | undefined;
|
8248
|
+
}>;
|
7948
8249
|
}>, "strip", z.ZodTypeAny, {
|
7949
8250
|
type: "REJECT_CORRECTION";
|
7950
8251
|
id: string & z.BRAND<"UUID">;
|
7951
8252
|
status: "Rejected" | "Requested" | "Accepted";
|
8253
|
+
reason: {
|
8254
|
+
message: string;
|
8255
|
+
isDuplicate?: boolean | undefined;
|
8256
|
+
};
|
7952
8257
|
transactionId: string;
|
7953
8258
|
createdByUserType: "system" | "user";
|
7954
8259
|
createdAt: string;
|
@@ -8047,11 +8352,19 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
8047
8352
|
start: string;
|
8048
8353
|
end: string;
|
8049
8354
|
} | null | undefined> | null | undefined;
|
8355
|
+
actionDetails?: {
|
8356
|
+
templateId?: string | undefined;
|
8357
|
+
isImmediateCorrection?: boolean | undefined;
|
8358
|
+
} | null | undefined;
|
8050
8359
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
8051
8360
|
}, {
|
8052
8361
|
type: "REJECT_CORRECTION";
|
8053
8362
|
id: string;
|
8054
8363
|
status: "Rejected" | "Requested" | "Accepted";
|
8364
|
+
reason: {
|
8365
|
+
message: string;
|
8366
|
+
isDuplicate?: boolean | undefined;
|
8367
|
+
};
|
8055
8368
|
transactionId: string;
|
8056
8369
|
createdByUserType: "system" | "user";
|
8057
8370
|
createdAt: string;
|
@@ -8150,6 +8463,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
8150
8463
|
start: string;
|
8151
8464
|
end: string;
|
8152
8465
|
} | null | undefined> | null | undefined;
|
8466
|
+
actionDetails?: {
|
8467
|
+
templateId?: string | undefined;
|
8468
|
+
isImmediateCorrection?: boolean | undefined;
|
8469
|
+
} | null | undefined;
|
8153
8470
|
originalActionId?: string | null | undefined;
|
8154
8471
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8155
8472
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -8430,6 +8747,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
8430
8747
|
surname?: string | null | undefined;
|
8431
8748
|
middlename?: string | null | undefined;
|
8432
8749
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
8750
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8751
|
+
templateId: z.ZodOptional<z.ZodString>;
|
8752
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
8753
|
+
}, "strip", z.ZodTypeAny, {
|
8754
|
+
templateId?: string | undefined;
|
8755
|
+
isImmediateCorrection?: boolean | undefined;
|
8756
|
+
}, {
|
8757
|
+
templateId?: string | undefined;
|
8758
|
+
isImmediateCorrection?: boolean | undefined;
|
8759
|
+
}>>>;
|
8433
8760
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
8434
8761
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
8435
8762
|
}, {
|
@@ -8535,6 +8862,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
8535
8862
|
start: string;
|
8536
8863
|
end: string;
|
8537
8864
|
} | null | undefined> | null | undefined;
|
8865
|
+
actionDetails?: {
|
8866
|
+
templateId?: string | undefined;
|
8867
|
+
isImmediateCorrection?: boolean | undefined;
|
8868
|
+
} | null | undefined;
|
8538
8869
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
8539
8870
|
}, {
|
8540
8871
|
type: "UNASSIGN";
|
@@ -8637,6 +8968,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
8637
8968
|
start: string;
|
8638
8969
|
end: string;
|
8639
8970
|
} | null | undefined> | null | undefined;
|
8971
|
+
actionDetails?: {
|
8972
|
+
templateId?: string | undefined;
|
8973
|
+
isImmediateCorrection?: boolean | undefined;
|
8974
|
+
} | null | undefined;
|
8640
8975
|
originalActionId?: string | null | undefined;
|
8641
8976
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8642
8977
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -8917,6 +9252,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
8917
9252
|
surname?: string | null | undefined;
|
8918
9253
|
middlename?: string | null | undefined;
|
8919
9254
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
9255
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9256
|
+
templateId: z.ZodOptional<z.ZodString>;
|
9257
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
9258
|
+
}, "strip", z.ZodTypeAny, {
|
9259
|
+
templateId?: string | undefined;
|
9260
|
+
isImmediateCorrection?: boolean | undefined;
|
9261
|
+
}, {
|
9262
|
+
templateId?: string | undefined;
|
9263
|
+
isImmediateCorrection?: boolean | undefined;
|
9264
|
+
}>>>;
|
8920
9265
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
8921
9266
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
8922
9267
|
}, {
|
@@ -9022,6 +9367,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
9022
9367
|
start: string;
|
9023
9368
|
end: string;
|
9024
9369
|
} | null | undefined> | null | undefined;
|
9370
|
+
actionDetails?: {
|
9371
|
+
templateId?: string | undefined;
|
9372
|
+
isImmediateCorrection?: boolean | undefined;
|
9373
|
+
} | null | undefined;
|
9025
9374
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
9026
9375
|
}, {
|
9027
9376
|
type: "PRINT_CERTIFICATE";
|
@@ -9124,6 +9473,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
9124
9473
|
start: string;
|
9125
9474
|
end: string;
|
9126
9475
|
} | null | undefined> | null | undefined;
|
9476
|
+
actionDetails?: {
|
9477
|
+
templateId?: string | undefined;
|
9478
|
+
isImmediateCorrection?: boolean | undefined;
|
9479
|
+
} | null | undefined;
|
9127
9480
|
originalActionId?: string | null | undefined;
|
9128
9481
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9129
9482
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -9404,6 +9757,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
9404
9757
|
surname?: string | null | undefined;
|
9405
9758
|
middlename?: string | null | undefined;
|
9406
9759
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
9760
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9761
|
+
templateId: z.ZodOptional<z.ZodString>;
|
9762
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
9763
|
+
}, "strip", z.ZodTypeAny, {
|
9764
|
+
templateId?: string | undefined;
|
9765
|
+
isImmediateCorrection?: boolean | undefined;
|
9766
|
+
}, {
|
9767
|
+
templateId?: string | undefined;
|
9768
|
+
isImmediateCorrection?: boolean | undefined;
|
9769
|
+
}>>>;
|
9407
9770
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
9408
9771
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
9409
9772
|
}, {
|
@@ -9509,6 +9872,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
9509
9872
|
start: string;
|
9510
9873
|
end: string;
|
9511
9874
|
} | null | undefined> | null | undefined;
|
9875
|
+
actionDetails?: {
|
9876
|
+
templateId?: string | undefined;
|
9877
|
+
isImmediateCorrection?: boolean | undefined;
|
9878
|
+
} | null | undefined;
|
9512
9879
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
9513
9880
|
}, {
|
9514
9881
|
type: "READ";
|
@@ -9611,6 +9978,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
9611
9978
|
start: string;
|
9612
9979
|
end: string;
|
9613
9980
|
} | null | undefined> | null | undefined;
|
9981
|
+
actionDetails?: {
|
9982
|
+
templateId?: string | undefined;
|
9983
|
+
isImmediateCorrection?: boolean | undefined;
|
9984
|
+
} | null | undefined;
|
9614
9985
|
originalActionId?: string | null | undefined;
|
9615
9986
|
}>]>;
|
9616
9987
|
export type ActionDocument = z.infer<typeof ActionDocument>;
|
@@ -9893,6 +10264,16 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
|
|
9893
10264
|
surname?: string | null | undefined;
|
9894
10265
|
middlename?: string | null | undefined;
|
9895
10266
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
10267
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10268
|
+
templateId: z.ZodOptional<z.ZodString>;
|
10269
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
10270
|
+
}, "strip", z.ZodTypeAny, {
|
10271
|
+
templateId?: string | undefined;
|
10272
|
+
isImmediateCorrection?: boolean | undefined;
|
10273
|
+
}, {
|
10274
|
+
templateId?: string | undefined;
|
10275
|
+
isImmediateCorrection?: boolean | undefined;
|
10276
|
+
}>>>;
|
9896
10277
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
9897
10278
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
9898
10279
|
}, "declaration" | "annotation">, {
|
@@ -9909,6 +10290,10 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
|
|
9909
10290
|
createdByRole: string;
|
9910
10291
|
createdBySignature?: string | null | undefined;
|
9911
10292
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
10293
|
+
actionDetails?: {
|
10294
|
+
templateId?: string | undefined;
|
10295
|
+
isImmediateCorrection?: boolean | undefined;
|
10296
|
+
} | null | undefined;
|
9912
10297
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
9913
10298
|
}, {
|
9914
10299
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -9921,6 +10306,10 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
|
|
9921
10306
|
createdByRole: string;
|
9922
10307
|
createdBySignature?: string | null | undefined;
|
9923
10308
|
createdAtLocation?: string | null | undefined;
|
10309
|
+
actionDetails?: {
|
10310
|
+
templateId?: string | undefined;
|
10311
|
+
isImmediateCorrection?: boolean | undefined;
|
10312
|
+
} | null | undefined;
|
9924
10313
|
originalActionId?: string | null | undefined;
|
9925
10314
|
}>;
|
9926
10315
|
export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
|
@@ -10203,6 +10592,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10203
10592
|
surname?: string | null | undefined;
|
10204
10593
|
middlename?: string | null | undefined;
|
10205
10594
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
10595
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
10596
|
+
templateId: z.ZodOptional<z.ZodString>;
|
10597
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
10598
|
+
}, "strip", z.ZodTypeAny, {
|
10599
|
+
templateId?: string | undefined;
|
10600
|
+
isImmediateCorrection?: boolean | undefined;
|
10601
|
+
}, {
|
10602
|
+
templateId?: string | undefined;
|
10603
|
+
isImmediateCorrection?: boolean | undefined;
|
10604
|
+
}>>>;
|
10206
10605
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
10207
10606
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
10208
10607
|
}, {
|
@@ -10308,6 +10707,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10308
10707
|
start: string;
|
10309
10708
|
end: string;
|
10310
10709
|
} | null | undefined> | null | undefined;
|
10710
|
+
actionDetails?: {
|
10711
|
+
templateId?: string | undefined;
|
10712
|
+
isImmediateCorrection?: boolean | undefined;
|
10713
|
+
} | null | undefined;
|
10311
10714
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
10312
10715
|
}, {
|
10313
10716
|
type: "CREATE";
|
@@ -10410,6 +10813,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10410
10813
|
start: string;
|
10411
10814
|
end: string;
|
10412
10815
|
} | null | undefined> | null | undefined;
|
10816
|
+
actionDetails?: {
|
10817
|
+
templateId?: string | undefined;
|
10818
|
+
isImmediateCorrection?: boolean | undefined;
|
10819
|
+
} | null | undefined;
|
10413
10820
|
originalActionId?: string | null | undefined;
|
10414
10821
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10415
10822
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -10690,6 +11097,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10690
11097
|
surname?: string | null | undefined;
|
10691
11098
|
middlename?: string | null | undefined;
|
10692
11099
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
11100
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
11101
|
+
templateId: z.ZodOptional<z.ZodString>;
|
11102
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
11103
|
+
}, "strip", z.ZodTypeAny, {
|
11104
|
+
templateId?: string | undefined;
|
11105
|
+
isImmediateCorrection?: boolean | undefined;
|
11106
|
+
}, {
|
11107
|
+
templateId?: string | undefined;
|
11108
|
+
isImmediateCorrection?: boolean | undefined;
|
11109
|
+
}>>>;
|
10693
11110
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
10694
11111
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
10695
11112
|
}, {
|
@@ -10795,6 +11212,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10795
11212
|
start: string;
|
10796
11213
|
end: string;
|
10797
11214
|
} | null | undefined> | null | undefined;
|
11215
|
+
actionDetails?: {
|
11216
|
+
templateId?: string | undefined;
|
11217
|
+
isImmediateCorrection?: boolean | undefined;
|
11218
|
+
} | null | undefined;
|
10798
11219
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
10799
11220
|
}, {
|
10800
11221
|
type: "VALIDATE";
|
@@ -10897,6 +11318,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
10897
11318
|
start: string;
|
10898
11319
|
end: string;
|
10899
11320
|
} | null | undefined> | null | undefined;
|
11321
|
+
actionDetails?: {
|
11322
|
+
templateId?: string | undefined;
|
11323
|
+
isImmediateCorrection?: boolean | undefined;
|
11324
|
+
} | null | undefined;
|
10900
11325
|
originalActionId?: string | null | undefined;
|
10901
11326
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10902
11327
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -11177,6 +11602,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11177
11602
|
surname?: string | null | undefined;
|
11178
11603
|
middlename?: string | null | undefined;
|
11179
11604
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
11605
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
11606
|
+
templateId: z.ZodOptional<z.ZodString>;
|
11607
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
11608
|
+
}, "strip", z.ZodTypeAny, {
|
11609
|
+
templateId?: string | undefined;
|
11610
|
+
isImmediateCorrection?: boolean | undefined;
|
11611
|
+
}, {
|
11612
|
+
templateId?: string | undefined;
|
11613
|
+
isImmediateCorrection?: boolean | undefined;
|
11614
|
+
}>>>;
|
11180
11615
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
11181
11616
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
11182
11617
|
}, {
|
@@ -11296,6 +11731,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11296
11731
|
start: string;
|
11297
11732
|
end: string;
|
11298
11733
|
} | null | undefined> | null | undefined;
|
11734
|
+
actionDetails?: {
|
11735
|
+
templateId?: string | undefined;
|
11736
|
+
isImmediateCorrection?: boolean | undefined;
|
11737
|
+
} | null | undefined;
|
11299
11738
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
11300
11739
|
}, {
|
11301
11740
|
type: "REJECT";
|
@@ -11402,6 +11841,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11402
11841
|
start: string;
|
11403
11842
|
end: string;
|
11404
11843
|
} | null | undefined> | null | undefined;
|
11844
|
+
actionDetails?: {
|
11845
|
+
templateId?: string | undefined;
|
11846
|
+
isImmediateCorrection?: boolean | undefined;
|
11847
|
+
} | null | undefined;
|
11405
11848
|
originalActionId?: string | null | undefined;
|
11406
11849
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
11407
11850
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -11682,6 +12125,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11682
12125
|
surname?: string | null | undefined;
|
11683
12126
|
middlename?: string | null | undefined;
|
11684
12127
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
12128
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
12129
|
+
templateId: z.ZodOptional<z.ZodString>;
|
12130
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
12131
|
+
}, "strip", z.ZodTypeAny, {
|
12132
|
+
templateId?: string | undefined;
|
12133
|
+
isImmediateCorrection?: boolean | undefined;
|
12134
|
+
}, {
|
12135
|
+
templateId?: string | undefined;
|
12136
|
+
isImmediateCorrection?: boolean | undefined;
|
12137
|
+
}>>>;
|
11685
12138
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
11686
12139
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
11687
12140
|
}, {
|
@@ -11787,6 +12240,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11787
12240
|
start: string;
|
11788
12241
|
end: string;
|
11789
12242
|
} | null | undefined> | null | undefined;
|
12243
|
+
actionDetails?: {
|
12244
|
+
templateId?: string | undefined;
|
12245
|
+
isImmediateCorrection?: boolean | undefined;
|
12246
|
+
} | null | undefined;
|
11790
12247
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
11791
12248
|
}, {
|
11792
12249
|
type: "MARKED_AS_DUPLICATE";
|
@@ -11889,6 +12346,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
11889
12346
|
start: string;
|
11890
12347
|
end: string;
|
11891
12348
|
} | null | undefined> | null | undefined;
|
12349
|
+
actionDetails?: {
|
12350
|
+
templateId?: string | undefined;
|
12351
|
+
isImmediateCorrection?: boolean | undefined;
|
12352
|
+
} | null | undefined;
|
11892
12353
|
originalActionId?: string | null | undefined;
|
11893
12354
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
11894
12355
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -12169,6 +12630,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12169
12630
|
surname?: string | null | undefined;
|
12170
12631
|
middlename?: string | null | undefined;
|
12171
12632
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
12633
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
12634
|
+
templateId: z.ZodOptional<z.ZodString>;
|
12635
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
12636
|
+
}, "strip", z.ZodTypeAny, {
|
12637
|
+
templateId?: string | undefined;
|
12638
|
+
isImmediateCorrection?: boolean | undefined;
|
12639
|
+
}, {
|
12640
|
+
templateId?: string | undefined;
|
12641
|
+
isImmediateCorrection?: boolean | undefined;
|
12642
|
+
}>>>;
|
12172
12643
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
12173
12644
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
12174
12645
|
}, {
|
@@ -12288,6 +12759,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12288
12759
|
start: string;
|
12289
12760
|
end: string;
|
12290
12761
|
} | null | undefined> | null | undefined;
|
12762
|
+
actionDetails?: {
|
12763
|
+
templateId?: string | undefined;
|
12764
|
+
isImmediateCorrection?: boolean | undefined;
|
12765
|
+
} | null | undefined;
|
12291
12766
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
12292
12767
|
}, {
|
12293
12768
|
type: "ARCHIVE";
|
@@ -12394,6 +12869,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12394
12869
|
start: string;
|
12395
12870
|
end: string;
|
12396
12871
|
} | null | undefined> | null | undefined;
|
12872
|
+
actionDetails?: {
|
12873
|
+
templateId?: string | undefined;
|
12874
|
+
isImmediateCorrection?: boolean | undefined;
|
12875
|
+
} | null | undefined;
|
12397
12876
|
originalActionId?: string | null | undefined;
|
12398
12877
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
12399
12878
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -12674,6 +13153,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12674
13153
|
surname?: string | null | undefined;
|
12675
13154
|
middlename?: string | null | undefined;
|
12676
13155
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
13156
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
13157
|
+
templateId: z.ZodOptional<z.ZodString>;
|
13158
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
13159
|
+
}, "strip", z.ZodTypeAny, {
|
13160
|
+
templateId?: string | undefined;
|
13161
|
+
isImmediateCorrection?: boolean | undefined;
|
13162
|
+
}, {
|
13163
|
+
templateId?: string | undefined;
|
13164
|
+
isImmediateCorrection?: boolean | undefined;
|
13165
|
+
}>>>;
|
12677
13166
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
12678
13167
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
12679
13168
|
}, {
|
@@ -12779,6 +13268,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12779
13268
|
start: string;
|
12780
13269
|
end: string;
|
12781
13270
|
} | null | undefined> | null | undefined;
|
13271
|
+
actionDetails?: {
|
13272
|
+
templateId?: string | undefined;
|
13273
|
+
isImmediateCorrection?: boolean | undefined;
|
13274
|
+
} | null | undefined;
|
12782
13275
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
12783
13276
|
}, {
|
12784
13277
|
type: "NOTIFY";
|
@@ -12881,6 +13374,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
12881
13374
|
start: string;
|
12882
13375
|
end: string;
|
12883
13376
|
} | null | undefined> | null | undefined;
|
13377
|
+
actionDetails?: {
|
13378
|
+
templateId?: string | undefined;
|
13379
|
+
isImmediateCorrection?: boolean | undefined;
|
13380
|
+
} | null | undefined;
|
12884
13381
|
originalActionId?: string | null | undefined;
|
12885
13382
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
12886
13383
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -13161,6 +13658,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13161
13658
|
surname?: string | null | undefined;
|
13162
13659
|
middlename?: string | null | undefined;
|
13163
13660
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
13661
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
13662
|
+
templateId: z.ZodOptional<z.ZodString>;
|
13663
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
13664
|
+
}, "strip", z.ZodTypeAny, {
|
13665
|
+
templateId?: string | undefined;
|
13666
|
+
isImmediateCorrection?: boolean | undefined;
|
13667
|
+
}, {
|
13668
|
+
templateId?: string | undefined;
|
13669
|
+
isImmediateCorrection?: boolean | undefined;
|
13670
|
+
}>>>;
|
13164
13671
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
13165
13672
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
13166
13673
|
}, {
|
@@ -13267,6 +13774,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13267
13774
|
start: string;
|
13268
13775
|
end: string;
|
13269
13776
|
} | null | undefined> | null | undefined;
|
13777
|
+
actionDetails?: {
|
13778
|
+
templateId?: string | undefined;
|
13779
|
+
isImmediateCorrection?: boolean | undefined;
|
13780
|
+
} | null | undefined;
|
13270
13781
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
13271
13782
|
registrationNumber?: string | undefined;
|
13272
13783
|
}, {
|
@@ -13370,6 +13881,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13370
13881
|
start: string;
|
13371
13882
|
end: string;
|
13372
13883
|
} | null | undefined> | null | undefined;
|
13884
|
+
actionDetails?: {
|
13885
|
+
templateId?: string | undefined;
|
13886
|
+
isImmediateCorrection?: boolean | undefined;
|
13887
|
+
} | null | undefined;
|
13373
13888
|
originalActionId?: string | null | undefined;
|
13374
13889
|
registrationNumber?: string | undefined;
|
13375
13890
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
@@ -13651,6 +14166,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13651
14166
|
surname?: string | null | undefined;
|
13652
14167
|
middlename?: string | null | undefined;
|
13653
14168
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
14169
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
14170
|
+
templateId: z.ZodOptional<z.ZodString>;
|
14171
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
14172
|
+
}, "strip", z.ZodTypeAny, {
|
14173
|
+
templateId?: string | undefined;
|
14174
|
+
isImmediateCorrection?: boolean | undefined;
|
14175
|
+
}, {
|
14176
|
+
templateId?: string | undefined;
|
14177
|
+
isImmediateCorrection?: boolean | undefined;
|
14178
|
+
}>>>;
|
13654
14179
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
13655
14180
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
13656
14181
|
}, {
|
@@ -13756,6 +14281,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13756
14281
|
start: string;
|
13757
14282
|
end: string;
|
13758
14283
|
} | null | undefined> | null | undefined;
|
14284
|
+
actionDetails?: {
|
14285
|
+
templateId?: string | undefined;
|
14286
|
+
isImmediateCorrection?: boolean | undefined;
|
14287
|
+
} | null | undefined;
|
13759
14288
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
13760
14289
|
}, {
|
13761
14290
|
type: "DECLARE";
|
@@ -13858,6 +14387,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
13858
14387
|
start: string;
|
13859
14388
|
end: string;
|
13860
14389
|
} | null | undefined> | null | undefined;
|
14390
|
+
actionDetails?: {
|
14391
|
+
templateId?: string | undefined;
|
14392
|
+
isImmediateCorrection?: boolean | undefined;
|
14393
|
+
} | null | undefined;
|
13861
14394
|
originalActionId?: string | null | undefined;
|
13862
14395
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
13863
14396
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -14138,6 +14671,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
14138
14671
|
surname?: string | null | undefined;
|
14139
14672
|
middlename?: string | null | undefined;
|
14140
14673
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
14674
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
14675
|
+
templateId: z.ZodOptional<z.ZodString>;
|
14676
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
14677
|
+
}, "strip", z.ZodTypeAny, {
|
14678
|
+
templateId?: string | undefined;
|
14679
|
+
isImmediateCorrection?: boolean | undefined;
|
14680
|
+
}, {
|
14681
|
+
templateId?: string | undefined;
|
14682
|
+
isImmediateCorrection?: boolean | undefined;
|
14683
|
+
}>>>;
|
14141
14684
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
14142
14685
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
14143
14686
|
}, {
|
@@ -14245,6 +14788,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
14245
14788
|
start: string;
|
14246
14789
|
end: string;
|
14247
14790
|
} | null | undefined> | null | undefined;
|
14791
|
+
actionDetails?: {
|
14792
|
+
templateId?: string | undefined;
|
14793
|
+
isImmediateCorrection?: boolean | undefined;
|
14794
|
+
} | null | undefined;
|
14248
14795
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
14249
14796
|
}, {
|
14250
14797
|
type: "ASSIGN";
|
@@ -14348,6 +14895,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
14348
14895
|
start: string;
|
14349
14896
|
end: string;
|
14350
14897
|
} | null | undefined> | null | undefined;
|
14898
|
+
actionDetails?: {
|
14899
|
+
templateId?: string | undefined;
|
14900
|
+
isImmediateCorrection?: boolean | undefined;
|
14901
|
+
} | null | undefined;
|
14351
14902
|
originalActionId?: string | null | undefined;
|
14352
14903
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
14353
14904
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -14628,6 +15179,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
14628
15179
|
surname?: string | null | undefined;
|
14629
15180
|
middlename?: string | null | undefined;
|
14630
15181
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
15182
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
15183
|
+
templateId: z.ZodOptional<z.ZodString>;
|
15184
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
15185
|
+
}, "strip", z.ZodTypeAny, {
|
15186
|
+
templateId?: string | undefined;
|
15187
|
+
isImmediateCorrection?: boolean | undefined;
|
15188
|
+
}, {
|
15189
|
+
templateId?: string | undefined;
|
15190
|
+
isImmediateCorrection?: boolean | undefined;
|
15191
|
+
}>>>;
|
14631
15192
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
14632
15193
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
14633
15194
|
}, {
|
@@ -14733,6 +15294,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
14733
15294
|
start: string;
|
14734
15295
|
end: string;
|
14735
15296
|
} | null | undefined> | null | undefined;
|
15297
|
+
actionDetails?: {
|
15298
|
+
templateId?: string | undefined;
|
15299
|
+
isImmediateCorrection?: boolean | undefined;
|
15300
|
+
} | null | undefined;
|
14736
15301
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
14737
15302
|
}, {
|
14738
15303
|
type: "REQUEST_CORRECTION";
|
@@ -14835,6 +15400,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
14835
15400
|
start: string;
|
14836
15401
|
end: string;
|
14837
15402
|
} | null | undefined> | null | undefined;
|
15403
|
+
actionDetails?: {
|
15404
|
+
templateId?: string | undefined;
|
15405
|
+
isImmediateCorrection?: boolean | undefined;
|
15406
|
+
} | null | undefined;
|
14838
15407
|
originalActionId?: string | null | undefined;
|
14839
15408
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
14840
15409
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -15115,6 +15684,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
15115
15684
|
surname?: string | null | undefined;
|
15116
15685
|
middlename?: string | null | undefined;
|
15117
15686
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
15687
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
15688
|
+
templateId: z.ZodOptional<z.ZodString>;
|
15689
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
15690
|
+
}, "strip", z.ZodTypeAny, {
|
15691
|
+
templateId?: string | undefined;
|
15692
|
+
isImmediateCorrection?: boolean | undefined;
|
15693
|
+
}, {
|
15694
|
+
templateId?: string | undefined;
|
15695
|
+
isImmediateCorrection?: boolean | undefined;
|
15696
|
+
}>>>;
|
15118
15697
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
15119
15698
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
15120
15699
|
}, {
|
@@ -15222,6 +15801,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
15222
15801
|
start: string;
|
15223
15802
|
end: string;
|
15224
15803
|
} | null | undefined> | null | undefined;
|
15804
|
+
actionDetails?: {
|
15805
|
+
templateId?: string | undefined;
|
15806
|
+
isImmediateCorrection?: boolean | undefined;
|
15807
|
+
} | null | undefined;
|
15225
15808
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
15226
15809
|
}, {
|
15227
15810
|
type: "APPROVE_CORRECTION";
|
@@ -15325,6 +15908,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
15325
15908
|
start: string;
|
15326
15909
|
end: string;
|
15327
15910
|
} | null | undefined> | null | undefined;
|
15911
|
+
actionDetails?: {
|
15912
|
+
templateId?: string | undefined;
|
15913
|
+
isImmediateCorrection?: boolean | undefined;
|
15914
|
+
} | null | undefined;
|
15328
15915
|
originalActionId?: string | null | undefined;
|
15329
15916
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
15330
15917
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -15605,15 +16192,39 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
15605
16192
|
surname?: string | null | undefined;
|
15606
16193
|
middlename?: string | null | undefined;
|
15607
16194
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
16195
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
16196
|
+
templateId: z.ZodOptional<z.ZodString>;
|
16197
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
16198
|
+
}, "strip", z.ZodTypeAny, {
|
16199
|
+
templateId?: string | undefined;
|
16200
|
+
isImmediateCorrection?: boolean | undefined;
|
16201
|
+
}, {
|
16202
|
+
templateId?: string | undefined;
|
16203
|
+
isImmediateCorrection?: boolean | undefined;
|
16204
|
+
}>>>;
|
15608
16205
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
15609
16206
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
15610
16207
|
}, {
|
15611
16208
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
15612
16209
|
requestId: z.ZodString;
|
16210
|
+
reason: z.ZodObject<{
|
16211
|
+
message: z.ZodString;
|
16212
|
+
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
16213
|
+
}, "strip", z.ZodTypeAny, {
|
16214
|
+
message: string;
|
16215
|
+
isDuplicate?: boolean | undefined;
|
16216
|
+
}, {
|
16217
|
+
message: string;
|
16218
|
+
isDuplicate?: boolean | undefined;
|
16219
|
+
}>;
|
15613
16220
|
}>, "strip", z.ZodTypeAny, {
|
15614
16221
|
type: "REJECT_CORRECTION";
|
15615
16222
|
id: string & z.BRAND<"UUID">;
|
15616
16223
|
status: "Rejected" | "Requested" | "Accepted";
|
16224
|
+
reason: {
|
16225
|
+
message: string;
|
16226
|
+
isDuplicate?: boolean | undefined;
|
16227
|
+
};
|
15617
16228
|
transactionId: string;
|
15618
16229
|
createdByUserType: "system" | "user";
|
15619
16230
|
createdAt: string;
|
@@ -15712,11 +16323,19 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
15712
16323
|
start: string;
|
15713
16324
|
end: string;
|
15714
16325
|
} | null | undefined> | null | undefined;
|
16326
|
+
actionDetails?: {
|
16327
|
+
templateId?: string | undefined;
|
16328
|
+
isImmediateCorrection?: boolean | undefined;
|
16329
|
+
} | null | undefined;
|
15715
16330
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
15716
16331
|
}, {
|
15717
16332
|
type: "REJECT_CORRECTION";
|
15718
16333
|
id: string;
|
15719
16334
|
status: "Rejected" | "Requested" | "Accepted";
|
16335
|
+
reason: {
|
16336
|
+
message: string;
|
16337
|
+
isDuplicate?: boolean | undefined;
|
16338
|
+
};
|
15720
16339
|
transactionId: string;
|
15721
16340
|
createdByUserType: "system" | "user";
|
15722
16341
|
createdAt: string;
|
@@ -15815,6 +16434,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
15815
16434
|
start: string;
|
15816
16435
|
end: string;
|
15817
16436
|
} | null | undefined> | null | undefined;
|
16437
|
+
actionDetails?: {
|
16438
|
+
templateId?: string | undefined;
|
16439
|
+
isImmediateCorrection?: boolean | undefined;
|
16440
|
+
} | null | undefined;
|
15818
16441
|
originalActionId?: string | null | undefined;
|
15819
16442
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
15820
16443
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -16095,6 +16718,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
16095
16718
|
surname?: string | null | undefined;
|
16096
16719
|
middlename?: string | null | undefined;
|
16097
16720
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
16721
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
16722
|
+
templateId: z.ZodOptional<z.ZodString>;
|
16723
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
16724
|
+
}, "strip", z.ZodTypeAny, {
|
16725
|
+
templateId?: string | undefined;
|
16726
|
+
isImmediateCorrection?: boolean | undefined;
|
16727
|
+
}, {
|
16728
|
+
templateId?: string | undefined;
|
16729
|
+
isImmediateCorrection?: boolean | undefined;
|
16730
|
+
}>>>;
|
16098
16731
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
16099
16732
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
16100
16733
|
}, {
|
@@ -16200,6 +16833,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
16200
16833
|
start: string;
|
16201
16834
|
end: string;
|
16202
16835
|
} | null | undefined> | null | undefined;
|
16836
|
+
actionDetails?: {
|
16837
|
+
templateId?: string | undefined;
|
16838
|
+
isImmediateCorrection?: boolean | undefined;
|
16839
|
+
} | null | undefined;
|
16203
16840
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
16204
16841
|
}, {
|
16205
16842
|
type: "UNASSIGN";
|
@@ -16302,6 +16939,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
16302
16939
|
start: string;
|
16303
16940
|
end: string;
|
16304
16941
|
} | null | undefined> | null | undefined;
|
16942
|
+
actionDetails?: {
|
16943
|
+
templateId?: string | undefined;
|
16944
|
+
isImmediateCorrection?: boolean | undefined;
|
16945
|
+
} | null | undefined;
|
16305
16946
|
originalActionId?: string | null | undefined;
|
16306
16947
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
16307
16948
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -16582,6 +17223,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
16582
17223
|
surname?: string | null | undefined;
|
16583
17224
|
middlename?: string | null | undefined;
|
16584
17225
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
17226
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
17227
|
+
templateId: z.ZodOptional<z.ZodString>;
|
17228
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
17229
|
+
}, "strip", z.ZodTypeAny, {
|
17230
|
+
templateId?: string | undefined;
|
17231
|
+
isImmediateCorrection?: boolean | undefined;
|
17232
|
+
}, {
|
17233
|
+
templateId?: string | undefined;
|
17234
|
+
isImmediateCorrection?: boolean | undefined;
|
17235
|
+
}>>>;
|
16585
17236
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
16586
17237
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
16587
17238
|
}, {
|
@@ -16687,6 +17338,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
16687
17338
|
start: string;
|
16688
17339
|
end: string;
|
16689
17340
|
} | null | undefined> | null | undefined;
|
17341
|
+
actionDetails?: {
|
17342
|
+
templateId?: string | undefined;
|
17343
|
+
isImmediateCorrection?: boolean | undefined;
|
17344
|
+
} | null | undefined;
|
16690
17345
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
16691
17346
|
}, {
|
16692
17347
|
type: "PRINT_CERTIFICATE";
|
@@ -16789,6 +17444,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
16789
17444
|
start: string;
|
16790
17445
|
end: string;
|
16791
17446
|
} | null | undefined> | null | undefined;
|
17447
|
+
actionDetails?: {
|
17448
|
+
templateId?: string | undefined;
|
17449
|
+
isImmediateCorrection?: boolean | undefined;
|
17450
|
+
} | null | undefined;
|
16792
17451
|
originalActionId?: string | null | undefined;
|
16793
17452
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
16794
17453
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -17069,6 +17728,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
17069
17728
|
surname?: string | null | undefined;
|
17070
17729
|
middlename?: string | null | undefined;
|
17071
17730
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
17731
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
17732
|
+
templateId: z.ZodOptional<z.ZodString>;
|
17733
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
17734
|
+
}, "strip", z.ZodTypeAny, {
|
17735
|
+
templateId?: string | undefined;
|
17736
|
+
isImmediateCorrection?: boolean | undefined;
|
17737
|
+
}, {
|
17738
|
+
templateId?: string | undefined;
|
17739
|
+
isImmediateCorrection?: boolean | undefined;
|
17740
|
+
}>>>;
|
17072
17741
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
17073
17742
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
17074
17743
|
}, {
|
@@ -17174,6 +17843,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
17174
17843
|
start: string;
|
17175
17844
|
end: string;
|
17176
17845
|
} | null | undefined> | null | undefined;
|
17846
|
+
actionDetails?: {
|
17847
|
+
templateId?: string | undefined;
|
17848
|
+
isImmediateCorrection?: boolean | undefined;
|
17849
|
+
} | null | undefined;
|
17177
17850
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
17178
17851
|
}, {
|
17179
17852
|
type: "READ";
|
@@ -17276,6 +17949,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
17276
17949
|
start: string;
|
17277
17950
|
end: string;
|
17278
17951
|
} | null | undefined> | null | undefined;
|
17952
|
+
actionDetails?: {
|
17953
|
+
templateId?: string | undefined;
|
17954
|
+
isImmediateCorrection?: boolean | undefined;
|
17955
|
+
} | null | undefined;
|
17279
17956
|
originalActionId?: string | null | undefined;
|
17280
17957
|
}>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
17281
17958
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -17556,6 +18233,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
17556
18233
|
surname?: string | null | undefined;
|
17557
18234
|
middlename?: string | null | undefined;
|
17558
18235
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
18236
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
18237
|
+
templateId: z.ZodOptional<z.ZodString>;
|
18238
|
+
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
18239
|
+
}, "strip", z.ZodTypeAny, {
|
18240
|
+
templateId?: string | undefined;
|
18241
|
+
isImmediateCorrection?: boolean | undefined;
|
18242
|
+
}, {
|
18243
|
+
templateId?: string | undefined;
|
18244
|
+
isImmediateCorrection?: boolean | undefined;
|
18245
|
+
}>>>;
|
17559
18246
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
17560
18247
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
17561
18248
|
}, "declaration" | "annotation">, {
|
@@ -17572,6 +18259,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
17572
18259
|
createdByRole: string;
|
17573
18260
|
createdBySignature?: string | null | undefined;
|
17574
18261
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
18262
|
+
actionDetails?: {
|
18263
|
+
templateId?: string | undefined;
|
18264
|
+
isImmediateCorrection?: boolean | undefined;
|
18265
|
+
} | null | undefined;
|
17575
18266
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
17576
18267
|
}, {
|
17577
18268
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -17584,6 +18275,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
17584
18275
|
createdByRole: string;
|
17585
18276
|
createdBySignature?: string | null | undefined;
|
17586
18277
|
createdAtLocation?: string | null | undefined;
|
18278
|
+
actionDetails?: {
|
18279
|
+
templateId?: string | undefined;
|
18280
|
+
isImmediateCorrection?: boolean | undefined;
|
18281
|
+
} | null | undefined;
|
17587
18282
|
originalActionId?: string | null | undefined;
|
17588
18283
|
}>]>;
|
17589
18284
|
export type Action = ActionDocument | AsyncRejectActionDocument;
|