@opencrvs/toolkit 1.8.1-rc.c6281e8 → 1.8.1-rc.e23b224
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 +18 -24
- package/dist/commons/events/ActionDocument.d.ts +536 -36
- package/dist/commons/events/ActionInput.d.ts +26 -36
- package/dist/commons/events/AdvancedSearchConfig.d.ts +34 -34
- package/dist/commons/events/EventConfig.d.ts +22 -22
- package/dist/commons/events/EventDocument.d.ts +19 -26
- package/dist/commons/events/EventIndex.d.ts +0 -122
- package/dist/commons/events/WorkqueueConfig.d.ts +0 -89
- package/dist/commons/events/defineConfig.d.ts +2 -2
- package/dist/commons/events/event.d.ts +0 -8
- package/dist/commons/events/field.d.ts +0 -14
- package/dist/commons/events/test.utils.d.ts +1 -5
- package/dist/commons/events/utils.d.ts +2 -2
- package/dist/events/index.js +17 -28
- package/package.json +1 -1
@@ -1209,6 +1209,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1209
1209
|
end: string;
|
1210
1210
|
} | null | undefined> | null | undefined;
|
1211
1211
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1212
|
+
actionDetails?: {
|
1213
|
+
templateId?: string | undefined;
|
1214
|
+
} | null | undefined;
|
1212
1215
|
} | {
|
1213
1216
|
type: "REQUEST_CORRECTION";
|
1214
1217
|
id: string & import("zod").BRAND<"UUID">;
|
@@ -1418,10 +1421,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1418
1421
|
type: "REJECT_CORRECTION";
|
1419
1422
|
id: string & import("zod").BRAND<"UUID">;
|
1420
1423
|
status: "Rejected" | "Requested" | "Accepted";
|
1421
|
-
reason: {
|
1422
|
-
message: string;
|
1423
|
-
isDuplicate?: boolean | undefined;
|
1424
|
-
};
|
1425
1424
|
transactionId: string;
|
1426
1425
|
createdByUserType: "system" | "user";
|
1427
1426
|
createdAt: string;
|
@@ -2779,6 +2778,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2779
2778
|
end: string;
|
2780
2779
|
} | null | undefined> | null | undefined;
|
2781
2780
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2781
|
+
actionDetails?: {
|
2782
|
+
templateId?: string | undefined;
|
2783
|
+
} | null | undefined;
|
2782
2784
|
} | {
|
2783
2785
|
type: "REQUEST_CORRECTION";
|
2784
2786
|
id: string & import("zod").BRAND<"UUID">;
|
@@ -2988,10 +2990,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2988
2990
|
type: "REJECT_CORRECTION";
|
2989
2991
|
id: string & import("zod").BRAND<"UUID">;
|
2990
2992
|
status: "Rejected" | "Requested" | "Accepted";
|
2991
|
-
reason: {
|
2992
|
-
message: string;
|
2993
|
-
isDuplicate?: boolean | undefined;
|
2994
|
-
};
|
2995
2993
|
transactionId: string;
|
2996
2994
|
createdByUserType: "system" | "user";
|
2997
2995
|
createdAt: string;
|
@@ -5141,6 +5139,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5141
5139
|
end: string;
|
5142
5140
|
} | null | undefined> | null | undefined;
|
5143
5141
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5142
|
+
actionDetails?: {
|
5143
|
+
templateId?: string | undefined;
|
5144
|
+
} | null | undefined;
|
5144
5145
|
} | {
|
5145
5146
|
type: "REQUEST_CORRECTION";
|
5146
5147
|
id: string & import("zod").BRAND<"UUID">;
|
@@ -5350,10 +5351,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5350
5351
|
type: "REJECT_CORRECTION";
|
5351
5352
|
id: string & import("zod").BRAND<"UUID">;
|
5352
5353
|
status: "Rejected" | "Requested" | "Accepted";
|
5353
|
-
reason: {
|
5354
|
-
message: string;
|
5355
|
-
isDuplicate?: boolean | undefined;
|
5356
|
-
};
|
5357
5354
|
transactionId: string;
|
5358
5355
|
createdByUserType: "system" | "user";
|
5359
5356
|
createdAt: string;
|
@@ -6808,6 +6805,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6808
6805
|
end: string;
|
6809
6806
|
} | null | undefined> | null | undefined;
|
6810
6807
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6808
|
+
actionDetails?: {
|
6809
|
+
templateId?: string | undefined;
|
6810
|
+
} | null | undefined;
|
6811
6811
|
} | {
|
6812
6812
|
type: "REQUEST_CORRECTION";
|
6813
6813
|
id: string & import("zod").BRAND<"UUID">;
|
@@ -7017,10 +7017,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7017
7017
|
type: "REJECT_CORRECTION";
|
7018
7018
|
id: string & import("zod").BRAND<"UUID">;
|
7019
7019
|
status: "Rejected" | "Requested" | "Accepted";
|
7020
|
-
reason: {
|
7021
|
-
message: string;
|
7022
|
-
isDuplicate?: boolean | undefined;
|
7023
|
-
};
|
7024
7020
|
transactionId: string;
|
7025
7021
|
createdByUserType: "system" | "user";
|
7026
7022
|
createdAt: string;
|
@@ -8717,6 +8713,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8717
8713
|
end: string;
|
8718
8714
|
} | null | undefined> | null | undefined;
|
8719
8715
|
originalActionId?: string | null | undefined;
|
8716
|
+
actionDetails?: {
|
8717
|
+
templateId?: string | undefined;
|
8718
|
+
} | null | undefined;
|
8720
8719
|
} | {
|
8721
8720
|
type: "REQUEST_CORRECTION";
|
8722
8721
|
id: string;
|
@@ -8926,10 +8925,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8926
8925
|
type: "REJECT_CORRECTION";
|
8927
8926
|
id: string;
|
8928
8927
|
status: "Rejected" | "Requested" | "Accepted";
|
8929
|
-
reason: {
|
8930
|
-
message: string;
|
8931
|
-
isDuplicate?: boolean | undefined;
|
8932
|
-
};
|
8933
8928
|
transactionId: string;
|
8934
8929
|
createdByUserType: "system" | "user";
|
8935
8930
|
createdAt: string;
|
@@ -10283,6 +10278,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10283
10278
|
end: string;
|
10284
10279
|
} | null | undefined> | null | undefined;
|
10285
10280
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10281
|
+
actionDetails?: {
|
10282
|
+
templateId?: string | undefined;
|
10283
|
+
} | null | undefined;
|
10286
10284
|
} | {
|
10287
10285
|
type: "REQUEST_CORRECTION";
|
10288
10286
|
id: string & import("zod").BRAND<"UUID">;
|
@@ -10492,10 +10490,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10492
10490
|
type: "REJECT_CORRECTION";
|
10493
10491
|
id: string & import("zod").BRAND<"UUID">;
|
10494
10492
|
status: "Rejected" | "Requested" | "Accepted";
|
10495
|
-
reason: {
|
10496
|
-
message: string;
|
10497
|
-
isDuplicate?: boolean | undefined;
|
10498
|
-
};
|
10499
10493
|
transactionId: string;
|
10500
10494
|
createdByUserType: "system" | "user";
|
10501
10495
|
createdAt: string;
|