@opencrvs/toolkit 1.9.7-rc.d44d88a → 1.9.7-rc.d83a5b8

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