@opencrvs/toolkit 1.9.2-rc.e90dda1 → 1.9.2-rc.ebb7011

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.
Files changed (32) hide show
  1. package/dist/commons/api/router.d.ts +958 -609
  2. package/dist/commons/events/ActionConfig.d.ts +440 -13
  3. package/dist/commons/events/ActionDocument.d.ts +90 -167
  4. package/dist/commons/events/ActionInput.d.ts +72 -98
  5. package/dist/commons/events/ActionType.d.ts +1 -7
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +7 -2
  7. package/dist/commons/events/CompositeFieldValue.d.ts +2 -0
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -12
  9. package/dist/commons/events/Draft.d.ts +4 -6
  10. package/dist/commons/events/EventConfig.d.ts +354 -8
  11. package/dist/commons/events/EventDocument.d.ts +36 -61
  12. package/dist/commons/events/EventIndex.d.ts +1 -6
  13. package/dist/commons/events/EventMetadata.d.ts +0 -1
  14. package/dist/commons/events/FieldConfig.d.ts +90 -0
  15. package/dist/commons/events/FieldType.d.ts +2 -1
  16. package/dist/commons/events/FieldTypeMapping.d.ts +13 -6
  17. package/dist/commons/events/FieldValue.d.ts +5 -5
  18. package/dist/commons/events/Flag.d.ts +0 -3
  19. package/dist/commons/events/FormConfig.d.ts +264 -0
  20. package/dist/commons/events/PageConfig.d.ts +176 -0
  21. package/dist/commons/events/WorkqueueConfig.d.ts +2 -16
  22. package/dist/commons/events/defineConfig.d.ts +514 -2
  23. package/dist/commons/events/scopes.d.ts +0 -1
  24. package/dist/commons/events/state/index.d.ts +1 -1
  25. package/dist/commons/events/state/utils.d.ts +37 -54
  26. package/dist/commons/events/test.utils.d.ts +9 -17
  27. package/dist/commons/events/utils.d.ts +1996 -1095
  28. package/dist/events/index.js +57 -85
  29. package/dist/notification/index.js +18 -34
  30. package/dist/scopes/index.d.ts +2 -6
  31. package/dist/scopes/index.js +0 -1
  32. package/package.json +1 -1
@@ -7,12 +7,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7
7
  role: string;
8
8
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9
9
  signature?: string | undefined;
10
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
10
11
  } | {
11
12
  type: "system";
12
13
  id: string;
13
14
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
14
15
  signature?: undefined;
15
16
  primaryOfficeId?: undefined;
17
+ administrativeAreaId?: undefined;
16
18
  };
17
19
  }>;
18
20
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -28,12 +30,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28
30
  role: string;
29
31
  primaryOfficeId: string & import("zod").$brand<"UUID">;
30
32
  signature?: string | undefined;
33
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
31
34
  } | {
32
35
  type: "system";
33
36
  id: string;
34
37
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
35
38
  signature?: undefined;
36
39
  primaryOfficeId?: undefined;
40
+ administrativeAreaId?: undefined;
37
41
  };
38
42
  }>;
39
43
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -49,12 +53,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
49
53
  role: string;
50
54
  primaryOfficeId: string & import("zod").$brand<"UUID">;
51
55
  signature?: string | undefined;
56
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
52
57
  } | {
53
58
  type: "system";
54
59
  id: string;
55
60
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
56
61
  signature?: undefined;
57
62
  primaryOfficeId?: undefined;
63
+ administrativeAreaId?: undefined;
58
64
  };
59
65
  }>;
60
66
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1289,7 +1295,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1289
1295
  } | undefined;
1290
1296
  } | undefined;
1291
1297
  } | undefined;
1292
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
1298
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
1293
1299
  maxLength?: number | undefined;
1294
1300
  prefix?: {
1295
1301
  id: string;
@@ -1637,7 +1643,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1637
1643
  };
1638
1644
  type: "ADMINISTRATIVE_AREA";
1639
1645
  configuration: {
1640
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
1646
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
1641
1647
  partOf?: {
1642
1648
  $declaration: string;
1643
1649
  } | undefined;
@@ -2401,7 +2407,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2401
2407
  $$subfield?: string[] | undefined;
2402
2408
  };
2403
2409
  url: string;
2404
- method: "POST" | "GET" | "PUT" | "DELETE";
2410
+ method: "POST" | "DELETE" | "GET" | "PUT";
2405
2411
  timeout: number;
2406
2412
  headers?: Record<string, string> | undefined;
2407
2413
  body?: Record<string, any> | undefined;
@@ -3158,6 +3164,70 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3158
3164
  message: string;
3159
3165
  } | null | undefined;
3160
3166
  } | undefined;
3167
+ } | {
3168
+ id: string;
3169
+ label: {
3170
+ id: string;
3171
+ defaultMessage: string;
3172
+ description: string;
3173
+ };
3174
+ type: "CUSTOM";
3175
+ src: string;
3176
+ parent?: {
3177
+ $$field: string;
3178
+ $$subfield?: string[] | undefined;
3179
+ } | {
3180
+ $$field: string;
3181
+ $$subfield?: string[] | undefined;
3182
+ }[] | undefined;
3183
+ required?: boolean | {
3184
+ message: {
3185
+ id: string;
3186
+ defaultMessage: string;
3187
+ description: string;
3188
+ };
3189
+ } | undefined;
3190
+ conditionals?: ({
3191
+ type: "SHOW";
3192
+ conditional: any;
3193
+ } | {
3194
+ type: "ENABLE";
3195
+ conditional: any;
3196
+ } | {
3197
+ type: "DISPLAY_ON_REVIEW";
3198
+ conditional: any;
3199
+ })[] | undefined;
3200
+ secured?: boolean | undefined;
3201
+ placeholder?: {
3202
+ id: string;
3203
+ defaultMessage: string;
3204
+ description: string;
3205
+ } | undefined;
3206
+ validation?: {
3207
+ validator: any;
3208
+ message: {
3209
+ id: string;
3210
+ defaultMessage: string;
3211
+ description: string;
3212
+ };
3213
+ }[] | undefined;
3214
+ helperText?: {
3215
+ id: string;
3216
+ defaultMessage: string;
3217
+ description: string;
3218
+ } | undefined;
3219
+ hideLabel?: boolean | undefined;
3220
+ uncorrectable?: boolean | undefined;
3221
+ value?: {
3222
+ $$field: string;
3223
+ $$subfield?: string[] | undefined;
3224
+ } | {
3225
+ $$field: string;
3226
+ $$subfield?: string[] | undefined;
3227
+ }[] | undefined;
3228
+ analytics?: boolean | undefined;
3229
+ defaultValue?: unknown;
3230
+ configuration?: unknown;
3161
3231
  })[];
3162
3232
  };
3163
3233
  auditHistoryLabel?: {
@@ -4346,7 +4416,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4346
4416
  } | undefined;
4347
4417
  } | undefined;
4348
4418
  } | undefined;
4349
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
4419
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
4350
4420
  maxLength?: number | undefined;
4351
4421
  prefix?: {
4352
4422
  id: string;
@@ -4694,7 +4764,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4694
4764
  };
4695
4765
  type: "ADMINISTRATIVE_AREA";
4696
4766
  configuration: {
4697
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
4767
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
4698
4768
  partOf?: {
4699
4769
  $declaration: string;
4700
4770
  } | undefined;
@@ -5458,7 +5528,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5458
5528
  $$subfield?: string[] | undefined;
5459
5529
  };
5460
5530
  url: string;
5461
- method: "POST" | "GET" | "PUT" | "DELETE";
5531
+ method: "POST" | "DELETE" | "GET" | "PUT";
5462
5532
  timeout: number;
5463
5533
  headers?: Record<string, string> | undefined;
5464
5534
  body?: Record<string, any> | undefined;
@@ -6215,6 +6285,70 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6215
6285
  message: string;
6216
6286
  } | null | undefined;
6217
6287
  } | undefined;
6288
+ } | {
6289
+ id: string;
6290
+ label: {
6291
+ id: string;
6292
+ defaultMessage: string;
6293
+ description: string;
6294
+ };
6295
+ type: "CUSTOM";
6296
+ src: string;
6297
+ parent?: {
6298
+ $$field: string;
6299
+ $$subfield?: string[] | undefined;
6300
+ } | {
6301
+ $$field: string;
6302
+ $$subfield?: string[] | undefined;
6303
+ }[] | undefined;
6304
+ required?: boolean | {
6305
+ message: {
6306
+ id: string;
6307
+ defaultMessage: string;
6308
+ description: string;
6309
+ };
6310
+ } | undefined;
6311
+ conditionals?: ({
6312
+ type: "SHOW";
6313
+ conditional: any;
6314
+ } | {
6315
+ type: "ENABLE";
6316
+ conditional: any;
6317
+ } | {
6318
+ type: "DISPLAY_ON_REVIEW";
6319
+ conditional: any;
6320
+ })[] | undefined;
6321
+ secured?: boolean | undefined;
6322
+ placeholder?: {
6323
+ id: string;
6324
+ defaultMessage: string;
6325
+ description: string;
6326
+ } | undefined;
6327
+ validation?: {
6328
+ validator: any;
6329
+ message: {
6330
+ id: string;
6331
+ defaultMessage: string;
6332
+ description: string;
6333
+ };
6334
+ }[] | undefined;
6335
+ helperText?: {
6336
+ id: string;
6337
+ defaultMessage: string;
6338
+ description: string;
6339
+ } | undefined;
6340
+ hideLabel?: boolean | undefined;
6341
+ uncorrectable?: boolean | undefined;
6342
+ value?: {
6343
+ $$field: string;
6344
+ $$subfield?: string[] | undefined;
6345
+ } | {
6346
+ $$field: string;
6347
+ $$subfield?: string[] | undefined;
6348
+ }[] | undefined;
6349
+ analytics?: boolean | undefined;
6350
+ defaultValue?: unknown;
6351
+ configuration?: unknown;
6218
6352
  })[];
6219
6353
  };
6220
6354
  auditHistoryLabel?: {
@@ -7533,7 +7667,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7533
7667
  } | undefined;
7534
7668
  } | undefined;
7535
7669
  } | undefined;
7536
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
7670
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
7537
7671
  maxLength?: number | undefined;
7538
7672
  prefix?: {
7539
7673
  id: string;
@@ -7881,7 +8015,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7881
8015
  };
7882
8016
  type: "ADMINISTRATIVE_AREA";
7883
8017
  configuration: {
7884
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
8018
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
7885
8019
  partOf?: {
7886
8020
  $declaration: string;
7887
8021
  } | undefined;
@@ -8645,7 +8779,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8645
8779
  $$subfield?: string[] | undefined;
8646
8780
  };
8647
8781
  url: string;
8648
- method: "POST" | "GET" | "PUT" | "DELETE";
8782
+ method: "POST" | "DELETE" | "GET" | "PUT";
8649
8783
  timeout: number;
8650
8784
  headers?: Record<string, string> | undefined;
8651
8785
  body?: Record<string, any> | undefined;
@@ -9402,6 +9536,70 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9402
9536
  message: string;
9403
9537
  } | null | undefined;
9404
9538
  } | undefined;
9539
+ } | {
9540
+ id: string;
9541
+ label: {
9542
+ id: string;
9543
+ defaultMessage: string;
9544
+ description: string;
9545
+ };
9546
+ type: "CUSTOM";
9547
+ src: string;
9548
+ parent?: {
9549
+ $$field: string;
9550
+ $$subfield?: string[] | undefined;
9551
+ } | {
9552
+ $$field: string;
9553
+ $$subfield?: string[] | undefined;
9554
+ }[] | undefined;
9555
+ required?: boolean | {
9556
+ message: {
9557
+ id: string;
9558
+ defaultMessage: string;
9559
+ description: string;
9560
+ };
9561
+ } | undefined;
9562
+ conditionals?: ({
9563
+ type: "SHOW";
9564
+ conditional: any;
9565
+ } | {
9566
+ type: "ENABLE";
9567
+ conditional: any;
9568
+ } | {
9569
+ type: "DISPLAY_ON_REVIEW";
9570
+ conditional: any;
9571
+ })[] | undefined;
9572
+ secured?: boolean | undefined;
9573
+ placeholder?: {
9574
+ id: string;
9575
+ defaultMessage: string;
9576
+ description: string;
9577
+ } | undefined;
9578
+ validation?: {
9579
+ validator: any;
9580
+ message: {
9581
+ id: string;
9582
+ defaultMessage: string;
9583
+ description: string;
9584
+ };
9585
+ }[] | undefined;
9586
+ helperText?: {
9587
+ id: string;
9588
+ defaultMessage: string;
9589
+ description: string;
9590
+ } | undefined;
9591
+ hideLabel?: boolean | undefined;
9592
+ uncorrectable?: boolean | undefined;
9593
+ value?: {
9594
+ $$field: string;
9595
+ $$subfield?: string[] | undefined;
9596
+ } | {
9597
+ $$field: string;
9598
+ $$subfield?: string[] | undefined;
9599
+ }[] | undefined;
9600
+ analytics?: boolean | undefined;
9601
+ defaultValue?: unknown;
9602
+ configuration?: unknown;
9405
9603
  })[];
9406
9604
  type: "FORM";
9407
9605
  conditional?: any;
@@ -10568,7 +10766,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10568
10766
  } | undefined;
10569
10767
  } | undefined;
10570
10768
  } | undefined;
10571
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
10769
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
10572
10770
  maxLength?: number | undefined;
10573
10771
  prefix?: {
10574
10772
  id: string;
@@ -10916,7 +11114,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10916
11114
  };
10917
11115
  type: "ADMINISTRATIVE_AREA";
10918
11116
  configuration: {
10919
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
11117
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
10920
11118
  partOf?: {
10921
11119
  $declaration: string;
10922
11120
  } | undefined;
@@ -11680,7 +11878,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11680
11878
  $$subfield?: string[] | undefined;
11681
11879
  };
11682
11880
  url: string;
11683
- method: "POST" | "GET" | "PUT" | "DELETE";
11881
+ method: "POST" | "DELETE" | "GET" | "PUT";
11684
11882
  timeout: number;
11685
11883
  headers?: Record<string, string> | undefined;
11686
11884
  body?: Record<string, any> | undefined;
@@ -12437,6 +12635,70 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
12437
12635
  message: string;
12438
12636
  } | null | undefined;
12439
12637
  } | undefined;
12638
+ } | {
12639
+ id: string;
12640
+ label: {
12641
+ id: string;
12642
+ defaultMessage: string;
12643
+ description: string;
12644
+ };
12645
+ type: "CUSTOM";
12646
+ src: string;
12647
+ parent?: {
12648
+ $$field: string;
12649
+ $$subfield?: string[] | undefined;
12650
+ } | {
12651
+ $$field: string;
12652
+ $$subfield?: string[] | undefined;
12653
+ }[] | undefined;
12654
+ required?: boolean | {
12655
+ message: {
12656
+ id: string;
12657
+ defaultMessage: string;
12658
+ description: string;
12659
+ };
12660
+ } | undefined;
12661
+ conditionals?: ({
12662
+ type: "SHOW";
12663
+ conditional: any;
12664
+ } | {
12665
+ type: "ENABLE";
12666
+ conditional: any;
12667
+ } | {
12668
+ type: "DISPLAY_ON_REVIEW";
12669
+ conditional: any;
12670
+ })[] | undefined;
12671
+ secured?: boolean | undefined;
12672
+ placeholder?: {
12673
+ id: string;
12674
+ defaultMessage: string;
12675
+ description: string;
12676
+ } | undefined;
12677
+ validation?: {
12678
+ validator: any;
12679
+ message: {
12680
+ id: string;
12681
+ defaultMessage: string;
12682
+ description: string;
12683
+ };
12684
+ }[] | undefined;
12685
+ helperText?: {
12686
+ id: string;
12687
+ defaultMessage: string;
12688
+ description: string;
12689
+ } | undefined;
12690
+ hideLabel?: boolean | undefined;
12691
+ uncorrectable?: boolean | undefined;
12692
+ value?: {
12693
+ $$field: string;
12694
+ $$subfield?: string[] | undefined;
12695
+ } | {
12696
+ $$field: string;
12697
+ $$subfield?: string[] | undefined;
12698
+ }[] | undefined;
12699
+ analytics?: boolean | undefined;
12700
+ defaultValue?: unknown;
12701
+ configuration?: unknown;
12440
12702
  })[];
12441
12703
  type: "VERIFICATION";
12442
12704
  actions: {
@@ -13669,7 +13931,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
13669
13931
  } | undefined;
13670
13932
  } | undefined;
13671
13933
  } | undefined;
13672
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
13934
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
13673
13935
  maxLength?: number | undefined;
13674
13936
  prefix?: {
13675
13937
  id: string;
@@ -14017,7 +14279,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14017
14279
  };
14018
14280
  type: "ADMINISTRATIVE_AREA";
14019
14281
  configuration: {
14020
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
14282
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
14021
14283
  partOf?: {
14022
14284
  $declaration: string;
14023
14285
  } | undefined;
@@ -14781,7 +15043,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14781
15043
  $$subfield?: string[] | undefined;
14782
15044
  };
14783
15045
  url: string;
14784
- method: "POST" | "GET" | "PUT" | "DELETE";
15046
+ method: "POST" | "DELETE" | "GET" | "PUT";
14785
15047
  timeout: number;
14786
15048
  headers?: Record<string, string> | undefined;
14787
15049
  body?: Record<string, any> | undefined;
@@ -15538,24 +15800,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
15538
15800
  message: string;
15539
15801
  } | null | undefined;
15540
15802
  } | undefined;
15541
- })[];
15542
- type: "FORM";
15543
- conditional?: any;
15544
- } | {
15545
- id: string;
15546
- title: {
15547
- id: string;
15548
- defaultMessage: string;
15549
- description: string;
15550
- };
15551
- fields: ({
15803
+ } | {
15552
15804
  id: string;
15553
15805
  label: {
15554
15806
  id: string;
15555
15807
  defaultMessage: string;
15556
15808
  description: string;
15557
15809
  };
15558
- type: "ADDRESS";
15810
+ type: "CUSTOM";
15811
+ src: string;
15559
15812
  parent?: {
15560
15813
  $$field: string;
15561
15814
  $$subfield?: string[] | undefined;
@@ -15609,9 +15862,82 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
15609
15862
  $$subfield?: string[] | undefined;
15610
15863
  }[] | undefined;
15611
15864
  analytics?: boolean | undefined;
15612
- configuration?: {
15613
- lineSeparator?: string | undefined;
15614
- fields?: ("country" | "administrativeArea")[] | undefined;
15865
+ defaultValue?: unknown;
15866
+ configuration?: unknown;
15867
+ })[];
15868
+ type: "FORM";
15869
+ conditional?: any;
15870
+ } | {
15871
+ id: string;
15872
+ title: {
15873
+ id: string;
15874
+ defaultMessage: string;
15875
+ description: string;
15876
+ };
15877
+ fields: ({
15878
+ id: string;
15879
+ label: {
15880
+ id: string;
15881
+ defaultMessage: string;
15882
+ description: string;
15883
+ };
15884
+ type: "ADDRESS";
15885
+ parent?: {
15886
+ $$field: string;
15887
+ $$subfield?: string[] | undefined;
15888
+ } | {
15889
+ $$field: string;
15890
+ $$subfield?: string[] | undefined;
15891
+ }[] | undefined;
15892
+ required?: boolean | {
15893
+ message: {
15894
+ id: string;
15895
+ defaultMessage: string;
15896
+ description: string;
15897
+ };
15898
+ } | undefined;
15899
+ conditionals?: ({
15900
+ type: "SHOW";
15901
+ conditional: any;
15902
+ } | {
15903
+ type: "ENABLE";
15904
+ conditional: any;
15905
+ } | {
15906
+ type: "DISPLAY_ON_REVIEW";
15907
+ conditional: any;
15908
+ })[] | undefined;
15909
+ secured?: boolean | undefined;
15910
+ placeholder?: {
15911
+ id: string;
15912
+ defaultMessage: string;
15913
+ description: string;
15914
+ } | undefined;
15915
+ validation?: {
15916
+ validator: any;
15917
+ message: {
15918
+ id: string;
15919
+ defaultMessage: string;
15920
+ description: string;
15921
+ };
15922
+ }[] | undefined;
15923
+ helperText?: {
15924
+ id: string;
15925
+ defaultMessage: string;
15926
+ description: string;
15927
+ } | undefined;
15928
+ hideLabel?: boolean | undefined;
15929
+ uncorrectable?: boolean | undefined;
15930
+ value?: {
15931
+ $$field: string;
15932
+ $$subfield?: string[] | undefined;
15933
+ } | {
15934
+ $$field: string;
15935
+ $$subfield?: string[] | undefined;
15936
+ }[] | undefined;
15937
+ analytics?: boolean | undefined;
15938
+ configuration?: {
15939
+ lineSeparator?: string | undefined;
15940
+ fields?: ("country" | "administrativeArea")[] | undefined;
15615
15941
  administrativeLevels?: string[] | undefined;
15616
15942
  streetAddressForm?: {
15617
15943
  id: string;
@@ -16704,7 +17030,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
16704
17030
  } | undefined;
16705
17031
  } | undefined;
16706
17032
  } | undefined;
16707
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
17033
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
16708
17034
  maxLength?: number | undefined;
16709
17035
  prefix?: {
16710
17036
  id: string;
@@ -17052,7 +17378,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17052
17378
  };
17053
17379
  type: "ADMINISTRATIVE_AREA";
17054
17380
  configuration: {
17055
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
17381
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
17056
17382
  partOf?: {
17057
17383
  $declaration: string;
17058
17384
  } | undefined;
@@ -17816,7 +18142,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17816
18142
  $$subfield?: string[] | undefined;
17817
18143
  };
17818
18144
  url: string;
17819
- method: "POST" | "GET" | "PUT" | "DELETE";
18145
+ method: "POST" | "DELETE" | "GET" | "PUT";
17820
18146
  timeout: number;
17821
18147
  headers?: Record<string, string> | undefined;
17822
18148
  body?: Record<string, any> | undefined;
@@ -18573,6 +18899,70 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18573
18899
  message: string;
18574
18900
  } | null | undefined;
18575
18901
  } | undefined;
18902
+ } | {
18903
+ id: string;
18904
+ label: {
18905
+ id: string;
18906
+ defaultMessage: string;
18907
+ description: string;
18908
+ };
18909
+ type: "CUSTOM";
18910
+ src: string;
18911
+ parent?: {
18912
+ $$field: string;
18913
+ $$subfield?: string[] | undefined;
18914
+ } | {
18915
+ $$field: string;
18916
+ $$subfield?: string[] | undefined;
18917
+ }[] | undefined;
18918
+ required?: boolean | {
18919
+ message: {
18920
+ id: string;
18921
+ defaultMessage: string;
18922
+ description: string;
18923
+ };
18924
+ } | undefined;
18925
+ conditionals?: ({
18926
+ type: "SHOW";
18927
+ conditional: any;
18928
+ } | {
18929
+ type: "ENABLE";
18930
+ conditional: any;
18931
+ } | {
18932
+ type: "DISPLAY_ON_REVIEW";
18933
+ conditional: any;
18934
+ })[] | undefined;
18935
+ secured?: boolean | undefined;
18936
+ placeholder?: {
18937
+ id: string;
18938
+ defaultMessage: string;
18939
+ description: string;
18940
+ } | undefined;
18941
+ validation?: {
18942
+ validator: any;
18943
+ message: {
18944
+ id: string;
18945
+ defaultMessage: string;
18946
+ description: string;
18947
+ };
18948
+ }[] | undefined;
18949
+ helperText?: {
18950
+ id: string;
18951
+ defaultMessage: string;
18952
+ description: string;
18953
+ } | undefined;
18954
+ hideLabel?: boolean | undefined;
18955
+ uncorrectable?: boolean | undefined;
18956
+ value?: {
18957
+ $$field: string;
18958
+ $$subfield?: string[] | undefined;
18959
+ } | {
18960
+ $$field: string;
18961
+ $$subfield?: string[] | undefined;
18962
+ }[] | undefined;
18963
+ analytics?: boolean | undefined;
18964
+ defaultValue?: unknown;
18965
+ configuration?: unknown;
18576
18966
  })[];
18577
18967
  type: "VERIFICATION";
18578
18968
  actions: {
@@ -19793,7 +20183,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
19793
20183
  } | undefined;
19794
20184
  } | undefined;
19795
20185
  } | undefined;
19796
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
20186
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
19797
20187
  maxLength?: number | undefined;
19798
20188
  prefix?: {
19799
20189
  id: string;
@@ -20141,7 +20531,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
20141
20531
  };
20142
20532
  type: "ADMINISTRATIVE_AREA";
20143
20533
  configuration: {
20144
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
20534
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
20145
20535
  partOf?: {
20146
20536
  $declaration: string;
20147
20537
  } | undefined;
@@ -20905,7 +21295,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
20905
21295
  $$subfield?: string[] | undefined;
20906
21296
  };
20907
21297
  url: string;
20908
- method: "POST" | "GET" | "PUT" | "DELETE";
21298
+ method: "POST" | "DELETE" | "GET" | "PUT";
20909
21299
  timeout: number;
20910
21300
  headers?: Record<string, string> | undefined;
20911
21301
  body?: Record<string, any> | undefined;
@@ -21662,6 +22052,70 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
21662
22052
  message: string;
21663
22053
  } | null | undefined;
21664
22054
  } | undefined;
22055
+ } | {
22056
+ id: string;
22057
+ label: {
22058
+ id: string;
22059
+ defaultMessage: string;
22060
+ description: string;
22061
+ };
22062
+ type: "CUSTOM";
22063
+ src: string;
22064
+ parent?: {
22065
+ $$field: string;
22066
+ $$subfield?: string[] | undefined;
22067
+ } | {
22068
+ $$field: string;
22069
+ $$subfield?: string[] | undefined;
22070
+ }[] | undefined;
22071
+ required?: boolean | {
22072
+ message: {
22073
+ id: string;
22074
+ defaultMessage: string;
22075
+ description: string;
22076
+ };
22077
+ } | undefined;
22078
+ conditionals?: ({
22079
+ type: "SHOW";
22080
+ conditional: any;
22081
+ } | {
22082
+ type: "ENABLE";
22083
+ conditional: any;
22084
+ } | {
22085
+ type: "DISPLAY_ON_REVIEW";
22086
+ conditional: any;
22087
+ })[] | undefined;
22088
+ secured?: boolean | undefined;
22089
+ placeholder?: {
22090
+ id: string;
22091
+ defaultMessage: string;
22092
+ description: string;
22093
+ } | undefined;
22094
+ validation?: {
22095
+ validator: any;
22096
+ message: {
22097
+ id: string;
22098
+ defaultMessage: string;
22099
+ description: string;
22100
+ };
22101
+ }[] | undefined;
22102
+ helperText?: {
22103
+ id: string;
22104
+ defaultMessage: string;
22105
+ description: string;
22106
+ } | undefined;
22107
+ hideLabel?: boolean | undefined;
22108
+ uncorrectable?: boolean | undefined;
22109
+ value?: {
22110
+ $$field: string;
22111
+ $$subfield?: string[] | undefined;
22112
+ } | {
22113
+ $$field: string;
22114
+ $$subfield?: string[] | undefined;
22115
+ }[] | undefined;
22116
+ analytics?: boolean | undefined;
22117
+ defaultValue?: unknown;
22118
+ configuration?: unknown;
21665
22119
  })[];
21666
22120
  auditHistoryLabel?: {
21667
22121
  id: string;
@@ -22851,7 +23305,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
22851
23305
  } | undefined;
22852
23306
  } | undefined;
22853
23307
  } | undefined;
22854
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
23308
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
22855
23309
  maxLength?: number | undefined;
22856
23310
  prefix?: {
22857
23311
  id: string;
@@ -23199,7 +23653,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
23199
23653
  };
23200
23654
  type: "ADMINISTRATIVE_AREA";
23201
23655
  configuration: {
23202
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
23656
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
23203
23657
  partOf?: {
23204
23658
  $declaration: string;
23205
23659
  } | undefined;
@@ -23963,7 +24417,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
23963
24417
  $$subfield?: string[] | undefined;
23964
24418
  };
23965
24419
  url: string;
23966
- method: "POST" | "GET" | "PUT" | "DELETE";
24420
+ method: "POST" | "DELETE" | "GET" | "PUT";
23967
24421
  timeout: number;
23968
24422
  headers?: Record<string, string> | undefined;
23969
24423
  body?: Record<string, any> | undefined;
@@ -24720,6 +25174,70 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24720
25174
  message: string;
24721
25175
  } | null | undefined;
24722
25176
  } | undefined;
25177
+ } | {
25178
+ id: string;
25179
+ label: {
25180
+ id: string;
25181
+ defaultMessage: string;
25182
+ description: string;
25183
+ };
25184
+ type: "CUSTOM";
25185
+ src: string;
25186
+ parent?: {
25187
+ $$field: string;
25188
+ $$subfield?: string[] | undefined;
25189
+ } | {
25190
+ $$field: string;
25191
+ $$subfield?: string[] | undefined;
25192
+ }[] | undefined;
25193
+ required?: boolean | {
25194
+ message: {
25195
+ id: string;
25196
+ defaultMessage: string;
25197
+ description: string;
25198
+ };
25199
+ } | undefined;
25200
+ conditionals?: ({
25201
+ type: "SHOW";
25202
+ conditional: any;
25203
+ } | {
25204
+ type: "ENABLE";
25205
+ conditional: any;
25206
+ } | {
25207
+ type: "DISPLAY_ON_REVIEW";
25208
+ conditional: any;
25209
+ })[] | undefined;
25210
+ secured?: boolean | undefined;
25211
+ placeholder?: {
25212
+ id: string;
25213
+ defaultMessage: string;
25214
+ description: string;
25215
+ } | undefined;
25216
+ validation?: {
25217
+ validator: any;
25218
+ message: {
25219
+ id: string;
25220
+ defaultMessage: string;
25221
+ description: string;
25222
+ };
25223
+ }[] | undefined;
25224
+ helperText?: {
25225
+ id: string;
25226
+ defaultMessage: string;
25227
+ description: string;
25228
+ } | undefined;
25229
+ hideLabel?: boolean | undefined;
25230
+ uncorrectable?: boolean | undefined;
25231
+ value?: {
25232
+ $$field: string;
25233
+ $$subfield?: string[] | undefined;
25234
+ } | {
25235
+ $$field: string;
25236
+ $$subfield?: string[] | undefined;
25237
+ }[] | undefined;
25238
+ analytics?: boolean | undefined;
25239
+ defaultValue?: unknown;
25240
+ configuration?: unknown;
24723
25241
  })[];
24724
25242
  type: "FORM";
24725
25243
  conditional?: any;
@@ -24738,7 +25256,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24738
25256
  };
24739
25257
  fieldId: string;
24740
25258
  fieldType: "field";
24741
- type?: "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE" | "TIME" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | undefined;
25259
+ type?: "TEXT" | "DATE" | "TIME" | "CUSTOM" | "ADDRESS" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | undefined;
24742
25260
  label?: {
24743
25261
  id: string;
24744
25262
  defaultMessage: string;
@@ -24782,7 +25300,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24782
25300
  };
24783
25301
  fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
24784
25302
  fieldType: "event";
24785
- type?: "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE" | "TIME" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | undefined;
25303
+ type?: "TEXT" | "DATE" | "TIME" | "CUSTOM" | "ADDRESS" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | undefined;
24786
25304
  label?: {
24787
25305
  id: string;
24788
25306
  defaultMessage: string;
@@ -24860,12 +25378,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24860
25378
  createdAt: string;
24861
25379
  createdBy: string;
24862
25380
  createdByRole: string;
24863
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25381
+ declaration: Record<string, unknown>;
24864
25382
  status: "Requested" | "Accepted" | "Rejected";
24865
25383
  type: "CREATE";
24866
25384
  createdBySignature?: string | null | undefined;
24867
25385
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24868
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25386
+ annotation?: Record<string, unknown> | null | undefined;
24869
25387
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24870
25388
  } | {
24871
25389
  id: string & import("zod").$brand<"UUID">;
@@ -24874,12 +25392,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24874
25392
  createdAt: string;
24875
25393
  createdBy: string;
24876
25394
  createdByRole: string;
24877
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25395
+ declaration: Record<string, unknown>;
24878
25396
  status: "Requested" | "Accepted" | "Rejected";
24879
25397
  type: "VALIDATE";
24880
25398
  createdBySignature?: string | null | undefined;
24881
25399
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24882
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25400
+ annotation?: Record<string, unknown> | null | undefined;
24883
25401
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24884
25402
  } | {
24885
25403
  id: string & import("zod").$brand<"UUID">;
@@ -24888,7 +25406,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24888
25406
  createdAt: string;
24889
25407
  createdBy: string;
24890
25408
  createdByRole: string;
24891
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25409
+ declaration: Record<string, unknown>;
24892
25410
  status: "Requested" | "Accepted" | "Rejected";
24893
25411
  type: "REJECT";
24894
25412
  content: {
@@ -24896,7 +25414,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24896
25414
  };
24897
25415
  createdBySignature?: string | null | undefined;
24898
25416
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24899
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25417
+ annotation?: Record<string, unknown> | null | undefined;
24900
25418
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24901
25419
  } | {
24902
25420
  id: string & import("zod").$brand<"UUID">;
@@ -24905,7 +25423,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24905
25423
  createdAt: string;
24906
25424
  createdBy: string;
24907
25425
  createdByRole: string;
24908
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25426
+ declaration: Record<string, unknown>;
24909
25427
  status: "Requested" | "Accepted" | "Rejected";
24910
25428
  type: "DUPLICATE_DETECTED";
24911
25429
  content: {
@@ -24916,7 +25434,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24916
25434
  };
24917
25435
  createdBySignature?: string | null | undefined;
24918
25436
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24919
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25437
+ annotation?: Record<string, unknown> | null | undefined;
24920
25438
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24921
25439
  } | {
24922
25440
  id: string & import("zod").$brand<"UUID">;
@@ -24925,12 +25443,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24925
25443
  createdAt: string;
24926
25444
  createdBy: string;
24927
25445
  createdByRole: string;
24928
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25446
+ declaration: Record<string, unknown>;
24929
25447
  status: "Requested" | "Accepted" | "Rejected";
24930
25448
  type: "MARK_AS_NOT_DUPLICATE";
24931
25449
  createdBySignature?: string | null | undefined;
24932
25450
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24933
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25451
+ annotation?: Record<string, unknown> | null | undefined;
24934
25452
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24935
25453
  } | {
24936
25454
  id: string & import("zod").$brand<"UUID">;
@@ -24939,12 +25457,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24939
25457
  createdAt: string;
24940
25458
  createdBy: string;
24941
25459
  createdByRole: string;
24942
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25460
+ declaration: Record<string, unknown>;
24943
25461
  status: "Requested" | "Accepted" | "Rejected";
24944
25462
  type: "MARK_AS_DUPLICATE";
24945
25463
  createdBySignature?: string | null | undefined;
24946
25464
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24947
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25465
+ annotation?: Record<string, unknown> | null | undefined;
24948
25466
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24949
25467
  content?: {
24950
25468
  duplicateOf: string & import("zod").$brand<"UUID">;
@@ -24956,7 +25474,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24956
25474
  createdAt: string;
24957
25475
  createdBy: string;
24958
25476
  createdByRole: string;
24959
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25477
+ declaration: Record<string, unknown>;
24960
25478
  status: "Requested" | "Accepted" | "Rejected";
24961
25479
  type: "ARCHIVE";
24962
25480
  content: {
@@ -24964,7 +25482,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24964
25482
  };
24965
25483
  createdBySignature?: string | null | undefined;
24966
25484
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24967
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25485
+ annotation?: Record<string, unknown> | null | undefined;
24968
25486
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24969
25487
  } | {
24970
25488
  id: string & import("zod").$brand<"UUID">;
@@ -24973,12 +25491,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24973
25491
  createdAt: string;
24974
25492
  createdBy: string;
24975
25493
  createdByRole: string;
24976
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25494
+ declaration: Record<string, unknown>;
24977
25495
  status: "Requested" | "Accepted" | "Rejected";
24978
25496
  type: "NOTIFY";
24979
25497
  createdBySignature?: string | null | undefined;
24980
25498
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24981
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25499
+ annotation?: Record<string, unknown> | null | undefined;
24982
25500
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24983
25501
  } | {
24984
25502
  id: string & import("zod").$brand<"UUID">;
@@ -24987,12 +25505,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24987
25505
  createdAt: string;
24988
25506
  createdBy: string;
24989
25507
  createdByRole: string;
24990
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25508
+ declaration: Record<string, unknown>;
24991
25509
  status: "Requested" | "Accepted" | "Rejected";
24992
25510
  type: "REGISTER";
24993
25511
  createdBySignature?: string | null | undefined;
24994
25512
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24995
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25513
+ annotation?: Record<string, unknown> | null | undefined;
24996
25514
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24997
25515
  registrationNumber?: string | undefined;
24998
25516
  } | {
@@ -25002,12 +25520,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25002
25520
  createdAt: string;
25003
25521
  createdBy: string;
25004
25522
  createdByRole: string;
25005
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25523
+ declaration: Record<string, unknown>;
25006
25524
  status: "Requested" | "Accepted" | "Rejected";
25007
25525
  type: "DECLARE";
25008
25526
  createdBySignature?: string | null | undefined;
25009
25527
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25010
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25528
+ annotation?: Record<string, unknown> | null | undefined;
25011
25529
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25012
25530
  } | {
25013
25531
  id: string & import("zod").$brand<"UUID">;
@@ -25016,13 +25534,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25016
25534
  createdAt: string;
25017
25535
  createdBy: string;
25018
25536
  createdByRole: string;
25019
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25537
+ declaration: Record<string, unknown>;
25020
25538
  status: "Requested" | "Accepted" | "Rejected";
25021
25539
  type: "ASSIGN";
25022
25540
  assignedTo: string;
25023
25541
  createdBySignature?: string | null | undefined;
25024
25542
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25025
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25543
+ annotation?: Record<string, unknown> | null | undefined;
25026
25544
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25027
25545
  } | {
25028
25546
  id: string & import("zod").$brand<"UUID">;
@@ -25031,12 +25549,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25031
25549
  createdAt: string;
25032
25550
  createdBy: string;
25033
25551
  createdByRole: string;
25034
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25552
+ declaration: Record<string, unknown>;
25035
25553
  status: "Requested" | "Accepted" | "Rejected";
25036
25554
  type: "REQUEST_CORRECTION";
25037
25555
  createdBySignature?: string | null | undefined;
25038
25556
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25039
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25557
+ annotation?: Record<string, unknown> | null | undefined;
25040
25558
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25041
25559
  } | {
25042
25560
  id: string & import("zod").$brand<"UUID">;
@@ -25045,13 +25563,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25045
25563
  createdAt: string;
25046
25564
  createdBy: string;
25047
25565
  createdByRole: string;
25048
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25566
+ declaration: Record<string, unknown>;
25049
25567
  status: "Requested" | "Accepted" | "Rejected";
25050
25568
  type: "APPROVE_CORRECTION";
25051
25569
  requestId: string;
25052
25570
  createdBySignature?: string | null | undefined;
25053
25571
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25054
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25572
+ annotation?: Record<string, unknown> | null | undefined;
25055
25573
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25056
25574
  } | {
25057
25575
  id: string & import("zod").$brand<"UUID">;
@@ -25060,7 +25578,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25060
25578
  createdAt: string;
25061
25579
  createdBy: string;
25062
25580
  createdByRole: string;
25063
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25581
+ declaration: Record<string, unknown>;
25064
25582
  status: "Requested" | "Accepted" | "Rejected";
25065
25583
  type: "REJECT_CORRECTION";
25066
25584
  requestId: string;
@@ -25069,7 +25587,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25069
25587
  };
25070
25588
  createdBySignature?: string | null | undefined;
25071
25589
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25072
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25590
+ annotation?: Record<string, unknown> | null | undefined;
25073
25591
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25074
25592
  } | {
25075
25593
  id: string & import("zod").$brand<"UUID">;
@@ -25078,12 +25596,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25078
25596
  createdAt: string;
25079
25597
  createdBy: string;
25080
25598
  createdByRole: string;
25081
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25599
+ declaration: Record<string, unknown>;
25082
25600
  status: "Requested" | "Accepted" | "Rejected";
25083
25601
  type: "UNASSIGN";
25084
25602
  createdBySignature?: string | null | undefined;
25085
25603
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25086
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25604
+ annotation?: Record<string, unknown> | null | undefined;
25087
25605
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25088
25606
  } | {
25089
25607
  id: string & import("zod").$brand<"UUID">;
@@ -25092,12 +25610,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25092
25610
  createdAt: string;
25093
25611
  createdBy: string;
25094
25612
  createdByRole: string;
25095
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25613
+ declaration: Record<string, unknown>;
25096
25614
  status: "Requested" | "Accepted" | "Rejected";
25097
25615
  type: "PRINT_CERTIFICATE";
25098
25616
  createdBySignature?: string | null | undefined;
25099
25617
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25100
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25618
+ annotation?: Record<string, unknown> | null | undefined;
25101
25619
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25102
25620
  content?: {
25103
25621
  templateId?: string | undefined;
@@ -25109,29 +25627,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25109
25627
  createdAt: string;
25110
25628
  createdBy: string;
25111
25629
  createdByRole: string;
25112
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25630
+ declaration: Record<string, unknown>;
25113
25631
  status: "Requested" | "Accepted" | "Rejected";
25114
25632
  type: "READ";
25115
25633
  createdBySignature?: string | null | undefined;
25116
25634
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25117
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25118
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25119
- } | {
25120
- id: string & import("zod").$brand<"UUID">;
25121
- transactionId: string;
25122
- createdByUserType: "user" | "system";
25123
- createdAt: string;
25124
- createdBy: string;
25125
- createdByRole: string;
25126
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25127
- status: "Requested" | "Accepted" | "Rejected";
25128
- type: "EDIT";
25129
- content: {
25130
- comment?: string | undefined;
25131
- };
25132
- createdBySignature?: string | null | undefined;
25133
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25134
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25635
+ annotation?: Record<string, unknown> | null | undefined;
25135
25636
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25136
25637
  } | {
25137
25638
  id: string & import("zod").$brand<"UUID">;
@@ -25140,13 +25641,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25140
25641
  createdAt: string;
25141
25642
  createdBy: string;
25142
25643
  createdByRole: string;
25143
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25644
+ declaration: Record<string, unknown>;
25144
25645
  status: "Requested" | "Accepted" | "Rejected";
25145
25646
  type: "CUSTOM";
25146
25647
  customActionType: string;
25147
25648
  createdBySignature?: string | null | undefined;
25148
25649
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25149
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25650
+ annotation?: Record<string, unknown> | null | undefined;
25150
25651
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25151
25652
  } | {
25152
25653
  id: string & import("zod").$brand<"UUID">;
@@ -25155,7 +25656,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25155
25656
  createdAt: string;
25156
25657
  createdBy: string;
25157
25658
  createdByRole: string;
25158
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25659
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
25159
25660
  status: "Rejected";
25160
25661
  createdBySignature?: string | null | undefined;
25161
25662
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -25179,12 +25680,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25179
25680
  createdAt: string;
25180
25681
  createdBy: string;
25181
25682
  createdByRole: string;
25182
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25683
+ declaration: Record<string, unknown>;
25183
25684
  status: "Requested" | "Accepted" | "Rejected";
25184
25685
  type: "CREATE";
25185
25686
  createdBySignature?: string | null | undefined;
25186
25687
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25187
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25688
+ annotation?: Record<string, unknown> | null | undefined;
25188
25689
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25189
25690
  } | {
25190
25691
  id: string & import("zod").$brand<"UUID">;
@@ -25193,12 +25694,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25193
25694
  createdAt: string;
25194
25695
  createdBy: string;
25195
25696
  createdByRole: string;
25196
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25697
+ declaration: Record<string, unknown>;
25197
25698
  status: "Requested" | "Accepted" | "Rejected";
25198
25699
  type: "VALIDATE";
25199
25700
  createdBySignature?: string | null | undefined;
25200
25701
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25201
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25702
+ annotation?: Record<string, unknown> | null | undefined;
25202
25703
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25203
25704
  } | {
25204
25705
  id: string & import("zod").$brand<"UUID">;
@@ -25207,7 +25708,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25207
25708
  createdAt: string;
25208
25709
  createdBy: string;
25209
25710
  createdByRole: string;
25210
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25711
+ declaration: Record<string, unknown>;
25211
25712
  status: "Requested" | "Accepted" | "Rejected";
25212
25713
  type: "REJECT";
25213
25714
  content: {
@@ -25215,7 +25716,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25215
25716
  };
25216
25717
  createdBySignature?: string | null | undefined;
25217
25718
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25218
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25719
+ annotation?: Record<string, unknown> | null | undefined;
25219
25720
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25220
25721
  } | {
25221
25722
  id: string & import("zod").$brand<"UUID">;
@@ -25224,7 +25725,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25224
25725
  createdAt: string;
25225
25726
  createdBy: string;
25226
25727
  createdByRole: string;
25227
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25728
+ declaration: Record<string, unknown>;
25228
25729
  status: "Requested" | "Accepted" | "Rejected";
25229
25730
  type: "DUPLICATE_DETECTED";
25230
25731
  content: {
@@ -25235,7 +25736,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25235
25736
  };
25236
25737
  createdBySignature?: string | null | undefined;
25237
25738
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25238
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25739
+ annotation?: Record<string, unknown> | null | undefined;
25239
25740
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25240
25741
  } | {
25241
25742
  id: string & import("zod").$brand<"UUID">;
@@ -25244,12 +25745,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25244
25745
  createdAt: string;
25245
25746
  createdBy: string;
25246
25747
  createdByRole: string;
25247
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25748
+ declaration: Record<string, unknown>;
25248
25749
  status: "Requested" | "Accepted" | "Rejected";
25249
25750
  type: "MARK_AS_NOT_DUPLICATE";
25250
25751
  createdBySignature?: string | null | undefined;
25251
25752
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25252
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25753
+ annotation?: Record<string, unknown> | null | undefined;
25253
25754
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25254
25755
  } | {
25255
25756
  id: string & import("zod").$brand<"UUID">;
@@ -25258,12 +25759,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25258
25759
  createdAt: string;
25259
25760
  createdBy: string;
25260
25761
  createdByRole: string;
25261
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25762
+ declaration: Record<string, unknown>;
25262
25763
  status: "Requested" | "Accepted" | "Rejected";
25263
25764
  type: "MARK_AS_DUPLICATE";
25264
25765
  createdBySignature?: string | null | undefined;
25265
25766
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25266
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25767
+ annotation?: Record<string, unknown> | null | undefined;
25267
25768
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25268
25769
  content?: {
25269
25770
  duplicateOf: string & import("zod").$brand<"UUID">;
@@ -25275,7 +25776,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25275
25776
  createdAt: string;
25276
25777
  createdBy: string;
25277
25778
  createdByRole: string;
25278
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25779
+ declaration: Record<string, unknown>;
25279
25780
  status: "Requested" | "Accepted" | "Rejected";
25280
25781
  type: "ARCHIVE";
25281
25782
  content: {
@@ -25283,7 +25784,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25283
25784
  };
25284
25785
  createdBySignature?: string | null | undefined;
25285
25786
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25286
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25787
+ annotation?: Record<string, unknown> | null | undefined;
25287
25788
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25288
25789
  } | {
25289
25790
  id: string & import("zod").$brand<"UUID">;
@@ -25292,12 +25793,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25292
25793
  createdAt: string;
25293
25794
  createdBy: string;
25294
25795
  createdByRole: string;
25295
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25796
+ declaration: Record<string, unknown>;
25296
25797
  status: "Requested" | "Accepted" | "Rejected";
25297
25798
  type: "NOTIFY";
25298
25799
  createdBySignature?: string | null | undefined;
25299
25800
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25300
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25801
+ annotation?: Record<string, unknown> | null | undefined;
25301
25802
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25302
25803
  } | {
25303
25804
  id: string & import("zod").$brand<"UUID">;
@@ -25306,12 +25807,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25306
25807
  createdAt: string;
25307
25808
  createdBy: string;
25308
25809
  createdByRole: string;
25309
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25810
+ declaration: Record<string, unknown>;
25310
25811
  status: "Requested" | "Accepted" | "Rejected";
25311
25812
  type: "REGISTER";
25312
25813
  createdBySignature?: string | null | undefined;
25313
25814
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25314
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25815
+ annotation?: Record<string, unknown> | null | undefined;
25315
25816
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25316
25817
  registrationNumber?: string | undefined;
25317
25818
  } | {
@@ -25321,12 +25822,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25321
25822
  createdAt: string;
25322
25823
  createdBy: string;
25323
25824
  createdByRole: string;
25324
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25825
+ declaration: Record<string, unknown>;
25325
25826
  status: "Requested" | "Accepted" | "Rejected";
25326
25827
  type: "DECLARE";
25327
25828
  createdBySignature?: string | null | undefined;
25328
25829
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25329
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25830
+ annotation?: Record<string, unknown> | null | undefined;
25330
25831
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25331
25832
  } | {
25332
25833
  id: string & import("zod").$brand<"UUID">;
@@ -25335,13 +25836,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25335
25836
  createdAt: string;
25336
25837
  createdBy: string;
25337
25838
  createdByRole: string;
25338
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25839
+ declaration: Record<string, unknown>;
25339
25840
  status: "Requested" | "Accepted" | "Rejected";
25340
25841
  type: "ASSIGN";
25341
25842
  assignedTo: string;
25342
25843
  createdBySignature?: string | null | undefined;
25343
25844
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25344
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25845
+ annotation?: Record<string, unknown> | null | undefined;
25345
25846
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25346
25847
  } | {
25347
25848
  id: string & import("zod").$brand<"UUID">;
@@ -25350,12 +25851,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25350
25851
  createdAt: string;
25351
25852
  createdBy: string;
25352
25853
  createdByRole: string;
25353
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25854
+ declaration: Record<string, unknown>;
25354
25855
  status: "Requested" | "Accepted" | "Rejected";
25355
25856
  type: "REQUEST_CORRECTION";
25356
25857
  createdBySignature?: string | null | undefined;
25357
25858
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25358
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25859
+ annotation?: Record<string, unknown> | null | undefined;
25359
25860
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25360
25861
  } | {
25361
25862
  id: string & import("zod").$brand<"UUID">;
@@ -25364,13 +25865,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25364
25865
  createdAt: string;
25365
25866
  createdBy: string;
25366
25867
  createdByRole: string;
25367
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25868
+ declaration: Record<string, unknown>;
25368
25869
  status: "Requested" | "Accepted" | "Rejected";
25369
25870
  type: "APPROVE_CORRECTION";
25370
25871
  requestId: string;
25371
25872
  createdBySignature?: string | null | undefined;
25372
25873
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25373
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25874
+ annotation?: Record<string, unknown> | null | undefined;
25374
25875
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25375
25876
  } | {
25376
25877
  id: string & import("zod").$brand<"UUID">;
@@ -25379,7 +25880,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25379
25880
  createdAt: string;
25380
25881
  createdBy: string;
25381
25882
  createdByRole: string;
25382
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25883
+ declaration: Record<string, unknown>;
25383
25884
  status: "Requested" | "Accepted" | "Rejected";
25384
25885
  type: "REJECT_CORRECTION";
25385
25886
  requestId: string;
@@ -25388,7 +25889,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25388
25889
  };
25389
25890
  createdBySignature?: string | null | undefined;
25390
25891
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25391
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25892
+ annotation?: Record<string, unknown> | null | undefined;
25392
25893
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25393
25894
  } | {
25394
25895
  id: string & import("zod").$brand<"UUID">;
@@ -25397,12 +25898,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25397
25898
  createdAt: string;
25398
25899
  createdBy: string;
25399
25900
  createdByRole: string;
25400
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25901
+ declaration: Record<string, unknown>;
25401
25902
  status: "Requested" | "Accepted" | "Rejected";
25402
25903
  type: "UNASSIGN";
25403
25904
  createdBySignature?: string | null | undefined;
25404
25905
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25405
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25906
+ annotation?: Record<string, unknown> | null | undefined;
25406
25907
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25407
25908
  } | {
25408
25909
  id: string & import("zod").$brand<"UUID">;
@@ -25411,12 +25912,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25411
25912
  createdAt: string;
25412
25913
  createdBy: string;
25413
25914
  createdByRole: string;
25414
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25915
+ declaration: Record<string, unknown>;
25415
25916
  status: "Requested" | "Accepted" | "Rejected";
25416
25917
  type: "PRINT_CERTIFICATE";
25417
25918
  createdBySignature?: string | null | undefined;
25418
25919
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25419
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25920
+ annotation?: Record<string, unknown> | null | undefined;
25420
25921
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25421
25922
  content?: {
25422
25923
  templateId?: string | undefined;
@@ -25428,29 +25929,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25428
25929
  createdAt: string;
25429
25930
  createdBy: string;
25430
25931
  createdByRole: string;
25431
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25932
+ declaration: Record<string, unknown>;
25432
25933
  status: "Requested" | "Accepted" | "Rejected";
25433
25934
  type: "READ";
25434
25935
  createdBySignature?: string | null | undefined;
25435
25936
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25436
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25437
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25438
- } | {
25439
- id: string & import("zod").$brand<"UUID">;
25440
- transactionId: string;
25441
- createdByUserType: "user" | "system";
25442
- createdAt: string;
25443
- createdBy: string;
25444
- createdByRole: string;
25445
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25446
- status: "Requested" | "Accepted" | "Rejected";
25447
- type: "EDIT";
25448
- content: {
25449
- comment?: string | undefined;
25450
- };
25451
- createdBySignature?: string | null | undefined;
25452
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25453
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25937
+ annotation?: Record<string, unknown> | null | undefined;
25454
25938
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25455
25939
  } | {
25456
25940
  id: string & import("zod").$brand<"UUID">;
@@ -25459,13 +25943,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25459
25943
  createdAt: string;
25460
25944
  createdBy: string;
25461
25945
  createdByRole: string;
25462
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25946
+ declaration: Record<string, unknown>;
25463
25947
  status: "Requested" | "Accepted" | "Rejected";
25464
25948
  type: "CUSTOM";
25465
25949
  customActionType: string;
25466
25950
  createdBySignature?: string | null | undefined;
25467
25951
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25468
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25952
+ annotation?: Record<string, unknown> | null | undefined;
25469
25953
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25470
25954
  } | {
25471
25955
  id: string & import("zod").$brand<"UUID">;
@@ -25474,7 +25958,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25474
25958
  createdAt: string;
25475
25959
  createdBy: string;
25476
25960
  createdByRole: string;
25477
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25961
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
25478
25962
  status: "Rejected";
25479
25963
  createdBySignature?: string | null | undefined;
25480
25964
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -25500,12 +25984,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25500
25984
  createdAt: string;
25501
25985
  createdBy: string;
25502
25986
  createdByRole: string;
25503
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25987
+ declaration: Record<string, unknown>;
25504
25988
  status: "Requested" | "Accepted" | "Rejected";
25505
25989
  type: "CREATE";
25506
25990
  createdBySignature?: string | null | undefined;
25507
25991
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25508
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25992
+ annotation?: Record<string, unknown> | null | undefined;
25509
25993
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25510
25994
  } | {
25511
25995
  id: string & import("zod").$brand<"UUID">;
@@ -25514,12 +25998,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25514
25998
  createdAt: string;
25515
25999
  createdBy: string;
25516
26000
  createdByRole: string;
25517
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26001
+ declaration: Record<string, unknown>;
25518
26002
  status: "Requested" | "Accepted" | "Rejected";
25519
26003
  type: "VALIDATE";
25520
26004
  createdBySignature?: string | null | undefined;
25521
26005
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25522
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26006
+ annotation?: Record<string, unknown> | null | undefined;
25523
26007
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25524
26008
  } | {
25525
26009
  id: string & import("zod").$brand<"UUID">;
@@ -25528,7 +26012,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25528
26012
  createdAt: string;
25529
26013
  createdBy: string;
25530
26014
  createdByRole: string;
25531
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26015
+ declaration: Record<string, unknown>;
25532
26016
  status: "Requested" | "Accepted" | "Rejected";
25533
26017
  type: "REJECT";
25534
26018
  content: {
@@ -25536,7 +26020,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25536
26020
  };
25537
26021
  createdBySignature?: string | null | undefined;
25538
26022
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25539
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26023
+ annotation?: Record<string, unknown> | null | undefined;
25540
26024
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25541
26025
  } | {
25542
26026
  id: string & import("zod").$brand<"UUID">;
@@ -25545,7 +26029,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25545
26029
  createdAt: string;
25546
26030
  createdBy: string;
25547
26031
  createdByRole: string;
25548
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26032
+ declaration: Record<string, unknown>;
25549
26033
  status: "Requested" | "Accepted" | "Rejected";
25550
26034
  type: "DUPLICATE_DETECTED";
25551
26035
  content: {
@@ -25556,7 +26040,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25556
26040
  };
25557
26041
  createdBySignature?: string | null | undefined;
25558
26042
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25559
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26043
+ annotation?: Record<string, unknown> | null | undefined;
25560
26044
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25561
26045
  } | {
25562
26046
  id: string & import("zod").$brand<"UUID">;
@@ -25565,12 +26049,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25565
26049
  createdAt: string;
25566
26050
  createdBy: string;
25567
26051
  createdByRole: string;
25568
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26052
+ declaration: Record<string, unknown>;
25569
26053
  status: "Requested" | "Accepted" | "Rejected";
25570
26054
  type: "MARK_AS_NOT_DUPLICATE";
25571
26055
  createdBySignature?: string | null | undefined;
25572
26056
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25573
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26057
+ annotation?: Record<string, unknown> | null | undefined;
25574
26058
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25575
26059
  } | {
25576
26060
  id: string & import("zod").$brand<"UUID">;
@@ -25579,12 +26063,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25579
26063
  createdAt: string;
25580
26064
  createdBy: string;
25581
26065
  createdByRole: string;
25582
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26066
+ declaration: Record<string, unknown>;
25583
26067
  status: "Requested" | "Accepted" | "Rejected";
25584
26068
  type: "MARK_AS_DUPLICATE";
25585
26069
  createdBySignature?: string | null | undefined;
25586
26070
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25587
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26071
+ annotation?: Record<string, unknown> | null | undefined;
25588
26072
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25589
26073
  content?: {
25590
26074
  duplicateOf: string & import("zod").$brand<"UUID">;
@@ -25596,7 +26080,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25596
26080
  createdAt: string;
25597
26081
  createdBy: string;
25598
26082
  createdByRole: string;
25599
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26083
+ declaration: Record<string, unknown>;
25600
26084
  status: "Requested" | "Accepted" | "Rejected";
25601
26085
  type: "ARCHIVE";
25602
26086
  content: {
@@ -25604,7 +26088,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25604
26088
  };
25605
26089
  createdBySignature?: string | null | undefined;
25606
26090
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25607
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26091
+ annotation?: Record<string, unknown> | null | undefined;
25608
26092
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25609
26093
  } | {
25610
26094
  id: string & import("zod").$brand<"UUID">;
@@ -25613,12 +26097,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25613
26097
  createdAt: string;
25614
26098
  createdBy: string;
25615
26099
  createdByRole: string;
25616
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26100
+ declaration: Record<string, unknown>;
25617
26101
  status: "Requested" | "Accepted" | "Rejected";
25618
26102
  type: "NOTIFY";
25619
26103
  createdBySignature?: string | null | undefined;
25620
26104
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25621
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26105
+ annotation?: Record<string, unknown> | null | undefined;
25622
26106
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25623
26107
  } | {
25624
26108
  id: string & import("zod").$brand<"UUID">;
@@ -25627,12 +26111,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25627
26111
  createdAt: string;
25628
26112
  createdBy: string;
25629
26113
  createdByRole: string;
25630
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26114
+ declaration: Record<string, unknown>;
25631
26115
  status: "Requested" | "Accepted" | "Rejected";
25632
26116
  type: "REGISTER";
25633
26117
  createdBySignature?: string | null | undefined;
25634
26118
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25635
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26119
+ annotation?: Record<string, unknown> | null | undefined;
25636
26120
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25637
26121
  registrationNumber?: string | undefined;
25638
26122
  } | {
@@ -25642,12 +26126,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25642
26126
  createdAt: string;
25643
26127
  createdBy: string;
25644
26128
  createdByRole: string;
25645
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26129
+ declaration: Record<string, unknown>;
25646
26130
  status: "Requested" | "Accepted" | "Rejected";
25647
26131
  type: "DECLARE";
25648
26132
  createdBySignature?: string | null | undefined;
25649
26133
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25650
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26134
+ annotation?: Record<string, unknown> | null | undefined;
25651
26135
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25652
26136
  } | {
25653
26137
  id: string & import("zod").$brand<"UUID">;
@@ -25656,13 +26140,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25656
26140
  createdAt: string;
25657
26141
  createdBy: string;
25658
26142
  createdByRole: string;
25659
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26143
+ declaration: Record<string, unknown>;
25660
26144
  status: "Requested" | "Accepted" | "Rejected";
25661
26145
  type: "ASSIGN";
25662
26146
  assignedTo: string;
25663
26147
  createdBySignature?: string | null | undefined;
25664
26148
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25665
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26149
+ annotation?: Record<string, unknown> | null | undefined;
25666
26150
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25667
26151
  } | {
25668
26152
  id: string & import("zod").$brand<"UUID">;
@@ -25671,12 +26155,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25671
26155
  createdAt: string;
25672
26156
  createdBy: string;
25673
26157
  createdByRole: string;
25674
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26158
+ declaration: Record<string, unknown>;
25675
26159
  status: "Requested" | "Accepted" | "Rejected";
25676
26160
  type: "REQUEST_CORRECTION";
25677
26161
  createdBySignature?: string | null | undefined;
25678
26162
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25679
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26163
+ annotation?: Record<string, unknown> | null | undefined;
25680
26164
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25681
26165
  } | {
25682
26166
  id: string & import("zod").$brand<"UUID">;
@@ -25685,13 +26169,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25685
26169
  createdAt: string;
25686
26170
  createdBy: string;
25687
26171
  createdByRole: string;
25688
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26172
+ declaration: Record<string, unknown>;
25689
26173
  status: "Requested" | "Accepted" | "Rejected";
25690
26174
  type: "APPROVE_CORRECTION";
25691
26175
  requestId: string;
25692
26176
  createdBySignature?: string | null | undefined;
25693
26177
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25694
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26178
+ annotation?: Record<string, unknown> | null | undefined;
25695
26179
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25696
26180
  } | {
25697
26181
  id: string & import("zod").$brand<"UUID">;
@@ -25700,7 +26184,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25700
26184
  createdAt: string;
25701
26185
  createdBy: string;
25702
26186
  createdByRole: string;
25703
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26187
+ declaration: Record<string, unknown>;
25704
26188
  status: "Requested" | "Accepted" | "Rejected";
25705
26189
  type: "REJECT_CORRECTION";
25706
26190
  requestId: string;
@@ -25709,7 +26193,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25709
26193
  };
25710
26194
  createdBySignature?: string | null | undefined;
25711
26195
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25712
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26196
+ annotation?: Record<string, unknown> | null | undefined;
25713
26197
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25714
26198
  } | {
25715
26199
  id: string & import("zod").$brand<"UUID">;
@@ -25718,12 +26202,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25718
26202
  createdAt: string;
25719
26203
  createdBy: string;
25720
26204
  createdByRole: string;
25721
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26205
+ declaration: Record<string, unknown>;
25722
26206
  status: "Requested" | "Accepted" | "Rejected";
25723
26207
  type: "UNASSIGN";
25724
26208
  createdBySignature?: string | null | undefined;
25725
26209
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25726
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26210
+ annotation?: Record<string, unknown> | null | undefined;
25727
26211
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25728
26212
  } | {
25729
26213
  id: string & import("zod").$brand<"UUID">;
@@ -25732,12 +26216,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25732
26216
  createdAt: string;
25733
26217
  createdBy: string;
25734
26218
  createdByRole: string;
25735
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26219
+ declaration: Record<string, unknown>;
25736
26220
  status: "Requested" | "Accepted" | "Rejected";
25737
26221
  type: "PRINT_CERTIFICATE";
25738
26222
  createdBySignature?: string | null | undefined;
25739
26223
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25740
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26224
+ annotation?: Record<string, unknown> | null | undefined;
25741
26225
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25742
26226
  content?: {
25743
26227
  templateId?: string | undefined;
@@ -25749,29 +26233,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25749
26233
  createdAt: string;
25750
26234
  createdBy: string;
25751
26235
  createdByRole: string;
25752
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26236
+ declaration: Record<string, unknown>;
25753
26237
  status: "Requested" | "Accepted" | "Rejected";
25754
26238
  type: "READ";
25755
26239
  createdBySignature?: string | null | undefined;
25756
26240
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25757
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25758
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25759
- } | {
25760
- id: string & import("zod").$brand<"UUID">;
25761
- transactionId: string;
25762
- createdByUserType: "user" | "system";
25763
- createdAt: string;
25764
- createdBy: string;
25765
- createdByRole: string;
25766
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25767
- status: "Requested" | "Accepted" | "Rejected";
25768
- type: "EDIT";
25769
- content: {
25770
- comment?: string | undefined;
25771
- };
25772
- createdBySignature?: string | null | undefined;
25773
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25774
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26241
+ annotation?: Record<string, unknown> | null | undefined;
25775
26242
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25776
26243
  } | {
25777
26244
  id: string & import("zod").$brand<"UUID">;
@@ -25780,13 +26247,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25780
26247
  createdAt: string;
25781
26248
  createdBy: string;
25782
26249
  createdByRole: string;
25783
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26250
+ declaration: Record<string, unknown>;
25784
26251
  status: "Requested" | "Accepted" | "Rejected";
25785
26252
  type: "CUSTOM";
25786
26253
  customActionType: string;
25787
26254
  createdBySignature?: string | null | undefined;
25788
26255
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25789
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26256
+ annotation?: Record<string, unknown> | null | undefined;
25790
26257
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25791
26258
  } | {
25792
26259
  id: string & import("zod").$brand<"UUID">;
@@ -25795,7 +26262,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25795
26262
  createdAt: string;
25796
26263
  createdBy: string;
25797
26264
  createdByRole: string;
25798
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
26265
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
25799
26266
  status: "Rejected";
25800
26267
  createdBySignature?: string | null | undefined;
25801
26268
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -25823,12 +26290,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25823
26290
  role: string;
25824
26291
  primaryOfficeId: string & import("zod").$brand<"UUID">;
25825
26292
  signature?: string | undefined;
26293
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25826
26294
  } | {
25827
26295
  type: "system";
25828
26296
  id: string;
25829
26297
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
25830
26298
  signature?: undefined;
25831
26299
  primaryOfficeId?: undefined;
26300
+ administrativeAreaId?: undefined;
25832
26301
  };
25833
26302
  }>;
25834
26303
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -25843,16 +26312,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25843
26312
  transactionId: string;
25844
26313
  createdAt: string;
25845
26314
  action: {
25846
- type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
26315
+ type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
25847
26316
  status: "Requested" | "Accepted" | "Rejected";
25848
26317
  transactionId: string;
25849
26318
  createdByUserType: "user" | "system";
25850
26319
  createdAt: string;
25851
26320
  createdBy: string;
25852
26321
  createdByRole: string;
25853
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26322
+ declaration: Record<string, unknown>;
25854
26323
  createdBySignature?: string | null | undefined;
25855
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26324
+ annotation?: Record<string, unknown> | null | undefined;
25856
26325
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25857
26326
  };
25858
26327
  }[];
@@ -25862,7 +26331,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25862
26331
  input: {
25863
26332
  eventId: string;
25864
26333
  transactionId: string;
25865
- type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
26334
+ type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
25866
26335
  status: "Requested" | "Accepted" | "Rejected";
25867
26336
  declaration?: Record<string, unknown> | undefined;
25868
26337
  annotation?: Record<string, unknown> | undefined;
@@ -25876,16 +26345,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25876
26345
  transactionId: string;
25877
26346
  createdAt: string;
25878
26347
  action: {
25879
- type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
26348
+ type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
25880
26349
  status: "Requested" | "Accepted" | "Rejected";
25881
26350
  transactionId: string;
25882
26351
  createdByUserType: "user" | "system";
25883
26352
  createdAt: string;
25884
26353
  createdBy: string;
25885
26354
  createdByRole: string;
25886
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26355
+ declaration: Record<string, unknown>;
25887
26356
  createdBySignature?: string | null | undefined;
25888
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26357
+ annotation?: Record<string, unknown> | null | undefined;
25889
26358
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25890
26359
  };
25891
26360
  };
@@ -25901,12 +26370,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25901
26370
  role: string;
25902
26371
  primaryOfficeId: string & import("zod").$brand<"UUID">;
25903
26372
  signature?: string | undefined;
26373
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25904
26374
  } | {
25905
26375
  type: "system";
25906
26376
  id: string;
25907
26377
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
25908
26378
  signature?: undefined;
25909
26379
  primaryOfficeId?: undefined;
26380
+ administrativeAreaId?: undefined;
25910
26381
  };
25911
26382
  }>;
25912
26383
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -25922,12 +26393,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25922
26393
  role: string;
25923
26394
  primaryOfficeId: string & import("zod").$brand<"UUID">;
25924
26395
  signature?: string | undefined;
26396
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25925
26397
  } | {
25926
26398
  type: "system";
25927
26399
  id: string;
25928
26400
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
25929
26401
  signature?: undefined;
25930
26402
  primaryOfficeId?: undefined;
26403
+ administrativeAreaId?: undefined;
25931
26404
  };
25932
26405
  }>;
25933
26406
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -25965,12 +26438,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25965
26438
  role: string;
25966
26439
  primaryOfficeId: string & import("zod").$brand<"UUID">;
25967
26440
  signature?: string | undefined;
26441
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25968
26442
  } | {
25969
26443
  type: "system";
25970
26444
  id: string;
25971
26445
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
25972
26446
  signature?: undefined;
25973
26447
  primaryOfficeId?: undefined;
26448
+ administrativeAreaId?: undefined;
25974
26449
  };
25975
26450
  }>;
25976
26451
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26000,12 +26475,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26000
26475
  createdAt: string;
26001
26476
  createdBy: string;
26002
26477
  createdByRole: string;
26003
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26478
+ declaration: Record<string, unknown>;
26004
26479
  status: "Requested" | "Accepted" | "Rejected";
26005
26480
  type: "CREATE";
26006
26481
  createdBySignature?: string | null | undefined;
26007
26482
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26008
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26483
+ annotation?: Record<string, unknown> | null | undefined;
26009
26484
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26010
26485
  } | {
26011
26486
  id: string & import("zod").$brand<"UUID">;
@@ -26014,12 +26489,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26014
26489
  createdAt: string;
26015
26490
  createdBy: string;
26016
26491
  createdByRole: string;
26017
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26492
+ declaration: Record<string, unknown>;
26018
26493
  status: "Requested" | "Accepted" | "Rejected";
26019
26494
  type: "VALIDATE";
26020
26495
  createdBySignature?: string | null | undefined;
26021
26496
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26022
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26497
+ annotation?: Record<string, unknown> | null | undefined;
26023
26498
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26024
26499
  } | {
26025
26500
  id: string & import("zod").$brand<"UUID">;
@@ -26028,7 +26503,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26028
26503
  createdAt: string;
26029
26504
  createdBy: string;
26030
26505
  createdByRole: string;
26031
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26506
+ declaration: Record<string, unknown>;
26032
26507
  status: "Requested" | "Accepted" | "Rejected";
26033
26508
  type: "REJECT";
26034
26509
  content: {
@@ -26036,7 +26511,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26036
26511
  };
26037
26512
  createdBySignature?: string | null | undefined;
26038
26513
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26039
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26514
+ annotation?: Record<string, unknown> | null | undefined;
26040
26515
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26041
26516
  } | {
26042
26517
  id: string & import("zod").$brand<"UUID">;
@@ -26045,7 +26520,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26045
26520
  createdAt: string;
26046
26521
  createdBy: string;
26047
26522
  createdByRole: string;
26048
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26523
+ declaration: Record<string, unknown>;
26049
26524
  status: "Requested" | "Accepted" | "Rejected";
26050
26525
  type: "DUPLICATE_DETECTED";
26051
26526
  content: {
@@ -26056,7 +26531,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26056
26531
  };
26057
26532
  createdBySignature?: string | null | undefined;
26058
26533
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26059
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26534
+ annotation?: Record<string, unknown> | null | undefined;
26060
26535
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26061
26536
  } | {
26062
26537
  id: string & import("zod").$brand<"UUID">;
@@ -26065,12 +26540,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26065
26540
  createdAt: string;
26066
26541
  createdBy: string;
26067
26542
  createdByRole: string;
26068
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26543
+ declaration: Record<string, unknown>;
26069
26544
  status: "Requested" | "Accepted" | "Rejected";
26070
26545
  type: "MARK_AS_NOT_DUPLICATE";
26071
26546
  createdBySignature?: string | null | undefined;
26072
26547
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26073
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26548
+ annotation?: Record<string, unknown> | null | undefined;
26074
26549
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26075
26550
  } | {
26076
26551
  id: string & import("zod").$brand<"UUID">;
@@ -26079,12 +26554,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26079
26554
  createdAt: string;
26080
26555
  createdBy: string;
26081
26556
  createdByRole: string;
26082
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26557
+ declaration: Record<string, unknown>;
26083
26558
  status: "Requested" | "Accepted" | "Rejected";
26084
26559
  type: "MARK_AS_DUPLICATE";
26085
26560
  createdBySignature?: string | null | undefined;
26086
26561
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26087
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26562
+ annotation?: Record<string, unknown> | null | undefined;
26088
26563
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26089
26564
  content?: {
26090
26565
  duplicateOf: string & import("zod").$brand<"UUID">;
@@ -26096,7 +26571,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26096
26571
  createdAt: string;
26097
26572
  createdBy: string;
26098
26573
  createdByRole: string;
26099
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26574
+ declaration: Record<string, unknown>;
26100
26575
  status: "Requested" | "Accepted" | "Rejected";
26101
26576
  type: "ARCHIVE";
26102
26577
  content: {
@@ -26104,7 +26579,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26104
26579
  };
26105
26580
  createdBySignature?: string | null | undefined;
26106
26581
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26107
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26582
+ annotation?: Record<string, unknown> | null | undefined;
26108
26583
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26109
26584
  } | {
26110
26585
  id: string & import("zod").$brand<"UUID">;
@@ -26113,12 +26588,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26113
26588
  createdAt: string;
26114
26589
  createdBy: string;
26115
26590
  createdByRole: string;
26116
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26591
+ declaration: Record<string, unknown>;
26117
26592
  status: "Requested" | "Accepted" | "Rejected";
26118
26593
  type: "NOTIFY";
26119
26594
  createdBySignature?: string | null | undefined;
26120
26595
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26121
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26596
+ annotation?: Record<string, unknown> | null | undefined;
26122
26597
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26123
26598
  } | {
26124
26599
  id: string & import("zod").$brand<"UUID">;
@@ -26127,12 +26602,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26127
26602
  createdAt: string;
26128
26603
  createdBy: string;
26129
26604
  createdByRole: string;
26130
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26605
+ declaration: Record<string, unknown>;
26131
26606
  status: "Requested" | "Accepted" | "Rejected";
26132
26607
  type: "REGISTER";
26133
26608
  createdBySignature?: string | null | undefined;
26134
26609
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26135
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26610
+ annotation?: Record<string, unknown> | null | undefined;
26136
26611
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26137
26612
  registrationNumber?: string | undefined;
26138
26613
  } | {
@@ -26142,12 +26617,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26142
26617
  createdAt: string;
26143
26618
  createdBy: string;
26144
26619
  createdByRole: string;
26145
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26620
+ declaration: Record<string, unknown>;
26146
26621
  status: "Requested" | "Accepted" | "Rejected";
26147
26622
  type: "DECLARE";
26148
26623
  createdBySignature?: string | null | undefined;
26149
26624
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26150
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26625
+ annotation?: Record<string, unknown> | null | undefined;
26151
26626
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26152
26627
  } | {
26153
26628
  id: string & import("zod").$brand<"UUID">;
@@ -26156,13 +26631,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26156
26631
  createdAt: string;
26157
26632
  createdBy: string;
26158
26633
  createdByRole: string;
26159
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26634
+ declaration: Record<string, unknown>;
26160
26635
  status: "Requested" | "Accepted" | "Rejected";
26161
26636
  type: "ASSIGN";
26162
26637
  assignedTo: string;
26163
26638
  createdBySignature?: string | null | undefined;
26164
26639
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26165
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26640
+ annotation?: Record<string, unknown> | null | undefined;
26166
26641
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26167
26642
  } | {
26168
26643
  id: string & import("zod").$brand<"UUID">;
@@ -26171,12 +26646,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26171
26646
  createdAt: string;
26172
26647
  createdBy: string;
26173
26648
  createdByRole: string;
26174
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26649
+ declaration: Record<string, unknown>;
26175
26650
  status: "Requested" | "Accepted" | "Rejected";
26176
26651
  type: "REQUEST_CORRECTION";
26177
26652
  createdBySignature?: string | null | undefined;
26178
26653
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26179
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26654
+ annotation?: Record<string, unknown> | null | undefined;
26180
26655
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26181
26656
  } | {
26182
26657
  id: string & import("zod").$brand<"UUID">;
@@ -26185,13 +26660,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26185
26660
  createdAt: string;
26186
26661
  createdBy: string;
26187
26662
  createdByRole: string;
26188
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26663
+ declaration: Record<string, unknown>;
26189
26664
  status: "Requested" | "Accepted" | "Rejected";
26190
26665
  type: "APPROVE_CORRECTION";
26191
26666
  requestId: string;
26192
26667
  createdBySignature?: string | null | undefined;
26193
26668
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26194
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26669
+ annotation?: Record<string, unknown> | null | undefined;
26195
26670
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26196
26671
  } | {
26197
26672
  id: string & import("zod").$brand<"UUID">;
@@ -26200,7 +26675,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26200
26675
  createdAt: string;
26201
26676
  createdBy: string;
26202
26677
  createdByRole: string;
26203
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26678
+ declaration: Record<string, unknown>;
26204
26679
  status: "Requested" | "Accepted" | "Rejected";
26205
26680
  type: "REJECT_CORRECTION";
26206
26681
  requestId: string;
@@ -26209,7 +26684,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26209
26684
  };
26210
26685
  createdBySignature?: string | null | undefined;
26211
26686
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26212
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26687
+ annotation?: Record<string, unknown> | null | undefined;
26213
26688
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26214
26689
  } | {
26215
26690
  id: string & import("zod").$brand<"UUID">;
@@ -26218,12 +26693,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26218
26693
  createdAt: string;
26219
26694
  createdBy: string;
26220
26695
  createdByRole: string;
26221
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26696
+ declaration: Record<string, unknown>;
26222
26697
  status: "Requested" | "Accepted" | "Rejected";
26223
26698
  type: "UNASSIGN";
26224
26699
  createdBySignature?: string | null | undefined;
26225
26700
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26226
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26701
+ annotation?: Record<string, unknown> | null | undefined;
26227
26702
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26228
26703
  } | {
26229
26704
  id: string & import("zod").$brand<"UUID">;
@@ -26232,12 +26707,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26232
26707
  createdAt: string;
26233
26708
  createdBy: string;
26234
26709
  createdByRole: string;
26235
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26710
+ declaration: Record<string, unknown>;
26236
26711
  status: "Requested" | "Accepted" | "Rejected";
26237
26712
  type: "PRINT_CERTIFICATE";
26238
26713
  createdBySignature?: string | null | undefined;
26239
26714
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26240
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26715
+ annotation?: Record<string, unknown> | null | undefined;
26241
26716
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26242
26717
  content?: {
26243
26718
  templateId?: string | undefined;
@@ -26249,29 +26724,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26249
26724
  createdAt: string;
26250
26725
  createdBy: string;
26251
26726
  createdByRole: string;
26252
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26727
+ declaration: Record<string, unknown>;
26253
26728
  status: "Requested" | "Accepted" | "Rejected";
26254
26729
  type: "READ";
26255
26730
  createdBySignature?: string | null | undefined;
26256
26731
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26257
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26258
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26259
- } | {
26260
- id: string & import("zod").$brand<"UUID">;
26261
- transactionId: string;
26262
- createdByUserType: "user" | "system";
26263
- createdAt: string;
26264
- createdBy: string;
26265
- createdByRole: string;
26266
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26267
- status: "Requested" | "Accepted" | "Rejected";
26268
- type: "EDIT";
26269
- content: {
26270
- comment?: string | undefined;
26271
- };
26272
- createdBySignature?: string | null | undefined;
26273
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26274
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26732
+ annotation?: Record<string, unknown> | null | undefined;
26275
26733
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26276
26734
  } | {
26277
26735
  id: string & import("zod").$brand<"UUID">;
@@ -26280,13 +26738,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26280
26738
  createdAt: string;
26281
26739
  createdBy: string;
26282
26740
  createdByRole: string;
26283
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26741
+ declaration: Record<string, unknown>;
26284
26742
  status: "Requested" | "Accepted" | "Rejected";
26285
26743
  type: "CUSTOM";
26286
26744
  customActionType: string;
26287
26745
  createdBySignature?: string | null | undefined;
26288
26746
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26289
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26747
+ annotation?: Record<string, unknown> | null | undefined;
26290
26748
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26291
26749
  } | {
26292
26750
  id: string & import("zod").$brand<"UUID">;
@@ -26295,7 +26753,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26295
26753
  createdAt: string;
26296
26754
  createdBy: string;
26297
26755
  createdByRole: string;
26298
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
26756
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
26299
26757
  status: "Rejected";
26300
26758
  createdBySignature?: string | null | undefined;
26301
26759
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -26322,49 +26780,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26322
26780
  meta: import("trpc-to-openapi").OpenApiMeta;
26323
26781
  }>;
26324
26782
  }>>;
26325
- edit: import("@trpc/server").TRPCBuiltRouter<{
26326
- ctx: Partial<{
26327
- token: `Bearer ${string}`;
26328
- user: {
26329
- type: "user";
26330
- id: string;
26331
- role: string;
26332
- primaryOfficeId: string & import("zod").$brand<"UUID">;
26333
- signature?: string | undefined;
26334
- } | {
26335
- type: "system";
26336
- id: string;
26337
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26338
- signature?: undefined;
26339
- primaryOfficeId?: undefined;
26340
- };
26341
- }>;
26342
- meta: import("trpc-to-openapi").OpenApiMeta;
26343
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26344
- transformer: true;
26345
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
26346
- request: import("@trpc/server").TRPCMutationProcedure<{
26347
- input: import("../commons").ActionInput;
26348
- output: import("../commons").EventDocument;
26349
- meta: import("trpc-to-openapi").OpenApiMeta;
26350
- }>;
26351
- accept: import("@trpc/server").TRPCMutationProcedure<{
26352
- input: import("../commons").ActionInput & {
26353
- actionId: string;
26354
- };
26355
- output: import("../commons").EventDocument;
26356
- meta: import("trpc-to-openapi").OpenApiMeta;
26357
- }>;
26358
- reject: import("@trpc/server").TRPCMutationProcedure<{
26359
- input: {
26360
- eventId: string;
26361
- actionId: string;
26362
- transactionId: string;
26363
- };
26364
- output: import("../commons").EventDocument;
26365
- meta: import("trpc-to-openapi").OpenApiMeta;
26366
- }>;
26367
- }>>;
26368
26783
  validate: import("@trpc/server").TRPCBuiltRouter<{
26369
26784
  ctx: Partial<{
26370
26785
  token: `Bearer ${string}`;
@@ -26374,12 +26789,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26374
26789
  role: string;
26375
26790
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26376
26791
  signature?: string | undefined;
26792
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26377
26793
  } | {
26378
26794
  type: "system";
26379
26795
  id: string;
26380
26796
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26381
26797
  signature?: undefined;
26382
26798
  primaryOfficeId?: undefined;
26799
+ administrativeAreaId?: undefined;
26383
26800
  };
26384
26801
  }>;
26385
26802
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26417,12 +26834,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26417
26834
  role: string;
26418
26835
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26419
26836
  signature?: string | undefined;
26837
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26420
26838
  } | {
26421
26839
  type: "system";
26422
26840
  id: string;
26423
26841
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26424
26842
  signature?: undefined;
26425
26843
  primaryOfficeId?: undefined;
26844
+ administrativeAreaId?: undefined;
26426
26845
  };
26427
26846
  }>;
26428
26847
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26460,12 +26879,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26460
26879
  role: string;
26461
26880
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26462
26881
  signature?: string | undefined;
26882
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26463
26883
  } | {
26464
26884
  type: "system";
26465
26885
  id: string;
26466
26886
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26467
26887
  signature?: undefined;
26468
26888
  primaryOfficeId?: undefined;
26889
+ administrativeAreaId?: undefined;
26469
26890
  };
26470
26891
  }>;
26471
26892
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26503,12 +26924,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26503
26924
  role: string;
26504
26925
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26505
26926
  signature?: string | undefined;
26927
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26506
26928
  } | {
26507
26929
  type: "system";
26508
26930
  id: string;
26509
26931
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26510
26932
  signature?: undefined;
26511
26933
  primaryOfficeId?: undefined;
26934
+ administrativeAreaId?: undefined;
26512
26935
  };
26513
26936
  }>;
26514
26937
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26546,12 +26969,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26546
26969
  role: string;
26547
26970
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26548
26971
  signature?: string | undefined;
26972
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26549
26973
  } | {
26550
26974
  type: "system";
26551
26975
  id: string;
26552
26976
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26553
26977
  signature?: undefined;
26554
26978
  primaryOfficeId?: undefined;
26979
+ administrativeAreaId?: undefined;
26555
26980
  };
26556
26981
  }>;
26557
26982
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26589,12 +27014,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26589
27014
  role: string;
26590
27015
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26591
27016
  signature?: string | undefined;
27017
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26592
27018
  } | {
26593
27019
  type: "system";
26594
27020
  id: string;
26595
27021
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26596
27022
  signature?: undefined;
26597
27023
  primaryOfficeId?: undefined;
27024
+ administrativeAreaId?: undefined;
26598
27025
  };
26599
27026
  }>;
26600
27027
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26625,12 +27052,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26625
27052
  createdAt: string;
26626
27053
  createdBy: string;
26627
27054
  createdByRole: string;
26628
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27055
+ declaration: Record<string, unknown>;
26629
27056
  status: "Requested" | "Accepted" | "Rejected";
26630
27057
  type: "CREATE";
26631
27058
  createdBySignature?: string | null | undefined;
26632
27059
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26633
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27060
+ annotation?: Record<string, unknown> | null | undefined;
26634
27061
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26635
27062
  } | {
26636
27063
  id: string & import("zod").$brand<"UUID">;
@@ -26639,12 +27066,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26639
27066
  createdAt: string;
26640
27067
  createdBy: string;
26641
27068
  createdByRole: string;
26642
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27069
+ declaration: Record<string, unknown>;
26643
27070
  status: "Requested" | "Accepted" | "Rejected";
26644
27071
  type: "VALIDATE";
26645
27072
  createdBySignature?: string | null | undefined;
26646
27073
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26647
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27074
+ annotation?: Record<string, unknown> | null | undefined;
26648
27075
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26649
27076
  } | {
26650
27077
  id: string & import("zod").$brand<"UUID">;
@@ -26653,7 +27080,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26653
27080
  createdAt: string;
26654
27081
  createdBy: string;
26655
27082
  createdByRole: string;
26656
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27083
+ declaration: Record<string, unknown>;
26657
27084
  status: "Requested" | "Accepted" | "Rejected";
26658
27085
  type: "REJECT";
26659
27086
  content: {
@@ -26661,7 +27088,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26661
27088
  };
26662
27089
  createdBySignature?: string | null | undefined;
26663
27090
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26664
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27091
+ annotation?: Record<string, unknown> | null | undefined;
26665
27092
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26666
27093
  } | {
26667
27094
  id: string & import("zod").$brand<"UUID">;
@@ -26670,7 +27097,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26670
27097
  createdAt: string;
26671
27098
  createdBy: string;
26672
27099
  createdByRole: string;
26673
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27100
+ declaration: Record<string, unknown>;
26674
27101
  status: "Requested" | "Accepted" | "Rejected";
26675
27102
  type: "DUPLICATE_DETECTED";
26676
27103
  content: {
@@ -26681,7 +27108,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26681
27108
  };
26682
27109
  createdBySignature?: string | null | undefined;
26683
27110
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26684
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27111
+ annotation?: Record<string, unknown> | null | undefined;
26685
27112
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26686
27113
  } | {
26687
27114
  id: string & import("zod").$brand<"UUID">;
@@ -26690,12 +27117,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26690
27117
  createdAt: string;
26691
27118
  createdBy: string;
26692
27119
  createdByRole: string;
26693
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27120
+ declaration: Record<string, unknown>;
26694
27121
  status: "Requested" | "Accepted" | "Rejected";
26695
27122
  type: "MARK_AS_NOT_DUPLICATE";
26696
27123
  createdBySignature?: string | null | undefined;
26697
27124
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26698
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27125
+ annotation?: Record<string, unknown> | null | undefined;
26699
27126
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26700
27127
  } | {
26701
27128
  id: string & import("zod").$brand<"UUID">;
@@ -26704,12 +27131,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26704
27131
  createdAt: string;
26705
27132
  createdBy: string;
26706
27133
  createdByRole: string;
26707
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27134
+ declaration: Record<string, unknown>;
26708
27135
  status: "Requested" | "Accepted" | "Rejected";
26709
27136
  type: "MARK_AS_DUPLICATE";
26710
27137
  createdBySignature?: string | null | undefined;
26711
27138
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26712
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27139
+ annotation?: Record<string, unknown> | null | undefined;
26713
27140
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26714
27141
  content?: {
26715
27142
  duplicateOf: string & import("zod").$brand<"UUID">;
@@ -26721,7 +27148,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26721
27148
  createdAt: string;
26722
27149
  createdBy: string;
26723
27150
  createdByRole: string;
26724
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27151
+ declaration: Record<string, unknown>;
26725
27152
  status: "Requested" | "Accepted" | "Rejected";
26726
27153
  type: "ARCHIVE";
26727
27154
  content: {
@@ -26729,7 +27156,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26729
27156
  };
26730
27157
  createdBySignature?: string | null | undefined;
26731
27158
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26732
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27159
+ annotation?: Record<string, unknown> | null | undefined;
26733
27160
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26734
27161
  } | {
26735
27162
  id: string & import("zod").$brand<"UUID">;
@@ -26738,12 +27165,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26738
27165
  createdAt: string;
26739
27166
  createdBy: string;
26740
27167
  createdByRole: string;
26741
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27168
+ declaration: Record<string, unknown>;
26742
27169
  status: "Requested" | "Accepted" | "Rejected";
26743
27170
  type: "NOTIFY";
26744
27171
  createdBySignature?: string | null | undefined;
26745
27172
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26746
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27173
+ annotation?: Record<string, unknown> | null | undefined;
26747
27174
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26748
27175
  } | {
26749
27176
  id: string & import("zod").$brand<"UUID">;
@@ -26752,12 +27179,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26752
27179
  createdAt: string;
26753
27180
  createdBy: string;
26754
27181
  createdByRole: string;
26755
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27182
+ declaration: Record<string, unknown>;
26756
27183
  status: "Requested" | "Accepted" | "Rejected";
26757
27184
  type: "REGISTER";
26758
27185
  createdBySignature?: string | null | undefined;
26759
27186
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26760
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27187
+ annotation?: Record<string, unknown> | null | undefined;
26761
27188
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26762
27189
  registrationNumber?: string | undefined;
26763
27190
  } | {
@@ -26767,12 +27194,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26767
27194
  createdAt: string;
26768
27195
  createdBy: string;
26769
27196
  createdByRole: string;
26770
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27197
+ declaration: Record<string, unknown>;
26771
27198
  status: "Requested" | "Accepted" | "Rejected";
26772
27199
  type: "DECLARE";
26773
27200
  createdBySignature?: string | null | undefined;
26774
27201
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26775
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27202
+ annotation?: Record<string, unknown> | null | undefined;
26776
27203
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26777
27204
  } | {
26778
27205
  id: string & import("zod").$brand<"UUID">;
@@ -26781,13 +27208,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26781
27208
  createdAt: string;
26782
27209
  createdBy: string;
26783
27210
  createdByRole: string;
26784
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27211
+ declaration: Record<string, unknown>;
26785
27212
  status: "Requested" | "Accepted" | "Rejected";
26786
27213
  type: "ASSIGN";
26787
27214
  assignedTo: string;
26788
27215
  createdBySignature?: string | null | undefined;
26789
27216
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26790
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27217
+ annotation?: Record<string, unknown> | null | undefined;
26791
27218
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26792
27219
  } | {
26793
27220
  id: string & import("zod").$brand<"UUID">;
@@ -26796,12 +27223,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26796
27223
  createdAt: string;
26797
27224
  createdBy: string;
26798
27225
  createdByRole: string;
26799
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27226
+ declaration: Record<string, unknown>;
26800
27227
  status: "Requested" | "Accepted" | "Rejected";
26801
27228
  type: "REQUEST_CORRECTION";
26802
27229
  createdBySignature?: string | null | undefined;
26803
27230
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26804
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27231
+ annotation?: Record<string, unknown> | null | undefined;
26805
27232
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26806
27233
  } | {
26807
27234
  id: string & import("zod").$brand<"UUID">;
@@ -26810,13 +27237,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26810
27237
  createdAt: string;
26811
27238
  createdBy: string;
26812
27239
  createdByRole: string;
26813
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27240
+ declaration: Record<string, unknown>;
26814
27241
  status: "Requested" | "Accepted" | "Rejected";
26815
27242
  type: "APPROVE_CORRECTION";
26816
27243
  requestId: string;
26817
27244
  createdBySignature?: string | null | undefined;
26818
27245
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26819
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27246
+ annotation?: Record<string, unknown> | null | undefined;
26820
27247
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26821
27248
  } | {
26822
27249
  id: string & import("zod").$brand<"UUID">;
@@ -26825,7 +27252,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26825
27252
  createdAt: string;
26826
27253
  createdBy: string;
26827
27254
  createdByRole: string;
26828
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27255
+ declaration: Record<string, unknown>;
26829
27256
  status: "Requested" | "Accepted" | "Rejected";
26830
27257
  type: "REJECT_CORRECTION";
26831
27258
  requestId: string;
@@ -26834,7 +27261,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26834
27261
  };
26835
27262
  createdBySignature?: string | null | undefined;
26836
27263
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26837
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27264
+ annotation?: Record<string, unknown> | null | undefined;
26838
27265
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26839
27266
  } | {
26840
27267
  id: string & import("zod").$brand<"UUID">;
@@ -26843,12 +27270,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26843
27270
  createdAt: string;
26844
27271
  createdBy: string;
26845
27272
  createdByRole: string;
26846
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27273
+ declaration: Record<string, unknown>;
26847
27274
  status: "Requested" | "Accepted" | "Rejected";
26848
27275
  type: "UNASSIGN";
26849
27276
  createdBySignature?: string | null | undefined;
26850
27277
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26851
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27278
+ annotation?: Record<string, unknown> | null | undefined;
26852
27279
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26853
27280
  } | {
26854
27281
  id: string & import("zod").$brand<"UUID">;
@@ -26857,12 +27284,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26857
27284
  createdAt: string;
26858
27285
  createdBy: string;
26859
27286
  createdByRole: string;
26860
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27287
+ declaration: Record<string, unknown>;
26861
27288
  status: "Requested" | "Accepted" | "Rejected";
26862
27289
  type: "PRINT_CERTIFICATE";
26863
27290
  createdBySignature?: string | null | undefined;
26864
27291
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26865
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27292
+ annotation?: Record<string, unknown> | null | undefined;
26866
27293
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26867
27294
  content?: {
26868
27295
  templateId?: string | undefined;
@@ -26874,12 +27301,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26874
27301
  createdAt: string;
26875
27302
  createdBy: string;
26876
27303
  createdByRole: string;
26877
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27304
+ declaration: Record<string, unknown>;
26878
27305
  status: "Requested" | "Accepted" | "Rejected";
26879
27306
  type: "READ";
26880
27307
  createdBySignature?: string | null | undefined;
26881
27308
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26882
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27309
+ annotation?: Record<string, unknown> | null | undefined;
26883
27310
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26884
27311
  } | {
26885
27312
  id: string & import("zod").$brand<"UUID">;
@@ -26888,30 +27315,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26888
27315
  createdAt: string;
26889
27316
  createdBy: string;
26890
27317
  createdByRole: string;
26891
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26892
- status: "Requested" | "Accepted" | "Rejected";
26893
- type: "EDIT";
26894
- content: {
26895
- comment?: string | undefined;
26896
- };
26897
- createdBySignature?: string | null | undefined;
26898
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26899
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26900
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26901
- } | {
26902
- id: string & import("zod").$brand<"UUID">;
26903
- transactionId: string;
26904
- createdByUserType: "user" | "system";
26905
- createdAt: string;
26906
- createdBy: string;
26907
- createdByRole: string;
26908
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27318
+ declaration: Record<string, unknown>;
26909
27319
  status: "Requested" | "Accepted" | "Rejected";
26910
27320
  type: "CUSTOM";
26911
27321
  customActionType: string;
26912
27322
  createdBySignature?: string | null | undefined;
26913
27323
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26914
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27324
+ annotation?: Record<string, unknown> | null | undefined;
26915
27325
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26916
27326
  } | {
26917
27327
  id: string & import("zod").$brand<"UUID">;
@@ -26920,7 +27330,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26920
27330
  createdAt: string;
26921
27331
  createdBy: string;
26922
27332
  createdByRole: string;
26923
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27333
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
26924
27334
  status: "Rejected";
26925
27335
  createdBySignature?: string | null | undefined;
26926
27336
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -26956,12 +27366,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26956
27366
  role: string;
26957
27367
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26958
27368
  signature?: string | undefined;
27369
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26959
27370
  } | {
26960
27371
  type: "system";
26961
27372
  id: string;
26962
27373
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26963
27374
  signature?: undefined;
26964
27375
  primaryOfficeId?: undefined;
27376
+ administrativeAreaId?: undefined;
26965
27377
  };
26966
27378
  }>;
26967
27379
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26992,12 +27404,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26992
27404
  createdAt: string;
26993
27405
  createdBy: string;
26994
27406
  createdByRole: string;
26995
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27407
+ declaration: Record<string, unknown>;
26996
27408
  status: "Requested" | "Accepted" | "Rejected";
26997
27409
  type: "CREATE";
26998
27410
  createdBySignature?: string | null | undefined;
26999
27411
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27000
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27412
+ annotation?: Record<string, unknown> | null | undefined;
27001
27413
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27002
27414
  } | {
27003
27415
  id: string & import("zod").$brand<"UUID">;
@@ -27006,12 +27418,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27006
27418
  createdAt: string;
27007
27419
  createdBy: string;
27008
27420
  createdByRole: string;
27009
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27421
+ declaration: Record<string, unknown>;
27010
27422
  status: "Requested" | "Accepted" | "Rejected";
27011
27423
  type: "VALIDATE";
27012
27424
  createdBySignature?: string | null | undefined;
27013
27425
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27014
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27426
+ annotation?: Record<string, unknown> | null | undefined;
27015
27427
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27016
27428
  } | {
27017
27429
  id: string & import("zod").$brand<"UUID">;
@@ -27020,7 +27432,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27020
27432
  createdAt: string;
27021
27433
  createdBy: string;
27022
27434
  createdByRole: string;
27023
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27435
+ declaration: Record<string, unknown>;
27024
27436
  status: "Requested" | "Accepted" | "Rejected";
27025
27437
  type: "REJECT";
27026
27438
  content: {
@@ -27028,7 +27440,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27028
27440
  };
27029
27441
  createdBySignature?: string | null | undefined;
27030
27442
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27031
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27443
+ annotation?: Record<string, unknown> | null | undefined;
27032
27444
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27033
27445
  } | {
27034
27446
  id: string & import("zod").$brand<"UUID">;
@@ -27037,7 +27449,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27037
27449
  createdAt: string;
27038
27450
  createdBy: string;
27039
27451
  createdByRole: string;
27040
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27452
+ declaration: Record<string, unknown>;
27041
27453
  status: "Requested" | "Accepted" | "Rejected";
27042
27454
  type: "DUPLICATE_DETECTED";
27043
27455
  content: {
@@ -27048,7 +27460,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27048
27460
  };
27049
27461
  createdBySignature?: string | null | undefined;
27050
27462
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27051
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27463
+ annotation?: Record<string, unknown> | null | undefined;
27052
27464
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27053
27465
  } | {
27054
27466
  id: string & import("zod").$brand<"UUID">;
@@ -27057,12 +27469,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27057
27469
  createdAt: string;
27058
27470
  createdBy: string;
27059
27471
  createdByRole: string;
27060
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27472
+ declaration: Record<string, unknown>;
27061
27473
  status: "Requested" | "Accepted" | "Rejected";
27062
27474
  type: "MARK_AS_NOT_DUPLICATE";
27063
27475
  createdBySignature?: string | null | undefined;
27064
27476
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27065
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27477
+ annotation?: Record<string, unknown> | null | undefined;
27066
27478
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27067
27479
  } | {
27068
27480
  id: string & import("zod").$brand<"UUID">;
@@ -27071,12 +27483,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27071
27483
  createdAt: string;
27072
27484
  createdBy: string;
27073
27485
  createdByRole: string;
27074
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27486
+ declaration: Record<string, unknown>;
27075
27487
  status: "Requested" | "Accepted" | "Rejected";
27076
27488
  type: "MARK_AS_DUPLICATE";
27077
27489
  createdBySignature?: string | null | undefined;
27078
27490
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27079
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27491
+ annotation?: Record<string, unknown> | null | undefined;
27080
27492
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27081
27493
  content?: {
27082
27494
  duplicateOf: string & import("zod").$brand<"UUID">;
@@ -27088,7 +27500,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27088
27500
  createdAt: string;
27089
27501
  createdBy: string;
27090
27502
  createdByRole: string;
27091
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27503
+ declaration: Record<string, unknown>;
27092
27504
  status: "Requested" | "Accepted" | "Rejected";
27093
27505
  type: "ARCHIVE";
27094
27506
  content: {
@@ -27096,7 +27508,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27096
27508
  };
27097
27509
  createdBySignature?: string | null | undefined;
27098
27510
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27099
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27511
+ annotation?: Record<string, unknown> | null | undefined;
27100
27512
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27101
27513
  } | {
27102
27514
  id: string & import("zod").$brand<"UUID">;
@@ -27105,12 +27517,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27105
27517
  createdAt: string;
27106
27518
  createdBy: string;
27107
27519
  createdByRole: string;
27108
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27520
+ declaration: Record<string, unknown>;
27109
27521
  status: "Requested" | "Accepted" | "Rejected";
27110
27522
  type: "NOTIFY";
27111
27523
  createdBySignature?: string | null | undefined;
27112
27524
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27113
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27525
+ annotation?: Record<string, unknown> | null | undefined;
27114
27526
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27115
27527
  } | {
27116
27528
  id: string & import("zod").$brand<"UUID">;
@@ -27119,12 +27531,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27119
27531
  createdAt: string;
27120
27532
  createdBy: string;
27121
27533
  createdByRole: string;
27122
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27534
+ declaration: Record<string, unknown>;
27123
27535
  status: "Requested" | "Accepted" | "Rejected";
27124
27536
  type: "REGISTER";
27125
27537
  createdBySignature?: string | null | undefined;
27126
27538
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27127
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27539
+ annotation?: Record<string, unknown> | null | undefined;
27128
27540
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27129
27541
  registrationNumber?: string | undefined;
27130
27542
  } | {
@@ -27134,12 +27546,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27134
27546
  createdAt: string;
27135
27547
  createdBy: string;
27136
27548
  createdByRole: string;
27137
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27549
+ declaration: Record<string, unknown>;
27138
27550
  status: "Requested" | "Accepted" | "Rejected";
27139
27551
  type: "DECLARE";
27140
27552
  createdBySignature?: string | null | undefined;
27141
27553
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27142
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27554
+ annotation?: Record<string, unknown> | null | undefined;
27143
27555
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27144
27556
  } | {
27145
27557
  id: string & import("zod").$brand<"UUID">;
@@ -27148,13 +27560,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27148
27560
  createdAt: string;
27149
27561
  createdBy: string;
27150
27562
  createdByRole: string;
27151
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27563
+ declaration: Record<string, unknown>;
27152
27564
  status: "Requested" | "Accepted" | "Rejected";
27153
27565
  type: "ASSIGN";
27154
27566
  assignedTo: string;
27155
27567
  createdBySignature?: string | null | undefined;
27156
27568
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27157
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27569
+ annotation?: Record<string, unknown> | null | undefined;
27158
27570
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27159
27571
  } | {
27160
27572
  id: string & import("zod").$brand<"UUID">;
@@ -27163,12 +27575,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27163
27575
  createdAt: string;
27164
27576
  createdBy: string;
27165
27577
  createdByRole: string;
27166
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27578
+ declaration: Record<string, unknown>;
27167
27579
  status: "Requested" | "Accepted" | "Rejected";
27168
27580
  type: "REQUEST_CORRECTION";
27169
27581
  createdBySignature?: string | null | undefined;
27170
27582
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27171
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27583
+ annotation?: Record<string, unknown> | null | undefined;
27172
27584
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27173
27585
  } | {
27174
27586
  id: string & import("zod").$brand<"UUID">;
@@ -27177,13 +27589,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27177
27589
  createdAt: string;
27178
27590
  createdBy: string;
27179
27591
  createdByRole: string;
27180
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27592
+ declaration: Record<string, unknown>;
27181
27593
  status: "Requested" | "Accepted" | "Rejected";
27182
27594
  type: "APPROVE_CORRECTION";
27183
27595
  requestId: string;
27184
27596
  createdBySignature?: string | null | undefined;
27185
27597
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27186
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27598
+ annotation?: Record<string, unknown> | null | undefined;
27187
27599
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27188
27600
  } | {
27189
27601
  id: string & import("zod").$brand<"UUID">;
@@ -27192,7 +27604,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27192
27604
  createdAt: string;
27193
27605
  createdBy: string;
27194
27606
  createdByRole: string;
27195
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27607
+ declaration: Record<string, unknown>;
27196
27608
  status: "Requested" | "Accepted" | "Rejected";
27197
27609
  type: "REJECT_CORRECTION";
27198
27610
  requestId: string;
@@ -27201,7 +27613,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27201
27613
  };
27202
27614
  createdBySignature?: string | null | undefined;
27203
27615
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27204
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27616
+ annotation?: Record<string, unknown> | null | undefined;
27205
27617
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27206
27618
  } | {
27207
27619
  id: string & import("zod").$brand<"UUID">;
@@ -27210,12 +27622,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27210
27622
  createdAt: string;
27211
27623
  createdBy: string;
27212
27624
  createdByRole: string;
27213
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27625
+ declaration: Record<string, unknown>;
27214
27626
  status: "Requested" | "Accepted" | "Rejected";
27215
27627
  type: "UNASSIGN";
27216
27628
  createdBySignature?: string | null | undefined;
27217
27629
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27218
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27630
+ annotation?: Record<string, unknown> | null | undefined;
27219
27631
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27220
27632
  } | {
27221
27633
  id: string & import("zod").$brand<"UUID">;
@@ -27224,12 +27636,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27224
27636
  createdAt: string;
27225
27637
  createdBy: string;
27226
27638
  createdByRole: string;
27227
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27639
+ declaration: Record<string, unknown>;
27228
27640
  status: "Requested" | "Accepted" | "Rejected";
27229
27641
  type: "PRINT_CERTIFICATE";
27230
27642
  createdBySignature?: string | null | undefined;
27231
27643
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27232
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27644
+ annotation?: Record<string, unknown> | null | undefined;
27233
27645
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27234
27646
  content?: {
27235
27647
  templateId?: string | undefined;
@@ -27241,29 +27653,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27241
27653
  createdAt: string;
27242
27654
  createdBy: string;
27243
27655
  createdByRole: string;
27244
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27656
+ declaration: Record<string, unknown>;
27245
27657
  status: "Requested" | "Accepted" | "Rejected";
27246
27658
  type: "READ";
27247
27659
  createdBySignature?: string | null | undefined;
27248
27660
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27249
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27250
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27251
- } | {
27252
- id: string & import("zod").$brand<"UUID">;
27253
- transactionId: string;
27254
- createdByUserType: "user" | "system";
27255
- createdAt: string;
27256
- createdBy: string;
27257
- createdByRole: string;
27258
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27259
- status: "Requested" | "Accepted" | "Rejected";
27260
- type: "EDIT";
27261
- content: {
27262
- comment?: string | undefined;
27263
- };
27264
- createdBySignature?: string | null | undefined;
27265
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27266
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27661
+ annotation?: Record<string, unknown> | null | undefined;
27267
27662
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27268
27663
  } | {
27269
27664
  id: string & import("zod").$brand<"UUID">;
@@ -27272,13 +27667,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27272
27667
  createdAt: string;
27273
27668
  createdBy: string;
27274
27669
  createdByRole: string;
27275
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27670
+ declaration: Record<string, unknown>;
27276
27671
  status: "Requested" | "Accepted" | "Rejected";
27277
27672
  type: "CUSTOM";
27278
27673
  customActionType: string;
27279
27674
  createdBySignature?: string | null | undefined;
27280
27675
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27281
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27676
+ annotation?: Record<string, unknown> | null | undefined;
27282
27677
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27283
27678
  } | {
27284
27679
  id: string & import("zod").$brand<"UUID">;
@@ -27287,7 +27682,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27287
27682
  createdAt: string;
27288
27683
  createdBy: string;
27289
27684
  createdByRole: string;
27290
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27685
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
27291
27686
  status: "Rejected";
27292
27687
  createdBySignature?: string | null | undefined;
27293
27688
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27321,12 +27716,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27321
27716
  createdAt: string;
27322
27717
  createdBy: string;
27323
27718
  createdByRole: string;
27324
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27719
+ declaration: Record<string, unknown>;
27325
27720
  status: "Requested" | "Accepted" | "Rejected";
27326
27721
  type: "CREATE";
27327
27722
  createdBySignature?: string | null | undefined;
27328
27723
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27329
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27724
+ annotation?: Record<string, unknown> | null | undefined;
27330
27725
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27331
27726
  } | {
27332
27727
  id: string & import("zod").$brand<"UUID">;
@@ -27335,12 +27730,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27335
27730
  createdAt: string;
27336
27731
  createdBy: string;
27337
27732
  createdByRole: string;
27338
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27733
+ declaration: Record<string, unknown>;
27339
27734
  status: "Requested" | "Accepted" | "Rejected";
27340
27735
  type: "VALIDATE";
27341
27736
  createdBySignature?: string | null | undefined;
27342
27737
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27343
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27738
+ annotation?: Record<string, unknown> | null | undefined;
27344
27739
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27345
27740
  } | {
27346
27741
  id: string & import("zod").$brand<"UUID">;
@@ -27349,7 +27744,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27349
27744
  createdAt: string;
27350
27745
  createdBy: string;
27351
27746
  createdByRole: string;
27352
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27747
+ declaration: Record<string, unknown>;
27353
27748
  status: "Requested" | "Accepted" | "Rejected";
27354
27749
  type: "REJECT";
27355
27750
  content: {
@@ -27357,7 +27752,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27357
27752
  };
27358
27753
  createdBySignature?: string | null | undefined;
27359
27754
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27360
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27755
+ annotation?: Record<string, unknown> | null | undefined;
27361
27756
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27362
27757
  } | {
27363
27758
  id: string & import("zod").$brand<"UUID">;
@@ -27366,7 +27761,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27366
27761
  createdAt: string;
27367
27762
  createdBy: string;
27368
27763
  createdByRole: string;
27369
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27764
+ declaration: Record<string, unknown>;
27370
27765
  status: "Requested" | "Accepted" | "Rejected";
27371
27766
  type: "DUPLICATE_DETECTED";
27372
27767
  content: {
@@ -27377,7 +27772,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27377
27772
  };
27378
27773
  createdBySignature?: string | null | undefined;
27379
27774
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27380
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27775
+ annotation?: Record<string, unknown> | null | undefined;
27381
27776
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27382
27777
  } | {
27383
27778
  id: string & import("zod").$brand<"UUID">;
@@ -27386,12 +27781,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27386
27781
  createdAt: string;
27387
27782
  createdBy: string;
27388
27783
  createdByRole: string;
27389
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27784
+ declaration: Record<string, unknown>;
27390
27785
  status: "Requested" | "Accepted" | "Rejected";
27391
27786
  type: "MARK_AS_NOT_DUPLICATE";
27392
27787
  createdBySignature?: string | null | undefined;
27393
27788
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27394
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27789
+ annotation?: Record<string, unknown> | null | undefined;
27395
27790
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27396
27791
  } | {
27397
27792
  id: string & import("zod").$brand<"UUID">;
@@ -27400,12 +27795,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27400
27795
  createdAt: string;
27401
27796
  createdBy: string;
27402
27797
  createdByRole: string;
27403
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27798
+ declaration: Record<string, unknown>;
27404
27799
  status: "Requested" | "Accepted" | "Rejected";
27405
27800
  type: "MARK_AS_DUPLICATE";
27406
27801
  createdBySignature?: string | null | undefined;
27407
27802
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27408
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27803
+ annotation?: Record<string, unknown> | null | undefined;
27409
27804
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27410
27805
  content?: {
27411
27806
  duplicateOf: string & import("zod").$brand<"UUID">;
@@ -27417,7 +27812,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27417
27812
  createdAt: string;
27418
27813
  createdBy: string;
27419
27814
  createdByRole: string;
27420
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27815
+ declaration: Record<string, unknown>;
27421
27816
  status: "Requested" | "Accepted" | "Rejected";
27422
27817
  type: "ARCHIVE";
27423
27818
  content: {
@@ -27425,7 +27820,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27425
27820
  };
27426
27821
  createdBySignature?: string | null | undefined;
27427
27822
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27428
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27823
+ annotation?: Record<string, unknown> | null | undefined;
27429
27824
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27430
27825
  } | {
27431
27826
  id: string & import("zod").$brand<"UUID">;
@@ -27434,12 +27829,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27434
27829
  createdAt: string;
27435
27830
  createdBy: string;
27436
27831
  createdByRole: string;
27437
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27832
+ declaration: Record<string, unknown>;
27438
27833
  status: "Requested" | "Accepted" | "Rejected";
27439
27834
  type: "NOTIFY";
27440
27835
  createdBySignature?: string | null | undefined;
27441
27836
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27442
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27837
+ annotation?: Record<string, unknown> | null | undefined;
27443
27838
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27444
27839
  } | {
27445
27840
  id: string & import("zod").$brand<"UUID">;
@@ -27448,12 +27843,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27448
27843
  createdAt: string;
27449
27844
  createdBy: string;
27450
27845
  createdByRole: string;
27451
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27846
+ declaration: Record<string, unknown>;
27452
27847
  status: "Requested" | "Accepted" | "Rejected";
27453
27848
  type: "REGISTER";
27454
27849
  createdBySignature?: string | null | undefined;
27455
27850
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27456
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27851
+ annotation?: Record<string, unknown> | null | undefined;
27457
27852
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27458
27853
  registrationNumber?: string | undefined;
27459
27854
  } | {
@@ -27463,12 +27858,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27463
27858
  createdAt: string;
27464
27859
  createdBy: string;
27465
27860
  createdByRole: string;
27466
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27861
+ declaration: Record<string, unknown>;
27467
27862
  status: "Requested" | "Accepted" | "Rejected";
27468
27863
  type: "DECLARE";
27469
27864
  createdBySignature?: string | null | undefined;
27470
27865
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27471
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27866
+ annotation?: Record<string, unknown> | null | undefined;
27472
27867
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27473
27868
  } | {
27474
27869
  id: string & import("zod").$brand<"UUID">;
@@ -27477,13 +27872,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27477
27872
  createdAt: string;
27478
27873
  createdBy: string;
27479
27874
  createdByRole: string;
27480
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27875
+ declaration: Record<string, unknown>;
27481
27876
  status: "Requested" | "Accepted" | "Rejected";
27482
27877
  type: "ASSIGN";
27483
27878
  assignedTo: string;
27484
27879
  createdBySignature?: string | null | undefined;
27485
27880
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27486
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27881
+ annotation?: Record<string, unknown> | null | undefined;
27487
27882
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27488
27883
  } | {
27489
27884
  id: string & import("zod").$brand<"UUID">;
@@ -27492,12 +27887,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27492
27887
  createdAt: string;
27493
27888
  createdBy: string;
27494
27889
  createdByRole: string;
27495
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27890
+ declaration: Record<string, unknown>;
27496
27891
  status: "Requested" | "Accepted" | "Rejected";
27497
27892
  type: "REQUEST_CORRECTION";
27498
27893
  createdBySignature?: string | null | undefined;
27499
27894
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27500
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27895
+ annotation?: Record<string, unknown> | null | undefined;
27501
27896
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27502
27897
  } | {
27503
27898
  id: string & import("zod").$brand<"UUID">;
@@ -27506,13 +27901,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27506
27901
  createdAt: string;
27507
27902
  createdBy: string;
27508
27903
  createdByRole: string;
27509
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27904
+ declaration: Record<string, unknown>;
27510
27905
  status: "Requested" | "Accepted" | "Rejected";
27511
27906
  type: "APPROVE_CORRECTION";
27512
27907
  requestId: string;
27513
27908
  createdBySignature?: string | null | undefined;
27514
27909
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27515
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27910
+ annotation?: Record<string, unknown> | null | undefined;
27516
27911
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27517
27912
  } | {
27518
27913
  id: string & import("zod").$brand<"UUID">;
@@ -27521,7 +27916,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27521
27916
  createdAt: string;
27522
27917
  createdBy: string;
27523
27918
  createdByRole: string;
27524
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27919
+ declaration: Record<string, unknown>;
27525
27920
  status: "Requested" | "Accepted" | "Rejected";
27526
27921
  type: "REJECT_CORRECTION";
27527
27922
  requestId: string;
@@ -27530,7 +27925,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27530
27925
  };
27531
27926
  createdBySignature?: string | null | undefined;
27532
27927
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27533
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27928
+ annotation?: Record<string, unknown> | null | undefined;
27534
27929
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27535
27930
  } | {
27536
27931
  id: string & import("zod").$brand<"UUID">;
@@ -27539,12 +27934,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27539
27934
  createdAt: string;
27540
27935
  createdBy: string;
27541
27936
  createdByRole: string;
27542
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27937
+ declaration: Record<string, unknown>;
27543
27938
  status: "Requested" | "Accepted" | "Rejected";
27544
27939
  type: "UNASSIGN";
27545
27940
  createdBySignature?: string | null | undefined;
27546
27941
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27547
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27942
+ annotation?: Record<string, unknown> | null | undefined;
27548
27943
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27549
27944
  } | {
27550
27945
  id: string & import("zod").$brand<"UUID">;
@@ -27553,12 +27948,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27553
27948
  createdAt: string;
27554
27949
  createdBy: string;
27555
27950
  createdByRole: string;
27556
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27951
+ declaration: Record<string, unknown>;
27557
27952
  status: "Requested" | "Accepted" | "Rejected";
27558
27953
  type: "PRINT_CERTIFICATE";
27559
27954
  createdBySignature?: string | null | undefined;
27560
27955
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27561
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27956
+ annotation?: Record<string, unknown> | null | undefined;
27562
27957
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27563
27958
  content?: {
27564
27959
  templateId?: string | undefined;
@@ -27570,12 +27965,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27570
27965
  createdAt: string;
27571
27966
  createdBy: string;
27572
27967
  createdByRole: string;
27573
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27968
+ declaration: Record<string, unknown>;
27574
27969
  status: "Requested" | "Accepted" | "Rejected";
27575
27970
  type: "READ";
27576
27971
  createdBySignature?: string | null | undefined;
27577
27972
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27578
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27973
+ annotation?: Record<string, unknown> | null | undefined;
27579
27974
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27580
27975
  } | {
27581
27976
  id: string & import("zod").$brand<"UUID">;
@@ -27584,30 +27979,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27584
27979
  createdAt: string;
27585
27980
  createdBy: string;
27586
27981
  createdByRole: string;
27587
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27588
- status: "Requested" | "Accepted" | "Rejected";
27589
- type: "EDIT";
27590
- content: {
27591
- comment?: string | undefined;
27592
- };
27593
- createdBySignature?: string | null | undefined;
27594
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27595
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27596
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27597
- } | {
27598
- id: string & import("zod").$brand<"UUID">;
27599
- transactionId: string;
27600
- createdByUserType: "user" | "system";
27601
- createdAt: string;
27602
- createdBy: string;
27603
- createdByRole: string;
27604
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27982
+ declaration: Record<string, unknown>;
27605
27983
  status: "Requested" | "Accepted" | "Rejected";
27606
27984
  type: "CUSTOM";
27607
27985
  customActionType: string;
27608
27986
  createdBySignature?: string | null | undefined;
27609
27987
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27610
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27988
+ annotation?: Record<string, unknown> | null | undefined;
27611
27989
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27612
27990
  } | {
27613
27991
  id: string & import("zod").$brand<"UUID">;
@@ -27616,7 +27994,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27616
27994
  createdAt: string;
27617
27995
  createdBy: string;
27618
27996
  createdByRole: string;
27619
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27997
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
27620
27998
  status: "Rejected";
27621
27999
  createdBySignature?: string | null | undefined;
27622
28000
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27636,12 +28014,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27636
28014
  role: string;
27637
28015
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27638
28016
  signature?: string | undefined;
28017
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27639
28018
  } | {
27640
28019
  type: "system";
27641
28020
  id: string;
27642
28021
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27643
28022
  signature?: undefined;
27644
28023
  primaryOfficeId?: undefined;
28024
+ administrativeAreaId?: undefined;
27645
28025
  };
27646
28026
  }>;
27647
28027
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27657,12 +28037,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27657
28037
  role: string;
27658
28038
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27659
28039
  signature?: string | undefined;
28040
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27660
28041
  } | {
27661
28042
  type: "system";
27662
28043
  id: string;
27663
28044
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27664
28045
  signature?: undefined;
27665
28046
  primaryOfficeId?: undefined;
28047
+ administrativeAreaId?: undefined;
27666
28048
  };
27667
28049
  }>;
27668
28050
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27700,12 +28082,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27700
28082
  role: string;
27701
28083
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27702
28084
  signature?: string | undefined;
28085
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27703
28086
  } | {
27704
28087
  type: "system";
27705
28088
  id: string;
27706
28089
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27707
28090
  signature?: undefined;
27708
28091
  primaryOfficeId?: undefined;
28092
+ administrativeAreaId?: undefined;
27709
28093
  };
27710
28094
  }>;
27711
28095
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27743,12 +28127,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27743
28127
  role: string;
27744
28128
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27745
28129
  signature?: string | undefined;
28130
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27746
28131
  } | {
27747
28132
  type: "system";
27748
28133
  id: string;
27749
28134
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27750
28135
  signature?: undefined;
27751
28136
  primaryOfficeId?: undefined;
28137
+ administrativeAreaId?: undefined;
27752
28138
  };
27753
28139
  }>;
27754
28140
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27787,12 +28173,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27787
28173
  role: string;
27788
28174
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27789
28175
  signature?: string | undefined;
28176
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27790
28177
  } | {
27791
28178
  type: "system";
27792
28179
  id: string;
27793
28180
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27794
28181
  signature?: undefined;
27795
28182
  primaryOfficeId?: undefined;
28183
+ administrativeAreaId?: undefined;
27796
28184
  };
27797
28185
  }>;
27798
28186
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27825,12 +28213,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27825
28213
  createdAt: string;
27826
28214
  createdBy: string;
27827
28215
  createdByRole: string;
27828
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28216
+ declaration: Record<string, unknown>;
27829
28217
  status: "Requested" | "Accepted" | "Rejected";
27830
28218
  type: "CREATE";
27831
28219
  createdBySignature?: string | null | undefined;
27832
28220
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27833
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28221
+ annotation?: Record<string, unknown> | null | undefined;
27834
28222
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27835
28223
  } | {
27836
28224
  id: string & import("zod").$brand<"UUID">;
@@ -27839,12 +28227,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27839
28227
  createdAt: string;
27840
28228
  createdBy: string;
27841
28229
  createdByRole: string;
27842
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28230
+ declaration: Record<string, unknown>;
27843
28231
  status: "Requested" | "Accepted" | "Rejected";
27844
28232
  type: "VALIDATE";
27845
28233
  createdBySignature?: string | null | undefined;
27846
28234
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27847
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28235
+ annotation?: Record<string, unknown> | null | undefined;
27848
28236
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27849
28237
  } | {
27850
28238
  id: string & import("zod").$brand<"UUID">;
@@ -27853,7 +28241,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27853
28241
  createdAt: string;
27854
28242
  createdBy: string;
27855
28243
  createdByRole: string;
27856
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28244
+ declaration: Record<string, unknown>;
27857
28245
  status: "Requested" | "Accepted" | "Rejected";
27858
28246
  type: "REJECT";
27859
28247
  content: {
@@ -27861,7 +28249,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27861
28249
  };
27862
28250
  createdBySignature?: string | null | undefined;
27863
28251
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27864
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28252
+ annotation?: Record<string, unknown> | null | undefined;
27865
28253
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27866
28254
  } | {
27867
28255
  id: string & import("zod").$brand<"UUID">;
@@ -27870,7 +28258,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27870
28258
  createdAt: string;
27871
28259
  createdBy: string;
27872
28260
  createdByRole: string;
27873
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28261
+ declaration: Record<string, unknown>;
27874
28262
  status: "Requested" | "Accepted" | "Rejected";
27875
28263
  type: "DUPLICATE_DETECTED";
27876
28264
  content: {
@@ -27881,7 +28269,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27881
28269
  };
27882
28270
  createdBySignature?: string | null | undefined;
27883
28271
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27884
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28272
+ annotation?: Record<string, unknown> | null | undefined;
27885
28273
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27886
28274
  } | {
27887
28275
  id: string & import("zod").$brand<"UUID">;
@@ -27890,12 +28278,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27890
28278
  createdAt: string;
27891
28279
  createdBy: string;
27892
28280
  createdByRole: string;
27893
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28281
+ declaration: Record<string, unknown>;
27894
28282
  status: "Requested" | "Accepted" | "Rejected";
27895
28283
  type: "MARK_AS_NOT_DUPLICATE";
27896
28284
  createdBySignature?: string | null | undefined;
27897
28285
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27898
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28286
+ annotation?: Record<string, unknown> | null | undefined;
27899
28287
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27900
28288
  } | {
27901
28289
  id: string & import("zod").$brand<"UUID">;
@@ -27904,12 +28292,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27904
28292
  createdAt: string;
27905
28293
  createdBy: string;
27906
28294
  createdByRole: string;
27907
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28295
+ declaration: Record<string, unknown>;
27908
28296
  status: "Requested" | "Accepted" | "Rejected";
27909
28297
  type: "MARK_AS_DUPLICATE";
27910
28298
  createdBySignature?: string | null | undefined;
27911
28299
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27912
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28300
+ annotation?: Record<string, unknown> | null | undefined;
27913
28301
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27914
28302
  content?: {
27915
28303
  duplicateOf: string & import("zod").$brand<"UUID">;
@@ -27921,7 +28309,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27921
28309
  createdAt: string;
27922
28310
  createdBy: string;
27923
28311
  createdByRole: string;
27924
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28312
+ declaration: Record<string, unknown>;
27925
28313
  status: "Requested" | "Accepted" | "Rejected";
27926
28314
  type: "ARCHIVE";
27927
28315
  content: {
@@ -27929,7 +28317,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27929
28317
  };
27930
28318
  createdBySignature?: string | null | undefined;
27931
28319
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27932
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28320
+ annotation?: Record<string, unknown> | null | undefined;
27933
28321
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27934
28322
  } | {
27935
28323
  id: string & import("zod").$brand<"UUID">;
@@ -27938,12 +28326,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27938
28326
  createdAt: string;
27939
28327
  createdBy: string;
27940
28328
  createdByRole: string;
27941
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28329
+ declaration: Record<string, unknown>;
27942
28330
  status: "Requested" | "Accepted" | "Rejected";
27943
28331
  type: "NOTIFY";
27944
28332
  createdBySignature?: string | null | undefined;
27945
28333
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27946
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28334
+ annotation?: Record<string, unknown> | null | undefined;
27947
28335
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27948
28336
  } | {
27949
28337
  id: string & import("zod").$brand<"UUID">;
@@ -27952,12 +28340,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27952
28340
  createdAt: string;
27953
28341
  createdBy: string;
27954
28342
  createdByRole: string;
27955
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28343
+ declaration: Record<string, unknown>;
27956
28344
  status: "Requested" | "Accepted" | "Rejected";
27957
28345
  type: "REGISTER";
27958
28346
  createdBySignature?: string | null | undefined;
27959
28347
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27960
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28348
+ annotation?: Record<string, unknown> | null | undefined;
27961
28349
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27962
28350
  registrationNumber?: string | undefined;
27963
28351
  } | {
@@ -27967,12 +28355,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27967
28355
  createdAt: string;
27968
28356
  createdBy: string;
27969
28357
  createdByRole: string;
27970
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28358
+ declaration: Record<string, unknown>;
27971
28359
  status: "Requested" | "Accepted" | "Rejected";
27972
28360
  type: "DECLARE";
27973
28361
  createdBySignature?: string | null | undefined;
27974
28362
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27975
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28363
+ annotation?: Record<string, unknown> | null | undefined;
27976
28364
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27977
28365
  } | {
27978
28366
  id: string & import("zod").$brand<"UUID">;
@@ -27981,13 +28369,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27981
28369
  createdAt: string;
27982
28370
  createdBy: string;
27983
28371
  createdByRole: string;
27984
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28372
+ declaration: Record<string, unknown>;
27985
28373
  status: "Requested" | "Accepted" | "Rejected";
27986
28374
  type: "ASSIGN";
27987
28375
  assignedTo: string;
27988
28376
  createdBySignature?: string | null | undefined;
27989
28377
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27990
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28378
+ annotation?: Record<string, unknown> | null | undefined;
27991
28379
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27992
28380
  } | {
27993
28381
  id: string & import("zod").$brand<"UUID">;
@@ -27996,12 +28384,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27996
28384
  createdAt: string;
27997
28385
  createdBy: string;
27998
28386
  createdByRole: string;
27999
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28387
+ declaration: Record<string, unknown>;
28000
28388
  status: "Requested" | "Accepted" | "Rejected";
28001
28389
  type: "REQUEST_CORRECTION";
28002
28390
  createdBySignature?: string | null | undefined;
28003
28391
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28004
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28392
+ annotation?: Record<string, unknown> | null | undefined;
28005
28393
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28006
28394
  } | {
28007
28395
  id: string & import("zod").$brand<"UUID">;
@@ -28010,13 +28398,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28010
28398
  createdAt: string;
28011
28399
  createdBy: string;
28012
28400
  createdByRole: string;
28013
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28401
+ declaration: Record<string, unknown>;
28014
28402
  status: "Requested" | "Accepted" | "Rejected";
28015
28403
  type: "APPROVE_CORRECTION";
28016
28404
  requestId: string;
28017
28405
  createdBySignature?: string | null | undefined;
28018
28406
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28019
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28407
+ annotation?: Record<string, unknown> | null | undefined;
28020
28408
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28021
28409
  } | {
28022
28410
  id: string & import("zod").$brand<"UUID">;
@@ -28025,7 +28413,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28025
28413
  createdAt: string;
28026
28414
  createdBy: string;
28027
28415
  createdByRole: string;
28028
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28416
+ declaration: Record<string, unknown>;
28029
28417
  status: "Requested" | "Accepted" | "Rejected";
28030
28418
  type: "REJECT_CORRECTION";
28031
28419
  requestId: string;
@@ -28034,7 +28422,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28034
28422
  };
28035
28423
  createdBySignature?: string | null | undefined;
28036
28424
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28037
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28425
+ annotation?: Record<string, unknown> | null | undefined;
28038
28426
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28039
28427
  } | {
28040
28428
  id: string & import("zod").$brand<"UUID">;
@@ -28043,12 +28431,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28043
28431
  createdAt: string;
28044
28432
  createdBy: string;
28045
28433
  createdByRole: string;
28046
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28434
+ declaration: Record<string, unknown>;
28047
28435
  status: "Requested" | "Accepted" | "Rejected";
28048
28436
  type: "UNASSIGN";
28049
28437
  createdBySignature?: string | null | undefined;
28050
28438
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28051
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28439
+ annotation?: Record<string, unknown> | null | undefined;
28052
28440
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28053
28441
  } | {
28054
28442
  id: string & import("zod").$brand<"UUID">;
@@ -28057,12 +28445,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28057
28445
  createdAt: string;
28058
28446
  createdBy: string;
28059
28447
  createdByRole: string;
28060
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28448
+ declaration: Record<string, unknown>;
28061
28449
  status: "Requested" | "Accepted" | "Rejected";
28062
28450
  type: "PRINT_CERTIFICATE";
28063
28451
  createdBySignature?: string | null | undefined;
28064
28452
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28065
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28453
+ annotation?: Record<string, unknown> | null | undefined;
28066
28454
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28067
28455
  content?: {
28068
28456
  templateId?: string | undefined;
@@ -28074,12 +28462,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28074
28462
  createdAt: string;
28075
28463
  createdBy: string;
28076
28464
  createdByRole: string;
28077
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28465
+ declaration: Record<string, unknown>;
28078
28466
  status: "Requested" | "Accepted" | "Rejected";
28079
28467
  type: "READ";
28080
28468
  createdBySignature?: string | null | undefined;
28081
28469
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28082
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28470
+ annotation?: Record<string, unknown> | null | undefined;
28083
28471
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28084
28472
  } | {
28085
28473
  id: string & import("zod").$brand<"UUID">;
@@ -28088,30 +28476,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28088
28476
  createdAt: string;
28089
28477
  createdBy: string;
28090
28478
  createdByRole: string;
28091
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28092
- status: "Requested" | "Accepted" | "Rejected";
28093
- type: "EDIT";
28094
- content: {
28095
- comment?: string | undefined;
28096
- };
28097
- createdBySignature?: string | null | undefined;
28098
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28099
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28100
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28101
- } | {
28102
- id: string & import("zod").$brand<"UUID">;
28103
- transactionId: string;
28104
- createdByUserType: "user" | "system";
28105
- createdAt: string;
28106
- createdBy: string;
28107
- createdByRole: string;
28108
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28479
+ declaration: Record<string, unknown>;
28109
28480
  status: "Requested" | "Accepted" | "Rejected";
28110
28481
  type: "CUSTOM";
28111
28482
  customActionType: string;
28112
28483
  createdBySignature?: string | null | undefined;
28113
28484
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28114
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28485
+ annotation?: Record<string, unknown> | null | undefined;
28115
28486
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28116
28487
  } | {
28117
28488
  id: string & import("zod").$brand<"UUID">;
@@ -28120,7 +28491,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28120
28491
  createdAt: string;
28121
28492
  createdBy: string;
28122
28493
  createdByRole: string;
28123
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
28494
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
28124
28495
  status: "Rejected";
28125
28496
  createdBySignature?: string | null | undefined;
28126
28497
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -28153,12 +28524,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28153
28524
  createdAt: string;
28154
28525
  createdBy: string;
28155
28526
  createdByRole: string;
28156
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28527
+ declaration: Record<string, unknown>;
28157
28528
  status: "Requested" | "Accepted" | "Rejected";
28158
28529
  type: "CREATE";
28159
28530
  createdBySignature?: string | null | undefined;
28160
28531
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28161
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28532
+ annotation?: Record<string, unknown> | null | undefined;
28162
28533
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28163
28534
  } | {
28164
28535
  id: string & import("zod").$brand<"UUID">;
@@ -28167,12 +28538,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28167
28538
  createdAt: string;
28168
28539
  createdBy: string;
28169
28540
  createdByRole: string;
28170
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28541
+ declaration: Record<string, unknown>;
28171
28542
  status: "Requested" | "Accepted" | "Rejected";
28172
28543
  type: "VALIDATE";
28173
28544
  createdBySignature?: string | null | undefined;
28174
28545
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28175
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28546
+ annotation?: Record<string, unknown> | null | undefined;
28176
28547
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28177
28548
  } | {
28178
28549
  id: string & import("zod").$brand<"UUID">;
@@ -28181,7 +28552,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28181
28552
  createdAt: string;
28182
28553
  createdBy: string;
28183
28554
  createdByRole: string;
28184
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28555
+ declaration: Record<string, unknown>;
28185
28556
  status: "Requested" | "Accepted" | "Rejected";
28186
28557
  type: "REJECT";
28187
28558
  content: {
@@ -28189,7 +28560,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28189
28560
  };
28190
28561
  createdBySignature?: string | null | undefined;
28191
28562
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28192
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28563
+ annotation?: Record<string, unknown> | null | undefined;
28193
28564
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28194
28565
  } | {
28195
28566
  id: string & import("zod").$brand<"UUID">;
@@ -28198,7 +28569,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28198
28569
  createdAt: string;
28199
28570
  createdBy: string;
28200
28571
  createdByRole: string;
28201
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28572
+ declaration: Record<string, unknown>;
28202
28573
  status: "Requested" | "Accepted" | "Rejected";
28203
28574
  type: "DUPLICATE_DETECTED";
28204
28575
  content: {
@@ -28209,7 +28580,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28209
28580
  };
28210
28581
  createdBySignature?: string | null | undefined;
28211
28582
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28212
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28583
+ annotation?: Record<string, unknown> | null | undefined;
28213
28584
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28214
28585
  } | {
28215
28586
  id: string & import("zod").$brand<"UUID">;
@@ -28218,12 +28589,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28218
28589
  createdAt: string;
28219
28590
  createdBy: string;
28220
28591
  createdByRole: string;
28221
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28592
+ declaration: Record<string, unknown>;
28222
28593
  status: "Requested" | "Accepted" | "Rejected";
28223
28594
  type: "MARK_AS_NOT_DUPLICATE";
28224
28595
  createdBySignature?: string | null | undefined;
28225
28596
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28226
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28597
+ annotation?: Record<string, unknown> | null | undefined;
28227
28598
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28228
28599
  } | {
28229
28600
  id: string & import("zod").$brand<"UUID">;
@@ -28232,12 +28603,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28232
28603
  createdAt: string;
28233
28604
  createdBy: string;
28234
28605
  createdByRole: string;
28235
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28606
+ declaration: Record<string, unknown>;
28236
28607
  status: "Requested" | "Accepted" | "Rejected";
28237
28608
  type: "MARK_AS_DUPLICATE";
28238
28609
  createdBySignature?: string | null | undefined;
28239
28610
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28240
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28611
+ annotation?: Record<string, unknown> | null | undefined;
28241
28612
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28242
28613
  content?: {
28243
28614
  duplicateOf: string & import("zod").$brand<"UUID">;
@@ -28249,7 +28620,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28249
28620
  createdAt: string;
28250
28621
  createdBy: string;
28251
28622
  createdByRole: string;
28252
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28623
+ declaration: Record<string, unknown>;
28253
28624
  status: "Requested" | "Accepted" | "Rejected";
28254
28625
  type: "ARCHIVE";
28255
28626
  content: {
@@ -28257,7 +28628,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28257
28628
  };
28258
28629
  createdBySignature?: string | null | undefined;
28259
28630
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28260
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28631
+ annotation?: Record<string, unknown> | null | undefined;
28261
28632
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28262
28633
  } | {
28263
28634
  id: string & import("zod").$brand<"UUID">;
@@ -28266,12 +28637,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28266
28637
  createdAt: string;
28267
28638
  createdBy: string;
28268
28639
  createdByRole: string;
28269
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28640
+ declaration: Record<string, unknown>;
28270
28641
  status: "Requested" | "Accepted" | "Rejected";
28271
28642
  type: "NOTIFY";
28272
28643
  createdBySignature?: string | null | undefined;
28273
28644
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28274
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28645
+ annotation?: Record<string, unknown> | null | undefined;
28275
28646
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28276
28647
  } | {
28277
28648
  id: string & import("zod").$brand<"UUID">;
@@ -28280,12 +28651,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28280
28651
  createdAt: string;
28281
28652
  createdBy: string;
28282
28653
  createdByRole: string;
28283
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28654
+ declaration: Record<string, unknown>;
28284
28655
  status: "Requested" | "Accepted" | "Rejected";
28285
28656
  type: "REGISTER";
28286
28657
  createdBySignature?: string | null | undefined;
28287
28658
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28288
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28659
+ annotation?: Record<string, unknown> | null | undefined;
28289
28660
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28290
28661
  registrationNumber?: string | undefined;
28291
28662
  } | {
@@ -28295,12 +28666,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28295
28666
  createdAt: string;
28296
28667
  createdBy: string;
28297
28668
  createdByRole: string;
28298
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28669
+ declaration: Record<string, unknown>;
28299
28670
  status: "Requested" | "Accepted" | "Rejected";
28300
28671
  type: "DECLARE";
28301
28672
  createdBySignature?: string | null | undefined;
28302
28673
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28303
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28674
+ annotation?: Record<string, unknown> | null | undefined;
28304
28675
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28305
28676
  } | {
28306
28677
  id: string & import("zod").$brand<"UUID">;
@@ -28309,13 +28680,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28309
28680
  createdAt: string;
28310
28681
  createdBy: string;
28311
28682
  createdByRole: string;
28312
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28683
+ declaration: Record<string, unknown>;
28313
28684
  status: "Requested" | "Accepted" | "Rejected";
28314
28685
  type: "ASSIGN";
28315
28686
  assignedTo: string;
28316
28687
  createdBySignature?: string | null | undefined;
28317
28688
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28318
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28689
+ annotation?: Record<string, unknown> | null | undefined;
28319
28690
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28320
28691
  } | {
28321
28692
  id: string & import("zod").$brand<"UUID">;
@@ -28324,12 +28695,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28324
28695
  createdAt: string;
28325
28696
  createdBy: string;
28326
28697
  createdByRole: string;
28327
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28698
+ declaration: Record<string, unknown>;
28328
28699
  status: "Requested" | "Accepted" | "Rejected";
28329
28700
  type: "REQUEST_CORRECTION";
28330
28701
  createdBySignature?: string | null | undefined;
28331
28702
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28332
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28703
+ annotation?: Record<string, unknown> | null | undefined;
28333
28704
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28334
28705
  } | {
28335
28706
  id: string & import("zod").$brand<"UUID">;
@@ -28338,13 +28709,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28338
28709
  createdAt: string;
28339
28710
  createdBy: string;
28340
28711
  createdByRole: string;
28341
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28712
+ declaration: Record<string, unknown>;
28342
28713
  status: "Requested" | "Accepted" | "Rejected";
28343
28714
  type: "APPROVE_CORRECTION";
28344
28715
  requestId: string;
28345
28716
  createdBySignature?: string | null | undefined;
28346
28717
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28347
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28718
+ annotation?: Record<string, unknown> | null | undefined;
28348
28719
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28349
28720
  } | {
28350
28721
  id: string & import("zod").$brand<"UUID">;
@@ -28353,7 +28724,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28353
28724
  createdAt: string;
28354
28725
  createdBy: string;
28355
28726
  createdByRole: string;
28356
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28727
+ declaration: Record<string, unknown>;
28357
28728
  status: "Requested" | "Accepted" | "Rejected";
28358
28729
  type: "REJECT_CORRECTION";
28359
28730
  requestId: string;
@@ -28362,7 +28733,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28362
28733
  };
28363
28734
  createdBySignature?: string | null | undefined;
28364
28735
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28365
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28736
+ annotation?: Record<string, unknown> | null | undefined;
28366
28737
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28367
28738
  } | {
28368
28739
  id: string & import("zod").$brand<"UUID">;
@@ -28371,12 +28742,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28371
28742
  createdAt: string;
28372
28743
  createdBy: string;
28373
28744
  createdByRole: string;
28374
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28745
+ declaration: Record<string, unknown>;
28375
28746
  status: "Requested" | "Accepted" | "Rejected";
28376
28747
  type: "UNASSIGN";
28377
28748
  createdBySignature?: string | null | undefined;
28378
28749
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28379
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28750
+ annotation?: Record<string, unknown> | null | undefined;
28380
28751
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28381
28752
  } | {
28382
28753
  id: string & import("zod").$brand<"UUID">;
@@ -28385,12 +28756,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28385
28756
  createdAt: string;
28386
28757
  createdBy: string;
28387
28758
  createdByRole: string;
28388
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28759
+ declaration: Record<string, unknown>;
28389
28760
  status: "Requested" | "Accepted" | "Rejected";
28390
28761
  type: "PRINT_CERTIFICATE";
28391
28762
  createdBySignature?: string | null | undefined;
28392
28763
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28393
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28764
+ annotation?: Record<string, unknown> | null | undefined;
28394
28765
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28395
28766
  content?: {
28396
28767
  templateId?: string | undefined;
@@ -28402,29 +28773,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28402
28773
  createdAt: string;
28403
28774
  createdBy: string;
28404
28775
  createdByRole: string;
28405
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28776
+ declaration: Record<string, unknown>;
28406
28777
  status: "Requested" | "Accepted" | "Rejected";
28407
28778
  type: "READ";
28408
28779
  createdBySignature?: string | null | undefined;
28409
28780
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28410
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28411
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28412
- } | {
28413
- id: string & import("zod").$brand<"UUID">;
28414
- transactionId: string;
28415
- createdByUserType: "user" | "system";
28416
- createdAt: string;
28417
- createdBy: string;
28418
- createdByRole: string;
28419
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28420
- status: "Requested" | "Accepted" | "Rejected";
28421
- type: "EDIT";
28422
- content: {
28423
- comment?: string | undefined;
28424
- };
28425
- createdBySignature?: string | null | undefined;
28426
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28427
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28781
+ annotation?: Record<string, unknown> | null | undefined;
28428
28782
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28429
28783
  } | {
28430
28784
  id: string & import("zod").$brand<"UUID">;
@@ -28433,13 +28787,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28433
28787
  createdAt: string;
28434
28788
  createdBy: string;
28435
28789
  createdByRole: string;
28436
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28790
+ declaration: Record<string, unknown>;
28437
28791
  status: "Requested" | "Accepted" | "Rejected";
28438
28792
  type: "CUSTOM";
28439
28793
  customActionType: string;
28440
28794
  createdBySignature?: string | null | undefined;
28441
28795
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28442
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28796
+ annotation?: Record<string, unknown> | null | undefined;
28443
28797
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28444
28798
  } | {
28445
28799
  id: string & import("zod").$brand<"UUID">;
@@ -28448,7 +28802,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28448
28802
  createdAt: string;
28449
28803
  createdBy: string;
28450
28804
  createdByRole: string;
28451
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
28805
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
28452
28806
  status: "Rejected";
28453
28807
  createdBySignature?: string | null | undefined;
28454
28808
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -28503,7 +28857,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28503
28857
  trackingId: string;
28504
28858
  }[];
28505
28859
  flags: string[];
28506
- declaration: Record<string, import("../commons").FieldValue>;
28860
+ declaration: Record<string, unknown>;
28507
28861
  dateOfEvent?: string | null | undefined;
28508
28862
  createdByUserType?: "user" | "system" | null | undefined;
28509
28863
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -28785,23 +29139,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28785
29139
  createdAtLocation?: string | null | undefined;
28786
29140
  annotation?: Record<string, unknown> | null | undefined;
28787
29141
  originalActionId?: string | null | undefined;
28788
- } | {
28789
- id: string;
28790
- transactionId: string;
28791
- createdByUserType: "user" | "system";
28792
- createdAt: string;
28793
- createdBy: string;
28794
- createdByRole: string;
28795
- declaration: Record<string, unknown>;
28796
- status: "Requested" | "Accepted" | "Rejected";
28797
- type: "EDIT";
28798
- content: {
28799
- comment?: string | undefined;
28800
- };
28801
- createdBySignature?: string | null | undefined;
28802
- createdAtLocation?: string | null | undefined;
28803
- annotation?: Record<string, unknown> | null | undefined;
28804
- originalActionId?: string | null | undefined;
28805
29142
  } | {
28806
29143
  id: string;
28807
29144
  transactionId: string;
@@ -28824,7 +29161,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28824
29161
  createdAt: string;
28825
29162
  createdBy: string;
28826
29163
  createdByRole: string;
28827
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
29164
+ type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
28828
29165
  status: "Rejected";
28829
29166
  createdBySignature?: string | null | undefined;
28830
29167
  createdAtLocation?: string | null | undefined;
@@ -28850,12 +29187,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28850
29187
  role: string;
28851
29188
  primaryOfficeId: string & import("zod").$brand<"UUID">;
28852
29189
  signature?: string | undefined;
29190
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28853
29191
  } | {
28854
29192
  type: "system";
28855
29193
  id: string;
28856
29194
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28857
29195
  signature?: undefined;
28858
29196
  primaryOfficeId?: undefined;
29197
+ administrativeAreaId?: undefined;
28859
29198
  };
28860
29199
  }>;
28861
29200
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -28876,6 +29215,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28876
29215
  type: "user";
28877
29216
  avatar?: string | undefined;
28878
29217
  signature?: string | undefined;
29218
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28879
29219
  fullHonorificName?: string | undefined;
28880
29220
  } | {
28881
29221
  id: string;
@@ -28883,6 +29223,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28883
29223
  type: "system";
28884
29224
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28885
29225
  primaryOfficeId?: undefined;
29226
+ administrativeAreaId?: undefined;
28886
29227
  signature?: undefined;
28887
29228
  avatar?: undefined;
28888
29229
  fullHonorificName?: string | undefined;
@@ -28903,6 +29244,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28903
29244
  type: "user";
28904
29245
  avatar?: string | undefined;
28905
29246
  signature?: string | undefined;
29247
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28906
29248
  fullHonorificName?: string | undefined;
28907
29249
  } | {
28908
29250
  id: string;
@@ -28910,6 +29252,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28910
29252
  type: "system";
28911
29253
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28912
29254
  primaryOfficeId?: undefined;
29255
+ administrativeAreaId?: undefined;
28913
29256
  signature?: undefined;
28914
29257
  avatar?: undefined;
28915
29258
  fullHonorificName?: string | undefined;
@@ -28923,32 +29266,32 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28923
29266
  count?: number | undefined;
28924
29267
  timeStart?: string | undefined;
28925
29268
  timeEnd?: string | undefined;
28926
- actionTypes?: ("READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT")[] | undefined;
29269
+ actionTypes?: ("READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN")[] | undefined;
28927
29270
  };
28928
29271
  output: {
28929
29272
  results: {
28930
29273
  id: (string & import("zod").$brand<"UUID">) | null;
28931
- declaration: Record<string, any>;
28932
- eventType: string | null;
28933
- customActionType: string | null;
28934
- status: import("../storage/postgres/events/schema/app/ActionStatus").default;
28935
- createdAt: string | null;
28936
- updatedAt: string | null;
28937
- trackingId: string | null;
28938
29274
  transactionId: string | null;
28939
29275
  eventId: string & import("zod").$brand<"UUID">;
28940
29276
  actionType: string;
29277
+ declaration: Record<string, any>;
28941
29278
  annotation: Record<string, any> | null;
28942
29279
  createdBy: string;
28943
29280
  createdByRole: string;
28944
29281
  createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
28945
29282
  createdBySignature: string | null;
28946
29283
  createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
29284
+ createdAt: string | null;
28947
29285
  assignedTo: string | null;
28948
29286
  originalActionId: (string & import("zod").$brand<"UUID">) | null;
28949
29287
  registrationNumber: string | null;
28950
29288
  requestId: string | null;
29289
+ status: import("../storage/postgres/events/schema/app/ActionStatus").default;
28951
29290
  content: Record<string, any> | null;
29291
+ customActionType: string | null;
29292
+ updatedAt: string | null;
29293
+ eventType: string | null;
29294
+ trackingId: string | null;
28952
29295
  }[];
28953
29296
  total: number;
28954
29297
  };
@@ -28964,12 +29307,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28964
29307
  role: string;
28965
29308
  primaryOfficeId: string & import("zod").$brand<"UUID">;
28966
29309
  signature?: string | undefined;
29310
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28967
29311
  } | {
28968
29312
  type: "system";
28969
29313
  id: string;
28970
29314
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28971
29315
  signature?: undefined;
28972
29316
  primaryOfficeId?: undefined;
29317
+ administrativeAreaId?: undefined;
28973
29318
  };
28974
29319
  }>;
28975
29320
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -28985,14 +29330,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28985
29330
  input: {
28986
29331
  isActive?: boolean | undefined;
28987
29332
  locationIds?: string[] | undefined;
28988
- locationType?: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE" | undefined;
29333
+ locationType?: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE" | undefined;
28989
29334
  } | undefined;
28990
29335
  output: {
28991
29336
  id: string & import("zod").$brand<"UUID">;
28992
29337
  name: string;
28993
29338
  parentId: (string & import("zod").$brand<"UUID">) | null;
28994
29339
  validUntil: string | null;
28995
- locationType: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE" | null;
29340
+ locationType: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE" | null;
28996
29341
  }[];
28997
29342
  meta: import("trpc-to-openapi").OpenApiMeta;
28998
29343
  }>;
@@ -29002,7 +29347,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29002
29347
  name: string;
29003
29348
  parentId: string | null;
29004
29349
  validUntil: string | null;
29005
- locationType: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE" | null;
29350
+ locationType: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE" | null;
29006
29351
  }[];
29007
29352
  output: void;
29008
29353
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -29017,12 +29362,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29017
29362
  role: string;
29018
29363
  primaryOfficeId: string & import("zod").$brand<"UUID">;
29019
29364
  signature?: string | undefined;
29365
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
29020
29366
  } | {
29021
29367
  type: "system";
29022
29368
  id: string;
29023
29369
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
29024
29370
  signature?: undefined;
29025
29371
  primaryOfficeId?: undefined;
29372
+ administrativeAreaId?: undefined;
29026
29373
  };
29027
29374
  }>;
29028
29375
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -29038,12 +29385,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29038
29385
  role: string;
29039
29386
  primaryOfficeId: string & import("zod").$brand<"UUID">;
29040
29387
  signature?: string | undefined;
29388
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
29041
29389
  } | {
29042
29390
  type: "system";
29043
29391
  id: string;
29044
29392
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
29045
29393
  signature?: undefined;
29046
29394
  primaryOfficeId?: undefined;
29395
+ administrativeAreaId?: undefined;
29047
29396
  };
29048
29397
  }>;
29049
29398
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -29293,7 +29642,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29293
29642
  }[];
29294
29643
  };
29295
29644
  actions: {
29296
- type: "DELETE" | "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "ASSIGN" | "UNASSIGN" | "EDIT" | "DEFAULT";
29645
+ type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "DELETE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
29297
29646
  conditionals?: any[] | undefined;
29298
29647
  }[];
29299
29648
  columns: {
@@ -29303,7 +29652,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29303
29652
  description: string;
29304
29653
  };
29305
29654
  value: {
29306
- $event: "type" | "id" | "dateOfEvent" | "title" | "flags" | "status" | "createdAt" | "updatedAt" | "trackingId" | "createdBy" | "createdByUserType" | "createdAtLocation" | "assignedTo" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
29655
+ $event: "type" | "id" | "createdBy" | "createdByUserType" | "createdAtLocation" | "createdAt" | "assignedTo" | "status" | "updatedAt" | "trackingId" | "dateOfEvent" | "title" | "flags" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
29307
29656
  };
29308
29657
  }[];
29309
29658
  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" | "Stamp" | "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";