@opencrvs/toolkit 1.9.7-rc.2afc28a → 1.9.7-rc.2bfcf25
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 +231 -223
- package/dist/commons/events/ActionDocument.d.ts +47 -47
- package/dist/commons/events/Draft.d.ts +1 -1
- 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/state/index.d.ts +3 -3
- package/dist/commons/events/state/utils.d.ts +21 -21
- package/dist/commons/events/utils.d.ts +19 -19
- package/dist/events/index.js +6 -4
- package/dist/notification/index.js +6 -4
- 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;
|
|
@@ -26739,10 +26736,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26739
26736
|
createdByUserType: "user" | "system";
|
|
26740
26737
|
createdAt: string;
|
|
26741
26738
|
createdBy: string;
|
|
26742
|
-
createdByRole: string;
|
|
26743
26739
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26744
26740
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26745
26741
|
type: "CREATE";
|
|
26742
|
+
createdByRole?: string | undefined;
|
|
26746
26743
|
createdBySignature?: string | null | undefined;
|
|
26747
26744
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26748
26745
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26753,13 +26750,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26753
26750
|
createdByUserType: "user" | "system";
|
|
26754
26751
|
createdAt: string;
|
|
26755
26752
|
createdBy: string;
|
|
26756
|
-
createdByRole: string;
|
|
26757
26753
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26758
26754
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26759
26755
|
type: "REJECT";
|
|
26760
26756
|
content: {
|
|
26761
26757
|
reason: string;
|
|
26762
26758
|
};
|
|
26759
|
+
createdByRole?: string | undefined;
|
|
26763
26760
|
createdBySignature?: string | null | undefined;
|
|
26764
26761
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26765
26762
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26770,7 +26767,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26770
26767
|
createdByUserType: "user" | "system";
|
|
26771
26768
|
createdAt: string;
|
|
26772
26769
|
createdBy: string;
|
|
26773
|
-
createdByRole: string;
|
|
26774
26770
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26775
26771
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26776
26772
|
type: "DUPLICATE_DETECTED";
|
|
@@ -26780,6 +26776,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26780
26776
|
trackingId: string;
|
|
26781
26777
|
}[];
|
|
26782
26778
|
};
|
|
26779
|
+
createdByRole?: string | undefined;
|
|
26783
26780
|
createdBySignature?: string | null | undefined;
|
|
26784
26781
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26785
26782
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26790,10 +26787,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26790
26787
|
createdByUserType: "user" | "system";
|
|
26791
26788
|
createdAt: string;
|
|
26792
26789
|
createdBy: string;
|
|
26793
|
-
createdByRole: string;
|
|
26794
26790
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26795
26791
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26796
26792
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
26793
|
+
createdByRole?: string | undefined;
|
|
26797
26794
|
createdBySignature?: string | null | undefined;
|
|
26798
26795
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26799
26796
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26804,10 +26801,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26804
26801
|
createdByUserType: "user" | "system";
|
|
26805
26802
|
createdAt: string;
|
|
26806
26803
|
createdBy: string;
|
|
26807
|
-
createdByRole: string;
|
|
26808
26804
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26809
26805
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26810
26806
|
type: "MARK_AS_DUPLICATE";
|
|
26807
|
+
createdByRole?: string | undefined;
|
|
26811
26808
|
createdBySignature?: string | null | undefined;
|
|
26812
26809
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26813
26810
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26821,13 +26818,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26821
26818
|
createdByUserType: "user" | "system";
|
|
26822
26819
|
createdAt: string;
|
|
26823
26820
|
createdBy: string;
|
|
26824
|
-
createdByRole: string;
|
|
26825
26821
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26826
26822
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26827
26823
|
type: "ARCHIVE";
|
|
26828
26824
|
content: {
|
|
26829
26825
|
reason: string;
|
|
26830
26826
|
};
|
|
26827
|
+
createdByRole?: string | undefined;
|
|
26831
26828
|
createdBySignature?: string | null | undefined;
|
|
26832
26829
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26833
26830
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26838,10 +26835,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26838
26835
|
createdByUserType: "user" | "system";
|
|
26839
26836
|
createdAt: string;
|
|
26840
26837
|
createdBy: string;
|
|
26841
|
-
createdByRole: string;
|
|
26842
26838
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26843
26839
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26844
26840
|
type: "NOTIFY";
|
|
26841
|
+
createdByRole?: string | undefined;
|
|
26845
26842
|
createdBySignature?: string | null | undefined;
|
|
26846
26843
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26847
26844
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26852,10 +26849,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26852
26849
|
createdByUserType: "user" | "system";
|
|
26853
26850
|
createdAt: string;
|
|
26854
26851
|
createdBy: string;
|
|
26855
|
-
createdByRole: string;
|
|
26856
26852
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26857
26853
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26858
26854
|
type: "REGISTER";
|
|
26855
|
+
createdByRole?: string | undefined;
|
|
26859
26856
|
createdBySignature?: string | null | undefined;
|
|
26860
26857
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26861
26858
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26867,10 +26864,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26867
26864
|
createdByUserType: "user" | "system";
|
|
26868
26865
|
createdAt: string;
|
|
26869
26866
|
createdBy: string;
|
|
26870
|
-
createdByRole: string;
|
|
26871
26867
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26872
26868
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26873
26869
|
type: "DECLARE";
|
|
26870
|
+
createdByRole?: string | undefined;
|
|
26874
26871
|
createdBySignature?: string | null | undefined;
|
|
26875
26872
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26876
26873
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26881,11 +26878,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26881
26878
|
createdByUserType: "user" | "system";
|
|
26882
26879
|
createdAt: string;
|
|
26883
26880
|
createdBy: string;
|
|
26884
|
-
createdByRole: string;
|
|
26885
26881
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26886
26882
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26887
26883
|
type: "ASSIGN";
|
|
26888
26884
|
assignedTo: string;
|
|
26885
|
+
createdByRole?: string | undefined;
|
|
26889
26886
|
createdBySignature?: string | null | undefined;
|
|
26890
26887
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26891
26888
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26896,10 +26893,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26896
26893
|
createdByUserType: "user" | "system";
|
|
26897
26894
|
createdAt: string;
|
|
26898
26895
|
createdBy: string;
|
|
26899
|
-
createdByRole: string;
|
|
26900
26896
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26901
26897
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26902
26898
|
type: "REQUEST_CORRECTION";
|
|
26899
|
+
createdByRole?: string | undefined;
|
|
26903
26900
|
createdBySignature?: string | null | undefined;
|
|
26904
26901
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26905
26902
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26910,11 +26907,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26910
26907
|
createdByUserType: "user" | "system";
|
|
26911
26908
|
createdAt: string;
|
|
26912
26909
|
createdBy: string;
|
|
26913
|
-
createdByRole: string;
|
|
26914
26910
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26915
26911
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26916
26912
|
type: "APPROVE_CORRECTION";
|
|
26917
26913
|
requestId: string;
|
|
26914
|
+
createdByRole?: string | undefined;
|
|
26918
26915
|
createdBySignature?: string | null | undefined;
|
|
26919
26916
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26920
26917
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26925,7 +26922,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26925
26922
|
createdByUserType: "user" | "system";
|
|
26926
26923
|
createdAt: string;
|
|
26927
26924
|
createdBy: string;
|
|
26928
|
-
createdByRole: string;
|
|
26929
26925
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26930
26926
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26931
26927
|
type: "REJECT_CORRECTION";
|
|
@@ -26933,6 +26929,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26933
26929
|
content: {
|
|
26934
26930
|
reason: string;
|
|
26935
26931
|
};
|
|
26932
|
+
createdByRole?: string | undefined;
|
|
26936
26933
|
createdBySignature?: string | null | undefined;
|
|
26937
26934
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26938
26935
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26943,10 +26940,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26943
26940
|
createdByUserType: "user" | "system";
|
|
26944
26941
|
createdAt: string;
|
|
26945
26942
|
createdBy: string;
|
|
26946
|
-
createdByRole: string;
|
|
26947
26943
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26948
26944
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26949
26945
|
type: "UNASSIGN";
|
|
26946
|
+
createdByRole?: string | undefined;
|
|
26950
26947
|
createdBySignature?: string | null | undefined;
|
|
26951
26948
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26952
26949
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26957,10 +26954,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26957
26954
|
createdByUserType: "user" | "system";
|
|
26958
26955
|
createdAt: string;
|
|
26959
26956
|
createdBy: string;
|
|
26960
|
-
createdByRole: string;
|
|
26961
26957
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26962
26958
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26963
26959
|
type: "PRINT_CERTIFICATE";
|
|
26960
|
+
createdByRole?: string | undefined;
|
|
26964
26961
|
createdBySignature?: string | null | undefined;
|
|
26965
26962
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26966
26963
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26974,10 +26971,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26974
26971
|
createdByUserType: "user" | "system";
|
|
26975
26972
|
createdAt: string;
|
|
26976
26973
|
createdBy: string;
|
|
26977
|
-
createdByRole: string;
|
|
26978
26974
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26979
26975
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26980
26976
|
type: "READ";
|
|
26977
|
+
createdByRole?: string | undefined;
|
|
26981
26978
|
createdBySignature?: string | null | undefined;
|
|
26982
26979
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26983
26980
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -26988,13 +26985,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26988
26985
|
createdByUserType: "user" | "system";
|
|
26989
26986
|
createdAt: string;
|
|
26990
26987
|
createdBy: string;
|
|
26991
|
-
createdByRole: string;
|
|
26992
26988
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
26993
26989
|
status: "Requested" | "Accepted" | "Rejected";
|
|
26994
26990
|
type: "EDIT";
|
|
26995
26991
|
content: {
|
|
26996
26992
|
comment?: string | undefined;
|
|
26997
26993
|
};
|
|
26994
|
+
createdByRole?: string | undefined;
|
|
26998
26995
|
createdBySignature?: string | null | undefined;
|
|
26999
26996
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27000
26997
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27005,11 +27002,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27005
27002
|
createdByUserType: "user" | "system";
|
|
27006
27003
|
createdAt: string;
|
|
27007
27004
|
createdBy: string;
|
|
27008
|
-
createdByRole: string;
|
|
27009
27005
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27010
27006
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27011
27007
|
type: "CUSTOM";
|
|
27012
27008
|
customActionType: string;
|
|
27009
|
+
createdByRole?: string | undefined;
|
|
27013
27010
|
createdBySignature?: string | null | undefined;
|
|
27014
27011
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27015
27012
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27020,9 +27017,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27020
27017
|
createdByUserType: "user" | "system";
|
|
27021
27018
|
createdAt: string;
|
|
27022
27019
|
createdBy: string;
|
|
27023
|
-
createdByRole: string;
|
|
27024
27020
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
27025
27021
|
status: "Rejected";
|
|
27022
|
+
createdByRole?: string | undefined;
|
|
27026
27023
|
createdBySignature?: string | null | undefined;
|
|
27027
27024
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27028
27025
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27046,10 +27043,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27046
27043
|
createdByUserType: "user" | "system";
|
|
27047
27044
|
createdAt: string;
|
|
27048
27045
|
createdBy: string;
|
|
27049
|
-
createdByRole: string;
|
|
27050
27046
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27051
27047
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27052
27048
|
type: "CREATE";
|
|
27049
|
+
createdByRole?: string | undefined;
|
|
27053
27050
|
createdBySignature?: string | null | undefined;
|
|
27054
27051
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27055
27052
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27060,13 +27057,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27060
27057
|
createdByUserType: "user" | "system";
|
|
27061
27058
|
createdAt: string;
|
|
27062
27059
|
createdBy: string;
|
|
27063
|
-
createdByRole: string;
|
|
27064
27060
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27065
27061
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27066
27062
|
type: "REJECT";
|
|
27067
27063
|
content: {
|
|
27068
27064
|
reason: string;
|
|
27069
27065
|
};
|
|
27066
|
+
createdByRole?: string | undefined;
|
|
27070
27067
|
createdBySignature?: string | null | undefined;
|
|
27071
27068
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27072
27069
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27077,7 +27074,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27077
27074
|
createdByUserType: "user" | "system";
|
|
27078
27075
|
createdAt: string;
|
|
27079
27076
|
createdBy: string;
|
|
27080
|
-
createdByRole: string;
|
|
27081
27077
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27082
27078
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27083
27079
|
type: "DUPLICATE_DETECTED";
|
|
@@ -27087,6 +27083,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27087
27083
|
trackingId: string;
|
|
27088
27084
|
}[];
|
|
27089
27085
|
};
|
|
27086
|
+
createdByRole?: string | undefined;
|
|
27090
27087
|
createdBySignature?: string | null | undefined;
|
|
27091
27088
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27092
27089
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27097,10 +27094,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27097
27094
|
createdByUserType: "user" | "system";
|
|
27098
27095
|
createdAt: string;
|
|
27099
27096
|
createdBy: string;
|
|
27100
|
-
createdByRole: string;
|
|
27101
27097
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27102
27098
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27103
27099
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
27100
|
+
createdByRole?: string | undefined;
|
|
27104
27101
|
createdBySignature?: string | null | undefined;
|
|
27105
27102
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27106
27103
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27111,10 +27108,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27111
27108
|
createdByUserType: "user" | "system";
|
|
27112
27109
|
createdAt: string;
|
|
27113
27110
|
createdBy: string;
|
|
27114
|
-
createdByRole: string;
|
|
27115
27111
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27116
27112
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27117
27113
|
type: "MARK_AS_DUPLICATE";
|
|
27114
|
+
createdByRole?: string | undefined;
|
|
27118
27115
|
createdBySignature?: string | null | undefined;
|
|
27119
27116
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27120
27117
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27128,13 +27125,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27128
27125
|
createdByUserType: "user" | "system";
|
|
27129
27126
|
createdAt: string;
|
|
27130
27127
|
createdBy: string;
|
|
27131
|
-
createdByRole: string;
|
|
27132
27128
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27133
27129
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27134
27130
|
type: "ARCHIVE";
|
|
27135
27131
|
content: {
|
|
27136
27132
|
reason: string;
|
|
27137
27133
|
};
|
|
27134
|
+
createdByRole?: string | undefined;
|
|
27138
27135
|
createdBySignature?: string | null | undefined;
|
|
27139
27136
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27140
27137
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27145,10 +27142,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27145
27142
|
createdByUserType: "user" | "system";
|
|
27146
27143
|
createdAt: string;
|
|
27147
27144
|
createdBy: string;
|
|
27148
|
-
createdByRole: string;
|
|
27149
27145
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27150
27146
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27151
27147
|
type: "NOTIFY";
|
|
27148
|
+
createdByRole?: string | undefined;
|
|
27152
27149
|
createdBySignature?: string | null | undefined;
|
|
27153
27150
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27154
27151
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27159,10 +27156,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27159
27156
|
createdByUserType: "user" | "system";
|
|
27160
27157
|
createdAt: string;
|
|
27161
27158
|
createdBy: string;
|
|
27162
|
-
createdByRole: string;
|
|
27163
27159
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27164
27160
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27165
27161
|
type: "REGISTER";
|
|
27162
|
+
createdByRole?: string | undefined;
|
|
27166
27163
|
createdBySignature?: string | null | undefined;
|
|
27167
27164
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27168
27165
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27174,10 +27171,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27174
27171
|
createdByUserType: "user" | "system";
|
|
27175
27172
|
createdAt: string;
|
|
27176
27173
|
createdBy: string;
|
|
27177
|
-
createdByRole: string;
|
|
27178
27174
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27179
27175
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27180
27176
|
type: "DECLARE";
|
|
27177
|
+
createdByRole?: string | undefined;
|
|
27181
27178
|
createdBySignature?: string | null | undefined;
|
|
27182
27179
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27183
27180
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27188,11 +27185,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27188
27185
|
createdByUserType: "user" | "system";
|
|
27189
27186
|
createdAt: string;
|
|
27190
27187
|
createdBy: string;
|
|
27191
|
-
createdByRole: string;
|
|
27192
27188
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27193
27189
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27194
27190
|
type: "ASSIGN";
|
|
27195
27191
|
assignedTo: string;
|
|
27192
|
+
createdByRole?: string | undefined;
|
|
27196
27193
|
createdBySignature?: string | null | undefined;
|
|
27197
27194
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27198
27195
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27203,10 +27200,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27203
27200
|
createdByUserType: "user" | "system";
|
|
27204
27201
|
createdAt: string;
|
|
27205
27202
|
createdBy: string;
|
|
27206
|
-
createdByRole: string;
|
|
27207
27203
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27208
27204
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27209
27205
|
type: "REQUEST_CORRECTION";
|
|
27206
|
+
createdByRole?: string | undefined;
|
|
27210
27207
|
createdBySignature?: string | null | undefined;
|
|
27211
27208
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27212
27209
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27217,11 +27214,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27217
27214
|
createdByUserType: "user" | "system";
|
|
27218
27215
|
createdAt: string;
|
|
27219
27216
|
createdBy: string;
|
|
27220
|
-
createdByRole: string;
|
|
27221
27217
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27222
27218
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27223
27219
|
type: "APPROVE_CORRECTION";
|
|
27224
27220
|
requestId: string;
|
|
27221
|
+
createdByRole?: string | undefined;
|
|
27225
27222
|
createdBySignature?: string | null | undefined;
|
|
27226
27223
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27227
27224
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27232,7 +27229,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27232
27229
|
createdByUserType: "user" | "system";
|
|
27233
27230
|
createdAt: string;
|
|
27234
27231
|
createdBy: string;
|
|
27235
|
-
createdByRole: string;
|
|
27236
27232
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27237
27233
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27238
27234
|
type: "REJECT_CORRECTION";
|
|
@@ -27240,6 +27236,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27240
27236
|
content: {
|
|
27241
27237
|
reason: string;
|
|
27242
27238
|
};
|
|
27239
|
+
createdByRole?: string | undefined;
|
|
27243
27240
|
createdBySignature?: string | null | undefined;
|
|
27244
27241
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27245
27242
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27250,10 +27247,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27250
27247
|
createdByUserType: "user" | "system";
|
|
27251
27248
|
createdAt: string;
|
|
27252
27249
|
createdBy: string;
|
|
27253
|
-
createdByRole: string;
|
|
27254
27250
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27255
27251
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27256
27252
|
type: "UNASSIGN";
|
|
27253
|
+
createdByRole?: string | undefined;
|
|
27257
27254
|
createdBySignature?: string | null | undefined;
|
|
27258
27255
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27259
27256
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27264,10 +27261,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27264
27261
|
createdByUserType: "user" | "system";
|
|
27265
27262
|
createdAt: string;
|
|
27266
27263
|
createdBy: string;
|
|
27267
|
-
createdByRole: string;
|
|
27268
27264
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27269
27265
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27270
27266
|
type: "PRINT_CERTIFICATE";
|
|
27267
|
+
createdByRole?: string | undefined;
|
|
27271
27268
|
createdBySignature?: string | null | undefined;
|
|
27272
27269
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27273
27270
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27281,10 +27278,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27281
27278
|
createdByUserType: "user" | "system";
|
|
27282
27279
|
createdAt: string;
|
|
27283
27280
|
createdBy: string;
|
|
27284
|
-
createdByRole: string;
|
|
27285
27281
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27286
27282
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27287
27283
|
type: "READ";
|
|
27284
|
+
createdByRole?: string | undefined;
|
|
27288
27285
|
createdBySignature?: string | null | undefined;
|
|
27289
27286
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27290
27287
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27295,13 +27292,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27295
27292
|
createdByUserType: "user" | "system";
|
|
27296
27293
|
createdAt: string;
|
|
27297
27294
|
createdBy: string;
|
|
27298
|
-
createdByRole: string;
|
|
27299
27295
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27300
27296
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27301
27297
|
type: "EDIT";
|
|
27302
27298
|
content: {
|
|
27303
27299
|
comment?: string | undefined;
|
|
27304
27300
|
};
|
|
27301
|
+
createdByRole?: string | undefined;
|
|
27305
27302
|
createdBySignature?: string | null | undefined;
|
|
27306
27303
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27307
27304
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27312,11 +27309,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27312
27309
|
createdByUserType: "user" | "system";
|
|
27313
27310
|
createdAt: string;
|
|
27314
27311
|
createdBy: string;
|
|
27315
|
-
createdByRole: string;
|
|
27316
27312
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27317
27313
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27318
27314
|
type: "CUSTOM";
|
|
27319
27315
|
customActionType: string;
|
|
27316
|
+
createdByRole?: string | undefined;
|
|
27320
27317
|
createdBySignature?: string | null | undefined;
|
|
27321
27318
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27322
27319
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27327,9 +27324,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27327
27324
|
createdByUserType: "user" | "system";
|
|
27328
27325
|
createdAt: string;
|
|
27329
27326
|
createdBy: string;
|
|
27330
|
-
createdByRole: string;
|
|
27331
27327
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
27332
27328
|
status: "Rejected";
|
|
27329
|
+
createdByRole?: string | undefined;
|
|
27333
27330
|
createdBySignature?: string | null | undefined;
|
|
27334
27331
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27335
27332
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27353,10 +27350,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27353
27350
|
createdByUserType: "user" | "system";
|
|
27354
27351
|
createdAt: string;
|
|
27355
27352
|
createdBy: string;
|
|
27356
|
-
createdByRole: string;
|
|
27357
27353
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27358
27354
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27359
27355
|
type: "CREATE";
|
|
27356
|
+
createdByRole?: string | undefined;
|
|
27360
27357
|
createdBySignature?: string | null | undefined;
|
|
27361
27358
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27362
27359
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27367,13 +27364,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27367
27364
|
createdByUserType: "user" | "system";
|
|
27368
27365
|
createdAt: string;
|
|
27369
27366
|
createdBy: string;
|
|
27370
|
-
createdByRole: string;
|
|
27371
27367
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27372
27368
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27373
27369
|
type: "REJECT";
|
|
27374
27370
|
content: {
|
|
27375
27371
|
reason: string;
|
|
27376
27372
|
};
|
|
27373
|
+
createdByRole?: string | undefined;
|
|
27377
27374
|
createdBySignature?: string | null | undefined;
|
|
27378
27375
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27379
27376
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27384,7 +27381,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27384
27381
|
createdByUserType: "user" | "system";
|
|
27385
27382
|
createdAt: string;
|
|
27386
27383
|
createdBy: string;
|
|
27387
|
-
createdByRole: string;
|
|
27388
27384
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27389
27385
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27390
27386
|
type: "DUPLICATE_DETECTED";
|
|
@@ -27394,6 +27390,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27394
27390
|
trackingId: string;
|
|
27395
27391
|
}[];
|
|
27396
27392
|
};
|
|
27393
|
+
createdByRole?: string | undefined;
|
|
27397
27394
|
createdBySignature?: string | null | undefined;
|
|
27398
27395
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27399
27396
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27404,10 +27401,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27404
27401
|
createdByUserType: "user" | "system";
|
|
27405
27402
|
createdAt: string;
|
|
27406
27403
|
createdBy: string;
|
|
27407
|
-
createdByRole: string;
|
|
27408
27404
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27409
27405
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27410
27406
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
27407
|
+
createdByRole?: string | undefined;
|
|
27411
27408
|
createdBySignature?: string | null | undefined;
|
|
27412
27409
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27413
27410
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27418,10 +27415,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27418
27415
|
createdByUserType: "user" | "system";
|
|
27419
27416
|
createdAt: string;
|
|
27420
27417
|
createdBy: string;
|
|
27421
|
-
createdByRole: string;
|
|
27422
27418
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27423
27419
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27424
27420
|
type: "MARK_AS_DUPLICATE";
|
|
27421
|
+
createdByRole?: string | undefined;
|
|
27425
27422
|
createdBySignature?: string | null | undefined;
|
|
27426
27423
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27427
27424
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27435,13 +27432,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27435
27432
|
createdByUserType: "user" | "system";
|
|
27436
27433
|
createdAt: string;
|
|
27437
27434
|
createdBy: string;
|
|
27438
|
-
createdByRole: string;
|
|
27439
27435
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27440
27436
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27441
27437
|
type: "ARCHIVE";
|
|
27442
27438
|
content: {
|
|
27443
27439
|
reason: string;
|
|
27444
27440
|
};
|
|
27441
|
+
createdByRole?: string | undefined;
|
|
27445
27442
|
createdBySignature?: string | null | undefined;
|
|
27446
27443
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27447
27444
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27452,10 +27449,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27452
27449
|
createdByUserType: "user" | "system";
|
|
27453
27450
|
createdAt: string;
|
|
27454
27451
|
createdBy: string;
|
|
27455
|
-
createdByRole: string;
|
|
27456
27452
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27457
27453
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27458
27454
|
type: "NOTIFY";
|
|
27455
|
+
createdByRole?: string | undefined;
|
|
27459
27456
|
createdBySignature?: string | null | undefined;
|
|
27460
27457
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27461
27458
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27466,10 +27463,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27466
27463
|
createdByUserType: "user" | "system";
|
|
27467
27464
|
createdAt: string;
|
|
27468
27465
|
createdBy: string;
|
|
27469
|
-
createdByRole: string;
|
|
27470
27466
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27471
27467
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27472
27468
|
type: "REGISTER";
|
|
27469
|
+
createdByRole?: string | undefined;
|
|
27473
27470
|
createdBySignature?: string | null | undefined;
|
|
27474
27471
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27475
27472
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27481,10 +27478,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27481
27478
|
createdByUserType: "user" | "system";
|
|
27482
27479
|
createdAt: string;
|
|
27483
27480
|
createdBy: string;
|
|
27484
|
-
createdByRole: string;
|
|
27485
27481
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27486
27482
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27487
27483
|
type: "DECLARE";
|
|
27484
|
+
createdByRole?: string | undefined;
|
|
27488
27485
|
createdBySignature?: string | null | undefined;
|
|
27489
27486
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27490
27487
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27495,11 +27492,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27495
27492
|
createdByUserType: "user" | "system";
|
|
27496
27493
|
createdAt: string;
|
|
27497
27494
|
createdBy: string;
|
|
27498
|
-
createdByRole: string;
|
|
27499
27495
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27500
27496
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27501
27497
|
type: "ASSIGN";
|
|
27502
27498
|
assignedTo: string;
|
|
27499
|
+
createdByRole?: string | undefined;
|
|
27503
27500
|
createdBySignature?: string | null | undefined;
|
|
27504
27501
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27505
27502
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27510,10 +27507,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27510
27507
|
createdByUserType: "user" | "system";
|
|
27511
27508
|
createdAt: string;
|
|
27512
27509
|
createdBy: string;
|
|
27513
|
-
createdByRole: string;
|
|
27514
27510
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27515
27511
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27516
27512
|
type: "REQUEST_CORRECTION";
|
|
27513
|
+
createdByRole?: string | undefined;
|
|
27517
27514
|
createdBySignature?: string | null | undefined;
|
|
27518
27515
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27519
27516
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27524,11 +27521,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27524
27521
|
createdByUserType: "user" | "system";
|
|
27525
27522
|
createdAt: string;
|
|
27526
27523
|
createdBy: string;
|
|
27527
|
-
createdByRole: string;
|
|
27528
27524
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27529
27525
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27530
27526
|
type: "APPROVE_CORRECTION";
|
|
27531
27527
|
requestId: string;
|
|
27528
|
+
createdByRole?: string | undefined;
|
|
27532
27529
|
createdBySignature?: string | null | undefined;
|
|
27533
27530
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27534
27531
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27539,7 +27536,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27539
27536
|
createdByUserType: "user" | "system";
|
|
27540
27537
|
createdAt: string;
|
|
27541
27538
|
createdBy: string;
|
|
27542
|
-
createdByRole: string;
|
|
27543
27539
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27544
27540
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27545
27541
|
type: "REJECT_CORRECTION";
|
|
@@ -27547,6 +27543,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27547
27543
|
content: {
|
|
27548
27544
|
reason: string;
|
|
27549
27545
|
};
|
|
27546
|
+
createdByRole?: string | undefined;
|
|
27550
27547
|
createdBySignature?: string | null | undefined;
|
|
27551
27548
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27552
27549
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27557,10 +27554,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27557
27554
|
createdByUserType: "user" | "system";
|
|
27558
27555
|
createdAt: string;
|
|
27559
27556
|
createdBy: string;
|
|
27560
|
-
createdByRole: string;
|
|
27561
27557
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27562
27558
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27563
27559
|
type: "UNASSIGN";
|
|
27560
|
+
createdByRole?: string | undefined;
|
|
27564
27561
|
createdBySignature?: string | null | undefined;
|
|
27565
27562
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27566
27563
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27571,10 +27568,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27571
27568
|
createdByUserType: "user" | "system";
|
|
27572
27569
|
createdAt: string;
|
|
27573
27570
|
createdBy: string;
|
|
27574
|
-
createdByRole: string;
|
|
27575
27571
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27576
27572
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27577
27573
|
type: "PRINT_CERTIFICATE";
|
|
27574
|
+
createdByRole?: string | undefined;
|
|
27578
27575
|
createdBySignature?: string | null | undefined;
|
|
27579
27576
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27580
27577
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27588,10 +27585,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27588
27585
|
createdByUserType: "user" | "system";
|
|
27589
27586
|
createdAt: string;
|
|
27590
27587
|
createdBy: string;
|
|
27591
|
-
createdByRole: string;
|
|
27592
27588
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27593
27589
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27594
27590
|
type: "READ";
|
|
27591
|
+
createdByRole?: string | undefined;
|
|
27595
27592
|
createdBySignature?: string | null | undefined;
|
|
27596
27593
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27597
27594
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27602,13 +27599,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27602
27599
|
createdByUserType: "user" | "system";
|
|
27603
27600
|
createdAt: string;
|
|
27604
27601
|
createdBy: string;
|
|
27605
|
-
createdByRole: string;
|
|
27606
27602
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27607
27603
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27608
27604
|
type: "EDIT";
|
|
27609
27605
|
content: {
|
|
27610
27606
|
comment?: string | undefined;
|
|
27611
27607
|
};
|
|
27608
|
+
createdByRole?: string | undefined;
|
|
27612
27609
|
createdBySignature?: string | null | undefined;
|
|
27613
27610
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27614
27611
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27619,11 +27616,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27619
27616
|
createdByUserType: "user" | "system";
|
|
27620
27617
|
createdAt: string;
|
|
27621
27618
|
createdBy: string;
|
|
27622
|
-
createdByRole: string;
|
|
27623
27619
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27624
27620
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27625
27621
|
type: "CUSTOM";
|
|
27626
27622
|
customActionType: string;
|
|
27623
|
+
createdByRole?: string | undefined;
|
|
27627
27624
|
createdBySignature?: string | null | undefined;
|
|
27628
27625
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27629
27626
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27634,9 +27631,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27634
27631
|
createdByUserType: "user" | "system";
|
|
27635
27632
|
createdAt: string;
|
|
27636
27633
|
createdBy: string;
|
|
27637
|
-
createdByRole: string;
|
|
27638
27634
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
27639
27635
|
status: "Rejected";
|
|
27636
|
+
createdByRole?: string | undefined;
|
|
27640
27637
|
createdBySignature?: string | null | undefined;
|
|
27641
27638
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27642
27639
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27667,7 +27664,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27667
27664
|
} | {
|
|
27668
27665
|
type: "system";
|
|
27669
27666
|
id: string;
|
|
27670
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
27671
27667
|
signature?: undefined;
|
|
27672
27668
|
primaryOfficeId?: undefined;
|
|
27673
27669
|
administrativeAreaId?: undefined;
|
|
@@ -27691,8 +27687,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27691
27687
|
createdByUserType: "user" | "system";
|
|
27692
27688
|
createdAt: string;
|
|
27693
27689
|
createdBy: string;
|
|
27694
|
-
createdByRole: string;
|
|
27695
27690
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27691
|
+
createdByRole?: string | undefined;
|
|
27696
27692
|
createdBySignature?: string | null | undefined;
|
|
27697
27693
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
27698
27694
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27724,8 +27720,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27724
27720
|
createdByUserType: "user" | "system";
|
|
27725
27721
|
createdAt: string;
|
|
27726
27722
|
createdBy: string;
|
|
27727
|
-
createdByRole: string;
|
|
27728
27723
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27724
|
+
createdByRole?: string | undefined;
|
|
27729
27725
|
createdBySignature?: string | null | undefined;
|
|
27730
27726
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
27731
27727
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27747,7 +27743,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27747
27743
|
} | {
|
|
27748
27744
|
type: "system";
|
|
27749
27745
|
id: string;
|
|
27750
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
27751
27746
|
signature?: undefined;
|
|
27752
27747
|
primaryOfficeId?: undefined;
|
|
27753
27748
|
administrativeAreaId?: undefined;
|
|
@@ -27770,7 +27765,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27770
27765
|
} | {
|
|
27771
27766
|
type: "system";
|
|
27772
27767
|
id: string;
|
|
27773
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
27774
27768
|
signature?: undefined;
|
|
27775
27769
|
primaryOfficeId?: undefined;
|
|
27776
27770
|
administrativeAreaId?: undefined;
|
|
@@ -27815,7 +27809,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27815
27809
|
} | {
|
|
27816
27810
|
type: "system";
|
|
27817
27811
|
id: string;
|
|
27818
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
27819
27812
|
signature?: undefined;
|
|
27820
27813
|
primaryOfficeId?: undefined;
|
|
27821
27814
|
administrativeAreaId?: undefined;
|
|
@@ -27847,10 +27840,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27847
27840
|
createdByUserType: "user" | "system";
|
|
27848
27841
|
createdAt: string;
|
|
27849
27842
|
createdBy: string;
|
|
27850
|
-
createdByRole: string;
|
|
27851
27843
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27852
27844
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27853
27845
|
type: "CREATE";
|
|
27846
|
+
createdByRole?: string | undefined;
|
|
27854
27847
|
createdBySignature?: string | null | undefined;
|
|
27855
27848
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27856
27849
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27861,13 +27854,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27861
27854
|
createdByUserType: "user" | "system";
|
|
27862
27855
|
createdAt: string;
|
|
27863
27856
|
createdBy: string;
|
|
27864
|
-
createdByRole: string;
|
|
27865
27857
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27866
27858
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27867
27859
|
type: "REJECT";
|
|
27868
27860
|
content: {
|
|
27869
27861
|
reason: string;
|
|
27870
27862
|
};
|
|
27863
|
+
createdByRole?: string | undefined;
|
|
27871
27864
|
createdBySignature?: string | null | undefined;
|
|
27872
27865
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27873
27866
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27878,7 +27871,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27878
27871
|
createdByUserType: "user" | "system";
|
|
27879
27872
|
createdAt: string;
|
|
27880
27873
|
createdBy: string;
|
|
27881
|
-
createdByRole: string;
|
|
27882
27874
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27883
27875
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27884
27876
|
type: "DUPLICATE_DETECTED";
|
|
@@ -27888,6 +27880,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27888
27880
|
trackingId: string;
|
|
27889
27881
|
}[];
|
|
27890
27882
|
};
|
|
27883
|
+
createdByRole?: string | undefined;
|
|
27891
27884
|
createdBySignature?: string | null | undefined;
|
|
27892
27885
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27893
27886
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27898,10 +27891,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27898
27891
|
createdByUserType: "user" | "system";
|
|
27899
27892
|
createdAt: string;
|
|
27900
27893
|
createdBy: string;
|
|
27901
|
-
createdByRole: string;
|
|
27902
27894
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27903
27895
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27904
27896
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
27897
|
+
createdByRole?: string | undefined;
|
|
27905
27898
|
createdBySignature?: string | null | undefined;
|
|
27906
27899
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27907
27900
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27912,10 +27905,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27912
27905
|
createdByUserType: "user" | "system";
|
|
27913
27906
|
createdAt: string;
|
|
27914
27907
|
createdBy: string;
|
|
27915
|
-
createdByRole: string;
|
|
27916
27908
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27917
27909
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27918
27910
|
type: "MARK_AS_DUPLICATE";
|
|
27911
|
+
createdByRole?: string | undefined;
|
|
27919
27912
|
createdBySignature?: string | null | undefined;
|
|
27920
27913
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27921
27914
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27929,13 +27922,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27929
27922
|
createdByUserType: "user" | "system";
|
|
27930
27923
|
createdAt: string;
|
|
27931
27924
|
createdBy: string;
|
|
27932
|
-
createdByRole: string;
|
|
27933
27925
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27934
27926
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27935
27927
|
type: "ARCHIVE";
|
|
27936
27928
|
content: {
|
|
27937
27929
|
reason: string;
|
|
27938
27930
|
};
|
|
27931
|
+
createdByRole?: string | undefined;
|
|
27939
27932
|
createdBySignature?: string | null | undefined;
|
|
27940
27933
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27941
27934
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27946,10 +27939,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27946
27939
|
createdByUserType: "user" | "system";
|
|
27947
27940
|
createdAt: string;
|
|
27948
27941
|
createdBy: string;
|
|
27949
|
-
createdByRole: string;
|
|
27950
27942
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27951
27943
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27952
27944
|
type: "NOTIFY";
|
|
27945
|
+
createdByRole?: string | undefined;
|
|
27953
27946
|
createdBySignature?: string | null | undefined;
|
|
27954
27947
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27955
27948
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27960,10 +27953,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27960
27953
|
createdByUserType: "user" | "system";
|
|
27961
27954
|
createdAt: string;
|
|
27962
27955
|
createdBy: string;
|
|
27963
|
-
createdByRole: string;
|
|
27964
27956
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27965
27957
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27966
27958
|
type: "REGISTER";
|
|
27959
|
+
createdByRole?: string | undefined;
|
|
27967
27960
|
createdBySignature?: string | null | undefined;
|
|
27968
27961
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27969
27962
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27975,10 +27968,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27975
27968
|
createdByUserType: "user" | "system";
|
|
27976
27969
|
createdAt: string;
|
|
27977
27970
|
createdBy: string;
|
|
27978
|
-
createdByRole: string;
|
|
27979
27971
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27980
27972
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27981
27973
|
type: "DECLARE";
|
|
27974
|
+
createdByRole?: string | undefined;
|
|
27982
27975
|
createdBySignature?: string | null | undefined;
|
|
27983
27976
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27984
27977
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -27989,11 +27982,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27989
27982
|
createdByUserType: "user" | "system";
|
|
27990
27983
|
createdAt: string;
|
|
27991
27984
|
createdBy: string;
|
|
27992
|
-
createdByRole: string;
|
|
27993
27985
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
27994
27986
|
status: "Requested" | "Accepted" | "Rejected";
|
|
27995
27987
|
type: "ASSIGN";
|
|
27996
27988
|
assignedTo: string;
|
|
27989
|
+
createdByRole?: string | undefined;
|
|
27997
27990
|
createdBySignature?: string | null | undefined;
|
|
27998
27991
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27999
27992
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28004,10 +27997,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28004
27997
|
createdByUserType: "user" | "system";
|
|
28005
27998
|
createdAt: string;
|
|
28006
27999
|
createdBy: string;
|
|
28007
|
-
createdByRole: string;
|
|
28008
28000
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28009
28001
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28010
28002
|
type: "REQUEST_CORRECTION";
|
|
28003
|
+
createdByRole?: string | undefined;
|
|
28011
28004
|
createdBySignature?: string | null | undefined;
|
|
28012
28005
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28013
28006
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28018,11 +28011,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28018
28011
|
createdByUserType: "user" | "system";
|
|
28019
28012
|
createdAt: string;
|
|
28020
28013
|
createdBy: string;
|
|
28021
|
-
createdByRole: string;
|
|
28022
28014
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28023
28015
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28024
28016
|
type: "APPROVE_CORRECTION";
|
|
28025
28017
|
requestId: string;
|
|
28018
|
+
createdByRole?: string | undefined;
|
|
28026
28019
|
createdBySignature?: string | null | undefined;
|
|
28027
28020
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28028
28021
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28033,7 +28026,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28033
28026
|
createdByUserType: "user" | "system";
|
|
28034
28027
|
createdAt: string;
|
|
28035
28028
|
createdBy: string;
|
|
28036
|
-
createdByRole: string;
|
|
28037
28029
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28038
28030
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28039
28031
|
type: "REJECT_CORRECTION";
|
|
@@ -28041,6 +28033,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28041
28033
|
content: {
|
|
28042
28034
|
reason: string;
|
|
28043
28035
|
};
|
|
28036
|
+
createdByRole?: string | undefined;
|
|
28044
28037
|
createdBySignature?: string | null | undefined;
|
|
28045
28038
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28046
28039
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28051,10 +28044,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28051
28044
|
createdByUserType: "user" | "system";
|
|
28052
28045
|
createdAt: string;
|
|
28053
28046
|
createdBy: string;
|
|
28054
|
-
createdByRole: string;
|
|
28055
28047
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28056
28048
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28057
28049
|
type: "UNASSIGN";
|
|
28050
|
+
createdByRole?: string | undefined;
|
|
28058
28051
|
createdBySignature?: string | null | undefined;
|
|
28059
28052
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28060
28053
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28065,10 +28058,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28065
28058
|
createdByUserType: "user" | "system";
|
|
28066
28059
|
createdAt: string;
|
|
28067
28060
|
createdBy: string;
|
|
28068
|
-
createdByRole: string;
|
|
28069
28061
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28070
28062
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28071
28063
|
type: "PRINT_CERTIFICATE";
|
|
28064
|
+
createdByRole?: string | undefined;
|
|
28072
28065
|
createdBySignature?: string | null | undefined;
|
|
28073
28066
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28074
28067
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28082,10 +28075,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28082
28075
|
createdByUserType: "user" | "system";
|
|
28083
28076
|
createdAt: string;
|
|
28084
28077
|
createdBy: string;
|
|
28085
|
-
createdByRole: string;
|
|
28086
28078
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28087
28079
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28088
28080
|
type: "READ";
|
|
28081
|
+
createdByRole?: string | undefined;
|
|
28089
28082
|
createdBySignature?: string | null | undefined;
|
|
28090
28083
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28091
28084
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28096,13 +28089,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28096
28089
|
createdByUserType: "user" | "system";
|
|
28097
28090
|
createdAt: string;
|
|
28098
28091
|
createdBy: string;
|
|
28099
|
-
createdByRole: string;
|
|
28100
28092
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28101
28093
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28102
28094
|
type: "EDIT";
|
|
28103
28095
|
content: {
|
|
28104
28096
|
comment?: string | undefined;
|
|
28105
28097
|
};
|
|
28098
|
+
createdByRole?: string | undefined;
|
|
28106
28099
|
createdBySignature?: string | null | undefined;
|
|
28107
28100
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28108
28101
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28113,11 +28106,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28113
28106
|
createdByUserType: "user" | "system";
|
|
28114
28107
|
createdAt: string;
|
|
28115
28108
|
createdBy: string;
|
|
28116
|
-
createdByRole: string;
|
|
28117
28109
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28118
28110
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28119
28111
|
type: "CUSTOM";
|
|
28120
28112
|
customActionType: string;
|
|
28113
|
+
createdByRole?: string | undefined;
|
|
28121
28114
|
createdBySignature?: string | null | undefined;
|
|
28122
28115
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28123
28116
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28128,9 +28121,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28128
28121
|
createdByUserType: "user" | "system";
|
|
28129
28122
|
createdAt: string;
|
|
28130
28123
|
createdBy: string;
|
|
28131
|
-
createdByRole: string;
|
|
28132
28124
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
28133
28125
|
status: "Rejected";
|
|
28126
|
+
createdByRole?: string | undefined;
|
|
28134
28127
|
createdBySignature?: string | null | undefined;
|
|
28135
28128
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28136
28129
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -28169,7 +28162,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28169
28162
|
} | {
|
|
28170
28163
|
type: "system";
|
|
28171
28164
|
id: string;
|
|
28172
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
28173
28165
|
signature?: undefined;
|
|
28174
28166
|
primaryOfficeId?: undefined;
|
|
28175
28167
|
administrativeAreaId?: undefined;
|
|
@@ -28214,7 +28206,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28214
28206
|
} | {
|
|
28215
28207
|
type: "system";
|
|
28216
28208
|
id: string;
|
|
28217
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
28218
28209
|
signature?: undefined;
|
|
28219
28210
|
primaryOfficeId?: undefined;
|
|
28220
28211
|
administrativeAreaId?: undefined;
|
|
@@ -28259,7 +28250,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28259
28250
|
} | {
|
|
28260
28251
|
type: "system";
|
|
28261
28252
|
id: string;
|
|
28262
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
28263
28253
|
signature?: undefined;
|
|
28264
28254
|
primaryOfficeId?: undefined;
|
|
28265
28255
|
administrativeAreaId?: undefined;
|
|
@@ -28304,7 +28294,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28304
28294
|
} | {
|
|
28305
28295
|
type: "system";
|
|
28306
28296
|
id: string;
|
|
28307
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
28308
28297
|
signature?: undefined;
|
|
28309
28298
|
primaryOfficeId?: undefined;
|
|
28310
28299
|
administrativeAreaId?: undefined;
|
|
@@ -28349,7 +28338,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28349
28338
|
} | {
|
|
28350
28339
|
type: "system";
|
|
28351
28340
|
id: string;
|
|
28352
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
28353
28341
|
signature?: undefined;
|
|
28354
28342
|
primaryOfficeId?: undefined;
|
|
28355
28343
|
administrativeAreaId?: undefined;
|
|
@@ -28394,7 +28382,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28394
28382
|
} | {
|
|
28395
28383
|
type: "system";
|
|
28396
28384
|
id: string;
|
|
28397
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
28398
28385
|
signature?: undefined;
|
|
28399
28386
|
primaryOfficeId?: undefined;
|
|
28400
28387
|
administrativeAreaId?: undefined;
|
|
@@ -28427,10 +28414,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28427
28414
|
createdByUserType: "user" | "system";
|
|
28428
28415
|
createdAt: string;
|
|
28429
28416
|
createdBy: string;
|
|
28430
|
-
createdByRole: string;
|
|
28431
28417
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28432
28418
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28433
28419
|
type: "CREATE";
|
|
28420
|
+
createdByRole?: string | undefined;
|
|
28434
28421
|
createdBySignature?: string | null | undefined;
|
|
28435
28422
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28436
28423
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28441,13 +28428,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28441
28428
|
createdByUserType: "user" | "system";
|
|
28442
28429
|
createdAt: string;
|
|
28443
28430
|
createdBy: string;
|
|
28444
|
-
createdByRole: string;
|
|
28445
28431
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28446
28432
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28447
28433
|
type: "REJECT";
|
|
28448
28434
|
content: {
|
|
28449
28435
|
reason: string;
|
|
28450
28436
|
};
|
|
28437
|
+
createdByRole?: string | undefined;
|
|
28451
28438
|
createdBySignature?: string | null | undefined;
|
|
28452
28439
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28453
28440
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28458,7 +28445,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28458
28445
|
createdByUserType: "user" | "system";
|
|
28459
28446
|
createdAt: string;
|
|
28460
28447
|
createdBy: string;
|
|
28461
|
-
createdByRole: string;
|
|
28462
28448
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28463
28449
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28464
28450
|
type: "DUPLICATE_DETECTED";
|
|
@@ -28468,6 +28454,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28468
28454
|
trackingId: string;
|
|
28469
28455
|
}[];
|
|
28470
28456
|
};
|
|
28457
|
+
createdByRole?: string | undefined;
|
|
28471
28458
|
createdBySignature?: string | null | undefined;
|
|
28472
28459
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28473
28460
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28478,10 +28465,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28478
28465
|
createdByUserType: "user" | "system";
|
|
28479
28466
|
createdAt: string;
|
|
28480
28467
|
createdBy: string;
|
|
28481
|
-
createdByRole: string;
|
|
28482
28468
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28483
28469
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28484
28470
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
28471
|
+
createdByRole?: string | undefined;
|
|
28485
28472
|
createdBySignature?: string | null | undefined;
|
|
28486
28473
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28487
28474
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28492,10 +28479,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28492
28479
|
createdByUserType: "user" | "system";
|
|
28493
28480
|
createdAt: string;
|
|
28494
28481
|
createdBy: string;
|
|
28495
|
-
createdByRole: string;
|
|
28496
28482
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28497
28483
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28498
28484
|
type: "MARK_AS_DUPLICATE";
|
|
28485
|
+
createdByRole?: string | undefined;
|
|
28499
28486
|
createdBySignature?: string | null | undefined;
|
|
28500
28487
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28501
28488
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28509,13 +28496,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28509
28496
|
createdByUserType: "user" | "system";
|
|
28510
28497
|
createdAt: string;
|
|
28511
28498
|
createdBy: string;
|
|
28512
|
-
createdByRole: string;
|
|
28513
28499
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28514
28500
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28515
28501
|
type: "ARCHIVE";
|
|
28516
28502
|
content: {
|
|
28517
28503
|
reason: string;
|
|
28518
28504
|
};
|
|
28505
|
+
createdByRole?: string | undefined;
|
|
28519
28506
|
createdBySignature?: string | null | undefined;
|
|
28520
28507
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28521
28508
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28526,10 +28513,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28526
28513
|
createdByUserType: "user" | "system";
|
|
28527
28514
|
createdAt: string;
|
|
28528
28515
|
createdBy: string;
|
|
28529
|
-
createdByRole: string;
|
|
28530
28516
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28531
28517
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28532
28518
|
type: "NOTIFY";
|
|
28519
|
+
createdByRole?: string | undefined;
|
|
28533
28520
|
createdBySignature?: string | null | undefined;
|
|
28534
28521
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28535
28522
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28540,10 +28527,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28540
28527
|
createdByUserType: "user" | "system";
|
|
28541
28528
|
createdAt: string;
|
|
28542
28529
|
createdBy: string;
|
|
28543
|
-
createdByRole: string;
|
|
28544
28530
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28545
28531
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28546
28532
|
type: "REGISTER";
|
|
28533
|
+
createdByRole?: string | undefined;
|
|
28547
28534
|
createdBySignature?: string | null | undefined;
|
|
28548
28535
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28549
28536
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28555,10 +28542,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28555
28542
|
createdByUserType: "user" | "system";
|
|
28556
28543
|
createdAt: string;
|
|
28557
28544
|
createdBy: string;
|
|
28558
|
-
createdByRole: string;
|
|
28559
28545
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28560
28546
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28561
28547
|
type: "DECLARE";
|
|
28548
|
+
createdByRole?: string | undefined;
|
|
28562
28549
|
createdBySignature?: string | null | undefined;
|
|
28563
28550
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28564
28551
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28569,11 +28556,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28569
28556
|
createdByUserType: "user" | "system";
|
|
28570
28557
|
createdAt: string;
|
|
28571
28558
|
createdBy: string;
|
|
28572
|
-
createdByRole: string;
|
|
28573
28559
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28574
28560
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28575
28561
|
type: "ASSIGN";
|
|
28576
28562
|
assignedTo: string;
|
|
28563
|
+
createdByRole?: string | undefined;
|
|
28577
28564
|
createdBySignature?: string | null | undefined;
|
|
28578
28565
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28579
28566
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28584,10 +28571,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28584
28571
|
createdByUserType: "user" | "system";
|
|
28585
28572
|
createdAt: string;
|
|
28586
28573
|
createdBy: string;
|
|
28587
|
-
createdByRole: string;
|
|
28588
28574
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28589
28575
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28590
28576
|
type: "REQUEST_CORRECTION";
|
|
28577
|
+
createdByRole?: string | undefined;
|
|
28591
28578
|
createdBySignature?: string | null | undefined;
|
|
28592
28579
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28593
28580
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28598,11 +28585,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28598
28585
|
createdByUserType: "user" | "system";
|
|
28599
28586
|
createdAt: string;
|
|
28600
28587
|
createdBy: string;
|
|
28601
|
-
createdByRole: string;
|
|
28602
28588
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28603
28589
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28604
28590
|
type: "APPROVE_CORRECTION";
|
|
28605
28591
|
requestId: string;
|
|
28592
|
+
createdByRole?: string | undefined;
|
|
28606
28593
|
createdBySignature?: string | null | undefined;
|
|
28607
28594
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28608
28595
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28613,7 +28600,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28613
28600
|
createdByUserType: "user" | "system";
|
|
28614
28601
|
createdAt: string;
|
|
28615
28602
|
createdBy: string;
|
|
28616
|
-
createdByRole: string;
|
|
28617
28603
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28618
28604
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28619
28605
|
type: "REJECT_CORRECTION";
|
|
@@ -28621,6 +28607,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28621
28607
|
content: {
|
|
28622
28608
|
reason: string;
|
|
28623
28609
|
};
|
|
28610
|
+
createdByRole?: string | undefined;
|
|
28624
28611
|
createdBySignature?: string | null | undefined;
|
|
28625
28612
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28626
28613
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28631,10 +28618,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28631
28618
|
createdByUserType: "user" | "system";
|
|
28632
28619
|
createdAt: string;
|
|
28633
28620
|
createdBy: string;
|
|
28634
|
-
createdByRole: string;
|
|
28635
28621
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28636
28622
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28637
28623
|
type: "UNASSIGN";
|
|
28624
|
+
createdByRole?: string | undefined;
|
|
28638
28625
|
createdBySignature?: string | null | undefined;
|
|
28639
28626
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28640
28627
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28645,10 +28632,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28645
28632
|
createdByUserType: "user" | "system";
|
|
28646
28633
|
createdAt: string;
|
|
28647
28634
|
createdBy: string;
|
|
28648
|
-
createdByRole: string;
|
|
28649
28635
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28650
28636
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28651
28637
|
type: "PRINT_CERTIFICATE";
|
|
28638
|
+
createdByRole?: string | undefined;
|
|
28652
28639
|
createdBySignature?: string | null | undefined;
|
|
28653
28640
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28654
28641
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28662,10 +28649,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28662
28649
|
createdByUserType: "user" | "system";
|
|
28663
28650
|
createdAt: string;
|
|
28664
28651
|
createdBy: string;
|
|
28665
|
-
createdByRole: string;
|
|
28666
28652
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28667
28653
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28668
28654
|
type: "READ";
|
|
28655
|
+
createdByRole?: string | undefined;
|
|
28669
28656
|
createdBySignature?: string | null | undefined;
|
|
28670
28657
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28671
28658
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28676,13 +28663,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28676
28663
|
createdByUserType: "user" | "system";
|
|
28677
28664
|
createdAt: string;
|
|
28678
28665
|
createdBy: string;
|
|
28679
|
-
createdByRole: string;
|
|
28680
28666
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28681
28667
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28682
28668
|
type: "EDIT";
|
|
28683
28669
|
content: {
|
|
28684
28670
|
comment?: string | undefined;
|
|
28685
28671
|
};
|
|
28672
|
+
createdByRole?: string | undefined;
|
|
28686
28673
|
createdBySignature?: string | null | undefined;
|
|
28687
28674
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28688
28675
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28693,11 +28680,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28693
28680
|
createdByUserType: "user" | "system";
|
|
28694
28681
|
createdAt: string;
|
|
28695
28682
|
createdBy: string;
|
|
28696
|
-
createdByRole: string;
|
|
28697
28683
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28698
28684
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28699
28685
|
type: "CUSTOM";
|
|
28700
28686
|
customActionType: string;
|
|
28687
|
+
createdByRole?: string | undefined;
|
|
28701
28688
|
createdBySignature?: string | null | undefined;
|
|
28702
28689
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28703
28690
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28708,9 +28695,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28708
28695
|
createdByUserType: "user" | "system";
|
|
28709
28696
|
createdAt: string;
|
|
28710
28697
|
createdBy: string;
|
|
28711
|
-
createdByRole: string;
|
|
28712
28698
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
28713
28699
|
status: "Rejected";
|
|
28700
|
+
createdByRole?: string | undefined;
|
|
28714
28701
|
createdBySignature?: string | null | undefined;
|
|
28715
28702
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28716
28703
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -28749,7 +28736,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28749
28736
|
} | {
|
|
28750
28737
|
type: "system";
|
|
28751
28738
|
id: string;
|
|
28752
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
28753
28739
|
signature?: undefined;
|
|
28754
28740
|
primaryOfficeId?: undefined;
|
|
28755
28741
|
administrativeAreaId?: undefined;
|
|
@@ -28782,10 +28768,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28782
28768
|
createdByUserType: "user" | "system";
|
|
28783
28769
|
createdAt: string;
|
|
28784
28770
|
createdBy: string;
|
|
28785
|
-
createdByRole: string;
|
|
28786
28771
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28787
28772
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28788
28773
|
type: "CREATE";
|
|
28774
|
+
createdByRole?: string | undefined;
|
|
28789
28775
|
createdBySignature?: string | null | undefined;
|
|
28790
28776
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28791
28777
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28796,13 +28782,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28796
28782
|
createdByUserType: "user" | "system";
|
|
28797
28783
|
createdAt: string;
|
|
28798
28784
|
createdBy: string;
|
|
28799
|
-
createdByRole: string;
|
|
28800
28785
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28801
28786
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28802
28787
|
type: "REJECT";
|
|
28803
28788
|
content: {
|
|
28804
28789
|
reason: string;
|
|
28805
28790
|
};
|
|
28791
|
+
createdByRole?: string | undefined;
|
|
28806
28792
|
createdBySignature?: string | null | undefined;
|
|
28807
28793
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28808
28794
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28813,7 +28799,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28813
28799
|
createdByUserType: "user" | "system";
|
|
28814
28800
|
createdAt: string;
|
|
28815
28801
|
createdBy: string;
|
|
28816
|
-
createdByRole: string;
|
|
28817
28802
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28818
28803
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28819
28804
|
type: "DUPLICATE_DETECTED";
|
|
@@ -28823,6 +28808,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28823
28808
|
trackingId: string;
|
|
28824
28809
|
}[];
|
|
28825
28810
|
};
|
|
28811
|
+
createdByRole?: string | undefined;
|
|
28826
28812
|
createdBySignature?: string | null | undefined;
|
|
28827
28813
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28828
28814
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28833,10 +28819,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28833
28819
|
createdByUserType: "user" | "system";
|
|
28834
28820
|
createdAt: string;
|
|
28835
28821
|
createdBy: string;
|
|
28836
|
-
createdByRole: string;
|
|
28837
28822
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28838
28823
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28839
28824
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
28825
|
+
createdByRole?: string | undefined;
|
|
28840
28826
|
createdBySignature?: string | null | undefined;
|
|
28841
28827
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28842
28828
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28847,10 +28833,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28847
28833
|
createdByUserType: "user" | "system";
|
|
28848
28834
|
createdAt: string;
|
|
28849
28835
|
createdBy: string;
|
|
28850
|
-
createdByRole: string;
|
|
28851
28836
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28852
28837
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28853
28838
|
type: "MARK_AS_DUPLICATE";
|
|
28839
|
+
createdByRole?: string | undefined;
|
|
28854
28840
|
createdBySignature?: string | null | undefined;
|
|
28855
28841
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28856
28842
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28864,13 +28850,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28864
28850
|
createdByUserType: "user" | "system";
|
|
28865
28851
|
createdAt: string;
|
|
28866
28852
|
createdBy: string;
|
|
28867
|
-
createdByRole: string;
|
|
28868
28853
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28869
28854
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28870
28855
|
type: "ARCHIVE";
|
|
28871
28856
|
content: {
|
|
28872
28857
|
reason: string;
|
|
28873
28858
|
};
|
|
28859
|
+
createdByRole?: string | undefined;
|
|
28874
28860
|
createdBySignature?: string | null | undefined;
|
|
28875
28861
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28876
28862
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28881,10 +28867,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28881
28867
|
createdByUserType: "user" | "system";
|
|
28882
28868
|
createdAt: string;
|
|
28883
28869
|
createdBy: string;
|
|
28884
|
-
createdByRole: string;
|
|
28885
28870
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28886
28871
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28887
28872
|
type: "NOTIFY";
|
|
28873
|
+
createdByRole?: string | undefined;
|
|
28888
28874
|
createdBySignature?: string | null | undefined;
|
|
28889
28875
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28890
28876
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28895,10 +28881,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28895
28881
|
createdByUserType: "user" | "system";
|
|
28896
28882
|
createdAt: string;
|
|
28897
28883
|
createdBy: string;
|
|
28898
|
-
createdByRole: string;
|
|
28899
28884
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28900
28885
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28901
28886
|
type: "REGISTER";
|
|
28887
|
+
createdByRole?: string | undefined;
|
|
28902
28888
|
createdBySignature?: string | null | undefined;
|
|
28903
28889
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28904
28890
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28910,10 +28896,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28910
28896
|
createdByUserType: "user" | "system";
|
|
28911
28897
|
createdAt: string;
|
|
28912
28898
|
createdBy: string;
|
|
28913
|
-
createdByRole: string;
|
|
28914
28899
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28915
28900
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28916
28901
|
type: "DECLARE";
|
|
28902
|
+
createdByRole?: string | undefined;
|
|
28917
28903
|
createdBySignature?: string | null | undefined;
|
|
28918
28904
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28919
28905
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28924,11 +28910,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28924
28910
|
createdByUserType: "user" | "system";
|
|
28925
28911
|
createdAt: string;
|
|
28926
28912
|
createdBy: string;
|
|
28927
|
-
createdByRole: string;
|
|
28928
28913
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28929
28914
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28930
28915
|
type: "ASSIGN";
|
|
28931
28916
|
assignedTo: string;
|
|
28917
|
+
createdByRole?: string | undefined;
|
|
28932
28918
|
createdBySignature?: string | null | undefined;
|
|
28933
28919
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28934
28920
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28939,10 +28925,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28939
28925
|
createdByUserType: "user" | "system";
|
|
28940
28926
|
createdAt: string;
|
|
28941
28927
|
createdBy: string;
|
|
28942
|
-
createdByRole: string;
|
|
28943
28928
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28944
28929
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28945
28930
|
type: "REQUEST_CORRECTION";
|
|
28931
|
+
createdByRole?: string | undefined;
|
|
28946
28932
|
createdBySignature?: string | null | undefined;
|
|
28947
28933
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28948
28934
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28953,11 +28939,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28953
28939
|
createdByUserType: "user" | "system";
|
|
28954
28940
|
createdAt: string;
|
|
28955
28941
|
createdBy: string;
|
|
28956
|
-
createdByRole: string;
|
|
28957
28942
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28958
28943
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28959
28944
|
type: "APPROVE_CORRECTION";
|
|
28960
28945
|
requestId: string;
|
|
28946
|
+
createdByRole?: string | undefined;
|
|
28961
28947
|
createdBySignature?: string | null | undefined;
|
|
28962
28948
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28963
28949
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28968,7 +28954,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28968
28954
|
createdByUserType: "user" | "system";
|
|
28969
28955
|
createdAt: string;
|
|
28970
28956
|
createdBy: string;
|
|
28971
|
-
createdByRole: string;
|
|
28972
28957
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28973
28958
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28974
28959
|
type: "REJECT_CORRECTION";
|
|
@@ -28976,6 +28961,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28976
28961
|
content: {
|
|
28977
28962
|
reason: string;
|
|
28978
28963
|
};
|
|
28964
|
+
createdByRole?: string | undefined;
|
|
28979
28965
|
createdBySignature?: string | null | undefined;
|
|
28980
28966
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28981
28967
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -28986,10 +28972,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28986
28972
|
createdByUserType: "user" | "system";
|
|
28987
28973
|
createdAt: string;
|
|
28988
28974
|
createdBy: string;
|
|
28989
|
-
createdByRole: string;
|
|
28990
28975
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
28991
28976
|
status: "Requested" | "Accepted" | "Rejected";
|
|
28992
28977
|
type: "UNASSIGN";
|
|
28978
|
+
createdByRole?: string | undefined;
|
|
28993
28979
|
createdBySignature?: string | null | undefined;
|
|
28994
28980
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28995
28981
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29000,10 +28986,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29000
28986
|
createdByUserType: "user" | "system";
|
|
29001
28987
|
createdAt: string;
|
|
29002
28988
|
createdBy: string;
|
|
29003
|
-
createdByRole: string;
|
|
29004
28989
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29005
28990
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29006
28991
|
type: "PRINT_CERTIFICATE";
|
|
28992
|
+
createdByRole?: string | undefined;
|
|
29007
28993
|
createdBySignature?: string | null | undefined;
|
|
29008
28994
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29009
28995
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29017,10 +29003,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29017
29003
|
createdByUserType: "user" | "system";
|
|
29018
29004
|
createdAt: string;
|
|
29019
29005
|
createdBy: string;
|
|
29020
|
-
createdByRole: string;
|
|
29021
29006
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29022
29007
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29023
29008
|
type: "READ";
|
|
29009
|
+
createdByRole?: string | undefined;
|
|
29024
29010
|
createdBySignature?: string | null | undefined;
|
|
29025
29011
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29026
29012
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29031,13 +29017,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29031
29017
|
createdByUserType: "user" | "system";
|
|
29032
29018
|
createdAt: string;
|
|
29033
29019
|
createdBy: string;
|
|
29034
|
-
createdByRole: string;
|
|
29035
29020
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29036
29021
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29037
29022
|
type: "EDIT";
|
|
29038
29023
|
content: {
|
|
29039
29024
|
comment?: string | undefined;
|
|
29040
29025
|
};
|
|
29026
|
+
createdByRole?: string | undefined;
|
|
29041
29027
|
createdBySignature?: string | null | undefined;
|
|
29042
29028
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29043
29029
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29048,11 +29034,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29048
29034
|
createdByUserType: "user" | "system";
|
|
29049
29035
|
createdAt: string;
|
|
29050
29036
|
createdBy: string;
|
|
29051
|
-
createdByRole: string;
|
|
29052
29037
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29053
29038
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29054
29039
|
type: "CUSTOM";
|
|
29055
29040
|
customActionType: string;
|
|
29041
|
+
createdByRole?: string | undefined;
|
|
29056
29042
|
createdBySignature?: string | null | undefined;
|
|
29057
29043
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29058
29044
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29063,9 +29049,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29063
29049
|
createdByUserType: "user" | "system";
|
|
29064
29050
|
createdAt: string;
|
|
29065
29051
|
createdBy: string;
|
|
29066
|
-
createdByRole: string;
|
|
29067
29052
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
29068
29053
|
status: "Rejected";
|
|
29054
|
+
createdByRole?: string | undefined;
|
|
29069
29055
|
createdBySignature?: string | null | undefined;
|
|
29070
29056
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29071
29057
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -29097,10 +29083,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29097
29083
|
createdByUserType: "user" | "system";
|
|
29098
29084
|
createdAt: string;
|
|
29099
29085
|
createdBy: string;
|
|
29100
|
-
createdByRole: string;
|
|
29101
29086
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29102
29087
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29103
29088
|
type: "CREATE";
|
|
29089
|
+
createdByRole?: string | undefined;
|
|
29104
29090
|
createdBySignature?: string | null | undefined;
|
|
29105
29091
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29106
29092
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29111,13 +29097,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29111
29097
|
createdByUserType: "user" | "system";
|
|
29112
29098
|
createdAt: string;
|
|
29113
29099
|
createdBy: string;
|
|
29114
|
-
createdByRole: string;
|
|
29115
29100
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29116
29101
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29117
29102
|
type: "REJECT";
|
|
29118
29103
|
content: {
|
|
29119
29104
|
reason: string;
|
|
29120
29105
|
};
|
|
29106
|
+
createdByRole?: string | undefined;
|
|
29121
29107
|
createdBySignature?: string | null | undefined;
|
|
29122
29108
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29123
29109
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29128,7 +29114,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29128
29114
|
createdByUserType: "user" | "system";
|
|
29129
29115
|
createdAt: string;
|
|
29130
29116
|
createdBy: string;
|
|
29131
|
-
createdByRole: string;
|
|
29132
29117
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29133
29118
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29134
29119
|
type: "DUPLICATE_DETECTED";
|
|
@@ -29138,6 +29123,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29138
29123
|
trackingId: string;
|
|
29139
29124
|
}[];
|
|
29140
29125
|
};
|
|
29126
|
+
createdByRole?: string | undefined;
|
|
29141
29127
|
createdBySignature?: string | null | undefined;
|
|
29142
29128
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29143
29129
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29148,10 +29134,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29148
29134
|
createdByUserType: "user" | "system";
|
|
29149
29135
|
createdAt: string;
|
|
29150
29136
|
createdBy: string;
|
|
29151
|
-
createdByRole: string;
|
|
29152
29137
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29153
29138
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29154
29139
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
29140
|
+
createdByRole?: string | undefined;
|
|
29155
29141
|
createdBySignature?: string | null | undefined;
|
|
29156
29142
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29157
29143
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29162,10 +29148,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29162
29148
|
createdByUserType: "user" | "system";
|
|
29163
29149
|
createdAt: string;
|
|
29164
29150
|
createdBy: string;
|
|
29165
|
-
createdByRole: string;
|
|
29166
29151
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29167
29152
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29168
29153
|
type: "MARK_AS_DUPLICATE";
|
|
29154
|
+
createdByRole?: string | undefined;
|
|
29169
29155
|
createdBySignature?: string | null | undefined;
|
|
29170
29156
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29171
29157
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29179,13 +29165,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29179
29165
|
createdByUserType: "user" | "system";
|
|
29180
29166
|
createdAt: string;
|
|
29181
29167
|
createdBy: string;
|
|
29182
|
-
createdByRole: string;
|
|
29183
29168
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29184
29169
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29185
29170
|
type: "ARCHIVE";
|
|
29186
29171
|
content: {
|
|
29187
29172
|
reason: string;
|
|
29188
29173
|
};
|
|
29174
|
+
createdByRole?: string | undefined;
|
|
29189
29175
|
createdBySignature?: string | null | undefined;
|
|
29190
29176
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29191
29177
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29196,10 +29182,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29196
29182
|
createdByUserType: "user" | "system";
|
|
29197
29183
|
createdAt: string;
|
|
29198
29184
|
createdBy: string;
|
|
29199
|
-
createdByRole: string;
|
|
29200
29185
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29201
29186
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29202
29187
|
type: "NOTIFY";
|
|
29188
|
+
createdByRole?: string | undefined;
|
|
29203
29189
|
createdBySignature?: string | null | undefined;
|
|
29204
29190
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29205
29191
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29210,10 +29196,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29210
29196
|
createdByUserType: "user" | "system";
|
|
29211
29197
|
createdAt: string;
|
|
29212
29198
|
createdBy: string;
|
|
29213
|
-
createdByRole: string;
|
|
29214
29199
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29215
29200
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29216
29201
|
type: "REGISTER";
|
|
29202
|
+
createdByRole?: string | undefined;
|
|
29217
29203
|
createdBySignature?: string | null | undefined;
|
|
29218
29204
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29219
29205
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29225,10 +29211,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29225
29211
|
createdByUserType: "user" | "system";
|
|
29226
29212
|
createdAt: string;
|
|
29227
29213
|
createdBy: string;
|
|
29228
|
-
createdByRole: string;
|
|
29229
29214
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29230
29215
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29231
29216
|
type: "DECLARE";
|
|
29217
|
+
createdByRole?: string | undefined;
|
|
29232
29218
|
createdBySignature?: string | null | undefined;
|
|
29233
29219
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29234
29220
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29239,11 +29225,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29239
29225
|
createdByUserType: "user" | "system";
|
|
29240
29226
|
createdAt: string;
|
|
29241
29227
|
createdBy: string;
|
|
29242
|
-
createdByRole: string;
|
|
29243
29228
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29244
29229
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29245
29230
|
type: "ASSIGN";
|
|
29246
29231
|
assignedTo: string;
|
|
29232
|
+
createdByRole?: string | undefined;
|
|
29247
29233
|
createdBySignature?: string | null | undefined;
|
|
29248
29234
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29249
29235
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29254,10 +29240,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29254
29240
|
createdByUserType: "user" | "system";
|
|
29255
29241
|
createdAt: string;
|
|
29256
29242
|
createdBy: string;
|
|
29257
|
-
createdByRole: string;
|
|
29258
29243
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29259
29244
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29260
29245
|
type: "REQUEST_CORRECTION";
|
|
29246
|
+
createdByRole?: string | undefined;
|
|
29261
29247
|
createdBySignature?: string | null | undefined;
|
|
29262
29248
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29263
29249
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29268,11 +29254,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29268
29254
|
createdByUserType: "user" | "system";
|
|
29269
29255
|
createdAt: string;
|
|
29270
29256
|
createdBy: string;
|
|
29271
|
-
createdByRole: string;
|
|
29272
29257
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29273
29258
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29274
29259
|
type: "APPROVE_CORRECTION";
|
|
29275
29260
|
requestId: string;
|
|
29261
|
+
createdByRole?: string | undefined;
|
|
29276
29262
|
createdBySignature?: string | null | undefined;
|
|
29277
29263
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29278
29264
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29283,7 +29269,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29283
29269
|
createdByUserType: "user" | "system";
|
|
29284
29270
|
createdAt: string;
|
|
29285
29271
|
createdBy: string;
|
|
29286
|
-
createdByRole: string;
|
|
29287
29272
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29288
29273
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29289
29274
|
type: "REJECT_CORRECTION";
|
|
@@ -29291,6 +29276,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29291
29276
|
content: {
|
|
29292
29277
|
reason: string;
|
|
29293
29278
|
};
|
|
29279
|
+
createdByRole?: string | undefined;
|
|
29294
29280
|
createdBySignature?: string | null | undefined;
|
|
29295
29281
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29296
29282
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29301,10 +29287,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29301
29287
|
createdByUserType: "user" | "system";
|
|
29302
29288
|
createdAt: string;
|
|
29303
29289
|
createdBy: string;
|
|
29304
|
-
createdByRole: string;
|
|
29305
29290
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29306
29291
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29307
29292
|
type: "UNASSIGN";
|
|
29293
|
+
createdByRole?: string | undefined;
|
|
29308
29294
|
createdBySignature?: string | null | undefined;
|
|
29309
29295
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29310
29296
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29315,10 +29301,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29315
29301
|
createdByUserType: "user" | "system";
|
|
29316
29302
|
createdAt: string;
|
|
29317
29303
|
createdBy: string;
|
|
29318
|
-
createdByRole: string;
|
|
29319
29304
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29320
29305
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29321
29306
|
type: "PRINT_CERTIFICATE";
|
|
29307
|
+
createdByRole?: string | undefined;
|
|
29322
29308
|
createdBySignature?: string | null | undefined;
|
|
29323
29309
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29324
29310
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29332,10 +29318,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29332
29318
|
createdByUserType: "user" | "system";
|
|
29333
29319
|
createdAt: string;
|
|
29334
29320
|
createdBy: string;
|
|
29335
|
-
createdByRole: string;
|
|
29336
29321
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29337
29322
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29338
29323
|
type: "READ";
|
|
29324
|
+
createdByRole?: string | undefined;
|
|
29339
29325
|
createdBySignature?: string | null | undefined;
|
|
29340
29326
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29341
29327
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29346,13 +29332,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29346
29332
|
createdByUserType: "user" | "system";
|
|
29347
29333
|
createdAt: string;
|
|
29348
29334
|
createdBy: string;
|
|
29349
|
-
createdByRole: string;
|
|
29350
29335
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29351
29336
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29352
29337
|
type: "EDIT";
|
|
29353
29338
|
content: {
|
|
29354
29339
|
comment?: string | undefined;
|
|
29355
29340
|
};
|
|
29341
|
+
createdByRole?: string | undefined;
|
|
29356
29342
|
createdBySignature?: string | null | undefined;
|
|
29357
29343
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29358
29344
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29363,11 +29349,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29363
29349
|
createdByUserType: "user" | "system";
|
|
29364
29350
|
createdAt: string;
|
|
29365
29351
|
createdBy: string;
|
|
29366
|
-
createdByRole: string;
|
|
29367
29352
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29368
29353
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29369
29354
|
type: "CUSTOM";
|
|
29370
29355
|
customActionType: string;
|
|
29356
|
+
createdByRole?: string | undefined;
|
|
29371
29357
|
createdBySignature?: string | null | undefined;
|
|
29372
29358
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29373
29359
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29378,9 +29364,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29378
29364
|
createdByUserType: "user" | "system";
|
|
29379
29365
|
createdAt: string;
|
|
29380
29366
|
createdBy: string;
|
|
29381
|
-
createdByRole: string;
|
|
29382
29367
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
29383
29368
|
status: "Rejected";
|
|
29369
|
+
createdByRole?: string | undefined;
|
|
29384
29370
|
createdBySignature?: string | null | undefined;
|
|
29385
29371
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29386
29372
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -29403,7 +29389,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29403
29389
|
} | {
|
|
29404
29390
|
type: "system";
|
|
29405
29391
|
id: string;
|
|
29406
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
29407
29392
|
signature?: undefined;
|
|
29408
29393
|
primaryOfficeId?: undefined;
|
|
29409
29394
|
administrativeAreaId?: undefined;
|
|
@@ -29426,7 +29411,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29426
29411
|
} | {
|
|
29427
29412
|
type: "system";
|
|
29428
29413
|
id: string;
|
|
29429
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
29430
29414
|
signature?: undefined;
|
|
29431
29415
|
primaryOfficeId?: undefined;
|
|
29432
29416
|
administrativeAreaId?: undefined;
|
|
@@ -29471,7 +29455,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29471
29455
|
} | {
|
|
29472
29456
|
type: "system";
|
|
29473
29457
|
id: string;
|
|
29474
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
29475
29458
|
signature?: undefined;
|
|
29476
29459
|
primaryOfficeId?: undefined;
|
|
29477
29460
|
administrativeAreaId?: undefined;
|
|
@@ -29516,7 +29499,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29516
29499
|
} | {
|
|
29517
29500
|
type: "system";
|
|
29518
29501
|
id: string;
|
|
29519
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
29520
29502
|
signature?: undefined;
|
|
29521
29503
|
primaryOfficeId?: undefined;
|
|
29522
29504
|
administrativeAreaId?: undefined;
|
|
@@ -29562,7 +29544,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29562
29544
|
} | {
|
|
29563
29545
|
type: "system";
|
|
29564
29546
|
id: string;
|
|
29565
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
29566
29547
|
signature?: undefined;
|
|
29567
29548
|
primaryOfficeId?: undefined;
|
|
29568
29549
|
administrativeAreaId?: undefined;
|
|
@@ -29597,10 +29578,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29597
29578
|
createdByUserType: "user" | "system";
|
|
29598
29579
|
createdAt: string;
|
|
29599
29580
|
createdBy: string;
|
|
29600
|
-
createdByRole: string;
|
|
29601
29581
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29602
29582
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29603
29583
|
type: "CREATE";
|
|
29584
|
+
createdByRole?: string | undefined;
|
|
29604
29585
|
createdBySignature?: string | null | undefined;
|
|
29605
29586
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29606
29587
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29611,13 +29592,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29611
29592
|
createdByUserType: "user" | "system";
|
|
29612
29593
|
createdAt: string;
|
|
29613
29594
|
createdBy: string;
|
|
29614
|
-
createdByRole: string;
|
|
29615
29595
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29616
29596
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29617
29597
|
type: "REJECT";
|
|
29618
29598
|
content: {
|
|
29619
29599
|
reason: string;
|
|
29620
29600
|
};
|
|
29601
|
+
createdByRole?: string | undefined;
|
|
29621
29602
|
createdBySignature?: string | null | undefined;
|
|
29622
29603
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29623
29604
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29628,7 +29609,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29628
29609
|
createdByUserType: "user" | "system";
|
|
29629
29610
|
createdAt: string;
|
|
29630
29611
|
createdBy: string;
|
|
29631
|
-
createdByRole: string;
|
|
29632
29612
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29633
29613
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29634
29614
|
type: "DUPLICATE_DETECTED";
|
|
@@ -29638,6 +29618,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29638
29618
|
trackingId: string;
|
|
29639
29619
|
}[];
|
|
29640
29620
|
};
|
|
29621
|
+
createdByRole?: string | undefined;
|
|
29641
29622
|
createdBySignature?: string | null | undefined;
|
|
29642
29623
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29643
29624
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29648,10 +29629,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29648
29629
|
createdByUserType: "user" | "system";
|
|
29649
29630
|
createdAt: string;
|
|
29650
29631
|
createdBy: string;
|
|
29651
|
-
createdByRole: string;
|
|
29652
29632
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29653
29633
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29654
29634
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
29635
|
+
createdByRole?: string | undefined;
|
|
29655
29636
|
createdBySignature?: string | null | undefined;
|
|
29656
29637
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29657
29638
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29662,10 +29643,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29662
29643
|
createdByUserType: "user" | "system";
|
|
29663
29644
|
createdAt: string;
|
|
29664
29645
|
createdBy: string;
|
|
29665
|
-
createdByRole: string;
|
|
29666
29646
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29667
29647
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29668
29648
|
type: "MARK_AS_DUPLICATE";
|
|
29649
|
+
createdByRole?: string | undefined;
|
|
29669
29650
|
createdBySignature?: string | null | undefined;
|
|
29670
29651
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29671
29652
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29679,13 +29660,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29679
29660
|
createdByUserType: "user" | "system";
|
|
29680
29661
|
createdAt: string;
|
|
29681
29662
|
createdBy: string;
|
|
29682
|
-
createdByRole: string;
|
|
29683
29663
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29684
29664
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29685
29665
|
type: "ARCHIVE";
|
|
29686
29666
|
content: {
|
|
29687
29667
|
reason: string;
|
|
29688
29668
|
};
|
|
29669
|
+
createdByRole?: string | undefined;
|
|
29689
29670
|
createdBySignature?: string | null | undefined;
|
|
29690
29671
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29691
29672
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29696,10 +29677,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29696
29677
|
createdByUserType: "user" | "system";
|
|
29697
29678
|
createdAt: string;
|
|
29698
29679
|
createdBy: string;
|
|
29699
|
-
createdByRole: string;
|
|
29700
29680
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29701
29681
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29702
29682
|
type: "NOTIFY";
|
|
29683
|
+
createdByRole?: string | undefined;
|
|
29703
29684
|
createdBySignature?: string | null | undefined;
|
|
29704
29685
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29705
29686
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29710,10 +29691,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29710
29691
|
createdByUserType: "user" | "system";
|
|
29711
29692
|
createdAt: string;
|
|
29712
29693
|
createdBy: string;
|
|
29713
|
-
createdByRole: string;
|
|
29714
29694
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29715
29695
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29716
29696
|
type: "REGISTER";
|
|
29697
|
+
createdByRole?: string | undefined;
|
|
29717
29698
|
createdBySignature?: string | null | undefined;
|
|
29718
29699
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29719
29700
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29725,10 +29706,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29725
29706
|
createdByUserType: "user" | "system";
|
|
29726
29707
|
createdAt: string;
|
|
29727
29708
|
createdBy: string;
|
|
29728
|
-
createdByRole: string;
|
|
29729
29709
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29730
29710
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29731
29711
|
type: "DECLARE";
|
|
29712
|
+
createdByRole?: string | undefined;
|
|
29732
29713
|
createdBySignature?: string | null | undefined;
|
|
29733
29714
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29734
29715
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29739,11 +29720,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29739
29720
|
createdByUserType: "user" | "system";
|
|
29740
29721
|
createdAt: string;
|
|
29741
29722
|
createdBy: string;
|
|
29742
|
-
createdByRole: string;
|
|
29743
29723
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29744
29724
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29745
29725
|
type: "ASSIGN";
|
|
29746
29726
|
assignedTo: string;
|
|
29727
|
+
createdByRole?: string | undefined;
|
|
29747
29728
|
createdBySignature?: string | null | undefined;
|
|
29748
29729
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29749
29730
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29754,10 +29735,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29754
29735
|
createdByUserType: "user" | "system";
|
|
29755
29736
|
createdAt: string;
|
|
29756
29737
|
createdBy: string;
|
|
29757
|
-
createdByRole: string;
|
|
29758
29738
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29759
29739
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29760
29740
|
type: "REQUEST_CORRECTION";
|
|
29741
|
+
createdByRole?: string | undefined;
|
|
29761
29742
|
createdBySignature?: string | null | undefined;
|
|
29762
29743
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29763
29744
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29768,11 +29749,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29768
29749
|
createdByUserType: "user" | "system";
|
|
29769
29750
|
createdAt: string;
|
|
29770
29751
|
createdBy: string;
|
|
29771
|
-
createdByRole: string;
|
|
29772
29752
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29773
29753
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29774
29754
|
type: "APPROVE_CORRECTION";
|
|
29775
29755
|
requestId: string;
|
|
29756
|
+
createdByRole?: string | undefined;
|
|
29776
29757
|
createdBySignature?: string | null | undefined;
|
|
29777
29758
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29778
29759
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29783,7 +29764,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29783
29764
|
createdByUserType: "user" | "system";
|
|
29784
29765
|
createdAt: string;
|
|
29785
29766
|
createdBy: string;
|
|
29786
|
-
createdByRole: string;
|
|
29787
29767
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29788
29768
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29789
29769
|
type: "REJECT_CORRECTION";
|
|
@@ -29791,6 +29771,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29791
29771
|
content: {
|
|
29792
29772
|
reason: string;
|
|
29793
29773
|
};
|
|
29774
|
+
createdByRole?: string | undefined;
|
|
29794
29775
|
createdBySignature?: string | null | undefined;
|
|
29795
29776
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29796
29777
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29801,10 +29782,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29801
29782
|
createdByUserType: "user" | "system";
|
|
29802
29783
|
createdAt: string;
|
|
29803
29784
|
createdBy: string;
|
|
29804
|
-
createdByRole: string;
|
|
29805
29785
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29806
29786
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29807
29787
|
type: "UNASSIGN";
|
|
29788
|
+
createdByRole?: string | undefined;
|
|
29808
29789
|
createdBySignature?: string | null | undefined;
|
|
29809
29790
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29810
29791
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29815,10 +29796,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29815
29796
|
createdByUserType: "user" | "system";
|
|
29816
29797
|
createdAt: string;
|
|
29817
29798
|
createdBy: string;
|
|
29818
|
-
createdByRole: string;
|
|
29819
29799
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29820
29800
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29821
29801
|
type: "PRINT_CERTIFICATE";
|
|
29802
|
+
createdByRole?: string | undefined;
|
|
29822
29803
|
createdBySignature?: string | null | undefined;
|
|
29823
29804
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29824
29805
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29832,10 +29813,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29832
29813
|
createdByUserType: "user" | "system";
|
|
29833
29814
|
createdAt: string;
|
|
29834
29815
|
createdBy: string;
|
|
29835
|
-
createdByRole: string;
|
|
29836
29816
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29837
29817
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29838
29818
|
type: "READ";
|
|
29819
|
+
createdByRole?: string | undefined;
|
|
29839
29820
|
createdBySignature?: string | null | undefined;
|
|
29840
29821
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29841
29822
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29846,13 +29827,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29846
29827
|
createdByUserType: "user" | "system";
|
|
29847
29828
|
createdAt: string;
|
|
29848
29829
|
createdBy: string;
|
|
29849
|
-
createdByRole: string;
|
|
29850
29830
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29851
29831
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29852
29832
|
type: "EDIT";
|
|
29853
29833
|
content: {
|
|
29854
29834
|
comment?: string | undefined;
|
|
29855
29835
|
};
|
|
29836
|
+
createdByRole?: string | undefined;
|
|
29856
29837
|
createdBySignature?: string | null | undefined;
|
|
29857
29838
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29858
29839
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29863,11 +29844,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29863
29844
|
createdByUserType: "user" | "system";
|
|
29864
29845
|
createdAt: string;
|
|
29865
29846
|
createdBy: string;
|
|
29866
|
-
createdByRole: string;
|
|
29867
29847
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29868
29848
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29869
29849
|
type: "CUSTOM";
|
|
29870
29850
|
customActionType: string;
|
|
29851
|
+
createdByRole?: string | undefined;
|
|
29871
29852
|
createdBySignature?: string | null | undefined;
|
|
29872
29853
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29873
29854
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29878,9 +29859,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29878
29859
|
createdByUserType: "user" | "system";
|
|
29879
29860
|
createdAt: string;
|
|
29880
29861
|
createdBy: string;
|
|
29881
|
-
createdByRole: string;
|
|
29882
29862
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
29883
29863
|
status: "Rejected";
|
|
29864
|
+
createdByRole?: string | undefined;
|
|
29884
29865
|
createdBySignature?: string | null | undefined;
|
|
29885
29866
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29886
29867
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -29911,10 +29892,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29911
29892
|
createdByUserType: "user" | "system";
|
|
29912
29893
|
createdAt: string;
|
|
29913
29894
|
createdBy: string;
|
|
29914
|
-
createdByRole: string;
|
|
29915
29895
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29916
29896
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29917
29897
|
type: "CREATE";
|
|
29898
|
+
createdByRole?: string | undefined;
|
|
29918
29899
|
createdBySignature?: string | null | undefined;
|
|
29919
29900
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29920
29901
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29925,13 +29906,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29925
29906
|
createdByUserType: "user" | "system";
|
|
29926
29907
|
createdAt: string;
|
|
29927
29908
|
createdBy: string;
|
|
29928
|
-
createdByRole: string;
|
|
29929
29909
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29930
29910
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29931
29911
|
type: "REJECT";
|
|
29932
29912
|
content: {
|
|
29933
29913
|
reason: string;
|
|
29934
29914
|
};
|
|
29915
|
+
createdByRole?: string | undefined;
|
|
29935
29916
|
createdBySignature?: string | null | undefined;
|
|
29936
29917
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29937
29918
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29942,7 +29923,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29942
29923
|
createdByUserType: "user" | "system";
|
|
29943
29924
|
createdAt: string;
|
|
29944
29925
|
createdBy: string;
|
|
29945
|
-
createdByRole: string;
|
|
29946
29926
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29947
29927
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29948
29928
|
type: "DUPLICATE_DETECTED";
|
|
@@ -29952,6 +29932,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29952
29932
|
trackingId: string;
|
|
29953
29933
|
}[];
|
|
29954
29934
|
};
|
|
29935
|
+
createdByRole?: string | undefined;
|
|
29955
29936
|
createdBySignature?: string | null | undefined;
|
|
29956
29937
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29957
29938
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29962,10 +29943,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29962
29943
|
createdByUserType: "user" | "system";
|
|
29963
29944
|
createdAt: string;
|
|
29964
29945
|
createdBy: string;
|
|
29965
|
-
createdByRole: string;
|
|
29966
29946
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29967
29947
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29968
29948
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
29949
|
+
createdByRole?: string | undefined;
|
|
29969
29950
|
createdBySignature?: string | null | undefined;
|
|
29970
29951
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29971
29952
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29976,10 +29957,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29976
29957
|
createdByUserType: "user" | "system";
|
|
29977
29958
|
createdAt: string;
|
|
29978
29959
|
createdBy: string;
|
|
29979
|
-
createdByRole: string;
|
|
29980
29960
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29981
29961
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29982
29962
|
type: "MARK_AS_DUPLICATE";
|
|
29963
|
+
createdByRole?: string | undefined;
|
|
29983
29964
|
createdBySignature?: string | null | undefined;
|
|
29984
29965
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29985
29966
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -29993,13 +29974,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29993
29974
|
createdByUserType: "user" | "system";
|
|
29994
29975
|
createdAt: string;
|
|
29995
29976
|
createdBy: string;
|
|
29996
|
-
createdByRole: string;
|
|
29997
29977
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
29998
29978
|
status: "Requested" | "Accepted" | "Rejected";
|
|
29999
29979
|
type: "ARCHIVE";
|
|
30000
29980
|
content: {
|
|
30001
29981
|
reason: string;
|
|
30002
29982
|
};
|
|
29983
|
+
createdByRole?: string | undefined;
|
|
30003
29984
|
createdBySignature?: string | null | undefined;
|
|
30004
29985
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30005
29986
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30010,10 +29991,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30010
29991
|
createdByUserType: "user" | "system";
|
|
30011
29992
|
createdAt: string;
|
|
30012
29993
|
createdBy: string;
|
|
30013
|
-
createdByRole: string;
|
|
30014
29994
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30015
29995
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30016
29996
|
type: "NOTIFY";
|
|
29997
|
+
createdByRole?: string | undefined;
|
|
30017
29998
|
createdBySignature?: string | null | undefined;
|
|
30018
29999
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30019
30000
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30024,10 +30005,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30024
30005
|
createdByUserType: "user" | "system";
|
|
30025
30006
|
createdAt: string;
|
|
30026
30007
|
createdBy: string;
|
|
30027
|
-
createdByRole: string;
|
|
30028
30008
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30029
30009
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30030
30010
|
type: "REGISTER";
|
|
30011
|
+
createdByRole?: string | undefined;
|
|
30031
30012
|
createdBySignature?: string | null | undefined;
|
|
30032
30013
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30033
30014
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30039,10 +30020,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30039
30020
|
createdByUserType: "user" | "system";
|
|
30040
30021
|
createdAt: string;
|
|
30041
30022
|
createdBy: string;
|
|
30042
|
-
createdByRole: string;
|
|
30043
30023
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30044
30024
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30045
30025
|
type: "DECLARE";
|
|
30026
|
+
createdByRole?: string | undefined;
|
|
30046
30027
|
createdBySignature?: string | null | undefined;
|
|
30047
30028
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30048
30029
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30053,11 +30034,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30053
30034
|
createdByUserType: "user" | "system";
|
|
30054
30035
|
createdAt: string;
|
|
30055
30036
|
createdBy: string;
|
|
30056
|
-
createdByRole: string;
|
|
30057
30037
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30058
30038
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30059
30039
|
type: "ASSIGN";
|
|
30060
30040
|
assignedTo: string;
|
|
30041
|
+
createdByRole?: string | undefined;
|
|
30061
30042
|
createdBySignature?: string | null | undefined;
|
|
30062
30043
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30063
30044
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30068,10 +30049,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30068
30049
|
createdByUserType: "user" | "system";
|
|
30069
30050
|
createdAt: string;
|
|
30070
30051
|
createdBy: string;
|
|
30071
|
-
createdByRole: string;
|
|
30072
30052
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30073
30053
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30074
30054
|
type: "REQUEST_CORRECTION";
|
|
30055
|
+
createdByRole?: string | undefined;
|
|
30075
30056
|
createdBySignature?: string | null | undefined;
|
|
30076
30057
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30077
30058
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30082,11 +30063,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30082
30063
|
createdByUserType: "user" | "system";
|
|
30083
30064
|
createdAt: string;
|
|
30084
30065
|
createdBy: string;
|
|
30085
|
-
createdByRole: string;
|
|
30086
30066
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30087
30067
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30088
30068
|
type: "APPROVE_CORRECTION";
|
|
30089
30069
|
requestId: string;
|
|
30070
|
+
createdByRole?: string | undefined;
|
|
30090
30071
|
createdBySignature?: string | null | undefined;
|
|
30091
30072
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30092
30073
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30097,7 +30078,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30097
30078
|
createdByUserType: "user" | "system";
|
|
30098
30079
|
createdAt: string;
|
|
30099
30080
|
createdBy: string;
|
|
30100
|
-
createdByRole: string;
|
|
30101
30081
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30102
30082
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30103
30083
|
type: "REJECT_CORRECTION";
|
|
@@ -30105,6 +30085,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30105
30085
|
content: {
|
|
30106
30086
|
reason: string;
|
|
30107
30087
|
};
|
|
30088
|
+
createdByRole?: string | undefined;
|
|
30108
30089
|
createdBySignature?: string | null | undefined;
|
|
30109
30090
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30110
30091
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30115,10 +30096,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30115
30096
|
createdByUserType: "user" | "system";
|
|
30116
30097
|
createdAt: string;
|
|
30117
30098
|
createdBy: string;
|
|
30118
|
-
createdByRole: string;
|
|
30119
30099
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30120
30100
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30121
30101
|
type: "UNASSIGN";
|
|
30102
|
+
createdByRole?: string | undefined;
|
|
30122
30103
|
createdBySignature?: string | null | undefined;
|
|
30123
30104
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30124
30105
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30129,10 +30110,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30129
30110
|
createdByUserType: "user" | "system";
|
|
30130
30111
|
createdAt: string;
|
|
30131
30112
|
createdBy: string;
|
|
30132
|
-
createdByRole: string;
|
|
30133
30113
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30134
30114
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30135
30115
|
type: "PRINT_CERTIFICATE";
|
|
30116
|
+
createdByRole?: string | undefined;
|
|
30136
30117
|
createdBySignature?: string | null | undefined;
|
|
30137
30118
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30138
30119
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30146,10 +30127,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30146
30127
|
createdByUserType: "user" | "system";
|
|
30147
30128
|
createdAt: string;
|
|
30148
30129
|
createdBy: string;
|
|
30149
|
-
createdByRole: string;
|
|
30150
30130
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30151
30131
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30152
30132
|
type: "READ";
|
|
30133
|
+
createdByRole?: string | undefined;
|
|
30153
30134
|
createdBySignature?: string | null | undefined;
|
|
30154
30135
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30155
30136
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30160,13 +30141,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30160
30141
|
createdByUserType: "user" | "system";
|
|
30161
30142
|
createdAt: string;
|
|
30162
30143
|
createdBy: string;
|
|
30163
|
-
createdByRole: string;
|
|
30164
30144
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30165
30145
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30166
30146
|
type: "EDIT";
|
|
30167
30147
|
content: {
|
|
30168
30148
|
comment?: string | undefined;
|
|
30169
30149
|
};
|
|
30150
|
+
createdByRole?: string | undefined;
|
|
30170
30151
|
createdBySignature?: string | null | undefined;
|
|
30171
30152
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30172
30153
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30177,11 +30158,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30177
30158
|
createdByUserType: "user" | "system";
|
|
30178
30159
|
createdAt: string;
|
|
30179
30160
|
createdBy: string;
|
|
30180
|
-
createdByRole: string;
|
|
30181
30161
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
30182
30162
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30183
30163
|
type: "CUSTOM";
|
|
30184
30164
|
customActionType: string;
|
|
30165
|
+
createdByRole?: string | undefined;
|
|
30185
30166
|
createdBySignature?: string | null | undefined;
|
|
30186
30167
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30187
30168
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -30192,9 +30173,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30192
30173
|
createdByUserType: "user" | "system";
|
|
30193
30174
|
createdAt: string;
|
|
30194
30175
|
createdBy: string;
|
|
30195
|
-
createdByRole: string;
|
|
30196
30176
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
30197
30177
|
status: "Rejected";
|
|
30178
|
+
createdByRole?: string | undefined;
|
|
30198
30179
|
createdBySignature?: string | null | undefined;
|
|
30199
30180
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30200
30181
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -30222,25 +30203,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30222
30203
|
createdAt: string;
|
|
30223
30204
|
createdBy: string;
|
|
30224
30205
|
acceptedAt: string;
|
|
30225
|
-
createdByRole: string;
|
|
30226
30206
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30227
30207
|
createdByUserType?: "user" | "system" | null | undefined;
|
|
30208
|
+
createdByRole?: string | undefined;
|
|
30228
30209
|
createdBySignature?: string | null | undefined;
|
|
30229
30210
|
} | null | undefined;
|
|
30230
30211
|
REGISTERED?: {
|
|
30231
30212
|
createdAt: string;
|
|
30232
30213
|
createdBy: string;
|
|
30233
30214
|
acceptedAt: string;
|
|
30234
|
-
createdByRole: string;
|
|
30235
30215
|
registrationNumber: string;
|
|
30236
30216
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30237
30217
|
createdByUserType?: "user" | "system" | null | undefined;
|
|
30218
|
+
createdByRole?: string | undefined;
|
|
30238
30219
|
createdBySignature?: string | null | undefined;
|
|
30239
30220
|
} | null | undefined;
|
|
30240
30221
|
};
|
|
30241
30222
|
createdAt: string;
|
|
30242
30223
|
createdBy: string;
|
|
30243
|
-
updatedByUserRole: string;
|
|
30244
30224
|
updatedAt: string;
|
|
30245
30225
|
trackingId: string;
|
|
30246
30226
|
potentialDuplicates: {
|
|
@@ -30252,6 +30232,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30252
30232
|
dateOfEvent?: string | null | undefined;
|
|
30253
30233
|
placeOfEvent?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30254
30234
|
createdByUserType?: "user" | "system" | null | undefined;
|
|
30235
|
+
updatedByUserRole?: string | null | undefined;
|
|
30255
30236
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
30256
30237
|
createdBySignature?: string | null | undefined;
|
|
30257
30238
|
updatedAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -30274,10 +30255,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30274
30255
|
createdByUserType: "user" | "system";
|
|
30275
30256
|
createdAt: string;
|
|
30276
30257
|
createdBy: string;
|
|
30277
|
-
createdByRole: string;
|
|
30278
30258
|
declaration: Record<string, unknown>;
|
|
30279
30259
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30280
30260
|
type: "CREATE";
|
|
30261
|
+
createdByRole?: string | undefined;
|
|
30281
30262
|
createdBySignature?: string | null | undefined;
|
|
30282
30263
|
createdAtLocation?: string | null | undefined;
|
|
30283
30264
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30288,13 +30269,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30288
30269
|
createdByUserType: "user" | "system";
|
|
30289
30270
|
createdAt: string;
|
|
30290
30271
|
createdBy: string;
|
|
30291
|
-
createdByRole: string;
|
|
30292
30272
|
declaration: Record<string, unknown>;
|
|
30293
30273
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30294
30274
|
type: "REJECT";
|
|
30295
30275
|
content: {
|
|
30296
30276
|
reason: string;
|
|
30297
30277
|
};
|
|
30278
|
+
createdByRole?: string | undefined;
|
|
30298
30279
|
createdBySignature?: string | null | undefined;
|
|
30299
30280
|
createdAtLocation?: string | null | undefined;
|
|
30300
30281
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30305,7 +30286,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30305
30286
|
createdByUserType: "user" | "system";
|
|
30306
30287
|
createdAt: string;
|
|
30307
30288
|
createdBy: string;
|
|
30308
|
-
createdByRole: string;
|
|
30309
30289
|
declaration: Record<string, unknown>;
|
|
30310
30290
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30311
30291
|
type: "DUPLICATE_DETECTED";
|
|
@@ -30315,6 +30295,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30315
30295
|
trackingId: string;
|
|
30316
30296
|
}[];
|
|
30317
30297
|
};
|
|
30298
|
+
createdByRole?: string | undefined;
|
|
30318
30299
|
createdBySignature?: string | null | undefined;
|
|
30319
30300
|
createdAtLocation?: string | null | undefined;
|
|
30320
30301
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30325,10 +30306,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30325
30306
|
createdByUserType: "user" | "system";
|
|
30326
30307
|
createdAt: string;
|
|
30327
30308
|
createdBy: string;
|
|
30328
|
-
createdByRole: string;
|
|
30329
30309
|
declaration: Record<string, unknown>;
|
|
30330
30310
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30331
30311
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
30312
|
+
createdByRole?: string | undefined;
|
|
30332
30313
|
createdBySignature?: string | null | undefined;
|
|
30333
30314
|
createdAtLocation?: string | null | undefined;
|
|
30334
30315
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30339,10 +30320,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30339
30320
|
createdByUserType: "user" | "system";
|
|
30340
30321
|
createdAt: string;
|
|
30341
30322
|
createdBy: string;
|
|
30342
|
-
createdByRole: string;
|
|
30343
30323
|
declaration: Record<string, unknown>;
|
|
30344
30324
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30345
30325
|
type: "MARK_AS_DUPLICATE";
|
|
30326
|
+
createdByRole?: string | undefined;
|
|
30346
30327
|
createdBySignature?: string | null | undefined;
|
|
30347
30328
|
createdAtLocation?: string | null | undefined;
|
|
30348
30329
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30356,13 +30337,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30356
30337
|
createdByUserType: "user" | "system";
|
|
30357
30338
|
createdAt: string;
|
|
30358
30339
|
createdBy: string;
|
|
30359
|
-
createdByRole: string;
|
|
30360
30340
|
declaration: Record<string, unknown>;
|
|
30361
30341
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30362
30342
|
type: "ARCHIVE";
|
|
30363
30343
|
content: {
|
|
30364
30344
|
reason: string;
|
|
30365
30345
|
};
|
|
30346
|
+
createdByRole?: string | undefined;
|
|
30366
30347
|
createdBySignature?: string | null | undefined;
|
|
30367
30348
|
createdAtLocation?: string | null | undefined;
|
|
30368
30349
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30373,10 +30354,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30373
30354
|
createdByUserType: "user" | "system";
|
|
30374
30355
|
createdAt: string;
|
|
30375
30356
|
createdBy: string;
|
|
30376
|
-
createdByRole: string;
|
|
30377
30357
|
declaration: Record<string, unknown>;
|
|
30378
30358
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30379
30359
|
type: "NOTIFY";
|
|
30360
|
+
createdByRole?: string | undefined;
|
|
30380
30361
|
createdBySignature?: string | null | undefined;
|
|
30381
30362
|
createdAtLocation?: string | null | undefined;
|
|
30382
30363
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30387,10 +30368,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30387
30368
|
createdByUserType: "user" | "system";
|
|
30388
30369
|
createdAt: string;
|
|
30389
30370
|
createdBy: string;
|
|
30390
|
-
createdByRole: string;
|
|
30391
30371
|
declaration: Record<string, unknown>;
|
|
30392
30372
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30393
30373
|
type: "REGISTER";
|
|
30374
|
+
createdByRole?: string | undefined;
|
|
30394
30375
|
createdBySignature?: string | null | undefined;
|
|
30395
30376
|
createdAtLocation?: string | null | undefined;
|
|
30396
30377
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30402,10 +30383,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30402
30383
|
createdByUserType: "user" | "system";
|
|
30403
30384
|
createdAt: string;
|
|
30404
30385
|
createdBy: string;
|
|
30405
|
-
createdByRole: string;
|
|
30406
30386
|
declaration: Record<string, unknown>;
|
|
30407
30387
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30408
30388
|
type: "DECLARE";
|
|
30389
|
+
createdByRole?: string | undefined;
|
|
30409
30390
|
createdBySignature?: string | null | undefined;
|
|
30410
30391
|
createdAtLocation?: string | null | undefined;
|
|
30411
30392
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30416,11 +30397,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30416
30397
|
createdByUserType: "user" | "system";
|
|
30417
30398
|
createdAt: string;
|
|
30418
30399
|
createdBy: string;
|
|
30419
|
-
createdByRole: string;
|
|
30420
30400
|
declaration: Record<string, unknown>;
|
|
30421
30401
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30422
30402
|
type: "ASSIGN";
|
|
30423
30403
|
assignedTo: string;
|
|
30404
|
+
createdByRole?: string | undefined;
|
|
30424
30405
|
createdBySignature?: string | null | undefined;
|
|
30425
30406
|
createdAtLocation?: string | null | undefined;
|
|
30426
30407
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30431,10 +30412,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30431
30412
|
createdByUserType: "user" | "system";
|
|
30432
30413
|
createdAt: string;
|
|
30433
30414
|
createdBy: string;
|
|
30434
|
-
createdByRole: string;
|
|
30435
30415
|
declaration: Record<string, unknown>;
|
|
30436
30416
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30437
30417
|
type: "REQUEST_CORRECTION";
|
|
30418
|
+
createdByRole?: string | undefined;
|
|
30438
30419
|
createdBySignature?: string | null | undefined;
|
|
30439
30420
|
createdAtLocation?: string | null | undefined;
|
|
30440
30421
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30445,11 +30426,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30445
30426
|
createdByUserType: "user" | "system";
|
|
30446
30427
|
createdAt: string;
|
|
30447
30428
|
createdBy: string;
|
|
30448
|
-
createdByRole: string;
|
|
30449
30429
|
declaration: Record<string, unknown>;
|
|
30450
30430
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30451
30431
|
type: "APPROVE_CORRECTION";
|
|
30452
30432
|
requestId: string;
|
|
30433
|
+
createdByRole?: string | undefined;
|
|
30453
30434
|
createdBySignature?: string | null | undefined;
|
|
30454
30435
|
createdAtLocation?: string | null | undefined;
|
|
30455
30436
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30460,7 +30441,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30460
30441
|
createdByUserType: "user" | "system";
|
|
30461
30442
|
createdAt: string;
|
|
30462
30443
|
createdBy: string;
|
|
30463
|
-
createdByRole: string;
|
|
30464
30444
|
declaration: Record<string, unknown>;
|
|
30465
30445
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30466
30446
|
type: "REJECT_CORRECTION";
|
|
@@ -30468,6 +30448,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30468
30448
|
content: {
|
|
30469
30449
|
reason: string;
|
|
30470
30450
|
};
|
|
30451
|
+
createdByRole?: string | undefined;
|
|
30471
30452
|
createdBySignature?: string | null | undefined;
|
|
30472
30453
|
createdAtLocation?: string | null | undefined;
|
|
30473
30454
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30478,10 +30459,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30478
30459
|
createdByUserType: "user" | "system";
|
|
30479
30460
|
createdAt: string;
|
|
30480
30461
|
createdBy: string;
|
|
30481
|
-
createdByRole: string;
|
|
30482
30462
|
declaration: Record<string, unknown>;
|
|
30483
30463
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30484
30464
|
type: "UNASSIGN";
|
|
30465
|
+
createdByRole?: string | undefined;
|
|
30485
30466
|
createdBySignature?: string | null | undefined;
|
|
30486
30467
|
createdAtLocation?: string | null | undefined;
|
|
30487
30468
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30492,10 +30473,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30492
30473
|
createdByUserType: "user" | "system";
|
|
30493
30474
|
createdAt: string;
|
|
30494
30475
|
createdBy: string;
|
|
30495
|
-
createdByRole: string;
|
|
30496
30476
|
declaration: Record<string, unknown>;
|
|
30497
30477
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30498
30478
|
type: "PRINT_CERTIFICATE";
|
|
30479
|
+
createdByRole?: string | undefined;
|
|
30499
30480
|
createdBySignature?: string | null | undefined;
|
|
30500
30481
|
createdAtLocation?: string | null | undefined;
|
|
30501
30482
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30509,10 +30490,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30509
30490
|
createdByUserType: "user" | "system";
|
|
30510
30491
|
createdAt: string;
|
|
30511
30492
|
createdBy: string;
|
|
30512
|
-
createdByRole: string;
|
|
30513
30493
|
declaration: Record<string, unknown>;
|
|
30514
30494
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30515
30495
|
type: "READ";
|
|
30496
|
+
createdByRole?: string | undefined;
|
|
30516
30497
|
createdBySignature?: string | null | undefined;
|
|
30517
30498
|
createdAtLocation?: string | null | undefined;
|
|
30518
30499
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30523,13 +30504,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30523
30504
|
createdByUserType: "user" | "system";
|
|
30524
30505
|
createdAt: string;
|
|
30525
30506
|
createdBy: string;
|
|
30526
|
-
createdByRole: string;
|
|
30527
30507
|
declaration: Record<string, unknown>;
|
|
30528
30508
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30529
30509
|
type: "EDIT";
|
|
30530
30510
|
content: {
|
|
30531
30511
|
comment?: string | undefined;
|
|
30532
30512
|
};
|
|
30513
|
+
createdByRole?: string | undefined;
|
|
30533
30514
|
createdBySignature?: string | null | undefined;
|
|
30534
30515
|
createdAtLocation?: string | null | undefined;
|
|
30535
30516
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30540,11 +30521,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30540
30521
|
createdByUserType: "user" | "system";
|
|
30541
30522
|
createdAt: string;
|
|
30542
30523
|
createdBy: string;
|
|
30543
|
-
createdByRole: string;
|
|
30544
30524
|
declaration: Record<string, unknown>;
|
|
30545
30525
|
status: "Requested" | "Accepted" | "Rejected";
|
|
30546
30526
|
type: "CUSTOM";
|
|
30547
30527
|
customActionType: string;
|
|
30528
|
+
createdByRole?: string | undefined;
|
|
30548
30529
|
createdBySignature?: string | null | undefined;
|
|
30549
30530
|
createdAtLocation?: string | null | undefined;
|
|
30550
30531
|
annotation?: Record<string, unknown> | null | undefined;
|
|
@@ -30555,9 +30536,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30555
30536
|
createdByUserType: "user" | "system";
|
|
30556
30537
|
createdAt: string;
|
|
30557
30538
|
createdBy: string;
|
|
30558
|
-
createdByRole: string;
|
|
30559
30539
|
type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
30560
30540
|
status: "Rejected";
|
|
30541
|
+
createdByRole?: string | undefined;
|
|
30561
30542
|
createdBySignature?: string | null | undefined;
|
|
30562
30543
|
createdAtLocation?: string | null | undefined;
|
|
30563
30544
|
originalActionId?: string | null | undefined;
|
|
@@ -30586,7 +30567,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30586
30567
|
} | {
|
|
30587
30568
|
type: "system";
|
|
30588
30569
|
id: string;
|
|
30589
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
30590
30570
|
signature?: undefined;
|
|
30591
30571
|
primaryOfficeId?: undefined;
|
|
30592
30572
|
administrativeAreaId?: undefined;
|
|
@@ -30617,7 +30597,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30617
30597
|
id: string;
|
|
30618
30598
|
name: string;
|
|
30619
30599
|
type: "system";
|
|
30620
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
30621
30600
|
primaryOfficeId?: undefined;
|
|
30622
30601
|
administrativeAreaId?: undefined;
|
|
30623
30602
|
signature?: undefined;
|
|
@@ -30647,7 +30626,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30647
30626
|
id: string;
|
|
30648
30627
|
name: string;
|
|
30649
30628
|
type: "system";
|
|
30650
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
30651
30629
|
primaryOfficeId?: undefined;
|
|
30652
30630
|
administrativeAreaId?: undefined;
|
|
30653
30631
|
signature?: undefined;
|
|
@@ -30674,7 +30652,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30674
30652
|
declaration: Record<string, any>;
|
|
30675
30653
|
annotation: Record<string, any> | null;
|
|
30676
30654
|
createdBy: string;
|
|
30677
|
-
createdByRole: string;
|
|
30655
|
+
createdByRole: string | null;
|
|
30678
30656
|
createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
|
|
30679
30657
|
createdBySignature: string | null;
|
|
30680
30658
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
|
|
@@ -30708,7 +30686,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30708
30686
|
} | {
|
|
30709
30687
|
type: "system";
|
|
30710
30688
|
id: string;
|
|
30711
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
30712
30689
|
signature?: undefined;
|
|
30713
30690
|
primaryOfficeId?: undefined;
|
|
30714
30691
|
administrativeAreaId?: undefined;
|
|
@@ -30768,7 +30745,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30768
30745
|
} | {
|
|
30769
30746
|
type: "system";
|
|
30770
30747
|
id: string;
|
|
30771
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
30772
30748
|
signature?: undefined;
|
|
30773
30749
|
primaryOfficeId?: undefined;
|
|
30774
30750
|
administrativeAreaId?: undefined;
|
|
@@ -30791,7 +30767,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30791
30767
|
} | {
|
|
30792
30768
|
type: "system";
|
|
30793
30769
|
id: string;
|
|
30794
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
30795
30770
|
signature?: undefined;
|
|
30796
30771
|
primaryOfficeId?: undefined;
|
|
30797
30772
|
administrativeAreaId?: undefined;
|
|
@@ -31078,7 +31053,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
31078
31053
|
} | {
|
|
31079
31054
|
type: "system";
|
|
31080
31055
|
id: string;
|
|
31081
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
31082
31056
|
signature?: undefined;
|
|
31083
31057
|
primaryOfficeId?: undefined;
|
|
31084
31058
|
administrativeAreaId?: undefined;
|
|
@@ -31107,7 +31081,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
31107
31081
|
} | {
|
|
31108
31082
|
type: "system";
|
|
31109
31083
|
id: string;
|
|
31110
|
-
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | "CITIZEN_PORTAL";
|
|
31111
31084
|
signature?: undefined;
|
|
31112
31085
|
primaryOfficeId?: undefined;
|
|
31113
31086
|
administrativeAreaId?: undefined;
|
|
@@ -31143,6 +31116,41 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
31143
31116
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
31144
31117
|
}>;
|
|
31145
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
|
+
}>>;
|
|
31146
31154
|
}>>;
|
|
31147
31155
|
/** @knipignore */
|
|
31148
31156
|
export type AppRouter = typeof appRouter;
|