@opencrvs/toolkit 1.9.7-rc.7aada57 → 1.9.7-rc.80d99a5

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";
14
15
  signature?: undefined;
15
16
  primaryOfficeId?: undefined;
16
17
  administrativeAreaId?: undefined;
@@ -33,6 +34,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
33
34
  } | {
34
35
  type: "system";
35
36
  id: string;
37
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
36
38
  signature?: undefined;
37
39
  primaryOfficeId?: undefined;
38
40
  administrativeAreaId?: undefined;
@@ -55,6 +57,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
55
57
  } | {
56
58
  type: "system";
57
59
  id: string;
60
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
58
61
  signature?: undefined;
59
62
  primaryOfficeId?: undefined;
60
63
  administrativeAreaId?: undefined;
@@ -26728,10 +26731,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26728
26731
  createdByUserType: "user" | "system";
26729
26732
  createdAt: string;
26730
26733
  createdBy: string;
26734
+ createdByRole: string;
26731
26735
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26732
26736
  status: "Requested" | "Accepted" | "Rejected";
26733
26737
  type: "CREATE";
26734
- createdByRole?: string | null | undefined;
26735
26738
  createdBySignature?: string | null | undefined;
26736
26739
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26737
26740
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26742,13 +26745,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26742
26745
  createdByUserType: "user" | "system";
26743
26746
  createdAt: string;
26744
26747
  createdBy: string;
26748
+ createdByRole: string;
26745
26749
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26746
26750
  status: "Requested" | "Accepted" | "Rejected";
26747
26751
  type: "REJECT";
26748
26752
  content: {
26749
26753
  reason: string;
26750
26754
  };
26751
- createdByRole?: string | null | undefined;
26752
26755
  createdBySignature?: string | null | undefined;
26753
26756
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26754
26757
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26759,6 +26762,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26759
26762
  createdByUserType: "user" | "system";
26760
26763
  createdAt: string;
26761
26764
  createdBy: string;
26765
+ createdByRole: string;
26762
26766
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26763
26767
  status: "Requested" | "Accepted" | "Rejected";
26764
26768
  type: "DUPLICATE_DETECTED";
@@ -26768,7 +26772,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26768
26772
  trackingId: string;
26769
26773
  }[];
26770
26774
  };
26771
- createdByRole?: string | null | undefined;
26772
26775
  createdBySignature?: string | null | undefined;
26773
26776
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26774
26777
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26779,10 +26782,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26779
26782
  createdByUserType: "user" | "system";
26780
26783
  createdAt: string;
26781
26784
  createdBy: string;
26785
+ createdByRole: string;
26782
26786
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26783
26787
  status: "Requested" | "Accepted" | "Rejected";
26784
26788
  type: "MARK_AS_NOT_DUPLICATE";
26785
- createdByRole?: string | null | undefined;
26786
26789
  createdBySignature?: string | null | undefined;
26787
26790
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26788
26791
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26793,10 +26796,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26793
26796
  createdByUserType: "user" | "system";
26794
26797
  createdAt: string;
26795
26798
  createdBy: string;
26799
+ createdByRole: string;
26796
26800
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26797
26801
  status: "Requested" | "Accepted" | "Rejected";
26798
26802
  type: "MARK_AS_DUPLICATE";
26799
- createdByRole?: string | null | undefined;
26800
26803
  createdBySignature?: string | null | undefined;
26801
26804
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26802
26805
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26810,13 +26813,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26810
26813
  createdByUserType: "user" | "system";
26811
26814
  createdAt: string;
26812
26815
  createdBy: string;
26816
+ createdByRole: string;
26813
26817
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26814
26818
  status: "Requested" | "Accepted" | "Rejected";
26815
26819
  type: "ARCHIVE";
26816
26820
  content: {
26817
26821
  reason: string;
26818
26822
  };
26819
- createdByRole?: string | null | undefined;
26820
26823
  createdBySignature?: string | null | undefined;
26821
26824
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26822
26825
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26827,10 +26830,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26827
26830
  createdByUserType: "user" | "system";
26828
26831
  createdAt: string;
26829
26832
  createdBy: string;
26833
+ createdByRole: string;
26830
26834
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26831
26835
  status: "Requested" | "Accepted" | "Rejected";
26832
26836
  type: "NOTIFY";
26833
- createdByRole?: string | null | undefined;
26834
26837
  createdBySignature?: string | null | undefined;
26835
26838
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26836
26839
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26841,10 +26844,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26841
26844
  createdByUserType: "user" | "system";
26842
26845
  createdAt: string;
26843
26846
  createdBy: string;
26847
+ createdByRole: string;
26844
26848
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26845
26849
  status: "Requested" | "Accepted" | "Rejected";
26846
26850
  type: "REGISTER";
26847
- createdByRole?: string | null | undefined;
26848
26851
  createdBySignature?: string | null | undefined;
26849
26852
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26850
26853
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26856,10 +26859,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26856
26859
  createdByUserType: "user" | "system";
26857
26860
  createdAt: string;
26858
26861
  createdBy: string;
26862
+ createdByRole: string;
26859
26863
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26860
26864
  status: "Requested" | "Accepted" | "Rejected";
26861
26865
  type: "DECLARE";
26862
- createdByRole?: string | null | undefined;
26863
26866
  createdBySignature?: string | null | undefined;
26864
26867
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26865
26868
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26870,11 +26873,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26870
26873
  createdByUserType: "user" | "system";
26871
26874
  createdAt: string;
26872
26875
  createdBy: string;
26876
+ createdByRole: string;
26873
26877
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26874
26878
  status: "Requested" | "Accepted" | "Rejected";
26875
26879
  type: "ASSIGN";
26876
26880
  assignedTo: string;
26877
- createdByRole?: string | null | undefined;
26878
26881
  createdBySignature?: string | null | undefined;
26879
26882
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26880
26883
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26885,10 +26888,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26885
26888
  createdByUserType: "user" | "system";
26886
26889
  createdAt: string;
26887
26890
  createdBy: string;
26891
+ createdByRole: string;
26888
26892
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26889
26893
  status: "Requested" | "Accepted" | "Rejected";
26890
26894
  type: "REQUEST_CORRECTION";
26891
- createdByRole?: string | null | undefined;
26892
26895
  createdBySignature?: string | null | undefined;
26893
26896
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26894
26897
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26899,11 +26902,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26899
26902
  createdByUserType: "user" | "system";
26900
26903
  createdAt: string;
26901
26904
  createdBy: string;
26905
+ createdByRole: string;
26902
26906
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26903
26907
  status: "Requested" | "Accepted" | "Rejected";
26904
26908
  type: "APPROVE_CORRECTION";
26905
26909
  requestId: string;
26906
- createdByRole?: string | null | undefined;
26907
26910
  createdBySignature?: string | null | undefined;
26908
26911
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26909
26912
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26914,6 +26917,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26914
26917
  createdByUserType: "user" | "system";
26915
26918
  createdAt: string;
26916
26919
  createdBy: string;
26920
+ createdByRole: string;
26917
26921
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26918
26922
  status: "Requested" | "Accepted" | "Rejected";
26919
26923
  type: "REJECT_CORRECTION";
@@ -26921,7 +26925,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26921
26925
  content: {
26922
26926
  reason: string;
26923
26927
  };
26924
- createdByRole?: string | null | undefined;
26925
26928
  createdBySignature?: string | null | undefined;
26926
26929
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26927
26930
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26932,10 +26935,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26932
26935
  createdByUserType: "user" | "system";
26933
26936
  createdAt: string;
26934
26937
  createdBy: string;
26938
+ createdByRole: string;
26935
26939
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26936
26940
  status: "Requested" | "Accepted" | "Rejected";
26937
26941
  type: "UNASSIGN";
26938
- createdByRole?: string | null | undefined;
26939
26942
  createdBySignature?: string | null | undefined;
26940
26943
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26941
26944
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26946,10 +26949,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26946
26949
  createdByUserType: "user" | "system";
26947
26950
  createdAt: string;
26948
26951
  createdBy: string;
26952
+ createdByRole: string;
26949
26953
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26950
26954
  status: "Requested" | "Accepted" | "Rejected";
26951
26955
  type: "PRINT_CERTIFICATE";
26952
- createdByRole?: string | null | undefined;
26953
26956
  createdBySignature?: string | null | undefined;
26954
26957
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26955
26958
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26963,10 +26966,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26963
26966
  createdByUserType: "user" | "system";
26964
26967
  createdAt: string;
26965
26968
  createdBy: string;
26969
+ createdByRole: string;
26966
26970
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26967
26971
  status: "Requested" | "Accepted" | "Rejected";
26968
26972
  type: "READ";
26969
- createdByRole?: string | null | undefined;
26970
26973
  createdBySignature?: string | null | undefined;
26971
26974
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26972
26975
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26977,13 +26980,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26977
26980
  createdByUserType: "user" | "system";
26978
26981
  createdAt: string;
26979
26982
  createdBy: string;
26983
+ createdByRole: string;
26980
26984
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26981
26985
  status: "Requested" | "Accepted" | "Rejected";
26982
26986
  type: "EDIT";
26983
26987
  content: {
26984
26988
  comment?: string | undefined;
26985
26989
  };
26986
- createdByRole?: string | null | undefined;
26987
26990
  createdBySignature?: string | null | undefined;
26988
26991
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26989
26992
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26994,11 +26997,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26994
26997
  createdByUserType: "user" | "system";
26995
26998
  createdAt: string;
26996
26999
  createdBy: string;
27000
+ createdByRole: string;
26997
27001
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26998
27002
  status: "Requested" | "Accepted" | "Rejected";
26999
27003
  type: "CUSTOM";
27000
27004
  customActionType: string;
27001
- createdByRole?: string | null | undefined;
27002
27005
  createdBySignature?: string | null | undefined;
27003
27006
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27004
27007
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27009,9 +27012,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27009
27012
  createdByUserType: "user" | "system";
27010
27013
  createdAt: string;
27011
27014
  createdBy: string;
27015
+ createdByRole: string;
27012
27016
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
27013
27017
  status: "Rejected";
27014
- createdByRole?: string | null | undefined;
27015
27018
  createdBySignature?: string | null | undefined;
27016
27019
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27017
27020
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27021,9 +27024,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27021
27024
  meta: import("trpc-to-openapi").OpenApiMeta;
27022
27025
  }>;
27023
27026
  get: import("@trpc/server").TRPCQueryProcedure<{
27024
- input: {
27025
- eventId: string;
27026
- };
27027
+ input: string;
27027
27028
  output: {
27028
27029
  id: string & import("zod").$brand<"UUID">;
27029
27030
  type: string;
@@ -27035,10 +27036,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27035
27036
  createdByUserType: "user" | "system";
27036
27037
  createdAt: string;
27037
27038
  createdBy: string;
27039
+ createdByRole: string;
27038
27040
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27039
27041
  status: "Requested" | "Accepted" | "Rejected";
27040
27042
  type: "CREATE";
27041
- createdByRole?: string | null | undefined;
27042
27043
  createdBySignature?: string | null | undefined;
27043
27044
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27044
27045
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27049,13 +27050,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27049
27050
  createdByUserType: "user" | "system";
27050
27051
  createdAt: string;
27051
27052
  createdBy: string;
27053
+ createdByRole: string;
27052
27054
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27053
27055
  status: "Requested" | "Accepted" | "Rejected";
27054
27056
  type: "REJECT";
27055
27057
  content: {
27056
27058
  reason: string;
27057
27059
  };
27058
- createdByRole?: string | null | undefined;
27059
27060
  createdBySignature?: string | null | undefined;
27060
27061
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27061
27062
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27066,6 +27067,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27066
27067
  createdByUserType: "user" | "system";
27067
27068
  createdAt: string;
27068
27069
  createdBy: string;
27070
+ createdByRole: string;
27069
27071
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27070
27072
  status: "Requested" | "Accepted" | "Rejected";
27071
27073
  type: "DUPLICATE_DETECTED";
@@ -27075,7 +27077,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27075
27077
  trackingId: string;
27076
27078
  }[];
27077
27079
  };
27078
- createdByRole?: string | null | undefined;
27079
27080
  createdBySignature?: string | null | undefined;
27080
27081
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27081
27082
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27086,10 +27087,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27086
27087
  createdByUserType: "user" | "system";
27087
27088
  createdAt: string;
27088
27089
  createdBy: string;
27090
+ createdByRole: string;
27089
27091
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27090
27092
  status: "Requested" | "Accepted" | "Rejected";
27091
27093
  type: "MARK_AS_NOT_DUPLICATE";
27092
- createdByRole?: string | null | undefined;
27093
27094
  createdBySignature?: string | null | undefined;
27094
27095
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27095
27096
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27100,10 +27101,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27100
27101
  createdByUserType: "user" | "system";
27101
27102
  createdAt: string;
27102
27103
  createdBy: string;
27104
+ createdByRole: string;
27103
27105
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27104
27106
  status: "Requested" | "Accepted" | "Rejected";
27105
27107
  type: "MARK_AS_DUPLICATE";
27106
- createdByRole?: string | null | undefined;
27107
27108
  createdBySignature?: string | null | undefined;
27108
27109
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27109
27110
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27117,13 +27118,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27117
27118
  createdByUserType: "user" | "system";
27118
27119
  createdAt: string;
27119
27120
  createdBy: string;
27121
+ createdByRole: string;
27120
27122
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27121
27123
  status: "Requested" | "Accepted" | "Rejected";
27122
27124
  type: "ARCHIVE";
27123
27125
  content: {
27124
27126
  reason: string;
27125
27127
  };
27126
- createdByRole?: string | null | undefined;
27127
27128
  createdBySignature?: string | null | undefined;
27128
27129
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27129
27130
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27134,10 +27135,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27134
27135
  createdByUserType: "user" | "system";
27135
27136
  createdAt: string;
27136
27137
  createdBy: string;
27138
+ createdByRole: string;
27137
27139
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27138
27140
  status: "Requested" | "Accepted" | "Rejected";
27139
27141
  type: "NOTIFY";
27140
- createdByRole?: string | null | undefined;
27141
27142
  createdBySignature?: string | null | undefined;
27142
27143
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27143
27144
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27148,10 +27149,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27148
27149
  createdByUserType: "user" | "system";
27149
27150
  createdAt: string;
27150
27151
  createdBy: string;
27152
+ createdByRole: string;
27151
27153
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27152
27154
  status: "Requested" | "Accepted" | "Rejected";
27153
27155
  type: "REGISTER";
27154
- createdByRole?: string | null | undefined;
27155
27156
  createdBySignature?: string | null | undefined;
27156
27157
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27157
27158
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27163,10 +27164,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27163
27164
  createdByUserType: "user" | "system";
27164
27165
  createdAt: string;
27165
27166
  createdBy: string;
27167
+ createdByRole: string;
27166
27168
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27167
27169
  status: "Requested" | "Accepted" | "Rejected";
27168
27170
  type: "DECLARE";
27169
- createdByRole?: string | null | undefined;
27170
27171
  createdBySignature?: string | null | undefined;
27171
27172
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27172
27173
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27177,11 +27178,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27177
27178
  createdByUserType: "user" | "system";
27178
27179
  createdAt: string;
27179
27180
  createdBy: string;
27181
+ createdByRole: string;
27180
27182
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27181
27183
  status: "Requested" | "Accepted" | "Rejected";
27182
27184
  type: "ASSIGN";
27183
27185
  assignedTo: string;
27184
- createdByRole?: string | null | undefined;
27185
27186
  createdBySignature?: string | null | undefined;
27186
27187
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27187
27188
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27192,10 +27193,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27192
27193
  createdByUserType: "user" | "system";
27193
27194
  createdAt: string;
27194
27195
  createdBy: string;
27196
+ createdByRole: string;
27195
27197
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27196
27198
  status: "Requested" | "Accepted" | "Rejected";
27197
27199
  type: "REQUEST_CORRECTION";
27198
- createdByRole?: string | null | undefined;
27199
27200
  createdBySignature?: string | null | undefined;
27200
27201
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27201
27202
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27206,11 +27207,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27206
27207
  createdByUserType: "user" | "system";
27207
27208
  createdAt: string;
27208
27209
  createdBy: string;
27210
+ createdByRole: string;
27209
27211
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27210
27212
  status: "Requested" | "Accepted" | "Rejected";
27211
27213
  type: "APPROVE_CORRECTION";
27212
27214
  requestId: string;
27213
- createdByRole?: string | null | undefined;
27214
27215
  createdBySignature?: string | null | undefined;
27215
27216
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27216
27217
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27221,6 +27222,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27221
27222
  createdByUserType: "user" | "system";
27222
27223
  createdAt: string;
27223
27224
  createdBy: string;
27225
+ createdByRole: string;
27224
27226
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27225
27227
  status: "Requested" | "Accepted" | "Rejected";
27226
27228
  type: "REJECT_CORRECTION";
@@ -27228,7 +27230,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27228
27230
  content: {
27229
27231
  reason: string;
27230
27232
  };
27231
- createdByRole?: string | null | undefined;
27232
27233
  createdBySignature?: string | null | undefined;
27233
27234
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27234
27235
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27239,10 +27240,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27239
27240
  createdByUserType: "user" | "system";
27240
27241
  createdAt: string;
27241
27242
  createdBy: string;
27243
+ createdByRole: string;
27242
27244
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27243
27245
  status: "Requested" | "Accepted" | "Rejected";
27244
27246
  type: "UNASSIGN";
27245
- createdByRole?: string | null | undefined;
27246
27247
  createdBySignature?: string | null | undefined;
27247
27248
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27248
27249
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27253,10 +27254,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27253
27254
  createdByUserType: "user" | "system";
27254
27255
  createdAt: string;
27255
27256
  createdBy: string;
27257
+ createdByRole: string;
27256
27258
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27257
27259
  status: "Requested" | "Accepted" | "Rejected";
27258
27260
  type: "PRINT_CERTIFICATE";
27259
- createdByRole?: string | null | undefined;
27260
27261
  createdBySignature?: string | null | undefined;
27261
27262
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27262
27263
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27270,10 +27271,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27270
27271
  createdByUserType: "user" | "system";
27271
27272
  createdAt: string;
27272
27273
  createdBy: string;
27274
+ createdByRole: string;
27273
27275
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27274
27276
  status: "Requested" | "Accepted" | "Rejected";
27275
27277
  type: "READ";
27276
- createdByRole?: string | null | undefined;
27277
27278
  createdBySignature?: string | null | undefined;
27278
27279
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27279
27280
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27284,13 +27285,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27284
27285
  createdByUserType: "user" | "system";
27285
27286
  createdAt: string;
27286
27287
  createdBy: string;
27288
+ createdByRole: string;
27287
27289
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27288
27290
  status: "Requested" | "Accepted" | "Rejected";
27289
27291
  type: "EDIT";
27290
27292
  content: {
27291
27293
  comment?: string | undefined;
27292
27294
  };
27293
- createdByRole?: string | null | undefined;
27294
27295
  createdBySignature?: string | null | undefined;
27295
27296
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27296
27297
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27301,11 +27302,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27301
27302
  createdByUserType: "user" | "system";
27302
27303
  createdAt: string;
27303
27304
  createdBy: string;
27305
+ createdByRole: string;
27304
27306
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27305
27307
  status: "Requested" | "Accepted" | "Rejected";
27306
27308
  type: "CUSTOM";
27307
27309
  customActionType: string;
27308
- createdByRole?: string | null | undefined;
27309
27310
  createdBySignature?: string | null | undefined;
27310
27311
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27311
27312
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27316,9 +27317,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27316
27317
  createdByUserType: "user" | "system";
27317
27318
  createdAt: string;
27318
27319
  createdBy: string;
27320
+ createdByRole: string;
27319
27321
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
27320
27322
  status: "Rejected";
27321
- createdByRole?: string | null | undefined;
27322
27323
  createdBySignature?: string | null | undefined;
27323
27324
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27324
27325
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27342,10 +27343,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27342
27343
  createdByUserType: "user" | "system";
27343
27344
  createdAt: string;
27344
27345
  createdBy: string;
27346
+ createdByRole: string;
27345
27347
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27346
27348
  status: "Requested" | "Accepted" | "Rejected";
27347
27349
  type: "CREATE";
27348
- createdByRole?: string | null | undefined;
27349
27350
  createdBySignature?: string | null | undefined;
27350
27351
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27351
27352
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27356,13 +27357,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27356
27357
  createdByUserType: "user" | "system";
27357
27358
  createdAt: string;
27358
27359
  createdBy: string;
27360
+ createdByRole: string;
27359
27361
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27360
27362
  status: "Requested" | "Accepted" | "Rejected";
27361
27363
  type: "REJECT";
27362
27364
  content: {
27363
27365
  reason: string;
27364
27366
  };
27365
- createdByRole?: string | null | undefined;
27366
27367
  createdBySignature?: string | null | undefined;
27367
27368
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27368
27369
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27373,6 +27374,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27373
27374
  createdByUserType: "user" | "system";
27374
27375
  createdAt: string;
27375
27376
  createdBy: string;
27377
+ createdByRole: string;
27376
27378
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27377
27379
  status: "Requested" | "Accepted" | "Rejected";
27378
27380
  type: "DUPLICATE_DETECTED";
@@ -27382,7 +27384,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27382
27384
  trackingId: string;
27383
27385
  }[];
27384
27386
  };
27385
- createdByRole?: string | null | undefined;
27386
27387
  createdBySignature?: string | null | undefined;
27387
27388
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27388
27389
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27393,10 +27394,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27393
27394
  createdByUserType: "user" | "system";
27394
27395
  createdAt: string;
27395
27396
  createdBy: string;
27397
+ createdByRole: string;
27396
27398
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27397
27399
  status: "Requested" | "Accepted" | "Rejected";
27398
27400
  type: "MARK_AS_NOT_DUPLICATE";
27399
- createdByRole?: string | null | undefined;
27400
27401
  createdBySignature?: string | null | undefined;
27401
27402
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27402
27403
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27407,10 +27408,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27407
27408
  createdByUserType: "user" | "system";
27408
27409
  createdAt: string;
27409
27410
  createdBy: string;
27411
+ createdByRole: string;
27410
27412
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27411
27413
  status: "Requested" | "Accepted" | "Rejected";
27412
27414
  type: "MARK_AS_DUPLICATE";
27413
- createdByRole?: string | null | undefined;
27414
27415
  createdBySignature?: string | null | undefined;
27415
27416
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27416
27417
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27424,13 +27425,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27424
27425
  createdByUserType: "user" | "system";
27425
27426
  createdAt: string;
27426
27427
  createdBy: string;
27428
+ createdByRole: string;
27427
27429
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27428
27430
  status: "Requested" | "Accepted" | "Rejected";
27429
27431
  type: "ARCHIVE";
27430
27432
  content: {
27431
27433
  reason: string;
27432
27434
  };
27433
- createdByRole?: string | null | undefined;
27434
27435
  createdBySignature?: string | null | undefined;
27435
27436
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27436
27437
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27441,10 +27442,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27441
27442
  createdByUserType: "user" | "system";
27442
27443
  createdAt: string;
27443
27444
  createdBy: string;
27445
+ createdByRole: string;
27444
27446
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27445
27447
  status: "Requested" | "Accepted" | "Rejected";
27446
27448
  type: "NOTIFY";
27447
- createdByRole?: string | null | undefined;
27448
27449
  createdBySignature?: string | null | undefined;
27449
27450
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27450
27451
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27455,10 +27456,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27455
27456
  createdByUserType: "user" | "system";
27456
27457
  createdAt: string;
27457
27458
  createdBy: string;
27459
+ createdByRole: string;
27458
27460
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27459
27461
  status: "Requested" | "Accepted" | "Rejected";
27460
27462
  type: "REGISTER";
27461
- createdByRole?: string | null | undefined;
27462
27463
  createdBySignature?: string | null | undefined;
27463
27464
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27464
27465
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27470,10 +27471,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27470
27471
  createdByUserType: "user" | "system";
27471
27472
  createdAt: string;
27472
27473
  createdBy: string;
27474
+ createdByRole: string;
27473
27475
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27474
27476
  status: "Requested" | "Accepted" | "Rejected";
27475
27477
  type: "DECLARE";
27476
- createdByRole?: string | null | undefined;
27477
27478
  createdBySignature?: string | null | undefined;
27478
27479
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27479
27480
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27484,11 +27485,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27484
27485
  createdByUserType: "user" | "system";
27485
27486
  createdAt: string;
27486
27487
  createdBy: string;
27488
+ createdByRole: string;
27487
27489
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27488
27490
  status: "Requested" | "Accepted" | "Rejected";
27489
27491
  type: "ASSIGN";
27490
27492
  assignedTo: string;
27491
- createdByRole?: string | null | undefined;
27492
27493
  createdBySignature?: string | null | undefined;
27493
27494
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27494
27495
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27499,10 +27500,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27499
27500
  createdByUserType: "user" | "system";
27500
27501
  createdAt: string;
27501
27502
  createdBy: string;
27503
+ createdByRole: string;
27502
27504
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27503
27505
  status: "Requested" | "Accepted" | "Rejected";
27504
27506
  type: "REQUEST_CORRECTION";
27505
- createdByRole?: string | null | undefined;
27506
27507
  createdBySignature?: string | null | undefined;
27507
27508
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27508
27509
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27513,11 +27514,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27513
27514
  createdByUserType: "user" | "system";
27514
27515
  createdAt: string;
27515
27516
  createdBy: string;
27517
+ createdByRole: string;
27516
27518
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27517
27519
  status: "Requested" | "Accepted" | "Rejected";
27518
27520
  type: "APPROVE_CORRECTION";
27519
27521
  requestId: string;
27520
- createdByRole?: string | null | undefined;
27521
27522
  createdBySignature?: string | null | undefined;
27522
27523
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27523
27524
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27528,6 +27529,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27528
27529
  createdByUserType: "user" | "system";
27529
27530
  createdAt: string;
27530
27531
  createdBy: string;
27532
+ createdByRole: string;
27531
27533
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27532
27534
  status: "Requested" | "Accepted" | "Rejected";
27533
27535
  type: "REJECT_CORRECTION";
@@ -27535,7 +27537,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27535
27537
  content: {
27536
27538
  reason: string;
27537
27539
  };
27538
- createdByRole?: string | null | undefined;
27539
27540
  createdBySignature?: string | null | undefined;
27540
27541
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27541
27542
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27546,10 +27547,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27546
27547
  createdByUserType: "user" | "system";
27547
27548
  createdAt: string;
27548
27549
  createdBy: string;
27550
+ createdByRole: string;
27549
27551
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27550
27552
  status: "Requested" | "Accepted" | "Rejected";
27551
27553
  type: "UNASSIGN";
27552
- createdByRole?: string | null | undefined;
27553
27554
  createdBySignature?: string | null | undefined;
27554
27555
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27555
27556
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27560,10 +27561,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27560
27561
  createdByUserType: "user" | "system";
27561
27562
  createdAt: string;
27562
27563
  createdBy: string;
27564
+ createdByRole: string;
27563
27565
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27564
27566
  status: "Requested" | "Accepted" | "Rejected";
27565
27567
  type: "PRINT_CERTIFICATE";
27566
- createdByRole?: string | null | undefined;
27567
27568
  createdBySignature?: string | null | undefined;
27568
27569
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27569
27570
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27577,10 +27578,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27577
27578
  createdByUserType: "user" | "system";
27578
27579
  createdAt: string;
27579
27580
  createdBy: string;
27581
+ createdByRole: string;
27580
27582
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27581
27583
  status: "Requested" | "Accepted" | "Rejected";
27582
27584
  type: "READ";
27583
- createdByRole?: string | null | undefined;
27584
27585
  createdBySignature?: string | null | undefined;
27585
27586
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27586
27587
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27591,13 +27592,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27591
27592
  createdByUserType: "user" | "system";
27592
27593
  createdAt: string;
27593
27594
  createdBy: string;
27595
+ createdByRole: string;
27594
27596
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27595
27597
  status: "Requested" | "Accepted" | "Rejected";
27596
27598
  type: "EDIT";
27597
27599
  content: {
27598
27600
  comment?: string | undefined;
27599
27601
  };
27600
- createdByRole?: string | null | undefined;
27601
27602
  createdBySignature?: string | null | undefined;
27602
27603
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27603
27604
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27608,11 +27609,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27608
27609
  createdByUserType: "user" | "system";
27609
27610
  createdAt: string;
27610
27611
  createdBy: string;
27612
+ createdByRole: string;
27611
27613
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27612
27614
  status: "Requested" | "Accepted" | "Rejected";
27613
27615
  type: "CUSTOM";
27614
27616
  customActionType: string;
27615
- createdByRole?: string | null | undefined;
27616
27617
  createdBySignature?: string | null | undefined;
27617
27618
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27618
27619
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27623,9 +27624,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27623
27624
  createdByUserType: "user" | "system";
27624
27625
  createdAt: string;
27625
27626
  createdBy: string;
27627
+ createdByRole: string;
27626
27628
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
27627
27629
  status: "Rejected";
27628
- createdByRole?: string | null | undefined;
27629
27630
  createdBySignature?: string | null | undefined;
27630
27631
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27631
27632
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27656,6 +27657,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27656
27657
  } | {
27657
27658
  type: "system";
27658
27659
  id: string;
27660
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27659
27661
  signature?: undefined;
27660
27662
  primaryOfficeId?: undefined;
27661
27663
  administrativeAreaId?: undefined;
@@ -27679,8 +27681,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27679
27681
  createdByUserType: "user" | "system";
27680
27682
  createdAt: string;
27681
27683
  createdBy: string;
27684
+ createdByRole: string;
27682
27685
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27683
- createdByRole?: string | null | undefined;
27684
27686
  createdBySignature?: string | null | undefined;
27685
27687
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27686
27688
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27712,8 +27714,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27712
27714
  createdByUserType: "user" | "system";
27713
27715
  createdAt: string;
27714
27716
  createdBy: string;
27717
+ createdByRole: string;
27715
27718
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27716
- createdByRole?: string | null | undefined;
27717
27719
  createdBySignature?: string | null | undefined;
27718
27720
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27719
27721
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27735,6 +27737,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27735
27737
  } | {
27736
27738
  type: "system";
27737
27739
  id: string;
27740
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27738
27741
  signature?: undefined;
27739
27742
  primaryOfficeId?: undefined;
27740
27743
  administrativeAreaId?: undefined;
@@ -27757,6 +27760,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27757
27760
  } | {
27758
27761
  type: "system";
27759
27762
  id: string;
27763
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27760
27764
  signature?: undefined;
27761
27765
  primaryOfficeId?: undefined;
27762
27766
  administrativeAreaId?: undefined;
@@ -27801,6 +27805,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27801
27805
  } | {
27802
27806
  type: "system";
27803
27807
  id: string;
27808
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27804
27809
  signature?: undefined;
27805
27810
  primaryOfficeId?: undefined;
27806
27811
  administrativeAreaId?: undefined;
@@ -27832,10 +27837,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27832
27837
  createdByUserType: "user" | "system";
27833
27838
  createdAt: string;
27834
27839
  createdBy: string;
27840
+ createdByRole: string;
27835
27841
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27836
27842
  status: "Requested" | "Accepted" | "Rejected";
27837
27843
  type: "CREATE";
27838
- createdByRole?: string | null | undefined;
27839
27844
  createdBySignature?: string | null | undefined;
27840
27845
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27841
27846
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27846,13 +27851,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27846
27851
  createdByUserType: "user" | "system";
27847
27852
  createdAt: string;
27848
27853
  createdBy: string;
27854
+ createdByRole: string;
27849
27855
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27850
27856
  status: "Requested" | "Accepted" | "Rejected";
27851
27857
  type: "REJECT";
27852
27858
  content: {
27853
27859
  reason: string;
27854
27860
  };
27855
- createdByRole?: string | null | undefined;
27856
27861
  createdBySignature?: string | null | undefined;
27857
27862
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27858
27863
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27863,6 +27868,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27863
27868
  createdByUserType: "user" | "system";
27864
27869
  createdAt: string;
27865
27870
  createdBy: string;
27871
+ createdByRole: string;
27866
27872
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27867
27873
  status: "Requested" | "Accepted" | "Rejected";
27868
27874
  type: "DUPLICATE_DETECTED";
@@ -27872,7 +27878,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27872
27878
  trackingId: string;
27873
27879
  }[];
27874
27880
  };
27875
- createdByRole?: string | null | undefined;
27876
27881
  createdBySignature?: string | null | undefined;
27877
27882
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27878
27883
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27883,10 +27888,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27883
27888
  createdByUserType: "user" | "system";
27884
27889
  createdAt: string;
27885
27890
  createdBy: string;
27891
+ createdByRole: string;
27886
27892
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27887
27893
  status: "Requested" | "Accepted" | "Rejected";
27888
27894
  type: "MARK_AS_NOT_DUPLICATE";
27889
- createdByRole?: string | null | undefined;
27890
27895
  createdBySignature?: string | null | undefined;
27891
27896
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27892
27897
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27897,10 +27902,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27897
27902
  createdByUserType: "user" | "system";
27898
27903
  createdAt: string;
27899
27904
  createdBy: string;
27905
+ createdByRole: string;
27900
27906
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27901
27907
  status: "Requested" | "Accepted" | "Rejected";
27902
27908
  type: "MARK_AS_DUPLICATE";
27903
- createdByRole?: string | null | undefined;
27904
27909
  createdBySignature?: string | null | undefined;
27905
27910
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27906
27911
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27914,13 +27919,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27914
27919
  createdByUserType: "user" | "system";
27915
27920
  createdAt: string;
27916
27921
  createdBy: string;
27922
+ createdByRole: string;
27917
27923
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27918
27924
  status: "Requested" | "Accepted" | "Rejected";
27919
27925
  type: "ARCHIVE";
27920
27926
  content: {
27921
27927
  reason: string;
27922
27928
  };
27923
- createdByRole?: string | null | undefined;
27924
27929
  createdBySignature?: string | null | undefined;
27925
27930
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27926
27931
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27931,10 +27936,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27931
27936
  createdByUserType: "user" | "system";
27932
27937
  createdAt: string;
27933
27938
  createdBy: string;
27939
+ createdByRole: string;
27934
27940
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27935
27941
  status: "Requested" | "Accepted" | "Rejected";
27936
27942
  type: "NOTIFY";
27937
- createdByRole?: string | null | undefined;
27938
27943
  createdBySignature?: string | null | undefined;
27939
27944
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27940
27945
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27945,10 +27950,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27945
27950
  createdByUserType: "user" | "system";
27946
27951
  createdAt: string;
27947
27952
  createdBy: string;
27953
+ createdByRole: string;
27948
27954
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27949
27955
  status: "Requested" | "Accepted" | "Rejected";
27950
27956
  type: "REGISTER";
27951
- createdByRole?: string | null | undefined;
27952
27957
  createdBySignature?: string | null | undefined;
27953
27958
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27954
27959
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27960,10 +27965,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27960
27965
  createdByUserType: "user" | "system";
27961
27966
  createdAt: string;
27962
27967
  createdBy: string;
27968
+ createdByRole: string;
27963
27969
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27964
27970
  status: "Requested" | "Accepted" | "Rejected";
27965
27971
  type: "DECLARE";
27966
- createdByRole?: string | null | undefined;
27967
27972
  createdBySignature?: string | null | undefined;
27968
27973
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27969
27974
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27974,11 +27979,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27974
27979
  createdByUserType: "user" | "system";
27975
27980
  createdAt: string;
27976
27981
  createdBy: string;
27982
+ createdByRole: string;
27977
27983
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27978
27984
  status: "Requested" | "Accepted" | "Rejected";
27979
27985
  type: "ASSIGN";
27980
27986
  assignedTo: string;
27981
- createdByRole?: string | null | undefined;
27982
27987
  createdBySignature?: string | null | undefined;
27983
27988
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27984
27989
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27989,10 +27994,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27989
27994
  createdByUserType: "user" | "system";
27990
27995
  createdAt: string;
27991
27996
  createdBy: string;
27997
+ createdByRole: string;
27992
27998
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27993
27999
  status: "Requested" | "Accepted" | "Rejected";
27994
28000
  type: "REQUEST_CORRECTION";
27995
- createdByRole?: string | null | undefined;
27996
28001
  createdBySignature?: string | null | undefined;
27997
28002
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27998
28003
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28003,11 +28008,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28003
28008
  createdByUserType: "user" | "system";
28004
28009
  createdAt: string;
28005
28010
  createdBy: string;
28011
+ createdByRole: string;
28006
28012
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28007
28013
  status: "Requested" | "Accepted" | "Rejected";
28008
28014
  type: "APPROVE_CORRECTION";
28009
28015
  requestId: string;
28010
- createdByRole?: string | null | undefined;
28011
28016
  createdBySignature?: string | null | undefined;
28012
28017
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28013
28018
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28018,6 +28023,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28018
28023
  createdByUserType: "user" | "system";
28019
28024
  createdAt: string;
28020
28025
  createdBy: string;
28026
+ createdByRole: string;
28021
28027
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28022
28028
  status: "Requested" | "Accepted" | "Rejected";
28023
28029
  type: "REJECT_CORRECTION";
@@ -28025,7 +28031,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28025
28031
  content: {
28026
28032
  reason: string;
28027
28033
  };
28028
- createdByRole?: string | null | undefined;
28029
28034
  createdBySignature?: string | null | undefined;
28030
28035
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28031
28036
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28036,10 +28041,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28036
28041
  createdByUserType: "user" | "system";
28037
28042
  createdAt: string;
28038
28043
  createdBy: string;
28044
+ createdByRole: string;
28039
28045
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28040
28046
  status: "Requested" | "Accepted" | "Rejected";
28041
28047
  type: "UNASSIGN";
28042
- createdByRole?: string | null | undefined;
28043
28048
  createdBySignature?: string | null | undefined;
28044
28049
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28045
28050
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28050,10 +28055,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28050
28055
  createdByUserType: "user" | "system";
28051
28056
  createdAt: string;
28052
28057
  createdBy: string;
28058
+ createdByRole: string;
28053
28059
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28054
28060
  status: "Requested" | "Accepted" | "Rejected";
28055
28061
  type: "PRINT_CERTIFICATE";
28056
- createdByRole?: string | null | undefined;
28057
28062
  createdBySignature?: string | null | undefined;
28058
28063
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28059
28064
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28067,10 +28072,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28067
28072
  createdByUserType: "user" | "system";
28068
28073
  createdAt: string;
28069
28074
  createdBy: string;
28075
+ createdByRole: string;
28070
28076
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28071
28077
  status: "Requested" | "Accepted" | "Rejected";
28072
28078
  type: "READ";
28073
- createdByRole?: string | null | undefined;
28074
28079
  createdBySignature?: string | null | undefined;
28075
28080
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28076
28081
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28081,13 +28086,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28081
28086
  createdByUserType: "user" | "system";
28082
28087
  createdAt: string;
28083
28088
  createdBy: string;
28089
+ createdByRole: string;
28084
28090
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28085
28091
  status: "Requested" | "Accepted" | "Rejected";
28086
28092
  type: "EDIT";
28087
28093
  content: {
28088
28094
  comment?: string | undefined;
28089
28095
  };
28090
- createdByRole?: string | null | undefined;
28091
28096
  createdBySignature?: string | null | undefined;
28092
28097
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28093
28098
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28098,11 +28103,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28098
28103
  createdByUserType: "user" | "system";
28099
28104
  createdAt: string;
28100
28105
  createdBy: string;
28106
+ createdByRole: string;
28101
28107
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28102
28108
  status: "Requested" | "Accepted" | "Rejected";
28103
28109
  type: "CUSTOM";
28104
28110
  customActionType: string;
28105
- createdByRole?: string | null | undefined;
28106
28111
  createdBySignature?: string | null | undefined;
28107
28112
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28108
28113
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28113,9 +28118,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28113
28118
  createdByUserType: "user" | "system";
28114
28119
  createdAt: string;
28115
28120
  createdBy: string;
28121
+ createdByRole: string;
28116
28122
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
28117
28123
  status: "Rejected";
28118
- createdByRole?: string | null | undefined;
28119
28124
  createdBySignature?: string | null | undefined;
28120
28125
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28121
28126
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -28154,6 +28159,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28154
28159
  } | {
28155
28160
  type: "system";
28156
28161
  id: string;
28162
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28157
28163
  signature?: undefined;
28158
28164
  primaryOfficeId?: undefined;
28159
28165
  administrativeAreaId?: undefined;
@@ -28198,6 +28204,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28198
28204
  } | {
28199
28205
  type: "system";
28200
28206
  id: string;
28207
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28201
28208
  signature?: undefined;
28202
28209
  primaryOfficeId?: undefined;
28203
28210
  administrativeAreaId?: undefined;
@@ -28242,6 +28249,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28242
28249
  } | {
28243
28250
  type: "system";
28244
28251
  id: string;
28252
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28245
28253
  signature?: undefined;
28246
28254
  primaryOfficeId?: undefined;
28247
28255
  administrativeAreaId?: undefined;
@@ -28286,6 +28294,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28286
28294
  } | {
28287
28295
  type: "system";
28288
28296
  id: string;
28297
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28289
28298
  signature?: undefined;
28290
28299
  primaryOfficeId?: undefined;
28291
28300
  administrativeAreaId?: undefined;
@@ -28330,6 +28339,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28330
28339
  } | {
28331
28340
  type: "system";
28332
28341
  id: string;
28342
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28333
28343
  signature?: undefined;
28334
28344
  primaryOfficeId?: undefined;
28335
28345
  administrativeAreaId?: undefined;
@@ -28374,6 +28384,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28374
28384
  } | {
28375
28385
  type: "system";
28376
28386
  id: string;
28387
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28377
28388
  signature?: undefined;
28378
28389
  primaryOfficeId?: undefined;
28379
28390
  administrativeAreaId?: undefined;
@@ -28406,10 +28417,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28406
28417
  createdByUserType: "user" | "system";
28407
28418
  createdAt: string;
28408
28419
  createdBy: string;
28420
+ createdByRole: string;
28409
28421
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28410
28422
  status: "Requested" | "Accepted" | "Rejected";
28411
28423
  type: "CREATE";
28412
- createdByRole?: string | null | undefined;
28413
28424
  createdBySignature?: string | null | undefined;
28414
28425
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28415
28426
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28420,13 +28431,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28420
28431
  createdByUserType: "user" | "system";
28421
28432
  createdAt: string;
28422
28433
  createdBy: string;
28434
+ createdByRole: string;
28423
28435
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28424
28436
  status: "Requested" | "Accepted" | "Rejected";
28425
28437
  type: "REJECT";
28426
28438
  content: {
28427
28439
  reason: string;
28428
28440
  };
28429
- createdByRole?: string | null | undefined;
28430
28441
  createdBySignature?: string | null | undefined;
28431
28442
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28432
28443
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28437,6 +28448,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28437
28448
  createdByUserType: "user" | "system";
28438
28449
  createdAt: string;
28439
28450
  createdBy: string;
28451
+ createdByRole: string;
28440
28452
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28441
28453
  status: "Requested" | "Accepted" | "Rejected";
28442
28454
  type: "DUPLICATE_DETECTED";
@@ -28446,7 +28458,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28446
28458
  trackingId: string;
28447
28459
  }[];
28448
28460
  };
28449
- createdByRole?: string | null | undefined;
28450
28461
  createdBySignature?: string | null | undefined;
28451
28462
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28452
28463
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28457,10 +28468,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28457
28468
  createdByUserType: "user" | "system";
28458
28469
  createdAt: string;
28459
28470
  createdBy: string;
28471
+ createdByRole: string;
28460
28472
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28461
28473
  status: "Requested" | "Accepted" | "Rejected";
28462
28474
  type: "MARK_AS_NOT_DUPLICATE";
28463
- createdByRole?: string | null | undefined;
28464
28475
  createdBySignature?: string | null | undefined;
28465
28476
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28466
28477
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28471,10 +28482,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28471
28482
  createdByUserType: "user" | "system";
28472
28483
  createdAt: string;
28473
28484
  createdBy: string;
28485
+ createdByRole: string;
28474
28486
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28475
28487
  status: "Requested" | "Accepted" | "Rejected";
28476
28488
  type: "MARK_AS_DUPLICATE";
28477
- createdByRole?: string | null | undefined;
28478
28489
  createdBySignature?: string | null | undefined;
28479
28490
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28480
28491
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28488,13 +28499,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28488
28499
  createdByUserType: "user" | "system";
28489
28500
  createdAt: string;
28490
28501
  createdBy: string;
28502
+ createdByRole: string;
28491
28503
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28492
28504
  status: "Requested" | "Accepted" | "Rejected";
28493
28505
  type: "ARCHIVE";
28494
28506
  content: {
28495
28507
  reason: string;
28496
28508
  };
28497
- createdByRole?: string | null | undefined;
28498
28509
  createdBySignature?: string | null | undefined;
28499
28510
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28500
28511
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28505,10 +28516,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28505
28516
  createdByUserType: "user" | "system";
28506
28517
  createdAt: string;
28507
28518
  createdBy: string;
28519
+ createdByRole: string;
28508
28520
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28509
28521
  status: "Requested" | "Accepted" | "Rejected";
28510
28522
  type: "NOTIFY";
28511
- createdByRole?: string | null | undefined;
28512
28523
  createdBySignature?: string | null | undefined;
28513
28524
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28514
28525
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28519,10 +28530,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28519
28530
  createdByUserType: "user" | "system";
28520
28531
  createdAt: string;
28521
28532
  createdBy: string;
28533
+ createdByRole: string;
28522
28534
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28523
28535
  status: "Requested" | "Accepted" | "Rejected";
28524
28536
  type: "REGISTER";
28525
- createdByRole?: string | null | undefined;
28526
28537
  createdBySignature?: string | null | undefined;
28527
28538
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28528
28539
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28534,10 +28545,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28534
28545
  createdByUserType: "user" | "system";
28535
28546
  createdAt: string;
28536
28547
  createdBy: string;
28548
+ createdByRole: string;
28537
28549
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28538
28550
  status: "Requested" | "Accepted" | "Rejected";
28539
28551
  type: "DECLARE";
28540
- createdByRole?: string | null | undefined;
28541
28552
  createdBySignature?: string | null | undefined;
28542
28553
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28543
28554
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28548,11 +28559,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28548
28559
  createdByUserType: "user" | "system";
28549
28560
  createdAt: string;
28550
28561
  createdBy: string;
28562
+ createdByRole: string;
28551
28563
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28552
28564
  status: "Requested" | "Accepted" | "Rejected";
28553
28565
  type: "ASSIGN";
28554
28566
  assignedTo: string;
28555
- createdByRole?: string | null | undefined;
28556
28567
  createdBySignature?: string | null | undefined;
28557
28568
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28558
28569
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28563,10 +28574,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28563
28574
  createdByUserType: "user" | "system";
28564
28575
  createdAt: string;
28565
28576
  createdBy: string;
28577
+ createdByRole: string;
28566
28578
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28567
28579
  status: "Requested" | "Accepted" | "Rejected";
28568
28580
  type: "REQUEST_CORRECTION";
28569
- createdByRole?: string | null | undefined;
28570
28581
  createdBySignature?: string | null | undefined;
28571
28582
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28572
28583
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28577,11 +28588,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28577
28588
  createdByUserType: "user" | "system";
28578
28589
  createdAt: string;
28579
28590
  createdBy: string;
28591
+ createdByRole: string;
28580
28592
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28581
28593
  status: "Requested" | "Accepted" | "Rejected";
28582
28594
  type: "APPROVE_CORRECTION";
28583
28595
  requestId: string;
28584
- createdByRole?: string | null | undefined;
28585
28596
  createdBySignature?: string | null | undefined;
28586
28597
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28587
28598
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28592,6 +28603,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28592
28603
  createdByUserType: "user" | "system";
28593
28604
  createdAt: string;
28594
28605
  createdBy: string;
28606
+ createdByRole: string;
28595
28607
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28596
28608
  status: "Requested" | "Accepted" | "Rejected";
28597
28609
  type: "REJECT_CORRECTION";
@@ -28599,7 +28611,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28599
28611
  content: {
28600
28612
  reason: string;
28601
28613
  };
28602
- createdByRole?: string | null | undefined;
28603
28614
  createdBySignature?: string | null | undefined;
28604
28615
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28605
28616
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28610,10 +28621,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28610
28621
  createdByUserType: "user" | "system";
28611
28622
  createdAt: string;
28612
28623
  createdBy: string;
28624
+ createdByRole: string;
28613
28625
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28614
28626
  status: "Requested" | "Accepted" | "Rejected";
28615
28627
  type: "UNASSIGN";
28616
- createdByRole?: string | null | undefined;
28617
28628
  createdBySignature?: string | null | undefined;
28618
28629
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28619
28630
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28624,10 +28635,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28624
28635
  createdByUserType: "user" | "system";
28625
28636
  createdAt: string;
28626
28637
  createdBy: string;
28638
+ createdByRole: string;
28627
28639
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28628
28640
  status: "Requested" | "Accepted" | "Rejected";
28629
28641
  type: "PRINT_CERTIFICATE";
28630
- createdByRole?: string | null | undefined;
28631
28642
  createdBySignature?: string | null | undefined;
28632
28643
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28633
28644
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28641,10 +28652,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28641
28652
  createdByUserType: "user" | "system";
28642
28653
  createdAt: string;
28643
28654
  createdBy: string;
28655
+ createdByRole: string;
28644
28656
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28645
28657
  status: "Requested" | "Accepted" | "Rejected";
28646
28658
  type: "READ";
28647
- createdByRole?: string | null | undefined;
28648
28659
  createdBySignature?: string | null | undefined;
28649
28660
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28650
28661
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28655,13 +28666,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28655
28666
  createdByUserType: "user" | "system";
28656
28667
  createdAt: string;
28657
28668
  createdBy: string;
28669
+ createdByRole: string;
28658
28670
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28659
28671
  status: "Requested" | "Accepted" | "Rejected";
28660
28672
  type: "EDIT";
28661
28673
  content: {
28662
28674
  comment?: string | undefined;
28663
28675
  };
28664
- createdByRole?: string | null | undefined;
28665
28676
  createdBySignature?: string | null | undefined;
28666
28677
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28667
28678
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28672,11 +28683,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28672
28683
  createdByUserType: "user" | "system";
28673
28684
  createdAt: string;
28674
28685
  createdBy: string;
28686
+ createdByRole: string;
28675
28687
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28676
28688
  status: "Requested" | "Accepted" | "Rejected";
28677
28689
  type: "CUSTOM";
28678
28690
  customActionType: string;
28679
- createdByRole?: string | null | undefined;
28680
28691
  createdBySignature?: string | null | undefined;
28681
28692
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28682
28693
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28687,9 +28698,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28687
28698
  createdByUserType: "user" | "system";
28688
28699
  createdAt: string;
28689
28700
  createdBy: string;
28701
+ createdByRole: string;
28690
28702
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
28691
28703
  status: "Rejected";
28692
- createdByRole?: string | null | undefined;
28693
28704
  createdBySignature?: string | null | undefined;
28694
28705
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28695
28706
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -28728,6 +28739,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28728
28739
  } | {
28729
28740
  type: "system";
28730
28741
  id: string;
28742
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28731
28743
  signature?: undefined;
28732
28744
  primaryOfficeId?: undefined;
28733
28745
  administrativeAreaId?: undefined;
@@ -28760,10 +28772,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28760
28772
  createdByUserType: "user" | "system";
28761
28773
  createdAt: string;
28762
28774
  createdBy: string;
28775
+ createdByRole: string;
28763
28776
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28764
28777
  status: "Requested" | "Accepted" | "Rejected";
28765
28778
  type: "CREATE";
28766
- createdByRole?: string | null | undefined;
28767
28779
  createdBySignature?: string | null | undefined;
28768
28780
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28769
28781
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28774,13 +28786,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28774
28786
  createdByUserType: "user" | "system";
28775
28787
  createdAt: string;
28776
28788
  createdBy: string;
28789
+ createdByRole: string;
28777
28790
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28778
28791
  status: "Requested" | "Accepted" | "Rejected";
28779
28792
  type: "REJECT";
28780
28793
  content: {
28781
28794
  reason: string;
28782
28795
  };
28783
- createdByRole?: string | null | undefined;
28784
28796
  createdBySignature?: string | null | undefined;
28785
28797
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28786
28798
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28791,6 +28803,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28791
28803
  createdByUserType: "user" | "system";
28792
28804
  createdAt: string;
28793
28805
  createdBy: string;
28806
+ createdByRole: string;
28794
28807
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28795
28808
  status: "Requested" | "Accepted" | "Rejected";
28796
28809
  type: "DUPLICATE_DETECTED";
@@ -28800,7 +28813,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28800
28813
  trackingId: string;
28801
28814
  }[];
28802
28815
  };
28803
- createdByRole?: string | null | undefined;
28804
28816
  createdBySignature?: string | null | undefined;
28805
28817
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28806
28818
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28811,10 +28823,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28811
28823
  createdByUserType: "user" | "system";
28812
28824
  createdAt: string;
28813
28825
  createdBy: string;
28826
+ createdByRole: string;
28814
28827
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28815
28828
  status: "Requested" | "Accepted" | "Rejected";
28816
28829
  type: "MARK_AS_NOT_DUPLICATE";
28817
- createdByRole?: string | null | undefined;
28818
28830
  createdBySignature?: string | null | undefined;
28819
28831
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28820
28832
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28825,10 +28837,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28825
28837
  createdByUserType: "user" | "system";
28826
28838
  createdAt: string;
28827
28839
  createdBy: string;
28840
+ createdByRole: string;
28828
28841
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28829
28842
  status: "Requested" | "Accepted" | "Rejected";
28830
28843
  type: "MARK_AS_DUPLICATE";
28831
- createdByRole?: string | null | undefined;
28832
28844
  createdBySignature?: string | null | undefined;
28833
28845
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28834
28846
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28842,13 +28854,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28842
28854
  createdByUserType: "user" | "system";
28843
28855
  createdAt: string;
28844
28856
  createdBy: string;
28857
+ createdByRole: string;
28845
28858
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28846
28859
  status: "Requested" | "Accepted" | "Rejected";
28847
28860
  type: "ARCHIVE";
28848
28861
  content: {
28849
28862
  reason: string;
28850
28863
  };
28851
- createdByRole?: string | null | undefined;
28852
28864
  createdBySignature?: string | null | undefined;
28853
28865
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28854
28866
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28859,10 +28871,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28859
28871
  createdByUserType: "user" | "system";
28860
28872
  createdAt: string;
28861
28873
  createdBy: string;
28874
+ createdByRole: string;
28862
28875
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28863
28876
  status: "Requested" | "Accepted" | "Rejected";
28864
28877
  type: "NOTIFY";
28865
- createdByRole?: string | null | undefined;
28866
28878
  createdBySignature?: string | null | undefined;
28867
28879
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28868
28880
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28873,10 +28885,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28873
28885
  createdByUserType: "user" | "system";
28874
28886
  createdAt: string;
28875
28887
  createdBy: string;
28888
+ createdByRole: string;
28876
28889
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28877
28890
  status: "Requested" | "Accepted" | "Rejected";
28878
28891
  type: "REGISTER";
28879
- createdByRole?: string | null | undefined;
28880
28892
  createdBySignature?: string | null | undefined;
28881
28893
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28882
28894
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28888,10 +28900,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28888
28900
  createdByUserType: "user" | "system";
28889
28901
  createdAt: string;
28890
28902
  createdBy: string;
28903
+ createdByRole: string;
28891
28904
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28892
28905
  status: "Requested" | "Accepted" | "Rejected";
28893
28906
  type: "DECLARE";
28894
- createdByRole?: string | null | undefined;
28895
28907
  createdBySignature?: string | null | undefined;
28896
28908
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28897
28909
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28902,11 +28914,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28902
28914
  createdByUserType: "user" | "system";
28903
28915
  createdAt: string;
28904
28916
  createdBy: string;
28917
+ createdByRole: string;
28905
28918
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28906
28919
  status: "Requested" | "Accepted" | "Rejected";
28907
28920
  type: "ASSIGN";
28908
28921
  assignedTo: string;
28909
- createdByRole?: string | null | undefined;
28910
28922
  createdBySignature?: string | null | undefined;
28911
28923
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28912
28924
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28917,10 +28929,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28917
28929
  createdByUserType: "user" | "system";
28918
28930
  createdAt: string;
28919
28931
  createdBy: string;
28932
+ createdByRole: string;
28920
28933
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28921
28934
  status: "Requested" | "Accepted" | "Rejected";
28922
28935
  type: "REQUEST_CORRECTION";
28923
- createdByRole?: string | null | undefined;
28924
28936
  createdBySignature?: string | null | undefined;
28925
28937
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28926
28938
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28931,11 +28943,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28931
28943
  createdByUserType: "user" | "system";
28932
28944
  createdAt: string;
28933
28945
  createdBy: string;
28946
+ createdByRole: string;
28934
28947
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28935
28948
  status: "Requested" | "Accepted" | "Rejected";
28936
28949
  type: "APPROVE_CORRECTION";
28937
28950
  requestId: string;
28938
- createdByRole?: string | null | undefined;
28939
28951
  createdBySignature?: string | null | undefined;
28940
28952
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28941
28953
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28946,6 +28958,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28946
28958
  createdByUserType: "user" | "system";
28947
28959
  createdAt: string;
28948
28960
  createdBy: string;
28961
+ createdByRole: string;
28949
28962
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28950
28963
  status: "Requested" | "Accepted" | "Rejected";
28951
28964
  type: "REJECT_CORRECTION";
@@ -28953,7 +28966,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28953
28966
  content: {
28954
28967
  reason: string;
28955
28968
  };
28956
- createdByRole?: string | null | undefined;
28957
28969
  createdBySignature?: string | null | undefined;
28958
28970
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28959
28971
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28964,10 +28976,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28964
28976
  createdByUserType: "user" | "system";
28965
28977
  createdAt: string;
28966
28978
  createdBy: string;
28979
+ createdByRole: string;
28967
28980
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28968
28981
  status: "Requested" | "Accepted" | "Rejected";
28969
28982
  type: "UNASSIGN";
28970
- createdByRole?: string | null | undefined;
28971
28983
  createdBySignature?: string | null | undefined;
28972
28984
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28973
28985
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28978,10 +28990,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28978
28990
  createdByUserType: "user" | "system";
28979
28991
  createdAt: string;
28980
28992
  createdBy: string;
28993
+ createdByRole: string;
28981
28994
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28982
28995
  status: "Requested" | "Accepted" | "Rejected";
28983
28996
  type: "PRINT_CERTIFICATE";
28984
- createdByRole?: string | null | undefined;
28985
28997
  createdBySignature?: string | null | undefined;
28986
28998
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28987
28999
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28995,10 +29007,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28995
29007
  createdByUserType: "user" | "system";
28996
29008
  createdAt: string;
28997
29009
  createdBy: string;
29010
+ createdByRole: string;
28998
29011
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28999
29012
  status: "Requested" | "Accepted" | "Rejected";
29000
29013
  type: "READ";
29001
- createdByRole?: string | null | undefined;
29002
29014
  createdBySignature?: string | null | undefined;
29003
29015
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29004
29016
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29009,13 +29021,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29009
29021
  createdByUserType: "user" | "system";
29010
29022
  createdAt: string;
29011
29023
  createdBy: string;
29024
+ createdByRole: string;
29012
29025
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29013
29026
  status: "Requested" | "Accepted" | "Rejected";
29014
29027
  type: "EDIT";
29015
29028
  content: {
29016
29029
  comment?: string | undefined;
29017
29030
  };
29018
- createdByRole?: string | null | undefined;
29019
29031
  createdBySignature?: string | null | undefined;
29020
29032
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29021
29033
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29026,11 +29038,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29026
29038
  createdByUserType: "user" | "system";
29027
29039
  createdAt: string;
29028
29040
  createdBy: string;
29041
+ createdByRole: string;
29029
29042
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29030
29043
  status: "Requested" | "Accepted" | "Rejected";
29031
29044
  type: "CUSTOM";
29032
29045
  customActionType: string;
29033
- createdByRole?: string | null | undefined;
29034
29046
  createdBySignature?: string | null | undefined;
29035
29047
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29036
29048
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29041,9 +29053,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29041
29053
  createdByUserType: "user" | "system";
29042
29054
  createdAt: string;
29043
29055
  createdBy: string;
29056
+ createdByRole: string;
29044
29057
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
29045
29058
  status: "Rejected";
29046
- createdByRole?: string | null | undefined;
29047
29059
  createdBySignature?: string | null | undefined;
29048
29060
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29049
29061
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -29075,10 +29087,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29075
29087
  createdByUserType: "user" | "system";
29076
29088
  createdAt: string;
29077
29089
  createdBy: string;
29090
+ createdByRole: string;
29078
29091
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29079
29092
  status: "Requested" | "Accepted" | "Rejected";
29080
29093
  type: "CREATE";
29081
- createdByRole?: string | null | undefined;
29082
29094
  createdBySignature?: string | null | undefined;
29083
29095
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29084
29096
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29089,13 +29101,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29089
29101
  createdByUserType: "user" | "system";
29090
29102
  createdAt: string;
29091
29103
  createdBy: string;
29104
+ createdByRole: string;
29092
29105
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29093
29106
  status: "Requested" | "Accepted" | "Rejected";
29094
29107
  type: "REJECT";
29095
29108
  content: {
29096
29109
  reason: string;
29097
29110
  };
29098
- createdByRole?: string | null | undefined;
29099
29111
  createdBySignature?: string | null | undefined;
29100
29112
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29101
29113
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29106,6 +29118,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29106
29118
  createdByUserType: "user" | "system";
29107
29119
  createdAt: string;
29108
29120
  createdBy: string;
29121
+ createdByRole: string;
29109
29122
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29110
29123
  status: "Requested" | "Accepted" | "Rejected";
29111
29124
  type: "DUPLICATE_DETECTED";
@@ -29115,7 +29128,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29115
29128
  trackingId: string;
29116
29129
  }[];
29117
29130
  };
29118
- createdByRole?: string | null | undefined;
29119
29131
  createdBySignature?: string | null | undefined;
29120
29132
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29121
29133
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29126,10 +29138,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29126
29138
  createdByUserType: "user" | "system";
29127
29139
  createdAt: string;
29128
29140
  createdBy: string;
29141
+ createdByRole: string;
29129
29142
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29130
29143
  status: "Requested" | "Accepted" | "Rejected";
29131
29144
  type: "MARK_AS_NOT_DUPLICATE";
29132
- createdByRole?: string | null | undefined;
29133
29145
  createdBySignature?: string | null | undefined;
29134
29146
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29135
29147
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29140,10 +29152,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29140
29152
  createdByUserType: "user" | "system";
29141
29153
  createdAt: string;
29142
29154
  createdBy: string;
29155
+ createdByRole: string;
29143
29156
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29144
29157
  status: "Requested" | "Accepted" | "Rejected";
29145
29158
  type: "MARK_AS_DUPLICATE";
29146
- createdByRole?: string | null | undefined;
29147
29159
  createdBySignature?: string | null | undefined;
29148
29160
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29149
29161
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29157,13 +29169,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29157
29169
  createdByUserType: "user" | "system";
29158
29170
  createdAt: string;
29159
29171
  createdBy: string;
29172
+ createdByRole: string;
29160
29173
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29161
29174
  status: "Requested" | "Accepted" | "Rejected";
29162
29175
  type: "ARCHIVE";
29163
29176
  content: {
29164
29177
  reason: string;
29165
29178
  };
29166
- createdByRole?: string | null | undefined;
29167
29179
  createdBySignature?: string | null | undefined;
29168
29180
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29169
29181
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29174,10 +29186,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29174
29186
  createdByUserType: "user" | "system";
29175
29187
  createdAt: string;
29176
29188
  createdBy: string;
29189
+ createdByRole: string;
29177
29190
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29178
29191
  status: "Requested" | "Accepted" | "Rejected";
29179
29192
  type: "NOTIFY";
29180
- createdByRole?: string | null | undefined;
29181
29193
  createdBySignature?: string | null | undefined;
29182
29194
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29183
29195
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29188,10 +29200,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29188
29200
  createdByUserType: "user" | "system";
29189
29201
  createdAt: string;
29190
29202
  createdBy: string;
29203
+ createdByRole: string;
29191
29204
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29192
29205
  status: "Requested" | "Accepted" | "Rejected";
29193
29206
  type: "REGISTER";
29194
- createdByRole?: string | null | undefined;
29195
29207
  createdBySignature?: string | null | undefined;
29196
29208
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29197
29209
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29203,10 +29215,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29203
29215
  createdByUserType: "user" | "system";
29204
29216
  createdAt: string;
29205
29217
  createdBy: string;
29218
+ createdByRole: string;
29206
29219
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29207
29220
  status: "Requested" | "Accepted" | "Rejected";
29208
29221
  type: "DECLARE";
29209
- createdByRole?: string | null | undefined;
29210
29222
  createdBySignature?: string | null | undefined;
29211
29223
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29212
29224
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29217,11 +29229,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29217
29229
  createdByUserType: "user" | "system";
29218
29230
  createdAt: string;
29219
29231
  createdBy: string;
29232
+ createdByRole: string;
29220
29233
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29221
29234
  status: "Requested" | "Accepted" | "Rejected";
29222
29235
  type: "ASSIGN";
29223
29236
  assignedTo: string;
29224
- createdByRole?: string | null | undefined;
29225
29237
  createdBySignature?: string | null | undefined;
29226
29238
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29227
29239
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29232,10 +29244,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29232
29244
  createdByUserType: "user" | "system";
29233
29245
  createdAt: string;
29234
29246
  createdBy: string;
29247
+ createdByRole: string;
29235
29248
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29236
29249
  status: "Requested" | "Accepted" | "Rejected";
29237
29250
  type: "REQUEST_CORRECTION";
29238
- createdByRole?: string | null | undefined;
29239
29251
  createdBySignature?: string | null | undefined;
29240
29252
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29241
29253
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29246,11 +29258,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29246
29258
  createdByUserType: "user" | "system";
29247
29259
  createdAt: string;
29248
29260
  createdBy: string;
29261
+ createdByRole: string;
29249
29262
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29250
29263
  status: "Requested" | "Accepted" | "Rejected";
29251
29264
  type: "APPROVE_CORRECTION";
29252
29265
  requestId: string;
29253
- createdByRole?: string | null | undefined;
29254
29266
  createdBySignature?: string | null | undefined;
29255
29267
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29256
29268
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29261,6 +29273,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29261
29273
  createdByUserType: "user" | "system";
29262
29274
  createdAt: string;
29263
29275
  createdBy: string;
29276
+ createdByRole: string;
29264
29277
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29265
29278
  status: "Requested" | "Accepted" | "Rejected";
29266
29279
  type: "REJECT_CORRECTION";
@@ -29268,7 +29281,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29268
29281
  content: {
29269
29282
  reason: string;
29270
29283
  };
29271
- createdByRole?: string | null | undefined;
29272
29284
  createdBySignature?: string | null | undefined;
29273
29285
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29274
29286
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29279,10 +29291,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29279
29291
  createdByUserType: "user" | "system";
29280
29292
  createdAt: string;
29281
29293
  createdBy: string;
29294
+ createdByRole: string;
29282
29295
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29283
29296
  status: "Requested" | "Accepted" | "Rejected";
29284
29297
  type: "UNASSIGN";
29285
- createdByRole?: string | null | undefined;
29286
29298
  createdBySignature?: string | null | undefined;
29287
29299
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29288
29300
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29293,10 +29305,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29293
29305
  createdByUserType: "user" | "system";
29294
29306
  createdAt: string;
29295
29307
  createdBy: string;
29308
+ createdByRole: string;
29296
29309
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29297
29310
  status: "Requested" | "Accepted" | "Rejected";
29298
29311
  type: "PRINT_CERTIFICATE";
29299
- createdByRole?: string | null | undefined;
29300
29312
  createdBySignature?: string | null | undefined;
29301
29313
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29302
29314
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29310,10 +29322,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29310
29322
  createdByUserType: "user" | "system";
29311
29323
  createdAt: string;
29312
29324
  createdBy: string;
29325
+ createdByRole: string;
29313
29326
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29314
29327
  status: "Requested" | "Accepted" | "Rejected";
29315
29328
  type: "READ";
29316
- createdByRole?: string | null | undefined;
29317
29329
  createdBySignature?: string | null | undefined;
29318
29330
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29319
29331
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29324,13 +29336,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29324
29336
  createdByUserType: "user" | "system";
29325
29337
  createdAt: string;
29326
29338
  createdBy: string;
29339
+ createdByRole: string;
29327
29340
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29328
29341
  status: "Requested" | "Accepted" | "Rejected";
29329
29342
  type: "EDIT";
29330
29343
  content: {
29331
29344
  comment?: string | undefined;
29332
29345
  };
29333
- createdByRole?: string | null | undefined;
29334
29346
  createdBySignature?: string | null | undefined;
29335
29347
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29336
29348
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29341,11 +29353,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29341
29353
  createdByUserType: "user" | "system";
29342
29354
  createdAt: string;
29343
29355
  createdBy: string;
29356
+ createdByRole: string;
29344
29357
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29345
29358
  status: "Requested" | "Accepted" | "Rejected";
29346
29359
  type: "CUSTOM";
29347
29360
  customActionType: string;
29348
- createdByRole?: string | null | undefined;
29349
29361
  createdBySignature?: string | null | undefined;
29350
29362
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29351
29363
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29356,9 +29368,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29356
29368
  createdByUserType: "user" | "system";
29357
29369
  createdAt: string;
29358
29370
  createdBy: string;
29371
+ createdByRole: string;
29359
29372
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
29360
29373
  status: "Rejected";
29361
- createdByRole?: string | null | undefined;
29362
29374
  createdBySignature?: string | null | undefined;
29363
29375
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29364
29376
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -29381,6 +29393,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29381
29393
  } | {
29382
29394
  type: "system";
29383
29395
  id: string;
29396
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
29384
29397
  signature?: undefined;
29385
29398
  primaryOfficeId?: undefined;
29386
29399
  administrativeAreaId?: undefined;
@@ -29403,6 +29416,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29403
29416
  } | {
29404
29417
  type: "system";
29405
29418
  id: string;
29419
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
29406
29420
  signature?: undefined;
29407
29421
  primaryOfficeId?: undefined;
29408
29422
  administrativeAreaId?: undefined;
@@ -29447,6 +29461,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29447
29461
  } | {
29448
29462
  type: "system";
29449
29463
  id: string;
29464
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
29450
29465
  signature?: undefined;
29451
29466
  primaryOfficeId?: undefined;
29452
29467
  administrativeAreaId?: undefined;
@@ -29491,6 +29506,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29491
29506
  } | {
29492
29507
  type: "system";
29493
29508
  id: string;
29509
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
29494
29510
  signature?: undefined;
29495
29511
  primaryOfficeId?: undefined;
29496
29512
  administrativeAreaId?: undefined;
@@ -29536,6 +29552,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29536
29552
  } | {
29537
29553
  type: "system";
29538
29554
  id: string;
29555
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
29539
29556
  signature?: undefined;
29540
29557
  primaryOfficeId?: undefined;
29541
29558
  administrativeAreaId?: undefined;
@@ -29570,10 +29587,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29570
29587
  createdByUserType: "user" | "system";
29571
29588
  createdAt: string;
29572
29589
  createdBy: string;
29590
+ createdByRole: string;
29573
29591
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29574
29592
  status: "Requested" | "Accepted" | "Rejected";
29575
29593
  type: "CREATE";
29576
- createdByRole?: string | null | undefined;
29577
29594
  createdBySignature?: string | null | undefined;
29578
29595
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29579
29596
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29584,13 +29601,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29584
29601
  createdByUserType: "user" | "system";
29585
29602
  createdAt: string;
29586
29603
  createdBy: string;
29604
+ createdByRole: string;
29587
29605
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29588
29606
  status: "Requested" | "Accepted" | "Rejected";
29589
29607
  type: "REJECT";
29590
29608
  content: {
29591
29609
  reason: string;
29592
29610
  };
29593
- createdByRole?: string | null | undefined;
29594
29611
  createdBySignature?: string | null | undefined;
29595
29612
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29596
29613
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29601,6 +29618,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29601
29618
  createdByUserType: "user" | "system";
29602
29619
  createdAt: string;
29603
29620
  createdBy: string;
29621
+ createdByRole: string;
29604
29622
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29605
29623
  status: "Requested" | "Accepted" | "Rejected";
29606
29624
  type: "DUPLICATE_DETECTED";
@@ -29610,7 +29628,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29610
29628
  trackingId: string;
29611
29629
  }[];
29612
29630
  };
29613
- createdByRole?: string | null | undefined;
29614
29631
  createdBySignature?: string | null | undefined;
29615
29632
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29616
29633
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29621,10 +29638,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29621
29638
  createdByUserType: "user" | "system";
29622
29639
  createdAt: string;
29623
29640
  createdBy: string;
29641
+ createdByRole: string;
29624
29642
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29625
29643
  status: "Requested" | "Accepted" | "Rejected";
29626
29644
  type: "MARK_AS_NOT_DUPLICATE";
29627
- createdByRole?: string | null | undefined;
29628
29645
  createdBySignature?: string | null | undefined;
29629
29646
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29630
29647
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29635,10 +29652,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29635
29652
  createdByUserType: "user" | "system";
29636
29653
  createdAt: string;
29637
29654
  createdBy: string;
29655
+ createdByRole: string;
29638
29656
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29639
29657
  status: "Requested" | "Accepted" | "Rejected";
29640
29658
  type: "MARK_AS_DUPLICATE";
29641
- createdByRole?: string | null | undefined;
29642
29659
  createdBySignature?: string | null | undefined;
29643
29660
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29644
29661
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29652,13 +29669,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29652
29669
  createdByUserType: "user" | "system";
29653
29670
  createdAt: string;
29654
29671
  createdBy: string;
29672
+ createdByRole: string;
29655
29673
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29656
29674
  status: "Requested" | "Accepted" | "Rejected";
29657
29675
  type: "ARCHIVE";
29658
29676
  content: {
29659
29677
  reason: string;
29660
29678
  };
29661
- createdByRole?: string | null | undefined;
29662
29679
  createdBySignature?: string | null | undefined;
29663
29680
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29664
29681
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29669,10 +29686,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29669
29686
  createdByUserType: "user" | "system";
29670
29687
  createdAt: string;
29671
29688
  createdBy: string;
29689
+ createdByRole: string;
29672
29690
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29673
29691
  status: "Requested" | "Accepted" | "Rejected";
29674
29692
  type: "NOTIFY";
29675
- createdByRole?: string | null | undefined;
29676
29693
  createdBySignature?: string | null | undefined;
29677
29694
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29678
29695
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29683,10 +29700,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29683
29700
  createdByUserType: "user" | "system";
29684
29701
  createdAt: string;
29685
29702
  createdBy: string;
29703
+ createdByRole: string;
29686
29704
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29687
29705
  status: "Requested" | "Accepted" | "Rejected";
29688
29706
  type: "REGISTER";
29689
- createdByRole?: string | null | undefined;
29690
29707
  createdBySignature?: string | null | undefined;
29691
29708
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29692
29709
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29698,10 +29715,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29698
29715
  createdByUserType: "user" | "system";
29699
29716
  createdAt: string;
29700
29717
  createdBy: string;
29718
+ createdByRole: string;
29701
29719
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29702
29720
  status: "Requested" | "Accepted" | "Rejected";
29703
29721
  type: "DECLARE";
29704
- createdByRole?: string | null | undefined;
29705
29722
  createdBySignature?: string | null | undefined;
29706
29723
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29707
29724
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29712,11 +29729,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29712
29729
  createdByUserType: "user" | "system";
29713
29730
  createdAt: string;
29714
29731
  createdBy: string;
29732
+ createdByRole: string;
29715
29733
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29716
29734
  status: "Requested" | "Accepted" | "Rejected";
29717
29735
  type: "ASSIGN";
29718
29736
  assignedTo: string;
29719
- createdByRole?: string | null | undefined;
29720
29737
  createdBySignature?: string | null | undefined;
29721
29738
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29722
29739
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29727,10 +29744,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29727
29744
  createdByUserType: "user" | "system";
29728
29745
  createdAt: string;
29729
29746
  createdBy: string;
29747
+ createdByRole: string;
29730
29748
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29731
29749
  status: "Requested" | "Accepted" | "Rejected";
29732
29750
  type: "REQUEST_CORRECTION";
29733
- createdByRole?: string | null | undefined;
29734
29751
  createdBySignature?: string | null | undefined;
29735
29752
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29736
29753
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29741,11 +29758,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29741
29758
  createdByUserType: "user" | "system";
29742
29759
  createdAt: string;
29743
29760
  createdBy: string;
29761
+ createdByRole: string;
29744
29762
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29745
29763
  status: "Requested" | "Accepted" | "Rejected";
29746
29764
  type: "APPROVE_CORRECTION";
29747
29765
  requestId: string;
29748
- createdByRole?: string | null | undefined;
29749
29766
  createdBySignature?: string | null | undefined;
29750
29767
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29751
29768
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29756,6 +29773,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29756
29773
  createdByUserType: "user" | "system";
29757
29774
  createdAt: string;
29758
29775
  createdBy: string;
29776
+ createdByRole: string;
29759
29777
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29760
29778
  status: "Requested" | "Accepted" | "Rejected";
29761
29779
  type: "REJECT_CORRECTION";
@@ -29763,7 +29781,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29763
29781
  content: {
29764
29782
  reason: string;
29765
29783
  };
29766
- createdByRole?: string | null | undefined;
29767
29784
  createdBySignature?: string | null | undefined;
29768
29785
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29769
29786
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29774,10 +29791,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29774
29791
  createdByUserType: "user" | "system";
29775
29792
  createdAt: string;
29776
29793
  createdBy: string;
29794
+ createdByRole: string;
29777
29795
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29778
29796
  status: "Requested" | "Accepted" | "Rejected";
29779
29797
  type: "UNASSIGN";
29780
- createdByRole?: string | null | undefined;
29781
29798
  createdBySignature?: string | null | undefined;
29782
29799
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29783
29800
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29788,10 +29805,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29788
29805
  createdByUserType: "user" | "system";
29789
29806
  createdAt: string;
29790
29807
  createdBy: string;
29808
+ createdByRole: string;
29791
29809
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29792
29810
  status: "Requested" | "Accepted" | "Rejected";
29793
29811
  type: "PRINT_CERTIFICATE";
29794
- createdByRole?: string | null | undefined;
29795
29812
  createdBySignature?: string | null | undefined;
29796
29813
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29797
29814
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29805,10 +29822,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29805
29822
  createdByUserType: "user" | "system";
29806
29823
  createdAt: string;
29807
29824
  createdBy: string;
29825
+ createdByRole: string;
29808
29826
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29809
29827
  status: "Requested" | "Accepted" | "Rejected";
29810
29828
  type: "READ";
29811
- createdByRole?: string | null | undefined;
29812
29829
  createdBySignature?: string | null | undefined;
29813
29830
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29814
29831
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29819,13 +29836,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29819
29836
  createdByUserType: "user" | "system";
29820
29837
  createdAt: string;
29821
29838
  createdBy: string;
29839
+ createdByRole: string;
29822
29840
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29823
29841
  status: "Requested" | "Accepted" | "Rejected";
29824
29842
  type: "EDIT";
29825
29843
  content: {
29826
29844
  comment?: string | undefined;
29827
29845
  };
29828
- createdByRole?: string | null | undefined;
29829
29846
  createdBySignature?: string | null | undefined;
29830
29847
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29831
29848
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29836,11 +29853,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29836
29853
  createdByUserType: "user" | "system";
29837
29854
  createdAt: string;
29838
29855
  createdBy: string;
29856
+ createdByRole: string;
29839
29857
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29840
29858
  status: "Requested" | "Accepted" | "Rejected";
29841
29859
  type: "CUSTOM";
29842
29860
  customActionType: string;
29843
- createdByRole?: string | null | undefined;
29844
29861
  createdBySignature?: string | null | undefined;
29845
29862
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29846
29863
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29851,9 +29868,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29851
29868
  createdByUserType: "user" | "system";
29852
29869
  createdAt: string;
29853
29870
  createdBy: string;
29871
+ createdByRole: string;
29854
29872
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
29855
29873
  status: "Rejected";
29856
- createdByRole?: string | null | undefined;
29857
29874
  createdBySignature?: string | null | undefined;
29858
29875
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29859
29876
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -29884,10 +29901,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29884
29901
  createdByUserType: "user" | "system";
29885
29902
  createdAt: string;
29886
29903
  createdBy: string;
29904
+ createdByRole: string;
29887
29905
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29888
29906
  status: "Requested" | "Accepted" | "Rejected";
29889
29907
  type: "CREATE";
29890
- createdByRole?: string | null | undefined;
29891
29908
  createdBySignature?: string | null | undefined;
29892
29909
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29893
29910
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29898,13 +29915,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29898
29915
  createdByUserType: "user" | "system";
29899
29916
  createdAt: string;
29900
29917
  createdBy: string;
29918
+ createdByRole: string;
29901
29919
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29902
29920
  status: "Requested" | "Accepted" | "Rejected";
29903
29921
  type: "REJECT";
29904
29922
  content: {
29905
29923
  reason: string;
29906
29924
  };
29907
- createdByRole?: string | null | undefined;
29908
29925
  createdBySignature?: string | null | undefined;
29909
29926
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29910
29927
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29915,6 +29932,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29915
29932
  createdByUserType: "user" | "system";
29916
29933
  createdAt: string;
29917
29934
  createdBy: string;
29935
+ createdByRole: string;
29918
29936
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29919
29937
  status: "Requested" | "Accepted" | "Rejected";
29920
29938
  type: "DUPLICATE_DETECTED";
@@ -29924,7 +29942,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29924
29942
  trackingId: string;
29925
29943
  }[];
29926
29944
  };
29927
- createdByRole?: string | null | undefined;
29928
29945
  createdBySignature?: string | null | undefined;
29929
29946
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29930
29947
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29935,10 +29952,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29935
29952
  createdByUserType: "user" | "system";
29936
29953
  createdAt: string;
29937
29954
  createdBy: string;
29955
+ createdByRole: string;
29938
29956
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29939
29957
  status: "Requested" | "Accepted" | "Rejected";
29940
29958
  type: "MARK_AS_NOT_DUPLICATE";
29941
- createdByRole?: string | null | undefined;
29942
29959
  createdBySignature?: string | null | undefined;
29943
29960
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29944
29961
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29949,10 +29966,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29949
29966
  createdByUserType: "user" | "system";
29950
29967
  createdAt: string;
29951
29968
  createdBy: string;
29969
+ createdByRole: string;
29952
29970
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29953
29971
  status: "Requested" | "Accepted" | "Rejected";
29954
29972
  type: "MARK_AS_DUPLICATE";
29955
- createdByRole?: string | null | undefined;
29956
29973
  createdBySignature?: string | null | undefined;
29957
29974
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29958
29975
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29966,13 +29983,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29966
29983
  createdByUserType: "user" | "system";
29967
29984
  createdAt: string;
29968
29985
  createdBy: string;
29986
+ createdByRole: string;
29969
29987
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29970
29988
  status: "Requested" | "Accepted" | "Rejected";
29971
29989
  type: "ARCHIVE";
29972
29990
  content: {
29973
29991
  reason: string;
29974
29992
  };
29975
- createdByRole?: string | null | undefined;
29976
29993
  createdBySignature?: string | null | undefined;
29977
29994
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29978
29995
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29983,10 +30000,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29983
30000
  createdByUserType: "user" | "system";
29984
30001
  createdAt: string;
29985
30002
  createdBy: string;
30003
+ createdByRole: string;
29986
30004
  declaration: Record<string, import("../commons").FieldUpdateValue>;
29987
30005
  status: "Requested" | "Accepted" | "Rejected";
29988
30006
  type: "NOTIFY";
29989
- createdByRole?: string | null | undefined;
29990
30007
  createdBySignature?: string | null | undefined;
29991
30008
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
29992
30009
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -29997,10 +30014,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29997
30014
  createdByUserType: "user" | "system";
29998
30015
  createdAt: string;
29999
30016
  createdBy: string;
30017
+ createdByRole: string;
30000
30018
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30001
30019
  status: "Requested" | "Accepted" | "Rejected";
30002
30020
  type: "REGISTER";
30003
- createdByRole?: string | null | undefined;
30004
30021
  createdBySignature?: string | null | undefined;
30005
30022
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30006
30023
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30012,10 +30029,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30012
30029
  createdByUserType: "user" | "system";
30013
30030
  createdAt: string;
30014
30031
  createdBy: string;
30032
+ createdByRole: string;
30015
30033
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30016
30034
  status: "Requested" | "Accepted" | "Rejected";
30017
30035
  type: "DECLARE";
30018
- createdByRole?: string | null | undefined;
30019
30036
  createdBySignature?: string | null | undefined;
30020
30037
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30021
30038
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30026,11 +30043,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30026
30043
  createdByUserType: "user" | "system";
30027
30044
  createdAt: string;
30028
30045
  createdBy: string;
30046
+ createdByRole: string;
30029
30047
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30030
30048
  status: "Requested" | "Accepted" | "Rejected";
30031
30049
  type: "ASSIGN";
30032
30050
  assignedTo: string;
30033
- createdByRole?: string | null | undefined;
30034
30051
  createdBySignature?: string | null | undefined;
30035
30052
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30036
30053
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30041,10 +30058,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30041
30058
  createdByUserType: "user" | "system";
30042
30059
  createdAt: string;
30043
30060
  createdBy: string;
30061
+ createdByRole: string;
30044
30062
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30045
30063
  status: "Requested" | "Accepted" | "Rejected";
30046
30064
  type: "REQUEST_CORRECTION";
30047
- createdByRole?: string | null | undefined;
30048
30065
  createdBySignature?: string | null | undefined;
30049
30066
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30050
30067
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30055,11 +30072,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30055
30072
  createdByUserType: "user" | "system";
30056
30073
  createdAt: string;
30057
30074
  createdBy: string;
30075
+ createdByRole: string;
30058
30076
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30059
30077
  status: "Requested" | "Accepted" | "Rejected";
30060
30078
  type: "APPROVE_CORRECTION";
30061
30079
  requestId: string;
30062
- createdByRole?: string | null | undefined;
30063
30080
  createdBySignature?: string | null | undefined;
30064
30081
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30065
30082
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30070,6 +30087,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30070
30087
  createdByUserType: "user" | "system";
30071
30088
  createdAt: string;
30072
30089
  createdBy: string;
30090
+ createdByRole: string;
30073
30091
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30074
30092
  status: "Requested" | "Accepted" | "Rejected";
30075
30093
  type: "REJECT_CORRECTION";
@@ -30077,7 +30095,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30077
30095
  content: {
30078
30096
  reason: string;
30079
30097
  };
30080
- createdByRole?: string | null | undefined;
30081
30098
  createdBySignature?: string | null | undefined;
30082
30099
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30083
30100
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30088,10 +30105,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30088
30105
  createdByUserType: "user" | "system";
30089
30106
  createdAt: string;
30090
30107
  createdBy: string;
30108
+ createdByRole: string;
30091
30109
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30092
30110
  status: "Requested" | "Accepted" | "Rejected";
30093
30111
  type: "UNASSIGN";
30094
- createdByRole?: string | null | undefined;
30095
30112
  createdBySignature?: string | null | undefined;
30096
30113
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30097
30114
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30102,10 +30119,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30102
30119
  createdByUserType: "user" | "system";
30103
30120
  createdAt: string;
30104
30121
  createdBy: string;
30122
+ createdByRole: string;
30105
30123
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30106
30124
  status: "Requested" | "Accepted" | "Rejected";
30107
30125
  type: "PRINT_CERTIFICATE";
30108
- createdByRole?: string | null | undefined;
30109
30126
  createdBySignature?: string | null | undefined;
30110
30127
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30111
30128
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30119,10 +30136,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30119
30136
  createdByUserType: "user" | "system";
30120
30137
  createdAt: string;
30121
30138
  createdBy: string;
30139
+ createdByRole: string;
30122
30140
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30123
30141
  status: "Requested" | "Accepted" | "Rejected";
30124
30142
  type: "READ";
30125
- createdByRole?: string | null | undefined;
30126
30143
  createdBySignature?: string | null | undefined;
30127
30144
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30128
30145
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30133,13 +30150,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30133
30150
  createdByUserType: "user" | "system";
30134
30151
  createdAt: string;
30135
30152
  createdBy: string;
30153
+ createdByRole: string;
30136
30154
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30137
30155
  status: "Requested" | "Accepted" | "Rejected";
30138
30156
  type: "EDIT";
30139
30157
  content: {
30140
30158
  comment?: string | undefined;
30141
30159
  };
30142
- createdByRole?: string | null | undefined;
30143
30160
  createdBySignature?: string | null | undefined;
30144
30161
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30145
30162
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30150,11 +30167,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30150
30167
  createdByUserType: "user" | "system";
30151
30168
  createdAt: string;
30152
30169
  createdBy: string;
30170
+ createdByRole: string;
30153
30171
  declaration: Record<string, import("../commons").FieldUpdateValue>;
30154
30172
  status: "Requested" | "Accepted" | "Rejected";
30155
30173
  type: "CUSTOM";
30156
30174
  customActionType: string;
30157
- createdByRole?: string | null | undefined;
30158
30175
  createdBySignature?: string | null | undefined;
30159
30176
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30160
30177
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -30165,9 +30182,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30165
30182
  createdByUserType: "user" | "system";
30166
30183
  createdAt: string;
30167
30184
  createdBy: string;
30185
+ createdByRole: string;
30168
30186
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
30169
30187
  status: "Rejected";
30170
- createdByRole?: string | null | undefined;
30171
30188
  createdBySignature?: string | null | undefined;
30172
30189
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30173
30190
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -30195,24 +30212,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30195
30212
  createdAt: string;
30196
30213
  createdBy: string;
30197
30214
  acceptedAt: string;
30215
+ createdByRole: string;
30198
30216
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30199
30217
  createdByUserType?: "user" | "system" | null | undefined;
30200
- createdByRole?: string | null | undefined;
30201
30218
  createdBySignature?: string | null | undefined;
30202
30219
  } | null | undefined;
30203
30220
  REGISTERED?: {
30204
30221
  createdAt: string;
30205
30222
  createdBy: string;
30206
30223
  acceptedAt: string;
30224
+ createdByRole: string;
30207
30225
  registrationNumber: string;
30208
30226
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30209
30227
  createdByUserType?: "user" | "system" | null | undefined;
30210
- createdByRole?: string | null | undefined;
30211
30228
  createdBySignature?: string | null | undefined;
30212
30229
  } | null | undefined;
30213
30230
  };
30214
30231
  createdAt: string;
30215
30232
  createdBy: string;
30233
+ updatedByUserRole: string;
30216
30234
  updatedAt: string;
30217
30235
  trackingId: string;
30218
30236
  potentialDuplicates: {
@@ -30224,7 +30242,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30224
30242
  dateOfEvent?: string | null | undefined;
30225
30243
  placeOfEvent?: (string & import("zod").$brand<"UUID">) | null | undefined;
30226
30244
  createdByUserType?: "user" | "system" | null | undefined;
30227
- updatedByUserRole?: string | null | undefined;
30228
30245
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
30229
30246
  createdBySignature?: string | null | undefined;
30230
30247
  updatedAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -30247,10 +30264,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30247
30264
  createdByUserType: "user" | "system";
30248
30265
  createdAt: string;
30249
30266
  createdBy: string;
30267
+ createdByRole: string;
30250
30268
  declaration: Record<string, unknown>;
30251
30269
  status: "Requested" | "Accepted" | "Rejected";
30252
30270
  type: "CREATE";
30253
- createdByRole?: string | null | undefined;
30254
30271
  createdBySignature?: string | null | undefined;
30255
30272
  createdAtLocation?: string | null | undefined;
30256
30273
  annotation?: Record<string, unknown> | null | undefined;
@@ -30261,13 +30278,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30261
30278
  createdByUserType: "user" | "system";
30262
30279
  createdAt: string;
30263
30280
  createdBy: string;
30281
+ createdByRole: string;
30264
30282
  declaration: Record<string, unknown>;
30265
30283
  status: "Requested" | "Accepted" | "Rejected";
30266
30284
  type: "REJECT";
30267
30285
  content: {
30268
30286
  reason: string;
30269
30287
  };
30270
- createdByRole?: string | null | undefined;
30271
30288
  createdBySignature?: string | null | undefined;
30272
30289
  createdAtLocation?: string | null | undefined;
30273
30290
  annotation?: Record<string, unknown> | null | undefined;
@@ -30278,6 +30295,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30278
30295
  createdByUserType: "user" | "system";
30279
30296
  createdAt: string;
30280
30297
  createdBy: string;
30298
+ createdByRole: string;
30281
30299
  declaration: Record<string, unknown>;
30282
30300
  status: "Requested" | "Accepted" | "Rejected";
30283
30301
  type: "DUPLICATE_DETECTED";
@@ -30287,7 +30305,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30287
30305
  trackingId: string;
30288
30306
  }[];
30289
30307
  };
30290
- createdByRole?: string | null | undefined;
30291
30308
  createdBySignature?: string | null | undefined;
30292
30309
  createdAtLocation?: string | null | undefined;
30293
30310
  annotation?: Record<string, unknown> | null | undefined;
@@ -30298,10 +30315,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30298
30315
  createdByUserType: "user" | "system";
30299
30316
  createdAt: string;
30300
30317
  createdBy: string;
30318
+ createdByRole: string;
30301
30319
  declaration: Record<string, unknown>;
30302
30320
  status: "Requested" | "Accepted" | "Rejected";
30303
30321
  type: "MARK_AS_NOT_DUPLICATE";
30304
- createdByRole?: string | null | undefined;
30305
30322
  createdBySignature?: string | null | undefined;
30306
30323
  createdAtLocation?: string | null | undefined;
30307
30324
  annotation?: Record<string, unknown> | null | undefined;
@@ -30312,10 +30329,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30312
30329
  createdByUserType: "user" | "system";
30313
30330
  createdAt: string;
30314
30331
  createdBy: string;
30332
+ createdByRole: string;
30315
30333
  declaration: Record<string, unknown>;
30316
30334
  status: "Requested" | "Accepted" | "Rejected";
30317
30335
  type: "MARK_AS_DUPLICATE";
30318
- createdByRole?: string | null | undefined;
30319
30336
  createdBySignature?: string | null | undefined;
30320
30337
  createdAtLocation?: string | null | undefined;
30321
30338
  annotation?: Record<string, unknown> | null | undefined;
@@ -30329,13 +30346,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30329
30346
  createdByUserType: "user" | "system";
30330
30347
  createdAt: string;
30331
30348
  createdBy: string;
30349
+ createdByRole: string;
30332
30350
  declaration: Record<string, unknown>;
30333
30351
  status: "Requested" | "Accepted" | "Rejected";
30334
30352
  type: "ARCHIVE";
30335
30353
  content: {
30336
30354
  reason: string;
30337
30355
  };
30338
- createdByRole?: string | null | undefined;
30339
30356
  createdBySignature?: string | null | undefined;
30340
30357
  createdAtLocation?: string | null | undefined;
30341
30358
  annotation?: Record<string, unknown> | null | undefined;
@@ -30346,10 +30363,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30346
30363
  createdByUserType: "user" | "system";
30347
30364
  createdAt: string;
30348
30365
  createdBy: string;
30366
+ createdByRole: string;
30349
30367
  declaration: Record<string, unknown>;
30350
30368
  status: "Requested" | "Accepted" | "Rejected";
30351
30369
  type: "NOTIFY";
30352
- createdByRole?: string | null | undefined;
30353
30370
  createdBySignature?: string | null | undefined;
30354
30371
  createdAtLocation?: string | null | undefined;
30355
30372
  annotation?: Record<string, unknown> | null | undefined;
@@ -30360,10 +30377,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30360
30377
  createdByUserType: "user" | "system";
30361
30378
  createdAt: string;
30362
30379
  createdBy: string;
30380
+ createdByRole: string;
30363
30381
  declaration: Record<string, unknown>;
30364
30382
  status: "Requested" | "Accepted" | "Rejected";
30365
30383
  type: "REGISTER";
30366
- createdByRole?: string | null | undefined;
30367
30384
  createdBySignature?: string | null | undefined;
30368
30385
  createdAtLocation?: string | null | undefined;
30369
30386
  annotation?: Record<string, unknown> | null | undefined;
@@ -30375,10 +30392,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30375
30392
  createdByUserType: "user" | "system";
30376
30393
  createdAt: string;
30377
30394
  createdBy: string;
30395
+ createdByRole: string;
30378
30396
  declaration: Record<string, unknown>;
30379
30397
  status: "Requested" | "Accepted" | "Rejected";
30380
30398
  type: "DECLARE";
30381
- createdByRole?: string | null | undefined;
30382
30399
  createdBySignature?: string | null | undefined;
30383
30400
  createdAtLocation?: string | null | undefined;
30384
30401
  annotation?: Record<string, unknown> | null | undefined;
@@ -30389,11 +30406,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30389
30406
  createdByUserType: "user" | "system";
30390
30407
  createdAt: string;
30391
30408
  createdBy: string;
30409
+ createdByRole: string;
30392
30410
  declaration: Record<string, unknown>;
30393
30411
  status: "Requested" | "Accepted" | "Rejected";
30394
30412
  type: "ASSIGN";
30395
30413
  assignedTo: string;
30396
- createdByRole?: string | null | undefined;
30397
30414
  createdBySignature?: string | null | undefined;
30398
30415
  createdAtLocation?: string | null | undefined;
30399
30416
  annotation?: Record<string, unknown> | null | undefined;
@@ -30404,10 +30421,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30404
30421
  createdByUserType: "user" | "system";
30405
30422
  createdAt: string;
30406
30423
  createdBy: string;
30424
+ createdByRole: string;
30407
30425
  declaration: Record<string, unknown>;
30408
30426
  status: "Requested" | "Accepted" | "Rejected";
30409
30427
  type: "REQUEST_CORRECTION";
30410
- createdByRole?: string | null | undefined;
30411
30428
  createdBySignature?: string | null | undefined;
30412
30429
  createdAtLocation?: string | null | undefined;
30413
30430
  annotation?: Record<string, unknown> | null | undefined;
@@ -30418,11 +30435,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30418
30435
  createdByUserType: "user" | "system";
30419
30436
  createdAt: string;
30420
30437
  createdBy: string;
30438
+ createdByRole: string;
30421
30439
  declaration: Record<string, unknown>;
30422
30440
  status: "Requested" | "Accepted" | "Rejected";
30423
30441
  type: "APPROVE_CORRECTION";
30424
30442
  requestId: string;
30425
- createdByRole?: string | null | undefined;
30426
30443
  createdBySignature?: string | null | undefined;
30427
30444
  createdAtLocation?: string | null | undefined;
30428
30445
  annotation?: Record<string, unknown> | null | undefined;
@@ -30433,6 +30450,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30433
30450
  createdByUserType: "user" | "system";
30434
30451
  createdAt: string;
30435
30452
  createdBy: string;
30453
+ createdByRole: string;
30436
30454
  declaration: Record<string, unknown>;
30437
30455
  status: "Requested" | "Accepted" | "Rejected";
30438
30456
  type: "REJECT_CORRECTION";
@@ -30440,7 +30458,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30440
30458
  content: {
30441
30459
  reason: string;
30442
30460
  };
30443
- createdByRole?: string | null | undefined;
30444
30461
  createdBySignature?: string | null | undefined;
30445
30462
  createdAtLocation?: string | null | undefined;
30446
30463
  annotation?: Record<string, unknown> | null | undefined;
@@ -30451,10 +30468,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30451
30468
  createdByUserType: "user" | "system";
30452
30469
  createdAt: string;
30453
30470
  createdBy: string;
30471
+ createdByRole: string;
30454
30472
  declaration: Record<string, unknown>;
30455
30473
  status: "Requested" | "Accepted" | "Rejected";
30456
30474
  type: "UNASSIGN";
30457
- createdByRole?: string | null | undefined;
30458
30475
  createdBySignature?: string | null | undefined;
30459
30476
  createdAtLocation?: string | null | undefined;
30460
30477
  annotation?: Record<string, unknown> | null | undefined;
@@ -30465,10 +30482,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30465
30482
  createdByUserType: "user" | "system";
30466
30483
  createdAt: string;
30467
30484
  createdBy: string;
30485
+ createdByRole: string;
30468
30486
  declaration: Record<string, unknown>;
30469
30487
  status: "Requested" | "Accepted" | "Rejected";
30470
30488
  type: "PRINT_CERTIFICATE";
30471
- createdByRole?: string | null | undefined;
30472
30489
  createdBySignature?: string | null | undefined;
30473
30490
  createdAtLocation?: string | null | undefined;
30474
30491
  annotation?: Record<string, unknown> | null | undefined;
@@ -30482,10 +30499,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30482
30499
  createdByUserType: "user" | "system";
30483
30500
  createdAt: string;
30484
30501
  createdBy: string;
30502
+ createdByRole: string;
30485
30503
  declaration: Record<string, unknown>;
30486
30504
  status: "Requested" | "Accepted" | "Rejected";
30487
30505
  type: "READ";
30488
- createdByRole?: string | null | undefined;
30489
30506
  createdBySignature?: string | null | undefined;
30490
30507
  createdAtLocation?: string | null | undefined;
30491
30508
  annotation?: Record<string, unknown> | null | undefined;
@@ -30496,13 +30513,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30496
30513
  createdByUserType: "user" | "system";
30497
30514
  createdAt: string;
30498
30515
  createdBy: string;
30516
+ createdByRole: string;
30499
30517
  declaration: Record<string, unknown>;
30500
30518
  status: "Requested" | "Accepted" | "Rejected";
30501
30519
  type: "EDIT";
30502
30520
  content: {
30503
30521
  comment?: string | undefined;
30504
30522
  };
30505
- createdByRole?: string | null | undefined;
30506
30523
  createdBySignature?: string | null | undefined;
30507
30524
  createdAtLocation?: string | null | undefined;
30508
30525
  annotation?: Record<string, unknown> | null | undefined;
@@ -30513,11 +30530,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30513
30530
  createdByUserType: "user" | "system";
30514
30531
  createdAt: string;
30515
30532
  createdBy: string;
30533
+ createdByRole: string;
30516
30534
  declaration: Record<string, unknown>;
30517
30535
  status: "Requested" | "Accepted" | "Rejected";
30518
30536
  type: "CUSTOM";
30519
30537
  customActionType: string;
30520
- createdByRole?: string | null | undefined;
30521
30538
  createdBySignature?: string | null | undefined;
30522
30539
  createdAtLocation?: string | null | undefined;
30523
30540
  annotation?: Record<string, unknown> | null | undefined;
@@ -30528,9 +30545,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30528
30545
  createdByUserType: "user" | "system";
30529
30546
  createdAt: string;
30530
30547
  createdBy: string;
30548
+ createdByRole: string;
30531
30549
  type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "EDIT" | "ARCHIVE" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
30532
30550
  status: "Rejected";
30533
- createdByRole?: string | null | undefined;
30534
30551
  createdBySignature?: string | null | undefined;
30535
30552
  createdAtLocation?: string | null | undefined;
30536
30553
  originalActionId?: string | null | undefined;
@@ -30559,6 +30576,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30559
30576
  } | {
30560
30577
  type: "system";
30561
30578
  id: string;
30579
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
30562
30580
  signature?: undefined;
30563
30581
  primaryOfficeId?: undefined;
30564
30582
  administrativeAreaId?: undefined;
@@ -30589,6 +30607,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30589
30607
  id: string;
30590
30608
  name: string;
30591
30609
  type: "system";
30610
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
30592
30611
  primaryOfficeId?: undefined;
30593
30612
  administrativeAreaId?: undefined;
30594
30613
  signature?: undefined;
@@ -30618,6 +30637,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30618
30637
  id: string;
30619
30638
  name: string;
30620
30639
  type: "system";
30640
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
30621
30641
  primaryOfficeId?: undefined;
30622
30642
  administrativeAreaId?: undefined;
30623
30643
  signature?: undefined;
@@ -30644,7 +30664,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30644
30664
  declaration: Record<string, any>;
30645
30665
  annotation: Record<string, any> | null;
30646
30666
  createdBy: string;
30647
- createdByRole: string | null;
30667
+ createdByRole: string;
30648
30668
  createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
30649
30669
  createdBySignature: string | null;
30650
30670
  createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
@@ -30678,6 +30698,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30678
30698
  } | {
30679
30699
  type: "system";
30680
30700
  id: string;
30701
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
30681
30702
  signature?: undefined;
30682
30703
  primaryOfficeId?: undefined;
30683
30704
  administrativeAreaId?: undefined;
@@ -30737,6 +30758,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30737
30758
  } | {
30738
30759
  type: "system";
30739
30760
  id: string;
30761
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
30740
30762
  signature?: undefined;
30741
30763
  primaryOfficeId?: undefined;
30742
30764
  administrativeAreaId?: undefined;
@@ -30759,6 +30781,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30759
30781
  } | {
30760
30782
  type: "system";
30761
30783
  id: string;
30784
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
30762
30785
  signature?: undefined;
30763
30786
  primaryOfficeId?: undefined;
30764
30787
  administrativeAreaId?: undefined;
@@ -31045,6 +31068,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
31045
31068
  } | {
31046
31069
  type: "system";
31047
31070
  id: string;
31071
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
31048
31072
  signature?: undefined;
31049
31073
  primaryOfficeId?: undefined;
31050
31074
  administrativeAreaId?: undefined;
@@ -31073,6 +31097,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
31073
31097
  } | {
31074
31098
  type: "system";
31075
31099
  id: string;
31100
+ role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
31076
31101
  signature?: undefined;
31077
31102
  primaryOfficeId?: undefined;
31078
31103
  administrativeAreaId?: undefined;
@@ -31108,41 +31133,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
31108
31133
  meta: import("trpc-to-openapi").OpenApiMeta;
31109
31134
  }>;
31110
31135
  }>>;
31111
- integrations: import("@trpc/server").TRPCBuiltRouter<{
31112
- ctx: Partial<{
31113
- token: `Bearer ${string}`;
31114
- user: {
31115
- type: "user";
31116
- id: string;
31117
- role: string;
31118
- primaryOfficeId: string & import("zod").$brand<"UUID">;
31119
- signature?: string | undefined;
31120
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
31121
- } | {
31122
- type: "system";
31123
- id: string;
31124
- signature?: undefined;
31125
- primaryOfficeId?: undefined;
31126
- administrativeAreaId?: undefined;
31127
- };
31128
- }>;
31129
- meta: import("trpc-to-openapi").OpenApiMeta;
31130
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
31131
- transformer: true;
31132
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
31133
- create: import("@trpc/server").TRPCMutationProcedure<{
31134
- input: {
31135
- name: string;
31136
- scopes: string[];
31137
- };
31138
- output: {
31139
- clientId: string;
31140
- shaSecret: string;
31141
- clientSecret: string;
31142
- };
31143
- meta: import("trpc-to-openapi").OpenApiMeta;
31144
- }>;
31145
- }>>;
31146
31136
  }>>;
31147
31137
  /** @knipignore */
31148
31138
  export type AppRouter = typeof appRouter;