@opencrvs/toolkit 1.9.2-rc.cb144d0 → 1.9.2-rc.f5cc2a4

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.
@@ -1,5 +1,5 @@
1
1
  export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2
- ctx: {
2
+ ctx: Partial<{
3
3
  token: `Bearer ${string}`;
4
4
  user: {
5
5
  type: "user";
@@ -14,13 +14,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14
14
  signature?: undefined;
15
15
  primaryOfficeId?: undefined;
16
16
  };
17
- };
17
+ }>;
18
18
  meta: import("trpc-to-openapi").OpenApiMeta;
19
19
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
20
20
  transformer: true;
21
21
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
22
22
  event: import("@trpc/server").TRPCBuiltRouter<{
23
- ctx: {
23
+ ctx: Partial<{
24
24
  token: `Bearer ${string}`;
25
25
  user: {
26
26
  type: "user";
@@ -35,13 +35,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
35
35
  signature?: undefined;
36
36
  primaryOfficeId?: undefined;
37
37
  };
38
- };
38
+ }>;
39
39
  meta: import("trpc-to-openapi").OpenApiMeta;
40
40
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
41
41
  transformer: true;
42
42
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
43
43
  config: import("@trpc/server").TRPCBuiltRouter<{
44
- ctx: {
44
+ ctx: Partial<{
45
45
  token: `Bearer ${string}`;
46
46
  user: {
47
47
  type: "user";
@@ -56,7 +56,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
56
56
  signature?: undefined;
57
57
  primaryOfficeId?: undefined;
58
58
  };
59
- };
59
+ }>;
60
60
  meta: import("trpc-to-openapi").OpenApiMeta;
61
61
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
62
62
  transformer: true;
@@ -24780,7 +24780,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24780
24780
  type: "fuzzy" | "exact" | "range" | "within";
24781
24781
  searchFields?: string[] | undefined;
24782
24782
  };
24783
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
24783
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
24784
24784
  fieldType: "event";
24785
24785
  type?: "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE" | "TIME" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | undefined;
24786
24786
  label?: {
@@ -25116,6 +25116,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25116
25116
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25117
25117
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25118
25118
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25119
+ } | {
25120
+ id: string & import("zod").$brand<"UUID">;
25121
+ transactionId: string;
25122
+ createdByUserType: "user" | "system";
25123
+ createdAt: string;
25124
+ createdBy: string;
25125
+ createdByRole: string;
25126
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
25127
+ status: "Requested" | "Accepted" | "Rejected";
25128
+ type: "EDIT";
25129
+ createdBySignature?: string | null | undefined;
25130
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25131
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25132
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25119
25133
  } | {
25120
25134
  id: string & import("zod").$brand<"UUID">;
25121
25135
  transactionId: string;
@@ -25138,7 +25152,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25138
25152
  createdAt: string;
25139
25153
  createdBy: string;
25140
25154
  createdByRole: string;
25141
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
25155
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25142
25156
  status: "Rejected";
25143
25157
  createdBySignature?: string | null | undefined;
25144
25158
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -25418,6 +25432,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25418
25432
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25419
25433
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25420
25434
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25435
+ } | {
25436
+ id: string & import("zod").$brand<"UUID">;
25437
+ transactionId: string;
25438
+ createdByUserType: "user" | "system";
25439
+ createdAt: string;
25440
+ createdBy: string;
25441
+ createdByRole: string;
25442
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
25443
+ status: "Requested" | "Accepted" | "Rejected";
25444
+ type: "EDIT";
25445
+ createdBySignature?: string | null | undefined;
25446
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25447
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25448
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25421
25449
  } | {
25422
25450
  id: string & import("zod").$brand<"UUID">;
25423
25451
  transactionId: string;
@@ -25440,7 +25468,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25440
25468
  createdAt: string;
25441
25469
  createdBy: string;
25442
25470
  createdByRole: string;
25443
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
25471
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25444
25472
  status: "Rejected";
25445
25473
  createdBySignature?: string | null | undefined;
25446
25474
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -25722,6 +25750,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25722
25750
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25723
25751
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25724
25752
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25753
+ } | {
25754
+ id: string & import("zod").$brand<"UUID">;
25755
+ transactionId: string;
25756
+ createdByUserType: "user" | "system";
25757
+ createdAt: string;
25758
+ createdBy: string;
25759
+ createdByRole: string;
25760
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
25761
+ status: "Requested" | "Accepted" | "Rejected";
25762
+ type: "EDIT";
25763
+ createdBySignature?: string | null | undefined;
25764
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25765
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25766
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25725
25767
  } | {
25726
25768
  id: string & import("zod").$brand<"UUID">;
25727
25769
  transactionId: string;
@@ -25744,7 +25786,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25744
25786
  createdAt: string;
25745
25787
  createdBy: string;
25746
25788
  createdByRole: string;
25747
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
25789
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25748
25790
  status: "Rejected";
25749
25791
  createdBySignature?: string | null | undefined;
25750
25792
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -25764,7 +25806,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25764
25806
  meta: import("trpc-to-openapi").OpenApiMeta;
25765
25807
  }>;
25766
25808
  draft: import("@trpc/server").TRPCBuiltRouter<{
25767
- ctx: {
25809
+ ctx: Partial<{
25768
25810
  token: `Bearer ${string}`;
25769
25811
  user: {
25770
25812
  type: "user";
@@ -25779,7 +25821,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25779
25821
  signature?: undefined;
25780
25822
  primaryOfficeId?: undefined;
25781
25823
  };
25782
- };
25824
+ }>;
25783
25825
  meta: import("trpc-to-openapi").OpenApiMeta;
25784
25826
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
25785
25827
  transformer: true;
@@ -25792,7 +25834,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25792
25834
  transactionId: string;
25793
25835
  createdAt: string;
25794
25836
  action: {
25795
- type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
25837
+ type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
25796
25838
  status: "Requested" | "Accepted" | "Rejected";
25797
25839
  transactionId: string;
25798
25840
  createdByUserType: "user" | "system";
@@ -25811,7 +25853,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25811
25853
  input: {
25812
25854
  eventId: string;
25813
25855
  transactionId: string;
25814
- type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
25856
+ type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
25815
25857
  status: "Requested" | "Accepted" | "Rejected";
25816
25858
  declaration?: Record<string, unknown> | undefined;
25817
25859
  annotation?: Record<string, unknown> | undefined;
@@ -25825,7 +25867,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25825
25867
  transactionId: string;
25826
25868
  createdAt: string;
25827
25869
  action: {
25828
- type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
25870
+ type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
25829
25871
  status: "Requested" | "Accepted" | "Rejected";
25830
25872
  transactionId: string;
25831
25873
  createdByUserType: "user" | "system";
@@ -25842,7 +25884,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25842
25884
  }>;
25843
25885
  }>>;
25844
25886
  actions: import("@trpc/server").TRPCBuiltRouter<{
25845
- ctx: {
25887
+ ctx: Partial<{
25846
25888
  token: `Bearer ${string}`;
25847
25889
  user: {
25848
25890
  type: "user";
@@ -25857,13 +25899,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25857
25899
  signature?: undefined;
25858
25900
  primaryOfficeId?: undefined;
25859
25901
  };
25860
- };
25902
+ }>;
25861
25903
  meta: import("trpc-to-openapi").OpenApiMeta;
25862
25904
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
25863
25905
  transformer: true;
25864
25906
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
25865
25907
  notify: import("@trpc/server").TRPCBuiltRouter<{
25866
- ctx: {
25908
+ ctx: Partial<{
25867
25909
  token: `Bearer ${string}`;
25868
25910
  user: {
25869
25911
  type: "user";
@@ -25878,7 +25920,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25878
25920
  signature?: undefined;
25879
25921
  primaryOfficeId?: undefined;
25880
25922
  };
25881
- };
25923
+ }>;
25882
25924
  meta: import("trpc-to-openapi").OpenApiMeta;
25883
25925
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
25884
25926
  transformer: true;
@@ -25906,7 +25948,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25906
25948
  }>;
25907
25949
  }>>;
25908
25950
  declare: import("@trpc/server").TRPCBuiltRouter<{
25909
- ctx: {
25951
+ ctx: Partial<{
25910
25952
  token: `Bearer ${string}`;
25911
25953
  user: {
25912
25954
  type: "user";
@@ -25921,7 +25963,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25921
25963
  signature?: undefined;
25922
25964
  primaryOfficeId?: undefined;
25923
25965
  };
25924
- };
25966
+ }>;
25925
25967
  meta: import("trpc-to-openapi").OpenApiMeta;
25926
25968
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
25927
25969
  transformer: true;
@@ -26205,6 +26247,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26205
26247
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26206
26248
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26207
26249
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26250
+ } | {
26251
+ id: string & import("zod").$brand<"UUID">;
26252
+ transactionId: string;
26253
+ createdByUserType: "user" | "system";
26254
+ createdAt: string;
26255
+ createdBy: string;
26256
+ createdByRole: string;
26257
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
26258
+ status: "Requested" | "Accepted" | "Rejected";
26259
+ type: "EDIT";
26260
+ createdBySignature?: string | null | undefined;
26261
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26262
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26263
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26208
26264
  } | {
26209
26265
  id: string & import("zod").$brand<"UUID">;
26210
26266
  transactionId: string;
@@ -26227,7 +26283,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26227
26283
  createdAt: string;
26228
26284
  createdBy: string;
26229
26285
  createdByRole: string;
26230
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
26286
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
26231
26287
  status: "Rejected";
26232
26288
  createdBySignature?: string | null | undefined;
26233
26289
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -26254,8 +26310,51 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26254
26310
  meta: import("trpc-to-openapi").OpenApiMeta;
26255
26311
  }>;
26256
26312
  }>>;
26313
+ edit: import("@trpc/server").TRPCBuiltRouter<{
26314
+ ctx: Partial<{
26315
+ token: `Bearer ${string}`;
26316
+ user: {
26317
+ type: "user";
26318
+ id: string;
26319
+ role: string;
26320
+ primaryOfficeId: string & import("zod").$brand<"UUID">;
26321
+ signature?: string | undefined;
26322
+ } | {
26323
+ type: "system";
26324
+ id: string;
26325
+ role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26326
+ signature?: undefined;
26327
+ primaryOfficeId?: undefined;
26328
+ };
26329
+ }>;
26330
+ meta: import("trpc-to-openapi").OpenApiMeta;
26331
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26332
+ transformer: true;
26333
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
26334
+ request: import("@trpc/server").TRPCMutationProcedure<{
26335
+ input: import("../commons").ActionInput;
26336
+ output: import("../commons").EventDocument;
26337
+ meta: import("trpc-to-openapi").OpenApiMeta;
26338
+ }>;
26339
+ accept: import("@trpc/server").TRPCMutationProcedure<{
26340
+ input: import("../commons").ActionInput & {
26341
+ actionId: string;
26342
+ };
26343
+ output: import("../commons").EventDocument;
26344
+ meta: import("trpc-to-openapi").OpenApiMeta;
26345
+ }>;
26346
+ reject: import("@trpc/server").TRPCMutationProcedure<{
26347
+ input: {
26348
+ eventId: string;
26349
+ actionId: string;
26350
+ transactionId: string;
26351
+ };
26352
+ output: import("../commons").EventDocument;
26353
+ meta: import("trpc-to-openapi").OpenApiMeta;
26354
+ }>;
26355
+ }>>;
26257
26356
  validate: import("@trpc/server").TRPCBuiltRouter<{
26258
- ctx: {
26357
+ ctx: Partial<{
26259
26358
  token: `Bearer ${string}`;
26260
26359
  user: {
26261
26360
  type: "user";
@@ -26270,7 +26369,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26270
26369
  signature?: undefined;
26271
26370
  primaryOfficeId?: undefined;
26272
26371
  };
26273
- };
26372
+ }>;
26274
26373
  meta: import("trpc-to-openapi").OpenApiMeta;
26275
26374
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26276
26375
  transformer: true;
@@ -26298,7 +26397,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26298
26397
  }>;
26299
26398
  }>>;
26300
26399
  reject: import("@trpc/server").TRPCBuiltRouter<{
26301
- ctx: {
26400
+ ctx: Partial<{
26302
26401
  token: `Bearer ${string}`;
26303
26402
  user: {
26304
26403
  type: "user";
@@ -26313,7 +26412,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26313
26412
  signature?: undefined;
26314
26413
  primaryOfficeId?: undefined;
26315
26414
  };
26316
- };
26415
+ }>;
26317
26416
  meta: import("trpc-to-openapi").OpenApiMeta;
26318
26417
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26319
26418
  transformer: true;
@@ -26341,7 +26440,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26341
26440
  }>;
26342
26441
  }>>;
26343
26442
  archive: import("@trpc/server").TRPCBuiltRouter<{
26344
- ctx: {
26443
+ ctx: Partial<{
26345
26444
  token: `Bearer ${string}`;
26346
26445
  user: {
26347
26446
  type: "user";
@@ -26356,7 +26455,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26356
26455
  signature?: undefined;
26357
26456
  primaryOfficeId?: undefined;
26358
26457
  };
26359
- };
26458
+ }>;
26360
26459
  meta: import("trpc-to-openapi").OpenApiMeta;
26361
26460
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26362
26461
  transformer: true;
@@ -26384,7 +26483,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26384
26483
  }>;
26385
26484
  }>>;
26386
26485
  register: import("@trpc/server").TRPCBuiltRouter<{
26387
- ctx: {
26486
+ ctx: Partial<{
26388
26487
  token: `Bearer ${string}`;
26389
26488
  user: {
26390
26489
  type: "user";
@@ -26399,7 +26498,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26399
26498
  signature?: undefined;
26400
26499
  primaryOfficeId?: undefined;
26401
26500
  };
26402
- };
26501
+ }>;
26403
26502
  meta: import("trpc-to-openapi").OpenApiMeta;
26404
26503
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26405
26504
  transformer: true;
@@ -26427,7 +26526,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26427
26526
  }>;
26428
26527
  }>>;
26429
26528
  printCertificate: import("@trpc/server").TRPCBuiltRouter<{
26430
- ctx: {
26529
+ ctx: Partial<{
26431
26530
  token: `Bearer ${string}`;
26432
26531
  user: {
26433
26532
  type: "user";
@@ -26442,7 +26541,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26442
26541
  signature?: undefined;
26443
26542
  primaryOfficeId?: undefined;
26444
26543
  };
26445
- };
26544
+ }>;
26446
26545
  meta: import("trpc-to-openapi").OpenApiMeta;
26447
26546
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26448
26547
  transformer: true;
@@ -26470,7 +26569,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26470
26569
  }>;
26471
26570
  }>>;
26472
26571
  custom: import("@trpc/server").TRPCBuiltRouter<{
26473
- ctx: {
26572
+ ctx: Partial<{
26474
26573
  token: `Bearer ${string}`;
26475
26574
  user: {
26476
26575
  type: "user";
@@ -26485,7 +26584,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26485
26584
  signature?: undefined;
26486
26585
  primaryOfficeId?: undefined;
26487
26586
  };
26488
- };
26587
+ }>;
26489
26588
  meta: import("trpc-to-openapi").OpenApiMeta;
26490
26589
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26491
26590
  transformer: true;
@@ -26770,6 +26869,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26770
26869
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26771
26870
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26772
26871
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26872
+ } | {
26873
+ id: string & import("zod").$brand<"UUID">;
26874
+ transactionId: string;
26875
+ createdByUserType: "user" | "system";
26876
+ createdAt: string;
26877
+ createdBy: string;
26878
+ createdByRole: string;
26879
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
26880
+ status: "Requested" | "Accepted" | "Rejected";
26881
+ type: "EDIT";
26882
+ createdBySignature?: string | null | undefined;
26883
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26884
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26885
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26773
26886
  } | {
26774
26887
  id: string & import("zod").$brand<"UUID">;
26775
26888
  transactionId: string;
@@ -26792,7 +26905,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26792
26905
  createdAt: string;
26793
26906
  createdBy: string;
26794
26907
  createdByRole: string;
26795
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
26908
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
26796
26909
  status: "Rejected";
26797
26910
  createdBySignature?: string | null | undefined;
26798
26911
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -26820,7 +26933,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26820
26933
  }>;
26821
26934
  }>>;
26822
26935
  assignment: import("@trpc/server").TRPCBuiltRouter<{
26823
- ctx: {
26936
+ ctx: Partial<{
26824
26937
  token: `Bearer ${string}`;
26825
26938
  user: {
26826
26939
  type: "user";
@@ -26835,7 +26948,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26835
26948
  signature?: undefined;
26836
26949
  primaryOfficeId?: undefined;
26837
26950
  };
26838
- };
26951
+ }>;
26839
26952
  meta: import("trpc-to-openapi").OpenApiMeta;
26840
26953
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26841
26954
  transformer: true;
@@ -27120,6 +27233,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27120
27233
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27121
27234
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27122
27235
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27236
+ } | {
27237
+ id: string & import("zod").$brand<"UUID">;
27238
+ transactionId: string;
27239
+ createdByUserType: "user" | "system";
27240
+ createdAt: string;
27241
+ createdBy: string;
27242
+ createdByRole: string;
27243
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
27244
+ status: "Requested" | "Accepted" | "Rejected";
27245
+ type: "EDIT";
27246
+ createdBySignature?: string | null | undefined;
27247
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27248
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27249
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27123
27250
  } | {
27124
27251
  id: string & import("zod").$brand<"UUID">;
27125
27252
  transactionId: string;
@@ -27142,7 +27269,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27142
27269
  createdAt: string;
27143
27270
  createdBy: string;
27144
27271
  createdByRole: string;
27145
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
27272
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27146
27273
  status: "Rejected";
27147
27274
  createdBySignature?: string | null | undefined;
27148
27275
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27432,6 +27559,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27432
27559
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27433
27560
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27434
27561
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27562
+ } | {
27563
+ id: string & import("zod").$brand<"UUID">;
27564
+ transactionId: string;
27565
+ createdByUserType: "user" | "system";
27566
+ createdAt: string;
27567
+ createdBy: string;
27568
+ createdByRole: string;
27569
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
27570
+ status: "Requested" | "Accepted" | "Rejected";
27571
+ type: "EDIT";
27572
+ createdBySignature?: string | null | undefined;
27573
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27574
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27575
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27435
27576
  } | {
27436
27577
  id: string & import("zod").$brand<"UUID">;
27437
27578
  transactionId: string;
@@ -27454,7 +27595,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27454
27595
  createdAt: string;
27455
27596
  createdBy: string;
27456
27597
  createdByRole: string;
27457
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
27598
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27458
27599
  status: "Rejected";
27459
27600
  createdBySignature?: string | null | undefined;
27460
27601
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27466,7 +27607,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27466
27607
  }>;
27467
27608
  }>>;
27468
27609
  correction: import("@trpc/server").TRPCBuiltRouter<{
27469
- ctx: {
27610
+ ctx: Partial<{
27470
27611
  token: `Bearer ${string}`;
27471
27612
  user: {
27472
27613
  type: "user";
@@ -27481,13 +27622,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27481
27622
  signature?: undefined;
27482
27623
  primaryOfficeId?: undefined;
27483
27624
  };
27484
- };
27625
+ }>;
27485
27626
  meta: import("trpc-to-openapi").OpenApiMeta;
27486
27627
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27487
27628
  transformer: true;
27488
27629
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
27489
27630
  request: import("@trpc/server").TRPCBuiltRouter<{
27490
- ctx: {
27631
+ ctx: Partial<{
27491
27632
  token: `Bearer ${string}`;
27492
27633
  user: {
27493
27634
  type: "user";
@@ -27502,7 +27643,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27502
27643
  signature?: undefined;
27503
27644
  primaryOfficeId?: undefined;
27504
27645
  };
27505
- };
27646
+ }>;
27506
27647
  meta: import("trpc-to-openapi").OpenApiMeta;
27507
27648
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27508
27649
  transformer: true;
@@ -27530,7 +27671,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27530
27671
  }>;
27531
27672
  }>>;
27532
27673
  approve: import("@trpc/server").TRPCBuiltRouter<{
27533
- ctx: {
27674
+ ctx: Partial<{
27534
27675
  token: `Bearer ${string}`;
27535
27676
  user: {
27536
27677
  type: "user";
@@ -27545,7 +27686,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27545
27686
  signature?: undefined;
27546
27687
  primaryOfficeId?: undefined;
27547
27688
  };
27548
- };
27689
+ }>;
27549
27690
  meta: import("trpc-to-openapi").OpenApiMeta;
27550
27691
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27551
27692
  transformer: true;
@@ -27573,7 +27714,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27573
27714
  }>;
27574
27715
  }>>;
27575
27716
  reject: import("@trpc/server").TRPCBuiltRouter<{
27576
- ctx: {
27717
+ ctx: Partial<{
27577
27718
  token: `Bearer ${string}`;
27578
27719
  user: {
27579
27720
  type: "user";
@@ -27588,7 +27729,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27588
27729
  signature?: undefined;
27589
27730
  primaryOfficeId?: undefined;
27590
27731
  };
27591
- };
27732
+ }>;
27592
27733
  meta: import("trpc-to-openapi").OpenApiMeta;
27593
27734
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27594
27735
  transformer: true;
@@ -27617,7 +27758,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27617
27758
  }>>;
27618
27759
  }>>;
27619
27760
  duplicate: import("@trpc/server").TRPCBuiltRouter<{
27620
- ctx: {
27761
+ ctx: Partial<{
27621
27762
  token: `Bearer ${string}`;
27622
27763
  user: {
27623
27764
  type: "user";
@@ -27632,7 +27773,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27632
27773
  signature?: undefined;
27633
27774
  primaryOfficeId?: undefined;
27634
27775
  };
27635
- };
27776
+ }>;
27636
27777
  meta: import("trpc-to-openapi").OpenApiMeta;
27637
27778
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27638
27779
  transformer: true;
@@ -27919,6 +28060,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27919
28060
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27920
28061
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27921
28062
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28063
+ } | {
28064
+ id: string & import("zod").$brand<"UUID">;
28065
+ transactionId: string;
28066
+ createdByUserType: "user" | "system";
28067
+ createdAt: string;
28068
+ createdBy: string;
28069
+ createdByRole: string;
28070
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
28071
+ status: "Requested" | "Accepted" | "Rejected";
28072
+ type: "EDIT";
28073
+ createdBySignature?: string | null | undefined;
28074
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28075
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28076
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27922
28077
  } | {
27923
28078
  id: string & import("zod").$brand<"UUID">;
27924
28079
  transactionId: string;
@@ -27941,7 +28096,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27941
28096
  createdAt: string;
27942
28097
  createdBy: string;
27943
28098
  createdByRole: string;
27944
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
28099
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27945
28100
  status: "Rejected";
27946
28101
  createdBySignature?: string | null | undefined;
27947
28102
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -28230,6 +28385,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28230
28385
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28231
28386
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28232
28387
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28388
+ } | {
28389
+ id: string & import("zod").$brand<"UUID">;
28390
+ transactionId: string;
28391
+ createdByUserType: "user" | "system";
28392
+ createdAt: string;
28393
+ createdBy: string;
28394
+ createdByRole: string;
28395
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
28396
+ status: "Requested" | "Accepted" | "Rejected";
28397
+ type: "EDIT";
28398
+ createdBySignature?: string | null | undefined;
28399
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28400
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28401
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28233
28402
  } | {
28234
28403
  id: string & import("zod").$brand<"UUID">;
28235
28404
  transactionId: string;
@@ -28252,7 +28421,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28252
28421
  createdAt: string;
28253
28422
  createdBy: string;
28254
28423
  createdByRole: string;
28255
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
28424
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
28256
28425
  status: "Rejected";
28257
28426
  createdBySignature?: string | null | undefined;
28258
28427
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -28589,6 +28758,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28589
28758
  createdAtLocation?: string | null | undefined;
28590
28759
  annotation?: Record<string, unknown> | null | undefined;
28591
28760
  originalActionId?: string | null | undefined;
28761
+ } | {
28762
+ id: string;
28763
+ transactionId: string;
28764
+ createdByUserType: "user" | "system";
28765
+ createdAt: string;
28766
+ createdBy: string;
28767
+ createdByRole: string;
28768
+ declaration: Record<string, unknown>;
28769
+ status: "Requested" | "Accepted" | "Rejected";
28770
+ type: "EDIT";
28771
+ createdBySignature?: string | null | undefined;
28772
+ createdAtLocation?: string | null | undefined;
28773
+ annotation?: Record<string, unknown> | null | undefined;
28774
+ originalActionId?: string | null | undefined;
28592
28775
  } | {
28593
28776
  id: string;
28594
28777
  transactionId: string;
@@ -28611,7 +28794,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28611
28794
  createdAt: string;
28612
28795
  createdBy: string;
28613
28796
  createdByRole: string;
28614
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
28797
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
28615
28798
  status: "Rejected";
28616
28799
  createdBySignature?: string | null | undefined;
28617
28800
  createdAtLocation?: string | null | undefined;
@@ -28629,7 +28812,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28629
28812
  }>;
28630
28813
  }>>;
28631
28814
  user: import("@trpc/server").TRPCBuiltRouter<{
28632
- ctx: {
28815
+ ctx: Partial<{
28633
28816
  token: `Bearer ${string}`;
28634
28817
  user: {
28635
28818
  type: "user";
@@ -28644,7 +28827,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28644
28827
  signature?: undefined;
28645
28828
  primaryOfficeId?: undefined;
28646
28829
  };
28647
- };
28830
+ }>;
28648
28831
  meta: import("trpc-to-openapi").OpenApiMeta;
28649
28832
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28650
28833
  transformer: true;
@@ -28710,7 +28893,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28710
28893
  count?: number | undefined;
28711
28894
  timeStart?: string | undefined;
28712
28895
  timeEnd?: string | undefined;
28713
- actionTypes?: ("READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN")[] | undefined;
28896
+ actionTypes?: ("READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT")[] | undefined;
28714
28897
  };
28715
28898
  output: {
28716
28899
  results: {
@@ -28743,7 +28926,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28743
28926
  }>;
28744
28927
  }>>;
28745
28928
  locations: import("@trpc/server").TRPCBuiltRouter<{
28746
- ctx: {
28929
+ ctx: Partial<{
28747
28930
  token: `Bearer ${string}`;
28748
28931
  user: {
28749
28932
  type: "user";
@@ -28758,7 +28941,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28758
28941
  signature?: undefined;
28759
28942
  primaryOfficeId?: undefined;
28760
28943
  };
28761
- };
28944
+ }>;
28762
28945
  meta: import("trpc-to-openapi").OpenApiMeta;
28763
28946
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28764
28947
  transformer: true;
@@ -28796,7 +28979,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28796
28979
  }>;
28797
28980
  }>>;
28798
28981
  workqueue: import("@trpc/server").TRPCBuiltRouter<{
28799
- ctx: {
28982
+ ctx: Partial<{
28800
28983
  token: `Bearer ${string}`;
28801
28984
  user: {
28802
28985
  type: "user";
@@ -28811,13 +28994,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28811
28994
  signature?: undefined;
28812
28995
  primaryOfficeId?: undefined;
28813
28996
  };
28814
- };
28997
+ }>;
28815
28998
  meta: import("trpc-to-openapi").OpenApiMeta;
28816
28999
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28817
29000
  transformer: true;
28818
29001
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
28819
29002
  config: import("@trpc/server").TRPCBuiltRouter<{
28820
- ctx: {
29003
+ ctx: Partial<{
28821
29004
  token: `Bearer ${string}`;
28822
29005
  user: {
28823
29006
  type: "user";
@@ -28832,7 +29015,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28832
29015
  signature?: undefined;
28833
29016
  primaryOfficeId?: undefined;
28834
29017
  };
28835
- };
29018
+ }>;
28836
29019
  meta: import("trpc-to-openapi").OpenApiMeta;
28837
29020
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28838
29021
  transformer: true;
@@ -29080,7 +29263,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29080
29263
  }[];
29081
29264
  };
29082
29265
  actions: {
29083
- type: "DELETE" | "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
29266
+ type: "DELETE" | "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "ASSIGN" | "UNASSIGN" | "EDIT" | "DEFAULT";
29084
29267
  conditionals?: any[] | undefined;
29085
29268
  }[];
29086
29269
  columns: {