@opencrvs/toolkit 1.9.7-rc.00d06cf → 1.9.7-rc.04ec821
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 +224 -242
- package/dist/commons/events/ActionConfig.d.ts +0 -70
- package/dist/commons/events/ActionDocument.d.ts +47 -47
- package/dist/commons/events/Draft.d.ts +1 -1
- package/dist/commons/events/EventConfig.d.ts +0 -56
- package/dist/commons/events/EventDocument.d.ts +19 -19
- package/dist/commons/events/EventIndex.d.ts +3 -3
- package/dist/commons/events/EventMetadata.d.ts +7 -7
- package/dist/commons/events/FieldConfig.d.ts +0 -21
- package/dist/commons/events/FormConfig.d.ts +0 -42
- package/dist/commons/events/PageConfig.d.ts +0 -28
- package/dist/commons/events/defineConfig.d.ts +0 -8
- package/dist/commons/events/state/index.d.ts +3 -3
- package/dist/commons/events/state/utils.d.ts +21 -21
- package/dist/commons/events/test.utils.d.ts +0 -14
- package/dist/commons/events/utils.d.ts +19 -35
- package/dist/events/index.js +6 -58
- package/dist/notification/index.js +5 -11
- package/dist/scopes/index.d.ts +2 -3
- package/dist/scopes/index.js +1 -3
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11
11
|
} | {
|
|
12
12
|
type: "system";
|
|
13
13
|
id: string;
|
|
14
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
14
15
|
signature?: undefined;
|
|
15
16
|
primaryOfficeId?: undefined;
|
|
16
17
|
administrativeAreaId?: undefined;
|
|
@@ -33,6 +34,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
33
34
|
} | {
|
|
34
35
|
type: "system";
|
|
35
36
|
id: string;
|
|
37
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
36
38
|
signature?: undefined;
|
|
37
39
|
primaryOfficeId?: undefined;
|
|
38
40
|
administrativeAreaId?: undefined;
|
|
@@ -55,6 +57,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
55
57
|
} | {
|
|
56
58
|
type: "system";
|
|
57
59
|
id: string;
|
|
60
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
58
61
|
signature?: undefined;
|
|
59
62
|
primaryOfficeId?: undefined;
|
|
60
63
|
administrativeAreaId?: undefined;
|
|
@@ -930,7 +933,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
930
933
|
styles?: {
|
|
931
934
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
932
935
|
hint?: boolean | undefined;
|
|
933
|
-
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
934
936
|
} | undefined;
|
|
935
937
|
};
|
|
936
938
|
parent?: {
|
|
@@ -4213,7 +4215,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4213
4215
|
styles?: {
|
|
4214
4216
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
4215
4217
|
hint?: boolean | undefined;
|
|
4216
|
-
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
4217
4218
|
} | undefined;
|
|
4218
4219
|
};
|
|
4219
4220
|
parent?: {
|
|
@@ -7595,7 +7596,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7595
7596
|
styles?: {
|
|
7596
7597
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
7597
7598
|
hint?: boolean | undefined;
|
|
7598
|
-
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
7599
7599
|
} | undefined;
|
|
7600
7600
|
};
|
|
7601
7601
|
parent?: {
|
|
@@ -10862,7 +10862,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10862
10862
|
styles?: {
|
|
10863
10863
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
10864
10864
|
hint?: boolean | undefined;
|
|
10865
|
-
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
10866
10865
|
} | undefined;
|
|
10867
10866
|
};
|
|
10868
10867
|
parent?: {
|
|
@@ -14190,7 +14189,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
14190
14189
|
styles?: {
|
|
14191
14190
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
14192
14191
|
hint?: boolean | undefined;
|
|
14193
|
-
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
14194
14192
|
} | undefined;
|
|
14195
14193
|
};
|
|
14196
14194
|
parent?: {
|
|
@@ -17457,7 +17455,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
17457
17455
|
styles?: {
|
|
17458
17456
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
17459
17457
|
hint?: boolean | undefined;
|
|
17460
|
-
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
17461
17458
|
} | undefined;
|
|
17462
17459
|
};
|
|
17463
17460
|
parent?: {
|
|
@@ -20839,7 +20836,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
20839
20836
|
styles?: {
|
|
20840
20837
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
20841
20838
|
hint?: boolean | undefined;
|
|
20842
|
-
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
20843
20839
|
} | undefined;
|
|
20844
20840
|
};
|
|
20845
20841
|
parent?: {
|
|
@@ -24129,7 +24125,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
24129
24125
|
styles?: {
|
|
24130
24126
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
24131
24127
|
hint?: boolean | undefined;
|
|
24132
|
-
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
24133
24128
|
} | undefined;
|
|
24134
24129
|
};
|
|
24135
24130
|
parent?: {
|
|
@@ -26736,10 +26731,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26736
26731
|
createdByUserType: "user" | "system";
|
|
26737
26732
|
createdAt: string;
|
|
26738
26733
|
createdBy: string;
|
|
26734
|
+
createdByRole: string;
|
|
26739
26735
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26740
26736
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26741
26737
|
type: "CREATE";
|
|
26742
|
-
createdByRole?: string | null | undefined;
|
|
26743
26738
|
createdBySignature?: string | null | undefined;
|
|
26744
26739
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26745
26740
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26750,13 +26745,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26750
26745
|
createdByUserType: "user" | "system";
|
|
26751
26746
|
createdAt: string;
|
|
26752
26747
|
createdBy: string;
|
|
26748
|
+
createdByRole: string;
|
|
26753
26749
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26754
26750
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26755
26751
|
type: "REJECT";
|
|
26756
26752
|
content: {
|
|
26757
26753
|
reason: string;
|
|
26758
26754
|
};
|
|
26759
|
-
createdByRole?: string | null | undefined;
|
|
26760
26755
|
createdBySignature?: string | null | undefined;
|
|
26761
26756
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26762
26757
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26767,6 +26762,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26767
26762
|
createdByUserType: "user" | "system";
|
|
26768
26763
|
createdAt: string;
|
|
26769
26764
|
createdBy: string;
|
|
26765
|
+
createdByRole: string;
|
|
26770
26766
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26771
26767
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26772
26768
|
type: "DUPLICATE_DETECTED";
|
|
@@ -26776,7 +26772,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26776
26772
|
trackingId: string;
|
|
26777
26773
|
}[];
|
|
26778
26774
|
};
|
|
26779
|
-
createdByRole?: string | null | undefined;
|
|
26780
26775
|
createdBySignature?: string | null | undefined;
|
|
26781
26776
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26782
26777
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26787,10 +26782,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26787
26782
|
createdByUserType: "user" | "system";
|
|
26788
26783
|
createdAt: string;
|
|
26789
26784
|
createdBy: string;
|
|
26785
|
+
createdByRole: string;
|
|
26790
26786
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26791
26787
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26792
26788
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
26793
|
-
createdByRole?: string | null | undefined;
|
|
26794
26789
|
createdBySignature?: string | null | undefined;
|
|
26795
26790
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26796
26791
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26801,10 +26796,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26801
26796
|
createdByUserType: "user" | "system";
|
|
26802
26797
|
createdAt: string;
|
|
26803
26798
|
createdBy: string;
|
|
26799
|
+
createdByRole: string;
|
|
26804
26800
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26805
26801
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26806
26802
|
type: "MARK_AS_DUPLICATE";
|
|
26807
|
-
createdByRole?: string | null | undefined;
|
|
26808
26803
|
createdBySignature?: string | null | undefined;
|
|
26809
26804
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26810
26805
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26818,13 +26813,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26818
26813
|
createdByUserType: "user" | "system";
|
|
26819
26814
|
createdAt: string;
|
|
26820
26815
|
createdBy: string;
|
|
26816
|
+
createdByRole: string;
|
|
26821
26817
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26822
26818
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26823
26819
|
type: "ARCHIVE";
|
|
26824
26820
|
content: {
|
|
26825
26821
|
reason: string;
|
|
26826
26822
|
};
|
|
26827
|
-
createdByRole?: string | null | undefined;
|
|
26828
26823
|
createdBySignature?: string | null | undefined;
|
|
26829
26824
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26830
26825
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26835,10 +26830,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26835
26830
|
createdByUserType: "user" | "system";
|
|
26836
26831
|
createdAt: string;
|
|
26837
26832
|
createdBy: string;
|
|
26833
|
+
createdByRole: string;
|
|
26838
26834
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26839
26835
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26840
26836
|
type: "NOTIFY";
|
|
26841
|
-
createdByRole?: string | null | undefined;
|
|
26842
26837
|
createdBySignature?: string | null | undefined;
|
|
26843
26838
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26844
26839
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26849,10 +26844,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26849
26844
|
createdByUserType: "user" | "system";
|
|
26850
26845
|
createdAt: string;
|
|
26851
26846
|
createdBy: string;
|
|
26847
|
+
createdByRole: string;
|
|
26852
26848
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26853
26849
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26854
26850
|
type: "REGISTER";
|
|
26855
|
-
createdByRole?: string | null | undefined;
|
|
26856
26851
|
createdBySignature?: string | null | undefined;
|
|
26857
26852
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26858
26853
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26864,10 +26859,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26864
26859
|
createdByUserType: "user" | "system";
|
|
26865
26860
|
createdAt: string;
|
|
26866
26861
|
createdBy: string;
|
|
26862
|
+
createdByRole: string;
|
|
26867
26863
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26868
26864
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26869
26865
|
type: "DECLARE";
|
|
26870
|
-
createdByRole?: string | null | undefined;
|
|
26871
26866
|
createdBySignature?: string | null | undefined;
|
|
26872
26867
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26873
26868
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26878,11 +26873,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26878
26873
|
createdByUserType: "user" | "system";
|
|
26879
26874
|
createdAt: string;
|
|
26880
26875
|
createdBy: string;
|
|
26876
|
+
createdByRole: string;
|
|
26881
26877
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26882
26878
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26883
26879
|
type: "ASSIGN";
|
|
26884
26880
|
assignedTo: string;
|
|
26885
|
-
createdByRole?: string | null | undefined;
|
|
26886
26881
|
createdBySignature?: string | null | undefined;
|
|
26887
26882
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26888
26883
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26893,10 +26888,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26893
26888
|
createdByUserType: "user" | "system";
|
|
26894
26889
|
createdAt: string;
|
|
26895
26890
|
createdBy: string;
|
|
26891
|
+
createdByRole: string;
|
|
26896
26892
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26897
26893
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26898
26894
|
type: "REQUEST_CORRECTION";
|
|
26899
|
-
createdByRole?: string | null | undefined;
|
|
26900
26895
|
createdBySignature?: string | null | undefined;
|
|
26901
26896
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26902
26897
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26907,11 +26902,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26907
26902
|
createdByUserType: "user" | "system";
|
|
26908
26903
|
createdAt: string;
|
|
26909
26904
|
createdBy: string;
|
|
26905
|
+
createdByRole: string;
|
|
26910
26906
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26911
26907
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26912
26908
|
type: "APPROVE_CORRECTION";
|
|
26913
26909
|
requestId: string;
|
|
26914
|
-
createdByRole?: string | null | undefined;
|
|
26915
26910
|
createdBySignature?: string | null | undefined;
|
|
26916
26911
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26917
26912
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26922,6 +26917,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26922
26917
|
createdByUserType: "user" | "system";
|
|
26923
26918
|
createdAt: string;
|
|
26924
26919
|
createdBy: string;
|
|
26920
|
+
createdByRole: string;
|
|
26925
26921
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26926
26922
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26927
26923
|
type: "REJECT_CORRECTION";
|
|
@@ -26929,7 +26925,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26929
26925
|
content: {
|
|
26930
26926
|
reason: string;
|
|
26931
26927
|
};
|
|
26932
|
-
createdByRole?: string | null | undefined;
|
|
26933
26928
|
createdBySignature?: string | null | undefined;
|
|
26934
26929
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26935
26930
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26940,10 +26935,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26940
26935
|
createdByUserType: "user" | "system";
|
|
26941
26936
|
createdAt: string;
|
|
26942
26937
|
createdBy: string;
|
|
26938
|
+
createdByRole: string;
|
|
26943
26939
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26944
26940
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26945
26941
|
type: "UNASSIGN";
|
|
26946
|
-
createdByRole?: string | null | undefined;
|
|
26947
26942
|
createdBySignature?: string | null | undefined;
|
|
26948
26943
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26949
26944
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26954,10 +26949,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26954
26949
|
createdByUserType: "user" | "system";
|
|
26955
26950
|
createdAt: string;
|
|
26956
26951
|
createdBy: string;
|
|
26952
|
+
createdByRole: string;
|
|
26957
26953
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26958
26954
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26959
26955
|
type: "PRINT_CERTIFICATE";
|
|
26960
|
-
createdByRole?: string | null | undefined;
|
|
26961
26956
|
createdBySignature?: string | null | undefined;
|
|
26962
26957
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26963
26958
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26971,10 +26966,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26971
26966
|
createdByUserType: "user" | "system";
|
|
26972
26967
|
createdAt: string;
|
|
26973
26968
|
createdBy: string;
|
|
26969
|
+
createdByRole: string;
|
|
26974
26970
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26975
26971
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26976
26972
|
type: "READ";
|
|
26977
|
-
createdByRole?: string | null | undefined;
|
|
26978
26973
|
createdBySignature?: string | null | undefined;
|
|
26979
26974
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26980
26975
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26985,13 +26980,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26985
26980
|
createdByUserType: "user" | "system";
|
|
26986
26981
|
createdAt: string;
|
|
26987
26982
|
createdBy: string;
|
|
26983
|
+
createdByRole: string;
|
|
26988
26984
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26989
26985
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26990
26986
|
type: "EDIT";
|
|
26991
26987
|
content: {
|
|
26992
26988
|
comment?: string | undefined;
|
|
26993
26989
|
};
|
|
26994
|
-
createdByRole?: string | null | undefined;
|
|
26995
26990
|
createdBySignature?: string | null | undefined;
|
|
26996
26991
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26997
26992
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27002,11 +26997,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27002
26997
|
createdByUserType: "user" | "system";
|
|
27003
26998
|
createdAt: string;
|
|
27004
26999
|
createdBy: string;
|
|
27000
|
+
createdByRole: string;
|
|
27005
27001
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27006
27002
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27007
27003
|
type: "CUSTOM";
|
|
27008
27004
|
customActionType: string;
|
|
27009
|
-
createdByRole?: string | null | undefined;
|
|
27010
27005
|
createdBySignature?: string | null | undefined;
|
|
27011
27006
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27012
27007
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27017,9 +27012,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27017
27012
|
createdByUserType: "user" | "system";
|
|
27018
27013
|
createdAt: string;
|
|
27019
27014
|
createdBy: string;
|
|
27015
|
+
createdByRole: string;
|
|
27020
27016
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
27021
27017
|
status: "Rejected";
|
|
27022
|
-
createdByRole?: string | null | undefined;
|
|
27023
27018
|
createdBySignature?: string | null | undefined;
|
|
27024
27019
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27025
27020
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27029,9 +27024,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27029
27024
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
27030
27025
|
}>;
|
|
27031
27026
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
27032
|
-
input:
|
|
27033
|
-
eventId: string;
|
|
27034
|
-
};
|
|
27027
|
+
input: string;
|
|
27035
27028
|
output: {
|
|
27036
27029
|
id: string & import("zod").$brand<"UUID">;
|
|
27037
27030
|
type: string;
|
|
@@ -27043,10 +27036,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27043
27036
|
createdByUserType: "user" | "system";
|
|
27044
27037
|
createdAt: string;
|
|
27045
27038
|
createdBy: string;
|
|
27039
|
+
createdByRole: string;
|
|
27046
27040
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27047
27041
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27048
27042
|
type: "CREATE";
|
|
27049
|
-
createdByRole?: string | null | undefined;
|
|
27050
27043
|
createdBySignature?: string | null | undefined;
|
|
27051
27044
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27052
27045
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27057,13 +27050,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27057
27050
|
createdByUserType: "user" | "system";
|
|
27058
27051
|
createdAt: string;
|
|
27059
27052
|
createdBy: string;
|
|
27053
|
+
createdByRole: string;
|
|
27060
27054
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27061
27055
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27062
27056
|
type: "REJECT";
|
|
27063
27057
|
content: {
|
|
27064
27058
|
reason: string;
|
|
27065
27059
|
};
|
|
27066
|
-
createdByRole?: string | null | undefined;
|
|
27067
27060
|
createdBySignature?: string | null | undefined;
|
|
27068
27061
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27069
27062
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27074,6 +27067,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27074
27067
|
createdByUserType: "user" | "system";
|
|
27075
27068
|
createdAt: string;
|
|
27076
27069
|
createdBy: string;
|
|
27070
|
+
createdByRole: string;
|
|
27077
27071
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27078
27072
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27079
27073
|
type: "DUPLICATE_DETECTED";
|
|
@@ -27083,7 +27077,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27083
27077
|
trackingId: string;
|
|
27084
27078
|
}[];
|
|
27085
27079
|
};
|
|
27086
|
-
createdByRole?: string | null | undefined;
|
|
27087
27080
|
createdBySignature?: string | null | undefined;
|
|
27088
27081
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27089
27082
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27094,10 +27087,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27094
27087
|
createdByUserType: "user" | "system";
|
|
27095
27088
|
createdAt: string;
|
|
27096
27089
|
createdBy: string;
|
|
27090
|
+
createdByRole: string;
|
|
27097
27091
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27098
27092
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27099
27093
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
27100
|
-
createdByRole?: string | null | undefined;
|
|
27101
27094
|
createdBySignature?: string | null | undefined;
|
|
27102
27095
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27103
27096
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27108,10 +27101,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27108
27101
|
createdByUserType: "user" | "system";
|
|
27109
27102
|
createdAt: string;
|
|
27110
27103
|
createdBy: string;
|
|
27104
|
+
createdByRole: string;
|
|
27111
27105
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27112
27106
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27113
27107
|
type: "MARK_AS_DUPLICATE";
|
|
27114
|
-
createdByRole?: string | null | undefined;
|
|
27115
27108
|
createdBySignature?: string | null | undefined;
|
|
27116
27109
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27117
27110
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27125,13 +27118,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27125
27118
|
createdByUserType: "user" | "system";
|
|
27126
27119
|
createdAt: string;
|
|
27127
27120
|
createdBy: string;
|
|
27121
|
+
createdByRole: string;
|
|
27128
27122
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27129
27123
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27130
27124
|
type: "ARCHIVE";
|
|
27131
27125
|
content: {
|
|
27132
27126
|
reason: string;
|
|
27133
27127
|
};
|
|
27134
|
-
createdByRole?: string | null | undefined;
|
|
27135
27128
|
createdBySignature?: string | null | undefined;
|
|
27136
27129
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27137
27130
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27142,10 +27135,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27142
27135
|
createdByUserType: "user" | "system";
|
|
27143
27136
|
createdAt: string;
|
|
27144
27137
|
createdBy: string;
|
|
27138
|
+
createdByRole: string;
|
|
27145
27139
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27146
27140
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27147
27141
|
type: "NOTIFY";
|
|
27148
|
-
createdByRole?: string | null | undefined;
|
|
27149
27142
|
createdBySignature?: string | null | undefined;
|
|
27150
27143
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27151
27144
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27156,10 +27149,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27156
27149
|
createdByUserType: "user" | "system";
|
|
27157
27150
|
createdAt: string;
|
|
27158
27151
|
createdBy: string;
|
|
27152
|
+
createdByRole: string;
|
|
27159
27153
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27160
27154
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27161
27155
|
type: "REGISTER";
|
|
27162
|
-
createdByRole?: string | null | undefined;
|
|
27163
27156
|
createdBySignature?: string | null | undefined;
|
|
27164
27157
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27165
27158
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27171,10 +27164,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27171
27164
|
createdByUserType: "user" | "system";
|
|
27172
27165
|
createdAt: string;
|
|
27173
27166
|
createdBy: string;
|
|
27167
|
+
createdByRole: string;
|
|
27174
27168
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27175
27169
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27176
27170
|
type: "DECLARE";
|
|
27177
|
-
createdByRole?: string | null | undefined;
|
|
27178
27171
|
createdBySignature?: string | null | undefined;
|
|
27179
27172
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27180
27173
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27185,11 +27178,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27185
27178
|
createdByUserType: "user" | "system";
|
|
27186
27179
|
createdAt: string;
|
|
27187
27180
|
createdBy: string;
|
|
27181
|
+
createdByRole: string;
|
|
27188
27182
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27189
27183
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27190
27184
|
type: "ASSIGN";
|
|
27191
27185
|
assignedTo: string;
|
|
27192
|
-
createdByRole?: string | null | undefined;
|
|
27193
27186
|
createdBySignature?: string | null | undefined;
|
|
27194
27187
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27195
27188
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27200,10 +27193,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27200
27193
|
createdByUserType: "user" | "system";
|
|
27201
27194
|
createdAt: string;
|
|
27202
27195
|
createdBy: string;
|
|
27196
|
+
createdByRole: string;
|
|
27203
27197
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27204
27198
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27205
27199
|
type: "REQUEST_CORRECTION";
|
|
27206
|
-
createdByRole?: string | null | undefined;
|
|
27207
27200
|
createdBySignature?: string | null | undefined;
|
|
27208
27201
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27209
27202
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27214,11 +27207,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27214
27207
|
createdByUserType: "user" | "system";
|
|
27215
27208
|
createdAt: string;
|
|
27216
27209
|
createdBy: string;
|
|
27210
|
+
createdByRole: string;
|
|
27217
27211
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27218
27212
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27219
27213
|
type: "APPROVE_CORRECTION";
|
|
27220
27214
|
requestId: string;
|
|
27221
|
-
createdByRole?: string | null | undefined;
|
|
27222
27215
|
createdBySignature?: string | null | undefined;
|
|
27223
27216
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27224
27217
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27229,6 +27222,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27229
27222
|
createdByUserType: "user" | "system";
|
|
27230
27223
|
createdAt: string;
|
|
27231
27224
|
createdBy: string;
|
|
27225
|
+
createdByRole: string;
|
|
27232
27226
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27233
27227
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27234
27228
|
type: "REJECT_CORRECTION";
|
|
@@ -27236,7 +27230,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27236
27230
|
content: {
|
|
27237
27231
|
reason: string;
|
|
27238
27232
|
};
|
|
27239
|
-
createdByRole?: string | null | undefined;
|
|
27240
27233
|
createdBySignature?: string | null | undefined;
|
|
27241
27234
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27242
27235
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27247,10 +27240,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27247
27240
|
createdByUserType: "user" | "system";
|
|
27248
27241
|
createdAt: string;
|
|
27249
27242
|
createdBy: string;
|
|
27243
|
+
createdByRole: string;
|
|
27250
27244
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27251
27245
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27252
27246
|
type: "UNASSIGN";
|
|
27253
|
-
createdByRole?: string | null | undefined;
|
|
27254
27247
|
createdBySignature?: string | null | undefined;
|
|
27255
27248
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27256
27249
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27261,10 +27254,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27261
27254
|
createdByUserType: "user" | "system";
|
|
27262
27255
|
createdAt: string;
|
|
27263
27256
|
createdBy: string;
|
|
27257
|
+
createdByRole: string;
|
|
27264
27258
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27265
27259
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27266
27260
|
type: "PRINT_CERTIFICATE";
|
|
27267
|
-
createdByRole?: string | null | undefined;
|
|
27268
27261
|
createdBySignature?: string | null | undefined;
|
|
27269
27262
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27270
27263
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27278,10 +27271,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27278
27271
|
createdByUserType: "user" | "system";
|
|
27279
27272
|
createdAt: string;
|
|
27280
27273
|
createdBy: string;
|
|
27274
|
+
createdByRole: string;
|
|
27281
27275
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27282
27276
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27283
27277
|
type: "READ";
|
|
27284
|
-
createdByRole?: string | null | undefined;
|
|
27285
27278
|
createdBySignature?: string | null | undefined;
|
|
27286
27279
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27287
27280
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27292,13 +27285,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27292
27285
|
createdByUserType: "user" | "system";
|
|
27293
27286
|
createdAt: string;
|
|
27294
27287
|
createdBy: string;
|
|
27288
|
+
createdByRole: string;
|
|
27295
27289
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27296
27290
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27297
27291
|
type: "EDIT";
|
|
27298
27292
|
content: {
|
|
27299
27293
|
comment?: string | undefined;
|
|
27300
27294
|
};
|
|
27301
|
-
createdByRole?: string | null | undefined;
|
|
27302
27295
|
createdBySignature?: string | null | undefined;
|
|
27303
27296
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27304
27297
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27309,11 +27302,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27309
27302
|
createdByUserType: "user" | "system";
|
|
27310
27303
|
createdAt: string;
|
|
27311
27304
|
createdBy: string;
|
|
27305
|
+
createdByRole: string;
|
|
27312
27306
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27313
27307
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27314
27308
|
type: "CUSTOM";
|
|
27315
27309
|
customActionType: string;
|
|
27316
|
-
createdByRole?: string | null | undefined;
|
|
27317
27310
|
createdBySignature?: string | null | undefined;
|
|
27318
27311
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27319
27312
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27324,9 +27317,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27324
27317
|
createdByUserType: "user" | "system";
|
|
27325
27318
|
createdAt: string;
|
|
27326
27319
|
createdBy: string;
|
|
27320
|
+
createdByRole: string;
|
|
27327
27321
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
27328
27322
|
status: "Rejected";
|
|
27329
|
-
createdByRole?: string | null | undefined;
|
|
27330
27323
|
createdBySignature?: string | null | undefined;
|
|
27331
27324
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27332
27325
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27350,10 +27343,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27350
27343
|
createdByUserType: "user" | "system";
|
|
27351
27344
|
createdAt: string;
|
|
27352
27345
|
createdBy: string;
|
|
27346
|
+
createdByRole: string;
|
|
27353
27347
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27354
27348
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27355
27349
|
type: "CREATE";
|
|
27356
|
-
createdByRole?: string | null | undefined;
|
|
27357
27350
|
createdBySignature?: string | null | undefined;
|
|
27358
27351
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27359
27352
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27364,13 +27357,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27364
27357
|
createdByUserType: "user" | "system";
|
|
27365
27358
|
createdAt: string;
|
|
27366
27359
|
createdBy: string;
|
|
27360
|
+
createdByRole: string;
|
|
27367
27361
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27368
27362
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27369
27363
|
type: "REJECT";
|
|
27370
27364
|
content: {
|
|
27371
27365
|
reason: string;
|
|
27372
27366
|
};
|
|
27373
|
-
createdByRole?: string | null | undefined;
|
|
27374
27367
|
createdBySignature?: string | null | undefined;
|
|
27375
27368
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27376
27369
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27381,6 +27374,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27381
27374
|
createdByUserType: "user" | "system";
|
|
27382
27375
|
createdAt: string;
|
|
27383
27376
|
createdBy: string;
|
|
27377
|
+
createdByRole: string;
|
|
27384
27378
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27385
27379
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27386
27380
|
type: "DUPLICATE_DETECTED";
|
|
@@ -27390,7 +27384,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27390
27384
|
trackingId: string;
|
|
27391
27385
|
}[];
|
|
27392
27386
|
};
|
|
27393
|
-
createdByRole?: string | null | undefined;
|
|
27394
27387
|
createdBySignature?: string | null | undefined;
|
|
27395
27388
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27396
27389
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27401,10 +27394,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27401
27394
|
createdByUserType: "user" | "system";
|
|
27402
27395
|
createdAt: string;
|
|
27403
27396
|
createdBy: string;
|
|
27397
|
+
createdByRole: string;
|
|
27404
27398
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27405
27399
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27406
27400
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
27407
|
-
createdByRole?: string | null | undefined;
|
|
27408
27401
|
createdBySignature?: string | null | undefined;
|
|
27409
27402
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27410
27403
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27415,10 +27408,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27415
27408
|
createdByUserType: "user" | "system";
|
|
27416
27409
|
createdAt: string;
|
|
27417
27410
|
createdBy: string;
|
|
27411
|
+
createdByRole: string;
|
|
27418
27412
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27419
27413
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27420
27414
|
type: "MARK_AS_DUPLICATE";
|
|
27421
|
-
createdByRole?: string | null | undefined;
|
|
27422
27415
|
createdBySignature?: string | null | undefined;
|
|
27423
27416
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27424
27417
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27432,13 +27425,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27432
27425
|
createdByUserType: "user" | "system";
|
|
27433
27426
|
createdAt: string;
|
|
27434
27427
|
createdBy: string;
|
|
27428
|
+
createdByRole: string;
|
|
27435
27429
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27436
27430
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27437
27431
|
type: "ARCHIVE";
|
|
27438
27432
|
content: {
|
|
27439
27433
|
reason: string;
|
|
27440
27434
|
};
|
|
27441
|
-
createdByRole?: string | null | undefined;
|
|
27442
27435
|
createdBySignature?: string | null | undefined;
|
|
27443
27436
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27444
27437
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27449,10 +27442,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27449
27442
|
createdByUserType: "user" | "system";
|
|
27450
27443
|
createdAt: string;
|
|
27451
27444
|
createdBy: string;
|
|
27445
|
+
createdByRole: string;
|
|
27452
27446
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27453
27447
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27454
27448
|
type: "NOTIFY";
|
|
27455
|
-
createdByRole?: string | null | undefined;
|
|
27456
27449
|
createdBySignature?: string | null | undefined;
|
|
27457
27450
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27458
27451
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27463,10 +27456,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27463
27456
|
createdByUserType: "user" | "system";
|
|
27464
27457
|
createdAt: string;
|
|
27465
27458
|
createdBy: string;
|
|
27459
|
+
createdByRole: string;
|
|
27466
27460
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27467
27461
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27468
27462
|
type: "REGISTER";
|
|
27469
|
-
createdByRole?: string | null | undefined;
|
|
27470
27463
|
createdBySignature?: string | null | undefined;
|
|
27471
27464
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27472
27465
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27478,10 +27471,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27478
27471
|
createdByUserType: "user" | "system";
|
|
27479
27472
|
createdAt: string;
|
|
27480
27473
|
createdBy: string;
|
|
27474
|
+
createdByRole: string;
|
|
27481
27475
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27482
27476
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27483
27477
|
type: "DECLARE";
|
|
27484
|
-
createdByRole?: string | null | undefined;
|
|
27485
27478
|
createdBySignature?: string | null | undefined;
|
|
27486
27479
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27487
27480
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27492,11 +27485,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27492
27485
|
createdByUserType: "user" | "system";
|
|
27493
27486
|
createdAt: string;
|
|
27494
27487
|
createdBy: string;
|
|
27488
|
+
createdByRole: string;
|
|
27495
27489
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27496
27490
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27497
27491
|
type: "ASSIGN";
|
|
27498
27492
|
assignedTo: string;
|
|
27499
|
-
createdByRole?: string | null | undefined;
|
|
27500
27493
|
createdBySignature?: string | null | undefined;
|
|
27501
27494
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27502
27495
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27507,10 +27500,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27507
27500
|
createdByUserType: "user" | "system";
|
|
27508
27501
|
createdAt: string;
|
|
27509
27502
|
createdBy: string;
|
|
27503
|
+
createdByRole: string;
|
|
27510
27504
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27511
27505
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27512
27506
|
type: "REQUEST_CORRECTION";
|
|
27513
|
-
createdByRole?: string | null | undefined;
|
|
27514
27507
|
createdBySignature?: string | null | undefined;
|
|
27515
27508
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27516
27509
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27521,11 +27514,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27521
27514
|
createdByUserType: "user" | "system";
|
|
27522
27515
|
createdAt: string;
|
|
27523
27516
|
createdBy: string;
|
|
27517
|
+
createdByRole: string;
|
|
27524
27518
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27525
27519
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27526
27520
|
type: "APPROVE_CORRECTION";
|
|
27527
27521
|
requestId: string;
|
|
27528
|
-
createdByRole?: string | null | undefined;
|
|
27529
27522
|
createdBySignature?: string | null | undefined;
|
|
27530
27523
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27531
27524
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27536,6 +27529,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27536
27529
|
createdByUserType: "user" | "system";
|
|
27537
27530
|
createdAt: string;
|
|
27538
27531
|
createdBy: string;
|
|
27532
|
+
createdByRole: string;
|
|
27539
27533
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27540
27534
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27541
27535
|
type: "REJECT_CORRECTION";
|
|
@@ -27543,7 +27537,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27543
27537
|
content: {
|
|
27544
27538
|
reason: string;
|
|
27545
27539
|
};
|
|
27546
|
-
createdByRole?: string | null | undefined;
|
|
27547
27540
|
createdBySignature?: string | null | undefined;
|
|
27548
27541
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27549
27542
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27554,10 +27547,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27554
27547
|
createdByUserType: "user" | "system";
|
|
27555
27548
|
createdAt: string;
|
|
27556
27549
|
createdBy: string;
|
|
27550
|
+
createdByRole: string;
|
|
27557
27551
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27558
27552
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27559
27553
|
type: "UNASSIGN";
|
|
27560
|
-
createdByRole?: string | null | undefined;
|
|
27561
27554
|
createdBySignature?: string | null | undefined;
|
|
27562
27555
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27563
27556
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27568,10 +27561,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27568
27561
|
createdByUserType: "user" | "system";
|
|
27569
27562
|
createdAt: string;
|
|
27570
27563
|
createdBy: string;
|
|
27564
|
+
createdByRole: string;
|
|
27571
27565
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27572
27566
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27573
27567
|
type: "PRINT_CERTIFICATE";
|
|
27574
|
-
createdByRole?: string | null | undefined;
|
|
27575
27568
|
createdBySignature?: string | null | undefined;
|
|
27576
27569
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27577
27570
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27585,10 +27578,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27585
27578
|
createdByUserType: "user" | "system";
|
|
27586
27579
|
createdAt: string;
|
|
27587
27580
|
createdBy: string;
|
|
27581
|
+
createdByRole: string;
|
|
27588
27582
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27589
27583
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27590
27584
|
type: "READ";
|
|
27591
|
-
createdByRole?: string | null | undefined;
|
|
27592
27585
|
createdBySignature?: string | null | undefined;
|
|
27593
27586
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27594
27587
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27599,13 +27592,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27599
27592
|
createdByUserType: "user" | "system";
|
|
27600
27593
|
createdAt: string;
|
|
27601
27594
|
createdBy: string;
|
|
27595
|
+
createdByRole: string;
|
|
27602
27596
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27603
27597
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27604
27598
|
type: "EDIT";
|
|
27605
27599
|
content: {
|
|
27606
27600
|
comment?: string | undefined;
|
|
27607
27601
|
};
|
|
27608
|
-
createdByRole?: string | null | undefined;
|
|
27609
27602
|
createdBySignature?: string | null | undefined;
|
|
27610
27603
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27611
27604
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27616,11 +27609,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27616
27609
|
createdByUserType: "user" | "system";
|
|
27617
27610
|
createdAt: string;
|
|
27618
27611
|
createdBy: string;
|
|
27612
|
+
createdByRole: string;
|
|
27619
27613
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27620
27614
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27621
27615
|
type: "CUSTOM";
|
|
27622
27616
|
customActionType: string;
|
|
27623
|
-
createdByRole?: string | null | undefined;
|
|
27624
27617
|
createdBySignature?: string | null | undefined;
|
|
27625
27618
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27626
27619
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27631,9 +27624,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27631
27624
|
createdByUserType: "user" | "system";
|
|
27632
27625
|
createdAt: string;
|
|
27633
27626
|
createdBy: string;
|
|
27627
|
+
createdByRole: string;
|
|
27634
27628
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
27635
27629
|
status: "Rejected";
|
|
27636
|
-
createdByRole?: string | null | undefined;
|
|
27637
27630
|
createdBySignature?: string | null | undefined;
|
|
27638
27631
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27639
27632
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27664,6 +27657,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27664
27657
|
} | {
|
|
27665
27658
|
type: "system";
|
|
27666
27659
|
id: string;
|
|
27660
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
27667
27661
|
signature?: undefined;
|
|
27668
27662
|
primaryOfficeId?: undefined;
|
|
27669
27663
|
administrativeAreaId?: undefined;
|
|
@@ -27687,8 +27681,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27687
27681
|
createdByUserType: "user" | "system";
|
|
27688
27682
|
createdAt: string;
|
|
27689
27683
|
createdBy: string;
|
|
27684
|
+
createdByRole: string;
|
|
27690
27685
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27691
|
-
createdByRole?: string | null | undefined;
|
|
27692
27686
|
createdBySignature?: string | null | undefined;
|
|
27693
27687
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
27694
27688
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27720,8 +27714,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27720
27714
|
createdByUserType: "user" | "system";
|
|
27721
27715
|
createdAt: string;
|
|
27722
27716
|
createdBy: string;
|
|
27717
|
+
createdByRole: string;
|
|
27723
27718
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27724
|
-
createdByRole?: string | null | undefined;
|
|
27725
27719
|
createdBySignature?: string | null | undefined;
|
|
27726
27720
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
27727
27721
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27743,6 +27737,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27743
27737
|
} | {
|
|
27744
27738
|
type: "system";
|
|
27745
27739
|
id: string;
|
|
27740
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
27746
27741
|
signature?: undefined;
|
|
27747
27742
|
primaryOfficeId?: undefined;
|
|
27748
27743
|
administrativeAreaId?: undefined;
|
|
@@ -27765,6 +27760,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27765
27760
|
} | {
|
|
27766
27761
|
type: "system";
|
|
27767
27762
|
id: string;
|
|
27763
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
27768
27764
|
signature?: undefined;
|
|
27769
27765
|
primaryOfficeId?: undefined;
|
|
27770
27766
|
administrativeAreaId?: undefined;
|
|
@@ -27809,6 +27805,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27809
27805
|
} | {
|
|
27810
27806
|
type: "system";
|
|
27811
27807
|
id: string;
|
|
27808
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
27812
27809
|
signature?: undefined;
|
|
27813
27810
|
primaryOfficeId?: undefined;
|
|
27814
27811
|
administrativeAreaId?: undefined;
|
|
@@ -27840,10 +27837,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27840
27837
|
createdByUserType: "user" | "system";
|
|
27841
27838
|
createdAt: string;
|
|
27842
27839
|
createdBy: string;
|
|
27840
|
+
createdByRole: string;
|
|
27843
27841
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27844
27842
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27845
27843
|
type: "CREATE";
|
|
27846
|
-
createdByRole?: string | null | undefined;
|
|
27847
27844
|
createdBySignature?: string | null | undefined;
|
|
27848
27845
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27849
27846
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27854,13 +27851,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27854
27851
|
createdByUserType: "user" | "system";
|
|
27855
27852
|
createdAt: string;
|
|
27856
27853
|
createdBy: string;
|
|
27854
|
+
createdByRole: string;
|
|
27857
27855
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27858
27856
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27859
27857
|
type: "REJECT";
|
|
27860
27858
|
content: {
|
|
27861
27859
|
reason: string;
|
|
27862
27860
|
};
|
|
27863
|
-
createdByRole?: string | null | undefined;
|
|
27864
27861
|
createdBySignature?: string | null | undefined;
|
|
27865
27862
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27866
27863
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27871,6 +27868,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27871
27868
|
createdByUserType: "user" | "system";
|
|
27872
27869
|
createdAt: string;
|
|
27873
27870
|
createdBy: string;
|
|
27871
|
+
createdByRole: string;
|
|
27874
27872
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27875
27873
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27876
27874
|
type: "DUPLICATE_DETECTED";
|
|
@@ -27880,7 +27878,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27880
27878
|
trackingId: string;
|
|
27881
27879
|
}[];
|
|
27882
27880
|
};
|
|
27883
|
-
createdByRole?: string | null | undefined;
|
|
27884
27881
|
createdBySignature?: string | null | undefined;
|
|
27885
27882
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27886
27883
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27891,10 +27888,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27891
27888
|
createdByUserType: "user" | "system";
|
|
27892
27889
|
createdAt: string;
|
|
27893
27890
|
createdBy: string;
|
|
27891
|
+
createdByRole: string;
|
|
27894
27892
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27895
27893
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27896
27894
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
27897
|
-
createdByRole?: string | null | undefined;
|
|
27898
27895
|
createdBySignature?: string | null | undefined;
|
|
27899
27896
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27900
27897
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27905,10 +27902,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27905
27902
|
createdByUserType: "user" | "system";
|
|
27906
27903
|
createdAt: string;
|
|
27907
27904
|
createdBy: string;
|
|
27905
|
+
createdByRole: string;
|
|
27908
27906
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27909
27907
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27910
27908
|
type: "MARK_AS_DUPLICATE";
|
|
27911
|
-
createdByRole?: string | null | undefined;
|
|
27912
27909
|
createdBySignature?: string | null | undefined;
|
|
27913
27910
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27914
27911
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27922,13 +27919,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27922
27919
|
createdByUserType: "user" | "system";
|
|
27923
27920
|
createdAt: string;
|
|
27924
27921
|
createdBy: string;
|
|
27922
|
+
createdByRole: string;
|
|
27925
27923
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27926
27924
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27927
27925
|
type: "ARCHIVE";
|
|
27928
27926
|
content: {
|
|
27929
27927
|
reason: string;
|
|
27930
27928
|
};
|
|
27931
|
-
createdByRole?: string | null | undefined;
|
|
27932
27929
|
createdBySignature?: string | null | undefined;
|
|
27933
27930
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27934
27931
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27939,10 +27936,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27939
27936
|
createdByUserType: "user" | "system";
|
|
27940
27937
|
createdAt: string;
|
|
27941
27938
|
createdBy: string;
|
|
27939
|
+
createdByRole: string;
|
|
27942
27940
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27943
27941
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27944
27942
|
type: "NOTIFY";
|
|
27945
|
-
createdByRole?: string | null | undefined;
|
|
27946
27943
|
createdBySignature?: string | null | undefined;
|
|
27947
27944
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27948
27945
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27953,10 +27950,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27953
27950
|
createdByUserType: "user" | "system";
|
|
27954
27951
|
createdAt: string;
|
|
27955
27952
|
createdBy: string;
|
|
27953
|
+
createdByRole: string;
|
|
27956
27954
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27957
27955
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27958
27956
|
type: "REGISTER";
|
|
27959
|
-
createdByRole?: string | null | undefined;
|
|
27960
27957
|
createdBySignature?: string | null | undefined;
|
|
27961
27958
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27962
27959
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27968,10 +27965,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27968
27965
|
createdByUserType: "user" | "system";
|
|
27969
27966
|
createdAt: string;
|
|
27970
27967
|
createdBy: string;
|
|
27968
|
+
createdByRole: string;
|
|
27971
27969
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27972
27970
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27973
27971
|
type: "DECLARE";
|
|
27974
|
-
createdByRole?: string | null | undefined;
|
|
27975
27972
|
createdBySignature?: string | null | undefined;
|
|
27976
27973
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27977
27974
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27982,11 +27979,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27982
27979
|
createdByUserType: "user" | "system";
|
|
27983
27980
|
createdAt: string;
|
|
27984
27981
|
createdBy: string;
|
|
27982
|
+
createdByRole: string;
|
|
27985
27983
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27986
27984
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27987
27985
|
type: "ASSIGN";
|
|
27988
27986
|
assignedTo: string;
|
|
27989
|
-
createdByRole?: string | null | undefined;
|
|
27990
27987
|
createdBySignature?: string | null | undefined;
|
|
27991
27988
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27992
27989
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27997,10 +27994,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27997
27994
|
createdByUserType: "user" | "system";
|
|
27998
27995
|
createdAt: string;
|
|
27999
27996
|
createdBy: string;
|
|
27997
|
+
createdByRole: string;
|
|
28000
27998
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28001
27999
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28002
28000
|
type: "REQUEST_CORRECTION";
|
|
28003
|
-
createdByRole?: string | null | undefined;
|
|
28004
28001
|
createdBySignature?: string | null | undefined;
|
|
28005
28002
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28006
28003
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28011,11 +28008,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28011
28008
|
createdByUserType: "user" | "system";
|
|
28012
28009
|
createdAt: string;
|
|
28013
28010
|
createdBy: string;
|
|
28011
|
+
createdByRole: string;
|
|
28014
28012
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28015
28013
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28016
28014
|
type: "APPROVE_CORRECTION";
|
|
28017
28015
|
requestId: string;
|
|
28018
|
-
createdByRole?: string | null | undefined;
|
|
28019
28016
|
createdBySignature?: string | null | undefined;
|
|
28020
28017
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28021
28018
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28026,6 +28023,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28026
28023
|
createdByUserType: "user" | "system";
|
|
28027
28024
|
createdAt: string;
|
|
28028
28025
|
createdBy: string;
|
|
28026
|
+
createdByRole: string;
|
|
28029
28027
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28030
28028
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28031
28029
|
type: "REJECT_CORRECTION";
|
|
@@ -28033,7 +28031,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28033
28031
|
content: {
|
|
28034
28032
|
reason: string;
|
|
28035
28033
|
};
|
|
28036
|
-
createdByRole?: string | null | undefined;
|
|
28037
28034
|
createdBySignature?: string | null | undefined;
|
|
28038
28035
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28039
28036
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28044,10 +28041,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28044
28041
|
createdByUserType: "user" | "system";
|
|
28045
28042
|
createdAt: string;
|
|
28046
28043
|
createdBy: string;
|
|
28044
|
+
createdByRole: string;
|
|
28047
28045
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28048
28046
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28049
28047
|
type: "UNASSIGN";
|
|
28050
|
-
createdByRole?: string | null | undefined;
|
|
28051
28048
|
createdBySignature?: string | null | undefined;
|
|
28052
28049
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28053
28050
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28058,10 +28055,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28058
28055
|
createdByUserType: "user" | "system";
|
|
28059
28056
|
createdAt: string;
|
|
28060
28057
|
createdBy: string;
|
|
28058
|
+
createdByRole: string;
|
|
28061
28059
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28062
28060
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28063
28061
|
type: "PRINT_CERTIFICATE";
|
|
28064
|
-
createdByRole?: string | null | undefined;
|
|
28065
28062
|
createdBySignature?: string | null | undefined;
|
|
28066
28063
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28067
28064
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28075,10 +28072,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28075
28072
|
createdByUserType: "user" | "system";
|
|
28076
28073
|
createdAt: string;
|
|
28077
28074
|
createdBy: string;
|
|
28075
|
+
createdByRole: string;
|
|
28078
28076
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28079
28077
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28080
28078
|
type: "READ";
|
|
28081
|
-
createdByRole?: string | null | undefined;
|
|
28082
28079
|
createdBySignature?: string | null | undefined;
|
|
28083
28080
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28084
28081
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28089,13 +28086,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28089
28086
|
createdByUserType: "user" | "system";
|
|
28090
28087
|
createdAt: string;
|
|
28091
28088
|
createdBy: string;
|
|
28089
|
+
createdByRole: string;
|
|
28092
28090
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28093
28091
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28094
28092
|
type: "EDIT";
|
|
28095
28093
|
content: {
|
|
28096
28094
|
comment?: string | undefined;
|
|
28097
28095
|
};
|
|
28098
|
-
createdByRole?: string | null | undefined;
|
|
28099
28096
|
createdBySignature?: string | null | undefined;
|
|
28100
28097
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28101
28098
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28106,11 +28103,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28106
28103
|
createdByUserType: "user" | "system";
|
|
28107
28104
|
createdAt: string;
|
|
28108
28105
|
createdBy: string;
|
|
28106
|
+
createdByRole: string;
|
|
28109
28107
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28110
28108
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28111
28109
|
type: "CUSTOM";
|
|
28112
28110
|
customActionType: string;
|
|
28113
|
-
createdByRole?: string | null | undefined;
|
|
28114
28111
|
createdBySignature?: string | null | undefined;
|
|
28115
28112
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28116
28113
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28121,9 +28118,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28121
28118
|
createdByUserType: "user" | "system";
|
|
28122
28119
|
createdAt: string;
|
|
28123
28120
|
createdBy: string;
|
|
28121
|
+
createdByRole: string;
|
|
28124
28122
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
28125
28123
|
status: "Rejected";
|
|
28126
|
-
createdByRole?: string | null | undefined;
|
|
28127
28124
|
createdBySignature?: string | null | undefined;
|
|
28128
28125
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28129
28126
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -28162,6 +28159,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28162
28159
|
} | {
|
|
28163
28160
|
type: "system";
|
|
28164
28161
|
id: string;
|
|
28162
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
28165
28163
|
signature?: undefined;
|
|
28166
28164
|
primaryOfficeId?: undefined;
|
|
28167
28165
|
administrativeAreaId?: undefined;
|
|
@@ -28206,6 +28204,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28206
28204
|
} | {
|
|
28207
28205
|
type: "system";
|
|
28208
28206
|
id: string;
|
|
28207
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
28209
28208
|
signature?: undefined;
|
|
28210
28209
|
primaryOfficeId?: undefined;
|
|
28211
28210
|
administrativeAreaId?: undefined;
|
|
@@ -28250,6 +28249,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28250
28249
|
} | {
|
|
28251
28250
|
type: "system";
|
|
28252
28251
|
id: string;
|
|
28252
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
28253
28253
|
signature?: undefined;
|
|
28254
28254
|
primaryOfficeId?: undefined;
|
|
28255
28255
|
administrativeAreaId?: undefined;
|
|
@@ -28294,6 +28294,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28294
28294
|
} | {
|
|
28295
28295
|
type: "system";
|
|
28296
28296
|
id: string;
|
|
28297
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
28297
28298
|
signature?: undefined;
|
|
28298
28299
|
primaryOfficeId?: undefined;
|
|
28299
28300
|
administrativeAreaId?: undefined;
|
|
@@ -28338,6 +28339,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28338
28339
|
} | {
|
|
28339
28340
|
type: "system";
|
|
28340
28341
|
id: string;
|
|
28342
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
28341
28343
|
signature?: undefined;
|
|
28342
28344
|
primaryOfficeId?: undefined;
|
|
28343
28345
|
administrativeAreaId?: undefined;
|
|
@@ -28382,6 +28384,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28382
28384
|
} | {
|
|
28383
28385
|
type: "system";
|
|
28384
28386
|
id: string;
|
|
28387
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
28385
28388
|
signature?: undefined;
|
|
28386
28389
|
primaryOfficeId?: undefined;
|
|
28387
28390
|
administrativeAreaId?: undefined;
|
|
@@ -28414,10 +28417,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28414
28417
|
createdByUserType: "user" | "system";
|
|
28415
28418
|
createdAt: string;
|
|
28416
28419
|
createdBy: string;
|
|
28420
|
+
createdByRole: string;
|
|
28417
28421
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28418
28422
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28419
28423
|
type: "CREATE";
|
|
28420
|
-
createdByRole?: string | null | undefined;
|
|
28421
28424
|
createdBySignature?: string | null | undefined;
|
|
28422
28425
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28423
28426
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28428,13 +28431,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28428
28431
|
createdByUserType: "user" | "system";
|
|
28429
28432
|
createdAt: string;
|
|
28430
28433
|
createdBy: string;
|
|
28434
|
+
createdByRole: string;
|
|
28431
28435
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28432
28436
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28433
28437
|
type: "REJECT";
|
|
28434
28438
|
content: {
|
|
28435
28439
|
reason: string;
|
|
28436
28440
|
};
|
|
28437
|
-
createdByRole?: string | null | undefined;
|
|
28438
28441
|
createdBySignature?: string | null | undefined;
|
|
28439
28442
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28440
28443
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28445,6 +28448,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28445
28448
|
createdByUserType: "user" | "system";
|
|
28446
28449
|
createdAt: string;
|
|
28447
28450
|
createdBy: string;
|
|
28451
|
+
createdByRole: string;
|
|
28448
28452
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28449
28453
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28450
28454
|
type: "DUPLICATE_DETECTED";
|
|
@@ -28454,7 +28458,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28454
28458
|
trackingId: string;
|
|
28455
28459
|
}[];
|
|
28456
28460
|
};
|
|
28457
|
-
createdByRole?: string | null | undefined;
|
|
28458
28461
|
createdBySignature?: string | null | undefined;
|
|
28459
28462
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28460
28463
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28465,10 +28468,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28465
28468
|
createdByUserType: "user" | "system";
|
|
28466
28469
|
createdAt: string;
|
|
28467
28470
|
createdBy: string;
|
|
28471
|
+
createdByRole: string;
|
|
28468
28472
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28469
28473
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28470
28474
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
28471
|
-
createdByRole?: string | null | undefined;
|
|
28472
28475
|
createdBySignature?: string | null | undefined;
|
|
28473
28476
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28474
28477
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28479,10 +28482,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28479
28482
|
createdByUserType: "user" | "system";
|
|
28480
28483
|
createdAt: string;
|
|
28481
28484
|
createdBy: string;
|
|
28485
|
+
createdByRole: string;
|
|
28482
28486
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28483
28487
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28484
28488
|
type: "MARK_AS_DUPLICATE";
|
|
28485
|
-
createdByRole?: string | null | undefined;
|
|
28486
28489
|
createdBySignature?: string | null | undefined;
|
|
28487
28490
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28488
28491
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28496,13 +28499,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28496
28499
|
createdByUserType: "user" | "system";
|
|
28497
28500
|
createdAt: string;
|
|
28498
28501
|
createdBy: string;
|
|
28502
|
+
createdByRole: string;
|
|
28499
28503
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28500
28504
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28501
28505
|
type: "ARCHIVE";
|
|
28502
28506
|
content: {
|
|
28503
28507
|
reason: string;
|
|
28504
28508
|
};
|
|
28505
|
-
createdByRole?: string | null | undefined;
|
|
28506
28509
|
createdBySignature?: string | null | undefined;
|
|
28507
28510
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28508
28511
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28513,10 +28516,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28513
28516
|
createdByUserType: "user" | "system";
|
|
28514
28517
|
createdAt: string;
|
|
28515
28518
|
createdBy: string;
|
|
28519
|
+
createdByRole: string;
|
|
28516
28520
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28517
28521
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28518
28522
|
type: "NOTIFY";
|
|
28519
|
-
createdByRole?: string | null | undefined;
|
|
28520
28523
|
createdBySignature?: string | null | undefined;
|
|
28521
28524
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28522
28525
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28527,10 +28530,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28527
28530
|
createdByUserType: "user" | "system";
|
|
28528
28531
|
createdAt: string;
|
|
28529
28532
|
createdBy: string;
|
|
28533
|
+
createdByRole: string;
|
|
28530
28534
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28531
28535
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28532
28536
|
type: "REGISTER";
|
|
28533
|
-
createdByRole?: string | null | undefined;
|
|
28534
28537
|
createdBySignature?: string | null | undefined;
|
|
28535
28538
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28536
28539
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28542,10 +28545,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28542
28545
|
createdByUserType: "user" | "system";
|
|
28543
28546
|
createdAt: string;
|
|
28544
28547
|
createdBy: string;
|
|
28548
|
+
createdByRole: string;
|
|
28545
28549
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28546
28550
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28547
28551
|
type: "DECLARE";
|
|
28548
|
-
createdByRole?: string | null | undefined;
|
|
28549
28552
|
createdBySignature?: string | null | undefined;
|
|
28550
28553
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28551
28554
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28556,11 +28559,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28556
28559
|
createdByUserType: "user" | "system";
|
|
28557
28560
|
createdAt: string;
|
|
28558
28561
|
createdBy: string;
|
|
28562
|
+
createdByRole: string;
|
|
28559
28563
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28560
28564
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28561
28565
|
type: "ASSIGN";
|
|
28562
28566
|
assignedTo: string;
|
|
28563
|
-
createdByRole?: string | null | undefined;
|
|
28564
28567
|
createdBySignature?: string | null | undefined;
|
|
28565
28568
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28566
28569
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28571,10 +28574,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28571
28574
|
createdByUserType: "user" | "system";
|
|
28572
28575
|
createdAt: string;
|
|
28573
28576
|
createdBy: string;
|
|
28577
|
+
createdByRole: string;
|
|
28574
28578
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28575
28579
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28576
28580
|
type: "REQUEST_CORRECTION";
|
|
28577
|
-
createdByRole?: string | null | undefined;
|
|
28578
28581
|
createdBySignature?: string | null | undefined;
|
|
28579
28582
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28580
28583
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28585,11 +28588,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28585
28588
|
createdByUserType: "user" | "system";
|
|
28586
28589
|
createdAt: string;
|
|
28587
28590
|
createdBy: string;
|
|
28591
|
+
createdByRole: string;
|
|
28588
28592
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28589
28593
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28590
28594
|
type: "APPROVE_CORRECTION";
|
|
28591
28595
|
requestId: string;
|
|
28592
|
-
createdByRole?: string | null | undefined;
|
|
28593
28596
|
createdBySignature?: string | null | undefined;
|
|
28594
28597
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28595
28598
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28600,6 +28603,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28600
28603
|
createdByUserType: "user" | "system";
|
|
28601
28604
|
createdAt: string;
|
|
28602
28605
|
createdBy: string;
|
|
28606
|
+
createdByRole: string;
|
|
28603
28607
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28604
28608
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28605
28609
|
type: "REJECT_CORRECTION";
|
|
@@ -28607,7 +28611,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28607
28611
|
content: {
|
|
28608
28612
|
reason: string;
|
|
28609
28613
|
};
|
|
28610
|
-
createdByRole?: string | null | undefined;
|
|
28611
28614
|
createdBySignature?: string | null | undefined;
|
|
28612
28615
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28613
28616
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28618,10 +28621,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28618
28621
|
createdByUserType: "user" | "system";
|
|
28619
28622
|
createdAt: string;
|
|
28620
28623
|
createdBy: string;
|
|
28624
|
+
createdByRole: string;
|
|
28621
28625
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28622
28626
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28623
28627
|
type: "UNASSIGN";
|
|
28624
|
-
createdByRole?: string | null | undefined;
|
|
28625
28628
|
createdBySignature?: string | null | undefined;
|
|
28626
28629
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28627
28630
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28632,10 +28635,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28632
28635
|
createdByUserType: "user" | "system";
|
|
28633
28636
|
createdAt: string;
|
|
28634
28637
|
createdBy: string;
|
|
28638
|
+
createdByRole: string;
|
|
28635
28639
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28636
28640
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28637
28641
|
type: "PRINT_CERTIFICATE";
|
|
28638
|
-
createdByRole?: string | null | undefined;
|
|
28639
28642
|
createdBySignature?: string | null | undefined;
|
|
28640
28643
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28641
28644
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28649,10 +28652,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28649
28652
|
createdByUserType: "user" | "system";
|
|
28650
28653
|
createdAt: string;
|
|
28651
28654
|
createdBy: string;
|
|
28655
|
+
createdByRole: string;
|
|
28652
28656
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28653
28657
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28654
28658
|
type: "READ";
|
|
28655
|
-
createdByRole?: string | null | undefined;
|
|
28656
28659
|
createdBySignature?: string | null | undefined;
|
|
28657
28660
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28658
28661
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28663,13 +28666,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28663
28666
|
createdByUserType: "user" | "system";
|
|
28664
28667
|
createdAt: string;
|
|
28665
28668
|
createdBy: string;
|
|
28669
|
+
createdByRole: string;
|
|
28666
28670
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28667
28671
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28668
28672
|
type: "EDIT";
|
|
28669
28673
|
content: {
|
|
28670
28674
|
comment?: string | undefined;
|
|
28671
28675
|
};
|
|
28672
|
-
createdByRole?: string | null | undefined;
|
|
28673
28676
|
createdBySignature?: string | null | undefined;
|
|
28674
28677
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28675
28678
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28680,11 +28683,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28680
28683
|
createdByUserType: "user" | "system";
|
|
28681
28684
|
createdAt: string;
|
|
28682
28685
|
createdBy: string;
|
|
28686
|
+
createdByRole: string;
|
|
28683
28687
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28684
28688
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28685
28689
|
type: "CUSTOM";
|
|
28686
28690
|
customActionType: string;
|
|
28687
|
-
createdByRole?: string | null | undefined;
|
|
28688
28691
|
createdBySignature?: string | null | undefined;
|
|
28689
28692
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28690
28693
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28695,9 +28698,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28695
28698
|
createdByUserType: "user" | "system";
|
|
28696
28699
|
createdAt: string;
|
|
28697
28700
|
createdBy: string;
|
|
28701
|
+
createdByRole: string;
|
|
28698
28702
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
28699
28703
|
status: "Rejected";
|
|
28700
|
-
createdByRole?: string | null | undefined;
|
|
28701
28704
|
createdBySignature?: string | null | undefined;
|
|
28702
28705
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28703
28706
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -28736,6 +28739,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28736
28739
|
} | {
|
|
28737
28740
|
type: "system";
|
|
28738
28741
|
id: string;
|
|
28742
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
28739
28743
|
signature?: undefined;
|
|
28740
28744
|
primaryOfficeId?: undefined;
|
|
28741
28745
|
administrativeAreaId?: undefined;
|
|
@@ -28768,10 +28772,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28768
28772
|
createdByUserType: "user" | "system";
|
|
28769
28773
|
createdAt: string;
|
|
28770
28774
|
createdBy: string;
|
|
28775
|
+
createdByRole: string;
|
|
28771
28776
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28772
28777
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28773
28778
|
type: "CREATE";
|
|
28774
|
-
createdByRole?: string | null | undefined;
|
|
28775
28779
|
createdBySignature?: string | null | undefined;
|
|
28776
28780
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28777
28781
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28782,13 +28786,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28782
28786
|
createdByUserType: "user" | "system";
|
|
28783
28787
|
createdAt: string;
|
|
28784
28788
|
createdBy: string;
|
|
28789
|
+
createdByRole: string;
|
|
28785
28790
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28786
28791
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28787
28792
|
type: "REJECT";
|
|
28788
28793
|
content: {
|
|
28789
28794
|
reason: string;
|
|
28790
28795
|
};
|
|
28791
|
-
createdByRole?: string | null | undefined;
|
|
28792
28796
|
createdBySignature?: string | null | undefined;
|
|
28793
28797
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28794
28798
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28799,6 +28803,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28799
28803
|
createdByUserType: "user" | "system";
|
|
28800
28804
|
createdAt: string;
|
|
28801
28805
|
createdBy: string;
|
|
28806
|
+
createdByRole: string;
|
|
28802
28807
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28803
28808
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28804
28809
|
type: "DUPLICATE_DETECTED";
|
|
@@ -28808,7 +28813,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28808
28813
|
trackingId: string;
|
|
28809
28814
|
}[];
|
|
28810
28815
|
};
|
|
28811
|
-
createdByRole?: string | null | undefined;
|
|
28812
28816
|
createdBySignature?: string | null | undefined;
|
|
28813
28817
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28814
28818
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28819,10 +28823,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28819
28823
|
createdByUserType: "user" | "system";
|
|
28820
28824
|
createdAt: string;
|
|
28821
28825
|
createdBy: string;
|
|
28826
|
+
createdByRole: string;
|
|
28822
28827
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28823
28828
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28824
28829
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
28825
|
-
createdByRole?: string | null | undefined;
|
|
28826
28830
|
createdBySignature?: string | null | undefined;
|
|
28827
28831
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28828
28832
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28833,10 +28837,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28833
28837
|
createdByUserType: "user" | "system";
|
|
28834
28838
|
createdAt: string;
|
|
28835
28839
|
createdBy: string;
|
|
28840
|
+
createdByRole: string;
|
|
28836
28841
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28837
28842
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28838
28843
|
type: "MARK_AS_DUPLICATE";
|
|
28839
|
-
createdByRole?: string | null | undefined;
|
|
28840
28844
|
createdBySignature?: string | null | undefined;
|
|
28841
28845
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28842
28846
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28850,13 +28854,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28850
28854
|
createdByUserType: "user" | "system";
|
|
28851
28855
|
createdAt: string;
|
|
28852
28856
|
createdBy: string;
|
|
28857
|
+
createdByRole: string;
|
|
28853
28858
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28854
28859
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28855
28860
|
type: "ARCHIVE";
|
|
28856
28861
|
content: {
|
|
28857
28862
|
reason: string;
|
|
28858
28863
|
};
|
|
28859
|
-
createdByRole?: string | null | undefined;
|
|
28860
28864
|
createdBySignature?: string | null | undefined;
|
|
28861
28865
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28862
28866
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28867,10 +28871,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28867
28871
|
createdByUserType: "user" | "system";
|
|
28868
28872
|
createdAt: string;
|
|
28869
28873
|
createdBy: string;
|
|
28874
|
+
createdByRole: string;
|
|
28870
28875
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28871
28876
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28872
28877
|
type: "NOTIFY";
|
|
28873
|
-
createdByRole?: string | null | undefined;
|
|
28874
28878
|
createdBySignature?: string | null | undefined;
|
|
28875
28879
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28876
28880
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28881,10 +28885,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28881
28885
|
createdByUserType: "user" | "system";
|
|
28882
28886
|
createdAt: string;
|
|
28883
28887
|
createdBy: string;
|
|
28888
|
+
createdByRole: string;
|
|
28884
28889
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28885
28890
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28886
28891
|
type: "REGISTER";
|
|
28887
|
-
createdByRole?: string | null | undefined;
|
|
28888
28892
|
createdBySignature?: string | null | undefined;
|
|
28889
28893
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28890
28894
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28896,10 +28900,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28896
28900
|
createdByUserType: "user" | "system";
|
|
28897
28901
|
createdAt: string;
|
|
28898
28902
|
createdBy: string;
|
|
28903
|
+
createdByRole: string;
|
|
28899
28904
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28900
28905
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28901
28906
|
type: "DECLARE";
|
|
28902
|
-
createdByRole?: string | null | undefined;
|
|
28903
28907
|
createdBySignature?: string | null | undefined;
|
|
28904
28908
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28905
28909
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28910,11 +28914,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28910
28914
|
createdByUserType: "user" | "system";
|
|
28911
28915
|
createdAt: string;
|
|
28912
28916
|
createdBy: string;
|
|
28917
|
+
createdByRole: string;
|
|
28913
28918
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28914
28919
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28915
28920
|
type: "ASSIGN";
|
|
28916
28921
|
assignedTo: string;
|
|
28917
|
-
createdByRole?: string | null | undefined;
|
|
28918
28922
|
createdBySignature?: string | null | undefined;
|
|
28919
28923
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28920
28924
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28925,10 +28929,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28925
28929
|
createdByUserType: "user" | "system";
|
|
28926
28930
|
createdAt: string;
|
|
28927
28931
|
createdBy: string;
|
|
28932
|
+
createdByRole: string;
|
|
28928
28933
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28929
28934
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28930
28935
|
type: "REQUEST_CORRECTION";
|
|
28931
|
-
createdByRole?: string | null | undefined;
|
|
28932
28936
|
createdBySignature?: string | null | undefined;
|
|
28933
28937
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28934
28938
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28939,11 +28943,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28939
28943
|
createdByUserType: "user" | "system";
|
|
28940
28944
|
createdAt: string;
|
|
28941
28945
|
createdBy: string;
|
|
28946
|
+
createdByRole: string;
|
|
28942
28947
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28943
28948
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28944
28949
|
type: "APPROVE_CORRECTION";
|
|
28945
28950
|
requestId: string;
|
|
28946
|
-
createdByRole?: string | null | undefined;
|
|
28947
28951
|
createdBySignature?: string | null | undefined;
|
|
28948
28952
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28949
28953
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28954,6 +28958,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28954
28958
|
createdByUserType: "user" | "system";
|
|
28955
28959
|
createdAt: string;
|
|
28956
28960
|
createdBy: string;
|
|
28961
|
+
createdByRole: string;
|
|
28957
28962
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28958
28963
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28959
28964
|
type: "REJECT_CORRECTION";
|
|
@@ -28961,7 +28966,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28961
28966
|
content: {
|
|
28962
28967
|
reason: string;
|
|
28963
28968
|
};
|
|
28964
|
-
createdByRole?: string | null | undefined;
|
|
28965
28969
|
createdBySignature?: string | null | undefined;
|
|
28966
28970
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28967
28971
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28972,10 +28976,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28972
28976
|
createdByUserType: "user" | "system";
|
|
28973
28977
|
createdAt: string;
|
|
28974
28978
|
createdBy: string;
|
|
28979
|
+
createdByRole: string;
|
|
28975
28980
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28976
28981
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28977
28982
|
type: "UNASSIGN";
|
|
28978
|
-
createdByRole?: string | null | undefined;
|
|
28979
28983
|
createdBySignature?: string | null | undefined;
|
|
28980
28984
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28981
28985
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28986,10 +28990,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28986
28990
|
createdByUserType: "user" | "system";
|
|
28987
28991
|
createdAt: string;
|
|
28988
28992
|
createdBy: string;
|
|
28993
|
+
createdByRole: string;
|
|
28989
28994
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28990
28995
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28991
28996
|
type: "PRINT_CERTIFICATE";
|
|
28992
|
-
createdByRole?: string | null | undefined;
|
|
28993
28997
|
createdBySignature?: string | null | undefined;
|
|
28994
28998
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28995
28999
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29003,10 +29007,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29003
29007
|
createdByUserType: "user" | "system";
|
|
29004
29008
|
createdAt: string;
|
|
29005
29009
|
createdBy: string;
|
|
29010
|
+
createdByRole: string;
|
|
29006
29011
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29007
29012
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29008
29013
|
type: "READ";
|
|
29009
|
-
createdByRole?: string | null | undefined;
|
|
29010
29014
|
createdBySignature?: string | null | undefined;
|
|
29011
29015
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29012
29016
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29017,13 +29021,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29017
29021
|
createdByUserType: "user" | "system";
|
|
29018
29022
|
createdAt: string;
|
|
29019
29023
|
createdBy: string;
|
|
29024
|
+
createdByRole: string;
|
|
29020
29025
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29021
29026
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29022
29027
|
type: "EDIT";
|
|
29023
29028
|
content: {
|
|
29024
29029
|
comment?: string | undefined;
|
|
29025
29030
|
};
|
|
29026
|
-
createdByRole?: string | null | undefined;
|
|
29027
29031
|
createdBySignature?: string | null | undefined;
|
|
29028
29032
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29029
29033
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29034,11 +29038,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29034
29038
|
createdByUserType: "user" | "system";
|
|
29035
29039
|
createdAt: string;
|
|
29036
29040
|
createdBy: string;
|
|
29041
|
+
createdByRole: string;
|
|
29037
29042
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29038
29043
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29039
29044
|
type: "CUSTOM";
|
|
29040
29045
|
customActionType: string;
|
|
29041
|
-
createdByRole?: string | null | undefined;
|
|
29042
29046
|
createdBySignature?: string | null | undefined;
|
|
29043
29047
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29044
29048
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29049,9 +29053,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29049
29053
|
createdByUserType: "user" | "system";
|
|
29050
29054
|
createdAt: string;
|
|
29051
29055
|
createdBy: string;
|
|
29056
|
+
createdByRole: string;
|
|
29052
29057
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
29053
29058
|
status: "Rejected";
|
|
29054
|
-
createdByRole?: string | null | undefined;
|
|
29055
29059
|
createdBySignature?: string | null | undefined;
|
|
29056
29060
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29057
29061
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -29083,10 +29087,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29083
29087
|
createdByUserType: "user" | "system";
|
|
29084
29088
|
createdAt: string;
|
|
29085
29089
|
createdBy: string;
|
|
29090
|
+
createdByRole: string;
|
|
29086
29091
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29087
29092
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29088
29093
|
type: "CREATE";
|
|
29089
|
-
createdByRole?: string | null | undefined;
|
|
29090
29094
|
createdBySignature?: string | null | undefined;
|
|
29091
29095
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29092
29096
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29097,13 +29101,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29097
29101
|
createdByUserType: "user" | "system";
|
|
29098
29102
|
createdAt: string;
|
|
29099
29103
|
createdBy: string;
|
|
29104
|
+
createdByRole: string;
|
|
29100
29105
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29101
29106
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29102
29107
|
type: "REJECT";
|
|
29103
29108
|
content: {
|
|
29104
29109
|
reason: string;
|
|
29105
29110
|
};
|
|
29106
|
-
createdByRole?: string | null | undefined;
|
|
29107
29111
|
createdBySignature?: string | null | undefined;
|
|
29108
29112
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29109
29113
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29114,6 +29118,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29114
29118
|
createdByUserType: "user" | "system";
|
|
29115
29119
|
createdAt: string;
|
|
29116
29120
|
createdBy: string;
|
|
29121
|
+
createdByRole: string;
|
|
29117
29122
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29118
29123
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29119
29124
|
type: "DUPLICATE_DETECTED";
|
|
@@ -29123,7 +29128,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29123
29128
|
trackingId: string;
|
|
29124
29129
|
}[];
|
|
29125
29130
|
};
|
|
29126
|
-
createdByRole?: string | null | undefined;
|
|
29127
29131
|
createdBySignature?: string | null | undefined;
|
|
29128
29132
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29129
29133
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29134,10 +29138,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29134
29138
|
createdByUserType: "user" | "system";
|
|
29135
29139
|
createdAt: string;
|
|
29136
29140
|
createdBy: string;
|
|
29141
|
+
createdByRole: string;
|
|
29137
29142
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29138
29143
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29139
29144
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
29140
|
-
createdByRole?: string | null | undefined;
|
|
29141
29145
|
createdBySignature?: string | null | undefined;
|
|
29142
29146
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29143
29147
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29148,10 +29152,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29148
29152
|
createdByUserType: "user" | "system";
|
|
29149
29153
|
createdAt: string;
|
|
29150
29154
|
createdBy: string;
|
|
29155
|
+
createdByRole: string;
|
|
29151
29156
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29152
29157
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29153
29158
|
type: "MARK_AS_DUPLICATE";
|
|
29154
|
-
createdByRole?: string | null | undefined;
|
|
29155
29159
|
createdBySignature?: string | null | undefined;
|
|
29156
29160
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29157
29161
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29165,13 +29169,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29165
29169
|
createdByUserType: "user" | "system";
|
|
29166
29170
|
createdAt: string;
|
|
29167
29171
|
createdBy: string;
|
|
29172
|
+
createdByRole: string;
|
|
29168
29173
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29169
29174
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29170
29175
|
type: "ARCHIVE";
|
|
29171
29176
|
content: {
|
|
29172
29177
|
reason: string;
|
|
29173
29178
|
};
|
|
29174
|
-
createdByRole?: string | null | undefined;
|
|
29175
29179
|
createdBySignature?: string | null | undefined;
|
|
29176
29180
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29177
29181
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29182,10 +29186,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29182
29186
|
createdByUserType: "user" | "system";
|
|
29183
29187
|
createdAt: string;
|
|
29184
29188
|
createdBy: string;
|
|
29189
|
+
createdByRole: string;
|
|
29185
29190
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29186
29191
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29187
29192
|
type: "NOTIFY";
|
|
29188
|
-
createdByRole?: string | null | undefined;
|
|
29189
29193
|
createdBySignature?: string | null | undefined;
|
|
29190
29194
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29191
29195
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29196,10 +29200,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29196
29200
|
createdByUserType: "user" | "system";
|
|
29197
29201
|
createdAt: string;
|
|
29198
29202
|
createdBy: string;
|
|
29203
|
+
createdByRole: string;
|
|
29199
29204
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29200
29205
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29201
29206
|
type: "REGISTER";
|
|
29202
|
-
createdByRole?: string | null | undefined;
|
|
29203
29207
|
createdBySignature?: string | null | undefined;
|
|
29204
29208
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29205
29209
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29211,10 +29215,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29211
29215
|
createdByUserType: "user" | "system";
|
|
29212
29216
|
createdAt: string;
|
|
29213
29217
|
createdBy: string;
|
|
29218
|
+
createdByRole: string;
|
|
29214
29219
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29215
29220
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29216
29221
|
type: "DECLARE";
|
|
29217
|
-
createdByRole?: string | null | undefined;
|
|
29218
29222
|
createdBySignature?: string | null | undefined;
|
|
29219
29223
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29220
29224
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29225,11 +29229,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29225
29229
|
createdByUserType: "user" | "system";
|
|
29226
29230
|
createdAt: string;
|
|
29227
29231
|
createdBy: string;
|
|
29232
|
+
createdByRole: string;
|
|
29228
29233
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29229
29234
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29230
29235
|
type: "ASSIGN";
|
|
29231
29236
|
assignedTo: string;
|
|
29232
|
-
createdByRole?: string | null | undefined;
|
|
29233
29237
|
createdBySignature?: string | null | undefined;
|
|
29234
29238
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29235
29239
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29240,10 +29244,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29240
29244
|
createdByUserType: "user" | "system";
|
|
29241
29245
|
createdAt: string;
|
|
29242
29246
|
createdBy: string;
|
|
29247
|
+
createdByRole: string;
|
|
29243
29248
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29244
29249
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29245
29250
|
type: "REQUEST_CORRECTION";
|
|
29246
|
-
createdByRole?: string | null | undefined;
|
|
29247
29251
|
createdBySignature?: string | null | undefined;
|
|
29248
29252
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29249
29253
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29254,11 +29258,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29254
29258
|
createdByUserType: "user" | "system";
|
|
29255
29259
|
createdAt: string;
|
|
29256
29260
|
createdBy: string;
|
|
29261
|
+
createdByRole: string;
|
|
29257
29262
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29258
29263
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29259
29264
|
type: "APPROVE_CORRECTION";
|
|
29260
29265
|
requestId: string;
|
|
29261
|
-
createdByRole?: string | null | undefined;
|
|
29262
29266
|
createdBySignature?: string | null | undefined;
|
|
29263
29267
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29264
29268
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29269,6 +29273,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29269
29273
|
createdByUserType: "user" | "system";
|
|
29270
29274
|
createdAt: string;
|
|
29271
29275
|
createdBy: string;
|
|
29276
|
+
createdByRole: string;
|
|
29272
29277
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29273
29278
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29274
29279
|
type: "REJECT_CORRECTION";
|
|
@@ -29276,7 +29281,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29276
29281
|
content: {
|
|
29277
29282
|
reason: string;
|
|
29278
29283
|
};
|
|
29279
|
-
createdByRole?: string | null | undefined;
|
|
29280
29284
|
createdBySignature?: string | null | undefined;
|
|
29281
29285
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29282
29286
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29287,10 +29291,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29287
29291
|
createdByUserType: "user" | "system";
|
|
29288
29292
|
createdAt: string;
|
|
29289
29293
|
createdBy: string;
|
|
29294
|
+
createdByRole: string;
|
|
29290
29295
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29291
29296
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29292
29297
|
type: "UNASSIGN";
|
|
29293
|
-
createdByRole?: string | null | undefined;
|
|
29294
29298
|
createdBySignature?: string | null | undefined;
|
|
29295
29299
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29296
29300
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29301,10 +29305,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29301
29305
|
createdByUserType: "user" | "system";
|
|
29302
29306
|
createdAt: string;
|
|
29303
29307
|
createdBy: string;
|
|
29308
|
+
createdByRole: string;
|
|
29304
29309
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29305
29310
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29306
29311
|
type: "PRINT_CERTIFICATE";
|
|
29307
|
-
createdByRole?: string | null | undefined;
|
|
29308
29312
|
createdBySignature?: string | null | undefined;
|
|
29309
29313
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29310
29314
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29318,10 +29322,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29318
29322
|
createdByUserType: "user" | "system";
|
|
29319
29323
|
createdAt: string;
|
|
29320
29324
|
createdBy: string;
|
|
29325
|
+
createdByRole: string;
|
|
29321
29326
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29322
29327
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29323
29328
|
type: "READ";
|
|
29324
|
-
createdByRole?: string | null | undefined;
|
|
29325
29329
|
createdBySignature?: string | null | undefined;
|
|
29326
29330
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29327
29331
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29332,13 +29336,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29332
29336
|
createdByUserType: "user" | "system";
|
|
29333
29337
|
createdAt: string;
|
|
29334
29338
|
createdBy: string;
|
|
29339
|
+
createdByRole: string;
|
|
29335
29340
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29336
29341
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29337
29342
|
type: "EDIT";
|
|
29338
29343
|
content: {
|
|
29339
29344
|
comment?: string | undefined;
|
|
29340
29345
|
};
|
|
29341
|
-
createdByRole?: string | null | undefined;
|
|
29342
29346
|
createdBySignature?: string | null | undefined;
|
|
29343
29347
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29344
29348
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29349,11 +29353,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29349
29353
|
createdByUserType: "user" | "system";
|
|
29350
29354
|
createdAt: string;
|
|
29351
29355
|
createdBy: string;
|
|
29356
|
+
createdByRole: string;
|
|
29352
29357
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29353
29358
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29354
29359
|
type: "CUSTOM";
|
|
29355
29360
|
customActionType: string;
|
|
29356
|
-
createdByRole?: string | null | undefined;
|
|
29357
29361
|
createdBySignature?: string | null | undefined;
|
|
29358
29362
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29359
29363
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29364,9 +29368,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29364
29368
|
createdByUserType: "user" | "system";
|
|
29365
29369
|
createdAt: string;
|
|
29366
29370
|
createdBy: string;
|
|
29371
|
+
createdByRole: string;
|
|
29367
29372
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
29368
29373
|
status: "Rejected";
|
|
29369
|
-
createdByRole?: string | null | undefined;
|
|
29370
29374
|
createdBySignature?: string | null | undefined;
|
|
29371
29375
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29372
29376
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -29389,6 +29393,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29389
29393
|
} | {
|
|
29390
29394
|
type: "system";
|
|
29391
29395
|
id: string;
|
|
29396
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29392
29397
|
signature?: undefined;
|
|
29393
29398
|
primaryOfficeId?: undefined;
|
|
29394
29399
|
administrativeAreaId?: undefined;
|
|
@@ -29411,6 +29416,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29411
29416
|
} | {
|
|
29412
29417
|
type: "system";
|
|
29413
29418
|
id: string;
|
|
29419
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29414
29420
|
signature?: undefined;
|
|
29415
29421
|
primaryOfficeId?: undefined;
|
|
29416
29422
|
administrativeAreaId?: undefined;
|
|
@@ -29455,6 +29461,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29455
29461
|
} | {
|
|
29456
29462
|
type: "system";
|
|
29457
29463
|
id: string;
|
|
29464
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29458
29465
|
signature?: undefined;
|
|
29459
29466
|
primaryOfficeId?: undefined;
|
|
29460
29467
|
administrativeAreaId?: undefined;
|
|
@@ -29499,6 +29506,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29499
29506
|
} | {
|
|
29500
29507
|
type: "system";
|
|
29501
29508
|
id: string;
|
|
29509
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29502
29510
|
signature?: undefined;
|
|
29503
29511
|
primaryOfficeId?: undefined;
|
|
29504
29512
|
administrativeAreaId?: undefined;
|
|
@@ -29544,6 +29552,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29544
29552
|
} | {
|
|
29545
29553
|
type: "system";
|
|
29546
29554
|
id: string;
|
|
29555
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29547
29556
|
signature?: undefined;
|
|
29548
29557
|
primaryOfficeId?: undefined;
|
|
29549
29558
|
administrativeAreaId?: undefined;
|
|
@@ -29578,10 +29587,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29578
29587
|
createdByUserType: "user" | "system";
|
|
29579
29588
|
createdAt: string;
|
|
29580
29589
|
createdBy: string;
|
|
29590
|
+
createdByRole: string;
|
|
29581
29591
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29582
29592
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29583
29593
|
type: "CREATE";
|
|
29584
|
-
createdByRole?: string | null | undefined;
|
|
29585
29594
|
createdBySignature?: string | null | undefined;
|
|
29586
29595
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29587
29596
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29592,13 +29601,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29592
29601
|
createdByUserType: "user" | "system";
|
|
29593
29602
|
createdAt: string;
|
|
29594
29603
|
createdBy: string;
|
|
29604
|
+
createdByRole: string;
|
|
29595
29605
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29596
29606
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29597
29607
|
type: "REJECT";
|
|
29598
29608
|
content: {
|
|
29599
29609
|
reason: string;
|
|
29600
29610
|
};
|
|
29601
|
-
createdByRole?: string | null | undefined;
|
|
29602
29611
|
createdBySignature?: string | null | undefined;
|
|
29603
29612
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29604
29613
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29609,6 +29618,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29609
29618
|
createdByUserType: "user" | "system";
|
|
29610
29619
|
createdAt: string;
|
|
29611
29620
|
createdBy: string;
|
|
29621
|
+
createdByRole: string;
|
|
29612
29622
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29613
29623
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29614
29624
|
type: "DUPLICATE_DETECTED";
|
|
@@ -29618,7 +29628,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29618
29628
|
trackingId: string;
|
|
29619
29629
|
}[];
|
|
29620
29630
|
};
|
|
29621
|
-
createdByRole?: string | null | undefined;
|
|
29622
29631
|
createdBySignature?: string | null | undefined;
|
|
29623
29632
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29624
29633
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29629,10 +29638,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29629
29638
|
createdByUserType: "user" | "system";
|
|
29630
29639
|
createdAt: string;
|
|
29631
29640
|
createdBy: string;
|
|
29641
|
+
createdByRole: string;
|
|
29632
29642
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29633
29643
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29634
29644
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
29635
|
-
createdByRole?: string | null | undefined;
|
|
29636
29645
|
createdBySignature?: string | null | undefined;
|
|
29637
29646
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29638
29647
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29643,10 +29652,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29643
29652
|
createdByUserType: "user" | "system";
|
|
29644
29653
|
createdAt: string;
|
|
29645
29654
|
createdBy: string;
|
|
29655
|
+
createdByRole: string;
|
|
29646
29656
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29647
29657
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29648
29658
|
type: "MARK_AS_DUPLICATE";
|
|
29649
|
-
createdByRole?: string | null | undefined;
|
|
29650
29659
|
createdBySignature?: string | null | undefined;
|
|
29651
29660
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29652
29661
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29660,13 +29669,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29660
29669
|
createdByUserType: "user" | "system";
|
|
29661
29670
|
createdAt: string;
|
|
29662
29671
|
createdBy: string;
|
|
29672
|
+
createdByRole: string;
|
|
29663
29673
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29664
29674
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29665
29675
|
type: "ARCHIVE";
|
|
29666
29676
|
content: {
|
|
29667
29677
|
reason: string;
|
|
29668
29678
|
};
|
|
29669
|
-
createdByRole?: string | null | undefined;
|
|
29670
29679
|
createdBySignature?: string | null | undefined;
|
|
29671
29680
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29672
29681
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29677,10 +29686,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29677
29686
|
createdByUserType: "user" | "system";
|
|
29678
29687
|
createdAt: string;
|
|
29679
29688
|
createdBy: string;
|
|
29689
|
+
createdByRole: string;
|
|
29680
29690
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29681
29691
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29682
29692
|
type: "NOTIFY";
|
|
29683
|
-
createdByRole?: string | null | undefined;
|
|
29684
29693
|
createdBySignature?: string | null | undefined;
|
|
29685
29694
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29686
29695
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29691,10 +29700,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29691
29700
|
createdByUserType: "user" | "system";
|
|
29692
29701
|
createdAt: string;
|
|
29693
29702
|
createdBy: string;
|
|
29703
|
+
createdByRole: string;
|
|
29694
29704
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29695
29705
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29696
29706
|
type: "REGISTER";
|
|
29697
|
-
createdByRole?: string | null | undefined;
|
|
29698
29707
|
createdBySignature?: string | null | undefined;
|
|
29699
29708
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29700
29709
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29706,10 +29715,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29706
29715
|
createdByUserType: "user" | "system";
|
|
29707
29716
|
createdAt: string;
|
|
29708
29717
|
createdBy: string;
|
|
29718
|
+
createdByRole: string;
|
|
29709
29719
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29710
29720
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29711
29721
|
type: "DECLARE";
|
|
29712
|
-
createdByRole?: string | null | undefined;
|
|
29713
29722
|
createdBySignature?: string | null | undefined;
|
|
29714
29723
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29715
29724
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29720,11 +29729,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29720
29729
|
createdByUserType: "user" | "system";
|
|
29721
29730
|
createdAt: string;
|
|
29722
29731
|
createdBy: string;
|
|
29732
|
+
createdByRole: string;
|
|
29723
29733
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29724
29734
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29725
29735
|
type: "ASSIGN";
|
|
29726
29736
|
assignedTo: string;
|
|
29727
|
-
createdByRole?: string | null | undefined;
|
|
29728
29737
|
createdBySignature?: string | null | undefined;
|
|
29729
29738
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29730
29739
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29735,10 +29744,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29735
29744
|
createdByUserType: "user" | "system";
|
|
29736
29745
|
createdAt: string;
|
|
29737
29746
|
createdBy: string;
|
|
29747
|
+
createdByRole: string;
|
|
29738
29748
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29739
29749
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29740
29750
|
type: "REQUEST_CORRECTION";
|
|
29741
|
-
createdByRole?: string | null | undefined;
|
|
29742
29751
|
createdBySignature?: string | null | undefined;
|
|
29743
29752
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29744
29753
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29749,11 +29758,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29749
29758
|
createdByUserType: "user" | "system";
|
|
29750
29759
|
createdAt: string;
|
|
29751
29760
|
createdBy: string;
|
|
29761
|
+
createdByRole: string;
|
|
29752
29762
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29753
29763
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29754
29764
|
type: "APPROVE_CORRECTION";
|
|
29755
29765
|
requestId: string;
|
|
29756
|
-
createdByRole?: string | null | undefined;
|
|
29757
29766
|
createdBySignature?: string | null | undefined;
|
|
29758
29767
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29759
29768
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29764,6 +29773,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29764
29773
|
createdByUserType: "user" | "system";
|
|
29765
29774
|
createdAt: string;
|
|
29766
29775
|
createdBy: string;
|
|
29776
|
+
createdByRole: string;
|
|
29767
29777
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29768
29778
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29769
29779
|
type: "REJECT_CORRECTION";
|
|
@@ -29771,7 +29781,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29771
29781
|
content: {
|
|
29772
29782
|
reason: string;
|
|
29773
29783
|
};
|
|
29774
|
-
createdByRole?: string | null | undefined;
|
|
29775
29784
|
createdBySignature?: string | null | undefined;
|
|
29776
29785
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29777
29786
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29782,10 +29791,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29782
29791
|
createdByUserType: "user" | "system";
|
|
29783
29792
|
createdAt: string;
|
|
29784
29793
|
createdBy: string;
|
|
29794
|
+
createdByRole: string;
|
|
29785
29795
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29786
29796
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29787
29797
|
type: "UNASSIGN";
|
|
29788
|
-
createdByRole?: string | null | undefined;
|
|
29789
29798
|
createdBySignature?: string | null | undefined;
|
|
29790
29799
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29791
29800
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29796,10 +29805,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29796
29805
|
createdByUserType: "user" | "system";
|
|
29797
29806
|
createdAt: string;
|
|
29798
29807
|
createdBy: string;
|
|
29808
|
+
createdByRole: string;
|
|
29799
29809
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29800
29810
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29801
29811
|
type: "PRINT_CERTIFICATE";
|
|
29802
|
-
createdByRole?: string | null | undefined;
|
|
29803
29812
|
createdBySignature?: string | null | undefined;
|
|
29804
29813
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29805
29814
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29813,10 +29822,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29813
29822
|
createdByUserType: "user" | "system";
|
|
29814
29823
|
createdAt: string;
|
|
29815
29824
|
createdBy: string;
|
|
29825
|
+
createdByRole: string;
|
|
29816
29826
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29817
29827
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29818
29828
|
type: "READ";
|
|
29819
|
-
createdByRole?: string | null | undefined;
|
|
29820
29829
|
createdBySignature?: string | null | undefined;
|
|
29821
29830
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29822
29831
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29827,13 +29836,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29827
29836
|
createdByUserType: "user" | "system";
|
|
29828
29837
|
createdAt: string;
|
|
29829
29838
|
createdBy: string;
|
|
29839
|
+
createdByRole: string;
|
|
29830
29840
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29831
29841
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29832
29842
|
type: "EDIT";
|
|
29833
29843
|
content: {
|
|
29834
29844
|
comment?: string | undefined;
|
|
29835
29845
|
};
|
|
29836
|
-
createdByRole?: string | null | undefined;
|
|
29837
29846
|
createdBySignature?: string | null | undefined;
|
|
29838
29847
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29839
29848
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29844,11 +29853,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29844
29853
|
createdByUserType: "user" | "system";
|
|
29845
29854
|
createdAt: string;
|
|
29846
29855
|
createdBy: string;
|
|
29856
|
+
createdByRole: string;
|
|
29847
29857
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29848
29858
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29849
29859
|
type: "CUSTOM";
|
|
29850
29860
|
customActionType: string;
|
|
29851
|
-
createdByRole?: string | null | undefined;
|
|
29852
29861
|
createdBySignature?: string | null | undefined;
|
|
29853
29862
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29854
29863
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29859,9 +29868,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29859
29868
|
createdByUserType: "user" | "system";
|
|
29860
29869
|
createdAt: string;
|
|
29861
29870
|
createdBy: string;
|
|
29871
|
+
createdByRole: string;
|
|
29862
29872
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
29863
29873
|
status: "Rejected";
|
|
29864
|
-
createdByRole?: string | null | undefined;
|
|
29865
29874
|
createdBySignature?: string | null | undefined;
|
|
29866
29875
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29867
29876
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -29892,10 +29901,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29892
29901
|
createdByUserType: "user" | "system";
|
|
29893
29902
|
createdAt: string;
|
|
29894
29903
|
createdBy: string;
|
|
29904
|
+
createdByRole: string;
|
|
29895
29905
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29896
29906
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29897
29907
|
type: "CREATE";
|
|
29898
|
-
createdByRole?: string | null | undefined;
|
|
29899
29908
|
createdBySignature?: string | null | undefined;
|
|
29900
29909
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29901
29910
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29906,13 +29915,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29906
29915
|
createdByUserType: "user" | "system";
|
|
29907
29916
|
createdAt: string;
|
|
29908
29917
|
createdBy: string;
|
|
29918
|
+
createdByRole: string;
|
|
29909
29919
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29910
29920
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29911
29921
|
type: "REJECT";
|
|
29912
29922
|
content: {
|
|
29913
29923
|
reason: string;
|
|
29914
29924
|
};
|
|
29915
|
-
createdByRole?: string | null | undefined;
|
|
29916
29925
|
createdBySignature?: string | null | undefined;
|
|
29917
29926
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29918
29927
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29923,6 +29932,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29923
29932
|
createdByUserType: "user" | "system";
|
|
29924
29933
|
createdAt: string;
|
|
29925
29934
|
createdBy: string;
|
|
29935
|
+
createdByRole: string;
|
|
29926
29936
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29927
29937
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29928
29938
|
type: "DUPLICATE_DETECTED";
|
|
@@ -29932,7 +29942,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29932
29942
|
trackingId: string;
|
|
29933
29943
|
}[];
|
|
29934
29944
|
};
|
|
29935
|
-
createdByRole?: string | null | undefined;
|
|
29936
29945
|
createdBySignature?: string | null | undefined;
|
|
29937
29946
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29938
29947
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29943,10 +29952,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29943
29952
|
createdByUserType: "user" | "system";
|
|
29944
29953
|
createdAt: string;
|
|
29945
29954
|
createdBy: string;
|
|
29955
|
+
createdByRole: string;
|
|
29946
29956
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29947
29957
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29948
29958
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
29949
|
-
createdByRole?: string | null | undefined;
|
|
29950
29959
|
createdBySignature?: string | null | undefined;
|
|
29951
29960
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29952
29961
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29957,10 +29966,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29957
29966
|
createdByUserType: "user" | "system";
|
|
29958
29967
|
createdAt: string;
|
|
29959
29968
|
createdBy: string;
|
|
29969
|
+
createdByRole: string;
|
|
29960
29970
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29961
29971
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29962
29972
|
type: "MARK_AS_DUPLICATE";
|
|
29963
|
-
createdByRole?: string | null | undefined;
|
|
29964
29973
|
createdBySignature?: string | null | undefined;
|
|
29965
29974
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29966
29975
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29974,13 +29983,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29974
29983
|
createdByUserType: "user" | "system";
|
|
29975
29984
|
createdAt: string;
|
|
29976
29985
|
createdBy: string;
|
|
29986
|
+
createdByRole: string;
|
|
29977
29987
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29978
29988
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29979
29989
|
type: "ARCHIVE";
|
|
29980
29990
|
content: {
|
|
29981
29991
|
reason: string;
|
|
29982
29992
|
};
|
|
29983
|
-
createdByRole?: string | null | undefined;
|
|
29984
29993
|
createdBySignature?: string | null | undefined;
|
|
29985
29994
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29986
29995
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29991,10 +30000,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29991
30000
|
createdByUserType: "user" | "system";
|
|
29992
30001
|
createdAt: string;
|
|
29993
30002
|
createdBy: string;
|
|
30003
|
+
createdByRole: string;
|
|
29994
30004
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29995
30005
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29996
30006
|
type: "NOTIFY";
|
|
29997
|
-
createdByRole?: string | null | undefined;
|
|
29998
30007
|
createdBySignature?: string | null | undefined;
|
|
29999
30008
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30000
30009
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30005,10 +30014,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30005
30014
|
createdByUserType: "user" | "system";
|
|
30006
30015
|
createdAt: string;
|
|
30007
30016
|
createdBy: string;
|
|
30017
|
+
createdByRole: string;
|
|
30008
30018
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30009
30019
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30010
30020
|
type: "REGISTER";
|
|
30011
|
-
createdByRole?: string | null | undefined;
|
|
30012
30021
|
createdBySignature?: string | null | undefined;
|
|
30013
30022
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30014
30023
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30020,10 +30029,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30020
30029
|
createdByUserType: "user" | "system";
|
|
30021
30030
|
createdAt: string;
|
|
30022
30031
|
createdBy: string;
|
|
30032
|
+
createdByRole: string;
|
|
30023
30033
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30024
30034
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30025
30035
|
type: "DECLARE";
|
|
30026
|
-
createdByRole?: string | null | undefined;
|
|
30027
30036
|
createdBySignature?: string | null | undefined;
|
|
30028
30037
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30029
30038
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30034,11 +30043,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30034
30043
|
createdByUserType: "user" | "system";
|
|
30035
30044
|
createdAt: string;
|
|
30036
30045
|
createdBy: string;
|
|
30046
|
+
createdByRole: string;
|
|
30037
30047
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30038
30048
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30039
30049
|
type: "ASSIGN";
|
|
30040
30050
|
assignedTo: string;
|
|
30041
|
-
createdByRole?: string | null | undefined;
|
|
30042
30051
|
createdBySignature?: string | null | undefined;
|
|
30043
30052
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30044
30053
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30049,10 +30058,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30049
30058
|
createdByUserType: "user" | "system";
|
|
30050
30059
|
createdAt: string;
|
|
30051
30060
|
createdBy: string;
|
|
30061
|
+
createdByRole: string;
|
|
30052
30062
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30053
30063
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30054
30064
|
type: "REQUEST_CORRECTION";
|
|
30055
|
-
createdByRole?: string | null | undefined;
|
|
30056
30065
|
createdBySignature?: string | null | undefined;
|
|
30057
30066
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30058
30067
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30063,11 +30072,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30063
30072
|
createdByUserType: "user" | "system";
|
|
30064
30073
|
createdAt: string;
|
|
30065
30074
|
createdBy: string;
|
|
30075
|
+
createdByRole: string;
|
|
30066
30076
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30067
30077
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30068
30078
|
type: "APPROVE_CORRECTION";
|
|
30069
30079
|
requestId: string;
|
|
30070
|
-
createdByRole?: string | null | undefined;
|
|
30071
30080
|
createdBySignature?: string | null | undefined;
|
|
30072
30081
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30073
30082
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30078,6 +30087,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30078
30087
|
createdByUserType: "user" | "system";
|
|
30079
30088
|
createdAt: string;
|
|
30080
30089
|
createdBy: string;
|
|
30090
|
+
createdByRole: string;
|
|
30081
30091
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30082
30092
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30083
30093
|
type: "REJECT_CORRECTION";
|
|
@@ -30085,7 +30095,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30085
30095
|
content: {
|
|
30086
30096
|
reason: string;
|
|
30087
30097
|
};
|
|
30088
|
-
createdByRole?: string | null | undefined;
|
|
30089
30098
|
createdBySignature?: string | null | undefined;
|
|
30090
30099
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30091
30100
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30096,10 +30105,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30096
30105
|
createdByUserType: "user" | "system";
|
|
30097
30106
|
createdAt: string;
|
|
30098
30107
|
createdBy: string;
|
|
30108
|
+
createdByRole: string;
|
|
30099
30109
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30100
30110
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30101
30111
|
type: "UNASSIGN";
|
|
30102
|
-
createdByRole?: string | null | undefined;
|
|
30103
30112
|
createdBySignature?: string | null | undefined;
|
|
30104
30113
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30105
30114
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30110,10 +30119,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30110
30119
|
createdByUserType: "user" | "system";
|
|
30111
30120
|
createdAt: string;
|
|
30112
30121
|
createdBy: string;
|
|
30122
|
+
createdByRole: string;
|
|
30113
30123
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30114
30124
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30115
30125
|
type: "PRINT_CERTIFICATE";
|
|
30116
|
-
createdByRole?: string | null | undefined;
|
|
30117
30126
|
createdBySignature?: string | null | undefined;
|
|
30118
30127
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30119
30128
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30127,10 +30136,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30127
30136
|
createdByUserType: "user" | "system";
|
|
30128
30137
|
createdAt: string;
|
|
30129
30138
|
createdBy: string;
|
|
30139
|
+
createdByRole: string;
|
|
30130
30140
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30131
30141
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30132
30142
|
type: "READ";
|
|
30133
|
-
createdByRole?: string | null | undefined;
|
|
30134
30143
|
createdBySignature?: string | null | undefined;
|
|
30135
30144
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30136
30145
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30141,13 +30150,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30141
30150
|
createdByUserType: "user" | "system";
|
|
30142
30151
|
createdAt: string;
|
|
30143
30152
|
createdBy: string;
|
|
30153
|
+
createdByRole: string;
|
|
30144
30154
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30145
30155
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30146
30156
|
type: "EDIT";
|
|
30147
30157
|
content: {
|
|
30148
30158
|
comment?: string | undefined;
|
|
30149
30159
|
};
|
|
30150
|
-
createdByRole?: string | null | undefined;
|
|
30151
30160
|
createdBySignature?: string | null | undefined;
|
|
30152
30161
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30153
30162
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30158,11 +30167,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30158
30167
|
createdByUserType: "user" | "system";
|
|
30159
30168
|
createdAt: string;
|
|
30160
30169
|
createdBy: string;
|
|
30170
|
+
createdByRole: string;
|
|
30161
30171
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30162
30172
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30163
30173
|
type: "CUSTOM";
|
|
30164
30174
|
customActionType: string;
|
|
30165
|
-
createdByRole?: string | null | undefined;
|
|
30166
30175
|
createdBySignature?: string | null | undefined;
|
|
30167
30176
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30168
30177
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30173,9 +30182,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30173
30182
|
createdByUserType: "user" | "system";
|
|
30174
30183
|
createdAt: string;
|
|
30175
30184
|
createdBy: string;
|
|
30185
|
+
createdByRole: string;
|
|
30176
30186
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
30177
30187
|
status: "Rejected";
|
|
30178
|
-
createdByRole?: string | null | undefined;
|
|
30179
30188
|
createdBySignature?: string | null | undefined;
|
|
30180
30189
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30181
30190
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -30203,24 +30212,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30203
30212
|
createdAt: string;
|
|
30204
30213
|
createdBy: string;
|
|
30205
30214
|
acceptedAt: string;
|
|
30215
|
+
createdByRole: string;
|
|
30206
30216
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30207
30217
|
createdByUserType?: "user" | "system" | null | undefined;
|
|
30208
|
-
createdByRole?: string | null | undefined;
|
|
30209
30218
|
createdBySignature?: string | null | undefined;
|
|
30210
30219
|
} | null | undefined;
|
|
30211
30220
|
REGISTERED?: {
|
|
30212
30221
|
createdAt: string;
|
|
30213
30222
|
createdBy: string;
|
|
30214
30223
|
acceptedAt: string;
|
|
30224
|
+
createdByRole: string;
|
|
30215
30225
|
registrationNumber: string;
|
|
30216
30226
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30217
30227
|
createdByUserType?: "user" | "system" | null | undefined;
|
|
30218
|
-
createdByRole?: string | null | undefined;
|
|
30219
30228
|
createdBySignature?: string | null | undefined;
|
|
30220
30229
|
} | null | undefined;
|
|
30221
30230
|
};
|
|
30222
30231
|
createdAt: string;
|
|
30223
30232
|
createdBy: string;
|
|
30233
|
+
updatedByUserRole: string;
|
|
30224
30234
|
updatedAt: string;
|
|
30225
30235
|
trackingId: string;
|
|
30226
30236
|
potentialDuplicates: {
|
|
@@ -30232,7 +30242,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30232
30242
|
dateOfEvent?: string | null | undefined;
|
|
30233
30243
|
placeOfEvent?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30234
30244
|
createdByUserType?: "user" | "system" | null | undefined;
|
|
30235
|
-
updatedByUserRole?: string | null | undefined;
|
|
30236
30245
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30237
30246
|
createdBySignature?: string | null | undefined;
|
|
30238
30247
|
updatedAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -30255,10 +30264,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30255
30264
|
createdByUserType: "user" | "system";
|
|
30256
30265
|
createdAt: string;
|
|
30257
30266
|
createdBy: string;
|
|
30267
|
+
createdByRole: string;
|
|
30258
30268
|
declaration: Record<string, unknown>;
|
|
30259
30269
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30260
30270
|
type: "CREATE";
|
|
30261
|
-
createdByRole?: string | null | undefined;
|
|
30262
30271
|
createdBySignature?: string | null | undefined;
|
|
30263
30272
|
createdAtLocation?: string | null | undefined;
|
|
30264
30273
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30269,13 +30278,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30269
30278
|
createdByUserType: "user" | "system";
|
|
30270
30279
|
createdAt: string;
|
|
30271
30280
|
createdBy: string;
|
|
30281
|
+
createdByRole: string;
|
|
30272
30282
|
declaration: Record<string, unknown>;
|
|
30273
30283
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30274
30284
|
type: "REJECT";
|
|
30275
30285
|
content: {
|
|
30276
30286
|
reason: string;
|
|
30277
30287
|
};
|
|
30278
|
-
createdByRole?: string | null | undefined;
|
|
30279
30288
|
createdBySignature?: string | null | undefined;
|
|
30280
30289
|
createdAtLocation?: string | null | undefined;
|
|
30281
30290
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30286,6 +30295,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30286
30295
|
createdByUserType: "user" | "system";
|
|
30287
30296
|
createdAt: string;
|
|
30288
30297
|
createdBy: string;
|
|
30298
|
+
createdByRole: string;
|
|
30289
30299
|
declaration: Record<string, unknown>;
|
|
30290
30300
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30291
30301
|
type: "DUPLICATE_DETECTED";
|
|
@@ -30295,7 +30305,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30295
30305
|
trackingId: string;
|
|
30296
30306
|
}[];
|
|
30297
30307
|
};
|
|
30298
|
-
createdByRole?: string | null | undefined;
|
|
30299
30308
|
createdBySignature?: string | null | undefined;
|
|
30300
30309
|
createdAtLocation?: string | null | undefined;
|
|
30301
30310
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30306,10 +30315,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30306
30315
|
createdByUserType: "user" | "system";
|
|
30307
30316
|
createdAt: string;
|
|
30308
30317
|
createdBy: string;
|
|
30318
|
+
createdByRole: string;
|
|
30309
30319
|
declaration: Record<string, unknown>;
|
|
30310
30320
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30311
30321
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
30312
|
-
createdByRole?: string | null | undefined;
|
|
30313
30322
|
createdBySignature?: string | null | undefined;
|
|
30314
30323
|
createdAtLocation?: string | null | undefined;
|
|
30315
30324
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30320,10 +30329,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30320
30329
|
createdByUserType: "user" | "system";
|
|
30321
30330
|
createdAt: string;
|
|
30322
30331
|
createdBy: string;
|
|
30332
|
+
createdByRole: string;
|
|
30323
30333
|
declaration: Record<string, unknown>;
|
|
30324
30334
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30325
30335
|
type: "MARK_AS_DUPLICATE";
|
|
30326
|
-
createdByRole?: string | null | undefined;
|
|
30327
30336
|
createdBySignature?: string | null | undefined;
|
|
30328
30337
|
createdAtLocation?: string | null | undefined;
|
|
30329
30338
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30337,13 +30346,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30337
30346
|
createdByUserType: "user" | "system";
|
|
30338
30347
|
createdAt: string;
|
|
30339
30348
|
createdBy: string;
|
|
30349
|
+
createdByRole: string;
|
|
30340
30350
|
declaration: Record<string, unknown>;
|
|
30341
30351
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30342
30352
|
type: "ARCHIVE";
|
|
30343
30353
|
content: {
|
|
30344
30354
|
reason: string;
|
|
30345
30355
|
};
|
|
30346
|
-
createdByRole?: string | null | undefined;
|
|
30347
30356
|
createdBySignature?: string | null | undefined;
|
|
30348
30357
|
createdAtLocation?: string | null | undefined;
|
|
30349
30358
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30354,10 +30363,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30354
30363
|
createdByUserType: "user" | "system";
|
|
30355
30364
|
createdAt: string;
|
|
30356
30365
|
createdBy: string;
|
|
30366
|
+
createdByRole: string;
|
|
30357
30367
|
declaration: Record<string, unknown>;
|
|
30358
30368
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30359
30369
|
type: "NOTIFY";
|
|
30360
|
-
createdByRole?: string | null | undefined;
|
|
30361
30370
|
createdBySignature?: string | null | undefined;
|
|
30362
30371
|
createdAtLocation?: string | null | undefined;
|
|
30363
30372
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30368,10 +30377,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30368
30377
|
createdByUserType: "user" | "system";
|
|
30369
30378
|
createdAt: string;
|
|
30370
30379
|
createdBy: string;
|
|
30380
|
+
createdByRole: string;
|
|
30371
30381
|
declaration: Record<string, unknown>;
|
|
30372
30382
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30373
30383
|
type: "REGISTER";
|
|
30374
|
-
createdByRole?: string | null | undefined;
|
|
30375
30384
|
createdBySignature?: string | null | undefined;
|
|
30376
30385
|
createdAtLocation?: string | null | undefined;
|
|
30377
30386
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30383,10 +30392,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30383
30392
|
createdByUserType: "user" | "system";
|
|
30384
30393
|
createdAt: string;
|
|
30385
30394
|
createdBy: string;
|
|
30395
|
+
createdByRole: string;
|
|
30386
30396
|
declaration: Record<string, unknown>;
|
|
30387
30397
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30388
30398
|
type: "DECLARE";
|
|
30389
|
-
createdByRole?: string | null | undefined;
|
|
30390
30399
|
createdBySignature?: string | null | undefined;
|
|
30391
30400
|
createdAtLocation?: string | null | undefined;
|
|
30392
30401
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30397,11 +30406,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30397
30406
|
createdByUserType: "user" | "system";
|
|
30398
30407
|
createdAt: string;
|
|
30399
30408
|
createdBy: string;
|
|
30409
|
+
createdByRole: string;
|
|
30400
30410
|
declaration: Record<string, unknown>;
|
|
30401
30411
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30402
30412
|
type: "ASSIGN";
|
|
30403
30413
|
assignedTo: string;
|
|
30404
|
-
createdByRole?: string | null | undefined;
|
|
30405
30414
|
createdBySignature?: string | null | undefined;
|
|
30406
30415
|
createdAtLocation?: string | null | undefined;
|
|
30407
30416
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30412,10 +30421,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30412
30421
|
createdByUserType: "user" | "system";
|
|
30413
30422
|
createdAt: string;
|
|
30414
30423
|
createdBy: string;
|
|
30424
|
+
createdByRole: string;
|
|
30415
30425
|
declaration: Record<string, unknown>;
|
|
30416
30426
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30417
30427
|
type: "REQUEST_CORRECTION";
|
|
30418
|
-
createdByRole?: string | null | undefined;
|
|
30419
30428
|
createdBySignature?: string | null | undefined;
|
|
30420
30429
|
createdAtLocation?: string | null | undefined;
|
|
30421
30430
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30426,11 +30435,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30426
30435
|
createdByUserType: "user" | "system";
|
|
30427
30436
|
createdAt: string;
|
|
30428
30437
|
createdBy: string;
|
|
30438
|
+
createdByRole: string;
|
|
30429
30439
|
declaration: Record<string, unknown>;
|
|
30430
30440
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30431
30441
|
type: "APPROVE_CORRECTION";
|
|
30432
30442
|
requestId: string;
|
|
30433
|
-
createdByRole?: string | null | undefined;
|
|
30434
30443
|
createdBySignature?: string | null | undefined;
|
|
30435
30444
|
createdAtLocation?: string | null | undefined;
|
|
30436
30445
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30441,6 +30450,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30441
30450
|
createdByUserType: "user" | "system";
|
|
30442
30451
|
createdAt: string;
|
|
30443
30452
|
createdBy: string;
|
|
30453
|
+
createdByRole: string;
|
|
30444
30454
|
declaration: Record<string, unknown>;
|
|
30445
30455
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30446
30456
|
type: "REJECT_CORRECTION";
|
|
@@ -30448,7 +30458,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30448
30458
|
content: {
|
|
30449
30459
|
reason: string;
|
|
30450
30460
|
};
|
|
30451
|
-
createdByRole?: string | null | undefined;
|
|
30452
30461
|
createdBySignature?: string | null | undefined;
|
|
30453
30462
|
createdAtLocation?: string | null | undefined;
|
|
30454
30463
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30459,10 +30468,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30459
30468
|
createdByUserType: "user" | "system";
|
|
30460
30469
|
createdAt: string;
|
|
30461
30470
|
createdBy: string;
|
|
30471
|
+
createdByRole: string;
|
|
30462
30472
|
declaration: Record<string, unknown>;
|
|
30463
30473
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30464
30474
|
type: "UNASSIGN";
|
|
30465
|
-
createdByRole?: string | null | undefined;
|
|
30466
30475
|
createdBySignature?: string | null | undefined;
|
|
30467
30476
|
createdAtLocation?: string | null | undefined;
|
|
30468
30477
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30473,10 +30482,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30473
30482
|
createdByUserType: "user" | "system";
|
|
30474
30483
|
createdAt: string;
|
|
30475
30484
|
createdBy: string;
|
|
30485
|
+
createdByRole: string;
|
|
30476
30486
|
declaration: Record<string, unknown>;
|
|
30477
30487
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30478
30488
|
type: "PRINT_CERTIFICATE";
|
|
30479
|
-
createdByRole?: string | null | undefined;
|
|
30480
30489
|
createdBySignature?: string | null | undefined;
|
|
30481
30490
|
createdAtLocation?: string | null | undefined;
|
|
30482
30491
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30490,10 +30499,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30490
30499
|
createdByUserType: "user" | "system";
|
|
30491
30500
|
createdAt: string;
|
|
30492
30501
|
createdBy: string;
|
|
30502
|
+
createdByRole: string;
|
|
30493
30503
|
declaration: Record<string, unknown>;
|
|
30494
30504
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30495
30505
|
type: "READ";
|
|
30496
|
-
createdByRole?: string | null | undefined;
|
|
30497
30506
|
createdBySignature?: string | null | undefined;
|
|
30498
30507
|
createdAtLocation?: string | null | undefined;
|
|
30499
30508
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30504,13 +30513,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30504
30513
|
createdByUserType: "user" | "system";
|
|
30505
30514
|
createdAt: string;
|
|
30506
30515
|
createdBy: string;
|
|
30516
|
+
createdByRole: string;
|
|
30507
30517
|
declaration: Record<string, unknown>;
|
|
30508
30518
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30509
30519
|
type: "EDIT";
|
|
30510
30520
|
content: {
|
|
30511
30521
|
comment?: string | undefined;
|
|
30512
30522
|
};
|
|
30513
|
-
createdByRole?: string | null | undefined;
|
|
30514
30523
|
createdBySignature?: string | null | undefined;
|
|
30515
30524
|
createdAtLocation?: string | null | undefined;
|
|
30516
30525
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30521,11 +30530,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30521
30530
|
createdByUserType: "user" | "system";
|
|
30522
30531
|
createdAt: string;
|
|
30523
30532
|
createdBy: string;
|
|
30533
|
+
createdByRole: string;
|
|
30524
30534
|
declaration: Record<string, unknown>;
|
|
30525
30535
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30526
30536
|
type: "CUSTOM";
|
|
30527
30537
|
customActionType: string;
|
|
30528
|
-
createdByRole?: string | null | undefined;
|
|
30529
30538
|
createdBySignature?: string | null | undefined;
|
|
30530
30539
|
createdAtLocation?: string | null | undefined;
|
|
30531
30540
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30536,9 +30545,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30536
30545
|
createdByUserType: "user" | "system";
|
|
30537
30546
|
createdAt: string;
|
|
30538
30547
|
createdBy: string;
|
|
30548
|
+
createdByRole: string;
|
|
30539
30549
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
30540
30550
|
status: "Rejected";
|
|
30541
|
-
createdByRole?: string | null | undefined;
|
|
30542
30551
|
createdBySignature?: string | null | undefined;
|
|
30543
30552
|
createdAtLocation?: string | null | undefined;
|
|
30544
30553
|
originalActionId?: string | null | undefined;
|
|
@@ -30567,6 +30576,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30567
30576
|
} | {
|
|
30568
30577
|
type: "system";
|
|
30569
30578
|
id: string;
|
|
30579
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
30570
30580
|
signature?: undefined;
|
|
30571
30581
|
primaryOfficeId?: undefined;
|
|
30572
30582
|
administrativeAreaId?: undefined;
|
|
@@ -30597,6 +30607,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30597
30607
|
id: string;
|
|
30598
30608
|
name: string;
|
|
30599
30609
|
type: "system";
|
|
30610
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
30600
30611
|
primaryOfficeId?: undefined;
|
|
30601
30612
|
administrativeAreaId?: undefined;
|
|
30602
30613
|
signature?: undefined;
|
|
@@ -30626,6 +30637,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30626
30637
|
id: string;
|
|
30627
30638
|
name: string;
|
|
30628
30639
|
type: "system";
|
|
30640
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
30629
30641
|
primaryOfficeId?: undefined;
|
|
30630
30642
|
administrativeAreaId?: undefined;
|
|
30631
30643
|
signature?: undefined;
|
|
@@ -30652,7 +30664,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30652
30664
|
declaration: Record<string, any>;
|
|
30653
30665
|
annotation: Record<string, any> | null;
|
|
30654
30666
|
createdBy: string;
|
|
30655
|
-
createdByRole: string
|
|
30667
|
+
createdByRole: string;
|
|
30656
30668
|
createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
|
|
30657
30669
|
createdBySignature: string | null;
|
|
30658
30670
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
|
|
@@ -30686,6 +30698,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30686
30698
|
} | {
|
|
30687
30699
|
type: "system";
|
|
30688
30700
|
id: string;
|
|
30701
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
30689
30702
|
signature?: undefined;
|
|
30690
30703
|
primaryOfficeId?: undefined;
|
|
30691
30704
|
administrativeAreaId?: undefined;
|
|
@@ -30745,6 +30758,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30745
30758
|
} | {
|
|
30746
30759
|
type: "system";
|
|
30747
30760
|
id: string;
|
|
30761
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
30748
30762
|
signature?: undefined;
|
|
30749
30763
|
primaryOfficeId?: undefined;
|
|
30750
30764
|
administrativeAreaId?: undefined;
|
|
@@ -30767,6 +30781,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30767
30781
|
} | {
|
|
30768
30782
|
type: "system";
|
|
30769
30783
|
id: string;
|
|
30784
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
30770
30785
|
signature?: undefined;
|
|
30771
30786
|
primaryOfficeId?: undefined;
|
|
30772
30787
|
administrativeAreaId?: undefined;
|
|
@@ -31053,6 +31068,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
31053
31068
|
} | {
|
|
31054
31069
|
type: "system";
|
|
31055
31070
|
id: string;
|
|
31071
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
31056
31072
|
signature?: undefined;
|
|
31057
31073
|
primaryOfficeId?: undefined;
|
|
31058
31074
|
administrativeAreaId?: undefined;
|
|
@@ -31081,6 +31097,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
31081
31097
|
} | {
|
|
31082
31098
|
type: "system";
|
|
31083
31099
|
id: string;
|
|
31100
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
31084
31101
|
signature?: undefined;
|
|
31085
31102
|
primaryOfficeId?: undefined;
|
|
31086
31103
|
administrativeAreaId?: undefined;
|
|
@@ -31116,41 +31133,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
31116
31133
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
31117
31134
|
}>;
|
|
31118
31135
|
}>>;
|
|
31119
|
-
integrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
31120
|
-
ctx: Partial<{
|
|
31121
|
-
token: `Bearer ${string}`;
|
|
31122
|
-
user: {
|
|
31123
|
-
type: "user";
|
|
31124
|
-
id: string;
|
|
31125
|
-
role: string;
|
|
31126
|
-
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
31127
|
-
signature?: string | undefined;
|
|
31128
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
31129
|
-
} | {
|
|
31130
|
-
type: "system";
|
|
31131
|
-
id: string;
|
|
31132
|
-
signature?: undefined;
|
|
31133
|
-
primaryOfficeId?: undefined;
|
|
31134
|
-
administrativeAreaId?: undefined;
|
|
31135
|
-
};
|
|
31136
|
-
}>;
|
|
31137
|
-
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
31138
|
-
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
31139
|
-
transformer: true;
|
|
31140
|
-
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
31141
|
-
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
31142
|
-
input: {
|
|
31143
|
-
name: string;
|
|
31144
|
-
scopes: string[];
|
|
31145
|
-
};
|
|
31146
|
-
output: {
|
|
31147
|
-
clientId: string;
|
|
31148
|
-
shaSecret: string;
|
|
31149
|
-
clientSecret: string;
|
|
31150
|
-
};
|
|
31151
|
-
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
31152
|
-
}>;
|
|
31153
|
-
}>>;
|
|
31154
31136
|
}>>;
|
|
31155
31137
|
/** @knipignore */
|
|
31156
31138
|
export type AppRouter = typeof appRouter;
|