@opencrvs/toolkit 1.9.12-rc.7c8c97f → 1.9.12-rc.80c17da

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 (92) hide show
  1. package/build.sh +8 -0
  2. package/dist/application-config/index.js +2045 -41
  3. package/dist/cli.d.ts +2 -0
  4. package/dist/cli.d.ts.map +1 -0
  5. package/dist/cli.js +3237 -0
  6. package/dist/commons/api/router.d.ts +106 -75
  7. package/dist/commons/application-config/index.d.ts +13 -16
  8. package/dist/commons/conditionals/conditionals.d.ts +3 -3
  9. package/dist/commons/events/ActionDocument.d.ts +198 -198
  10. package/dist/commons/events/ActionInput.d.ts +113 -113
  11. package/dist/commons/events/ActionType.d.ts +3 -3
  12. package/dist/commons/events/AdvancedSearchConfig.d.ts +16 -10
  13. package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
  14. package/dist/commons/events/CountryConfigQueryInput.d.ts +443 -172
  15. package/dist/commons/events/Draft.d.ts +15 -15
  16. package/dist/commons/events/DynamicFieldValue.d.ts +37 -19
  17. package/dist/commons/events/EventConfig.d.ts +1 -1
  18. package/dist/commons/events/EventDocument.d.ts +81 -81
  19. package/dist/commons/events/EventIndex.d.ts +35 -27
  20. package/dist/commons/events/EventInput.d.ts +1 -1
  21. package/dist/commons/events/EventMetadata.d.ts +24 -24
  22. package/dist/commons/events/FieldConfig.d.ts +155 -44
  23. package/dist/commons/events/FieldType.d.ts +2 -1
  24. package/dist/commons/events/FieldTypeMapping.d.ts +98 -72
  25. package/dist/commons/events/FieldValue.d.ts +54 -26
  26. package/dist/commons/events/PlainDate.d.ts +1 -1
  27. package/dist/commons/events/WorkqueueColumnConfig.d.ts +16 -16
  28. package/dist/commons/events/WorkqueueConfig.d.ts +438 -194
  29. package/dist/commons/events/defineConfig.d.ts +0 -4
  30. package/dist/commons/events/locations.d.ts +4 -4
  31. package/dist/commons/events/scopes.d.ts +1 -1
  32. package/dist/commons/events/state/index.d.ts +2 -2
  33. package/dist/commons/events/state/utils.d.ts +3 -3
  34. package/dist/commons/events/utils.d.ts +5 -177
  35. package/dist/conditionals/index.js +13 -5
  36. package/dist/events/index.js +143 -34
  37. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +3 -0
  38. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -0
  39. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +405 -0
  40. package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +2 -0
  41. package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -0
  42. package/dist/migrations/v2.0/convert-config-files-to-ts.js +829 -0
  43. package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +3 -0
  44. package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -0
  45. package/dist/migrations/v2.0/convert-paragraph-to-heading.js +159 -0
  46. package/dist/migrations/v2.0/index.d.ts +7 -0
  47. package/dist/migrations/v2.0/index.d.ts.map +1 -0
  48. package/dist/migrations/v2.0/index.js +3176 -0
  49. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +3 -0
  50. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -0
  51. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +344 -0
  52. package/dist/migrations/v2.0/migrate-scopes.d.ts +3 -0
  53. package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -0
  54. package/dist/migrations/v2.0/migrate-scopes.js +282 -0
  55. package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +3 -0
  56. package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -0
  57. package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +268 -0
  58. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +3 -0
  59. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
  60. package/dist/migrations/v2.0/migrate-workqueue-configs.js +237 -0
  61. package/dist/migrations/v2.0/remove-delete-actions.d.ts +3 -0
  62. package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -0
  63. package/dist/migrations/v2.0/remove-delete-actions.js +157 -0
  64. package/dist/migrations/v2.0/remove-demo-scope.d.ts +3 -0
  65. package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
  66. package/dist/migrations/v2.0/remove-demo-scope.js +75 -0
  67. package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +3 -0
  68. package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -0
  69. package/dist/migrations/v2.0/remove-deprecated-imports.js +97 -0
  70. package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +3 -0
  71. package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
  72. package/dist/migrations/v2.0/remove-hearth-migrations.js +78 -0
  73. package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +3 -0
  74. package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -0
  75. package/dist/migrations/v2.0/remove-pending-certification-flag.js +110 -0
  76. package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +3 -0
  77. package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -0
  78. package/dist/migrations/v2.0/remove-review-from-register-action.js +164 -0
  79. package/dist/migrations/v2.0/rename-api-paths.d.ts +3 -0
  80. package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -0
  81. package/dist/migrations/v2.0/rename-api-paths.js +188 -0
  82. package/dist/migrations/v2.0/rename-location-parent-id.d.ts +3 -0
  83. package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -0
  84. package/dist/migrations/v2.0/rename-location-parent-id.js +181 -0
  85. package/dist/notification/index.js +74 -24
  86. package/dist/scopes/index.d.ts +31 -10
  87. package/dist/scopes/index.js +17 -5
  88. package/opencrvs-toolkit-1.9.12-rc.80c17da.tgz +0 -0
  89. package/package.json +11 -7
  90. package/tsconfig.json +3 -0
  91. package/tsconfig.tsbuildinfo +1 -1
  92. package/opencrvs-toolkit-1.9.12-rc.7c8c97f.tgz +0 -0
@@ -4,8 +4,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4
4
  user: {
5
5
  id: string;
6
6
  type: "system";
7
- primaryOfficeId?: undefined;
8
7
  signature?: undefined;
8
+ primaryOfficeId?: undefined;
9
9
  administrativeAreaId?: undefined;
10
10
  } | {
11
11
  id: string;
@@ -26,8 +26,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26
26
  user: {
27
27
  id: string;
28
28
  type: "system";
29
- primaryOfficeId?: undefined;
30
29
  signature?: undefined;
30
+ primaryOfficeId?: undefined;
31
31
  administrativeAreaId?: undefined;
32
32
  } | {
33
33
  id: string;
@@ -48,8 +48,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
48
48
  user: {
49
49
  id: string;
50
50
  type: "system";
51
- primaryOfficeId?: undefined;
52
51
  signature?: undefined;
52
+ primaryOfficeId?: undefined;
53
53
  administrativeAreaId?: undefined;
54
54
  } | {
55
55
  id: string;
@@ -94,8 +94,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
94
94
  user: {
95
95
  id: string;
96
96
  type: "system";
97
- primaryOfficeId?: undefined;
98
97
  signature?: undefined;
98
+ primaryOfficeId?: undefined;
99
99
  administrativeAreaId?: undefined;
100
100
  } | {
101
101
  id: string;
@@ -410,15 +410,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
410
410
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
411
411
  } | {
412
412
  id: string & import("zod").$brand<"UUID">;
413
- createdAt: string;
414
413
  transactionId: string;
415
414
  createdByUserType: "system" | "user";
415
+ createdAt: string;
416
416
  createdBy: string;
417
417
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
418
418
  status: "Rejected";
419
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
420
419
  createdByRole?: string | undefined;
421
420
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
421
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
422
422
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
423
423
  })[];
424
424
  trackingId: string;
@@ -718,15 +718,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
718
718
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
719
719
  } | {
720
720
  id: string & import("zod").$brand<"UUID">;
721
- createdAt: string;
722
721
  transactionId: string;
723
722
  createdByUserType: "system" | "user";
723
+ createdAt: string;
724
724
  createdBy: string;
725
725
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
726
726
  status: "Rejected";
727
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
728
727
  createdByRole?: string | undefined;
729
728
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
729
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
730
730
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
731
731
  })[];
732
732
  trackingId: string;
@@ -1026,15 +1026,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1026
1026
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1027
1027
  } | {
1028
1028
  id: string & import("zod").$brand<"UUID">;
1029
- createdAt: string;
1030
1029
  transactionId: string;
1031
1030
  createdByUserType: "system" | "user";
1031
+ createdAt: string;
1032
1032
  createdBy: string;
1033
1033
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
1034
1034
  status: "Rejected";
1035
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
1036
1035
  createdByRole?: string | undefined;
1037
1036
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1037
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
1038
1038
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1039
1039
  })[];
1040
1040
  trackingId: string;
@@ -1056,8 +1056,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1056
1056
  user: {
1057
1057
  id: string;
1058
1058
  type: "system";
1059
- primaryOfficeId?: undefined;
1060
1059
  signature?: undefined;
1060
+ primaryOfficeId?: undefined;
1061
1061
  administrativeAreaId?: undefined;
1062
1062
  } | {
1063
1063
  id: string;
@@ -1081,12 +1081,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1081
1081
  createdAt: string;
1082
1082
  action: {
1083
1083
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
1084
- createdAt: string;
1085
1084
  transactionId: string;
1086
- status: "Requested" | "Accepted" | "Rejected";
1087
1085
  createdByUserType: "system" | "user";
1086
+ createdAt: string;
1088
1087
  createdBy: string;
1089
1088
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1089
+ status: "Requested" | "Accepted" | "Rejected";
1090
1090
  createdByRole?: string | undefined;
1091
1091
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1092
1092
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1114,12 +1114,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1114
1114
  createdAt: string;
1115
1115
  action: {
1116
1116
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
1117
- createdAt: string;
1118
1117
  transactionId: string;
1119
- status: "Requested" | "Accepted" | "Rejected";
1120
1118
  createdByUserType: "system" | "user";
1119
+ createdAt: string;
1121
1120
  createdBy: string;
1122
1121
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1122
+ status: "Requested" | "Accepted" | "Rejected";
1123
1123
  createdByRole?: string | undefined;
1124
1124
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1125
1125
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1135,8 +1135,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1135
1135
  user: {
1136
1136
  id: string;
1137
1137
  type: "system";
1138
- primaryOfficeId?: undefined;
1139
1138
  signature?: undefined;
1139
+ primaryOfficeId?: undefined;
1140
1140
  administrativeAreaId?: undefined;
1141
1141
  } | {
1142
1142
  id: string;
@@ -1157,8 +1157,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1157
1157
  user: {
1158
1158
  id: string;
1159
1159
  type: "system";
1160
- primaryOfficeId?: undefined;
1161
1160
  signature?: undefined;
1161
+ primaryOfficeId?: undefined;
1162
1162
  administrativeAreaId?: undefined;
1163
1163
  } | {
1164
1164
  id: string;
@@ -1201,8 +1201,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1201
1201
  user: {
1202
1202
  id: string;
1203
1203
  type: "system";
1204
- primaryOfficeId?: undefined;
1205
1204
  signature?: undefined;
1205
+ primaryOfficeId?: undefined;
1206
1206
  administrativeAreaId?: undefined;
1207
1207
  } | {
1208
1208
  id: string;
@@ -1516,15 +1516,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1516
1516
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1517
1517
  } | {
1518
1518
  id: string & import("zod").$brand<"UUID">;
1519
- createdAt: string;
1520
1519
  transactionId: string;
1521
1520
  createdByUserType: "system" | "user";
1521
+ createdAt: string;
1522
1522
  createdBy: string;
1523
1523
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
1524
1524
  status: "Rejected";
1525
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
1526
1525
  createdByRole?: string | undefined;
1527
1526
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1527
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
1528
1528
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1529
1529
  })[];
1530
1530
  trackingId: string;
@@ -1554,8 +1554,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1554
1554
  user: {
1555
1555
  id: string;
1556
1556
  type: "system";
1557
- primaryOfficeId?: undefined;
1558
1557
  signature?: undefined;
1558
+ primaryOfficeId?: undefined;
1559
1559
  administrativeAreaId?: undefined;
1560
1560
  } | {
1561
1561
  id: string;
@@ -1598,8 +1598,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1598
1598
  user: {
1599
1599
  id: string;
1600
1600
  type: "system";
1601
- primaryOfficeId?: undefined;
1602
1601
  signature?: undefined;
1602
+ primaryOfficeId?: undefined;
1603
1603
  administrativeAreaId?: undefined;
1604
1604
  } | {
1605
1605
  id: string;
@@ -1642,8 +1642,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1642
1642
  user: {
1643
1643
  id: string;
1644
1644
  type: "system";
1645
- primaryOfficeId?: undefined;
1646
1645
  signature?: undefined;
1646
+ primaryOfficeId?: undefined;
1647
1647
  administrativeAreaId?: undefined;
1648
1648
  } | {
1649
1649
  id: string;
@@ -1686,8 +1686,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1686
1686
  user: {
1687
1687
  id: string;
1688
1688
  type: "system";
1689
- primaryOfficeId?: undefined;
1690
1689
  signature?: undefined;
1690
+ primaryOfficeId?: undefined;
1691
1691
  administrativeAreaId?: undefined;
1692
1692
  } | {
1693
1693
  id: string;
@@ -1730,8 +1730,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1730
1730
  user: {
1731
1731
  id: string;
1732
1732
  type: "system";
1733
- primaryOfficeId?: undefined;
1734
1733
  signature?: undefined;
1734
+ primaryOfficeId?: undefined;
1735
1735
  administrativeAreaId?: undefined;
1736
1736
  } | {
1737
1737
  id: string;
@@ -1774,8 +1774,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1774
1774
  user: {
1775
1775
  id: string;
1776
1776
  type: "system";
1777
- primaryOfficeId?: undefined;
1778
1777
  signature?: undefined;
1778
+ primaryOfficeId?: undefined;
1779
1779
  administrativeAreaId?: undefined;
1780
1780
  } | {
1781
1781
  id: string;
@@ -2090,15 +2090,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2090
2090
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2091
2091
  } | {
2092
2092
  id: string & import("zod").$brand<"UUID">;
2093
- createdAt: string;
2094
2093
  transactionId: string;
2095
2094
  createdByUserType: "system" | "user";
2095
+ createdAt: string;
2096
2096
  createdBy: string;
2097
2097
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
2098
2098
  status: "Rejected";
2099
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2100
2099
  createdByRole?: string | undefined;
2101
2100
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2101
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2102
2102
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2103
2103
  })[];
2104
2104
  trackingId: string;
@@ -2128,8 +2128,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2128
2128
  user: {
2129
2129
  id: string;
2130
2130
  type: "system";
2131
- primaryOfficeId?: undefined;
2132
2131
  signature?: undefined;
2132
+ primaryOfficeId?: undefined;
2133
2133
  administrativeAreaId?: undefined;
2134
2134
  } | {
2135
2135
  id: string;
@@ -2444,15 +2444,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2444
2444
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2445
2445
  } | {
2446
2446
  id: string & import("zod").$brand<"UUID">;
2447
- createdAt: string;
2448
2447
  transactionId: string;
2449
2448
  createdByUserType: "system" | "user";
2449
+ createdAt: string;
2450
2450
  createdBy: string;
2451
2451
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
2452
2452
  status: "Rejected";
2453
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2454
2453
  createdByRole?: string | undefined;
2455
2454
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2455
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2456
2456
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2457
2457
  })[];
2458
2458
  trackingId: string;
@@ -2759,15 +2759,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2759
2759
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2760
2760
  } | {
2761
2761
  id: string & import("zod").$brand<"UUID">;
2762
- createdAt: string;
2763
2762
  transactionId: string;
2764
2763
  createdByUserType: "system" | "user";
2764
+ createdAt: string;
2765
2765
  createdBy: string;
2766
2766
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
2767
2767
  status: "Rejected";
2768
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2769
2768
  createdByRole?: string | undefined;
2770
2769
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2770
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2771
2771
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2772
2772
  })[];
2773
2773
  trackingId: string;
@@ -2781,8 +2781,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2781
2781
  user: {
2782
2782
  id: string;
2783
2783
  type: "system";
2784
- primaryOfficeId?: undefined;
2785
2784
  signature?: undefined;
2785
+ primaryOfficeId?: undefined;
2786
2786
  administrativeAreaId?: undefined;
2787
2787
  } | {
2788
2788
  id: string;
@@ -2803,8 +2803,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2803
2803
  user: {
2804
2804
  id: string;
2805
2805
  type: "system";
2806
- primaryOfficeId?: undefined;
2807
2806
  signature?: undefined;
2807
+ primaryOfficeId?: undefined;
2808
2808
  administrativeAreaId?: undefined;
2809
2809
  } | {
2810
2810
  id: string;
@@ -2847,8 +2847,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2847
2847
  user: {
2848
2848
  id: string;
2849
2849
  type: "system";
2850
- primaryOfficeId?: undefined;
2851
2850
  signature?: undefined;
2851
+ primaryOfficeId?: undefined;
2852
2852
  administrativeAreaId?: undefined;
2853
2853
  } | {
2854
2854
  id: string;
@@ -2891,8 +2891,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2891
2891
  user: {
2892
2892
  id: string;
2893
2893
  type: "system";
2894
- primaryOfficeId?: undefined;
2895
2894
  signature?: undefined;
2895
+ primaryOfficeId?: undefined;
2896
2896
  administrativeAreaId?: undefined;
2897
2897
  } | {
2898
2898
  id: string;
@@ -2936,8 +2936,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2936
2936
  user: {
2937
2937
  id: string;
2938
2938
  type: "system";
2939
- primaryOfficeId?: undefined;
2940
2939
  signature?: undefined;
2940
+ primaryOfficeId?: undefined;
2941
2941
  administrativeAreaId?: undefined;
2942
2942
  } | {
2943
2943
  id: string;
@@ -3254,15 +3254,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3254
3254
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3255
3255
  } | {
3256
3256
  id: string & import("zod").$brand<"UUID">;
3257
- createdAt: string;
3258
3257
  transactionId: string;
3259
3258
  createdByUserType: "system" | "user";
3259
+ createdAt: string;
3260
3260
  createdBy: string;
3261
3261
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
3262
3262
  status: "Rejected";
3263
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
3264
3263
  createdByRole?: string | undefined;
3265
3264
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3265
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
3266
3266
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3267
3267
  })[];
3268
3268
  trackingId: string;
@@ -3568,15 +3568,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3568
3568
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3569
3569
  } | {
3570
3570
  id: string & import("zod").$brand<"UUID">;
3571
- createdAt: string;
3572
3571
  transactionId: string;
3573
3572
  createdByUserType: "system" | "user";
3573
+ createdAt: string;
3574
3574
  createdBy: string;
3575
3575
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
3576
3576
  status: "Rejected";
3577
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
3578
3577
  createdByRole?: string | undefined;
3579
3578
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3579
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
3580
3580
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3581
3581
  })[];
3582
3582
  trackingId: string;
@@ -3596,7 +3596,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3596
3596
  results: {
3597
3597
  id: string & import("zod").$brand<"UUID">;
3598
3598
  type: string;
3599
- status: "ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED";
3599
+ status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
3600
3600
  legalStatuses: {
3601
3601
  DECLARED?: {
3602
3602
  createdAt: string;
@@ -3931,15 +3931,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3931
3931
  originalActionId?: string | null | undefined;
3932
3932
  } | {
3933
3933
  id: string;
3934
- createdAt: string;
3935
3934
  transactionId: string;
3936
3935
  createdByUserType: "system" | "user";
3936
+ createdAt: string;
3937
3937
  createdBy: string;
3938
3938
  type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
3939
3939
  status: "Rejected";
3940
- createdAtLocation?: string | null | undefined;
3941
3940
  createdByRole?: string | undefined;
3942
3941
  createdBySignature?: string | null | undefined;
3942
+ createdAtLocation?: string | null | undefined;
3943
3943
  originalActionId?: string | null | undefined;
3944
3944
  })[];
3945
3945
  trackingId: string;
@@ -3954,8 +3954,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3954
3954
  user: {
3955
3955
  id: string;
3956
3956
  type: "system";
3957
- primaryOfficeId?: undefined;
3958
3957
  signature?: undefined;
3958
+ primaryOfficeId?: undefined;
3959
3959
  administrativeAreaId?: undefined;
3960
3960
  } | {
3961
3961
  id: string;
@@ -3990,6 +3990,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3990
3990
  fullHonorificName?: string | undefined;
3991
3991
  mobile?: string | undefined;
3992
3992
  email?: string | undefined;
3993
+ data?: Record<string, import("../commons").FieldValue> | undefined;
3993
3994
  } | {
3994
3995
  id: string;
3995
3996
  name: string;
@@ -4026,6 +4027,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4026
4027
  originalFilename: string;
4027
4028
  type: string;
4028
4029
  } | undefined;
4030
+ data?: Record<string, unknown> | undefined;
4029
4031
  };
4030
4032
  output: {
4031
4033
  id: string;
@@ -4045,6 +4047,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4045
4047
  fullHonorificName?: string | undefined;
4046
4048
  mobile?: string | undefined;
4047
4049
  email?: string | undefined;
4050
+ data?: Record<string, import("../commons").FieldValue> | undefined;
4048
4051
  };
4049
4052
  meta: import("trpc-to-openapi").OpenApiMeta;
4050
4053
  }>;
@@ -4070,6 +4073,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4070
4073
  originalFilename: string;
4071
4074
  type: string;
4072
4075
  } | undefined;
4076
+ data?: Record<string, unknown> | undefined;
4073
4077
  } & {
4074
4078
  id: string;
4075
4079
  };
@@ -4091,6 +4095,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4091
4095
  fullHonorificName?: string | undefined;
4092
4096
  mobile?: string | undefined;
4093
4097
  email?: string | undefined;
4098
+ data?: Record<string, import("../commons").FieldValue> | undefined;
4094
4099
  };
4095
4100
  meta: import("trpc-to-openapi").OpenApiMeta;
4096
4101
  }>;
@@ -4114,6 +4119,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4114
4119
  fullHonorificName?: string | undefined;
4115
4120
  mobile?: string | undefined;
4116
4121
  email?: string | undefined;
4122
+ data?: Record<string, import("../commons").FieldValue> | undefined;
4117
4123
  } | {
4118
4124
  id: string;
4119
4125
  name: string;
@@ -4157,6 +4163,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4157
4163
  fullHonorificName?: string | undefined;
4158
4164
  mobile?: string | undefined;
4159
4165
  email?: string | undefined;
4166
+ data?: Record<string, import("../commons").FieldValue> | undefined;
4160
4167
  } | {
4161
4168
  id: string;
4162
4169
  name: string;
@@ -4215,8 +4222,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4215
4222
  user: {
4216
4223
  id: string;
4217
4224
  type: "system";
4218
- primaryOfficeId?: undefined;
4219
4225
  signature?: undefined;
4226
+ primaryOfficeId?: undefined;
4220
4227
  administrativeAreaId?: undefined;
4221
4228
  } | {
4222
4229
  id: string;
@@ -4300,8 +4307,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4300
4307
  user: {
4301
4308
  id: string;
4302
4309
  type: "system";
4303
- primaryOfficeId?: undefined;
4304
4310
  signature?: undefined;
4311
+ primaryOfficeId?: undefined;
4305
4312
  administrativeAreaId?: undefined;
4306
4313
  } | {
4307
4314
  id: string;
@@ -4593,8 +4600,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4593
4600
  user: {
4594
4601
  id: string;
4595
4602
  type: "system";
4596
- primaryOfficeId?: undefined;
4597
4603
  signature?: undefined;
4604
+ primaryOfficeId?: undefined;
4598
4605
  administrativeAreaId?: undefined;
4599
4606
  } | {
4600
4607
  id: string;
@@ -4666,8 +4673,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4666
4673
  user: {
4667
4674
  id: string;
4668
4675
  type: "system";
4669
- primaryOfficeId?: undefined;
4670
4676
  signature?: undefined;
4677
+ primaryOfficeId?: undefined;
4671
4678
  administrativeAreaId?: undefined;
4672
4679
  } | {
4673
4680
  id: string;
@@ -4688,8 +4695,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4688
4695
  user: {
4689
4696
  id: string;
4690
4697
  type: "system";
4691
- primaryOfficeId?: undefined;
4692
4698
  signature?: undefined;
4699
+ primaryOfficeId?: undefined;
4693
4700
  administrativeAreaId?: undefined;
4694
4701
  } | {
4695
4702
  id: string;
@@ -4719,10 +4726,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4719
4726
  eventType?: string | undefined;
4720
4727
  status?: {
4721
4728
  type: "anyOf";
4722
- terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED")[];
4729
+ terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
4723
4730
  } | {
4724
4731
  type: "exact";
4725
- term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED";
4732
+ term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
4726
4733
  } | undefined;
4727
4734
  createdAt?: {
4728
4735
  type: "exact";
@@ -4749,7 +4756,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4749
4756
  'legalStatuses.DECLARED.createdAtLocation'?: {
4750
4757
  type: "within";
4751
4758
  location: string | {
4752
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4759
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4753
4760
  $location?: string | undefined;
4754
4761
  };
4755
4762
  } | undefined;
@@ -4771,7 +4778,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4771
4778
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4772
4779
  type: "within";
4773
4780
  location: string | {
4774
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4781
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4775
4782
  $location?: string | undefined;
4776
4783
  };
4777
4784
  } | undefined;
@@ -4786,35 +4793,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4786
4793
  createdAtLocation?: {
4787
4794
  type: "within";
4788
4795
  location: string | {
4789
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4796
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4797
+ $location?: string | undefined;
4798
+ };
4799
+ } | {
4800
+ type: "exact";
4801
+ term: string | {
4802
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4790
4803
  $location?: string | undefined;
4791
4804
  };
4792
4805
  } | undefined;
4793
4806
  updatedAtLocation?: {
4794
4807
  type: "within";
4795
4808
  location: string | {
4796
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4809
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4810
+ $location?: string | undefined;
4811
+ };
4812
+ } | {
4813
+ type: "exact";
4814
+ term: string | {
4815
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4797
4816
  $location?: string | undefined;
4798
4817
  };
4799
4818
  } | undefined;
4800
4819
  updatedByUserRole?: {
4801
4820
  type: "exact";
4802
4821
  term: string | {
4803
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4822
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4804
4823
  $location?: string | undefined;
4805
4824
  };
4806
4825
  } | undefined;
4807
4826
  assignedTo?: {
4808
4827
  type: "exact";
4809
4828
  term: string | {
4810
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4829
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4811
4830
  $location?: string | undefined;
4812
4831
  };
4813
4832
  } | undefined;
4814
4833
  createdBy?: {
4815
4834
  type: "exact";
4816
4835
  term: string | {
4817
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4836
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4818
4837
  $location?: string | undefined;
4819
4838
  };
4820
4839
  } | undefined;
@@ -4825,7 +4844,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4825
4844
  updatedBy?: {
4826
4845
  type: "exact";
4827
4846
  term: string | {
4828
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4847
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4829
4848
  $location?: string | undefined;
4830
4849
  };
4831
4850
  } | undefined;
@@ -4845,10 +4864,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4845
4864
  eventType?: string | undefined;
4846
4865
  status?: {
4847
4866
  type: "anyOf";
4848
- terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED")[];
4867
+ terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
4849
4868
  } | {
4850
4869
  type: "exact";
4851
- term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED";
4870
+ term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
4852
4871
  } | undefined;
4853
4872
  createdAt?: {
4854
4873
  type: "exact";
@@ -4875,7 +4894,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4875
4894
  'legalStatuses.DECLARED.createdAtLocation'?: {
4876
4895
  type: "within";
4877
4896
  location: string | {
4878
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4897
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4879
4898
  $location?: string | undefined;
4880
4899
  };
4881
4900
  } | undefined;
@@ -4897,7 +4916,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4897
4916
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4898
4917
  type: "within";
4899
4918
  location: string | {
4900
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4919
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4901
4920
  $location?: string | undefined;
4902
4921
  };
4903
4922
  } | undefined;
@@ -4912,35 +4931,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4912
4931
  createdAtLocation?: {
4913
4932
  type: "within";
4914
4933
  location: string | {
4915
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4934
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4935
+ $location?: string | undefined;
4936
+ };
4937
+ } | {
4938
+ type: "exact";
4939
+ term: string | {
4940
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4916
4941
  $location?: string | undefined;
4917
4942
  };
4918
4943
  } | undefined;
4919
4944
  updatedAtLocation?: {
4920
4945
  type: "within";
4921
4946
  location: string | {
4922
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4947
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4948
+ $location?: string | undefined;
4949
+ };
4950
+ } | {
4951
+ type: "exact";
4952
+ term: string | {
4953
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4923
4954
  $location?: string | undefined;
4924
4955
  };
4925
4956
  } | undefined;
4926
4957
  updatedByUserRole?: {
4927
4958
  type: "exact";
4928
4959
  term: string | {
4929
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4960
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4930
4961
  $location?: string | undefined;
4931
4962
  };
4932
4963
  } | undefined;
4933
4964
  assignedTo?: {
4934
4965
  type: "exact";
4935
4966
  term: string | {
4936
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4967
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4937
4968
  $location?: string | undefined;
4938
4969
  };
4939
4970
  } | undefined;
4940
4971
  createdBy?: {
4941
4972
  type: "exact";
4942
4973
  term: string | {
4943
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4974
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4944
4975
  $location?: string | undefined;
4945
4976
  };
4946
4977
  } | undefined;
@@ -4951,7 +4982,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4951
4982
  updatedBy?: {
4952
4983
  type: "exact";
4953
4984
  term: string | {
4954
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
4985
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4955
4986
  $location?: string | undefined;
4956
4987
  };
4957
4988
  } | undefined;
@@ -5004,8 +5035,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5004
5035
  user: {
5005
5036
  id: string;
5006
5037
  type: "system";
5007
- primaryOfficeId?: undefined;
5008
5038
  signature?: undefined;
5039
+ primaryOfficeId?: undefined;
5009
5040
  administrativeAreaId?: undefined;
5010
5041
  } | {
5011
5042
  id: string;
@@ -5052,8 +5083,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5052
5083
  user: {
5053
5084
  id: string;
5054
5085
  type: "system";
5055
- primaryOfficeId?: undefined;
5056
5086
  signature?: undefined;
5087
+ primaryOfficeId?: undefined;
5057
5088
  administrativeAreaId?: undefined;
5058
5089
  } | {
5059
5090
  id: string;
@@ -5170,8 +5201,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5170
5201
  user: {
5171
5202
  id: string;
5172
5203
  type: "system";
5173
- primaryOfficeId?: undefined;
5174
5204
  signature?: undefined;
5205
+ primaryOfficeId?: undefined;
5175
5206
  administrativeAreaId?: undefined;
5176
5207
  } | {
5177
5208
  id: string;
@@ -5205,8 +5236,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5205
5236
  user: {
5206
5237
  id: string;
5207
5238
  type: "system";
5208
- primaryOfficeId?: undefined;
5209
5239
  signature?: undefined;
5240
+ primaryOfficeId?: undefined;
5210
5241
  administrativeAreaId?: undefined;
5211
5242
  } | {
5212
5243
  id: string;