@opencrvs/toolkit 2.2.0-rc.ac299dc → 2.2.0-rc.e6591c5

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 (249) hide show
  1. package/build.sh +17 -14
  2. package/dist/application-config/index.js +21 -11
  3. package/dist/authentication/index.d.ts +2 -1
  4. package/dist/authentication/index.js +20 -13
  5. package/dist/cli.js +2631 -377
  6. package/dist/commons/api/router.d.ts +263 -250
  7. package/dist/commons/application-config/index.d.ts +3 -3
  8. package/dist/commons/conditionals/conditionals.d.ts +4 -4
  9. package/dist/commons/conditionals/index.d.ts +1 -0
  10. package/dist/commons/conditionals/validate.d.ts +6 -1
  11. package/dist/commons/events/ActionConfig.d.ts +16 -23
  12. package/dist/commons/events/ActionDocument.d.ts +1 -0
  13. package/dist/commons/events/ActionInput.d.ts +4 -4
  14. package/dist/commons/events/ActionStatus.d.ts +2 -2
  15. package/dist/commons/events/ActionType.d.ts +2 -0
  16. package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -6
  17. package/dist/commons/events/CompositeFieldValue.d.ts +5 -1
  18. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -18
  19. package/dist/commons/events/Draft.d.ts +34 -1
  20. package/dist/commons/events/EventConfig.d.ts +448 -1
  21. package/dist/commons/events/EventDocument.d.ts +2 -0
  22. package/dist/commons/events/EventIndex.d.ts +3 -6
  23. package/dist/commons/events/EventInput.d.ts +1 -0
  24. package/dist/commons/events/EventMetadata.d.ts +1 -1
  25. package/dist/commons/events/FieldConfig.d.ts +1 -1
  26. package/dist/commons/events/FieldTypeMapping.d.ts +17 -17
  27. package/dist/commons/events/Flag.d.ts +1 -7
  28. package/dist/commons/events/PlainDate.d.ts +6 -0
  29. package/dist/commons/events/WorkqueueConfig.d.ts +12 -27
  30. package/dist/commons/events/defineConfig.d.ts +7 -2
  31. package/dist/commons/events/event.d.ts +4 -1
  32. package/dist/commons/events/eventConfigValidation.d.ts +9 -0
  33. package/dist/commons/events/field.d.ts +5 -5
  34. package/dist/commons/events/index.d.ts +3 -0
  35. package/dist/commons/events/locations.d.ts +1 -1
  36. package/dist/commons/events/scopes.d.ts +2 -1
  37. package/dist/commons/events/state/flags.d.ts +1 -1
  38. package/dist/commons/events/state/index.d.ts +1 -0
  39. package/dist/commons/events/test.utils.d.ts +62 -7
  40. package/dist/commons/events/toNotificationForm.d.ts +17 -0
  41. package/dist/commons/events/utils.d.ts +59 -7
  42. package/dist/commons/users/Role.d.ts +23 -0
  43. package/dist/commons/users/User.d.ts +263 -0
  44. package/dist/commons/users/authentication.d.ts +67 -0
  45. package/dist/commons/users/index.d.ts +5 -0
  46. package/dist/commons/users/roleValidations.d.ts +15 -0
  47. package/dist/commons/users/scopes.d.ts +1402 -0
  48. package/dist/commons/users/userReferences.d.ts +176 -0
  49. package/dist/conditionals/index.js +5 -6
  50. package/dist/configurator/index.d.ts +24 -0
  51. package/dist/configurator/index.d.ts.map +1 -0
  52. package/dist/configurator/index.js +161 -0
  53. package/dist/configurator/layout.d.ts +29 -0
  54. package/dist/configurator/layout.d.ts.map +1 -0
  55. package/dist/configurator/layout.js +78 -0
  56. package/dist/configurator/paths.d.ts +13 -0
  57. package/dist/configurator/paths.d.ts.map +1 -0
  58. package/dist/configurator/paths.js +48 -0
  59. package/dist/configurator/server/environments.d.ts +20 -0
  60. package/dist/configurator/server/environments.d.ts.map +1 -0
  61. package/dist/configurator/server/environments.js +143 -0
  62. package/dist/configurator/server/files.d.ts +11 -0
  63. package/dist/configurator/server/files.d.ts.map +1 -0
  64. package/dist/configurator/server/files.js +67 -0
  65. package/dist/configurator/server/github.d.ts +56 -0
  66. package/dist/configurator/server/github.d.ts.map +1 -0
  67. package/dist/configurator/server/github.js +239 -0
  68. package/dist/configurator/server/plugin.d.ts +39 -0
  69. package/dist/configurator/server/plugin.d.ts.map +1 -0
  70. package/dist/configurator/server/plugin.js +298 -0
  71. package/dist/configurator/server/seal.d.ts +2 -0
  72. package/dist/configurator/server/seal.d.ts.map +1 -0
  73. package/dist/configurator/server/seal.js +36 -0
  74. package/dist/configurator/server/sshKeys.d.ts +5 -0
  75. package/dist/configurator/server/sshKeys.d.ts.map +1 -0
  76. package/dist/configurator/server/sshKeys.js +28 -0
  77. package/dist/configurator/server/start.d.ts +12 -0
  78. package/dist/configurator/server/start.d.ts.map +1 -0
  79. package/dist/configurator/server/start.js +91 -0
  80. package/dist/configurator/testing.d.ts +11 -0
  81. package/dist/configurator/testing.d.ts.map +1 -0
  82. package/dist/configurator/testing.js +74 -0
  83. package/dist/configurator/ui/bindings/bindings.d.ts +35 -0
  84. package/dist/configurator/ui/bindings/bindings.d.ts.map +1 -0
  85. package/dist/configurator/ui/bindings/bindings.js +5 -0
  86. package/dist/configurator/ui/bindings/parsers.d.ts +7 -0
  87. package/dist/configurator/ui/bindings/parsers.d.ts.map +1 -0
  88. package/dist/configurator/ui/bindings/parsers.js +85 -0
  89. package/dist/configurator/ui/form/users.d.ts +11 -0
  90. package/dist/configurator/ui/form/users.d.ts.map +1 -0
  91. package/dist/configurator/ui/form/users.js +33 -0
  92. package/dist/configurator/ui/plan/dependencyHosts.d.ts +2 -0
  93. package/dist/configurator/ui/plan/dependencyHosts.d.ts.map +1 -0
  94. package/dist/configurator/ui/plan/dependencyHosts.js +36 -0
  95. package/dist/configurator/ui/plan/templateValues.d.ts +11 -0
  96. package/dist/configurator/ui/plan/templateValues.d.ts.map +1 -0
  97. package/dist/configurator/ui/plan/templateValues.js +70 -0
  98. package/dist/configurator/workflows.d.ts +54 -0
  99. package/dist/configurator/workflows.d.ts.map +1 -0
  100. package/dist/configurator/workflows.js +161 -0
  101. package/dist/configurator-assets/forms/bindings.yml +265 -0
  102. package/dist/configurator-assets/templates/README.md +18 -0
  103. package/dist/configurator-assets/templates/charts-values/dependencies/values.override.yaml +4 -0
  104. package/dist/configurator-assets/templates/charts-values/dependencies/values.yaml +96 -0
  105. package/dist/configurator-assets/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
  106. package/dist/configurator-assets/templates/charts-values/opencrvs-services/values.yaml +83 -0
  107. package/dist/configurator-assets/templates/charts-values/opentelemetry/values.yaml +102 -0
  108. package/dist/configurator-assets/templates/charts-values/traefik/values.override.yaml +4 -0
  109. package/dist/configurator-assets/templates/charts-values/traefik/values.yaml +130 -0
  110. package/dist/configurator-assets/templates/inventory/inventory.template.yml +98 -0
  111. package/dist/configurator-assets/ui/apple-touch-icon.png +0 -0
  112. package/dist/configurator-assets/ui/assets/index-CaqYFJUk.css +6 -0
  113. package/dist/configurator-assets/ui/assets/index-DU1Y6E0b.js +169 -0
  114. package/dist/configurator-assets/ui/assets/opencrvs-logo-sIjz08HT.svg +1 -0
  115. package/dist/configurator-assets/ui/assets/poppins-400-BwTUGeWf.woff2 +0 -0
  116. package/dist/configurator-assets/ui/assets/poppins-500-CWICHMj6.woff2 +0 -0
  117. package/dist/configurator-assets/ui/assets/poppins-600-DJVo7c07.woff2 +0 -0
  118. package/dist/configurator-assets/ui/assets/poppins-700-g9MkRaG0.woff2 +0 -0
  119. package/dist/configurator-assets/ui/favicon-32x32.png +0 -0
  120. package/dist/configurator-assets/ui/index.html +25 -0
  121. package/dist/environment/custom-types.d.ts +1 -0
  122. package/dist/environment/custom-types.d.ts.map +1 -1
  123. package/dist/environment/derived-variables.d.ts +18 -4
  124. package/dist/environment/derived-variables.d.ts.map +1 -1
  125. package/dist/environment/derived-variables.js +20 -4
  126. package/dist/environment/questions.d.ts +42 -9
  127. package/dist/environment/questions.d.ts.map +1 -1
  128. package/dist/environment/questions.js +71 -48
  129. package/dist/environment/registry.d.ts +15 -0
  130. package/dist/environment/registry.d.ts.map +1 -0
  131. package/dist/environment/registry.js +112 -0
  132. package/dist/environment/setup-environment.d.ts.map +1 -1
  133. package/dist/environment/setup-environment.js +145 -25
  134. package/dist/environment/templates.d.ts.map +1 -1
  135. package/dist/events/index.js +826 -210
  136. package/dist/migrations/add-notify-config.d.ts +40 -0
  137. package/dist/migrations/add-notify-config.d.ts.map +1 -0
  138. package/dist/migrations/add-notify-config.js +249 -0
  139. package/dist/migrations/index.d.ts +9 -0
  140. package/dist/migrations/index.d.ts.map +1 -0
  141. package/dist/migrations/index.js +1306 -0
  142. package/dist/migrations/move-declaration-to-declare-action.d.ts +38 -0
  143. package/dist/migrations/move-declaration-to-declare-action.d.ts.map +1 -0
  144. package/dist/migrations/move-declaration-to-declare-action.js +260 -0
  145. package/dist/migrations/{add-translations.d.ts → persistent/add-translations.d.ts} +1 -1
  146. package/dist/migrations/persistent/add-translations.d.ts.map +1 -0
  147. package/dist/migrations/{add-translations.js → persistent/add-translations.js} +2 -2
  148. package/dist/migrations/persistent/check-upgrade-path.d.ts +36 -0
  149. package/dist/migrations/persistent/check-upgrade-path.d.ts.map +1 -0
  150. package/dist/migrations/persistent/check-upgrade-path.js +105 -0
  151. package/dist/migrations/persistent/update-toolkit-dependency.d.ts +7 -0
  152. package/dist/migrations/persistent/update-toolkit-dependency.d.ts.map +1 -0
  153. package/dist/migrations/persistent/update-toolkit-dependency.js +77 -0
  154. package/dist/migrations/{v2.2/read-declaration-through-helper.d.ts → read-declaration-through-helper.d.ts} +1 -1
  155. package/dist/migrations/read-declaration-through-helper.d.ts.map +1 -0
  156. package/dist/migrations/{v2.2/read-declaration-through-helper.js → read-declaration-through-helper.js} +4 -62
  157. package/dist/migrations/replace-incomplete-flag.d.ts +26 -0
  158. package/dist/migrations/replace-incomplete-flag.d.ts.map +1 -0
  159. package/dist/migrations/replace-incomplete-flag.js +126 -0
  160. package/dist/migrations/resolve-versioned-event-config.d.ts +56 -0
  161. package/dist/migrations/resolve-versioned-event-config.d.ts.map +1 -0
  162. package/dist/migrations/resolve-versioned-event-config.js +353 -0
  163. package/dist/migrations/utils.d.ts +61 -0
  164. package/dist/migrations/utils.d.ts.map +1 -0
  165. package/dist/migrations/utils.js +218 -0
  166. package/dist/notification/index.js +722 -82
  167. package/dist/roles/index.d.ts +2 -0
  168. package/dist/roles/index.d.ts.map +1 -0
  169. package/dist/roles/index.js +730 -0
  170. package/dist/scopes/index.d.ts +54 -94
  171. package/dist/scopes/index.js +15 -12
  172. package/dist/templates/charts-values/dependencies/values.yaml +5 -2
  173. package/dist/templates/charts-values/opencrvs-services/values.yaml +5 -7
  174. package/dist/templates/charts-values/traefik/values.yaml +2 -0
  175. package/dist/verify/endpoints.d.ts +11 -0
  176. package/dist/verify/endpoints.d.ts.map +1 -1
  177. package/dist/verify/endpoints.js +21 -27
  178. package/opencrvs-toolkit-2.2.0-rc.e6591c5.tgz +0 -0
  179. package/package.json +17 -4
  180. package/tsconfig.build.json +11 -1
  181. package/tsconfig.build.tsbuildinfo +1 -1
  182. package/tsconfig.json +15 -6
  183. package/dist/migrations/add-translations.d.ts.map +0 -1
  184. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +0 -3
  185. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +0 -1
  186. package/dist/migrations/v2.1/add-explicit-correction-flags.js +0 -234
  187. package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +0 -3
  188. package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +0 -1
  189. package/dist/migrations/v2.1/add-recovery-link-notifications.js +0 -511
  190. package/dist/migrations/v2.1/enable-telemetry.d.ts +0 -3
  191. package/dist/migrations/v2.1/enable-telemetry.d.ts.map +0 -1
  192. package/dist/migrations/v2.1/enable-telemetry.js +0 -455
  193. package/dist/migrations/v2.1/index.d.ts +0 -6
  194. package/dist/migrations/v2.1/index.d.ts.map +0 -1
  195. package/dist/migrations/v2.1/index.js +0 -50
  196. package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts +0 -17
  197. package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts.map +0 -1
  198. package/dist/migrations/v2.1/migrate-infrastructure-to-assets.js +0 -348
  199. package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts +0 -2
  200. package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts.map +0 -1
  201. package/dist/migrations/v2.1/remove-metabase-package-installs.js +0 -161
  202. package/dist/migrations/v2.1/remove-sentry.d.ts +0 -3
  203. package/dist/migrations/v2.1/remove-sentry.d.ts.map +0 -1
  204. package/dist/migrations/v2.1/remove-sentry.js +0 -354
  205. package/dist/migrations/v2.1/rename-trigger-paths.d.ts +0 -3
  206. package/dist/migrations/v2.1/rename-trigger-paths.d.ts.map +0 -1
  207. package/dist/migrations/v2.1/rename-trigger-paths.js +0 -216
  208. package/dist/migrations/v2.1/template-files.d.ts +0 -8
  209. package/dist/migrations/v2.1/template-files.d.ts.map +0 -1
  210. package/dist/migrations/v2.1/template-files.js +0 -49
  211. package/dist/migrations/v2.1/upgrade-tilt.d.ts +0 -11
  212. package/dist/migrations/v2.1/upgrade-tilt.d.ts.map +0 -1
  213. package/dist/migrations/v2.1/upgrade-tilt.js +0 -139
  214. package/dist/migrations/v2.2/index.d.ts +0 -6
  215. package/dist/migrations/v2.2/index.d.ts.map +0 -1
  216. package/dist/migrations/v2.2/index.js +0 -456
  217. package/dist/migrations/v2.2/read-declaration-through-helper.d.ts.map +0 -1
  218. package/dist/templates/countryconfig-template/.tiltignore +0 -1
  219. package/dist/templates/countryconfig-template/Dockerfile.assets +0 -7
  220. package/dist/templates/countryconfig-template/Tiltfile +0 -112
  221. package/dist/templates/countryconfig-template/assets/README.md +0 -1
  222. package/dist/templates/countryconfig-template/assets/clear-all-data-dev.sh +0 -61
  223. package/dist/templates/countryconfig-template/assets/deployment/deploy.sh +0 -455
  224. package/dist/templates/countryconfig-template/assets/deployment/reindex.sh +0 -168
  225. package/dist/templates/countryconfig-template/assets/deployment/validate-required-variables-in-compose-files.ts +0 -67
  226. package/dist/templates/countryconfig-template/assets/elasticsearch/reindex.sh +0 -168
  227. package/dist/templates/countryconfig-template/assets/metabase/README.md +0 -34
  228. package/dist/templates/countryconfig-template/assets/metabase/environment-configuration.sql +0 -36
  229. package/dist/templates/countryconfig-template/assets/metabase/initialize-database.sh +0 -46
  230. package/dist/templates/countryconfig-template/assets/metabase/metabase.init.db.sql +0 -27737
  231. package/dist/templates/countryconfig-template/assets/metabase/open-shell.sh +0 -21
  232. package/dist/templates/countryconfig-template/assets/metabase/package.json +0 -13
  233. package/dist/templates/countryconfig-template/assets/metabase/run-dev.sh +0 -108
  234. package/dist/templates/countryconfig-template/assets/metabase/run.sh +0 -120
  235. package/dist/templates/countryconfig-template/assets/metabase/update-database.sh +0 -40
  236. package/dist/templates/countryconfig-template/assets/postgres/setup-analytics.sh +0 -135
  237. package/dist/templates/countryconfig-template/assets/postgres/setup-reference-data.sh +0 -108
  238. package/dist/templates/countryconfig-template/tilt/clear-all-data.ps1 +0 -50
  239. package/dist/templates/countryconfig-template/tilt/clear-all-data.sh +0 -35
  240. package/dist/templates/countryconfig-template/tilt/common.tilt +0 -145
  241. package/dist/templates/countryconfig-template/tilt/examples/dependencies/values.yaml +0 -15
  242. package/dist/templates/countryconfig-template/tilt/examples/opencrvs-services/values.yaml +0 -56
  243. package/dist/templates/countryconfig-template/tilt/examples/traefik/values-minikube.yaml +0 -21
  244. package/dist/templates/countryconfig-template/tilt/examples/traefik/values.yaml +0 -38
  245. package/dist/templates/countryconfig-template/tilt/helm/dependencies/values.yaml +0 -17
  246. package/dist/templates/countryconfig-template/tilt/helm/opencrvs-services/values.yaml +0 -16
  247. package/dist/templates/countryconfig-template/tilt/lib.tilt +0 -95
  248. package/dist/templates/countryconfig-template/tilt/opencrvs.tilt +0 -136
  249. package/opencrvs-toolkit-2.2.0-rc.ac299dc.tgz +0 -0
@@ -2,18 +2,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2
2
  ctx: Partial<{
3
3
  token: `Bearer ${string}`;
4
4
  user: {
5
+ id: string & import("zod").$brand<"UUID">;
6
+ type: "system";
7
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9
+ signature?: undefined;
10
+ } | {
5
11
  id: string & import("zod").$brand<"UUID">;
6
12
  role: string;
7
13
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8
14
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9
15
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
10
16
  type: "user";
11
- } | {
12
- id: string & import("zod").$brand<"UUID">;
13
- type: "system";
14
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
15
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
16
- signature?: undefined;
17
17
  };
18
18
  }>;
19
19
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -24,18 +24,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24
24
  ctx: Partial<{
25
25
  token: `Bearer ${string}`;
26
26
  user: {
27
+ id: string & import("zod").$brand<"UUID">;
28
+ type: "system";
29
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
30
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
31
+ signature?: undefined;
32
+ } | {
27
33
  id: string & import("zod").$brand<"UUID">;
28
34
  role: string;
29
35
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
30
36
  primaryOfficeId: string & import("zod").$brand<"UUID">;
31
37
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
32
38
  type: "user";
33
- } | {
34
- id: string & import("zod").$brand<"UUID">;
35
- type: "system";
36
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
37
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
38
- signature?: undefined;
39
39
  };
40
40
  }>;
41
41
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -46,18 +46,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
46
46
  ctx: Partial<{
47
47
  token: `Bearer ${string}`;
48
48
  user: {
49
+ id: string & import("zod").$brand<"UUID">;
50
+ type: "system";
51
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
52
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
53
+ signature?: undefined;
54
+ } | {
49
55
  id: string & import("zod").$brand<"UUID">;
50
56
  role: string;
51
57
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
52
58
  primaryOfficeId: string & import("zod").$brand<"UUID">;
53
59
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
54
60
  type: "user";
55
- } | {
56
- id: string & import("zod").$brand<"UUID">;
57
- type: "system";
58
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
59
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
60
- signature?: undefined;
61
61
  };
62
62
  }>;
63
63
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -94,18 +94,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
94
94
  ctx: Partial<{
95
95
  token: `Bearer ${string}`;
96
96
  user: {
97
+ id: string & import("zod").$brand<"UUID">;
98
+ type: "system";
99
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
100
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
101
+ signature?: undefined;
102
+ } | {
97
103
  id: string & import("zod").$brand<"UUID">;
98
104
  role: string;
99
105
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
100
106
  primaryOfficeId: string & import("zod").$brand<"UUID">;
101
107
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
102
108
  type: "user";
103
- } | {
104
- id: string & import("zod").$brand<"UUID">;
105
- type: "system";
106
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
107
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
108
- signature?: undefined;
109
109
  };
110
110
  }>;
111
111
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -114,7 +114,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
114
114
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
115
115
  get: import("@trpc/server").TRPCQueryProcedure<{
116
116
  input: void;
117
- output: import("../commons").EventConfig[];
117
+ output: import("../commons").VersionedEventConfig[];
118
118
  meta: import("trpc-to-openapi").OpenApiMeta;
119
119
  }>;
120
120
  }>>;
@@ -123,6 +123,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
123
123
  transactionId: string;
124
124
  type: string;
125
125
  createdAtLocation?: string | null | undefined;
126
+ configVersionId?: string | undefined;
126
127
  };
127
128
  output: {
128
129
  id: string & import("zod").$brand<"UUID">;
@@ -469,6 +470,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
469
470
  status: "Rejected";
470
471
  })[];
471
472
  trackingId: string;
473
+ configVersionId: string;
472
474
  };
473
475
  meta: import("trpc-to-openapi").OpenApiMeta;
474
476
  }>;
@@ -822,6 +824,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
822
824
  status: "Rejected";
823
825
  })[];
824
826
  trackingId: string;
827
+ configVersionId: string;
825
828
  };
826
829
  meta: import("trpc-to-openapi").OpenApiMeta;
827
830
  }>;
@@ -1175,6 +1178,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1175
1178
  status: "Rejected";
1176
1179
  })[];
1177
1180
  trackingId: string;
1181
+ configVersionId: string;
1178
1182
  }[];
1179
1183
  meta: import("trpc-to-openapi").OpenApiMeta;
1180
1184
  }>;
@@ -1191,18 +1195,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1191
1195
  ctx: Partial<{
1192
1196
  token: `Bearer ${string}`;
1193
1197
  user: {
1198
+ id: string & import("zod").$brand<"UUID">;
1199
+ type: "system";
1200
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1201
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1202
+ signature?: undefined;
1203
+ } | {
1194
1204
  id: string & import("zod").$brand<"UUID">;
1195
1205
  role: string;
1196
1206
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1197
1207
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1198
1208
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1199
1209
  type: "user";
1200
- } | {
1201
- id: string & import("zod").$brand<"UUID">;
1202
- type: "system";
1203
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1204
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1205
- signature?: undefined;
1206
1210
  };
1207
1211
  }>;
1208
1212
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1227,7 +1231,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1227
1231
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1228
1232
  status: "Accepted" | "Rejected" | "Requested";
1229
1233
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1230
- type: "APPROVE_CORRECTION" | "ARCHIVE" | "ASSIGN" | "CREATE" | "CUSTOM" | "DECLARE" | "DUPLICATE_DETECTED" | "EDIT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE" | "UNASSIGN";
1234
+ type: "DECLARE" | "NOTIFY";
1231
1235
  };
1232
1236
  }[];
1233
1237
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1243,7 +1247,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1243
1247
  keepAssignmentIfAccepted?: boolean | undefined;
1244
1248
  keepAssignmentIfRejected?: boolean | undefined;
1245
1249
  createdAtLocation?: string | null | undefined;
1246
- type: "DECLARE";
1250
+ type: "DECLARE" | "NOTIFY";
1247
1251
  status: "Accepted" | "Rejected" | "Requested";
1248
1252
  };
1249
1253
  output: {
@@ -1262,7 +1266,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1262
1266
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1263
1267
  status: "Accepted" | "Rejected" | "Requested";
1264
1268
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1265
- type: "APPROVE_CORRECTION" | "ARCHIVE" | "ASSIGN" | "CREATE" | "CUSTOM" | "DECLARE" | "DUPLICATE_DETECTED" | "EDIT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE" | "UNASSIGN";
1269
+ type: "DECLARE" | "NOTIFY";
1266
1270
  };
1267
1271
  };
1268
1272
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1272,18 +1276,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1272
1276
  ctx: Partial<{
1273
1277
  token: `Bearer ${string}`;
1274
1278
  user: {
1279
+ id: string & import("zod").$brand<"UUID">;
1280
+ type: "system";
1281
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1282
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1283
+ signature?: undefined;
1284
+ } | {
1275
1285
  id: string & import("zod").$brand<"UUID">;
1276
1286
  role: string;
1277
1287
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1278
1288
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1279
1289
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1280
1290
  type: "user";
1281
- } | {
1282
- id: string & import("zod").$brand<"UUID">;
1283
- type: "system";
1284
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1285
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1286
- signature?: undefined;
1287
1291
  };
1288
1292
  }>;
1289
1293
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1304,18 +1308,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1304
1308
  ctx: Partial<{
1305
1309
  token: `Bearer ${string}`;
1306
1310
  user: {
1311
+ id: string & import("zod").$brand<"UUID">;
1312
+ type: "system";
1313
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1314
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1315
+ signature?: undefined;
1316
+ } | {
1307
1317
  id: string & import("zod").$brand<"UUID">;
1308
1318
  role: string;
1309
1319
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1310
1320
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1311
1321
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1312
1322
  type: "user";
1313
- } | {
1314
- id: string & import("zod").$brand<"UUID">;
1315
- type: "system";
1316
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1317
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1318
- signature?: undefined;
1319
1323
  };
1320
1324
  }>;
1321
1325
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1326,18 +1330,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1326
1330
  ctx: Partial<{
1327
1331
  token: `Bearer ${string}`;
1328
1332
  user: {
1333
+ id: string & import("zod").$brand<"UUID">;
1334
+ type: "system";
1335
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1336
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1337
+ signature?: undefined;
1338
+ } | {
1329
1339
  id: string & import("zod").$brand<"UUID">;
1330
1340
  role: string;
1331
1341
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1332
1342
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1333
1343
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1334
1344
  type: "user";
1335
- } | {
1336
- id: string & import("zod").$brand<"UUID">;
1337
- type: "system";
1338
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1339
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1340
- signature?: undefined;
1341
1345
  };
1342
1346
  }>;
1343
1347
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1378,14 +1382,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1378
1382
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
1379
1383
  eventId: string;
1380
1384
  transactionId: string;
1381
- declaration?: Record<string, unknown> | undefined;
1382
- annotation?: Record<string, unknown> | undefined;
1383
1385
  originalActionId?: string | undefined;
1384
1386
  keepAssignment?: boolean | undefined;
1385
1387
  keepAssignmentIfAccepted?: boolean | undefined;
1386
1388
  keepAssignmentIfRejected?: boolean | undefined;
1387
1389
  waitFor?: boolean | undefined;
1388
1390
  type?: "NOTIFY" | undefined;
1391
+ declaration?: Record<string, unknown> | undefined;
1392
+ annotation?: Record<string, unknown> | undefined;
1389
1393
  createdAtLocation?: string | null | undefined;
1390
1394
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
1391
1395
  eventId: string;
@@ -1654,18 +1658,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1654
1658
  ctx: Partial<{
1655
1659
  token: `Bearer ${string}`;
1656
1660
  user: {
1661
+ id: string & import("zod").$brand<"UUID">;
1662
+ type: "system";
1663
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1664
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1665
+ signature?: undefined;
1666
+ } | {
1657
1667
  id: string & import("zod").$brand<"UUID">;
1658
1668
  role: string;
1659
1669
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1660
1670
  primaryOfficeId: string & import("zod").$brand<"UUID">;
1661
1671
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1662
1672
  type: "user";
1663
- } | {
1664
- id: string & import("zod").$brand<"UUID">;
1665
- type: "system";
1666
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1667
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1668
- signature?: undefined;
1669
1673
  };
1670
1674
  }>;
1671
1675
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1675,13 +1679,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1675
1679
  request: import("@trpc/server").TRPCMutationProcedure<{
1676
1680
  input: {
1677
1681
  transactionId: string;
1678
- declaration?: Record<string, unknown> | undefined;
1679
- annotation?: Record<string, unknown> | undefined;
1680
1682
  originalActionId?: string | undefined;
1681
1683
  keepAssignment?: boolean | undefined;
1682
1684
  keepAssignmentIfAccepted?: boolean | undefined;
1683
1685
  keepAssignmentIfRejected?: boolean | undefined;
1684
1686
  waitFor?: boolean | undefined;
1687
+ declaration?: Record<string, unknown> | undefined;
1688
+ annotation?: Record<string, unknown> | undefined;
1685
1689
  eventType: string;
1686
1690
  createdAtLocation: string;
1687
1691
  };
@@ -2030,6 +2034,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2030
2034
  status: "Rejected";
2031
2035
  })[];
2032
2036
  trackingId: string;
2037
+ configVersionId: string;
2033
2038
  };
2034
2039
  meta: import("trpc-to-openapi").OpenApiMeta;
2035
2040
  }>;
@@ -2038,18 +2043,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2038
2043
  ctx: Partial<{
2039
2044
  token: `Bearer ${string}`;
2040
2045
  user: {
2046
+ id: string & import("zod").$brand<"UUID">;
2047
+ type: "system";
2048
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2049
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2050
+ signature?: undefined;
2051
+ } | {
2041
2052
  id: string & import("zod").$brand<"UUID">;
2042
2053
  role: string;
2043
2054
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2044
2055
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2045
2056
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2046
2057
  type: "user";
2047
- } | {
2048
- id: string & import("zod").$brand<"UUID">;
2049
- type: "system";
2050
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2051
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2052
- signature?: undefined;
2053
2058
  };
2054
2059
  }>;
2055
2060
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -2085,14 +2090,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2085
2090
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2086
2091
  eventId: string;
2087
2092
  transactionId: string;
2088
- declaration?: Record<string, unknown> | undefined;
2089
- annotation?: Record<string, unknown> | undefined;
2090
2093
  originalActionId?: string | undefined;
2091
2094
  keepAssignment?: boolean | undefined;
2092
2095
  keepAssignmentIfAccepted?: boolean | undefined;
2093
2096
  keepAssignmentIfRejected?: boolean | undefined;
2094
2097
  waitFor?: boolean | undefined;
2095
2098
  type?: "NOTIFY" | undefined;
2099
+ declaration?: Record<string, unknown> | undefined;
2100
+ annotation?: Record<string, unknown> | undefined;
2096
2101
  createdAtLocation?: string | null | undefined;
2097
2102
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2098
2103
  eventId: string;
@@ -2715,6 +2720,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2715
2720
  status: "Rejected";
2716
2721
  })[];
2717
2722
  trackingId: string;
2723
+ configVersionId: string;
2718
2724
  };
2719
2725
  meta: import("trpc-to-openapi").OpenApiMeta;
2720
2726
  }>;
@@ -2723,18 +2729,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2723
2729
  ctx: Partial<{
2724
2730
  token: `Bearer ${string}`;
2725
2731
  user: {
2732
+ id: string & import("zod").$brand<"UUID">;
2733
+ type: "system";
2734
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2735
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2736
+ signature?: undefined;
2737
+ } | {
2726
2738
  id: string & import("zod").$brand<"UUID">;
2727
2739
  role: string;
2728
2740
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2729
2741
  primaryOfficeId: string & import("zod").$brand<"UUID">;
2730
2742
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2731
2743
  type: "user";
2732
- } | {
2733
- id: string & import("zod").$brand<"UUID">;
2734
- type: "system";
2735
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2736
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2737
- signature?: undefined;
2738
2744
  };
2739
2745
  }>;
2740
2746
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -2775,14 +2781,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2775
2781
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2776
2782
  eventId: string;
2777
2783
  transactionId: string;
2778
- declaration?: Record<string, unknown> | undefined;
2779
- annotation?: Record<string, unknown> | undefined;
2780
2784
  originalActionId?: string | undefined;
2781
2785
  keepAssignment?: boolean | undefined;
2782
2786
  keepAssignmentIfAccepted?: boolean | undefined;
2783
2787
  keepAssignmentIfRejected?: boolean | undefined;
2784
2788
  waitFor?: boolean | undefined;
2785
2789
  type?: "NOTIFY" | undefined;
2790
+ declaration?: Record<string, unknown> | undefined;
2791
+ annotation?: Record<string, unknown> | undefined;
2786
2792
  createdAtLocation?: string | null | undefined;
2787
2793
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2788
2794
  eventId: string;
@@ -3051,18 +3057,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3051
3057
  ctx: Partial<{
3052
3058
  token: `Bearer ${string}`;
3053
3059
  user: {
3060
+ id: string & import("zod").$brand<"UUID">;
3061
+ type: "system";
3062
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3063
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3064
+ signature?: undefined;
3065
+ } | {
3054
3066
  id: string & import("zod").$brand<"UUID">;
3055
3067
  role: string;
3056
3068
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3057
3069
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3058
3070
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3059
3071
  type: "user";
3060
- } | {
3061
- id: string & import("zod").$brand<"UUID">;
3062
- type: "system";
3063
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3064
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3065
- signature?: undefined;
3066
3072
  };
3067
3073
  }>;
3068
3074
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -3103,14 +3109,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3103
3109
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3104
3110
  eventId: string;
3105
3111
  transactionId: string;
3106
- declaration?: Record<string, unknown> | undefined;
3107
- annotation?: Record<string, unknown> | undefined;
3108
3112
  originalActionId?: string | undefined;
3109
3113
  keepAssignment?: boolean | undefined;
3110
3114
  keepAssignmentIfAccepted?: boolean | undefined;
3111
3115
  keepAssignmentIfRejected?: boolean | undefined;
3112
3116
  waitFor?: boolean | undefined;
3113
3117
  type?: "NOTIFY" | undefined;
3118
+ declaration?: Record<string, unknown> | undefined;
3119
+ annotation?: Record<string, unknown> | undefined;
3114
3120
  createdAtLocation?: string | null | undefined;
3115
3121
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3116
3122
  eventId: string;
@@ -3379,18 +3385,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3379
3385
  ctx: Partial<{
3380
3386
  token: `Bearer ${string}`;
3381
3387
  user: {
3388
+ id: string & import("zod").$brand<"UUID">;
3389
+ type: "system";
3390
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3391
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3392
+ signature?: undefined;
3393
+ } | {
3382
3394
  id: string & import("zod").$brand<"UUID">;
3383
3395
  role: string;
3384
3396
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3385
3397
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3386
3398
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3387
3399
  type: "user";
3388
- } | {
3389
- id: string & import("zod").$brand<"UUID">;
3390
- type: "system";
3391
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3392
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3393
- signature?: undefined;
3394
3400
  };
3395
3401
  }>;
3396
3402
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -3431,14 +3437,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3431
3437
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3432
3438
  eventId: string;
3433
3439
  transactionId: string;
3434
- declaration?: Record<string, unknown> | undefined;
3435
- annotation?: Record<string, unknown> | undefined;
3436
3440
  originalActionId?: string | undefined;
3437
3441
  keepAssignment?: boolean | undefined;
3438
3442
  keepAssignmentIfAccepted?: boolean | undefined;
3439
3443
  keepAssignmentIfRejected?: boolean | undefined;
3440
3444
  waitFor?: boolean | undefined;
3441
3445
  type?: "NOTIFY" | undefined;
3446
+ declaration?: Record<string, unknown> | undefined;
3447
+ annotation?: Record<string, unknown> | undefined;
3442
3448
  createdAtLocation?: string | null | undefined;
3443
3449
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3444
3450
  eventId: string;
@@ -3707,18 +3713,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3707
3713
  ctx: Partial<{
3708
3714
  token: `Bearer ${string}`;
3709
3715
  user: {
3716
+ id: string & import("zod").$brand<"UUID">;
3717
+ type: "system";
3718
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3719
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3720
+ signature?: undefined;
3721
+ } | {
3710
3722
  id: string & import("zod").$brand<"UUID">;
3711
3723
  role: string;
3712
3724
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3713
3725
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3714
3726
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
3715
3727
  type: "user";
3716
- } | {
3717
- id: string & import("zod").$brand<"UUID">;
3718
- type: "system";
3719
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
3720
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
3721
- signature?: undefined;
3722
3728
  };
3723
3729
  }>;
3724
3730
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -3759,14 +3765,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3759
3765
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3760
3766
  eventId: string;
3761
3767
  transactionId: string;
3762
- declaration?: Record<string, unknown> | undefined;
3763
- annotation?: Record<string, unknown> | undefined;
3764
3768
  originalActionId?: string | undefined;
3765
3769
  keepAssignment?: boolean | undefined;
3766
3770
  keepAssignmentIfAccepted?: boolean | undefined;
3767
3771
  keepAssignmentIfRejected?: boolean | undefined;
3768
3772
  waitFor?: boolean | undefined;
3769
3773
  type?: "NOTIFY" | undefined;
3774
+ declaration?: Record<string, unknown> | undefined;
3775
+ annotation?: Record<string, unknown> | undefined;
3770
3776
  createdAtLocation?: string | null | undefined;
3771
3777
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3772
3778
  eventId: string;
@@ -4035,18 +4041,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4035
4041
  ctx: Partial<{
4036
4042
  token: `Bearer ${string}`;
4037
4043
  user: {
4044
+ id: string & import("zod").$brand<"UUID">;
4045
+ type: "system";
4046
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4047
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4048
+ signature?: undefined;
4049
+ } | {
4038
4050
  id: string & import("zod").$brand<"UUID">;
4039
4051
  role: string;
4040
4052
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4041
4053
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4042
4054
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4043
4055
  type: "user";
4044
- } | {
4045
- id: string & import("zod").$brand<"UUID">;
4046
- type: "system";
4047
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4048
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4049
- signature?: undefined;
4050
4056
  };
4051
4057
  }>;
4052
4058
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -4087,14 +4093,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4087
4093
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4088
4094
  eventId: string;
4089
4095
  transactionId: string;
4090
- declaration?: Record<string, unknown> | undefined;
4091
- annotation?: Record<string, unknown> | undefined;
4092
4096
  originalActionId?: string | undefined;
4093
4097
  keepAssignment?: boolean | undefined;
4094
4098
  keepAssignmentIfAccepted?: boolean | undefined;
4095
4099
  keepAssignmentIfRejected?: boolean | undefined;
4096
4100
  waitFor?: boolean | undefined;
4097
4101
  type?: "NOTIFY" | undefined;
4102
+ declaration?: Record<string, unknown> | undefined;
4103
+ annotation?: Record<string, unknown> | undefined;
4098
4104
  createdAtLocation?: string | null | undefined;
4099
4105
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4100
4106
  eventId: string;
@@ -4363,18 +4369,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4363
4369
  ctx: Partial<{
4364
4370
  token: `Bearer ${string}`;
4365
4371
  user: {
4372
+ id: string & import("zod").$brand<"UUID">;
4373
+ type: "system";
4374
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4375
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4376
+ signature?: undefined;
4377
+ } | {
4366
4378
  id: string & import("zod").$brand<"UUID">;
4367
4379
  role: string;
4368
4380
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4369
4381
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4370
4382
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4371
4383
  type: "user";
4372
- } | {
4373
- id: string & import("zod").$brand<"UUID">;
4374
- type: "system";
4375
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4376
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4377
- signature?: undefined;
4378
4384
  };
4379
4385
  }>;
4380
4386
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -4415,14 +4421,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4415
4421
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4416
4422
  eventId: string;
4417
4423
  transactionId: string;
4418
- declaration?: Record<string, unknown> | undefined;
4419
- annotation?: Record<string, unknown> | undefined;
4420
4424
  originalActionId?: string | undefined;
4421
4425
  keepAssignment?: boolean | undefined;
4422
4426
  keepAssignmentIfAccepted?: boolean | undefined;
4423
4427
  keepAssignmentIfRejected?: boolean | undefined;
4424
4428
  waitFor?: boolean | undefined;
4425
4429
  type?: "NOTIFY" | undefined;
4430
+ declaration?: Record<string, unknown> | undefined;
4431
+ annotation?: Record<string, unknown> | undefined;
4426
4432
  createdAtLocation?: string | null | undefined;
4427
4433
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4428
4434
  eventId: string;
@@ -4691,18 +4697,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4691
4697
  ctx: Partial<{
4692
4698
  token: `Bearer ${string}`;
4693
4699
  user: {
4700
+ id: string & import("zod").$brand<"UUID">;
4701
+ type: "system";
4702
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4703
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4704
+ signature?: undefined;
4705
+ } | {
4694
4706
  id: string & import("zod").$brand<"UUID">;
4695
4707
  role: string;
4696
4708
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4697
4709
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4698
4710
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4699
4711
  type: "user";
4700
- } | {
4701
- id: string & import("zod").$brand<"UUID">;
4702
- type: "system";
4703
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4704
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4705
- signature?: undefined;
4706
4712
  };
4707
4713
  }>;
4708
4714
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -4738,14 +4744,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4738
4744
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4739
4745
  eventId: string;
4740
4746
  transactionId: string;
4741
- declaration?: Record<string, unknown> | undefined;
4742
- annotation?: Record<string, unknown> | undefined;
4743
4747
  originalActionId?: string | undefined;
4744
4748
  keepAssignment?: boolean | undefined;
4745
4749
  keepAssignmentIfAccepted?: boolean | undefined;
4746
4750
  keepAssignmentIfRejected?: boolean | undefined;
4747
4751
  waitFor?: boolean | undefined;
4748
4752
  type?: "NOTIFY" | undefined;
4753
+ declaration?: Record<string, unknown> | undefined;
4754
+ annotation?: Record<string, unknown> | undefined;
4749
4755
  createdAtLocation?: string | null | undefined;
4750
4756
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4751
4757
  eventId: string;
@@ -5369,6 +5375,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5369
5375
  status: "Rejected";
5370
5376
  })[];
5371
5377
  trackingId: string;
5378
+ configVersionId: string;
5372
5379
  };
5373
5380
  meta: import("trpc-to-openapi").OpenApiMeta;
5374
5381
  }>;
@@ -5377,18 +5384,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5377
5384
  ctx: Partial<{
5378
5385
  token: `Bearer ${string}`;
5379
5386
  user: {
5387
+ id: string & import("zod").$brand<"UUID">;
5388
+ type: "system";
5389
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5390
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5391
+ signature?: undefined;
5392
+ } | {
5380
5393
  id: string & import("zod").$brand<"UUID">;
5381
5394
  role: string;
5382
5395
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5383
5396
  primaryOfficeId: string & import("zod").$brand<"UUID">;
5384
5397
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5385
5398
  type: "user";
5386
- } | {
5387
- id: string & import("zod").$brand<"UUID">;
5388
- type: "system";
5389
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
5390
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
5391
- signature?: undefined;
5392
5399
  };
5393
5400
  }>;
5394
5401
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -5416,6 +5423,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5416
5423
  createdAt: string;
5417
5424
  updatedAt: string;
5418
5425
  trackingId: string;
5426
+ configVersionId: string;
5419
5427
  actions: ({
5420
5428
  id: string & import("zod").$brand<"UUID">;
5421
5429
  transactionId: string;
@@ -5779,6 +5787,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5779
5787
  createdAt: string;
5780
5788
  updatedAt: string;
5781
5789
  trackingId: string;
5790
+ configVersionId: string;
5782
5791
  actions: ({
5783
5792
  id: string & import("zod").$brand<"UUID">;
5784
5793
  transactionId: string;
@@ -6126,18 +6135,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6126
6135
  ctx: Partial<{
6127
6136
  token: `Bearer ${string}`;
6128
6137
  user: {
6138
+ id: string & import("zod").$brand<"UUID">;
6139
+ type: "system";
6140
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6141
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6142
+ signature?: undefined;
6143
+ } | {
6129
6144
  id: string & import("zod").$brand<"UUID">;
6130
6145
  role: string;
6131
6146
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6132
6147
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6133
6148
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6134
6149
  type: "user";
6135
- } | {
6136
- id: string & import("zod").$brand<"UUID">;
6137
- type: "system";
6138
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6139
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6140
- signature?: undefined;
6141
6150
  };
6142
6151
  }>;
6143
6152
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -6148,18 +6157,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6148
6157
  ctx: Partial<{
6149
6158
  token: `Bearer ${string}`;
6150
6159
  user: {
6160
+ id: string & import("zod").$brand<"UUID">;
6161
+ type: "system";
6162
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6163
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6164
+ signature?: undefined;
6165
+ } | {
6151
6166
  id: string & import("zod").$brand<"UUID">;
6152
6167
  role: string;
6153
6168
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6154
6169
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6155
6170
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6156
6171
  type: "user";
6157
- } | {
6158
- id: string & import("zod").$brand<"UUID">;
6159
- type: "system";
6160
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6161
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6162
- signature?: undefined;
6163
6172
  };
6164
6173
  }>;
6165
6174
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -6200,14 +6209,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6200
6209
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6201
6210
  eventId: string;
6202
6211
  transactionId: string;
6203
- declaration?: Record<string, unknown> | undefined;
6204
- annotation?: Record<string, unknown> | undefined;
6205
6212
  originalActionId?: string | undefined;
6206
6213
  keepAssignment?: boolean | undefined;
6207
6214
  keepAssignmentIfAccepted?: boolean | undefined;
6208
6215
  keepAssignmentIfRejected?: boolean | undefined;
6209
6216
  waitFor?: boolean | undefined;
6210
6217
  type?: "NOTIFY" | undefined;
6218
+ declaration?: Record<string, unknown> | undefined;
6219
+ annotation?: Record<string, unknown> | undefined;
6211
6220
  createdAtLocation?: string | null | undefined;
6212
6221
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6213
6222
  eventId: string;
@@ -6476,18 +6485,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6476
6485
  ctx: Partial<{
6477
6486
  token: `Bearer ${string}`;
6478
6487
  user: {
6488
+ id: string & import("zod").$brand<"UUID">;
6489
+ type: "system";
6490
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6491
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6492
+ signature?: undefined;
6493
+ } | {
6479
6494
  id: string & import("zod").$brand<"UUID">;
6480
6495
  role: string;
6481
6496
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6482
6497
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6483
6498
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6484
6499
  type: "user";
6485
- } | {
6486
- id: string & import("zod").$brand<"UUID">;
6487
- type: "system";
6488
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6489
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6490
- signature?: undefined;
6491
6500
  };
6492
6501
  }>;
6493
6502
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -6528,14 +6537,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6528
6537
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6529
6538
  eventId: string;
6530
6539
  transactionId: string;
6531
- declaration?: Record<string, unknown> | undefined;
6532
- annotation?: Record<string, unknown> | undefined;
6533
6540
  originalActionId?: string | undefined;
6534
6541
  keepAssignment?: boolean | undefined;
6535
6542
  keepAssignmentIfAccepted?: boolean | undefined;
6536
6543
  keepAssignmentIfRejected?: boolean | undefined;
6537
6544
  waitFor?: boolean | undefined;
6538
6545
  type?: "NOTIFY" | undefined;
6546
+ declaration?: Record<string, unknown> | undefined;
6547
+ annotation?: Record<string, unknown> | undefined;
6539
6548
  createdAtLocation?: string | null | undefined;
6540
6549
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6541
6550
  eventId: string;
@@ -6804,18 +6813,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6804
6813
  ctx: Partial<{
6805
6814
  token: `Bearer ${string}`;
6806
6815
  user: {
6816
+ id: string & import("zod").$brand<"UUID">;
6817
+ type: "system";
6818
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6819
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6820
+ signature?: undefined;
6821
+ } | {
6807
6822
  id: string & import("zod").$brand<"UUID">;
6808
6823
  role: string;
6809
6824
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6810
6825
  primaryOfficeId: string & import("zod").$brand<"UUID">;
6811
6826
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6812
6827
  type: "user";
6813
- } | {
6814
- id: string & import("zod").$brand<"UUID">;
6815
- type: "system";
6816
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
6817
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
6818
- signature?: undefined;
6819
6828
  };
6820
6829
  }>;
6821
6830
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -6856,14 +6865,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6856
6865
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6857
6866
  eventId: string;
6858
6867
  transactionId: string;
6859
- declaration?: Record<string, unknown> | undefined;
6860
- annotation?: Record<string, unknown> | undefined;
6861
6868
  originalActionId?: string | undefined;
6862
6869
  keepAssignment?: boolean | undefined;
6863
6870
  keepAssignmentIfAccepted?: boolean | undefined;
6864
6871
  keepAssignmentIfRejected?: boolean | undefined;
6865
6872
  waitFor?: boolean | undefined;
6866
6873
  type?: "NOTIFY" | undefined;
6874
+ declaration?: Record<string, unknown> | undefined;
6875
+ annotation?: Record<string, unknown> | undefined;
6867
6876
  createdAtLocation?: string | null | undefined;
6868
6877
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6869
6878
  eventId: string;
@@ -7133,18 +7142,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7133
7142
  ctx: Partial<{
7134
7143
  token: `Bearer ${string}`;
7135
7144
  user: {
7145
+ id: string & import("zod").$brand<"UUID">;
7146
+ type: "system";
7147
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7148
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7149
+ signature?: undefined;
7150
+ } | {
7136
7151
  id: string & import("zod").$brand<"UUID">;
7137
7152
  role: string;
7138
7153
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7139
7154
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7140
7155
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7141
7156
  type: "user";
7142
- } | {
7143
- id: string & import("zod").$brand<"UUID">;
7144
- type: "system";
7145
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7146
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7147
- signature?: undefined;
7148
7157
  };
7149
7158
  }>;
7150
7159
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -7155,18 +7164,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7155
7164
  ctx: Partial<{
7156
7165
  token: `Bearer ${string}`;
7157
7166
  user: {
7167
+ id: string & import("zod").$brand<"UUID">;
7168
+ type: "system";
7169
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7170
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7171
+ signature?: undefined;
7172
+ } | {
7158
7173
  id: string & import("zod").$brand<"UUID">;
7159
7174
  role: string;
7160
7175
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7161
7176
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7162
7177
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7163
7178
  type: "user";
7164
- } | {
7165
- id: string & import("zod").$brand<"UUID">;
7166
- type: "system";
7167
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7168
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7169
- signature?: undefined;
7170
7179
  };
7171
7180
  }>;
7172
7181
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -7207,14 +7216,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7207
7216
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
7208
7217
  eventId: string;
7209
7218
  transactionId: string;
7210
- declaration?: Record<string, unknown> | undefined;
7211
- annotation?: Record<string, unknown> | undefined;
7212
7219
  originalActionId?: string | undefined;
7213
7220
  keepAssignment?: boolean | undefined;
7214
7221
  keepAssignmentIfAccepted?: boolean | undefined;
7215
7222
  keepAssignmentIfRejected?: boolean | undefined;
7216
7223
  waitFor?: boolean | undefined;
7217
7224
  type?: "NOTIFY" | undefined;
7225
+ declaration?: Record<string, unknown> | undefined;
7226
+ annotation?: Record<string, unknown> | undefined;
7218
7227
  createdAtLocation?: string | null | undefined;
7219
7228
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
7220
7229
  eventId: string;
@@ -7483,18 +7492,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7483
7492
  ctx: Partial<{
7484
7493
  token: `Bearer ${string}`;
7485
7494
  user: {
7495
+ id: string & import("zod").$brand<"UUID">;
7496
+ type: "system";
7497
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7498
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7499
+ signature?: undefined;
7500
+ } | {
7486
7501
  id: string & import("zod").$brand<"UUID">;
7487
7502
  role: string;
7488
7503
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7489
7504
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7490
7505
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7491
7506
  type: "user";
7492
- } | {
7493
- id: string & import("zod").$brand<"UUID">;
7494
- type: "system";
7495
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7496
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7497
- signature?: undefined;
7498
7507
  };
7499
7508
  }>;
7500
7509
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -7535,14 +7544,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7535
7544
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
7536
7545
  eventId: string;
7537
7546
  transactionId: string;
7538
- declaration?: Record<string, unknown> | undefined;
7539
- annotation?: Record<string, unknown> | undefined;
7540
7547
  originalActionId?: string | undefined;
7541
7548
  keepAssignment?: boolean | undefined;
7542
7549
  keepAssignmentIfAccepted?: boolean | undefined;
7543
7550
  keepAssignmentIfRejected?: boolean | undefined;
7544
7551
  waitFor?: boolean | undefined;
7545
7552
  type?: "NOTIFY" | undefined;
7553
+ declaration?: Record<string, unknown> | undefined;
7554
+ annotation?: Record<string, unknown> | undefined;
7546
7555
  createdAtLocation?: string | null | undefined;
7547
7556
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
7548
7557
  eventId: string;
@@ -7812,18 +7821,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7812
7821
  ctx: Partial<{
7813
7822
  token: `Bearer ${string}`;
7814
7823
  user: {
7824
+ id: string & import("zod").$brand<"UUID">;
7825
+ type: "system";
7826
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7827
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7828
+ signature?: undefined;
7829
+ } | {
7815
7830
  id: string & import("zod").$brand<"UUID">;
7816
7831
  role: string;
7817
7832
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7818
7833
  primaryOfficeId: string & import("zod").$brand<"UUID">;
7819
7834
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7820
7835
  type: "user";
7821
- } | {
7822
- id: string & import("zod").$brand<"UUID">;
7823
- type: "system";
7824
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
7825
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
7826
- signature?: undefined;
7827
7836
  };
7828
7837
  }>;
7829
7838
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8192,6 +8201,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8192
8201
  status: "Rejected";
8193
8202
  })[];
8194
8203
  trackingId: string;
8204
+ configVersionId: string;
8195
8205
  };
8196
8206
  meta: import("trpc-to-openapi").OpenApiMeta;
8197
8207
  }>;
@@ -8554,6 +8564,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8554
8564
  status: "Rejected";
8555
8565
  })[];
8556
8566
  trackingId: string;
8567
+ configVersionId: string;
8557
8568
  };
8558
8569
  meta: import("trpc-to-openapi").OpenApiMeta;
8559
8570
  }>;
@@ -8570,6 +8581,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8570
8581
  results: {
8571
8582
  id: string & import("zod").$brand<"UUID">;
8572
8583
  type: string;
8584
+ configVersionId: string;
8573
8585
  status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
8574
8586
  legalStatuses: {
8575
8587
  NOTIFIED?: {
@@ -8975,6 +8987,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8975
8987
  status: "Rejected";
8976
8988
  })[];
8977
8989
  trackingId: string;
8990
+ configVersionId: string;
8978
8991
  }[];
8979
8992
  output: any;
8980
8993
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -8984,18 +8997,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8984
8997
  ctx: Partial<{
8985
8998
  token: `Bearer ${string}`;
8986
8999
  user: {
9000
+ id: string & import("zod").$brand<"UUID">;
9001
+ type: "system";
9002
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9003
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9004
+ signature?: undefined;
9005
+ } | {
8987
9006
  id: string & import("zod").$brand<"UUID">;
8988
9007
  role: string;
8989
9008
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
8990
9009
  primaryOfficeId: string & import("zod").$brand<"UUID">;
8991
9010
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
8992
9011
  type: "user";
8993
- } | {
8994
- id: string & import("zod").$brand<"UUID">;
8995
- type: "system";
8996
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
8997
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
8998
- signature?: undefined;
8999
9012
  };
9000
9013
  }>;
9001
9014
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -9182,18 +9195,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9182
9195
  ctx: Partial<{
9183
9196
  token: `Bearer ${string}`;
9184
9197
  user: {
9198
+ id: string & import("zod").$brand<"UUID">;
9199
+ type: "system";
9200
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9201
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9202
+ signature?: undefined;
9203
+ } | {
9185
9204
  id: string & import("zod").$brand<"UUID">;
9186
9205
  role: string;
9187
9206
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
9188
9207
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9189
9208
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
9190
9209
  type: "user";
9191
- } | {
9192
- id: string & import("zod").$brand<"UUID">;
9193
- type: "system";
9194
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9195
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9196
- signature?: undefined;
9197
9210
  };
9198
9211
  }>;
9199
9212
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -9306,18 +9319,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9306
9319
  ctx: Partial<{
9307
9320
  token: `Bearer ${string}`;
9308
9321
  user: {
9322
+ id: string & import("zod").$brand<"UUID">;
9323
+ type: "system";
9324
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9325
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9326
+ signature?: undefined;
9327
+ } | {
9309
9328
  id: string & import("zod").$brand<"UUID">;
9310
9329
  role: string;
9311
9330
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
9312
9331
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9313
9332
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
9314
9333
  type: "user";
9315
- } | {
9316
- id: string & import("zod").$brand<"UUID">;
9317
- type: "system";
9318
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9319
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9320
- signature?: undefined;
9321
9334
  };
9322
9335
  }>;
9323
9336
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -9689,18 +9702,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9689
9702
  ctx: Partial<{
9690
9703
  token: `Bearer ${string}`;
9691
9704
  user: {
9705
+ id: string & import("zod").$brand<"UUID">;
9706
+ type: "system";
9707
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9708
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9709
+ signature?: undefined;
9710
+ } | {
9692
9711
  id: string & import("zod").$brand<"UUID">;
9693
9712
  role: string;
9694
9713
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
9695
9714
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9696
9715
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
9697
9716
  type: "user";
9698
- } | {
9699
- id: string & import("zod").$brand<"UUID">;
9700
- type: "system";
9701
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9702
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9703
- signature?: undefined;
9704
9717
  };
9705
9718
  }>;
9706
9719
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -9841,18 +9854,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9841
9854
  ctx: Partial<{
9842
9855
  token: `Bearer ${string}`;
9843
9856
  user: {
9857
+ id: string & import("zod").$brand<"UUID">;
9858
+ type: "system";
9859
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9860
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9861
+ signature?: undefined;
9862
+ } | {
9844
9863
  id: string & import("zod").$brand<"UUID">;
9845
9864
  role: string;
9846
9865
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
9847
9866
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9848
9867
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
9849
9868
  type: "user";
9850
- } | {
9851
- id: string & import("zod").$brand<"UUID">;
9852
- type: "system";
9853
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9854
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9855
- signature?: undefined;
9856
9869
  };
9857
9870
  }>;
9858
9871
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -9863,18 +9876,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9863
9876
  ctx: Partial<{
9864
9877
  token: `Bearer ${string}`;
9865
9878
  user: {
9879
+ id: string & import("zod").$brand<"UUID">;
9880
+ type: "system";
9881
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9882
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9883
+ signature?: undefined;
9884
+ } | {
9866
9885
  id: string & import("zod").$brand<"UUID">;
9867
9886
  role: string;
9868
9887
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
9869
9888
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9870
9889
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
9871
9890
  type: "user";
9872
- } | {
9873
- id: string & import("zod").$brand<"UUID">;
9874
- type: "system";
9875
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
9876
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
9877
- signature?: undefined;
9878
9891
  };
9879
9892
  }>;
9880
9893
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -10225,18 +10238,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10225
10238
  ctx: Partial<{
10226
10239
  token: `Bearer ${string}`;
10227
10240
  user: {
10241
+ id: string & import("zod").$brand<"UUID">;
10242
+ type: "system";
10243
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
10244
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
10245
+ signature?: undefined;
10246
+ } | {
10228
10247
  id: string & import("zod").$brand<"UUID">;
10229
10248
  role: string;
10230
10249
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
10231
10250
  primaryOfficeId: string & import("zod").$brand<"UUID">;
10232
10251
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
10233
10252
  type: "user";
10234
- } | {
10235
- id: string & import("zod").$brand<"UUID">;
10236
- type: "system";
10237
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
10238
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
10239
- signature?: undefined;
10240
10253
  };
10241
10254
  }>;
10242
10255
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -10342,18 +10355,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10342
10355
  ctx: Partial<{
10343
10356
  token: `Bearer ${string}`;
10344
10357
  user: {
10358
+ id: string & import("zod").$brand<"UUID">;
10359
+ type: "system";
10360
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
10361
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
10362
+ signature?: undefined;
10363
+ } | {
10345
10364
  id: string & import("zod").$brand<"UUID">;
10346
10365
  role: string;
10347
10366
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
10348
10367
  primaryOfficeId: string & import("zod").$brand<"UUID">;
10349
10368
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
10350
10369
  type: "user";
10351
- } | {
10352
- id: string & import("zod").$brand<"UUID">;
10353
- type: "system";
10354
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
10355
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
10356
- signature?: undefined;
10357
10370
  };
10358
10371
  }>;
10359
10372
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -10822,18 +10835,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10822
10835
  ctx: Partial<{
10823
10836
  token: `Bearer ${string}`;
10824
10837
  user: {
10838
+ id: string & import("zod").$brand<"UUID">;
10839
+ type: "system";
10840
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
10841
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
10842
+ signature?: undefined;
10843
+ } | {
10825
10844
  id: string & import("zod").$brand<"UUID">;
10826
10845
  role: string;
10827
10846
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
10828
10847
  primaryOfficeId: string & import("zod").$brand<"UUID">;
10829
10848
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
10830
10849
  type: "user";
10831
- } | {
10832
- id: string & import("zod").$brand<"UUID">;
10833
- type: "system";
10834
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
10835
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
10836
- signature?: undefined;
10837
10850
  };
10838
10851
  }>;
10839
10852
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -10858,18 +10871,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10858
10871
  ctx: Partial<{
10859
10872
  token: `Bearer ${string}`;
10860
10873
  user: {
10874
+ id: string & import("zod").$brand<"UUID">;
10875
+ type: "system";
10876
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
10877
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
10878
+ signature?: undefined;
10879
+ } | {
10861
10880
  id: string & import("zod").$brand<"UUID">;
10862
10881
  role: string;
10863
10882
  signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
10864
10883
  primaryOfficeId: string & import("zod").$brand<"UUID">;
10865
10884
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
10866
10885
  type: "user";
10867
- } | {
10868
- id: string & import("zod").$brand<"UUID">;
10869
- type: "system";
10870
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
10871
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
10872
- signature?: undefined;
10873
10886
  };
10874
10887
  }>;
10875
10888
  meta: import("trpc-to-openapi").OpenApiMeta;