@opencrvs/toolkit 1.9.7-rc.04ec821 → 1.9.7-rc.0e15230

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