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