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