@opencrvs/toolkit 1.8.1-rc.bbbfede → 1.8.1-rc.facd84c
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 +24 -408
- package/dist/commons/conditionals/validate.d.ts +2 -3
- package/dist/commons/events/ActionDocument.d.ts +36 -659
- package/dist/commons/events/ActionInput.d.ts +36 -540
- package/dist/commons/events/Draft.d.ts +0 -44
- package/dist/commons/events/EventDocument.d.ts +26 -416
- package/dist/commons/events/EventIndex.d.ts +0 -6
- package/dist/commons/events/EventMetadata.d.ts +0 -6
- package/dist/commons/events/event.d.ts +1 -55
- package/dist/commons/events/test.utils.d.ts +5 -1
- package/dist/commons/events/utils.d.ts +0 -4
- package/dist/events/index.js +38 -129
- package/package.json +1 -1
@@ -283,16 +283,6 @@ export declare const Draft: z.ZodObject<{
|
|
283
283
|
surname?: string | null | undefined;
|
284
284
|
middlename?: string | null | undefined;
|
285
285
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
286
|
-
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
287
|
-
templateId: z.ZodOptional<z.ZodString>;
|
288
|
-
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
289
|
-
}, "strip", z.ZodTypeAny, {
|
290
|
-
templateId?: string | undefined;
|
291
|
-
isImmediateCorrection?: boolean | undefined;
|
292
|
-
}, {
|
293
|
-
templateId?: string | undefined;
|
294
|
-
isImmediateCorrection?: boolean | undefined;
|
295
|
-
}>>>;
|
296
286
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
297
287
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
298
288
|
}, {
|
@@ -397,10 +387,6 @@ export declare const Draft: z.ZodObject<{
|
|
397
387
|
start: string;
|
398
388
|
end: string;
|
399
389
|
} | null | undefined> | null | undefined;
|
400
|
-
actionDetails?: {
|
401
|
-
templateId?: string | undefined;
|
402
|
-
isImmediateCorrection?: boolean | undefined;
|
403
|
-
} | null | undefined;
|
404
390
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
405
391
|
}, {
|
406
392
|
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
@@ -502,10 +488,6 @@ export declare const Draft: z.ZodObject<{
|
|
502
488
|
start: string;
|
503
489
|
end: string;
|
504
490
|
} | null | undefined> | null | undefined;
|
505
|
-
actionDetails?: {
|
506
|
-
templateId?: string | undefined;
|
507
|
-
isImmediateCorrection?: boolean | undefined;
|
508
|
-
} | null | undefined;
|
509
491
|
originalActionId?: string | null | undefined;
|
510
492
|
}>;
|
511
493
|
}, "strip", z.ZodTypeAny, {
|
@@ -613,10 +595,6 @@ export declare const Draft: z.ZodObject<{
|
|
613
595
|
start: string;
|
614
596
|
end: string;
|
615
597
|
} | null | undefined> | null | undefined;
|
616
|
-
actionDetails?: {
|
617
|
-
templateId?: string | undefined;
|
618
|
-
isImmediateCorrection?: boolean | undefined;
|
619
|
-
} | null | undefined;
|
620
598
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
621
599
|
};
|
622
600
|
}, {
|
@@ -724,10 +702,6 @@ export declare const Draft: z.ZodObject<{
|
|
724
702
|
start: string;
|
725
703
|
end: string;
|
726
704
|
} | null | undefined> | null | undefined;
|
727
|
-
actionDetails?: {
|
728
|
-
templateId?: string | undefined;
|
729
|
-
isImmediateCorrection?: boolean | undefined;
|
730
|
-
} | null | undefined;
|
731
705
|
originalActionId?: string | null | undefined;
|
732
706
|
};
|
733
707
|
}>;
|
@@ -1004,16 +978,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1004
978
|
surname?: string | null | undefined;
|
1005
979
|
middlename?: string | null | undefined;
|
1006
980
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
1007
|
-
actionDetails: z.ZodOptional<z.ZodObject<{
|
1008
|
-
templateId: z.ZodOptional<z.ZodString>;
|
1009
|
-
isImmediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
1010
|
-
}, "strip", z.ZodTypeAny, {
|
1011
|
-
templateId?: string | undefined;
|
1012
|
-
isImmediateCorrection?: boolean | undefined;
|
1013
|
-
}, {
|
1014
|
-
templateId?: string | undefined;
|
1015
|
-
isImmediateCorrection?: boolean | undefined;
|
1016
|
-
}>>;
|
1017
981
|
originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
|
1018
982
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
1019
983
|
}, {
|
@@ -1114,10 +1078,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1114
1078
|
start: string;
|
1115
1079
|
end: string;
|
1116
1080
|
} | null | undefined> | undefined;
|
1117
|
-
actionDetails?: {
|
1118
|
-
templateId?: string | undefined;
|
1119
|
-
isImmediateCorrection?: boolean | undefined;
|
1120
|
-
} | undefined;
|
1121
1081
|
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
1122
1082
|
keepAssignment?: boolean | undefined;
|
1123
1083
|
}, {
|
@@ -1215,10 +1175,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1215
1175
|
start: string;
|
1216
1176
|
end: string;
|
1217
1177
|
} | null | undefined> | undefined;
|
1218
|
-
actionDetails?: {
|
1219
|
-
templateId?: string | undefined;
|
1220
|
-
isImmediateCorrection?: boolean | undefined;
|
1221
|
-
} | undefined;
|
1222
1178
|
originalActionId?: string | undefined;
|
1223
1179
|
keepAssignment?: boolean | undefined;
|
1224
1180
|
}>;
|