@opencrvs/toolkit 1.8.1-rc.651c27c → 1.8.1-rc.672d719
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 +42 -2
- package/dist/commons/events/ActionDocument.d.ts +572 -0
- package/dist/commons/events/ActionInput.d.ts +62 -0
- 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 +45 -0
- package/dist/commons/events/EventIndex.d.ts +122 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +89 -0
- package/dist/commons/events/defineConfig.d.ts +2 -2
- package/dist/commons/events/event.d.ts +8 -0
- package/dist/commons/events/field.d.ts +14 -0
- package/dist/commons/events/test.utils.d.ts +5 -1
- package/dist/commons/events/utils.d.ts +2 -2
- package/dist/events/index.js +45 -10
- package/package.json +1 -1
@@ -1161,6 +1161,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1161
1161
|
start: string;
|
1162
1162
|
end: string;
|
1163
1163
|
} | null | undefined>;
|
1164
|
+
content?: {
|
1165
|
+
templateId?: string | undefined;
|
1166
|
+
} | null | undefined;
|
1164
1167
|
createdBySignature?: string | null | undefined;
|
1165
1168
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1166
1169
|
annotation?: Record<string, string | number | boolean | {
|
@@ -1418,6 +1421,10 @@ 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";
|
1424
|
+
reason: {
|
1425
|
+
message: string;
|
1426
|
+
isDuplicate?: boolean | undefined;
|
1427
|
+
};
|
1421
1428
|
transactionId: string;
|
1422
1429
|
createdByUserType: "system" | "user";
|
1423
1430
|
createdAt: string;
|
@@ -2727,6 +2734,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2727
2734
|
start: string;
|
2728
2735
|
end: string;
|
2729
2736
|
} | null | undefined>;
|
2737
|
+
content?: {
|
2738
|
+
templateId?: string | undefined;
|
2739
|
+
} | null | undefined;
|
2730
2740
|
createdBySignature?: string | null | undefined;
|
2731
2741
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2732
2742
|
annotation?: Record<string, string | number | boolean | {
|
@@ -2984,6 +2994,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2984
2994
|
type: "REJECT_CORRECTION";
|
2985
2995
|
id: string & import("zod").BRAND<"UUID">;
|
2986
2996
|
status: "Rejected" | "Requested" | "Accepted";
|
2997
|
+
reason: {
|
2998
|
+
message: string;
|
2999
|
+
isDuplicate?: boolean | undefined;
|
3000
|
+
};
|
2987
3001
|
transactionId: string;
|
2988
3002
|
createdByUserType: "system" | "user";
|
2989
3003
|
createdAt: string;
|
@@ -5085,6 +5099,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5085
5099
|
start: string;
|
5086
5100
|
end: string;
|
5087
5101
|
} | null | undefined>;
|
5102
|
+
content?: {
|
5103
|
+
templateId?: string | undefined;
|
5104
|
+
} | null | undefined;
|
5088
5105
|
createdBySignature?: string | null | undefined;
|
5089
5106
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5090
5107
|
annotation?: Record<string, string | number | boolean | {
|
@@ -5342,6 +5359,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5342
5359
|
type: "REJECT_CORRECTION";
|
5343
5360
|
id: string & import("zod").BRAND<"UUID">;
|
5344
5361
|
status: "Rejected" | "Requested" | "Accepted";
|
5362
|
+
reason: {
|
5363
|
+
message: string;
|
5364
|
+
isDuplicate?: boolean | undefined;
|
5365
|
+
};
|
5345
5366
|
transactionId: string;
|
5346
5367
|
createdByUserType: "system" | "user";
|
5347
5368
|
createdAt: string;
|
@@ -6748,6 +6769,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6748
6769
|
start: string;
|
6749
6770
|
end: string;
|
6750
6771
|
} | null | undefined>;
|
6772
|
+
content?: {
|
6773
|
+
templateId?: string | undefined;
|
6774
|
+
} | null | undefined;
|
6751
6775
|
createdBySignature?: string | null | undefined;
|
6752
6776
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6753
6777
|
annotation?: Record<string, string | number | boolean | {
|
@@ -7005,6 +7029,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7005
7029
|
type: "REJECT_CORRECTION";
|
7006
7030
|
id: string & import("zod").BRAND<"UUID">;
|
7007
7031
|
status: "Rejected" | "Requested" | "Accepted";
|
7032
|
+
reason: {
|
7033
|
+
message: string;
|
7034
|
+
isDuplicate?: boolean | undefined;
|
7035
|
+
};
|
7008
7036
|
transactionId: string;
|
7009
7037
|
createdByUserType: "system" | "user";
|
7010
7038
|
createdAt: string;
|
@@ -8653,6 +8681,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8653
8681
|
start: string;
|
8654
8682
|
end: string;
|
8655
8683
|
} | null | undefined>;
|
8684
|
+
content?: {
|
8685
|
+
templateId?: string | undefined;
|
8686
|
+
} | null | undefined;
|
8656
8687
|
createdBySignature?: string | null | undefined;
|
8657
8688
|
createdAtLocation?: string | null | undefined;
|
8658
8689
|
annotation?: Record<string, string | number | boolean | {
|
@@ -8910,6 +8941,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8910
8941
|
type: "REJECT_CORRECTION";
|
8911
8942
|
id: string;
|
8912
8943
|
status: "Rejected" | "Requested" | "Accepted";
|
8944
|
+
reason: {
|
8945
|
+
message: string;
|
8946
|
+
isDuplicate?: boolean | undefined;
|
8947
|
+
};
|
8913
8948
|
transactionId: string;
|
8914
8949
|
createdByUserType: "system" | "user";
|
8915
8950
|
createdAt: string;
|
@@ -10215,6 +10250,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10215
10250
|
start: string;
|
10216
10251
|
end: string;
|
10217
10252
|
} | null | undefined>;
|
10253
|
+
content?: {
|
10254
|
+
templateId?: string | undefined;
|
10255
|
+
} | null | undefined;
|
10218
10256
|
createdBySignature?: string | null | undefined;
|
10219
10257
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10220
10258
|
annotation?: Record<string, string | number | boolean | {
|
@@ -10472,6 +10510,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10472
10510
|
type: "REJECT_CORRECTION";
|
10473
10511
|
id: string & import("zod").BRAND<"UUID">;
|
10474
10512
|
status: "Rejected" | "Requested" | "Accepted";
|
10513
|
+
reason: {
|
10514
|
+
message: string;
|
10515
|
+
isDuplicate?: boolean | undefined;
|
10516
|
+
};
|
10475
10517
|
transactionId: string;
|
10476
10518
|
createdByUserType: "system" | "user";
|
10477
10519
|
createdAt: string;
|
@@ -10763,7 +10805,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10763
10805
|
set: import("@trpc/server").TRPCMutationProcedure<{
|
10764
10806
|
input: {
|
10765
10807
|
id: string;
|
10766
|
-
externalId: string | null;
|
10767
10808
|
name: string;
|
10768
10809
|
partOf: string | null;
|
10769
10810
|
}[];
|
@@ -10774,7 +10815,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10774
10815
|
input: void;
|
10775
10816
|
output: {
|
10776
10817
|
id: string & import("zod").BRAND<"UUID">;
|
10777
|
-
externalId: string | null;
|
10778
10818
|
name: string;
|
10779
10819
|
partOf: (string & import("zod").BRAND<"UUID">) | null;
|
10780
10820
|
}[];
|