@opencrvs/toolkit 1.8.0-rc.f7aaf07 → 1.8.0-rc.f7e4aad

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,8 +1,8 @@
1
- export declare const appRouter: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
1
+ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2
2
  ctx: {
3
3
  user: {
4
4
  id: string;
5
- primaryOfficeId: string;
5
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
6
6
  role: string;
7
7
  type: "user";
8
8
  signature?: string | null | undefined;
@@ -16,14 +16,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16
16
  token: `Bearer ${string}`;
17
17
  };
18
18
  meta: import("trpc-to-openapi").OpenApiMeta;
19
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
19
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
20
20
  transformer: true;
21
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
22
- event: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
21
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
22
+ event: import("@trpc/server").TRPCBuiltRouter<{
23
23
  ctx: {
24
24
  user: {
25
25
  id: string;
26
- primaryOfficeId: string;
26
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
27
27
  role: string;
28
28
  type: "user";
29
29
  signature?: string | null | undefined;
@@ -37,14 +37,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
37
37
  token: `Bearer ${string}`;
38
38
  };
39
39
  meta: import("trpc-to-openapi").OpenApiMeta;
40
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
40
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
41
41
  transformer: true;
42
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
43
- config: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
42
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
43
+ config: import("@trpc/server").TRPCBuiltRouter<{
44
44
  ctx: {
45
45
  user: {
46
46
  id: string;
47
- primaryOfficeId: string;
47
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
48
48
  role: string;
49
49
  type: "user";
50
50
  signature?: string | null | undefined;
@@ -58,9 +58,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
58
58
  token: `Bearer ${string}`;
59
59
  };
60
60
  meta: import("trpc-to-openapi").OpenApiMeta;
61
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
61
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
62
62
  transformer: true;
63
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
63
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
64
64
  get: import("@trpc/server").TRPCQueryProcedure<{
65
65
  input: void;
66
66
  output: {
@@ -9265,6 +9265,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9265
9265
  } | undefined;
9266
9266
  fallbackTitle?: import("../commons").TranslationConfig | undefined;
9267
9267
  }[];
9268
+ meta: import("trpc-to-openapi").OpenApiMeta;
9268
9269
  }>;
9269
9270
  }>>;
9270
9271
  create: import("@trpc/server").TRPCMutationProcedure<{
@@ -9274,12 +9275,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9274
9275
  };
9275
9276
  output: {
9276
9277
  type: string;
9277
- id: string;
9278
+ id: string & import("zod").BRAND<"UUID">;
9278
9279
  createdAt: string;
9279
9280
  updatedAt: string;
9280
9281
  actions: ({
9281
9282
  type: "ASSIGN";
9282
- id: string;
9283
+ id: string & import("zod").BRAND<"UUID">;
9283
9284
  status: "Rejected" | "Requested" | "Accepted";
9284
9285
  transactionId: string;
9285
9286
  createdByUserType: "system" | "user";
@@ -9330,7 +9331,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9330
9331
  }[] | [string, string] | null | undefined>;
9331
9332
  assignedTo: string;
9332
9333
  createdBySignature?: string | null | undefined;
9333
- createdAtLocation?: string | null | undefined;
9334
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9334
9335
  annotation?: Record<string, string | number | boolean | {
9335
9336
  type: string;
9336
9337
  filename: string;
@@ -9372,11 +9373,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9372
9373
  option: string;
9373
9374
  filename: string;
9374
9375
  originalFilename: string;
9375
- }[] | [string, string] | null | undefined> | undefined;
9376
- originalActionId?: string | undefined;
9376
+ }[] | [string, string] | null | undefined> | null | undefined;
9377
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9377
9378
  } | {
9378
9379
  type: "UNASSIGN";
9379
- id: string;
9380
+ id: string & import("zod").BRAND<"UUID">;
9380
9381
  status: "Rejected" | "Requested" | "Accepted";
9381
9382
  transactionId: string;
9382
9383
  createdByUserType: "system" | "user";
@@ -9425,9 +9426,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9425
9426
  filename: string;
9426
9427
  originalFilename: string;
9427
9428
  }[] | [string, string] | null | undefined>;
9428
- assignedTo: null;
9429
9429
  createdBySignature?: string | null | undefined;
9430
- createdAtLocation?: string | null | undefined;
9430
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9431
9431
  annotation?: Record<string, string | number | boolean | {
9432
9432
  type: string;
9433
9433
  filename: string;
@@ -9469,11 +9469,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9469
9469
  option: string;
9470
9470
  filename: string;
9471
9471
  originalFilename: string;
9472
- }[] | [string, string] | null | undefined> | undefined;
9473
- originalActionId?: string | undefined;
9472
+ }[] | [string, string] | null | undefined> | null | undefined;
9473
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9474
9474
  } | {
9475
9475
  type: "REGISTER";
9476
- id: string;
9476
+ id: string & import("zod").BRAND<"UUID">;
9477
9477
  status: "Rejected" | "Requested" | "Accepted";
9478
9478
  transactionId: string;
9479
9479
  createdByUserType: "system" | "user";
@@ -9523,7 +9523,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9523
9523
  originalFilename: string;
9524
9524
  }[] | [string, string] | null | undefined>;
9525
9525
  createdBySignature?: string | null | undefined;
9526
- createdAtLocation?: string | null | undefined;
9526
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9527
9527
  annotation?: Record<string, string | number | boolean | {
9528
9528
  type: string;
9529
9529
  filename: string;
@@ -9565,12 +9565,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9565
9565
  option: string;
9566
9566
  filename: string;
9567
9567
  originalFilename: string;
9568
- }[] | [string, string] | null | undefined> | undefined;
9569
- originalActionId?: string | undefined;
9568
+ }[] | [string, string] | null | undefined> | null | undefined;
9569
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9570
9570
  registrationNumber?: string | undefined;
9571
9571
  } | {
9572
9572
  type: "DECLARE";
9573
- id: string;
9573
+ id: string & import("zod").BRAND<"UUID">;
9574
9574
  status: "Rejected" | "Requested" | "Accepted";
9575
9575
  transactionId: string;
9576
9576
  createdByUserType: "system" | "user";
@@ -9620,7 +9620,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9620
9620
  originalFilename: string;
9621
9621
  }[] | [string, string] | null | undefined>;
9622
9622
  createdBySignature?: string | null | undefined;
9623
- createdAtLocation?: string | null | undefined;
9623
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9624
9624
  annotation?: Record<string, string | number | boolean | {
9625
9625
  type: string;
9626
9626
  filename: string;
@@ -9662,11 +9662,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9662
9662
  option: string;
9663
9663
  filename: string;
9664
9664
  originalFilename: string;
9665
- }[] | [string, string] | null | undefined> | undefined;
9666
- originalActionId?: string | undefined;
9665
+ }[] | [string, string] | null | undefined> | null | undefined;
9666
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9667
9667
  } | {
9668
9668
  type: "VALIDATE";
9669
- id: string;
9669
+ id: string & import("zod").BRAND<"UUID">;
9670
9670
  status: "Rejected" | "Requested" | "Accepted";
9671
9671
  transactionId: string;
9672
9672
  createdByUserType: "system" | "user";
@@ -9716,7 +9716,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9716
9716
  originalFilename: string;
9717
9717
  }[] | [string, string] | null | undefined>;
9718
9718
  createdBySignature?: string | null | undefined;
9719
- createdAtLocation?: string | null | undefined;
9719
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9720
9720
  annotation?: Record<string, string | number | boolean | {
9721
9721
  type: string;
9722
9722
  filename: string;
@@ -9758,11 +9758,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9758
9758
  option: string;
9759
9759
  filename: string;
9760
9760
  originalFilename: string;
9761
- }[] | [string, string] | null | undefined> | undefined;
9762
- originalActionId?: string | undefined;
9761
+ }[] | [string, string] | null | undefined> | null | undefined;
9762
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9763
9763
  } | {
9764
9764
  type: "REJECT";
9765
- id: string;
9765
+ id: string & import("zod").BRAND<"UUID">;
9766
9766
  status: "Rejected" | "Requested" | "Accepted";
9767
9767
  reason: {
9768
9768
  message: string;
@@ -9816,7 +9816,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9816
9816
  originalFilename: string;
9817
9817
  }[] | [string, string] | null | undefined>;
9818
9818
  createdBySignature?: string | null | undefined;
9819
- createdAtLocation?: string | null | undefined;
9819
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9820
9820
  annotation?: Record<string, string | number | boolean | {
9821
9821
  type: string;
9822
9822
  filename: string;
@@ -9858,11 +9858,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9858
9858
  option: string;
9859
9859
  filename: string;
9860
9860
  originalFilename: string;
9861
- }[] | [string, string] | null | undefined> | undefined;
9862
- originalActionId?: string | undefined;
9861
+ }[] | [string, string] | null | undefined> | null | undefined;
9862
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9863
9863
  } | {
9864
9864
  type: "MARKED_AS_DUPLICATE";
9865
- id: string;
9865
+ id: string & import("zod").BRAND<"UUID">;
9866
9866
  status: "Rejected" | "Requested" | "Accepted";
9867
9867
  transactionId: string;
9868
9868
  createdByUserType: "system" | "user";
@@ -9912,7 +9912,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9912
9912
  originalFilename: string;
9913
9913
  }[] | [string, string] | null | undefined>;
9914
9914
  createdBySignature?: string | null | undefined;
9915
- createdAtLocation?: string | null | undefined;
9915
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9916
9916
  annotation?: Record<string, string | number | boolean | {
9917
9917
  type: string;
9918
9918
  filename: string;
@@ -9954,11 +9954,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9954
9954
  option: string;
9955
9955
  filename: string;
9956
9956
  originalFilename: string;
9957
- }[] | [string, string] | null | undefined> | undefined;
9958
- originalActionId?: string | undefined;
9957
+ }[] | [string, string] | null | undefined> | null | undefined;
9958
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9959
9959
  } | {
9960
9960
  type: "ARCHIVE";
9961
- id: string;
9961
+ id: string & import("zod").BRAND<"UUID">;
9962
9962
  status: "Rejected" | "Requested" | "Accepted";
9963
9963
  reason: {
9964
9964
  message: string;
@@ -10012,7 +10012,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10012
10012
  originalFilename: string;
10013
10013
  }[] | [string, string] | null | undefined>;
10014
10014
  createdBySignature?: string | null | undefined;
10015
- createdAtLocation?: string | null | undefined;
10015
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10016
10016
  annotation?: Record<string, string | number | boolean | {
10017
10017
  type: string;
10018
10018
  filename: string;
@@ -10054,11 +10054,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10054
10054
  option: string;
10055
10055
  filename: string;
10056
10056
  originalFilename: string;
10057
- }[] | [string, string] | null | undefined> | undefined;
10058
- originalActionId?: string | undefined;
10057
+ }[] | [string, string] | null | undefined> | null | undefined;
10058
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10059
10059
  } | {
10060
10060
  type: "CREATE";
10061
- id: string;
10061
+ id: string & import("zod").BRAND<"UUID">;
10062
10062
  status: "Rejected" | "Requested" | "Accepted";
10063
10063
  transactionId: string;
10064
10064
  createdByUserType: "system" | "user";
@@ -10108,7 +10108,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10108
10108
  originalFilename: string;
10109
10109
  }[] | [string, string] | null | undefined>;
10110
10110
  createdBySignature?: string | null | undefined;
10111
- createdAtLocation?: string | null | undefined;
10111
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10112
10112
  annotation?: Record<string, string | number | boolean | {
10113
10113
  type: string;
10114
10114
  filename: string;
@@ -10150,11 +10150,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10150
10150
  option: string;
10151
10151
  filename: string;
10152
10152
  originalFilename: string;
10153
- }[] | [string, string] | null | undefined> | undefined;
10154
- originalActionId?: string | undefined;
10153
+ }[] | [string, string] | null | undefined> | null | undefined;
10154
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10155
10155
  } | {
10156
10156
  type: "NOTIFY";
10157
- id: string;
10157
+ id: string & import("zod").BRAND<"UUID">;
10158
10158
  status: "Rejected" | "Requested" | "Accepted";
10159
10159
  transactionId: string;
10160
10160
  createdByUserType: "system" | "user";
@@ -10204,7 +10204,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10204
10204
  originalFilename: string;
10205
10205
  }[] | [string, string] | null | undefined>;
10206
10206
  createdBySignature?: string | null | undefined;
10207
- createdAtLocation?: string | null | undefined;
10207
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10208
10208
  annotation?: Record<string, string | number | boolean | {
10209
10209
  type: string;
10210
10210
  filename: string;
@@ -10246,11 +10246,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10246
10246
  option: string;
10247
10247
  filename: string;
10248
10248
  originalFilename: string;
10249
- }[] | [string, string] | null | undefined> | undefined;
10250
- originalActionId?: string | undefined;
10249
+ }[] | [string, string] | null | undefined> | null | undefined;
10250
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10251
10251
  } | {
10252
10252
  type: "PRINT_CERTIFICATE";
10253
- id: string;
10253
+ id: string & import("zod").BRAND<"UUID">;
10254
10254
  status: "Rejected" | "Requested" | "Accepted";
10255
10255
  transactionId: string;
10256
10256
  createdByUserType: "system" | "user";
@@ -10300,7 +10300,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10300
10300
  originalFilename: string;
10301
10301
  }[] | [string, string] | null | undefined>;
10302
10302
  createdBySignature?: string | null | undefined;
10303
- createdAtLocation?: string | null | undefined;
10303
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10304
10304
  annotation?: Record<string, string | number | boolean | {
10305
10305
  type: string;
10306
10306
  filename: string;
@@ -10342,11 +10342,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10342
10342
  option: string;
10343
10343
  filename: string;
10344
10344
  originalFilename: string;
10345
- }[] | [string, string] | null | undefined> | undefined;
10346
- originalActionId?: string | undefined;
10345
+ }[] | [string, string] | null | undefined> | null | undefined;
10346
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10347
10347
  } | {
10348
10348
  type: "REQUEST_CORRECTION";
10349
- id: string;
10349
+ id: string & import("zod").BRAND<"UUID">;
10350
10350
  status: "Rejected" | "Requested" | "Accepted";
10351
10351
  transactionId: string;
10352
10352
  createdByUserType: "system" | "user";
@@ -10396,7 +10396,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10396
10396
  originalFilename: string;
10397
10397
  }[] | [string, string] | null | undefined>;
10398
10398
  createdBySignature?: string | null | undefined;
10399
- createdAtLocation?: string | null | undefined;
10399
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10400
10400
  annotation?: Record<string, string | number | boolean | {
10401
10401
  type: string;
10402
10402
  filename: string;
@@ -10438,11 +10438,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10438
10438
  option: string;
10439
10439
  filename: string;
10440
10440
  originalFilename: string;
10441
- }[] | [string, string] | null | undefined> | undefined;
10442
- originalActionId?: string | undefined;
10441
+ }[] | [string, string] | null | undefined> | null | undefined;
10442
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10443
10443
  } | {
10444
10444
  type: "APPROVE_CORRECTION";
10445
- id: string;
10445
+ id: string & import("zod").BRAND<"UUID">;
10446
10446
  status: "Rejected" | "Requested" | "Accepted";
10447
10447
  transactionId: string;
10448
10448
  createdByUserType: "system" | "user";
@@ -10493,7 +10493,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10493
10493
  }[] | [string, string] | null | undefined>;
10494
10494
  requestId: string;
10495
10495
  createdBySignature?: string | null | undefined;
10496
- createdAtLocation?: string | null | undefined;
10496
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10497
10497
  annotation?: Record<string, string | number | boolean | {
10498
10498
  type: string;
10499
10499
  filename: string;
@@ -10535,11 +10535,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10535
10535
  option: string;
10536
10536
  filename: string;
10537
10537
  originalFilename: string;
10538
- }[] | [string, string] | null | undefined> | undefined;
10539
- originalActionId?: string | undefined;
10538
+ }[] | [string, string] | null | undefined> | null | undefined;
10539
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10540
10540
  } | {
10541
10541
  type: "REJECT_CORRECTION";
10542
- id: string;
10542
+ id: string & import("zod").BRAND<"UUID">;
10543
10543
  status: "Rejected" | "Requested" | "Accepted";
10544
10544
  transactionId: string;
10545
10545
  createdByUserType: "system" | "user";
@@ -10590,7 +10590,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10590
10590
  }[] | [string, string] | null | undefined>;
10591
10591
  requestId: string;
10592
10592
  createdBySignature?: string | null | undefined;
10593
- createdAtLocation?: string | null | undefined;
10593
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10594
10594
  annotation?: Record<string, string | number | boolean | {
10595
10595
  type: string;
10596
10596
  filename: string;
@@ -10632,11 +10632,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10632
10632
  option: string;
10633
10633
  filename: string;
10634
10634
  originalFilename: string;
10635
- }[] | [string, string] | null | undefined> | undefined;
10636
- originalActionId?: string | undefined;
10635
+ }[] | [string, string] | null | undefined> | null | undefined;
10636
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10637
10637
  } | {
10638
10638
  type: "READ";
10639
- id: string;
10639
+ id: string & import("zod").BRAND<"UUID">;
10640
10640
  status: "Rejected" | "Requested" | "Accepted";
10641
10641
  transactionId: string;
10642
10642
  createdByUserType: "system" | "user";
@@ -10686,7 +10686,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10686
10686
  originalFilename: string;
10687
10687
  }[] | [string, string] | null | undefined>;
10688
10688
  createdBySignature?: string | null | undefined;
10689
- createdAtLocation?: string | null | undefined;
10689
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10690
10690
  annotation?: Record<string, string | number | boolean | {
10691
10691
  type: string;
10692
10692
  filename: string;
@@ -10728,11 +10728,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10728
10728
  option: string;
10729
10729
  filename: string;
10730
10730
  originalFilename: string;
10731
- }[] | [string, string] | null | undefined> | undefined;
10732
- originalActionId?: string | undefined;
10731
+ }[] | [string, string] | null | undefined> | null | undefined;
10732
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10733
10733
  } | {
10734
10734
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10735
- id: string;
10735
+ id: string & import("zod").BRAND<"UUID">;
10736
10736
  status: "Rejected";
10737
10737
  transactionId: string;
10738
10738
  createdByUserType: "system" | "user";
@@ -10740,22 +10740,23 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10740
10740
  createdBy: string;
10741
10741
  createdByRole: string;
10742
10742
  createdBySignature?: string | null | undefined;
10743
- createdAtLocation?: string | null | undefined;
10744
- originalActionId?: string | undefined;
10743
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10744
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10745
10745
  })[];
10746
10746
  trackingId: string;
10747
10747
  };
10748
+ meta: import("trpc-to-openapi").OpenApiMeta;
10748
10749
  }>;
10749
10750
  get: import("@trpc/server").TRPCQueryProcedure<{
10750
10751
  input: string;
10751
10752
  output: {
10752
10753
  type: string;
10753
- id: string;
10754
+ id: string & import("zod").BRAND<"UUID">;
10754
10755
  createdAt: string;
10755
10756
  updatedAt: string;
10756
10757
  actions: ({
10757
10758
  type: "ASSIGN";
10758
- id: string;
10759
+ id: string & import("zod").BRAND<"UUID">;
10759
10760
  status: "Rejected" | "Requested" | "Accepted";
10760
10761
  transactionId: string;
10761
10762
  createdByUserType: "system" | "user";
@@ -10806,7 +10807,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10806
10807
  }[] | [string, string] | null | undefined>;
10807
10808
  assignedTo: string;
10808
10809
  createdBySignature?: string | null | undefined;
10809
- createdAtLocation?: string | null | undefined;
10810
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10810
10811
  annotation?: Record<string, string | number | boolean | {
10811
10812
  type: string;
10812
10813
  filename: string;
@@ -10848,11 +10849,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10848
10849
  option: string;
10849
10850
  filename: string;
10850
10851
  originalFilename: string;
10851
- }[] | [string, string] | null | undefined> | undefined;
10852
- originalActionId?: string | undefined;
10852
+ }[] | [string, string] | null | undefined> | null | undefined;
10853
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10853
10854
  } | {
10854
10855
  type: "UNASSIGN";
10855
- id: string;
10856
+ id: string & import("zod").BRAND<"UUID">;
10856
10857
  status: "Rejected" | "Requested" | "Accepted";
10857
10858
  transactionId: string;
10858
10859
  createdByUserType: "system" | "user";
@@ -10901,9 +10902,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10901
10902
  filename: string;
10902
10903
  originalFilename: string;
10903
10904
  }[] | [string, string] | null | undefined>;
10904
- assignedTo: null;
10905
10905
  createdBySignature?: string | null | undefined;
10906
- createdAtLocation?: string | null | undefined;
10906
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10907
10907
  annotation?: Record<string, string | number | boolean | {
10908
10908
  type: string;
10909
10909
  filename: string;
@@ -10945,11 +10945,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10945
10945
  option: string;
10946
10946
  filename: string;
10947
10947
  originalFilename: string;
10948
- }[] | [string, string] | null | undefined> | undefined;
10949
- originalActionId?: string | undefined;
10948
+ }[] | [string, string] | null | undefined> | null | undefined;
10949
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10950
10950
  } | {
10951
10951
  type: "REGISTER";
10952
- id: string;
10952
+ id: string & import("zod").BRAND<"UUID">;
10953
10953
  status: "Rejected" | "Requested" | "Accepted";
10954
10954
  transactionId: string;
10955
10955
  createdByUserType: "system" | "user";
@@ -10999,7 +10999,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10999
10999
  originalFilename: string;
11000
11000
  }[] | [string, string] | null | undefined>;
11001
11001
  createdBySignature?: string | null | undefined;
11002
- createdAtLocation?: string | null | undefined;
11002
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11003
11003
  annotation?: Record<string, string | number | boolean | {
11004
11004
  type: string;
11005
11005
  filename: string;
@@ -11041,12 +11041,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11041
11041
  option: string;
11042
11042
  filename: string;
11043
11043
  originalFilename: string;
11044
- }[] | [string, string] | null | undefined> | undefined;
11045
- originalActionId?: string | undefined;
11044
+ }[] | [string, string] | null | undefined> | null | undefined;
11045
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11046
11046
  registrationNumber?: string | undefined;
11047
11047
  } | {
11048
11048
  type: "DECLARE";
11049
- id: string;
11049
+ id: string & import("zod").BRAND<"UUID">;
11050
11050
  status: "Rejected" | "Requested" | "Accepted";
11051
11051
  transactionId: string;
11052
11052
  createdByUserType: "system" | "user";
@@ -11096,7 +11096,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11096
11096
  originalFilename: string;
11097
11097
  }[] | [string, string] | null | undefined>;
11098
11098
  createdBySignature?: string | null | undefined;
11099
- createdAtLocation?: string | null | undefined;
11099
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11100
11100
  annotation?: Record<string, string | number | boolean | {
11101
11101
  type: string;
11102
11102
  filename: string;
@@ -11138,11 +11138,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11138
11138
  option: string;
11139
11139
  filename: string;
11140
11140
  originalFilename: string;
11141
- }[] | [string, string] | null | undefined> | undefined;
11142
- originalActionId?: string | undefined;
11141
+ }[] | [string, string] | null | undefined> | null | undefined;
11142
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11143
11143
  } | {
11144
11144
  type: "VALIDATE";
11145
- id: string;
11145
+ id: string & import("zod").BRAND<"UUID">;
11146
11146
  status: "Rejected" | "Requested" | "Accepted";
11147
11147
  transactionId: string;
11148
11148
  createdByUserType: "system" | "user";
@@ -11192,7 +11192,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11192
11192
  originalFilename: string;
11193
11193
  }[] | [string, string] | null | undefined>;
11194
11194
  createdBySignature?: string | null | undefined;
11195
- createdAtLocation?: string | null | undefined;
11195
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11196
11196
  annotation?: Record<string, string | number | boolean | {
11197
11197
  type: string;
11198
11198
  filename: string;
@@ -11234,11 +11234,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11234
11234
  option: string;
11235
11235
  filename: string;
11236
11236
  originalFilename: string;
11237
- }[] | [string, string] | null | undefined> | undefined;
11238
- originalActionId?: string | undefined;
11237
+ }[] | [string, string] | null | undefined> | null | undefined;
11238
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11239
11239
  } | {
11240
11240
  type: "REJECT";
11241
- id: string;
11241
+ id: string & import("zod").BRAND<"UUID">;
11242
11242
  status: "Rejected" | "Requested" | "Accepted";
11243
11243
  reason: {
11244
11244
  message: string;
@@ -11292,7 +11292,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11292
11292
  originalFilename: string;
11293
11293
  }[] | [string, string] | null | undefined>;
11294
11294
  createdBySignature?: string | null | undefined;
11295
- createdAtLocation?: string | null | undefined;
11295
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11296
11296
  annotation?: Record<string, string | number | boolean | {
11297
11297
  type: string;
11298
11298
  filename: string;
@@ -11334,11 +11334,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11334
11334
  option: string;
11335
11335
  filename: string;
11336
11336
  originalFilename: string;
11337
- }[] | [string, string] | null | undefined> | undefined;
11338
- originalActionId?: string | undefined;
11337
+ }[] | [string, string] | null | undefined> | null | undefined;
11338
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11339
11339
  } | {
11340
11340
  type: "MARKED_AS_DUPLICATE";
11341
- id: string;
11341
+ id: string & import("zod").BRAND<"UUID">;
11342
11342
  status: "Rejected" | "Requested" | "Accepted";
11343
11343
  transactionId: string;
11344
11344
  createdByUserType: "system" | "user";
@@ -11388,7 +11388,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11388
11388
  originalFilename: string;
11389
11389
  }[] | [string, string] | null | undefined>;
11390
11390
  createdBySignature?: string | null | undefined;
11391
- createdAtLocation?: string | null | undefined;
11391
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11392
11392
  annotation?: Record<string, string | number | boolean | {
11393
11393
  type: string;
11394
11394
  filename: string;
@@ -11430,11 +11430,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11430
11430
  option: string;
11431
11431
  filename: string;
11432
11432
  originalFilename: string;
11433
- }[] | [string, string] | null | undefined> | undefined;
11434
- originalActionId?: string | undefined;
11433
+ }[] | [string, string] | null | undefined> | null | undefined;
11434
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11435
11435
  } | {
11436
11436
  type: "ARCHIVE";
11437
- id: string;
11437
+ id: string & import("zod").BRAND<"UUID">;
11438
11438
  status: "Rejected" | "Requested" | "Accepted";
11439
11439
  reason: {
11440
11440
  message: string;
@@ -11488,7 +11488,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11488
11488
  originalFilename: string;
11489
11489
  }[] | [string, string] | null | undefined>;
11490
11490
  createdBySignature?: string | null | undefined;
11491
- createdAtLocation?: string | null | undefined;
11491
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11492
11492
  annotation?: Record<string, string | number | boolean | {
11493
11493
  type: string;
11494
11494
  filename: string;
@@ -11530,11 +11530,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11530
11530
  option: string;
11531
11531
  filename: string;
11532
11532
  originalFilename: string;
11533
- }[] | [string, string] | null | undefined> | undefined;
11534
- originalActionId?: string | undefined;
11533
+ }[] | [string, string] | null | undefined> | null | undefined;
11534
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11535
11535
  } | {
11536
11536
  type: "CREATE";
11537
- id: string;
11537
+ id: string & import("zod").BRAND<"UUID">;
11538
11538
  status: "Rejected" | "Requested" | "Accepted";
11539
11539
  transactionId: string;
11540
11540
  createdByUserType: "system" | "user";
@@ -11584,7 +11584,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11584
11584
  originalFilename: string;
11585
11585
  }[] | [string, string] | null | undefined>;
11586
11586
  createdBySignature?: string | null | undefined;
11587
- createdAtLocation?: string | null | undefined;
11587
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11588
11588
  annotation?: Record<string, string | number | boolean | {
11589
11589
  type: string;
11590
11590
  filename: string;
@@ -11626,11 +11626,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11626
11626
  option: string;
11627
11627
  filename: string;
11628
11628
  originalFilename: string;
11629
- }[] | [string, string] | null | undefined> | undefined;
11630
- originalActionId?: string | undefined;
11629
+ }[] | [string, string] | null | undefined> | null | undefined;
11630
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11631
11631
  } | {
11632
11632
  type: "NOTIFY";
11633
- id: string;
11633
+ id: string & import("zod").BRAND<"UUID">;
11634
11634
  status: "Rejected" | "Requested" | "Accepted";
11635
11635
  transactionId: string;
11636
11636
  createdByUserType: "system" | "user";
@@ -11680,7 +11680,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11680
11680
  originalFilename: string;
11681
11681
  }[] | [string, string] | null | undefined>;
11682
11682
  createdBySignature?: string | null | undefined;
11683
- createdAtLocation?: string | null | undefined;
11683
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11684
11684
  annotation?: Record<string, string | number | boolean | {
11685
11685
  type: string;
11686
11686
  filename: string;
@@ -11722,11 +11722,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11722
11722
  option: string;
11723
11723
  filename: string;
11724
11724
  originalFilename: string;
11725
- }[] | [string, string] | null | undefined> | undefined;
11726
- originalActionId?: string | undefined;
11725
+ }[] | [string, string] | null | undefined> | null | undefined;
11726
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11727
11727
  } | {
11728
11728
  type: "PRINT_CERTIFICATE";
11729
- id: string;
11729
+ id: string & import("zod").BRAND<"UUID">;
11730
11730
  status: "Rejected" | "Requested" | "Accepted";
11731
11731
  transactionId: string;
11732
11732
  createdByUserType: "system" | "user";
@@ -11776,7 +11776,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11776
11776
  originalFilename: string;
11777
11777
  }[] | [string, string] | null | undefined>;
11778
11778
  createdBySignature?: string | null | undefined;
11779
- createdAtLocation?: string | null | undefined;
11779
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11780
11780
  annotation?: Record<string, string | number | boolean | {
11781
11781
  type: string;
11782
11782
  filename: string;
@@ -11818,11 +11818,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11818
11818
  option: string;
11819
11819
  filename: string;
11820
11820
  originalFilename: string;
11821
- }[] | [string, string] | null | undefined> | undefined;
11822
- originalActionId?: string | undefined;
11821
+ }[] | [string, string] | null | undefined> | null | undefined;
11822
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11823
11823
  } | {
11824
11824
  type: "REQUEST_CORRECTION";
11825
- id: string;
11825
+ id: string & import("zod").BRAND<"UUID">;
11826
11826
  status: "Rejected" | "Requested" | "Accepted";
11827
11827
  transactionId: string;
11828
11828
  createdByUserType: "system" | "user";
@@ -11872,7 +11872,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11872
11872
  originalFilename: string;
11873
11873
  }[] | [string, string] | null | undefined>;
11874
11874
  createdBySignature?: string | null | undefined;
11875
- createdAtLocation?: string | null | undefined;
11875
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11876
11876
  annotation?: Record<string, string | number | boolean | {
11877
11877
  type: string;
11878
11878
  filename: string;
@@ -11914,11 +11914,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11914
11914
  option: string;
11915
11915
  filename: string;
11916
11916
  originalFilename: string;
11917
- }[] | [string, string] | null | undefined> | undefined;
11918
- originalActionId?: string | undefined;
11917
+ }[] | [string, string] | null | undefined> | null | undefined;
11918
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11919
11919
  } | {
11920
11920
  type: "APPROVE_CORRECTION";
11921
- id: string;
11921
+ id: string & import("zod").BRAND<"UUID">;
11922
11922
  status: "Rejected" | "Requested" | "Accepted";
11923
11923
  transactionId: string;
11924
11924
  createdByUserType: "system" | "user";
@@ -11969,7 +11969,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11969
11969
  }[] | [string, string] | null | undefined>;
11970
11970
  requestId: string;
11971
11971
  createdBySignature?: string | null | undefined;
11972
- createdAtLocation?: string | null | undefined;
11972
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11973
11973
  annotation?: Record<string, string | number | boolean | {
11974
11974
  type: string;
11975
11975
  filename: string;
@@ -12011,11 +12011,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12011
12011
  option: string;
12012
12012
  filename: string;
12013
12013
  originalFilename: string;
12014
- }[] | [string, string] | null | undefined> | undefined;
12015
- originalActionId?: string | undefined;
12014
+ }[] | [string, string] | null | undefined> | null | undefined;
12015
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12016
12016
  } | {
12017
12017
  type: "REJECT_CORRECTION";
12018
- id: string;
12018
+ id: string & import("zod").BRAND<"UUID">;
12019
12019
  status: "Rejected" | "Requested" | "Accepted";
12020
12020
  transactionId: string;
12021
12021
  createdByUserType: "system" | "user";
@@ -12066,7 +12066,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12066
12066
  }[] | [string, string] | null | undefined>;
12067
12067
  requestId: string;
12068
12068
  createdBySignature?: string | null | undefined;
12069
- createdAtLocation?: string | null | undefined;
12069
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12070
12070
  annotation?: Record<string, string | number | boolean | {
12071
12071
  type: string;
12072
12072
  filename: string;
@@ -12108,11 +12108,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12108
12108
  option: string;
12109
12109
  filename: string;
12110
12110
  originalFilename: string;
12111
- }[] | [string, string] | null | undefined> | undefined;
12112
- originalActionId?: string | undefined;
12111
+ }[] | [string, string] | null | undefined> | null | undefined;
12112
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12113
12113
  } | {
12114
12114
  type: "READ";
12115
- id: string;
12115
+ id: string & import("zod").BRAND<"UUID">;
12116
12116
  status: "Rejected" | "Requested" | "Accepted";
12117
12117
  transactionId: string;
12118
12118
  createdByUserType: "system" | "user";
@@ -12162,7 +12162,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12162
12162
  originalFilename: string;
12163
12163
  }[] | [string, string] | null | undefined>;
12164
12164
  createdBySignature?: string | null | undefined;
12165
- createdAtLocation?: string | null | undefined;
12165
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12166
12166
  annotation?: Record<string, string | number | boolean | {
12167
12167
  type: string;
12168
12168
  filename: string;
@@ -12204,11 +12204,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12204
12204
  option: string;
12205
12205
  filename: string;
12206
12206
  originalFilename: string;
12207
- }[] | [string, string] | null | undefined> | undefined;
12208
- originalActionId?: string | undefined;
12207
+ }[] | [string, string] | null | undefined> | null | undefined;
12208
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12209
12209
  } | {
12210
12210
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
12211
- id: string;
12211
+ id: string & import("zod").BRAND<"UUID">;
12212
12212
  status: "Rejected";
12213
12213
  transactionId: string;
12214
12214
  createdByUserType: "system" | "user";
@@ -12216,25 +12216,27 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12216
12216
  createdBy: string;
12217
12217
  createdByRole: string;
12218
12218
  createdBySignature?: string | null | undefined;
12219
- createdAtLocation?: string | null | undefined;
12220
- originalActionId?: string | undefined;
12219
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12220
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12221
12221
  })[];
12222
12222
  trackingId: string;
12223
12223
  };
12224
+ meta: import("trpc-to-openapi").OpenApiMeta;
12224
12225
  }>;
12225
12226
  delete: import("@trpc/server").TRPCMutationProcedure<{
12226
12227
  input: {
12227
12228
  eventId: string;
12228
12229
  };
12229
12230
  output: {
12230
- id: string;
12231
+ id: string & import("zod").BRAND<"UUID">;
12231
12232
  };
12233
+ meta: import("trpc-to-openapi").OpenApiMeta;
12232
12234
  }>;
12233
- draft: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12235
+ draft: import("@trpc/server").TRPCBuiltRouter<{
12234
12236
  ctx: {
12235
12237
  user: {
12236
12238
  id: string;
12237
- primaryOfficeId: string;
12239
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12238
12240
  role: string;
12239
12241
  type: "user";
12240
12242
  signature?: string | null | undefined;
@@ -12248,16 +12250,16 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12248
12250
  token: `Bearer ${string}`;
12249
12251
  };
12250
12252
  meta: import("trpc-to-openapi").OpenApiMeta;
12251
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12253
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12252
12254
  transformer: true;
12253
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12255
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12254
12256
  list: import("@trpc/server").TRPCQueryProcedure<{
12255
12257
  input: void;
12256
12258
  output: {
12257
- id: string;
12259
+ id: string & import("zod").BRAND<"UUID">;
12258
12260
  transactionId: string;
12259
12261
  createdAt: string;
12260
- eventId: string;
12262
+ eventId: string & import("zod").BRAND<"UUID">;
12261
12263
  action: {
12262
12264
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
12263
12265
  status: "Rejected" | "Requested" | "Accepted";
@@ -12309,7 +12311,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12309
12311
  originalFilename: string;
12310
12312
  }[] | [string, string] | null | undefined>;
12311
12313
  createdBySignature?: string | null | undefined;
12312
- createdAtLocation?: string | null | undefined;
12314
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12313
12315
  annotation?: Record<string, string | number | boolean | {
12314
12316
  type: string;
12315
12317
  filename: string;
@@ -12351,10 +12353,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12351
12353
  option: string;
12352
12354
  filename: string;
12353
12355
  originalFilename: string;
12354
- }[] | [string, string] | null | undefined> | undefined;
12355
- originalActionId?: string | undefined;
12356
+ }[] | [string, string] | null | undefined> | null | undefined;
12357
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12356
12358
  };
12357
12359
  }[];
12360
+ meta: import("trpc-to-openapi").OpenApiMeta;
12358
12361
  }>;
12359
12362
  create: import("@trpc/server").TRPCMutationProcedure<{
12360
12363
  input: {
@@ -12450,10 +12453,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12450
12453
  keepAssignment?: boolean | undefined;
12451
12454
  };
12452
12455
  output: {
12453
- id: string;
12456
+ id: string & import("zod").BRAND<"UUID">;
12454
12457
  transactionId: string;
12455
12458
  createdAt: string;
12456
- eventId: string;
12459
+ eventId: string & import("zod").BRAND<"UUID">;
12457
12460
  action: {
12458
12461
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
12459
12462
  status: "Rejected" | "Requested" | "Accepted";
@@ -12505,7 +12508,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12505
12508
  originalFilename: string;
12506
12509
  }[] | [string, string] | null | undefined>;
12507
12510
  createdBySignature?: string | null | undefined;
12508
- createdAtLocation?: string | null | undefined;
12511
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12509
12512
  annotation?: Record<string, string | number | boolean | {
12510
12513
  type: string;
12511
12514
  filename: string;
@@ -12547,17 +12550,18 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12547
12550
  option: string;
12548
12551
  filename: string;
12549
12552
  originalFilename: string;
12550
- }[] | [string, string] | null | undefined> | undefined;
12551
- originalActionId?: string | undefined;
12553
+ }[] | [string, string] | null | undefined> | null | undefined;
12554
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
12552
12555
  };
12553
12556
  };
12557
+ meta: import("trpc-to-openapi").OpenApiMeta;
12554
12558
  }>;
12555
12559
  }>>;
12556
- actions: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12560
+ actions: import("@trpc/server").TRPCBuiltRouter<{
12557
12561
  ctx: {
12558
12562
  user: {
12559
12563
  id: string;
12560
- primaryOfficeId: string;
12564
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12561
12565
  role: string;
12562
12566
  type: "user";
12563
12567
  signature?: string | null | undefined;
@@ -12571,14 +12575,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12571
12575
  token: `Bearer ${string}`;
12572
12576
  };
12573
12577
  meta: import("trpc-to-openapi").OpenApiMeta;
12574
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12578
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12575
12579
  transformer: true;
12576
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12577
- notify: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12580
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12581
+ notify: import("@trpc/server").TRPCBuiltRouter<{
12578
12582
  ctx: {
12579
12583
  user: {
12580
12584
  id: string;
12581
- primaryOfficeId: string;
12585
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12582
12586
  role: string;
12583
12587
  type: "user";
12584
12588
  signature?: string | null | undefined;
@@ -12592,18 +12596,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12592
12596
  token: `Bearer ${string}`;
12593
12597
  };
12594
12598
  meta: import("trpc-to-openapi").OpenApiMeta;
12595
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12599
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12596
12600
  transformer: true;
12597
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12601
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12598
12602
  request: import("@trpc/server").TRPCMutationProcedure<{
12599
12603
  input: import("../commons").ActionInput;
12600
12604
  output: import("../commons").EventDocument;
12605
+ meta: import("trpc-to-openapi").OpenApiMeta;
12601
12606
  }>;
12602
12607
  accept: import("@trpc/server").TRPCMutationProcedure<{
12603
12608
  input: import("../commons").ActionInput & {
12604
12609
  actionId: string;
12605
12610
  };
12606
12611
  output: import("../commons").EventDocument;
12612
+ meta: import("trpc-to-openapi").OpenApiMeta;
12607
12613
  }>;
12608
12614
  reject: import("@trpc/server").TRPCMutationProcedure<{
12609
12615
  input: {
@@ -12612,13 +12618,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12612
12618
  transactionId: string;
12613
12619
  };
12614
12620
  output: import("../commons").EventDocument;
12621
+ meta: import("trpc-to-openapi").OpenApiMeta;
12615
12622
  }>;
12616
12623
  }>>;
12617
- declare: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12624
+ declare: import("@trpc/server").TRPCBuiltRouter<{
12618
12625
  ctx: {
12619
12626
  user: {
12620
12627
  id: string;
12621
- primaryOfficeId: string;
12628
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12622
12629
  role: string;
12623
12630
  type: "user";
12624
12631
  signature?: string | null | undefined;
@@ -12632,18 +12639,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12632
12639
  token: `Bearer ${string}`;
12633
12640
  };
12634
12641
  meta: import("trpc-to-openapi").OpenApiMeta;
12635
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12642
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12636
12643
  transformer: true;
12637
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12644
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12638
12645
  request: import("@trpc/server").TRPCMutationProcedure<{
12639
12646
  input: import("../commons").ActionInput;
12640
12647
  output: import("../commons").EventDocument;
12648
+ meta: import("trpc-to-openapi").OpenApiMeta;
12641
12649
  }>;
12642
12650
  accept: import("@trpc/server").TRPCMutationProcedure<{
12643
12651
  input: import("../commons").ActionInput & {
12644
12652
  actionId: string;
12645
12653
  };
12646
12654
  output: import("../commons").EventDocument;
12655
+ meta: import("trpc-to-openapi").OpenApiMeta;
12647
12656
  }>;
12648
12657
  reject: import("@trpc/server").TRPCMutationProcedure<{
12649
12658
  input: {
@@ -12652,13 +12661,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12652
12661
  transactionId: string;
12653
12662
  };
12654
12663
  output: import("../commons").EventDocument;
12664
+ meta: import("trpc-to-openapi").OpenApiMeta;
12655
12665
  }>;
12656
12666
  }>>;
12657
- validate: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12667
+ validate: import("@trpc/server").TRPCBuiltRouter<{
12658
12668
  ctx: {
12659
12669
  user: {
12660
12670
  id: string;
12661
- primaryOfficeId: string;
12671
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12662
12672
  role: string;
12663
12673
  type: "user";
12664
12674
  signature?: string | null | undefined;
@@ -12672,18 +12682,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12672
12682
  token: `Bearer ${string}`;
12673
12683
  };
12674
12684
  meta: import("trpc-to-openapi").OpenApiMeta;
12675
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12685
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12676
12686
  transformer: true;
12677
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12687
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12678
12688
  request: import("@trpc/server").TRPCMutationProcedure<{
12679
12689
  input: import("../commons").ActionInput;
12680
12690
  output: import("../commons").EventDocument;
12691
+ meta: import("trpc-to-openapi").OpenApiMeta;
12681
12692
  }>;
12682
12693
  accept: import("@trpc/server").TRPCMutationProcedure<{
12683
12694
  input: import("../commons").ActionInput & {
12684
12695
  actionId: string;
12685
12696
  };
12686
12697
  output: import("../commons").EventDocument;
12698
+ meta: import("trpc-to-openapi").OpenApiMeta;
12687
12699
  }>;
12688
12700
  reject: import("@trpc/server").TRPCMutationProcedure<{
12689
12701
  input: {
@@ -12692,13 +12704,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12692
12704
  transactionId: string;
12693
12705
  };
12694
12706
  output: import("../commons").EventDocument;
12707
+ meta: import("trpc-to-openapi").OpenApiMeta;
12695
12708
  }>;
12696
12709
  }>>;
12697
- reject: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12710
+ reject: import("@trpc/server").TRPCBuiltRouter<{
12698
12711
  ctx: {
12699
12712
  user: {
12700
12713
  id: string;
12701
- primaryOfficeId: string;
12714
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12702
12715
  role: string;
12703
12716
  type: "user";
12704
12717
  signature?: string | null | undefined;
@@ -12712,18 +12725,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12712
12725
  token: `Bearer ${string}`;
12713
12726
  };
12714
12727
  meta: import("trpc-to-openapi").OpenApiMeta;
12715
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12728
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12716
12729
  transformer: true;
12717
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12730
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12718
12731
  request: import("@trpc/server").TRPCMutationProcedure<{
12719
12732
  input: import("../commons").ActionInput;
12720
12733
  output: import("../commons").EventDocument;
12734
+ meta: import("trpc-to-openapi").OpenApiMeta;
12721
12735
  }>;
12722
12736
  accept: import("@trpc/server").TRPCMutationProcedure<{
12723
12737
  input: import("../commons").ActionInput & {
12724
12738
  actionId: string;
12725
12739
  };
12726
12740
  output: import("../commons").EventDocument;
12741
+ meta: import("trpc-to-openapi").OpenApiMeta;
12727
12742
  }>;
12728
12743
  reject: import("@trpc/server").TRPCMutationProcedure<{
12729
12744
  input: {
@@ -12732,13 +12747,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12732
12747
  transactionId: string;
12733
12748
  };
12734
12749
  output: import("../commons").EventDocument;
12750
+ meta: import("trpc-to-openapi").OpenApiMeta;
12735
12751
  }>;
12736
12752
  }>>;
12737
- archive: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12753
+ archive: import("@trpc/server").TRPCBuiltRouter<{
12738
12754
  ctx: {
12739
12755
  user: {
12740
12756
  id: string;
12741
- primaryOfficeId: string;
12757
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12742
12758
  role: string;
12743
12759
  type: "user";
12744
12760
  signature?: string | null | undefined;
@@ -12752,18 +12768,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12752
12768
  token: `Bearer ${string}`;
12753
12769
  };
12754
12770
  meta: import("trpc-to-openapi").OpenApiMeta;
12755
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12771
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12756
12772
  transformer: true;
12757
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12773
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12758
12774
  request: import("@trpc/server").TRPCMutationProcedure<{
12759
12775
  input: import("../commons").ActionInput;
12760
12776
  output: import("../commons").EventDocument;
12777
+ meta: import("trpc-to-openapi").OpenApiMeta;
12761
12778
  }>;
12762
12779
  accept: import("@trpc/server").TRPCMutationProcedure<{
12763
12780
  input: import("../commons").ActionInput & {
12764
12781
  actionId: string;
12765
12782
  };
12766
12783
  output: import("../commons").EventDocument;
12784
+ meta: import("trpc-to-openapi").OpenApiMeta;
12767
12785
  }>;
12768
12786
  reject: import("@trpc/server").TRPCMutationProcedure<{
12769
12787
  input: {
@@ -12772,13 +12790,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12772
12790
  transactionId: string;
12773
12791
  };
12774
12792
  output: import("../commons").EventDocument;
12793
+ meta: import("trpc-to-openapi").OpenApiMeta;
12775
12794
  }>;
12776
12795
  }>>;
12777
- register: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12796
+ register: import("@trpc/server").TRPCBuiltRouter<{
12778
12797
  ctx: {
12779
12798
  user: {
12780
12799
  id: string;
12781
- primaryOfficeId: string;
12800
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12782
12801
  role: string;
12783
12802
  type: "user";
12784
12803
  signature?: string | null | undefined;
@@ -12792,18 +12811,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12792
12811
  token: `Bearer ${string}`;
12793
12812
  };
12794
12813
  meta: import("trpc-to-openapi").OpenApiMeta;
12795
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12814
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12796
12815
  transformer: true;
12797
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12816
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12798
12817
  request: import("@trpc/server").TRPCMutationProcedure<{
12799
12818
  input: import("../commons").ActionInput;
12800
12819
  output: import("../commons").EventDocument;
12820
+ meta: import("trpc-to-openapi").OpenApiMeta;
12801
12821
  }>;
12802
12822
  accept: import("@trpc/server").TRPCMutationProcedure<{
12803
12823
  input: import("../commons").ActionInput & {
12804
12824
  actionId: string;
12805
12825
  };
12806
12826
  output: import("../commons").EventDocument;
12827
+ meta: import("trpc-to-openapi").OpenApiMeta;
12807
12828
  }>;
12808
12829
  reject: import("@trpc/server").TRPCMutationProcedure<{
12809
12830
  input: {
@@ -12812,13 +12833,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12812
12833
  transactionId: string;
12813
12834
  };
12814
12835
  output: import("../commons").EventDocument;
12836
+ meta: import("trpc-to-openapi").OpenApiMeta;
12815
12837
  }>;
12816
12838
  }>>;
12817
- printCertificate: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12839
+ printCertificate: import("@trpc/server").TRPCBuiltRouter<{
12818
12840
  ctx: {
12819
12841
  user: {
12820
12842
  id: string;
12821
- primaryOfficeId: string;
12843
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12822
12844
  role: string;
12823
12845
  type: "user";
12824
12846
  signature?: string | null | undefined;
@@ -12832,18 +12854,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12832
12854
  token: `Bearer ${string}`;
12833
12855
  };
12834
12856
  meta: import("trpc-to-openapi").OpenApiMeta;
12835
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12857
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12836
12858
  transformer: true;
12837
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12859
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12838
12860
  request: import("@trpc/server").TRPCMutationProcedure<{
12839
12861
  input: import("../commons").ActionInput;
12840
12862
  output: import("../commons").EventDocument;
12863
+ meta: import("trpc-to-openapi").OpenApiMeta;
12841
12864
  }>;
12842
12865
  accept: import("@trpc/server").TRPCMutationProcedure<{
12843
12866
  input: import("../commons").ActionInput & {
12844
12867
  actionId: string;
12845
12868
  };
12846
12869
  output: import("../commons").EventDocument;
12870
+ meta: import("trpc-to-openapi").OpenApiMeta;
12847
12871
  }>;
12848
12872
  reject: import("@trpc/server").TRPCMutationProcedure<{
12849
12873
  input: {
@@ -12852,13 +12876,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12852
12876
  transactionId: string;
12853
12877
  };
12854
12878
  output: import("../commons").EventDocument;
12879
+ meta: import("trpc-to-openapi").OpenApiMeta;
12855
12880
  }>;
12856
12881
  }>>;
12857
- assignment: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12882
+ assignment: import("@trpc/server").TRPCBuiltRouter<{
12858
12883
  ctx: {
12859
12884
  user: {
12860
12885
  id: string;
12861
- primaryOfficeId: string;
12886
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
12862
12887
  role: string;
12863
12888
  type: "user";
12864
12889
  signature?: string | null | undefined;
@@ -12872,9 +12897,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12872
12897
  token: `Bearer ${string}`;
12873
12898
  };
12874
12899
  meta: import("trpc-to-openapi").OpenApiMeta;
12875
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12900
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
12876
12901
  transformer: true;
12877
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12902
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
12878
12903
  assign: import("@trpc/server").TRPCMutationProcedure<{
12879
12904
  input: {
12880
12905
  transactionId: string;
@@ -12970,12 +12995,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
12970
12995
  };
12971
12996
  output: {
12972
12997
  type: string;
12973
- id: string;
12998
+ id: string & import("zod").BRAND<"UUID">;
12974
12999
  createdAt: string;
12975
13000
  updatedAt: string;
12976
13001
  actions: ({
12977
13002
  type: "ASSIGN";
12978
- id: string;
13003
+ id: string & import("zod").BRAND<"UUID">;
12979
13004
  status: "Rejected" | "Requested" | "Accepted";
12980
13005
  transactionId: string;
12981
13006
  createdByUserType: "system" | "user";
@@ -13026,7 +13051,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13026
13051
  }[] | [string, string] | null | undefined>;
13027
13052
  assignedTo: string;
13028
13053
  createdBySignature?: string | null | undefined;
13029
- createdAtLocation?: string | null | undefined;
13054
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13030
13055
  annotation?: Record<string, string | number | boolean | {
13031
13056
  type: string;
13032
13057
  filename: string;
@@ -13068,11 +13093,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13068
13093
  option: string;
13069
13094
  filename: string;
13070
13095
  originalFilename: string;
13071
- }[] | [string, string] | null | undefined> | undefined;
13072
- originalActionId?: string | undefined;
13096
+ }[] | [string, string] | null | undefined> | null | undefined;
13097
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13073
13098
  } | {
13074
13099
  type: "UNASSIGN";
13075
- id: string;
13100
+ id: string & import("zod").BRAND<"UUID">;
13076
13101
  status: "Rejected" | "Requested" | "Accepted";
13077
13102
  transactionId: string;
13078
13103
  createdByUserType: "system" | "user";
@@ -13121,9 +13146,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13121
13146
  filename: string;
13122
13147
  originalFilename: string;
13123
13148
  }[] | [string, string] | null | undefined>;
13124
- assignedTo: null;
13125
13149
  createdBySignature?: string | null | undefined;
13126
- createdAtLocation?: string | null | undefined;
13150
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13127
13151
  annotation?: Record<string, string | number | boolean | {
13128
13152
  type: string;
13129
13153
  filename: string;
@@ -13165,11 +13189,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13165
13189
  option: string;
13166
13190
  filename: string;
13167
13191
  originalFilename: string;
13168
- }[] | [string, string] | null | undefined> | undefined;
13169
- originalActionId?: string | undefined;
13192
+ }[] | [string, string] | null | undefined> | null | undefined;
13193
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13170
13194
  } | {
13171
13195
  type: "REGISTER";
13172
- id: string;
13196
+ id: string & import("zod").BRAND<"UUID">;
13173
13197
  status: "Rejected" | "Requested" | "Accepted";
13174
13198
  transactionId: string;
13175
13199
  createdByUserType: "system" | "user";
@@ -13219,7 +13243,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13219
13243
  originalFilename: string;
13220
13244
  }[] | [string, string] | null | undefined>;
13221
13245
  createdBySignature?: string | null | undefined;
13222
- createdAtLocation?: string | null | undefined;
13246
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13223
13247
  annotation?: Record<string, string | number | boolean | {
13224
13248
  type: string;
13225
13249
  filename: string;
@@ -13261,12 +13285,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13261
13285
  option: string;
13262
13286
  filename: string;
13263
13287
  originalFilename: string;
13264
- }[] | [string, string] | null | undefined> | undefined;
13265
- originalActionId?: string | undefined;
13288
+ }[] | [string, string] | null | undefined> | null | undefined;
13289
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13266
13290
  registrationNumber?: string | undefined;
13267
13291
  } | {
13268
13292
  type: "DECLARE";
13269
- id: string;
13293
+ id: string & import("zod").BRAND<"UUID">;
13270
13294
  status: "Rejected" | "Requested" | "Accepted";
13271
13295
  transactionId: string;
13272
13296
  createdByUserType: "system" | "user";
@@ -13316,7 +13340,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13316
13340
  originalFilename: string;
13317
13341
  }[] | [string, string] | null | undefined>;
13318
13342
  createdBySignature?: string | null | undefined;
13319
- createdAtLocation?: string | null | undefined;
13343
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13320
13344
  annotation?: Record<string, string | number | boolean | {
13321
13345
  type: string;
13322
13346
  filename: string;
@@ -13358,11 +13382,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13358
13382
  option: string;
13359
13383
  filename: string;
13360
13384
  originalFilename: string;
13361
- }[] | [string, string] | null | undefined> | undefined;
13362
- originalActionId?: string | undefined;
13385
+ }[] | [string, string] | null | undefined> | null | undefined;
13386
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13363
13387
  } | {
13364
13388
  type: "VALIDATE";
13365
- id: string;
13389
+ id: string & import("zod").BRAND<"UUID">;
13366
13390
  status: "Rejected" | "Requested" | "Accepted";
13367
13391
  transactionId: string;
13368
13392
  createdByUserType: "system" | "user";
@@ -13412,7 +13436,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13412
13436
  originalFilename: string;
13413
13437
  }[] | [string, string] | null | undefined>;
13414
13438
  createdBySignature?: string | null | undefined;
13415
- createdAtLocation?: string | null | undefined;
13439
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13416
13440
  annotation?: Record<string, string | number | boolean | {
13417
13441
  type: string;
13418
13442
  filename: string;
@@ -13454,11 +13478,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13454
13478
  option: string;
13455
13479
  filename: string;
13456
13480
  originalFilename: string;
13457
- }[] | [string, string] | null | undefined> | undefined;
13458
- originalActionId?: string | undefined;
13481
+ }[] | [string, string] | null | undefined> | null | undefined;
13482
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13459
13483
  } | {
13460
13484
  type: "REJECT";
13461
- id: string;
13485
+ id: string & import("zod").BRAND<"UUID">;
13462
13486
  status: "Rejected" | "Requested" | "Accepted";
13463
13487
  reason: {
13464
13488
  message: string;
@@ -13512,7 +13536,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13512
13536
  originalFilename: string;
13513
13537
  }[] | [string, string] | null | undefined>;
13514
13538
  createdBySignature?: string | null | undefined;
13515
- createdAtLocation?: string | null | undefined;
13539
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13516
13540
  annotation?: Record<string, string | number | boolean | {
13517
13541
  type: string;
13518
13542
  filename: string;
@@ -13554,11 +13578,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13554
13578
  option: string;
13555
13579
  filename: string;
13556
13580
  originalFilename: string;
13557
- }[] | [string, string] | null | undefined> | undefined;
13558
- originalActionId?: string | undefined;
13581
+ }[] | [string, string] | null | undefined> | null | undefined;
13582
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13559
13583
  } | {
13560
13584
  type: "MARKED_AS_DUPLICATE";
13561
- id: string;
13585
+ id: string & import("zod").BRAND<"UUID">;
13562
13586
  status: "Rejected" | "Requested" | "Accepted";
13563
13587
  transactionId: string;
13564
13588
  createdByUserType: "system" | "user";
@@ -13608,7 +13632,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13608
13632
  originalFilename: string;
13609
13633
  }[] | [string, string] | null | undefined>;
13610
13634
  createdBySignature?: string | null | undefined;
13611
- createdAtLocation?: string | null | undefined;
13635
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13612
13636
  annotation?: Record<string, string | number | boolean | {
13613
13637
  type: string;
13614
13638
  filename: string;
@@ -13650,11 +13674,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13650
13674
  option: string;
13651
13675
  filename: string;
13652
13676
  originalFilename: string;
13653
- }[] | [string, string] | null | undefined> | undefined;
13654
- originalActionId?: string | undefined;
13677
+ }[] | [string, string] | null | undefined> | null | undefined;
13678
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13655
13679
  } | {
13656
13680
  type: "ARCHIVE";
13657
- id: string;
13681
+ id: string & import("zod").BRAND<"UUID">;
13658
13682
  status: "Rejected" | "Requested" | "Accepted";
13659
13683
  reason: {
13660
13684
  message: string;
@@ -13708,7 +13732,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13708
13732
  originalFilename: string;
13709
13733
  }[] | [string, string] | null | undefined>;
13710
13734
  createdBySignature?: string | null | undefined;
13711
- createdAtLocation?: string | null | undefined;
13735
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13712
13736
  annotation?: Record<string, string | number | boolean | {
13713
13737
  type: string;
13714
13738
  filename: string;
@@ -13750,11 +13774,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13750
13774
  option: string;
13751
13775
  filename: string;
13752
13776
  originalFilename: string;
13753
- }[] | [string, string] | null | undefined> | undefined;
13754
- originalActionId?: string | undefined;
13777
+ }[] | [string, string] | null | undefined> | null | undefined;
13778
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13755
13779
  } | {
13756
13780
  type: "CREATE";
13757
- id: string;
13781
+ id: string & import("zod").BRAND<"UUID">;
13758
13782
  status: "Rejected" | "Requested" | "Accepted";
13759
13783
  transactionId: string;
13760
13784
  createdByUserType: "system" | "user";
@@ -13804,7 +13828,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13804
13828
  originalFilename: string;
13805
13829
  }[] | [string, string] | null | undefined>;
13806
13830
  createdBySignature?: string | null | undefined;
13807
- createdAtLocation?: string | null | undefined;
13831
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13808
13832
  annotation?: Record<string, string | number | boolean | {
13809
13833
  type: string;
13810
13834
  filename: string;
@@ -13846,11 +13870,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13846
13870
  option: string;
13847
13871
  filename: string;
13848
13872
  originalFilename: string;
13849
- }[] | [string, string] | null | undefined> | undefined;
13850
- originalActionId?: string | undefined;
13873
+ }[] | [string, string] | null | undefined> | null | undefined;
13874
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13851
13875
  } | {
13852
13876
  type: "NOTIFY";
13853
- id: string;
13877
+ id: string & import("zod").BRAND<"UUID">;
13854
13878
  status: "Rejected" | "Requested" | "Accepted";
13855
13879
  transactionId: string;
13856
13880
  createdByUserType: "system" | "user";
@@ -13900,7 +13924,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13900
13924
  originalFilename: string;
13901
13925
  }[] | [string, string] | null | undefined>;
13902
13926
  createdBySignature?: string | null | undefined;
13903
- createdAtLocation?: string | null | undefined;
13927
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13904
13928
  annotation?: Record<string, string | number | boolean | {
13905
13929
  type: string;
13906
13930
  filename: string;
@@ -13942,11 +13966,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13942
13966
  option: string;
13943
13967
  filename: string;
13944
13968
  originalFilename: string;
13945
- }[] | [string, string] | null | undefined> | undefined;
13946
- originalActionId?: string | undefined;
13969
+ }[] | [string, string] | null | undefined> | null | undefined;
13970
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
13947
13971
  } | {
13948
13972
  type: "PRINT_CERTIFICATE";
13949
- id: string;
13973
+ id: string & import("zod").BRAND<"UUID">;
13950
13974
  status: "Rejected" | "Requested" | "Accepted";
13951
13975
  transactionId: string;
13952
13976
  createdByUserType: "system" | "user";
@@ -13996,7 +14020,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
13996
14020
  originalFilename: string;
13997
14021
  }[] | [string, string] | null | undefined>;
13998
14022
  createdBySignature?: string | null | undefined;
13999
- createdAtLocation?: string | null | undefined;
14023
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14000
14024
  annotation?: Record<string, string | number | boolean | {
14001
14025
  type: string;
14002
14026
  filename: string;
@@ -14038,11 +14062,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14038
14062
  option: string;
14039
14063
  filename: string;
14040
14064
  originalFilename: string;
14041
- }[] | [string, string] | null | undefined> | undefined;
14042
- originalActionId?: string | undefined;
14065
+ }[] | [string, string] | null | undefined> | null | undefined;
14066
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14043
14067
  } | {
14044
14068
  type: "REQUEST_CORRECTION";
14045
- id: string;
14069
+ id: string & import("zod").BRAND<"UUID">;
14046
14070
  status: "Rejected" | "Requested" | "Accepted";
14047
14071
  transactionId: string;
14048
14072
  createdByUserType: "system" | "user";
@@ -14092,7 +14116,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14092
14116
  originalFilename: string;
14093
14117
  }[] | [string, string] | null | undefined>;
14094
14118
  createdBySignature?: string | null | undefined;
14095
- createdAtLocation?: string | null | undefined;
14119
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14096
14120
  annotation?: Record<string, string | number | boolean | {
14097
14121
  type: string;
14098
14122
  filename: string;
@@ -14134,11 +14158,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14134
14158
  option: string;
14135
14159
  filename: string;
14136
14160
  originalFilename: string;
14137
- }[] | [string, string] | null | undefined> | undefined;
14138
- originalActionId?: string | undefined;
14161
+ }[] | [string, string] | null | undefined> | null | undefined;
14162
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14139
14163
  } | {
14140
14164
  type: "APPROVE_CORRECTION";
14141
- id: string;
14165
+ id: string & import("zod").BRAND<"UUID">;
14142
14166
  status: "Rejected" | "Requested" | "Accepted";
14143
14167
  transactionId: string;
14144
14168
  createdByUserType: "system" | "user";
@@ -14189,7 +14213,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14189
14213
  }[] | [string, string] | null | undefined>;
14190
14214
  requestId: string;
14191
14215
  createdBySignature?: string | null | undefined;
14192
- createdAtLocation?: string | null | undefined;
14216
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14193
14217
  annotation?: Record<string, string | number | boolean | {
14194
14218
  type: string;
14195
14219
  filename: string;
@@ -14231,11 +14255,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14231
14255
  option: string;
14232
14256
  filename: string;
14233
14257
  originalFilename: string;
14234
- }[] | [string, string] | null | undefined> | undefined;
14235
- originalActionId?: string | undefined;
14258
+ }[] | [string, string] | null | undefined> | null | undefined;
14259
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14236
14260
  } | {
14237
14261
  type: "REJECT_CORRECTION";
14238
- id: string;
14262
+ id: string & import("zod").BRAND<"UUID">;
14239
14263
  status: "Rejected" | "Requested" | "Accepted";
14240
14264
  transactionId: string;
14241
14265
  createdByUserType: "system" | "user";
@@ -14286,7 +14310,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14286
14310
  }[] | [string, string] | null | undefined>;
14287
14311
  requestId: string;
14288
14312
  createdBySignature?: string | null | undefined;
14289
- createdAtLocation?: string | null | undefined;
14313
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14290
14314
  annotation?: Record<string, string | number | boolean | {
14291
14315
  type: string;
14292
14316
  filename: string;
@@ -14328,11 +14352,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14328
14352
  option: string;
14329
14353
  filename: string;
14330
14354
  originalFilename: string;
14331
- }[] | [string, string] | null | undefined> | undefined;
14332
- originalActionId?: string | undefined;
14355
+ }[] | [string, string] | null | undefined> | null | undefined;
14356
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14333
14357
  } | {
14334
14358
  type: "READ";
14335
- id: string;
14359
+ id: string & import("zod").BRAND<"UUID">;
14336
14360
  status: "Rejected" | "Requested" | "Accepted";
14337
14361
  transactionId: string;
14338
14362
  createdByUserType: "system" | "user";
@@ -14382,7 +14406,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14382
14406
  originalFilename: string;
14383
14407
  }[] | [string, string] | null | undefined>;
14384
14408
  createdBySignature?: string | null | undefined;
14385
- createdAtLocation?: string | null | undefined;
14409
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14386
14410
  annotation?: Record<string, string | number | boolean | {
14387
14411
  type: string;
14388
14412
  filename: string;
@@ -14424,11 +14448,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14424
14448
  option: string;
14425
14449
  filename: string;
14426
14450
  originalFilename: string;
14427
- }[] | [string, string] | null | undefined> | undefined;
14428
- originalActionId?: string | undefined;
14451
+ }[] | [string, string] | null | undefined> | null | undefined;
14452
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14429
14453
  } | {
14430
14454
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14431
- id: string;
14455
+ id: string & import("zod").BRAND<"UUID">;
14432
14456
  status: "Rejected";
14433
14457
  transactionId: string;
14434
14458
  createdByUserType: "system" | "user";
@@ -14436,11 +14460,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14436
14460
  createdBy: string;
14437
14461
  createdByRole: string;
14438
14462
  createdBySignature?: string | null | undefined;
14439
- createdAtLocation?: string | null | undefined;
14440
- originalActionId?: string | undefined;
14463
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14464
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14441
14465
  })[];
14442
14466
  trackingId: string;
14443
14467
  };
14468
+ meta: import("trpc-to-openapi").OpenApiMeta;
14444
14469
  }>;
14445
14470
  unassign: import("@trpc/server").TRPCMutationProcedure<{
14446
14471
  input: {
@@ -14537,12 +14562,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14537
14562
  };
14538
14563
  output: {
14539
14564
  type: string;
14540
- id: string;
14565
+ id: string & import("zod").BRAND<"UUID">;
14541
14566
  createdAt: string;
14542
14567
  updatedAt: string;
14543
14568
  actions: ({
14544
14569
  type: "ASSIGN";
14545
- id: string;
14570
+ id: string & import("zod").BRAND<"UUID">;
14546
14571
  status: "Rejected" | "Requested" | "Accepted";
14547
14572
  transactionId: string;
14548
14573
  createdByUserType: "system" | "user";
@@ -14593,7 +14618,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14593
14618
  }[] | [string, string] | null | undefined>;
14594
14619
  assignedTo: string;
14595
14620
  createdBySignature?: string | null | undefined;
14596
- createdAtLocation?: string | null | undefined;
14621
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14597
14622
  annotation?: Record<string, string | number | boolean | {
14598
14623
  type: string;
14599
14624
  filename: string;
@@ -14635,11 +14660,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14635
14660
  option: string;
14636
14661
  filename: string;
14637
14662
  originalFilename: string;
14638
- }[] | [string, string] | null | undefined> | undefined;
14639
- originalActionId?: string | undefined;
14663
+ }[] | [string, string] | null | undefined> | null | undefined;
14664
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14640
14665
  } | {
14641
14666
  type: "UNASSIGN";
14642
- id: string;
14667
+ id: string & import("zod").BRAND<"UUID">;
14643
14668
  status: "Rejected" | "Requested" | "Accepted";
14644
14669
  transactionId: string;
14645
14670
  createdByUserType: "system" | "user";
@@ -14688,9 +14713,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14688
14713
  filename: string;
14689
14714
  originalFilename: string;
14690
14715
  }[] | [string, string] | null | undefined>;
14691
- assignedTo: null;
14692
14716
  createdBySignature?: string | null | undefined;
14693
- createdAtLocation?: string | null | undefined;
14717
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14694
14718
  annotation?: Record<string, string | number | boolean | {
14695
14719
  type: string;
14696
14720
  filename: string;
@@ -14732,11 +14756,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14732
14756
  option: string;
14733
14757
  filename: string;
14734
14758
  originalFilename: string;
14735
- }[] | [string, string] | null | undefined> | undefined;
14736
- originalActionId?: string | undefined;
14759
+ }[] | [string, string] | null | undefined> | null | undefined;
14760
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14737
14761
  } | {
14738
14762
  type: "REGISTER";
14739
- id: string;
14763
+ id: string & import("zod").BRAND<"UUID">;
14740
14764
  status: "Rejected" | "Requested" | "Accepted";
14741
14765
  transactionId: string;
14742
14766
  createdByUserType: "system" | "user";
@@ -14786,7 +14810,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14786
14810
  originalFilename: string;
14787
14811
  }[] | [string, string] | null | undefined>;
14788
14812
  createdBySignature?: string | null | undefined;
14789
- createdAtLocation?: string | null | undefined;
14813
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14790
14814
  annotation?: Record<string, string | number | boolean | {
14791
14815
  type: string;
14792
14816
  filename: string;
@@ -14828,12 +14852,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14828
14852
  option: string;
14829
14853
  filename: string;
14830
14854
  originalFilename: string;
14831
- }[] | [string, string] | null | undefined> | undefined;
14832
- originalActionId?: string | undefined;
14855
+ }[] | [string, string] | null | undefined> | null | undefined;
14856
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14833
14857
  registrationNumber?: string | undefined;
14834
14858
  } | {
14835
14859
  type: "DECLARE";
14836
- id: string;
14860
+ id: string & import("zod").BRAND<"UUID">;
14837
14861
  status: "Rejected" | "Requested" | "Accepted";
14838
14862
  transactionId: string;
14839
14863
  createdByUserType: "system" | "user";
@@ -14883,7 +14907,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14883
14907
  originalFilename: string;
14884
14908
  }[] | [string, string] | null | undefined>;
14885
14909
  createdBySignature?: string | null | undefined;
14886
- createdAtLocation?: string | null | undefined;
14910
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14887
14911
  annotation?: Record<string, string | number | boolean | {
14888
14912
  type: string;
14889
14913
  filename: string;
@@ -14925,11 +14949,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14925
14949
  option: string;
14926
14950
  filename: string;
14927
14951
  originalFilename: string;
14928
- }[] | [string, string] | null | undefined> | undefined;
14929
- originalActionId?: string | undefined;
14952
+ }[] | [string, string] | null | undefined> | null | undefined;
14953
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14930
14954
  } | {
14931
14955
  type: "VALIDATE";
14932
- id: string;
14956
+ id: string & import("zod").BRAND<"UUID">;
14933
14957
  status: "Rejected" | "Requested" | "Accepted";
14934
14958
  transactionId: string;
14935
14959
  createdByUserType: "system" | "user";
@@ -14979,7 +15003,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
14979
15003
  originalFilename: string;
14980
15004
  }[] | [string, string] | null | undefined>;
14981
15005
  createdBySignature?: string | null | undefined;
14982
- createdAtLocation?: string | null | undefined;
15006
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
14983
15007
  annotation?: Record<string, string | number | boolean | {
14984
15008
  type: string;
14985
15009
  filename: string;
@@ -15021,11 +15045,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15021
15045
  option: string;
15022
15046
  filename: string;
15023
15047
  originalFilename: string;
15024
- }[] | [string, string] | null | undefined> | undefined;
15025
- originalActionId?: string | undefined;
15048
+ }[] | [string, string] | null | undefined> | null | undefined;
15049
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15026
15050
  } | {
15027
15051
  type: "REJECT";
15028
- id: string;
15052
+ id: string & import("zod").BRAND<"UUID">;
15029
15053
  status: "Rejected" | "Requested" | "Accepted";
15030
15054
  reason: {
15031
15055
  message: string;
@@ -15079,7 +15103,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15079
15103
  originalFilename: string;
15080
15104
  }[] | [string, string] | null | undefined>;
15081
15105
  createdBySignature?: string | null | undefined;
15082
- createdAtLocation?: string | null | undefined;
15106
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15083
15107
  annotation?: Record<string, string | number | boolean | {
15084
15108
  type: string;
15085
15109
  filename: string;
@@ -15121,11 +15145,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15121
15145
  option: string;
15122
15146
  filename: string;
15123
15147
  originalFilename: string;
15124
- }[] | [string, string] | null | undefined> | undefined;
15125
- originalActionId?: string | undefined;
15148
+ }[] | [string, string] | null | undefined> | null | undefined;
15149
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15126
15150
  } | {
15127
15151
  type: "MARKED_AS_DUPLICATE";
15128
- id: string;
15152
+ id: string & import("zod").BRAND<"UUID">;
15129
15153
  status: "Rejected" | "Requested" | "Accepted";
15130
15154
  transactionId: string;
15131
15155
  createdByUserType: "system" | "user";
@@ -15175,7 +15199,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15175
15199
  originalFilename: string;
15176
15200
  }[] | [string, string] | null | undefined>;
15177
15201
  createdBySignature?: string | null | undefined;
15178
- createdAtLocation?: string | null | undefined;
15202
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15179
15203
  annotation?: Record<string, string | number | boolean | {
15180
15204
  type: string;
15181
15205
  filename: string;
@@ -15217,11 +15241,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15217
15241
  option: string;
15218
15242
  filename: string;
15219
15243
  originalFilename: string;
15220
- }[] | [string, string] | null | undefined> | undefined;
15221
- originalActionId?: string | undefined;
15244
+ }[] | [string, string] | null | undefined> | null | undefined;
15245
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15222
15246
  } | {
15223
15247
  type: "ARCHIVE";
15224
- id: string;
15248
+ id: string & import("zod").BRAND<"UUID">;
15225
15249
  status: "Rejected" | "Requested" | "Accepted";
15226
15250
  reason: {
15227
15251
  message: string;
@@ -15275,7 +15299,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15275
15299
  originalFilename: string;
15276
15300
  }[] | [string, string] | null | undefined>;
15277
15301
  createdBySignature?: string | null | undefined;
15278
- createdAtLocation?: string | null | undefined;
15302
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15279
15303
  annotation?: Record<string, string | number | boolean | {
15280
15304
  type: string;
15281
15305
  filename: string;
@@ -15317,11 +15341,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15317
15341
  option: string;
15318
15342
  filename: string;
15319
15343
  originalFilename: string;
15320
- }[] | [string, string] | null | undefined> | undefined;
15321
- originalActionId?: string | undefined;
15344
+ }[] | [string, string] | null | undefined> | null | undefined;
15345
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15322
15346
  } | {
15323
15347
  type: "CREATE";
15324
- id: string;
15348
+ id: string & import("zod").BRAND<"UUID">;
15325
15349
  status: "Rejected" | "Requested" | "Accepted";
15326
15350
  transactionId: string;
15327
15351
  createdByUserType: "system" | "user";
@@ -15371,7 +15395,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15371
15395
  originalFilename: string;
15372
15396
  }[] | [string, string] | null | undefined>;
15373
15397
  createdBySignature?: string | null | undefined;
15374
- createdAtLocation?: string | null | undefined;
15398
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15375
15399
  annotation?: Record<string, string | number | boolean | {
15376
15400
  type: string;
15377
15401
  filename: string;
@@ -15413,11 +15437,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15413
15437
  option: string;
15414
15438
  filename: string;
15415
15439
  originalFilename: string;
15416
- }[] | [string, string] | null | undefined> | undefined;
15417
- originalActionId?: string | undefined;
15440
+ }[] | [string, string] | null | undefined> | null | undefined;
15441
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15418
15442
  } | {
15419
15443
  type: "NOTIFY";
15420
- id: string;
15444
+ id: string & import("zod").BRAND<"UUID">;
15421
15445
  status: "Rejected" | "Requested" | "Accepted";
15422
15446
  transactionId: string;
15423
15447
  createdByUserType: "system" | "user";
@@ -15467,7 +15491,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15467
15491
  originalFilename: string;
15468
15492
  }[] | [string, string] | null | undefined>;
15469
15493
  createdBySignature?: string | null | undefined;
15470
- createdAtLocation?: string | null | undefined;
15494
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15471
15495
  annotation?: Record<string, string | number | boolean | {
15472
15496
  type: string;
15473
15497
  filename: string;
@@ -15509,11 +15533,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15509
15533
  option: string;
15510
15534
  filename: string;
15511
15535
  originalFilename: string;
15512
- }[] | [string, string] | null | undefined> | undefined;
15513
- originalActionId?: string | undefined;
15536
+ }[] | [string, string] | null | undefined> | null | undefined;
15537
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15514
15538
  } | {
15515
15539
  type: "PRINT_CERTIFICATE";
15516
- id: string;
15540
+ id: string & import("zod").BRAND<"UUID">;
15517
15541
  status: "Rejected" | "Requested" | "Accepted";
15518
15542
  transactionId: string;
15519
15543
  createdByUserType: "system" | "user";
@@ -15563,7 +15587,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15563
15587
  originalFilename: string;
15564
15588
  }[] | [string, string] | null | undefined>;
15565
15589
  createdBySignature?: string | null | undefined;
15566
- createdAtLocation?: string | null | undefined;
15590
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15567
15591
  annotation?: Record<string, string | number | boolean | {
15568
15592
  type: string;
15569
15593
  filename: string;
@@ -15605,11 +15629,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15605
15629
  option: string;
15606
15630
  filename: string;
15607
15631
  originalFilename: string;
15608
- }[] | [string, string] | null | undefined> | undefined;
15609
- originalActionId?: string | undefined;
15632
+ }[] | [string, string] | null | undefined> | null | undefined;
15633
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15610
15634
  } | {
15611
15635
  type: "REQUEST_CORRECTION";
15612
- id: string;
15636
+ id: string & import("zod").BRAND<"UUID">;
15613
15637
  status: "Rejected" | "Requested" | "Accepted";
15614
15638
  transactionId: string;
15615
15639
  createdByUserType: "system" | "user";
@@ -15659,7 +15683,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15659
15683
  originalFilename: string;
15660
15684
  }[] | [string, string] | null | undefined>;
15661
15685
  createdBySignature?: string | null | undefined;
15662
- createdAtLocation?: string | null | undefined;
15686
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15663
15687
  annotation?: Record<string, string | number | boolean | {
15664
15688
  type: string;
15665
15689
  filename: string;
@@ -15701,11 +15725,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15701
15725
  option: string;
15702
15726
  filename: string;
15703
15727
  originalFilename: string;
15704
- }[] | [string, string] | null | undefined> | undefined;
15705
- originalActionId?: string | undefined;
15728
+ }[] | [string, string] | null | undefined> | null | undefined;
15729
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15706
15730
  } | {
15707
15731
  type: "APPROVE_CORRECTION";
15708
- id: string;
15732
+ id: string & import("zod").BRAND<"UUID">;
15709
15733
  status: "Rejected" | "Requested" | "Accepted";
15710
15734
  transactionId: string;
15711
15735
  createdByUserType: "system" | "user";
@@ -15756,7 +15780,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15756
15780
  }[] | [string, string] | null | undefined>;
15757
15781
  requestId: string;
15758
15782
  createdBySignature?: string | null | undefined;
15759
- createdAtLocation?: string | null | undefined;
15783
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15760
15784
  annotation?: Record<string, string | number | boolean | {
15761
15785
  type: string;
15762
15786
  filename: string;
@@ -15798,11 +15822,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15798
15822
  option: string;
15799
15823
  filename: string;
15800
15824
  originalFilename: string;
15801
- }[] | [string, string] | null | undefined> | undefined;
15802
- originalActionId?: string | undefined;
15825
+ }[] | [string, string] | null | undefined> | null | undefined;
15826
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15803
15827
  } | {
15804
15828
  type: "REJECT_CORRECTION";
15805
- id: string;
15829
+ id: string & import("zod").BRAND<"UUID">;
15806
15830
  status: "Rejected" | "Requested" | "Accepted";
15807
15831
  transactionId: string;
15808
15832
  createdByUserType: "system" | "user";
@@ -15853,7 +15877,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15853
15877
  }[] | [string, string] | null | undefined>;
15854
15878
  requestId: string;
15855
15879
  createdBySignature?: string | null | undefined;
15856
- createdAtLocation?: string | null | undefined;
15880
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15857
15881
  annotation?: Record<string, string | number | boolean | {
15858
15882
  type: string;
15859
15883
  filename: string;
@@ -15895,11 +15919,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15895
15919
  option: string;
15896
15920
  filename: string;
15897
15921
  originalFilename: string;
15898
- }[] | [string, string] | null | undefined> | undefined;
15899
- originalActionId?: string | undefined;
15922
+ }[] | [string, string] | null | undefined> | null | undefined;
15923
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15900
15924
  } | {
15901
15925
  type: "READ";
15902
- id: string;
15926
+ id: string & import("zod").BRAND<"UUID">;
15903
15927
  status: "Rejected" | "Requested" | "Accepted";
15904
15928
  transactionId: string;
15905
15929
  createdByUserType: "system" | "user";
@@ -15949,7 +15973,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15949
15973
  originalFilename: string;
15950
15974
  }[] | [string, string] | null | undefined>;
15951
15975
  createdBySignature?: string | null | undefined;
15952
- createdAtLocation?: string | null | undefined;
15976
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15953
15977
  annotation?: Record<string, string | number | boolean | {
15954
15978
  type: string;
15955
15979
  filename: string;
@@ -15991,11 +16015,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
15991
16015
  option: string;
15992
16016
  filename: string;
15993
16017
  originalFilename: string;
15994
- }[] | [string, string] | null | undefined> | undefined;
15995
- originalActionId?: string | undefined;
16018
+ }[] | [string, string] | null | undefined> | null | undefined;
16019
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
15996
16020
  } | {
15997
16021
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
15998
- id: string;
16022
+ id: string & import("zod").BRAND<"UUID">;
15999
16023
  status: "Rejected";
16000
16024
  transactionId: string;
16001
16025
  createdByUserType: "system" | "user";
@@ -16003,18 +16027,19 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16003
16027
  createdBy: string;
16004
16028
  createdByRole: string;
16005
16029
  createdBySignature?: string | null | undefined;
16006
- createdAtLocation?: string | null | undefined;
16007
- originalActionId?: string | undefined;
16030
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16031
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16008
16032
  })[];
16009
16033
  trackingId: string;
16010
16034
  };
16035
+ meta: import("trpc-to-openapi").OpenApiMeta;
16011
16036
  }>;
16012
16037
  }>>;
16013
- correction: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16038
+ correction: import("@trpc/server").TRPCBuiltRouter<{
16014
16039
  ctx: {
16015
16040
  user: {
16016
16041
  id: string;
16017
- primaryOfficeId: string;
16042
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
16018
16043
  role: string;
16019
16044
  type: "user";
16020
16045
  signature?: string | null | undefined;
@@ -16028,9 +16053,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16028
16053
  token: `Bearer ${string}`;
16029
16054
  };
16030
16055
  meta: import("trpc-to-openapi").OpenApiMeta;
16031
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16056
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
16032
16057
  transformer: true;
16033
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16058
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
16034
16059
  request: import("@trpc/server").TRPCMutationProcedure<{
16035
16060
  input: {
16036
16061
  transactionId: string;
@@ -16125,12 +16150,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16125
16150
  };
16126
16151
  output: {
16127
16152
  type: string;
16128
- id: string;
16153
+ id: string & import("zod").BRAND<"UUID">;
16129
16154
  createdAt: string;
16130
16155
  updatedAt: string;
16131
16156
  actions: ({
16132
16157
  type: "ASSIGN";
16133
- id: string;
16158
+ id: string & import("zod").BRAND<"UUID">;
16134
16159
  status: "Rejected" | "Requested" | "Accepted";
16135
16160
  transactionId: string;
16136
16161
  createdByUserType: "system" | "user";
@@ -16181,7 +16206,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16181
16206
  }[] | [string, string] | null | undefined>;
16182
16207
  assignedTo: string;
16183
16208
  createdBySignature?: string | null | undefined;
16184
- createdAtLocation?: string | null | undefined;
16209
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16185
16210
  annotation?: Record<string, string | number | boolean | {
16186
16211
  type: string;
16187
16212
  filename: string;
@@ -16223,11 +16248,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16223
16248
  option: string;
16224
16249
  filename: string;
16225
16250
  originalFilename: string;
16226
- }[] | [string, string] | null | undefined> | undefined;
16227
- originalActionId?: string | undefined;
16251
+ }[] | [string, string] | null | undefined> | null | undefined;
16252
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16228
16253
  } | {
16229
16254
  type: "UNASSIGN";
16230
- id: string;
16255
+ id: string & import("zod").BRAND<"UUID">;
16231
16256
  status: "Rejected" | "Requested" | "Accepted";
16232
16257
  transactionId: string;
16233
16258
  createdByUserType: "system" | "user";
@@ -16276,9 +16301,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16276
16301
  filename: string;
16277
16302
  originalFilename: string;
16278
16303
  }[] | [string, string] | null | undefined>;
16279
- assignedTo: null;
16280
16304
  createdBySignature?: string | null | undefined;
16281
- createdAtLocation?: string | null | undefined;
16305
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16282
16306
  annotation?: Record<string, string | number | boolean | {
16283
16307
  type: string;
16284
16308
  filename: string;
@@ -16320,11 +16344,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16320
16344
  option: string;
16321
16345
  filename: string;
16322
16346
  originalFilename: string;
16323
- }[] | [string, string] | null | undefined> | undefined;
16324
- originalActionId?: string | undefined;
16347
+ }[] | [string, string] | null | undefined> | null | undefined;
16348
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16325
16349
  } | {
16326
16350
  type: "REGISTER";
16327
- id: string;
16351
+ id: string & import("zod").BRAND<"UUID">;
16328
16352
  status: "Rejected" | "Requested" | "Accepted";
16329
16353
  transactionId: string;
16330
16354
  createdByUserType: "system" | "user";
@@ -16374,7 +16398,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16374
16398
  originalFilename: string;
16375
16399
  }[] | [string, string] | null | undefined>;
16376
16400
  createdBySignature?: string | null | undefined;
16377
- createdAtLocation?: string | null | undefined;
16401
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16378
16402
  annotation?: Record<string, string | number | boolean | {
16379
16403
  type: string;
16380
16404
  filename: string;
@@ -16416,12 +16440,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16416
16440
  option: string;
16417
16441
  filename: string;
16418
16442
  originalFilename: string;
16419
- }[] | [string, string] | null | undefined> | undefined;
16420
- originalActionId?: string | undefined;
16443
+ }[] | [string, string] | null | undefined> | null | undefined;
16444
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16421
16445
  registrationNumber?: string | undefined;
16422
16446
  } | {
16423
16447
  type: "DECLARE";
16424
- id: string;
16448
+ id: string & import("zod").BRAND<"UUID">;
16425
16449
  status: "Rejected" | "Requested" | "Accepted";
16426
16450
  transactionId: string;
16427
16451
  createdByUserType: "system" | "user";
@@ -16471,7 +16495,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16471
16495
  originalFilename: string;
16472
16496
  }[] | [string, string] | null | undefined>;
16473
16497
  createdBySignature?: string | null | undefined;
16474
- createdAtLocation?: string | null | undefined;
16498
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16475
16499
  annotation?: Record<string, string | number | boolean | {
16476
16500
  type: string;
16477
16501
  filename: string;
@@ -16513,11 +16537,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16513
16537
  option: string;
16514
16538
  filename: string;
16515
16539
  originalFilename: string;
16516
- }[] | [string, string] | null | undefined> | undefined;
16517
- originalActionId?: string | undefined;
16540
+ }[] | [string, string] | null | undefined> | null | undefined;
16541
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16518
16542
  } | {
16519
16543
  type: "VALIDATE";
16520
- id: string;
16544
+ id: string & import("zod").BRAND<"UUID">;
16521
16545
  status: "Rejected" | "Requested" | "Accepted";
16522
16546
  transactionId: string;
16523
16547
  createdByUserType: "system" | "user";
@@ -16567,7 +16591,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16567
16591
  originalFilename: string;
16568
16592
  }[] | [string, string] | null | undefined>;
16569
16593
  createdBySignature?: string | null | undefined;
16570
- createdAtLocation?: string | null | undefined;
16594
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16571
16595
  annotation?: Record<string, string | number | boolean | {
16572
16596
  type: string;
16573
16597
  filename: string;
@@ -16609,11 +16633,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16609
16633
  option: string;
16610
16634
  filename: string;
16611
16635
  originalFilename: string;
16612
- }[] | [string, string] | null | undefined> | undefined;
16613
- originalActionId?: string | undefined;
16636
+ }[] | [string, string] | null | undefined> | null | undefined;
16637
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16614
16638
  } | {
16615
16639
  type: "REJECT";
16616
- id: string;
16640
+ id: string & import("zod").BRAND<"UUID">;
16617
16641
  status: "Rejected" | "Requested" | "Accepted";
16618
16642
  reason: {
16619
16643
  message: string;
@@ -16667,7 +16691,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16667
16691
  originalFilename: string;
16668
16692
  }[] | [string, string] | null | undefined>;
16669
16693
  createdBySignature?: string | null | undefined;
16670
- createdAtLocation?: string | null | undefined;
16694
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16671
16695
  annotation?: Record<string, string | number | boolean | {
16672
16696
  type: string;
16673
16697
  filename: string;
@@ -16709,11 +16733,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16709
16733
  option: string;
16710
16734
  filename: string;
16711
16735
  originalFilename: string;
16712
- }[] | [string, string] | null | undefined> | undefined;
16713
- originalActionId?: string | undefined;
16736
+ }[] | [string, string] | null | undefined> | null | undefined;
16737
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16714
16738
  } | {
16715
16739
  type: "MARKED_AS_DUPLICATE";
16716
- id: string;
16740
+ id: string & import("zod").BRAND<"UUID">;
16717
16741
  status: "Rejected" | "Requested" | "Accepted";
16718
16742
  transactionId: string;
16719
16743
  createdByUserType: "system" | "user";
@@ -16763,7 +16787,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16763
16787
  originalFilename: string;
16764
16788
  }[] | [string, string] | null | undefined>;
16765
16789
  createdBySignature?: string | null | undefined;
16766
- createdAtLocation?: string | null | undefined;
16790
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16767
16791
  annotation?: Record<string, string | number | boolean | {
16768
16792
  type: string;
16769
16793
  filename: string;
@@ -16805,11 +16829,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16805
16829
  option: string;
16806
16830
  filename: string;
16807
16831
  originalFilename: string;
16808
- }[] | [string, string] | null | undefined> | undefined;
16809
- originalActionId?: string | undefined;
16832
+ }[] | [string, string] | null | undefined> | null | undefined;
16833
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16810
16834
  } | {
16811
16835
  type: "ARCHIVE";
16812
- id: string;
16836
+ id: string & import("zod").BRAND<"UUID">;
16813
16837
  status: "Rejected" | "Requested" | "Accepted";
16814
16838
  reason: {
16815
16839
  message: string;
@@ -16863,7 +16887,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16863
16887
  originalFilename: string;
16864
16888
  }[] | [string, string] | null | undefined>;
16865
16889
  createdBySignature?: string | null | undefined;
16866
- createdAtLocation?: string | null | undefined;
16890
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16867
16891
  annotation?: Record<string, string | number | boolean | {
16868
16892
  type: string;
16869
16893
  filename: string;
@@ -16905,11 +16929,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16905
16929
  option: string;
16906
16930
  filename: string;
16907
16931
  originalFilename: string;
16908
- }[] | [string, string] | null | undefined> | undefined;
16909
- originalActionId?: string | undefined;
16932
+ }[] | [string, string] | null | undefined> | null | undefined;
16933
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16910
16934
  } | {
16911
16935
  type: "CREATE";
16912
- id: string;
16936
+ id: string & import("zod").BRAND<"UUID">;
16913
16937
  status: "Rejected" | "Requested" | "Accepted";
16914
16938
  transactionId: string;
16915
16939
  createdByUserType: "system" | "user";
@@ -16959,7 +16983,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
16959
16983
  originalFilename: string;
16960
16984
  }[] | [string, string] | null | undefined>;
16961
16985
  createdBySignature?: string | null | undefined;
16962
- createdAtLocation?: string | null | undefined;
16986
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
16963
16987
  annotation?: Record<string, string | number | boolean | {
16964
16988
  type: string;
16965
16989
  filename: string;
@@ -17001,11 +17025,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17001
17025
  option: string;
17002
17026
  filename: string;
17003
17027
  originalFilename: string;
17004
- }[] | [string, string] | null | undefined> | undefined;
17005
- originalActionId?: string | undefined;
17028
+ }[] | [string, string] | null | undefined> | null | undefined;
17029
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17006
17030
  } | {
17007
17031
  type: "NOTIFY";
17008
- id: string;
17032
+ id: string & import("zod").BRAND<"UUID">;
17009
17033
  status: "Rejected" | "Requested" | "Accepted";
17010
17034
  transactionId: string;
17011
17035
  createdByUserType: "system" | "user";
@@ -17055,7 +17079,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17055
17079
  originalFilename: string;
17056
17080
  }[] | [string, string] | null | undefined>;
17057
17081
  createdBySignature?: string | null | undefined;
17058
- createdAtLocation?: string | null | undefined;
17082
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17059
17083
  annotation?: Record<string, string | number | boolean | {
17060
17084
  type: string;
17061
17085
  filename: string;
@@ -17097,11 +17121,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17097
17121
  option: string;
17098
17122
  filename: string;
17099
17123
  originalFilename: string;
17100
- }[] | [string, string] | null | undefined> | undefined;
17101
- originalActionId?: string | undefined;
17124
+ }[] | [string, string] | null | undefined> | null | undefined;
17125
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17102
17126
  } | {
17103
17127
  type: "PRINT_CERTIFICATE";
17104
- id: string;
17128
+ id: string & import("zod").BRAND<"UUID">;
17105
17129
  status: "Rejected" | "Requested" | "Accepted";
17106
17130
  transactionId: string;
17107
17131
  createdByUserType: "system" | "user";
@@ -17151,7 +17175,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17151
17175
  originalFilename: string;
17152
17176
  }[] | [string, string] | null | undefined>;
17153
17177
  createdBySignature?: string | null | undefined;
17154
- createdAtLocation?: string | null | undefined;
17178
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17155
17179
  annotation?: Record<string, string | number | boolean | {
17156
17180
  type: string;
17157
17181
  filename: string;
@@ -17193,11 +17217,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17193
17217
  option: string;
17194
17218
  filename: string;
17195
17219
  originalFilename: string;
17196
- }[] | [string, string] | null | undefined> | undefined;
17197
- originalActionId?: string | undefined;
17220
+ }[] | [string, string] | null | undefined> | null | undefined;
17221
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17198
17222
  } | {
17199
17223
  type: "REQUEST_CORRECTION";
17200
- id: string;
17224
+ id: string & import("zod").BRAND<"UUID">;
17201
17225
  status: "Rejected" | "Requested" | "Accepted";
17202
17226
  transactionId: string;
17203
17227
  createdByUserType: "system" | "user";
@@ -17247,7 +17271,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17247
17271
  originalFilename: string;
17248
17272
  }[] | [string, string] | null | undefined>;
17249
17273
  createdBySignature?: string | null | undefined;
17250
- createdAtLocation?: string | null | undefined;
17274
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17251
17275
  annotation?: Record<string, string | number | boolean | {
17252
17276
  type: string;
17253
17277
  filename: string;
@@ -17289,11 +17313,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17289
17313
  option: string;
17290
17314
  filename: string;
17291
17315
  originalFilename: string;
17292
- }[] | [string, string] | null | undefined> | undefined;
17293
- originalActionId?: string | undefined;
17316
+ }[] | [string, string] | null | undefined> | null | undefined;
17317
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17294
17318
  } | {
17295
17319
  type: "APPROVE_CORRECTION";
17296
- id: string;
17320
+ id: string & import("zod").BRAND<"UUID">;
17297
17321
  status: "Rejected" | "Requested" | "Accepted";
17298
17322
  transactionId: string;
17299
17323
  createdByUserType: "system" | "user";
@@ -17344,7 +17368,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17344
17368
  }[] | [string, string] | null | undefined>;
17345
17369
  requestId: string;
17346
17370
  createdBySignature?: string | null | undefined;
17347
- createdAtLocation?: string | null | undefined;
17371
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17348
17372
  annotation?: Record<string, string | number | boolean | {
17349
17373
  type: string;
17350
17374
  filename: string;
@@ -17386,11 +17410,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17386
17410
  option: string;
17387
17411
  filename: string;
17388
17412
  originalFilename: string;
17389
- }[] | [string, string] | null | undefined> | undefined;
17390
- originalActionId?: string | undefined;
17413
+ }[] | [string, string] | null | undefined> | null | undefined;
17414
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17391
17415
  } | {
17392
17416
  type: "REJECT_CORRECTION";
17393
- id: string;
17417
+ id: string & import("zod").BRAND<"UUID">;
17394
17418
  status: "Rejected" | "Requested" | "Accepted";
17395
17419
  transactionId: string;
17396
17420
  createdByUserType: "system" | "user";
@@ -17441,7 +17465,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17441
17465
  }[] | [string, string] | null | undefined>;
17442
17466
  requestId: string;
17443
17467
  createdBySignature?: string | null | undefined;
17444
- createdAtLocation?: string | null | undefined;
17468
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17445
17469
  annotation?: Record<string, string | number | boolean | {
17446
17470
  type: string;
17447
17471
  filename: string;
@@ -17483,11 +17507,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17483
17507
  option: string;
17484
17508
  filename: string;
17485
17509
  originalFilename: string;
17486
- }[] | [string, string] | null | undefined> | undefined;
17487
- originalActionId?: string | undefined;
17510
+ }[] | [string, string] | null | undefined> | null | undefined;
17511
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17488
17512
  } | {
17489
17513
  type: "READ";
17490
- id: string;
17514
+ id: string & import("zod").BRAND<"UUID">;
17491
17515
  status: "Rejected" | "Requested" | "Accepted";
17492
17516
  transactionId: string;
17493
17517
  createdByUserType: "system" | "user";
@@ -17537,7 +17561,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17537
17561
  originalFilename: string;
17538
17562
  }[] | [string, string] | null | undefined>;
17539
17563
  createdBySignature?: string | null | undefined;
17540
- createdAtLocation?: string | null | undefined;
17564
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17541
17565
  annotation?: Record<string, string | number | boolean | {
17542
17566
  type: string;
17543
17567
  filename: string;
@@ -17579,11 +17603,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17579
17603
  option: string;
17580
17604
  filename: string;
17581
17605
  originalFilename: string;
17582
- }[] | [string, string] | null | undefined> | undefined;
17583
- originalActionId?: string | undefined;
17606
+ }[] | [string, string] | null | undefined> | null | undefined;
17607
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17584
17608
  } | {
17585
17609
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
17586
- id: string;
17610
+ id: string & import("zod").BRAND<"UUID">;
17587
17611
  status: "Rejected";
17588
17612
  transactionId: string;
17589
17613
  createdByUserType: "system" | "user";
@@ -17591,11 +17615,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17591
17615
  createdBy: string;
17592
17616
  createdByRole: string;
17593
17617
  createdBySignature?: string | null | undefined;
17594
- createdAtLocation?: string | null | undefined;
17595
- originalActionId?: string | undefined;
17618
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17619
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17596
17620
  })[];
17597
17621
  trackingId: string;
17598
17622
  };
17623
+ meta: import("trpc-to-openapi").OpenApiMeta;
17599
17624
  }>;
17600
17625
  approve: import("@trpc/server").TRPCMutationProcedure<{
17601
17626
  input: {
@@ -17692,12 +17717,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17692
17717
  };
17693
17718
  output: {
17694
17719
  type: string;
17695
- id: string;
17720
+ id: string & import("zod").BRAND<"UUID">;
17696
17721
  createdAt: string;
17697
17722
  updatedAt: string;
17698
17723
  actions: ({
17699
17724
  type: "ASSIGN";
17700
- id: string;
17725
+ id: string & import("zod").BRAND<"UUID">;
17701
17726
  status: "Rejected" | "Requested" | "Accepted";
17702
17727
  transactionId: string;
17703
17728
  createdByUserType: "system" | "user";
@@ -17748,7 +17773,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17748
17773
  }[] | [string, string] | null | undefined>;
17749
17774
  assignedTo: string;
17750
17775
  createdBySignature?: string | null | undefined;
17751
- createdAtLocation?: string | null | undefined;
17776
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17752
17777
  annotation?: Record<string, string | number | boolean | {
17753
17778
  type: string;
17754
17779
  filename: string;
@@ -17790,11 +17815,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17790
17815
  option: string;
17791
17816
  filename: string;
17792
17817
  originalFilename: string;
17793
- }[] | [string, string] | null | undefined> | undefined;
17794
- originalActionId?: string | undefined;
17818
+ }[] | [string, string] | null | undefined> | null | undefined;
17819
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17795
17820
  } | {
17796
17821
  type: "UNASSIGN";
17797
- id: string;
17822
+ id: string & import("zod").BRAND<"UUID">;
17798
17823
  status: "Rejected" | "Requested" | "Accepted";
17799
17824
  transactionId: string;
17800
17825
  createdByUserType: "system" | "user";
@@ -17843,9 +17868,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17843
17868
  filename: string;
17844
17869
  originalFilename: string;
17845
17870
  }[] | [string, string] | null | undefined>;
17846
- assignedTo: null;
17847
17871
  createdBySignature?: string | null | undefined;
17848
- createdAtLocation?: string | null | undefined;
17872
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17849
17873
  annotation?: Record<string, string | number | boolean | {
17850
17874
  type: string;
17851
17875
  filename: string;
@@ -17887,11 +17911,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17887
17911
  option: string;
17888
17912
  filename: string;
17889
17913
  originalFilename: string;
17890
- }[] | [string, string] | null | undefined> | undefined;
17891
- originalActionId?: string | undefined;
17914
+ }[] | [string, string] | null | undefined> | null | undefined;
17915
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17892
17916
  } | {
17893
17917
  type: "REGISTER";
17894
- id: string;
17918
+ id: string & import("zod").BRAND<"UUID">;
17895
17919
  status: "Rejected" | "Requested" | "Accepted";
17896
17920
  transactionId: string;
17897
17921
  createdByUserType: "system" | "user";
@@ -17941,7 +17965,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17941
17965
  originalFilename: string;
17942
17966
  }[] | [string, string] | null | undefined>;
17943
17967
  createdBySignature?: string | null | undefined;
17944
- createdAtLocation?: string | null | undefined;
17968
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17945
17969
  annotation?: Record<string, string | number | boolean | {
17946
17970
  type: string;
17947
17971
  filename: string;
@@ -17983,12 +18007,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
17983
18007
  option: string;
17984
18008
  filename: string;
17985
18009
  originalFilename: string;
17986
- }[] | [string, string] | null | undefined> | undefined;
17987
- originalActionId?: string | undefined;
18010
+ }[] | [string, string] | null | undefined> | null | undefined;
18011
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
17988
18012
  registrationNumber?: string | undefined;
17989
18013
  } | {
17990
18014
  type: "DECLARE";
17991
- id: string;
18015
+ id: string & import("zod").BRAND<"UUID">;
17992
18016
  status: "Rejected" | "Requested" | "Accepted";
17993
18017
  transactionId: string;
17994
18018
  createdByUserType: "system" | "user";
@@ -18038,7 +18062,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18038
18062
  originalFilename: string;
18039
18063
  }[] | [string, string] | null | undefined>;
18040
18064
  createdBySignature?: string | null | undefined;
18041
- createdAtLocation?: string | null | undefined;
18065
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18042
18066
  annotation?: Record<string, string | number | boolean | {
18043
18067
  type: string;
18044
18068
  filename: string;
@@ -18080,11 +18104,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18080
18104
  option: string;
18081
18105
  filename: string;
18082
18106
  originalFilename: string;
18083
- }[] | [string, string] | null | undefined> | undefined;
18084
- originalActionId?: string | undefined;
18107
+ }[] | [string, string] | null | undefined> | null | undefined;
18108
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18085
18109
  } | {
18086
18110
  type: "VALIDATE";
18087
- id: string;
18111
+ id: string & import("zod").BRAND<"UUID">;
18088
18112
  status: "Rejected" | "Requested" | "Accepted";
18089
18113
  transactionId: string;
18090
18114
  createdByUserType: "system" | "user";
@@ -18134,7 +18158,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18134
18158
  originalFilename: string;
18135
18159
  }[] | [string, string] | null | undefined>;
18136
18160
  createdBySignature?: string | null | undefined;
18137
- createdAtLocation?: string | null | undefined;
18161
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18138
18162
  annotation?: Record<string, string | number | boolean | {
18139
18163
  type: string;
18140
18164
  filename: string;
@@ -18176,11 +18200,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18176
18200
  option: string;
18177
18201
  filename: string;
18178
18202
  originalFilename: string;
18179
- }[] | [string, string] | null | undefined> | undefined;
18180
- originalActionId?: string | undefined;
18203
+ }[] | [string, string] | null | undefined> | null | undefined;
18204
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18181
18205
  } | {
18182
18206
  type: "REJECT";
18183
- id: string;
18207
+ id: string & import("zod").BRAND<"UUID">;
18184
18208
  status: "Rejected" | "Requested" | "Accepted";
18185
18209
  reason: {
18186
18210
  message: string;
@@ -18234,7 +18258,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18234
18258
  originalFilename: string;
18235
18259
  }[] | [string, string] | null | undefined>;
18236
18260
  createdBySignature?: string | null | undefined;
18237
- createdAtLocation?: string | null | undefined;
18261
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18238
18262
  annotation?: Record<string, string | number | boolean | {
18239
18263
  type: string;
18240
18264
  filename: string;
@@ -18276,11 +18300,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18276
18300
  option: string;
18277
18301
  filename: string;
18278
18302
  originalFilename: string;
18279
- }[] | [string, string] | null | undefined> | undefined;
18280
- originalActionId?: string | undefined;
18303
+ }[] | [string, string] | null | undefined> | null | undefined;
18304
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18281
18305
  } | {
18282
18306
  type: "MARKED_AS_DUPLICATE";
18283
- id: string;
18307
+ id: string & import("zod").BRAND<"UUID">;
18284
18308
  status: "Rejected" | "Requested" | "Accepted";
18285
18309
  transactionId: string;
18286
18310
  createdByUserType: "system" | "user";
@@ -18330,7 +18354,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18330
18354
  originalFilename: string;
18331
18355
  }[] | [string, string] | null | undefined>;
18332
18356
  createdBySignature?: string | null | undefined;
18333
- createdAtLocation?: string | null | undefined;
18357
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18334
18358
  annotation?: Record<string, string | number | boolean | {
18335
18359
  type: string;
18336
18360
  filename: string;
@@ -18372,11 +18396,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18372
18396
  option: string;
18373
18397
  filename: string;
18374
18398
  originalFilename: string;
18375
- }[] | [string, string] | null | undefined> | undefined;
18376
- originalActionId?: string | undefined;
18399
+ }[] | [string, string] | null | undefined> | null | undefined;
18400
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18377
18401
  } | {
18378
18402
  type: "ARCHIVE";
18379
- id: string;
18403
+ id: string & import("zod").BRAND<"UUID">;
18380
18404
  status: "Rejected" | "Requested" | "Accepted";
18381
18405
  reason: {
18382
18406
  message: string;
@@ -18430,7 +18454,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18430
18454
  originalFilename: string;
18431
18455
  }[] | [string, string] | null | undefined>;
18432
18456
  createdBySignature?: string | null | undefined;
18433
- createdAtLocation?: string | null | undefined;
18457
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18434
18458
  annotation?: Record<string, string | number | boolean | {
18435
18459
  type: string;
18436
18460
  filename: string;
@@ -18472,11 +18496,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18472
18496
  option: string;
18473
18497
  filename: string;
18474
18498
  originalFilename: string;
18475
- }[] | [string, string] | null | undefined> | undefined;
18476
- originalActionId?: string | undefined;
18499
+ }[] | [string, string] | null | undefined> | null | undefined;
18500
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18477
18501
  } | {
18478
18502
  type: "CREATE";
18479
- id: string;
18503
+ id: string & import("zod").BRAND<"UUID">;
18480
18504
  status: "Rejected" | "Requested" | "Accepted";
18481
18505
  transactionId: string;
18482
18506
  createdByUserType: "system" | "user";
@@ -18526,7 +18550,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18526
18550
  originalFilename: string;
18527
18551
  }[] | [string, string] | null | undefined>;
18528
18552
  createdBySignature?: string | null | undefined;
18529
- createdAtLocation?: string | null | undefined;
18553
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18530
18554
  annotation?: Record<string, string | number | boolean | {
18531
18555
  type: string;
18532
18556
  filename: string;
@@ -18568,11 +18592,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18568
18592
  option: string;
18569
18593
  filename: string;
18570
18594
  originalFilename: string;
18571
- }[] | [string, string] | null | undefined> | undefined;
18572
- originalActionId?: string | undefined;
18595
+ }[] | [string, string] | null | undefined> | null | undefined;
18596
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18573
18597
  } | {
18574
18598
  type: "NOTIFY";
18575
- id: string;
18599
+ id: string & import("zod").BRAND<"UUID">;
18576
18600
  status: "Rejected" | "Requested" | "Accepted";
18577
18601
  transactionId: string;
18578
18602
  createdByUserType: "system" | "user";
@@ -18622,7 +18646,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18622
18646
  originalFilename: string;
18623
18647
  }[] | [string, string] | null | undefined>;
18624
18648
  createdBySignature?: string | null | undefined;
18625
- createdAtLocation?: string | null | undefined;
18649
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18626
18650
  annotation?: Record<string, string | number | boolean | {
18627
18651
  type: string;
18628
18652
  filename: string;
@@ -18664,11 +18688,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18664
18688
  option: string;
18665
18689
  filename: string;
18666
18690
  originalFilename: string;
18667
- }[] | [string, string] | null | undefined> | undefined;
18668
- originalActionId?: string | undefined;
18691
+ }[] | [string, string] | null | undefined> | null | undefined;
18692
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18669
18693
  } | {
18670
18694
  type: "PRINT_CERTIFICATE";
18671
- id: string;
18695
+ id: string & import("zod").BRAND<"UUID">;
18672
18696
  status: "Rejected" | "Requested" | "Accepted";
18673
18697
  transactionId: string;
18674
18698
  createdByUserType: "system" | "user";
@@ -18718,7 +18742,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18718
18742
  originalFilename: string;
18719
18743
  }[] | [string, string] | null | undefined>;
18720
18744
  createdBySignature?: string | null | undefined;
18721
- createdAtLocation?: string | null | undefined;
18745
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18722
18746
  annotation?: Record<string, string | number | boolean | {
18723
18747
  type: string;
18724
18748
  filename: string;
@@ -18760,11 +18784,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18760
18784
  option: string;
18761
18785
  filename: string;
18762
18786
  originalFilename: string;
18763
- }[] | [string, string] | null | undefined> | undefined;
18764
- originalActionId?: string | undefined;
18787
+ }[] | [string, string] | null | undefined> | null | undefined;
18788
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18765
18789
  } | {
18766
18790
  type: "REQUEST_CORRECTION";
18767
- id: string;
18791
+ id: string & import("zod").BRAND<"UUID">;
18768
18792
  status: "Rejected" | "Requested" | "Accepted";
18769
18793
  transactionId: string;
18770
18794
  createdByUserType: "system" | "user";
@@ -18814,7 +18838,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18814
18838
  originalFilename: string;
18815
18839
  }[] | [string, string] | null | undefined>;
18816
18840
  createdBySignature?: string | null | undefined;
18817
- createdAtLocation?: string | null | undefined;
18841
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18818
18842
  annotation?: Record<string, string | number | boolean | {
18819
18843
  type: string;
18820
18844
  filename: string;
@@ -18856,11 +18880,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18856
18880
  option: string;
18857
18881
  filename: string;
18858
18882
  originalFilename: string;
18859
- }[] | [string, string] | null | undefined> | undefined;
18860
- originalActionId?: string | undefined;
18883
+ }[] | [string, string] | null | undefined> | null | undefined;
18884
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18861
18885
  } | {
18862
18886
  type: "APPROVE_CORRECTION";
18863
- id: string;
18887
+ id: string & import("zod").BRAND<"UUID">;
18864
18888
  status: "Rejected" | "Requested" | "Accepted";
18865
18889
  transactionId: string;
18866
18890
  createdByUserType: "system" | "user";
@@ -18911,7 +18935,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18911
18935
  }[] | [string, string] | null | undefined>;
18912
18936
  requestId: string;
18913
18937
  createdBySignature?: string | null | undefined;
18914
- createdAtLocation?: string | null | undefined;
18938
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18915
18939
  annotation?: Record<string, string | number | boolean | {
18916
18940
  type: string;
18917
18941
  filename: string;
@@ -18953,11 +18977,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
18953
18977
  option: string;
18954
18978
  filename: string;
18955
18979
  originalFilename: string;
18956
- }[] | [string, string] | null | undefined> | undefined;
18957
- originalActionId?: string | undefined;
18980
+ }[] | [string, string] | null | undefined> | null | undefined;
18981
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
18958
18982
  } | {
18959
18983
  type: "REJECT_CORRECTION";
18960
- id: string;
18984
+ id: string & import("zod").BRAND<"UUID">;
18961
18985
  status: "Rejected" | "Requested" | "Accepted";
18962
18986
  transactionId: string;
18963
18987
  createdByUserType: "system" | "user";
@@ -19008,7 +19032,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19008
19032
  }[] | [string, string] | null | undefined>;
19009
19033
  requestId: string;
19010
19034
  createdBySignature?: string | null | undefined;
19011
- createdAtLocation?: string | null | undefined;
19035
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19012
19036
  annotation?: Record<string, string | number | boolean | {
19013
19037
  type: string;
19014
19038
  filename: string;
@@ -19050,11 +19074,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19050
19074
  option: string;
19051
19075
  filename: string;
19052
19076
  originalFilename: string;
19053
- }[] | [string, string] | null | undefined> | undefined;
19054
- originalActionId?: string | undefined;
19077
+ }[] | [string, string] | null | undefined> | null | undefined;
19078
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19055
19079
  } | {
19056
19080
  type: "READ";
19057
- id: string;
19081
+ id: string & import("zod").BRAND<"UUID">;
19058
19082
  status: "Rejected" | "Requested" | "Accepted";
19059
19083
  transactionId: string;
19060
19084
  createdByUserType: "system" | "user";
@@ -19104,7 +19128,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19104
19128
  originalFilename: string;
19105
19129
  }[] | [string, string] | null | undefined>;
19106
19130
  createdBySignature?: string | null | undefined;
19107
- createdAtLocation?: string | null | undefined;
19131
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19108
19132
  annotation?: Record<string, string | number | boolean | {
19109
19133
  type: string;
19110
19134
  filename: string;
@@ -19146,11 +19170,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19146
19170
  option: string;
19147
19171
  filename: string;
19148
19172
  originalFilename: string;
19149
- }[] | [string, string] | null | undefined> | undefined;
19150
- originalActionId?: string | undefined;
19173
+ }[] | [string, string] | null | undefined> | null | undefined;
19174
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19151
19175
  } | {
19152
19176
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
19153
- id: string;
19177
+ id: string & import("zod").BRAND<"UUID">;
19154
19178
  status: "Rejected";
19155
19179
  transactionId: string;
19156
19180
  createdByUserType: "system" | "user";
@@ -19158,11 +19182,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19158
19182
  createdBy: string;
19159
19183
  createdByRole: string;
19160
19184
  createdBySignature?: string | null | undefined;
19161
- createdAtLocation?: string | null | undefined;
19162
- originalActionId?: string | undefined;
19185
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19186
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19163
19187
  })[];
19164
19188
  trackingId: string;
19165
19189
  };
19190
+ meta: import("trpc-to-openapi").OpenApiMeta;
19166
19191
  }>;
19167
19192
  reject: import("@trpc/server").TRPCMutationProcedure<{
19168
19193
  input: {
@@ -19259,12 +19284,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19259
19284
  };
19260
19285
  output: {
19261
19286
  type: string;
19262
- id: string;
19287
+ id: string & import("zod").BRAND<"UUID">;
19263
19288
  createdAt: string;
19264
19289
  updatedAt: string;
19265
19290
  actions: ({
19266
19291
  type: "ASSIGN";
19267
- id: string;
19292
+ id: string & import("zod").BRAND<"UUID">;
19268
19293
  status: "Rejected" | "Requested" | "Accepted";
19269
19294
  transactionId: string;
19270
19295
  createdByUserType: "system" | "user";
@@ -19315,7 +19340,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19315
19340
  }[] | [string, string] | null | undefined>;
19316
19341
  assignedTo: string;
19317
19342
  createdBySignature?: string | null | undefined;
19318
- createdAtLocation?: string | null | undefined;
19343
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19319
19344
  annotation?: Record<string, string | number | boolean | {
19320
19345
  type: string;
19321
19346
  filename: string;
@@ -19357,11 +19382,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19357
19382
  option: string;
19358
19383
  filename: string;
19359
19384
  originalFilename: string;
19360
- }[] | [string, string] | null | undefined> | undefined;
19361
- originalActionId?: string | undefined;
19385
+ }[] | [string, string] | null | undefined> | null | undefined;
19386
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19362
19387
  } | {
19363
19388
  type: "UNASSIGN";
19364
- id: string;
19389
+ id: string & import("zod").BRAND<"UUID">;
19365
19390
  status: "Rejected" | "Requested" | "Accepted";
19366
19391
  transactionId: string;
19367
19392
  createdByUserType: "system" | "user";
@@ -19410,9 +19435,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19410
19435
  filename: string;
19411
19436
  originalFilename: string;
19412
19437
  }[] | [string, string] | null | undefined>;
19413
- assignedTo: null;
19414
19438
  createdBySignature?: string | null | undefined;
19415
- createdAtLocation?: string | null | undefined;
19439
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19416
19440
  annotation?: Record<string, string | number | boolean | {
19417
19441
  type: string;
19418
19442
  filename: string;
@@ -19454,11 +19478,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19454
19478
  option: string;
19455
19479
  filename: string;
19456
19480
  originalFilename: string;
19457
- }[] | [string, string] | null | undefined> | undefined;
19458
- originalActionId?: string | undefined;
19481
+ }[] | [string, string] | null | undefined> | null | undefined;
19482
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19459
19483
  } | {
19460
19484
  type: "REGISTER";
19461
- id: string;
19485
+ id: string & import("zod").BRAND<"UUID">;
19462
19486
  status: "Rejected" | "Requested" | "Accepted";
19463
19487
  transactionId: string;
19464
19488
  createdByUserType: "system" | "user";
@@ -19508,7 +19532,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19508
19532
  originalFilename: string;
19509
19533
  }[] | [string, string] | null | undefined>;
19510
19534
  createdBySignature?: string | null | undefined;
19511
- createdAtLocation?: string | null | undefined;
19535
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19512
19536
  annotation?: Record<string, string | number | boolean | {
19513
19537
  type: string;
19514
19538
  filename: string;
@@ -19550,12 +19574,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19550
19574
  option: string;
19551
19575
  filename: string;
19552
19576
  originalFilename: string;
19553
- }[] | [string, string] | null | undefined> | undefined;
19554
- originalActionId?: string | undefined;
19577
+ }[] | [string, string] | null | undefined> | null | undefined;
19578
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19555
19579
  registrationNumber?: string | undefined;
19556
19580
  } | {
19557
19581
  type: "DECLARE";
19558
- id: string;
19582
+ id: string & import("zod").BRAND<"UUID">;
19559
19583
  status: "Rejected" | "Requested" | "Accepted";
19560
19584
  transactionId: string;
19561
19585
  createdByUserType: "system" | "user";
@@ -19605,7 +19629,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19605
19629
  originalFilename: string;
19606
19630
  }[] | [string, string] | null | undefined>;
19607
19631
  createdBySignature?: string | null | undefined;
19608
- createdAtLocation?: string | null | undefined;
19632
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19609
19633
  annotation?: Record<string, string | number | boolean | {
19610
19634
  type: string;
19611
19635
  filename: string;
@@ -19647,11 +19671,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19647
19671
  option: string;
19648
19672
  filename: string;
19649
19673
  originalFilename: string;
19650
- }[] | [string, string] | null | undefined> | undefined;
19651
- originalActionId?: string | undefined;
19674
+ }[] | [string, string] | null | undefined> | null | undefined;
19675
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19652
19676
  } | {
19653
19677
  type: "VALIDATE";
19654
- id: string;
19678
+ id: string & import("zod").BRAND<"UUID">;
19655
19679
  status: "Rejected" | "Requested" | "Accepted";
19656
19680
  transactionId: string;
19657
19681
  createdByUserType: "system" | "user";
@@ -19701,7 +19725,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19701
19725
  originalFilename: string;
19702
19726
  }[] | [string, string] | null | undefined>;
19703
19727
  createdBySignature?: string | null | undefined;
19704
- createdAtLocation?: string | null | undefined;
19728
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19705
19729
  annotation?: Record<string, string | number | boolean | {
19706
19730
  type: string;
19707
19731
  filename: string;
@@ -19743,11 +19767,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19743
19767
  option: string;
19744
19768
  filename: string;
19745
19769
  originalFilename: string;
19746
- }[] | [string, string] | null | undefined> | undefined;
19747
- originalActionId?: string | undefined;
19770
+ }[] | [string, string] | null | undefined> | null | undefined;
19771
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19748
19772
  } | {
19749
19773
  type: "REJECT";
19750
- id: string;
19774
+ id: string & import("zod").BRAND<"UUID">;
19751
19775
  status: "Rejected" | "Requested" | "Accepted";
19752
19776
  reason: {
19753
19777
  message: string;
@@ -19801,7 +19825,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19801
19825
  originalFilename: string;
19802
19826
  }[] | [string, string] | null | undefined>;
19803
19827
  createdBySignature?: string | null | undefined;
19804
- createdAtLocation?: string | null | undefined;
19828
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19805
19829
  annotation?: Record<string, string | number | boolean | {
19806
19830
  type: string;
19807
19831
  filename: string;
@@ -19843,11 +19867,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19843
19867
  option: string;
19844
19868
  filename: string;
19845
19869
  originalFilename: string;
19846
- }[] | [string, string] | null | undefined> | undefined;
19847
- originalActionId?: string | undefined;
19870
+ }[] | [string, string] | null | undefined> | null | undefined;
19871
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19848
19872
  } | {
19849
19873
  type: "MARKED_AS_DUPLICATE";
19850
- id: string;
19874
+ id: string & import("zod").BRAND<"UUID">;
19851
19875
  status: "Rejected" | "Requested" | "Accepted";
19852
19876
  transactionId: string;
19853
19877
  createdByUserType: "system" | "user";
@@ -19897,7 +19921,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19897
19921
  originalFilename: string;
19898
19922
  }[] | [string, string] | null | undefined>;
19899
19923
  createdBySignature?: string | null | undefined;
19900
- createdAtLocation?: string | null | undefined;
19924
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19901
19925
  annotation?: Record<string, string | number | boolean | {
19902
19926
  type: string;
19903
19927
  filename: string;
@@ -19939,11 +19963,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19939
19963
  option: string;
19940
19964
  filename: string;
19941
19965
  originalFilename: string;
19942
- }[] | [string, string] | null | undefined> | undefined;
19943
- originalActionId?: string | undefined;
19966
+ }[] | [string, string] | null | undefined> | null | undefined;
19967
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
19944
19968
  } | {
19945
19969
  type: "ARCHIVE";
19946
- id: string;
19970
+ id: string & import("zod").BRAND<"UUID">;
19947
19971
  status: "Rejected" | "Requested" | "Accepted";
19948
19972
  reason: {
19949
19973
  message: string;
@@ -19997,7 +20021,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
19997
20021
  originalFilename: string;
19998
20022
  }[] | [string, string] | null | undefined>;
19999
20023
  createdBySignature?: string | null | undefined;
20000
- createdAtLocation?: string | null | undefined;
20024
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20001
20025
  annotation?: Record<string, string | number | boolean | {
20002
20026
  type: string;
20003
20027
  filename: string;
@@ -20039,11 +20063,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20039
20063
  option: string;
20040
20064
  filename: string;
20041
20065
  originalFilename: string;
20042
- }[] | [string, string] | null | undefined> | undefined;
20043
- originalActionId?: string | undefined;
20066
+ }[] | [string, string] | null | undefined> | null | undefined;
20067
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20044
20068
  } | {
20045
20069
  type: "CREATE";
20046
- id: string;
20070
+ id: string & import("zod").BRAND<"UUID">;
20047
20071
  status: "Rejected" | "Requested" | "Accepted";
20048
20072
  transactionId: string;
20049
20073
  createdByUserType: "system" | "user";
@@ -20093,7 +20117,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20093
20117
  originalFilename: string;
20094
20118
  }[] | [string, string] | null | undefined>;
20095
20119
  createdBySignature?: string | null | undefined;
20096
- createdAtLocation?: string | null | undefined;
20120
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20097
20121
  annotation?: Record<string, string | number | boolean | {
20098
20122
  type: string;
20099
20123
  filename: string;
@@ -20135,11 +20159,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20135
20159
  option: string;
20136
20160
  filename: string;
20137
20161
  originalFilename: string;
20138
- }[] | [string, string] | null | undefined> | undefined;
20139
- originalActionId?: string | undefined;
20162
+ }[] | [string, string] | null | undefined> | null | undefined;
20163
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20140
20164
  } | {
20141
20165
  type: "NOTIFY";
20142
- id: string;
20166
+ id: string & import("zod").BRAND<"UUID">;
20143
20167
  status: "Rejected" | "Requested" | "Accepted";
20144
20168
  transactionId: string;
20145
20169
  createdByUserType: "system" | "user";
@@ -20189,7 +20213,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20189
20213
  originalFilename: string;
20190
20214
  }[] | [string, string] | null | undefined>;
20191
20215
  createdBySignature?: string | null | undefined;
20192
- createdAtLocation?: string | null | undefined;
20216
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20193
20217
  annotation?: Record<string, string | number | boolean | {
20194
20218
  type: string;
20195
20219
  filename: string;
@@ -20231,11 +20255,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20231
20255
  option: string;
20232
20256
  filename: string;
20233
20257
  originalFilename: string;
20234
- }[] | [string, string] | null | undefined> | undefined;
20235
- originalActionId?: string | undefined;
20258
+ }[] | [string, string] | null | undefined> | null | undefined;
20259
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20236
20260
  } | {
20237
20261
  type: "PRINT_CERTIFICATE";
20238
- id: string;
20262
+ id: string & import("zod").BRAND<"UUID">;
20239
20263
  status: "Rejected" | "Requested" | "Accepted";
20240
20264
  transactionId: string;
20241
20265
  createdByUserType: "system" | "user";
@@ -20285,7 +20309,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20285
20309
  originalFilename: string;
20286
20310
  }[] | [string, string] | null | undefined>;
20287
20311
  createdBySignature?: string | null | undefined;
20288
- createdAtLocation?: string | null | undefined;
20312
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20289
20313
  annotation?: Record<string, string | number | boolean | {
20290
20314
  type: string;
20291
20315
  filename: string;
@@ -20327,11 +20351,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20327
20351
  option: string;
20328
20352
  filename: string;
20329
20353
  originalFilename: string;
20330
- }[] | [string, string] | null | undefined> | undefined;
20331
- originalActionId?: string | undefined;
20354
+ }[] | [string, string] | null | undefined> | null | undefined;
20355
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20332
20356
  } | {
20333
20357
  type: "REQUEST_CORRECTION";
20334
- id: string;
20358
+ id: string & import("zod").BRAND<"UUID">;
20335
20359
  status: "Rejected" | "Requested" | "Accepted";
20336
20360
  transactionId: string;
20337
20361
  createdByUserType: "system" | "user";
@@ -20381,7 +20405,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20381
20405
  originalFilename: string;
20382
20406
  }[] | [string, string] | null | undefined>;
20383
20407
  createdBySignature?: string | null | undefined;
20384
- createdAtLocation?: string | null | undefined;
20408
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20385
20409
  annotation?: Record<string, string | number | boolean | {
20386
20410
  type: string;
20387
20411
  filename: string;
@@ -20423,11 +20447,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20423
20447
  option: string;
20424
20448
  filename: string;
20425
20449
  originalFilename: string;
20426
- }[] | [string, string] | null | undefined> | undefined;
20427
- originalActionId?: string | undefined;
20450
+ }[] | [string, string] | null | undefined> | null | undefined;
20451
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20428
20452
  } | {
20429
20453
  type: "APPROVE_CORRECTION";
20430
- id: string;
20454
+ id: string & import("zod").BRAND<"UUID">;
20431
20455
  status: "Rejected" | "Requested" | "Accepted";
20432
20456
  transactionId: string;
20433
20457
  createdByUserType: "system" | "user";
@@ -20478,7 +20502,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20478
20502
  }[] | [string, string] | null | undefined>;
20479
20503
  requestId: string;
20480
20504
  createdBySignature?: string | null | undefined;
20481
- createdAtLocation?: string | null | undefined;
20505
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20482
20506
  annotation?: Record<string, string | number | boolean | {
20483
20507
  type: string;
20484
20508
  filename: string;
@@ -20520,11 +20544,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20520
20544
  option: string;
20521
20545
  filename: string;
20522
20546
  originalFilename: string;
20523
- }[] | [string, string] | null | undefined> | undefined;
20524
- originalActionId?: string | undefined;
20547
+ }[] | [string, string] | null | undefined> | null | undefined;
20548
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20525
20549
  } | {
20526
20550
  type: "REJECT_CORRECTION";
20527
- id: string;
20551
+ id: string & import("zod").BRAND<"UUID">;
20528
20552
  status: "Rejected" | "Requested" | "Accepted";
20529
20553
  transactionId: string;
20530
20554
  createdByUserType: "system" | "user";
@@ -20575,7 +20599,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20575
20599
  }[] | [string, string] | null | undefined>;
20576
20600
  requestId: string;
20577
20601
  createdBySignature?: string | null | undefined;
20578
- createdAtLocation?: string | null | undefined;
20602
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20579
20603
  annotation?: Record<string, string | number | boolean | {
20580
20604
  type: string;
20581
20605
  filename: string;
@@ -20617,11 +20641,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20617
20641
  option: string;
20618
20642
  filename: string;
20619
20643
  originalFilename: string;
20620
- }[] | [string, string] | null | undefined> | undefined;
20621
- originalActionId?: string | undefined;
20644
+ }[] | [string, string] | null | undefined> | null | undefined;
20645
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20622
20646
  } | {
20623
20647
  type: "READ";
20624
- id: string;
20648
+ id: string & import("zod").BRAND<"UUID">;
20625
20649
  status: "Rejected" | "Requested" | "Accepted";
20626
20650
  transactionId: string;
20627
20651
  createdByUserType: "system" | "user";
@@ -20671,7 +20695,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20671
20695
  originalFilename: string;
20672
20696
  }[] | [string, string] | null | undefined>;
20673
20697
  createdBySignature?: string | null | undefined;
20674
- createdAtLocation?: string | null | undefined;
20698
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20675
20699
  annotation?: Record<string, string | number | boolean | {
20676
20700
  type: string;
20677
20701
  filename: string;
@@ -20713,11 +20737,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20713
20737
  option: string;
20714
20738
  filename: string;
20715
20739
  originalFilename: string;
20716
- }[] | [string, string] | null | undefined> | undefined;
20717
- originalActionId?: string | undefined;
20740
+ }[] | [string, string] | null | undefined> | null | undefined;
20741
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20718
20742
  } | {
20719
20743
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
20720
- id: string;
20744
+ id: string & import("zod").BRAND<"UUID">;
20721
20745
  status: "Rejected";
20722
20746
  transactionId: string;
20723
20747
  createdByUserType: "system" | "user";
@@ -20725,11 +20749,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20725
20749
  createdBy: string;
20726
20750
  createdByRole: string;
20727
20751
  createdBySignature?: string | null | undefined;
20728
- createdAtLocation?: string | null | undefined;
20729
- originalActionId?: string | undefined;
20752
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20753
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20730
20754
  })[];
20731
20755
  trackingId: string;
20732
20756
  };
20757
+ meta: import("trpc-to-openapi").OpenApiMeta;
20733
20758
  }>;
20734
20759
  }>>;
20735
20760
  }>>;
@@ -20737,7 +20762,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20737
20762
  input: void;
20738
20763
  output: {
20739
20764
  type: string;
20740
- id: string;
20765
+ id: string & import("zod").BRAND<"UUID">;
20741
20766
  status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
20742
20767
  createdAt: string;
20743
20768
  createdBy: string;
@@ -20797,7 +20822,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20797
20822
  acceptedAt: string;
20798
20823
  createdByUserType?: "system" | "user" | null | undefined;
20799
20824
  createdBySignature?: string | null | undefined;
20800
- createdAtLocation?: string | null | undefined;
20825
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20801
20826
  } | null | undefined;
20802
20827
  REGISTERED?: {
20803
20828
  createdAt: string;
@@ -20807,19 +20832,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20807
20832
  acceptedAt: string;
20808
20833
  createdByUserType?: "system" | "user" | null | undefined;
20809
20834
  createdBySignature?: string | null | undefined;
20810
- createdAtLocation?: string | null | undefined;
20835
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20811
20836
  } | null | undefined;
20812
20837
  };
20813
20838
  updatedByUserRole: string;
20814
20839
  flags: string[];
20815
20840
  createdByUserType?: "system" | "user" | null | undefined;
20816
20841
  createdBySignature?: string | null | undefined;
20817
- createdAtLocation?: string | null | undefined;
20842
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20818
20843
  assignedTo?: string | null | undefined;
20819
20844
  dateOfEvent?: string | null | undefined;
20820
- updatedAtLocation?: string | null | undefined;
20845
+ updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20821
20846
  updatedBy?: string | null | undefined;
20822
20847
  }[];
20848
+ meta: import("trpc-to-openapi").OpenApiMeta;
20823
20849
  }>;
20824
20850
  search: import("@trpc/server").TRPCQueryProcedure<{
20825
20851
  input: {
@@ -20828,7 +20854,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20828
20854
  };
20829
20855
  output: {
20830
20856
  type: string;
20831
- id: string;
20857
+ id: string & import("zod").BRAND<"UUID">;
20832
20858
  status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
20833
20859
  createdAt: string;
20834
20860
  createdBy: string;
@@ -20888,7 +20914,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20888
20914
  acceptedAt: string;
20889
20915
  createdByUserType?: "system" | "user" | null | undefined;
20890
20916
  createdBySignature?: string | null | undefined;
20891
- createdAtLocation?: string | null | undefined;
20917
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20892
20918
  } | null | undefined;
20893
20919
  REGISTERED?: {
20894
20920
  createdAt: string;
@@ -20898,19 +20924,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
20898
20924
  acceptedAt: string;
20899
20925
  createdByUserType?: "system" | "user" | null | undefined;
20900
20926
  createdBySignature?: string | null | undefined;
20901
- createdAtLocation?: string | null | undefined;
20927
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20902
20928
  } | null | undefined;
20903
20929
  };
20904
20930
  updatedByUserRole: string;
20905
20931
  flags: string[];
20906
20932
  createdByUserType?: "system" | "user" | null | undefined;
20907
20933
  createdBySignature?: string | null | undefined;
20908
- createdAtLocation?: string | null | undefined;
20934
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20909
20935
  assignedTo?: string | null | undefined;
20910
20936
  dateOfEvent?: string | null | undefined;
20911
- updatedAtLocation?: string | null | undefined;
20937
+ updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
20912
20938
  updatedBy?: string | null | undefined;
20913
20939
  }[];
20940
+ meta: import("trpc-to-openapi").OpenApiMeta;
20914
20941
  }>;
20915
20942
  import: import("@trpc/server").TRPCMutationProcedure<{
20916
20943
  input: {
@@ -21013,8 +21040,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21013
21040
  option: string;
21014
21041
  filename: string;
21015
21042
  originalFilename: string;
21016
- }[] | [string, string] | null | undefined> | undefined;
21017
- originalActionId?: string | undefined;
21043
+ }[] | [string, string] | null | undefined> | null | undefined;
21044
+ originalActionId?: string | null | undefined;
21018
21045
  } | {
21019
21046
  type: "UNASSIGN";
21020
21047
  id: string;
@@ -21066,7 +21093,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21066
21093
  filename: string;
21067
21094
  originalFilename: string;
21068
21095
  }[] | [string, string] | null | undefined>;
21069
- assignedTo: null;
21070
21096
  createdBySignature?: string | null | undefined;
21071
21097
  createdAtLocation?: string | null | undefined;
21072
21098
  annotation?: Record<string, string | number | boolean | {
@@ -21110,8 +21136,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21110
21136
  option: string;
21111
21137
  filename: string;
21112
21138
  originalFilename: string;
21113
- }[] | [string, string] | null | undefined> | undefined;
21114
- originalActionId?: string | undefined;
21139
+ }[] | [string, string] | null | undefined> | null | undefined;
21140
+ originalActionId?: string | null | undefined;
21115
21141
  } | {
21116
21142
  type: "REGISTER";
21117
21143
  id: string;
@@ -21206,8 +21232,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21206
21232
  option: string;
21207
21233
  filename: string;
21208
21234
  originalFilename: string;
21209
- }[] | [string, string] | null | undefined> | undefined;
21210
- originalActionId?: string | undefined;
21235
+ }[] | [string, string] | null | undefined> | null | undefined;
21236
+ originalActionId?: string | null | undefined;
21211
21237
  registrationNumber?: string | undefined;
21212
21238
  } | {
21213
21239
  type: "DECLARE";
@@ -21303,8 +21329,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21303
21329
  option: string;
21304
21330
  filename: string;
21305
21331
  originalFilename: string;
21306
- }[] | [string, string] | null | undefined> | undefined;
21307
- originalActionId?: string | undefined;
21332
+ }[] | [string, string] | null | undefined> | null | undefined;
21333
+ originalActionId?: string | null | undefined;
21308
21334
  } | {
21309
21335
  type: "VALIDATE";
21310
21336
  id: string;
@@ -21399,8 +21425,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21399
21425
  option: string;
21400
21426
  filename: string;
21401
21427
  originalFilename: string;
21402
- }[] | [string, string] | null | undefined> | undefined;
21403
- originalActionId?: string | undefined;
21428
+ }[] | [string, string] | null | undefined> | null | undefined;
21429
+ originalActionId?: string | null | undefined;
21404
21430
  } | {
21405
21431
  type: "REJECT";
21406
21432
  id: string;
@@ -21499,8 +21525,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21499
21525
  option: string;
21500
21526
  filename: string;
21501
21527
  originalFilename: string;
21502
- }[] | [string, string] | null | undefined> | undefined;
21503
- originalActionId?: string | undefined;
21528
+ }[] | [string, string] | null | undefined> | null | undefined;
21529
+ originalActionId?: string | null | undefined;
21504
21530
  } | {
21505
21531
  type: "MARKED_AS_DUPLICATE";
21506
21532
  id: string;
@@ -21595,8 +21621,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21595
21621
  option: string;
21596
21622
  filename: string;
21597
21623
  originalFilename: string;
21598
- }[] | [string, string] | null | undefined> | undefined;
21599
- originalActionId?: string | undefined;
21624
+ }[] | [string, string] | null | undefined> | null | undefined;
21625
+ originalActionId?: string | null | undefined;
21600
21626
  } | {
21601
21627
  type: "ARCHIVE";
21602
21628
  id: string;
@@ -21695,8 +21721,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21695
21721
  option: string;
21696
21722
  filename: string;
21697
21723
  originalFilename: string;
21698
- }[] | [string, string] | null | undefined> | undefined;
21699
- originalActionId?: string | undefined;
21724
+ }[] | [string, string] | null | undefined> | null | undefined;
21725
+ originalActionId?: string | null | undefined;
21700
21726
  } | {
21701
21727
  type: "CREATE";
21702
21728
  id: string;
@@ -21791,8 +21817,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21791
21817
  option: string;
21792
21818
  filename: string;
21793
21819
  originalFilename: string;
21794
- }[] | [string, string] | null | undefined> | undefined;
21795
- originalActionId?: string | undefined;
21820
+ }[] | [string, string] | null | undefined> | null | undefined;
21821
+ originalActionId?: string | null | undefined;
21796
21822
  } | {
21797
21823
  type: "NOTIFY";
21798
21824
  id: string;
@@ -21887,8 +21913,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21887
21913
  option: string;
21888
21914
  filename: string;
21889
21915
  originalFilename: string;
21890
- }[] | [string, string] | null | undefined> | undefined;
21891
- originalActionId?: string | undefined;
21916
+ }[] | [string, string] | null | undefined> | null | undefined;
21917
+ originalActionId?: string | null | undefined;
21892
21918
  } | {
21893
21919
  type: "PRINT_CERTIFICATE";
21894
21920
  id: string;
@@ -21983,8 +22009,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
21983
22009
  option: string;
21984
22010
  filename: string;
21985
22011
  originalFilename: string;
21986
- }[] | [string, string] | null | undefined> | undefined;
21987
- originalActionId?: string | undefined;
22012
+ }[] | [string, string] | null | undefined> | null | undefined;
22013
+ originalActionId?: string | null | undefined;
21988
22014
  } | {
21989
22015
  type: "REQUEST_CORRECTION";
21990
22016
  id: string;
@@ -22079,8 +22105,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22079
22105
  option: string;
22080
22106
  filename: string;
22081
22107
  originalFilename: string;
22082
- }[] | [string, string] | null | undefined> | undefined;
22083
- originalActionId?: string | undefined;
22108
+ }[] | [string, string] | null | undefined> | null | undefined;
22109
+ originalActionId?: string | null | undefined;
22084
22110
  } | {
22085
22111
  type: "APPROVE_CORRECTION";
22086
22112
  id: string;
@@ -22176,8 +22202,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22176
22202
  option: string;
22177
22203
  filename: string;
22178
22204
  originalFilename: string;
22179
- }[] | [string, string] | null | undefined> | undefined;
22180
- originalActionId?: string | undefined;
22205
+ }[] | [string, string] | null | undefined> | null | undefined;
22206
+ originalActionId?: string | null | undefined;
22181
22207
  } | {
22182
22208
  type: "REJECT_CORRECTION";
22183
22209
  id: string;
@@ -22273,8 +22299,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22273
22299
  option: string;
22274
22300
  filename: string;
22275
22301
  originalFilename: string;
22276
- }[] | [string, string] | null | undefined> | undefined;
22277
- originalActionId?: string | undefined;
22302
+ }[] | [string, string] | null | undefined> | null | undefined;
22303
+ originalActionId?: string | null | undefined;
22278
22304
  } | {
22279
22305
  type: "READ";
22280
22306
  id: string;
@@ -22369,8 +22395,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22369
22395
  option: string;
22370
22396
  filename: string;
22371
22397
  originalFilename: string;
22372
- }[] | [string, string] | null | undefined> | undefined;
22373
- originalActionId?: string | undefined;
22398
+ }[] | [string, string] | null | undefined> | null | undefined;
22399
+ originalActionId?: string | null | undefined;
22374
22400
  } | {
22375
22401
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
22376
22402
  id: string;
@@ -22382,18 +22408,18 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22382
22408
  createdByRole: string;
22383
22409
  createdBySignature?: string | null | undefined;
22384
22410
  createdAtLocation?: string | null | undefined;
22385
- originalActionId?: string | undefined;
22411
+ originalActionId?: string | null | undefined;
22386
22412
  })[];
22387
22413
  trackingId: string;
22388
22414
  };
22389
22415
  output: {
22390
22416
  type: string;
22391
- id: string;
22417
+ id: string & import("zod").BRAND<"UUID">;
22392
22418
  createdAt: string;
22393
22419
  updatedAt: string;
22394
22420
  actions: ({
22395
22421
  type: "ASSIGN";
22396
- id: string;
22422
+ id: string & import("zod").BRAND<"UUID">;
22397
22423
  status: "Rejected" | "Requested" | "Accepted";
22398
22424
  transactionId: string;
22399
22425
  createdByUserType: "system" | "user";
@@ -22444,7 +22470,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22444
22470
  }[] | [string, string] | null | undefined>;
22445
22471
  assignedTo: string;
22446
22472
  createdBySignature?: string | null | undefined;
22447
- createdAtLocation?: string | null | undefined;
22473
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22448
22474
  annotation?: Record<string, string | number | boolean | {
22449
22475
  type: string;
22450
22476
  filename: string;
@@ -22486,11 +22512,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22486
22512
  option: string;
22487
22513
  filename: string;
22488
22514
  originalFilename: string;
22489
- }[] | [string, string] | null | undefined> | undefined;
22490
- originalActionId?: string | undefined;
22515
+ }[] | [string, string] | null | undefined> | null | undefined;
22516
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22491
22517
  } | {
22492
22518
  type: "UNASSIGN";
22493
- id: string;
22519
+ id: string & import("zod").BRAND<"UUID">;
22494
22520
  status: "Rejected" | "Requested" | "Accepted";
22495
22521
  transactionId: string;
22496
22522
  createdByUserType: "system" | "user";
@@ -22539,9 +22565,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22539
22565
  filename: string;
22540
22566
  originalFilename: string;
22541
22567
  }[] | [string, string] | null | undefined>;
22542
- assignedTo: null;
22543
22568
  createdBySignature?: string | null | undefined;
22544
- createdAtLocation?: string | null | undefined;
22569
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22545
22570
  annotation?: Record<string, string | number | boolean | {
22546
22571
  type: string;
22547
22572
  filename: string;
@@ -22583,11 +22608,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22583
22608
  option: string;
22584
22609
  filename: string;
22585
22610
  originalFilename: string;
22586
- }[] | [string, string] | null | undefined> | undefined;
22587
- originalActionId?: string | undefined;
22611
+ }[] | [string, string] | null | undefined> | null | undefined;
22612
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22588
22613
  } | {
22589
22614
  type: "REGISTER";
22590
- id: string;
22615
+ id: string & import("zod").BRAND<"UUID">;
22591
22616
  status: "Rejected" | "Requested" | "Accepted";
22592
22617
  transactionId: string;
22593
22618
  createdByUserType: "system" | "user";
@@ -22637,7 +22662,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22637
22662
  originalFilename: string;
22638
22663
  }[] | [string, string] | null | undefined>;
22639
22664
  createdBySignature?: string | null | undefined;
22640
- createdAtLocation?: string | null | undefined;
22665
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22641
22666
  annotation?: Record<string, string | number | boolean | {
22642
22667
  type: string;
22643
22668
  filename: string;
@@ -22679,12 +22704,12 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22679
22704
  option: string;
22680
22705
  filename: string;
22681
22706
  originalFilename: string;
22682
- }[] | [string, string] | null | undefined> | undefined;
22683
- originalActionId?: string | undefined;
22707
+ }[] | [string, string] | null | undefined> | null | undefined;
22708
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22684
22709
  registrationNumber?: string | undefined;
22685
22710
  } | {
22686
22711
  type: "DECLARE";
22687
- id: string;
22712
+ id: string & import("zod").BRAND<"UUID">;
22688
22713
  status: "Rejected" | "Requested" | "Accepted";
22689
22714
  transactionId: string;
22690
22715
  createdByUserType: "system" | "user";
@@ -22734,7 +22759,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22734
22759
  originalFilename: string;
22735
22760
  }[] | [string, string] | null | undefined>;
22736
22761
  createdBySignature?: string | null | undefined;
22737
- createdAtLocation?: string | null | undefined;
22762
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22738
22763
  annotation?: Record<string, string | number | boolean | {
22739
22764
  type: string;
22740
22765
  filename: string;
@@ -22776,11 +22801,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22776
22801
  option: string;
22777
22802
  filename: string;
22778
22803
  originalFilename: string;
22779
- }[] | [string, string] | null | undefined> | undefined;
22780
- originalActionId?: string | undefined;
22804
+ }[] | [string, string] | null | undefined> | null | undefined;
22805
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22781
22806
  } | {
22782
22807
  type: "VALIDATE";
22783
- id: string;
22808
+ id: string & import("zod").BRAND<"UUID">;
22784
22809
  status: "Rejected" | "Requested" | "Accepted";
22785
22810
  transactionId: string;
22786
22811
  createdByUserType: "system" | "user";
@@ -22830,7 +22855,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22830
22855
  originalFilename: string;
22831
22856
  }[] | [string, string] | null | undefined>;
22832
22857
  createdBySignature?: string | null | undefined;
22833
- createdAtLocation?: string | null | undefined;
22858
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22834
22859
  annotation?: Record<string, string | number | boolean | {
22835
22860
  type: string;
22836
22861
  filename: string;
@@ -22872,11 +22897,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22872
22897
  option: string;
22873
22898
  filename: string;
22874
22899
  originalFilename: string;
22875
- }[] | [string, string] | null | undefined> | undefined;
22876
- originalActionId?: string | undefined;
22900
+ }[] | [string, string] | null | undefined> | null | undefined;
22901
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22877
22902
  } | {
22878
22903
  type: "REJECT";
22879
- id: string;
22904
+ id: string & import("zod").BRAND<"UUID">;
22880
22905
  status: "Rejected" | "Requested" | "Accepted";
22881
22906
  reason: {
22882
22907
  message: string;
@@ -22930,7 +22955,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22930
22955
  originalFilename: string;
22931
22956
  }[] | [string, string] | null | undefined>;
22932
22957
  createdBySignature?: string | null | undefined;
22933
- createdAtLocation?: string | null | undefined;
22958
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22934
22959
  annotation?: Record<string, string | number | boolean | {
22935
22960
  type: string;
22936
22961
  filename: string;
@@ -22972,11 +22997,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
22972
22997
  option: string;
22973
22998
  filename: string;
22974
22999
  originalFilename: string;
22975
- }[] | [string, string] | null | undefined> | undefined;
22976
- originalActionId?: string | undefined;
23000
+ }[] | [string, string] | null | undefined> | null | undefined;
23001
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
22977
23002
  } | {
22978
23003
  type: "MARKED_AS_DUPLICATE";
22979
- id: string;
23004
+ id: string & import("zod").BRAND<"UUID">;
22980
23005
  status: "Rejected" | "Requested" | "Accepted";
22981
23006
  transactionId: string;
22982
23007
  createdByUserType: "system" | "user";
@@ -23026,7 +23051,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23026
23051
  originalFilename: string;
23027
23052
  }[] | [string, string] | null | undefined>;
23028
23053
  createdBySignature?: string | null | undefined;
23029
- createdAtLocation?: string | null | undefined;
23054
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23030
23055
  annotation?: Record<string, string | number | boolean | {
23031
23056
  type: string;
23032
23057
  filename: string;
@@ -23068,11 +23093,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23068
23093
  option: string;
23069
23094
  filename: string;
23070
23095
  originalFilename: string;
23071
- }[] | [string, string] | null | undefined> | undefined;
23072
- originalActionId?: string | undefined;
23096
+ }[] | [string, string] | null | undefined> | null | undefined;
23097
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23073
23098
  } | {
23074
23099
  type: "ARCHIVE";
23075
- id: string;
23100
+ id: string & import("zod").BRAND<"UUID">;
23076
23101
  status: "Rejected" | "Requested" | "Accepted";
23077
23102
  reason: {
23078
23103
  message: string;
@@ -23126,7 +23151,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23126
23151
  originalFilename: string;
23127
23152
  }[] | [string, string] | null | undefined>;
23128
23153
  createdBySignature?: string | null | undefined;
23129
- createdAtLocation?: string | null | undefined;
23154
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23130
23155
  annotation?: Record<string, string | number | boolean | {
23131
23156
  type: string;
23132
23157
  filename: string;
@@ -23168,11 +23193,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23168
23193
  option: string;
23169
23194
  filename: string;
23170
23195
  originalFilename: string;
23171
- }[] | [string, string] | null | undefined> | undefined;
23172
- originalActionId?: string | undefined;
23196
+ }[] | [string, string] | null | undefined> | null | undefined;
23197
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23173
23198
  } | {
23174
23199
  type: "CREATE";
23175
- id: string;
23200
+ id: string & import("zod").BRAND<"UUID">;
23176
23201
  status: "Rejected" | "Requested" | "Accepted";
23177
23202
  transactionId: string;
23178
23203
  createdByUserType: "system" | "user";
@@ -23222,7 +23247,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23222
23247
  originalFilename: string;
23223
23248
  }[] | [string, string] | null | undefined>;
23224
23249
  createdBySignature?: string | null | undefined;
23225
- createdAtLocation?: string | null | undefined;
23250
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23226
23251
  annotation?: Record<string, string | number | boolean | {
23227
23252
  type: string;
23228
23253
  filename: string;
@@ -23264,11 +23289,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23264
23289
  option: string;
23265
23290
  filename: string;
23266
23291
  originalFilename: string;
23267
- }[] | [string, string] | null | undefined> | undefined;
23268
- originalActionId?: string | undefined;
23292
+ }[] | [string, string] | null | undefined> | null | undefined;
23293
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23269
23294
  } | {
23270
23295
  type: "NOTIFY";
23271
- id: string;
23296
+ id: string & import("zod").BRAND<"UUID">;
23272
23297
  status: "Rejected" | "Requested" | "Accepted";
23273
23298
  transactionId: string;
23274
23299
  createdByUserType: "system" | "user";
@@ -23318,7 +23343,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23318
23343
  originalFilename: string;
23319
23344
  }[] | [string, string] | null | undefined>;
23320
23345
  createdBySignature?: string | null | undefined;
23321
- createdAtLocation?: string | null | undefined;
23346
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23322
23347
  annotation?: Record<string, string | number | boolean | {
23323
23348
  type: string;
23324
23349
  filename: string;
@@ -23360,11 +23385,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23360
23385
  option: string;
23361
23386
  filename: string;
23362
23387
  originalFilename: string;
23363
- }[] | [string, string] | null | undefined> | undefined;
23364
- originalActionId?: string | undefined;
23388
+ }[] | [string, string] | null | undefined> | null | undefined;
23389
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23365
23390
  } | {
23366
23391
  type: "PRINT_CERTIFICATE";
23367
- id: string;
23392
+ id: string & import("zod").BRAND<"UUID">;
23368
23393
  status: "Rejected" | "Requested" | "Accepted";
23369
23394
  transactionId: string;
23370
23395
  createdByUserType: "system" | "user";
@@ -23414,7 +23439,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23414
23439
  originalFilename: string;
23415
23440
  }[] | [string, string] | null | undefined>;
23416
23441
  createdBySignature?: string | null | undefined;
23417
- createdAtLocation?: string | null | undefined;
23442
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23418
23443
  annotation?: Record<string, string | number | boolean | {
23419
23444
  type: string;
23420
23445
  filename: string;
@@ -23456,11 +23481,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23456
23481
  option: string;
23457
23482
  filename: string;
23458
23483
  originalFilename: string;
23459
- }[] | [string, string] | null | undefined> | undefined;
23460
- originalActionId?: string | undefined;
23484
+ }[] | [string, string] | null | undefined> | null | undefined;
23485
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23461
23486
  } | {
23462
23487
  type: "REQUEST_CORRECTION";
23463
- id: string;
23488
+ id: string & import("zod").BRAND<"UUID">;
23464
23489
  status: "Rejected" | "Requested" | "Accepted";
23465
23490
  transactionId: string;
23466
23491
  createdByUserType: "system" | "user";
@@ -23510,7 +23535,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23510
23535
  originalFilename: string;
23511
23536
  }[] | [string, string] | null | undefined>;
23512
23537
  createdBySignature?: string | null | undefined;
23513
- createdAtLocation?: string | null | undefined;
23538
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23514
23539
  annotation?: Record<string, string | number | boolean | {
23515
23540
  type: string;
23516
23541
  filename: string;
@@ -23552,11 +23577,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23552
23577
  option: string;
23553
23578
  filename: string;
23554
23579
  originalFilename: string;
23555
- }[] | [string, string] | null | undefined> | undefined;
23556
- originalActionId?: string | undefined;
23580
+ }[] | [string, string] | null | undefined> | null | undefined;
23581
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23557
23582
  } | {
23558
23583
  type: "APPROVE_CORRECTION";
23559
- id: string;
23584
+ id: string & import("zod").BRAND<"UUID">;
23560
23585
  status: "Rejected" | "Requested" | "Accepted";
23561
23586
  transactionId: string;
23562
23587
  createdByUserType: "system" | "user";
@@ -23607,7 +23632,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23607
23632
  }[] | [string, string] | null | undefined>;
23608
23633
  requestId: string;
23609
23634
  createdBySignature?: string | null | undefined;
23610
- createdAtLocation?: string | null | undefined;
23635
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23611
23636
  annotation?: Record<string, string | number | boolean | {
23612
23637
  type: string;
23613
23638
  filename: string;
@@ -23649,11 +23674,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23649
23674
  option: string;
23650
23675
  filename: string;
23651
23676
  originalFilename: string;
23652
- }[] | [string, string] | null | undefined> | undefined;
23653
- originalActionId?: string | undefined;
23677
+ }[] | [string, string] | null | undefined> | null | undefined;
23678
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23654
23679
  } | {
23655
23680
  type: "REJECT_CORRECTION";
23656
- id: string;
23681
+ id: string & import("zod").BRAND<"UUID">;
23657
23682
  status: "Rejected" | "Requested" | "Accepted";
23658
23683
  transactionId: string;
23659
23684
  createdByUserType: "system" | "user";
@@ -23704,7 +23729,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23704
23729
  }[] | [string, string] | null | undefined>;
23705
23730
  requestId: string;
23706
23731
  createdBySignature?: string | null | undefined;
23707
- createdAtLocation?: string | null | undefined;
23732
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23708
23733
  annotation?: Record<string, string | number | boolean | {
23709
23734
  type: string;
23710
23735
  filename: string;
@@ -23746,11 +23771,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23746
23771
  option: string;
23747
23772
  filename: string;
23748
23773
  originalFilename: string;
23749
- }[] | [string, string] | null | undefined> | undefined;
23750
- originalActionId?: string | undefined;
23774
+ }[] | [string, string] | null | undefined> | null | undefined;
23775
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23751
23776
  } | {
23752
23777
  type: "READ";
23753
- id: string;
23778
+ id: string & import("zod").BRAND<"UUID">;
23754
23779
  status: "Rejected" | "Requested" | "Accepted";
23755
23780
  transactionId: string;
23756
23781
  createdByUserType: "system" | "user";
@@ -23800,7 +23825,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23800
23825
  originalFilename: string;
23801
23826
  }[] | [string, string] | null | undefined>;
23802
23827
  createdBySignature?: string | null | undefined;
23803
- createdAtLocation?: string | null | undefined;
23828
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23804
23829
  annotation?: Record<string, string | number | boolean | {
23805
23830
  type: string;
23806
23831
  filename: string;
@@ -23842,11 +23867,11 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23842
23867
  option: string;
23843
23868
  filename: string;
23844
23869
  originalFilename: string;
23845
- }[] | [string, string] | null | undefined> | undefined;
23846
- originalActionId?: string | undefined;
23870
+ }[] | [string, string] | null | undefined> | null | undefined;
23871
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23847
23872
  } | {
23848
23873
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
23849
- id: string;
23874
+ id: string & import("zod").BRAND<"UUID">;
23850
23875
  status: "Rejected";
23851
23876
  transactionId: string;
23852
23877
  createdByUserType: "system" | "user";
@@ -23854,18 +23879,19 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23854
23879
  createdBy: string;
23855
23880
  createdByRole: string;
23856
23881
  createdBySignature?: string | null | undefined;
23857
- createdAtLocation?: string | null | undefined;
23858
- originalActionId?: string | undefined;
23882
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23883
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
23859
23884
  })[];
23860
23885
  trackingId: string;
23861
23886
  };
23887
+ meta: import("trpc-to-openapi").OpenApiMeta;
23862
23888
  }>;
23863
23889
  }>>;
23864
- user: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
23890
+ user: import("@trpc/server").TRPCBuiltRouter<{
23865
23891
  ctx: {
23866
23892
  user: {
23867
23893
  id: string;
23868
- primaryOfficeId: string;
23894
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
23869
23895
  role: string;
23870
23896
  type: "user";
23871
23897
  signature?: string | null | undefined;
@@ -23879,9 +23905,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23879
23905
  token: `Bearer ${string}`;
23880
23906
  };
23881
23907
  meta: import("trpc-to-openapi").OpenApiMeta;
23882
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
23908
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
23883
23909
  transformer: true;
23884
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
23910
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
23885
23911
  get: import("@trpc/server").TRPCQueryProcedure<{
23886
23912
  input: string;
23887
23913
  output: {
@@ -23895,6 +23921,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23895
23921
  signatureFilename: string | undefined;
23896
23922
  avatarURL: string | undefined;
23897
23923
  };
23924
+ meta: import("trpc-to-openapi").OpenApiMeta;
23898
23925
  }>;
23899
23926
  list: import("@trpc/server").TRPCQueryProcedure<{
23900
23927
  input: string[];
@@ -23909,13 +23936,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23909
23936
  signatureFilename: string | undefined;
23910
23937
  avatarURL: string | undefined;
23911
23938
  }[];
23939
+ meta: import("trpc-to-openapi").OpenApiMeta;
23912
23940
  }>;
23913
23941
  }>>;
23914
- locations: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
23942
+ locations: import("@trpc/server").TRPCBuiltRouter<{
23915
23943
  ctx: {
23916
23944
  user: {
23917
23945
  id: string;
23918
- primaryOfficeId: string;
23946
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
23919
23947
  role: string;
23920
23948
  type: "user";
23921
23949
  signature?: string | null | undefined;
@@ -23929,33 +23957,35 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23929
23957
  token: `Bearer ${string}`;
23930
23958
  };
23931
23959
  meta: import("trpc-to-openapi").OpenApiMeta;
23932
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
23960
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
23933
23961
  transformer: true;
23934
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
23962
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
23935
23963
  set: import("@trpc/server").TRPCMutationProcedure<{
23936
23964
  input: {
23937
23965
  id: string;
23938
- name: string;
23939
23966
  externalId: string | null;
23967
+ name: string;
23940
23968
  partOf: string | null;
23941
23969
  }[];
23942
23970
  output: void;
23971
+ meta: import("trpc-to-openapi").OpenApiMeta;
23943
23972
  }>;
23944
23973
  get: import("@trpc/server").TRPCQueryProcedure<{
23945
23974
  input: void;
23946
23975
  output: {
23947
- id: string;
23948
- name: string;
23976
+ id: string & import("zod").BRAND<"UUID">;
23949
23977
  externalId: string | null;
23950
- partOf: string | null;
23978
+ name: string;
23979
+ partOf: (string & import("zod").BRAND<"UUID">) | null;
23951
23980
  }[];
23981
+ meta: import("trpc-to-openapi").OpenApiMeta;
23952
23982
  }>;
23953
23983
  }>>;
23954
- workqueue: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
23984
+ workqueue: import("@trpc/server").TRPCBuiltRouter<{
23955
23985
  ctx: {
23956
23986
  user: {
23957
23987
  id: string;
23958
- primaryOfficeId: string;
23988
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
23959
23989
  role: string;
23960
23990
  type: "user";
23961
23991
  signature?: string | null | undefined;
@@ -23969,14 +23999,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23969
23999
  token: `Bearer ${string}`;
23970
24000
  };
23971
24001
  meta: import("trpc-to-openapi").OpenApiMeta;
23972
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
24002
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
23973
24003
  transformer: true;
23974
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
23975
- config: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
24004
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
24005
+ config: import("@trpc/server").TRPCBuiltRouter<{
23976
24006
  ctx: {
23977
24007
  user: {
23978
24008
  id: string;
23979
- primaryOfficeId: string;
24009
+ primaryOfficeId: string & import("zod").BRAND<"UUID">;
23980
24010
  role: string;
23981
24011
  type: "user";
23982
24012
  signature?: string | null | undefined;
@@ -23990,9 +24020,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
23990
24020
  token: `Bearer ${string}`;
23991
24021
  };
23992
24022
  meta: import("trpc-to-openapi").OpenApiMeta;
23993
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
24023
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
23994
24024
  transformer: true;
23995
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
24025
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
23996
24026
  list: import("@trpc/server").TRPCQueryProcedure<{
23997
24027
  input: void;
23998
24028
  output: {
@@ -24073,14 +24103,30 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
24073
24103
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
24074
24104
  };
24075
24105
  } | undefined;
24076
- flags?: ({
24077
- type: "anyOf";
24078
- terms: string[];
24106
+ flags?: {
24107
+ anyOf?: string[] | undefined;
24108
+ noneOf?: string[] | undefined;
24109
+ } | undefined;
24110
+ eventType?: string | undefined;
24111
+ "legalStatus.REGISTERED.createdAt"?: {
24112
+ type: "range";
24113
+ gte: string;
24114
+ lte: string;
24079
24115
  } | {
24080
- type: "not";
24116
+ type: "exact";
24081
24117
  term: string;
24082
- })[] | undefined;
24083
- eventType?: string | undefined;
24118
+ } | undefined;
24119
+ "legalStatus.REGISTERED.createdAtLocation"?: {
24120
+ type: "exact";
24121
+ term: string;
24122
+ } | {
24123
+ type: "within";
24124
+ location: string;
24125
+ } | undefined;
24126
+ "legalStatus.REGISTERED.registrationNumber"?: {
24127
+ type: "exact";
24128
+ term: string;
24129
+ } | undefined;
24084
24130
  }[];
24085
24131
  } | {
24086
24132
  type: "and";
@@ -24154,14 +24200,30 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
24154
24200
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
24155
24201
  };
24156
24202
  } | undefined;
24157
- flags?: ({
24158
- type: "anyOf";
24159
- terms: string[];
24203
+ flags?: {
24204
+ anyOf?: string[] | undefined;
24205
+ noneOf?: string[] | undefined;
24206
+ } | undefined;
24207
+ eventType?: string | undefined;
24208
+ "legalStatus.REGISTERED.createdAt"?: {
24209
+ type: "range";
24210
+ gte: string;
24211
+ lte: string;
24160
24212
  } | {
24161
- type: "not";
24213
+ type: "exact";
24162
24214
  term: string;
24163
- })[] | undefined;
24164
- eventType?: string | undefined;
24215
+ } | undefined;
24216
+ "legalStatus.REGISTERED.createdAtLocation"?: {
24217
+ type: "exact";
24218
+ term: string;
24219
+ } | {
24220
+ type: "within";
24221
+ location: string;
24222
+ } | undefined;
24223
+ "legalStatus.REGISTERED.registrationNumber"?: {
24224
+ type: "exact";
24225
+ term: string;
24226
+ } | undefined;
24165
24227
  }[];
24166
24228
  };
24167
24229
  slug: string;
@@ -24171,8 +24233,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
24171
24233
  };
24172
24234
  label: import("../commons").TranslationConfig;
24173
24235
  }[];
24174
- icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "DownloadSimple" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
24236
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
24175
24237
  }[];
24238
+ meta: import("trpc-to-openapi").OpenApiMeta;
24176
24239
  }>;
24177
24240
  }>>;
24178
24241
  count: import("@trpc/server").TRPCQueryProcedure<{
@@ -24184,6 +24247,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
24184
24247
  slug: string;
24185
24248
  }[];
24186
24249
  output: Record<string, number>;
24250
+ meta: import("trpc-to-openapi").OpenApiMeta;
24187
24251
  }>;
24188
24252
  }>>;
24189
24253
  }>>;