@opencrvs/toolkit 2.1.0-rc.5617d8e → 2.1.0-rc.562608b

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 (129) hide show
  1. package/README.md +3 -12
  2. package/build.sh +12 -4
  3. package/create-countryconfig/index.js +441 -59
  4. package/create-countryconfig/node_modules/.bin/degit +21 -0
  5. package/create-countryconfig/package.json +4 -1
  6. package/dist/application-config/index.js +362 -284
  7. package/dist/authentication/index.d.ts +66 -0
  8. package/dist/authentication/index.d.ts.map +1 -0
  9. package/dist/authentication/index.js +765 -0
  10. package/dist/cli.js +3347 -1229
  11. package/dist/commons/api/router.d.ts +761 -151
  12. package/dist/commons/application-config/index.d.ts +0 -2
  13. package/dist/commons/conditionals/conditionals.d.ts +6 -6
  14. package/dist/commons/conditionals/validate.d.ts +34 -8
  15. package/dist/commons/events/ActionConfig.d.ts +5 -14
  16. package/dist/commons/events/ActionDocument.d.ts +35 -15
  17. package/dist/commons/events/ActionInput.d.ts +4 -4
  18. package/dist/commons/events/ActionStatus.d.ts +14 -0
  19. package/dist/commons/events/AdvancedSearchConfig.d.ts +48 -12
  20. package/dist/commons/events/AuditLog.d.ts +148 -0
  21. package/dist/commons/events/Draft.d.ts +1 -21
  22. package/dist/commons/events/EventConfig.d.ts +3 -0
  23. package/dist/commons/events/EventDocument.d.ts +472 -4
  24. package/dist/commons/events/EventIndex.d.ts +3 -26
  25. package/dist/commons/events/EventMetadata.d.ts +1 -11
  26. package/dist/commons/events/EventStatus.d.ts +19 -0
  27. package/dist/commons/events/FieldConfig.d.ts +109 -63
  28. package/dist/commons/events/FieldTypeMapping.d.ts +17 -17
  29. package/dist/commons/events/FieldValue.d.ts +3 -2
  30. package/dist/commons/events/Flag.d.ts +42 -0
  31. package/dist/commons/events/FormConfig.d.ts +6 -0
  32. package/dist/commons/events/PageConfig.d.ts +4 -0
  33. package/dist/commons/events/PlainDate.d.ts +8 -0
  34. package/dist/commons/events/SummaryConfig.d.ts +249 -0
  35. package/dist/commons/events/WorkqueueConfig.d.ts +17 -14
  36. package/dist/commons/events/event.d.ts +12 -0
  37. package/dist/commons/events/index.d.ts +1 -0
  38. package/dist/commons/events/locationPayloads.d.ts +95 -0
  39. package/dist/commons/events/locations.d.ts +169 -29
  40. package/dist/commons/events/mocks.test.utils.d.ts +30 -2
  41. package/dist/commons/events/scopes.d.ts +21 -1
  42. package/dist/commons/events/test.utils.d.ts +78 -20
  43. package/dist/commons/events/utils.d.ts +34 -4
  44. package/dist/commons/notification/UserNotifications.d.ts +28 -13
  45. package/dist/commons/notification/dispatch.d.ts +10 -0
  46. package/dist/commons/notification/index.d.ts +1 -0
  47. package/dist/conditionals/index.js +349 -65
  48. package/dist/csv.d.ts +25 -0
  49. package/dist/csv.d.ts.map +1 -0
  50. package/dist/csv.js +120 -0
  51. package/dist/environment/index.d.ts +1 -0
  52. package/dist/environment/index.d.ts.map +1 -1
  53. package/dist/environment/index.js +12 -1
  54. package/dist/environment/logger.d.ts +15 -3
  55. package/dist/environment/logger.d.ts.map +1 -1
  56. package/dist/environment/manage-users.js +1 -1
  57. package/dist/environment/paths.d.ts +7 -0
  58. package/dist/environment/paths.d.ts.map +1 -0
  59. package/dist/environment/paths.js +72 -0
  60. package/dist/environment/questions.d.ts.map +1 -1
  61. package/dist/environment/questions.js +20 -14
  62. package/dist/environment/setup-environment.d.ts +1 -1
  63. package/dist/environment/setup-environment.d.ts.map +1 -1
  64. package/dist/environment/setup-environment.js +587 -562
  65. package/dist/environment/templates.d.ts +0 -1
  66. package/dist/environment/templates.d.ts.map +1 -1
  67. package/dist/environment/templates.js +5 -9
  68. package/dist/environment/update-workflows.d.ts.map +1 -1
  69. package/dist/environment/update-workflows.js +21 -5
  70. package/dist/environment/upgrade.d.ts +2 -0
  71. package/dist/environment/upgrade.d.ts.map +1 -0
  72. package/dist/environment/upgrade.js +82 -0
  73. package/dist/environment/users.js +11 -13
  74. package/dist/environment/utils.d.ts +0 -12
  75. package/dist/environment/utils.d.ts.map +1 -1
  76. package/dist/environment/utils.js +1 -28
  77. package/dist/events/index.js +7182 -6611
  78. package/dist/migrations/v2.0/checkout-upstream-files.d.ts +2 -2
  79. package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
  80. package/dist/migrations/v2.0/checkout-upstream-files.js +2 -2
  81. package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -1
  82. package/dist/migrations/v2.0/convert-config-files-to-ts.js +3 -10
  83. package/dist/migrations/v2.0/merge-infrastructure-directory.js +3 -3
  84. package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +3 -0
  85. package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +1 -0
  86. package/dist/migrations/v2.1/add-recovery-link-notifications.js +511 -0
  87. package/dist/migrations/v2.1/add-translations.d.ts +9 -0
  88. package/dist/migrations/v2.1/add-translations.d.ts.map +1 -0
  89. package/dist/migrations/v2.1/add-translations.js +149 -0
  90. package/dist/migrations/v2.1/enable-telemetry.d.ts +3 -0
  91. package/dist/migrations/v2.1/enable-telemetry.d.ts.map +1 -0
  92. package/dist/migrations/v2.1/enable-telemetry.js +455 -0
  93. package/dist/migrations/v2.1/index.d.ts.map +1 -1
  94. package/dist/migrations/v2.1/index.js +1556 -0
  95. package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts +2 -0
  96. package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts.map +1 -0
  97. package/dist/migrations/v2.1/remove-metabase-package-installs.js +161 -0
  98. package/dist/migrations/v2.1/remove-sentry.d.ts +3 -0
  99. package/dist/migrations/v2.1/remove-sentry.d.ts.map +1 -0
  100. package/dist/migrations/v2.1/remove-sentry.js +354 -0
  101. package/dist/migrations/v2.1/rename-trigger-paths.d.ts +3 -0
  102. package/dist/migrations/v2.1/rename-trigger-paths.d.ts.map +1 -0
  103. package/dist/migrations/v2.1/rename-trigger-paths.js +216 -0
  104. package/dist/notification/index.js +1862 -1448
  105. package/dist/scopes/index.d.ts +614 -36
  106. package/dist/scopes/index.js +351 -65
  107. package/dist/telemetry/index.d.ts +45 -0
  108. package/dist/telemetry/index.d.ts.map +1 -0
  109. package/dist/telemetry/index.js +43 -0
  110. package/dist/templates/charts-values/dependencies/values.yaml +8 -0
  111. package/dist/templates/charts-values/opencrvs-services/values.yaml +10 -3
  112. package/dist/templates/charts-values/opentelemetry/values.yaml +102 -0
  113. package/dist/templates/charts-values/traefik/values.yaml +23 -9
  114. package/dist/templates/inventory/inventory.template.yml +1 -3
  115. package/dist/translations/template.d.ts +11 -0
  116. package/dist/translations/template.d.ts.map +1 -0
  117. package/dist/translations/template.js +100 -0
  118. package/dist/verify/endpoints.d.ts +2 -0
  119. package/dist/verify/endpoints.d.ts.map +1 -0
  120. package/dist/verify/endpoints.js +510 -0
  121. package/opencrvs-toolkit-2.1.0-rc.562608b.tgz +0 -0
  122. package/package.json +13 -6
  123. package/tsconfig.build.json +11 -0
  124. package/tsconfig.build.tsbuildinfo +1 -0
  125. package/tsconfig.json +3 -0
  126. package/dist/templates/inventory/production.example.yml +0 -77
  127. package/dist/templates/inventory/qa.example.yml +0 -48
  128. package/opencrvs-toolkit-2.1.0-rc.5617d8e.tgz +0 -0
  129. package/tsconfig.tsbuildinfo +0 -1
@@ -223,9 +223,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
223
223
  status: "Accepted" | "Rejected" | "Requested";
224
224
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
225
225
  type: "ARCHIVE";
226
- content: {
226
+ content?: {
227
227
  reason: string;
228
- };
228
+ } | undefined;
229
229
  } | {
230
230
  id: string & import("zod").$brand<"UUID">;
231
231
  transactionId: string;
@@ -326,7 +326,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
326
326
  status: "Accepted" | "Rejected" | "Requested";
327
327
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
328
328
  type: "APPROVE_CORRECTION";
329
- requestId: string;
329
+ requestId: string & import("zod").$brand<"UUID">;
330
330
  content?: {
331
331
  immediateCorrection?: boolean | undefined;
332
332
  } | undefined;
@@ -344,7 +344,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
344
344
  status: "Accepted" | "Rejected" | "Requested";
345
345
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
346
346
  type: "REJECT_CORRECTION";
347
- requestId: string;
347
+ requestId: string & import("zod").$brand<"UUID">;
348
348
  content: {
349
349
  reason: string;
350
350
  };
@@ -446,7 +446,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
446
446
  input: {
447
447
  eventId: string;
448
448
  customActionType?: string | undefined;
449
- waitFor?: boolean | undefined;
450
449
  };
451
450
  output: {
452
451
  id: string & import("zod").$brand<"UUID">;
@@ -549,9 +548,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
549
548
  status: "Accepted" | "Rejected" | "Requested";
550
549
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
551
550
  type: "ARCHIVE";
552
- content: {
551
+ content?: {
553
552
  reason: string;
554
- };
553
+ } | undefined;
555
554
  } | {
556
555
  id: string & import("zod").$brand<"UUID">;
557
556
  transactionId: string;
@@ -652,7 +651,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
652
651
  status: "Accepted" | "Rejected" | "Requested";
653
652
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
654
653
  type: "APPROVE_CORRECTION";
655
- requestId: string;
654
+ requestId: string & import("zod").$brand<"UUID">;
656
655
  content?: {
657
656
  immediateCorrection?: boolean | undefined;
658
657
  } | undefined;
@@ -670,7 +669,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
670
669
  status: "Accepted" | "Rejected" | "Requested";
671
670
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
672
671
  type: "REJECT_CORRECTION";
673
- requestId: string;
672
+ requestId: string & import("zod").$brand<"UUID">;
674
673
  content: {
675
674
  reason: string;
676
675
  };
@@ -874,9 +873,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
874
873
  status: "Accepted" | "Rejected" | "Requested";
875
874
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
876
875
  type: "ARCHIVE";
877
- content: {
876
+ content?: {
878
877
  reason: string;
879
- };
878
+ } | undefined;
880
879
  } | {
881
880
  id: string & import("zod").$brand<"UUID">;
882
881
  transactionId: string;
@@ -977,7 +976,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
977
976
  status: "Accepted" | "Rejected" | "Requested";
978
977
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
979
978
  type: "APPROVE_CORRECTION";
980
- requestId: string;
979
+ requestId: string & import("zod").$brand<"UUID">;
981
980
  content?: {
982
981
  immediateCorrection?: boolean | undefined;
983
982
  } | undefined;
@@ -995,7 +994,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
995
994
  status: "Accepted" | "Rejected" | "Requested";
996
995
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
997
996
  type: "REJECT_CORRECTION";
998
- requestId: string;
997
+ requestId: string & import("zod").$brand<"UUID">;
999
998
  content: {
1000
999
  reason: string;
1001
1000
  };
@@ -1158,7 +1157,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1158
1157
  keepAssignmentIfAccepted?: boolean | undefined;
1159
1158
  keepAssignmentIfRejected?: boolean | undefined;
1160
1159
  createdAtLocation?: string | null | undefined;
1161
- type: "APPROVE_CORRECTION" | "ARCHIVE" | "ASSIGN" | "CREATE" | "CUSTOM" | "DECLARE" | "DUPLICATE_DETECTED" | "EDIT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE" | "UNASSIGN";
1160
+ type: "DECLARE";
1162
1161
  status: "Accepted" | "Rejected" | "Requested";
1163
1162
  };
1164
1163
  output: {
@@ -1183,6 +1182,38 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1183
1182
  meta: import("trpc-to-openapi").OpenApiMeta;
1184
1183
  }>;
1185
1184
  }>>;
1185
+ file: import("@trpc/server").TRPCBuiltRouter<{
1186
+ ctx: Partial<{
1187
+ token: `Bearer ${string}`;
1188
+ user: {
1189
+ id: string & import("zod").$brand<"UUID">;
1190
+ type: "system";
1191
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
1192
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
1193
+ signature?: undefined;
1194
+ } | {
1195
+ id: string & import("zod").$brand<"UUID">;
1196
+ role: string;
1197
+ signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1198
+ primaryOfficeId: string & import("zod").$brand<"UUID">;
1199
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1200
+ type: "user";
1201
+ };
1202
+ }>;
1203
+ meta: import("trpc-to-openapi").OpenApiMeta;
1204
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1205
+ transformer: true;
1206
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1207
+ getPresignedUrl: import("@trpc/server").TRPCQueryProcedure<{
1208
+ input: {
1209
+ filePath: string;
1210
+ };
1211
+ output: {
1212
+ presignedURL: string;
1213
+ };
1214
+ meta: import("trpc-to-openapi").OpenApiMeta;
1215
+ }>;
1216
+ }>>;
1186
1217
  actions: import("@trpc/server").TRPCBuiltRouter<{
1187
1218
  ctx: Partial<{
1188
1219
  token: `Bearer ${string}`;
@@ -1354,9 +1385,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1354
1385
  waitFor?: boolean | undefined;
1355
1386
  createdAtLocation?: string | null | undefined;
1356
1387
  type?: "ARCHIVE" | undefined;
1357
- content: {
1388
+ content?: {
1358
1389
  reason: string;
1359
- };
1390
+ } | undefined;
1360
1391
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
1361
1392
  eventId: string;
1362
1393
  transactionId: string;
@@ -1645,9 +1676,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1645
1676
  status: "Accepted" | "Rejected" | "Requested";
1646
1677
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1647
1678
  type: "ARCHIVE";
1648
- content: {
1679
+ content?: {
1649
1680
  reason: string;
1650
- };
1681
+ } | undefined;
1651
1682
  } | {
1652
1683
  id: string & import("zod").$brand<"UUID">;
1653
1684
  transactionId: string;
@@ -1748,7 +1779,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1748
1779
  status: "Accepted" | "Rejected" | "Requested";
1749
1780
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1750
1781
  type: "APPROVE_CORRECTION";
1751
- requestId: string;
1782
+ requestId: string & import("zod").$brand<"UUID">;
1752
1783
  content?: {
1753
1784
  immediateCorrection?: boolean | undefined;
1754
1785
  } | undefined;
@@ -1766,7 +1797,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1766
1797
  status: "Accepted" | "Rejected" | "Requested";
1767
1798
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1768
1799
  type: "REJECT_CORRECTION";
1769
- requestId: string;
1800
+ requestId: string & import("zod").$brand<"UUID">;
1770
1801
  content: {
1771
1802
  reason: string;
1772
1803
  };
@@ -2009,9 +2040,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2009
2040
  waitFor?: boolean | undefined;
2010
2041
  createdAtLocation?: string | null | undefined;
2011
2042
  type?: "ARCHIVE" | undefined;
2012
- content: {
2043
+ content?: {
2013
2044
  reason: string;
2014
- };
2045
+ } | undefined;
2015
2046
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2016
2047
  eventId: string;
2017
2048
  transactionId: string;
@@ -2278,9 +2309,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2278
2309
  status: "Accepted" | "Rejected" | "Requested";
2279
2310
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2280
2311
  type: "ARCHIVE";
2281
- content: {
2312
+ content?: {
2282
2313
  reason: string;
2283
- };
2314
+ } | undefined;
2284
2315
  } | {
2285
2316
  id: string & import("zod").$brand<"UUID">;
2286
2317
  transactionId: string;
@@ -2381,7 +2412,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2381
2412
  status: "Accepted" | "Rejected" | "Requested";
2382
2413
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2383
2414
  type: "APPROVE_CORRECTION";
2384
- requestId: string;
2415
+ requestId: string & import("zod").$brand<"UUID">;
2385
2416
  content?: {
2386
2417
  immediateCorrection?: boolean | undefined;
2387
2418
  } | undefined;
@@ -2399,7 +2430,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2399
2430
  status: "Accepted" | "Rejected" | "Requested";
2400
2431
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2401
2432
  type: "REJECT_CORRECTION";
2402
- requestId: string;
2433
+ requestId: string & import("zod").$brand<"UUID">;
2403
2434
  content: {
2404
2435
  reason: string;
2405
2436
  };
@@ -2647,9 +2678,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2647
2678
  waitFor?: boolean | undefined;
2648
2679
  createdAtLocation?: string | null | undefined;
2649
2680
  type?: "ARCHIVE" | undefined;
2650
- content: {
2681
+ content?: {
2651
2682
  reason: string;
2652
- };
2683
+ } | undefined;
2653
2684
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2654
2685
  eventId: string;
2655
2686
  transactionId: string;
@@ -2951,9 +2982,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2951
2982
  waitFor?: boolean | undefined;
2952
2983
  createdAtLocation?: string | null | undefined;
2953
2984
  type?: "ARCHIVE" | undefined;
2954
- content: {
2985
+ content?: {
2955
2986
  reason: string;
2956
- };
2987
+ } | undefined;
2957
2988
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2958
2989
  eventId: string;
2959
2990
  transactionId: string;
@@ -3255,9 +3286,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3255
3286
  waitFor?: boolean | undefined;
3256
3287
  createdAtLocation?: string | null | undefined;
3257
3288
  type?: "ARCHIVE" | undefined;
3258
- content: {
3289
+ content?: {
3259
3290
  reason: string;
3260
- };
3291
+ } | undefined;
3261
3292
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3262
3293
  eventId: string;
3263
3294
  transactionId: string;
@@ -3559,9 +3590,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3559
3590
  waitFor?: boolean | undefined;
3560
3591
  createdAtLocation?: string | null | undefined;
3561
3592
  type?: "ARCHIVE" | undefined;
3562
- content: {
3593
+ content?: {
3563
3594
  reason: string;
3564
- };
3595
+ } | undefined;
3565
3596
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3566
3597
  eventId: string;
3567
3598
  transactionId: string;
@@ -3863,9 +3894,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3863
3894
  waitFor?: boolean | undefined;
3864
3895
  createdAtLocation?: string | null | undefined;
3865
3896
  type?: "ARCHIVE" | undefined;
3866
- content: {
3897
+ content?: {
3867
3898
  reason: string;
3868
- };
3899
+ } | undefined;
3869
3900
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3870
3901
  eventId: string;
3871
3902
  transactionId: string;
@@ -4167,9 +4198,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4167
4198
  waitFor?: boolean | undefined;
4168
4199
  createdAtLocation?: string | null | undefined;
4169
4200
  type?: "ARCHIVE" | undefined;
4170
- content: {
4201
+ content?: {
4171
4202
  reason: string;
4172
- };
4203
+ } | undefined;
4173
4204
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4174
4205
  eventId: string;
4175
4206
  transactionId: string;
@@ -4466,9 +4497,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4466
4497
  waitFor?: boolean | undefined;
4467
4498
  createdAtLocation?: string | null | undefined;
4468
4499
  type?: "ARCHIVE" | undefined;
4469
- content: {
4500
+ content?: {
4470
4501
  reason: string;
4471
- };
4502
+ } | undefined;
4472
4503
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4473
4504
  eventId: string;
4474
4505
  transactionId: string;
@@ -4736,9 +4767,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4736
4767
  status: "Accepted" | "Rejected" | "Requested";
4737
4768
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4738
4769
  type: "ARCHIVE";
4739
- content: {
4770
+ content?: {
4740
4771
  reason: string;
4741
- };
4772
+ } | undefined;
4742
4773
  } | {
4743
4774
  id: string & import("zod").$brand<"UUID">;
4744
4775
  transactionId: string;
@@ -4839,7 +4870,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4839
4870
  status: "Accepted" | "Rejected" | "Requested";
4840
4871
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4841
4872
  type: "APPROVE_CORRECTION";
4842
- requestId: string;
4873
+ requestId: string & import("zod").$brand<"UUID">;
4843
4874
  content?: {
4844
4875
  immediateCorrection?: boolean | undefined;
4845
4876
  } | undefined;
@@ -4857,7 +4888,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4857
4888
  status: "Accepted" | "Rejected" | "Requested";
4858
4889
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4859
4890
  type: "REJECT_CORRECTION";
4860
- requestId: string;
4891
+ requestId: string & import("zod").$brand<"UUID">;
4861
4892
  content: {
4862
4893
  reason: string;
4863
4894
  };
@@ -4998,6 +5029,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4998
5029
  type: string;
4999
5030
  createdAt: string;
5000
5031
  updatedAt: string;
5032
+ trackingId: string;
5001
5033
  actions: ({
5002
5034
  id: string & import("zod").$brand<"UUID">;
5003
5035
  transactionId: string;
@@ -5094,9 +5126,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5094
5126
  status: "Accepted" | "Rejected" | "Requested";
5095
5127
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5096
5128
  type: "ARCHIVE";
5097
- content: {
5129
+ content?: {
5098
5130
  reason: string;
5099
- };
5131
+ } | undefined;
5100
5132
  } | {
5101
5133
  id: string & import("zod").$brand<"UUID">;
5102
5134
  transactionId: string;
@@ -5197,7 +5229,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5197
5229
  status: "Accepted" | "Rejected" | "Requested";
5198
5230
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5199
5231
  type: "APPROVE_CORRECTION";
5200
- requestId: string;
5232
+ requestId: string & import("zod").$brand<"UUID">;
5201
5233
  content?: {
5202
5234
  immediateCorrection?: boolean | undefined;
5203
5235
  } | undefined;
@@ -5215,7 +5247,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5215
5247
  status: "Accepted" | "Rejected" | "Requested";
5216
5248
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5217
5249
  type: "REJECT_CORRECTION";
5218
- requestId: string;
5250
+ requestId: string & import("zod").$brand<"UUID">;
5219
5251
  content: {
5220
5252
  reason: string;
5221
5253
  };
@@ -5309,8 +5341,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5309
5341
  type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
5310
5342
  status: "Rejected";
5311
5343
  })[];
5312
- trackingId: string;
5313
- };
5344
+ } & import("zod").$brand<"EventDocumentOnlyLastAction">;
5314
5345
  meta: import("trpc-to-openapi").OpenApiMeta;
5315
5346
  }>;
5316
5347
  unassign: import("@trpc/server").TRPCMutationProcedure<{
@@ -5333,6 +5364,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5333
5364
  type: string;
5334
5365
  createdAt: string;
5335
5366
  updatedAt: string;
5367
+ trackingId: string;
5336
5368
  actions: ({
5337
5369
  id: string & import("zod").$brand<"UUID">;
5338
5370
  transactionId: string;
@@ -5429,9 +5461,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5429
5461
  status: "Accepted" | "Rejected" | "Requested";
5430
5462
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5431
5463
  type: "ARCHIVE";
5432
- content: {
5464
+ content?: {
5433
5465
  reason: string;
5434
- };
5466
+ } | undefined;
5435
5467
  } | {
5436
5468
  id: string & import("zod").$brand<"UUID">;
5437
5469
  transactionId: string;
@@ -5532,7 +5564,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5532
5564
  status: "Accepted" | "Rejected" | "Requested";
5533
5565
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5534
5566
  type: "APPROVE_CORRECTION";
5535
- requestId: string;
5567
+ requestId: string & import("zod").$brand<"UUID">;
5536
5568
  content?: {
5537
5569
  immediateCorrection?: boolean | undefined;
5538
5570
  } | undefined;
@@ -5550,7 +5582,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5550
5582
  status: "Accepted" | "Rejected" | "Requested";
5551
5583
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5552
5584
  type: "REJECT_CORRECTION";
5553
- requestId: string;
5585
+ requestId: string & import("zod").$brand<"UUID">;
5554
5586
  content: {
5555
5587
  reason: string;
5556
5588
  };
@@ -5644,8 +5676,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5644
5676
  type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
5645
5677
  status: "Rejected";
5646
5678
  })[];
5647
- trackingId: string;
5648
- };
5679
+ } & import("zod").$brand<"EventDocumentOnlyLastAction">;
5649
5680
  meta: import("trpc-to-openapi").OpenApiMeta;
5650
5681
  }>;
5651
5682
  }>>;
@@ -5820,9 +5851,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5820
5851
  waitFor?: boolean | undefined;
5821
5852
  createdAtLocation?: string | null | undefined;
5822
5853
  type?: "ARCHIVE" | undefined;
5823
- content: {
5854
+ content?: {
5824
5855
  reason: string;
5825
- };
5856
+ } | undefined;
5826
5857
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
5827
5858
  eventId: string;
5828
5859
  transactionId: string;
@@ -6124,9 +6155,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6124
6155
  waitFor?: boolean | undefined;
6125
6156
  createdAtLocation?: string | null | undefined;
6126
6157
  type?: "ARCHIVE" | undefined;
6127
- content: {
6158
+ content?: {
6128
6159
  reason: string;
6129
- };
6160
+ } | undefined;
6130
6161
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6131
6162
  eventId: string;
6132
6163
  transactionId: string;
@@ -6428,9 +6459,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6428
6459
  waitFor?: boolean | undefined;
6429
6460
  createdAtLocation?: string | null | undefined;
6430
6461
  type?: "ARCHIVE" | undefined;
6431
- content: {
6462
+ content?: {
6432
6463
  reason: string;
6433
- };
6464
+ } | undefined;
6434
6465
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6435
6466
  eventId: string;
6436
6467
  transactionId: string;
@@ -6724,9 +6755,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6724
6755
  status: "Accepted" | "Rejected" | "Requested";
6725
6756
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6726
6757
  type: "ARCHIVE";
6727
- content: {
6758
+ content?: {
6728
6759
  reason: string;
6729
- };
6760
+ } | undefined;
6730
6761
  } | {
6731
6762
  id: string & import("zod").$brand<"UUID">;
6732
6763
  transactionId: string;
@@ -6827,7 +6858,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6827
6858
  status: "Accepted" | "Rejected" | "Requested";
6828
6859
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6829
6860
  type: "APPROVE_CORRECTION";
6830
- requestId: string;
6861
+ requestId: string & import("zod").$brand<"UUID">;
6831
6862
  content?: {
6832
6863
  immediateCorrection?: boolean | undefined;
6833
6864
  } | undefined;
@@ -6845,7 +6876,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6845
6876
  status: "Accepted" | "Rejected" | "Requested";
6846
6877
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6847
6878
  type: "REJECT_CORRECTION";
6848
- requestId: string;
6879
+ requestId: string & import("zod").$brand<"UUID">;
6849
6880
  content: {
6850
6881
  reason: string;
6851
6882
  };
@@ -7058,9 +7089,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7058
7089
  status: "Accepted" | "Rejected" | "Requested";
7059
7090
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7060
7091
  type: "ARCHIVE";
7061
- content: {
7092
+ content?: {
7062
7093
  reason: string;
7063
- };
7094
+ } | undefined;
7064
7095
  } | {
7065
7096
  id: string & import("zod").$brand<"UUID">;
7066
7097
  transactionId: string;
@@ -7161,7 +7192,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7161
7192
  status: "Accepted" | "Rejected" | "Requested";
7162
7193
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7163
7194
  type: "APPROVE_CORRECTION";
7164
- requestId: string;
7195
+ requestId: string & import("zod").$brand<"UUID">;
7165
7196
  content?: {
7166
7197
  immediateCorrection?: boolean | undefined;
7167
7198
  } | undefined;
@@ -7179,7 +7210,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7179
7210
  status: "Accepted" | "Rejected" | "Requested";
7180
7211
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7181
7212
  type: "REJECT_CORRECTION";
7182
- requestId: string;
7213
+ requestId: string & import("zod").$brand<"UUID">;
7183
7214
  content: {
7184
7215
  reason: string;
7185
7216
  };
@@ -7443,9 +7474,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7443
7474
  status: "Accepted" | "Rejected" | "Requested";
7444
7475
  originalActionId?: string | null | undefined;
7445
7476
  type: "ARCHIVE";
7446
- content: {
7477
+ content?: {
7447
7478
  reason: string;
7448
- };
7479
+ } | undefined;
7449
7480
  } | {
7450
7481
  id: string;
7451
7482
  transactionId: string;
@@ -7834,8 +7865,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7834
7865
  email?: string | undefined;
7835
7866
  status?: string | undefined;
7836
7867
  primaryOfficeId?: string | undefined;
7837
- count: number;
7838
- skip: number;
7868
+ count?: number | undefined;
7869
+ skip?: number | undefined;
7839
7870
  sortBy?: "createdAt" | "email" | "firstname" | "role" | "status" | "surname" | "username" | undefined;
7840
7871
  sortOrder: "asc" | "desc";
7841
7872
  };
@@ -8046,46 +8077,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8046
8077
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
8047
8078
  transformer: true;
8048
8079
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
8049
- record: import("@trpc/server").TRPCMutationProcedure<{
8050
- input: {
8051
- operation: "user.create_user";
8052
- requestData: {
8053
- subjectId: string;
8054
- role: string;
8055
- primaryOfficeId: string;
8056
- };
8057
- } | {
8058
- operation: "user.deactivate" | "user.reactivate";
8059
- requestData: {
8060
- subjectId: string;
8061
- reason: string;
8062
- comment?: string | undefined;
8063
- };
8064
- } | {
8065
- operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
8066
- requestData: {
8067
- subjectId: string;
8068
- };
8069
- } | {
8070
- operation: "user.email_address_changed";
8071
- requestData: {
8072
- subjectId: string;
8073
- };
8074
- responseSummary: {
8075
- email: string;
8076
- };
8077
- } | {
8078
- operation: "user.phone_number_changed";
8079
- requestData: {
8080
- subjectId: string;
8081
- };
8082
- responseSummary: {
8083
- phoneNumber: string;
8084
- };
8085
- };
8086
- output: void;
8087
- meta: import("trpc-to-openapi").OpenApiMeta;
8088
- }>;
8089
8080
  list: import("@trpc/server").TRPCQueryProcedure<{
8090
8081
  input: {
8091
8082
  userId: string;
@@ -8247,69 +8238,199 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8247
8238
  clientId: string;
8248
8239
  clientType: "system" | "user";
8249
8240
  createdAt: string;
8250
- operation: "attachments.upload";
8241
+ operation: "locations.create";
8251
8242
  requestData: {
8252
- transactionId: string;
8253
- path: string | null;
8243
+ id: string;
8244
+ versionId: string;
8245
+ name: string;
8246
+ externalId?: string | null | undefined;
8247
+ effectiveFrom: string;
8248
+ status: string;
8249
+ administrativeAreaId?: string | null | undefined;
8250
+ locationType?: string | null | undefined;
8251
+ };
8252
+ } | {
8253
+ id: string;
8254
+ clientId: string;
8255
+ clientType: "system" | "user";
8256
+ createdAt: string;
8257
+ operation: "locations.update";
8258
+ requestData: {
8259
+ id: string;
8260
+ versionId: string;
8261
+ name: string;
8262
+ externalId?: string | null | undefined;
8263
+ status: string;
8264
+ effectiveFrom: string;
8265
+ lastVersionId: string;
8254
8266
  };
8255
8267
  responseSummary: {
8256
- fileUrl: string;
8268
+ previousVersionId: string;
8269
+ versionId: string;
8270
+ changed: {
8271
+ name?: {
8272
+ from: string;
8273
+ to: string;
8274
+ } | undefined;
8275
+ externalId?: {
8276
+ from: string | null;
8277
+ to: string | null;
8278
+ } | undefined;
8279
+ status?: {
8280
+ from: string;
8281
+ to: string;
8282
+ } | undefined;
8283
+ };
8257
8284
  };
8258
8285
  } | {
8259
8286
  id: string;
8260
8287
  clientId: string;
8261
8288
  clientType: "system" | "user";
8262
8289
  createdAt: string;
8263
- operation: "user.create_user";
8290
+ operation: "administrativeAreas.update";
8264
8291
  requestData: {
8265
- subjectId: string;
8266
- role: string;
8267
- primaryOfficeId: string;
8292
+ id: string;
8293
+ versionId: string;
8294
+ name: string;
8295
+ externalId?: string | null | undefined;
8296
+ status: string;
8297
+ effectiveFrom: string;
8298
+ lastVersionId: string;
8299
+ };
8300
+ responseSummary: {
8301
+ previousVersionId: string;
8302
+ versionId: string;
8303
+ changed: {
8304
+ name?: {
8305
+ from: string;
8306
+ to: string;
8307
+ } | undefined;
8308
+ externalId?: {
8309
+ from: string | null;
8310
+ to: string | null;
8311
+ } | undefined;
8312
+ status?: {
8313
+ from: string;
8314
+ to: string;
8315
+ } | undefined;
8316
+ };
8268
8317
  };
8269
8318
  } | {
8270
8319
  id: string;
8271
8320
  clientId: string;
8272
8321
  clientType: "system" | "user";
8273
8322
  createdAt: string;
8274
- operation: "user.deactivate" | "user.reactivate";
8323
+ operation: "locations.withdrawVersion";
8275
8324
  requestData: {
8276
- subjectId: string;
8277
- reason: string;
8278
- comment?: string | undefined;
8325
+ id: string;
8326
+ versionId: string;
8327
+ };
8328
+ responseSummary: {
8329
+ effectiveFrom: string;
8330
+ name: string;
8331
+ externalId?: string | null | undefined;
8332
+ status: string;
8279
8333
  };
8280
8334
  } | {
8281
8335
  id: string;
8282
8336
  clientId: string;
8283
8337
  clientType: "system" | "user";
8284
8338
  createdAt: string;
8285
- operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
8339
+ operation: "administrativeAreas.withdrawVersion";
8286
8340
  requestData: {
8287
- subjectId: string;
8341
+ id: string;
8342
+ versionId: string;
8343
+ };
8344
+ responseSummary: {
8345
+ effectiveFrom: string;
8346
+ name: string;
8347
+ externalId?: string | null | undefined;
8348
+ status: string;
8288
8349
  };
8289
8350
  } | {
8290
8351
  id: string;
8291
8352
  clientId: string;
8292
8353
  clientType: "system" | "user";
8293
8354
  createdAt: string;
8294
- operation: "user.email_address_changed";
8355
+ operation: "administrativeAreas.create";
8295
8356
  requestData: {
8296
- subjectId: string;
8357
+ id: string;
8358
+ versionId: string;
8359
+ name: string;
8360
+ externalId?: string | null | undefined;
8361
+ effectiveFrom: string;
8362
+ status: string;
8363
+ parentId?: string | null | undefined;
8364
+ };
8365
+ } | {
8366
+ id: string;
8367
+ clientId: string;
8368
+ clientType: "system" | "user";
8369
+ createdAt: string;
8370
+ operation: "attachments.upload";
8371
+ requestData: {
8372
+ transactionId: string;
8373
+ eventId?: string | undefined;
8374
+ path: string | null;
8297
8375
  };
8298
8376
  responseSummary: {
8299
- email: string;
8377
+ fileUrl: string;
8300
8378
  };
8301
8379
  } | {
8302
8380
  id: string;
8303
8381
  clientId: string;
8304
8382
  clientType: "system" | "user";
8305
8383
  createdAt: string;
8306
- operation: "user.phone_number_changed";
8384
+ operation: "user.create_user";
8307
8385
  requestData: {
8308
8386
  subjectId: string;
8387
+ role: string;
8388
+ primaryOfficeId: string;
8389
+ };
8390
+ } | {
8391
+ id: string;
8392
+ clientId: string;
8393
+ clientType: "system" | "user";
8394
+ createdAt: string;
8395
+ operation: "user.deactivate" | "user.reactivate";
8396
+ requestData: {
8397
+ subjectId: string;
8398
+ reason: string;
8399
+ comment?: string | undefined;
8400
+ };
8401
+ } | {
8402
+ id: string;
8403
+ clientId: string;
8404
+ clientType: "system" | "user";
8405
+ createdAt: string;
8406
+ operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
8407
+ requestData: {
8408
+ subjectId: string;
8409
+ };
8410
+ } | {
8411
+ id: string;
8412
+ clientId: string;
8413
+ clientType: "system" | "user";
8414
+ createdAt: string;
8415
+ operation: "user.email_address_changed";
8416
+ requestData: {
8417
+ subjectId: string;
8418
+ };
8419
+ responseSummary: {
8420
+ email: string;
8421
+ };
8422
+ } | {
8423
+ id: string;
8424
+ clientId: string;
8425
+ clientType: "system" | "user";
8426
+ createdAt: string;
8427
+ operation: "user.phone_number_changed";
8428
+ requestData: {
8429
+ subjectId: string;
8430
+ };
8431
+ responseSummary: {
8432
+ phoneNumber: string;
8309
8433
  };
8310
- responseSummary: {
8311
- phoneNumber: string;
8312
- };
8313
8434
  })[];
8314
8435
  total: number;
8315
8436
  };
@@ -8353,7 +8474,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8353
8474
  administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
8354
8475
  locationType: string | null;
8355
8476
  status: "active" | "inactive";
8356
- effectiveFrom: string;
8357
8477
  versions: {
8358
8478
  versionId: string & import("zod").$brand<"UUID">;
8359
8479
  effectiveFrom: string;
@@ -8364,16 +8484,82 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8364
8484
  }[];
8365
8485
  meta: object;
8366
8486
  }>;
8367
- set: import("@trpc/server").TRPCMutationProcedure<{
8487
+ create: import("@trpc/server").TRPCMutationProcedure<{
8368
8488
  input: {
8369
- id: string;
8489
+ id?: string | undefined;
8490
+ versionId?: string | undefined;
8370
8491
  name: string;
8371
8492
  externalId?: string | null | undefined;
8372
8493
  administrativeAreaId: string | null;
8373
8494
  locationType: string | null;
8374
- }[];
8375
- output: void;
8376
- meta: object;
8495
+ effectiveFrom?: string | undefined;
8496
+ status?: "active" | "inactive" | undefined;
8497
+ };
8498
+ output: {
8499
+ id: string & import("zod").$brand<"UUID">;
8500
+ name: string;
8501
+ externalId?: string | null | undefined;
8502
+ administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
8503
+ locationType: string | null;
8504
+ status: "active" | "inactive";
8505
+ versions: {
8506
+ versionId: string & import("zod").$brand<"UUID">;
8507
+ effectiveFrom: string;
8508
+ name: string;
8509
+ externalId?: string | null | undefined;
8510
+ status: "active" | "inactive";
8511
+ }[];
8512
+ };
8513
+ meta: import("trpc-to-openapi").OpenApiMeta;
8514
+ }>;
8515
+ update: import("@trpc/server").TRPCMutationProcedure<{
8516
+ input: {
8517
+ id: string;
8518
+ versionId?: string | undefined;
8519
+ name: string;
8520
+ externalId?: string | null | undefined;
8521
+ status: "active" | "inactive";
8522
+ effectiveFrom?: string | undefined;
8523
+ lastVersionId: string;
8524
+ };
8525
+ output: {
8526
+ id: string & import("zod").$brand<"UUID">;
8527
+ name: string;
8528
+ externalId?: string | null | undefined;
8529
+ administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
8530
+ locationType: string | null;
8531
+ status: "active" | "inactive";
8532
+ versions: {
8533
+ versionId: string & import("zod").$brand<"UUID">;
8534
+ effectiveFrom: string;
8535
+ name: string;
8536
+ externalId?: string | null | undefined;
8537
+ status: "active" | "inactive";
8538
+ }[];
8539
+ };
8540
+ meta: import("trpc-to-openapi").OpenApiMeta;
8541
+ }>;
8542
+ withdrawVersion: import("@trpc/server").TRPCMutationProcedure<{
8543
+ input: {
8544
+ id: string;
8545
+ versionId: string;
8546
+ };
8547
+ output: {
8548
+ id: string & import("zod").$brand<"UUID">;
8549
+ name: string;
8550
+ externalId?: string | null | undefined;
8551
+ administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
8552
+ locationType: string | null;
8553
+ status: "active" | "inactive";
8554
+ versions: {
8555
+ versionId: string & import("zod").$brand<"UUID">;
8556
+ effectiveFrom: string;
8557
+ name: string;
8558
+ externalId?: string | null | undefined;
8559
+ status: "active" | "inactive";
8560
+ }[];
8561
+ };
8562
+ meta: import("trpc-to-openapi").OpenApiMeta;
8377
8563
  }>;
8378
8564
  get: import("@trpc/server").TRPCQueryProcedure<{
8379
8565
  input: {
@@ -8386,7 +8572,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8386
8572
  administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
8387
8573
  locationType: string | null;
8388
8574
  status: "active" | "inactive";
8389
- effectiveFrom: string;
8390
8575
  versions: {
8391
8576
  versionId: string & import("zod").$brand<"UUID">;
8392
8577
  effectiveFrom: string;
@@ -8750,7 +8935,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8750
8935
  $event: "assignedTo" | "createdAt" | "createdAtLocation" | "createdBy" | "createdByUserType" | "dateOfEvent" | "flags" | "id" | "legalStatuses" | "outbox" | "placeOfEvent" | "status" | "title" | "trackingId" | "type" | "updatedAt" | "updatedAtLocation" | "updatedBy" | "updatedByUserRole";
8751
8936
  };
8752
8937
  }[];
8753
- icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
8938
+ icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileLock" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
8754
8939
  emptyMessage?: {
8755
8940
  id: string;
8756
8941
  defaultMessage: string;
@@ -8802,7 +8987,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8802
8987
  externalId?: string | null | undefined;
8803
8988
  parentId: (string & import("zod").$brand<"UUID">) | null;
8804
8989
  status: "active" | "inactive";
8805
- effectiveFrom: string;
8806
8990
  versions: {
8807
8991
  versionId: string & import("zod").$brand<"UUID">;
8808
8992
  effectiveFrom: string;
@@ -8813,15 +8997,78 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8813
8997
  }[];
8814
8998
  meta: import("trpc-to-openapi").OpenApiMeta;
8815
8999
  }>;
8816
- set: import("@trpc/server").TRPCMutationProcedure<{
9000
+ create: import("@trpc/server").TRPCMutationProcedure<{
8817
9001
  input: {
8818
- id: string;
9002
+ id?: string | undefined;
9003
+ versionId?: string | undefined;
8819
9004
  name: string;
8820
9005
  externalId?: string | null | undefined;
8821
9006
  parentId: string | null;
8822
- }[];
8823
- output: void;
8824
- meta: object;
9007
+ effectiveFrom?: string | undefined;
9008
+ status?: "active" | "inactive" | undefined;
9009
+ };
9010
+ output: {
9011
+ id: string & import("zod").$brand<"UUID">;
9012
+ name: string;
9013
+ externalId?: string | null | undefined;
9014
+ parentId: (string & import("zod").$brand<"UUID">) | null;
9015
+ status: "active" | "inactive";
9016
+ versions: {
9017
+ versionId: string & import("zod").$brand<"UUID">;
9018
+ effectiveFrom: string;
9019
+ name: string;
9020
+ externalId?: string | null | undefined;
9021
+ status: "active" | "inactive";
9022
+ }[];
9023
+ };
9024
+ meta: import("trpc-to-openapi").OpenApiMeta;
9025
+ }>;
9026
+ update: import("@trpc/server").TRPCMutationProcedure<{
9027
+ input: {
9028
+ id: string;
9029
+ versionId?: string | undefined;
9030
+ name: string;
9031
+ externalId?: string | null | undefined;
9032
+ status: "active" | "inactive";
9033
+ effectiveFrom?: string | undefined;
9034
+ lastVersionId: string;
9035
+ };
9036
+ output: {
9037
+ id: string & import("zod").$brand<"UUID">;
9038
+ name: string;
9039
+ externalId?: string | null | undefined;
9040
+ parentId: (string & import("zod").$brand<"UUID">) | null;
9041
+ status: "active" | "inactive";
9042
+ versions: {
9043
+ versionId: string & import("zod").$brand<"UUID">;
9044
+ effectiveFrom: string;
9045
+ name: string;
9046
+ externalId?: string | null | undefined;
9047
+ status: "active" | "inactive";
9048
+ }[];
9049
+ };
9050
+ meta: import("trpc-to-openapi").OpenApiMeta;
9051
+ }>;
9052
+ withdrawVersion: import("@trpc/server").TRPCMutationProcedure<{
9053
+ input: {
9054
+ id: string;
9055
+ versionId: string;
9056
+ };
9057
+ output: {
9058
+ id: string & import("zod").$brand<"UUID">;
9059
+ name: string;
9060
+ externalId?: string | null | undefined;
9061
+ parentId: (string & import("zod").$brand<"UUID">) | null;
9062
+ status: "active" | "inactive";
9063
+ versions: {
9064
+ versionId: string & import("zod").$brand<"UUID">;
9065
+ effectiveFrom: string;
9066
+ name: string;
9067
+ externalId?: string | null | undefined;
9068
+ status: "active" | "inactive";
9069
+ }[];
9070
+ };
9071
+ meta: import("trpc-to-openapi").OpenApiMeta;
8825
9072
  }>;
8826
9073
  }>>;
8827
9074
  integrations: import("@trpc/server").TRPCBuiltRouter<{
@@ -8850,6 +9097,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8850
9097
  input: {
8851
9098
  name: string;
8852
9099
  scopes: string[];
9100
+ credentials?: {
9101
+ clientId: string;
9102
+ clientSecret: string;
9103
+ } | undefined;
8853
9104
  };
8854
9105
  output: {
8855
9106
  clientId: string;
@@ -8880,7 +9131,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8880
9131
  scopes: string[];
8881
9132
  status: string;
8882
9133
  createdAt: string;
8883
- createdBy: string & import("zod").$brand<"UUID">;
9134
+ createdBy: (string & import("zod").$brand<"UUID">) | null;
8884
9135
  }[];
8885
9136
  meta: import("trpc-to-openapi").OpenApiMeta;
8886
9137
  }>;
@@ -8895,7 +9146,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8895
9146
  status: string;
8896
9147
  shaSecret: string | null;
8897
9148
  createdAt: string;
8898
- createdBy: string & import("zod").$brand<"UUID">;
9149
+ createdBy: (string & import("zod").$brand<"UUID">) | null;
8899
9150
  };
8900
9151
  meta: import("trpc-to-openapi").OpenApiMeta;
8901
9152
  }>;
@@ -8941,6 +9192,364 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8941
9192
  };
8942
9193
  meta: import("trpc-to-openapi").OpenApiMeta;
8943
9194
  }>;
9195
+ audit: import("@trpc/server").TRPCQueryProcedure<{
9196
+ input: {
9197
+ id: string;
9198
+ skip?: number | undefined;
9199
+ count?: number | undefined;
9200
+ timeStart?: string | undefined;
9201
+ timeEnd?: string | undefined;
9202
+ };
9203
+ output: {
9204
+ results: ({
9205
+ id: string;
9206
+ clientId: string;
9207
+ clientType: "system" | "user";
9208
+ createdAt: string;
9209
+ operation: "event.create";
9210
+ requestData: {
9211
+ transactionId: string;
9212
+ type: string;
9213
+ createdAtLocation: string | null;
9214
+ };
9215
+ responseSummary: {
9216
+ eventId: string;
9217
+ trackingId: string;
9218
+ };
9219
+ } | {
9220
+ id: string;
9221
+ clientId: string;
9222
+ clientType: "system" | "user";
9223
+ createdAt: string;
9224
+ operation: "event.get";
9225
+ requestData: {
9226
+ eventId: string;
9227
+ };
9228
+ responseSummary: {
9229
+ eventType: string;
9230
+ trackingId: string;
9231
+ };
9232
+ } | {
9233
+ id: string;
9234
+ clientId: string;
9235
+ createdAt: string;
9236
+ operation: "event.search";
9237
+ clientType: "system";
9238
+ requestData: {
9239
+ query: Record<string, unknown> | null;
9240
+ limit: number | null;
9241
+ offset: number | null;
9242
+ };
9243
+ responseSummary: {
9244
+ total: number;
9245
+ eventIds: string[];
9246
+ };
9247
+ } | {
9248
+ id: string;
9249
+ clientId: string;
9250
+ clientType: "system" | "user";
9251
+ createdAt: string;
9252
+ operation: "event.actions.archive.request" | "event.actions.assign.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.correction.request.request" | "event.actions.declare.request" | "event.actions.edit.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request" | "event.actions.notify.request" | "event.actions.print_certificate.request" | "event.actions.read.request" | "event.actions.register.request" | "event.actions.reinstate.request" | "event.actions.reject.request" | "event.actions.unarchive.request" | "event.actions.unassign.request" | "event.actions.validate.request";
9253
+ requestData: {
9254
+ eventId: string;
9255
+ actionType: string;
9256
+ eventType: string;
9257
+ trackingId: string;
9258
+ transactionId: string;
9259
+ };
9260
+ } | {
9261
+ id: string;
9262
+ clientId: string;
9263
+ clientType: "system" | "user";
9264
+ createdAt: string;
9265
+ operation: "event.actions.custom.request";
9266
+ requestData: {
9267
+ eventId: string;
9268
+ actionType: "CUSTOM";
9269
+ customAction: string;
9270
+ eventType: string;
9271
+ trackingId: string;
9272
+ transactionId: string;
9273
+ };
9274
+ } | {
9275
+ id: string;
9276
+ clientId: string;
9277
+ clientType: "system" | "user";
9278
+ createdAt: string;
9279
+ operation: "integrations.create";
9280
+ requestData: {
9281
+ name: string;
9282
+ scopes: string[];
9283
+ };
9284
+ responseSummary: {
9285
+ clientId: string;
9286
+ };
9287
+ } | {
9288
+ id: string;
9289
+ clientId: string;
9290
+ clientType: "system" | "user";
9291
+ createdAt: string;
9292
+ operation: "integrations.refreshToken";
9293
+ requestData: {
9294
+ clientId: string;
9295
+ };
9296
+ responseSummary: {
9297
+ clientId: string;
9298
+ };
9299
+ } | {
9300
+ id: string;
9301
+ clientId: string;
9302
+ clientType: "system" | "user";
9303
+ createdAt: string;
9304
+ operation: "integrations.deactivate";
9305
+ requestData: {
9306
+ id: string;
9307
+ };
9308
+ responseSummary: {
9309
+ id: string;
9310
+ status: string;
9311
+ };
9312
+ } | {
9313
+ id: string;
9314
+ clientId: string;
9315
+ clientType: "system" | "user";
9316
+ createdAt: string;
9317
+ operation: "integrations.activate";
9318
+ requestData: {
9319
+ id: string;
9320
+ };
9321
+ responseSummary: {
9322
+ id: string;
9323
+ status: string;
9324
+ };
9325
+ } | {
9326
+ id: string;
9327
+ clientId: string;
9328
+ clientType: "system" | "user";
9329
+ createdAt: string;
9330
+ operation: "integrations.delete";
9331
+ requestData: {
9332
+ id: string;
9333
+ };
9334
+ responseSummary: {
9335
+ id: string;
9336
+ name: string;
9337
+ };
9338
+ } | {
9339
+ id: string;
9340
+ clientId: string;
9341
+ clientType: "system" | "user";
9342
+ createdAt: string;
9343
+ operation: "integrations.refreshSecret";
9344
+ requestData: {
9345
+ id: string;
9346
+ };
9347
+ responseSummary: {
9348
+ clientId: string;
9349
+ };
9350
+ } | {
9351
+ id: string;
9352
+ clientId: string;
9353
+ clientType: "system" | "user";
9354
+ createdAt: string;
9355
+ operation: "locations.create";
9356
+ requestData: {
9357
+ id: string;
9358
+ versionId: string;
9359
+ name: string;
9360
+ externalId?: string | null | undefined;
9361
+ effectiveFrom: string;
9362
+ status: string;
9363
+ administrativeAreaId?: string | null | undefined;
9364
+ locationType?: string | null | undefined;
9365
+ };
9366
+ } | {
9367
+ id: string;
9368
+ clientId: string;
9369
+ clientType: "system" | "user";
9370
+ createdAt: string;
9371
+ operation: "locations.update";
9372
+ requestData: {
9373
+ id: string;
9374
+ versionId: string;
9375
+ name: string;
9376
+ externalId?: string | null | undefined;
9377
+ status: string;
9378
+ effectiveFrom: string;
9379
+ lastVersionId: string;
9380
+ };
9381
+ responseSummary: {
9382
+ previousVersionId: string;
9383
+ versionId: string;
9384
+ changed: {
9385
+ name?: {
9386
+ from: string;
9387
+ to: string;
9388
+ } | undefined;
9389
+ externalId?: {
9390
+ from: string | null;
9391
+ to: string | null;
9392
+ } | undefined;
9393
+ status?: {
9394
+ from: string;
9395
+ to: string;
9396
+ } | undefined;
9397
+ };
9398
+ };
9399
+ } | {
9400
+ id: string;
9401
+ clientId: string;
9402
+ clientType: "system" | "user";
9403
+ createdAt: string;
9404
+ operation: "administrativeAreas.update";
9405
+ requestData: {
9406
+ id: string;
9407
+ versionId: string;
9408
+ name: string;
9409
+ externalId?: string | null | undefined;
9410
+ status: string;
9411
+ effectiveFrom: string;
9412
+ lastVersionId: string;
9413
+ };
9414
+ responseSummary: {
9415
+ previousVersionId: string;
9416
+ versionId: string;
9417
+ changed: {
9418
+ name?: {
9419
+ from: string;
9420
+ to: string;
9421
+ } | undefined;
9422
+ externalId?: {
9423
+ from: string | null;
9424
+ to: string | null;
9425
+ } | undefined;
9426
+ status?: {
9427
+ from: string;
9428
+ to: string;
9429
+ } | undefined;
9430
+ };
9431
+ };
9432
+ } | {
9433
+ id: string;
9434
+ clientId: string;
9435
+ clientType: "system" | "user";
9436
+ createdAt: string;
9437
+ operation: "locations.withdrawVersion";
9438
+ requestData: {
9439
+ id: string;
9440
+ versionId: string;
9441
+ };
9442
+ responseSummary: {
9443
+ effectiveFrom: string;
9444
+ name: string;
9445
+ externalId?: string | null | undefined;
9446
+ status: string;
9447
+ };
9448
+ } | {
9449
+ id: string;
9450
+ clientId: string;
9451
+ clientType: "system" | "user";
9452
+ createdAt: string;
9453
+ operation: "administrativeAreas.withdrawVersion";
9454
+ requestData: {
9455
+ id: string;
9456
+ versionId: string;
9457
+ };
9458
+ responseSummary: {
9459
+ effectiveFrom: string;
9460
+ name: string;
9461
+ externalId?: string | null | undefined;
9462
+ status: string;
9463
+ };
9464
+ } | {
9465
+ id: string;
9466
+ clientId: string;
9467
+ clientType: "system" | "user";
9468
+ createdAt: string;
9469
+ operation: "administrativeAreas.create";
9470
+ requestData: {
9471
+ id: string;
9472
+ versionId: string;
9473
+ name: string;
9474
+ externalId?: string | null | undefined;
9475
+ effectiveFrom: string;
9476
+ status: string;
9477
+ parentId?: string | null | undefined;
9478
+ };
9479
+ } | {
9480
+ id: string;
9481
+ clientId: string;
9482
+ clientType: "system" | "user";
9483
+ createdAt: string;
9484
+ operation: "attachments.upload";
9485
+ requestData: {
9486
+ transactionId: string;
9487
+ eventId?: string | undefined;
9488
+ path: string | null;
9489
+ };
9490
+ responseSummary: {
9491
+ fileUrl: string;
9492
+ };
9493
+ } | {
9494
+ id: string;
9495
+ clientId: string;
9496
+ clientType: "system" | "user";
9497
+ createdAt: string;
9498
+ operation: "user.create_user";
9499
+ requestData: {
9500
+ subjectId: string;
9501
+ role: string;
9502
+ primaryOfficeId: string;
9503
+ };
9504
+ } | {
9505
+ id: string;
9506
+ clientId: string;
9507
+ clientType: "system" | "user";
9508
+ createdAt: string;
9509
+ operation: "user.deactivate" | "user.reactivate";
9510
+ requestData: {
9511
+ subjectId: string;
9512
+ reason: string;
9513
+ comment?: string | undefined;
9514
+ };
9515
+ } | {
9516
+ id: string;
9517
+ clientId: string;
9518
+ clientType: "system" | "user";
9519
+ createdAt: string;
9520
+ operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
9521
+ requestData: {
9522
+ subjectId: string;
9523
+ };
9524
+ } | {
9525
+ id: string;
9526
+ clientId: string;
9527
+ clientType: "system" | "user";
9528
+ createdAt: string;
9529
+ operation: "user.email_address_changed";
9530
+ requestData: {
9531
+ subjectId: string;
9532
+ };
9533
+ responseSummary: {
9534
+ email: string;
9535
+ };
9536
+ } | {
9537
+ id: string;
9538
+ clientId: string;
9539
+ clientType: "system" | "user";
9540
+ createdAt: string;
9541
+ operation: "user.phone_number_changed";
9542
+ requestData: {
9543
+ subjectId: string;
9544
+ };
9545
+ responseSummary: {
9546
+ phoneNumber: string;
9547
+ };
9548
+ })[];
9549
+ total: number;
9550
+ };
9551
+ meta: import("trpc-to-openapi").OpenApiMeta;
9552
+ }>;
8944
9553
  }>>;
8945
9554
  attachments: import("@trpc/server").TRPCBuiltRouter<{
8946
9555
  ctx: Partial<{
@@ -8971,6 +9580,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8971
9580
  } | {
8972
9581
  file: unknown;
8973
9582
  transactionId: unknown;
9583
+ eventId: unknown;
8974
9584
  path: unknown;
8975
9585
  };
8976
9586
  output: string;