@opencrvs/toolkit 1.9.2-rc.f5cc2a4 → 1.9.2-rc.f5dc422

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 (31) hide show
  1. package/dist/commons/api/router.d.ts +596 -285
  2. package/dist/commons/events/ActionConfig.d.ts +414 -271
  3. package/dist/commons/events/ActionDocument.d.ts +32 -44
  4. package/dist/commons/events/ActionInput.d.ts +6 -20
  5. package/dist/commons/events/ActionType.d.ts +1 -7
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
  7. package/dist/commons/events/Draft.d.ts +0 -2
  8. package/dist/commons/events/EventConfig.d.ts +333 -134
  9. package/dist/commons/events/EventDocument.d.ts +3 -22
  10. package/dist/commons/events/EventIndex.d.ts +1 -0
  11. package/dist/commons/events/EventMetadata.d.ts +3 -1
  12. package/dist/commons/events/FieldConfig.d.ts +82 -0
  13. package/dist/commons/events/FieldType.d.ts +3 -2
  14. package/dist/commons/events/FieldTypeMapping.d.ts +8 -1
  15. package/dist/commons/events/FieldValue.d.ts +2 -1
  16. package/dist/commons/events/Flag.d.ts +18 -0
  17. package/dist/commons/events/FormConfig.d.ts +240 -0
  18. package/dist/commons/events/PageConfig.d.ts +160 -0
  19. package/dist/commons/events/WorkqueueColumnConfig.d.ts +5 -2
  20. package/dist/commons/events/WorkqueueConfig.d.ts +12 -11
  21. package/dist/commons/events/defineConfig.d.ts +461 -48
  22. package/dist/commons/events/scopes.d.ts +3 -4
  23. package/dist/commons/events/state/index.d.ts +6 -0
  24. package/dist/commons/events/state/utils.d.ts +13 -24
  25. package/dist/commons/events/test.utils.d.ts +4 -9
  26. package/dist/commons/events/utils.d.ts +1345 -495
  27. package/dist/events/index.js +158 -118
  28. package/dist/notification/index.js +63 -103
  29. package/dist/scopes/index.d.ts +42 -7
  30. package/dist/scopes/index.js +10 -1
  31. package/package.json +1 -1
@@ -7,12 +7,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7
7
  role: string;
8
8
  primaryOfficeId: string & import("zod").$brand<"UUID">;
9
9
  signature?: string | undefined;
10
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
10
11
  } | {
11
12
  type: "system";
12
13
  id: string;
13
14
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
14
15
  signature?: undefined;
15
16
  primaryOfficeId?: undefined;
17
+ administrativeAreaId?: undefined;
16
18
  };
17
19
  }>;
18
20
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -28,12 +30,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28
30
  role: string;
29
31
  primaryOfficeId: string & import("zod").$brand<"UUID">;
30
32
  signature?: string | undefined;
33
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
31
34
  } | {
32
35
  type: "system";
33
36
  id: string;
34
37
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
35
38
  signature?: undefined;
36
39
  primaryOfficeId?: undefined;
40
+ administrativeAreaId?: undefined;
37
41
  };
38
42
  }>;
39
43
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -49,12 +53,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
49
53
  role: string;
50
54
  primaryOfficeId: string & import("zod").$brand<"UUID">;
51
55
  signature?: string | undefined;
56
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
52
57
  } | {
53
58
  type: "system";
54
59
  id: string;
55
60
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
56
61
  signature?: undefined;
57
62
  primaryOfficeId?: undefined;
63
+ administrativeAreaId?: undefined;
58
64
  };
59
65
  }>;
60
66
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -1289,7 +1295,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1289
1295
  } | undefined;
1290
1296
  } | undefined;
1291
1297
  } | undefined;
1292
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
1298
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
1293
1299
  maxLength?: number | undefined;
1294
1300
  prefix?: {
1295
1301
  id: string;
@@ -1637,7 +1643,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1637
1643
  };
1638
1644
  type: "ADMINISTRATIVE_AREA";
1639
1645
  configuration: {
1640
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
1646
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
1641
1647
  partOf?: {
1642
1648
  $declaration: string;
1643
1649
  } | undefined;
@@ -2401,7 +2407,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2401
2407
  $$subfield?: string[] | undefined;
2402
2408
  };
2403
2409
  url: string;
2404
- method: "POST" | "GET" | "PUT" | "DELETE";
2410
+ method: "POST" | "DELETE" | "GET" | "PUT";
2405
2411
  timeout: number;
2406
2412
  headers?: Record<string, string> | undefined;
2407
2413
  body?: Record<string, any> | undefined;
@@ -3158,6 +3164,62 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3158
3164
  message: string;
3159
3165
  } | null | undefined;
3160
3166
  } | undefined;
3167
+ } | {
3168
+ id: string;
3169
+ label: {
3170
+ id: string;
3171
+ defaultMessage: string;
3172
+ description: string;
3173
+ };
3174
+ type: "ALPHA_HIDDEN";
3175
+ parent?: {
3176
+ $$field: string;
3177
+ $$subfield?: string[] | undefined;
3178
+ } | {
3179
+ $$field: string;
3180
+ $$subfield?: string[] | undefined;
3181
+ }[] | undefined;
3182
+ conditionals?: ({
3183
+ type: "SHOW";
3184
+ conditional: any;
3185
+ } | {
3186
+ type: "ENABLE";
3187
+ conditional: any;
3188
+ } | {
3189
+ type: "DISPLAY_ON_REVIEW";
3190
+ conditional: any;
3191
+ })[] | undefined;
3192
+ secured?: boolean | undefined;
3193
+ placeholder?: {
3194
+ id: string;
3195
+ defaultMessage: string;
3196
+ description: string;
3197
+ } | undefined;
3198
+ validation?: {
3199
+ validator: any;
3200
+ message: {
3201
+ id: string;
3202
+ defaultMessage: string;
3203
+ description: string;
3204
+ };
3205
+ }[] | undefined;
3206
+ helperText?: {
3207
+ id: string;
3208
+ defaultMessage: string;
3209
+ description: string;
3210
+ } | undefined;
3211
+ hideLabel?: boolean | undefined;
3212
+ uncorrectable?: boolean | undefined;
3213
+ value?: {
3214
+ $$field: string;
3215
+ $$subfield?: string[] | undefined;
3216
+ } | {
3217
+ $$field: string;
3218
+ $$subfield?: string[] | undefined;
3219
+ }[] | undefined;
3220
+ analytics?: boolean | undefined;
3221
+ required?: boolean | undefined;
3222
+ defaultValue?: string | undefined;
3161
3223
  })[];
3162
3224
  };
3163
3225
  auditHistoryLabel?: {
@@ -3170,7 +3232,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3170
3232
  defaultMessage: string;
3171
3233
  description: string;
3172
3234
  } | undefined;
3173
- icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
3235
+ icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
3174
3236
  conditionals?: undefined;
3175
3237
  } | {
3176
3238
  label: {
@@ -4346,7 +4408,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4346
4408
  } | undefined;
4347
4409
  } | undefined;
4348
4410
  } | undefined;
4349
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
4411
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
4350
4412
  maxLength?: number | undefined;
4351
4413
  prefix?: {
4352
4414
  id: string;
@@ -4694,7 +4756,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4694
4756
  };
4695
4757
  type: "ADMINISTRATIVE_AREA";
4696
4758
  configuration: {
4697
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
4759
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
4698
4760
  partOf?: {
4699
4761
  $declaration: string;
4700
4762
  } | undefined;
@@ -5458,7 +5520,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5458
5520
  $$subfield?: string[] | undefined;
5459
5521
  };
5460
5522
  url: string;
5461
- method: "POST" | "GET" | "PUT" | "DELETE";
5523
+ method: "POST" | "DELETE" | "GET" | "PUT";
5462
5524
  timeout: number;
5463
5525
  headers?: Record<string, string> | undefined;
5464
5526
  body?: Record<string, any> | undefined;
@@ -6215,6 +6277,62 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6215
6277
  message: string;
6216
6278
  } | null | undefined;
6217
6279
  } | undefined;
6280
+ } | {
6281
+ id: string;
6282
+ label: {
6283
+ id: string;
6284
+ defaultMessage: string;
6285
+ description: string;
6286
+ };
6287
+ type: "ALPHA_HIDDEN";
6288
+ parent?: {
6289
+ $$field: string;
6290
+ $$subfield?: string[] | undefined;
6291
+ } | {
6292
+ $$field: string;
6293
+ $$subfield?: string[] | undefined;
6294
+ }[] | undefined;
6295
+ conditionals?: ({
6296
+ type: "SHOW";
6297
+ conditional: any;
6298
+ } | {
6299
+ type: "ENABLE";
6300
+ conditional: any;
6301
+ } | {
6302
+ type: "DISPLAY_ON_REVIEW";
6303
+ conditional: any;
6304
+ })[] | undefined;
6305
+ secured?: boolean | undefined;
6306
+ placeholder?: {
6307
+ id: string;
6308
+ defaultMessage: string;
6309
+ description: string;
6310
+ } | undefined;
6311
+ validation?: {
6312
+ validator: any;
6313
+ message: {
6314
+ id: string;
6315
+ defaultMessage: string;
6316
+ description: string;
6317
+ };
6318
+ }[] | undefined;
6319
+ helperText?: {
6320
+ id: string;
6321
+ defaultMessage: string;
6322
+ description: string;
6323
+ } | undefined;
6324
+ hideLabel?: boolean | undefined;
6325
+ uncorrectable?: boolean | undefined;
6326
+ value?: {
6327
+ $$field: string;
6328
+ $$subfield?: string[] | undefined;
6329
+ } | {
6330
+ $$field: string;
6331
+ $$subfield?: string[] | undefined;
6332
+ }[] | undefined;
6333
+ analytics?: boolean | undefined;
6334
+ required?: boolean | undefined;
6335
+ defaultValue?: string | undefined;
6218
6336
  })[];
6219
6337
  };
6220
6338
  auditHistoryLabel?: {
@@ -6227,7 +6345,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6227
6345
  defaultMessage: string;
6228
6346
  description: string;
6229
6347
  } | undefined;
6230
- icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
6348
+ icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
6231
6349
  conditionals?: ({
6232
6350
  type: "SHOW";
6233
6351
  conditional: any;
@@ -6266,37 +6384,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6266
6384
  defaultMessage: string;
6267
6385
  description: string;
6268
6386
  } | undefined;
6269
- icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
6270
- conditionals?: ({
6271
- type: "SHOW";
6272
- conditional: any;
6273
- } | {
6274
- type: "ENABLE";
6275
- conditional: any;
6276
- })[] | undefined;
6277
- } | {
6278
- label: {
6279
- id: string;
6280
- defaultMessage: string;
6281
- description: string;
6282
- };
6283
- flags: {
6284
- id: string;
6285
- operation: "add" | "remove";
6286
- conditional?: any;
6287
- }[];
6288
- type: "VALIDATE";
6289
- auditHistoryLabel?: {
6290
- id: string;
6291
- defaultMessage: string;
6292
- description: string;
6293
- } | undefined;
6294
- supportingCopy?: {
6295
- id: string;
6296
- defaultMessage: string;
6297
- description: string;
6298
- } | undefined;
6299
- icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
6387
+ icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
6300
6388
  conditionals?: ({
6301
6389
  type: "SHOW";
6302
6390
  conditional: any;
@@ -6304,15 +6392,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6304
6392
  type: "ENABLE";
6305
6393
  conditional: any;
6306
6394
  })[] | undefined;
6307
- deduplication?: {
6308
- id: string;
6309
- label: {
6310
- id: string;
6311
- defaultMessage: string;
6312
- description: string;
6313
- };
6314
- query: import("../commons").ClauseOutput;
6315
- } | undefined;
6316
6395
  } | {
6317
6396
  label: {
6318
6397
  id: string;
@@ -6335,7 +6414,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6335
6414
  defaultMessage: string;
6336
6415
  description: string;
6337
6416
  } | undefined;
6338
- icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
6417
+ icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
6339
6418
  conditionals?: ({
6340
6419
  type: "SHOW";
6341
6420
  conditional: any;
@@ -7533,7 +7612,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7533
7612
  } | undefined;
7534
7613
  } | undefined;
7535
7614
  } | undefined;
7536
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
7615
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
7537
7616
  maxLength?: number | undefined;
7538
7617
  prefix?: {
7539
7618
  id: string;
@@ -7881,7 +7960,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7881
7960
  };
7882
7961
  type: "ADMINISTRATIVE_AREA";
7883
7962
  configuration: {
7884
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
7963
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
7885
7964
  partOf?: {
7886
7965
  $declaration: string;
7887
7966
  } | undefined;
@@ -8645,7 +8724,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8645
8724
  $$subfield?: string[] | undefined;
8646
8725
  };
8647
8726
  url: string;
8648
- method: "POST" | "GET" | "PUT" | "DELETE";
8727
+ method: "POST" | "DELETE" | "GET" | "PUT";
8649
8728
  timeout: number;
8650
8729
  headers?: Record<string, string> | undefined;
8651
8730
  body?: Record<string, any> | undefined;
@@ -9402,6 +9481,62 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9402
9481
  message: string;
9403
9482
  } | null | undefined;
9404
9483
  } | undefined;
9484
+ } | {
9485
+ id: string;
9486
+ label: {
9487
+ id: string;
9488
+ defaultMessage: string;
9489
+ description: string;
9490
+ };
9491
+ type: "ALPHA_HIDDEN";
9492
+ parent?: {
9493
+ $$field: string;
9494
+ $$subfield?: string[] | undefined;
9495
+ } | {
9496
+ $$field: string;
9497
+ $$subfield?: string[] | undefined;
9498
+ }[] | undefined;
9499
+ conditionals?: ({
9500
+ type: "SHOW";
9501
+ conditional: any;
9502
+ } | {
9503
+ type: "ENABLE";
9504
+ conditional: any;
9505
+ } | {
9506
+ type: "DISPLAY_ON_REVIEW";
9507
+ conditional: any;
9508
+ })[] | undefined;
9509
+ secured?: boolean | undefined;
9510
+ placeholder?: {
9511
+ id: string;
9512
+ defaultMessage: string;
9513
+ description: string;
9514
+ } | undefined;
9515
+ validation?: {
9516
+ validator: any;
9517
+ message: {
9518
+ id: string;
9519
+ defaultMessage: string;
9520
+ description: string;
9521
+ };
9522
+ }[] | undefined;
9523
+ helperText?: {
9524
+ id: string;
9525
+ defaultMessage: string;
9526
+ description: string;
9527
+ } | undefined;
9528
+ hideLabel?: boolean | undefined;
9529
+ uncorrectable?: boolean | undefined;
9530
+ value?: {
9531
+ $$field: string;
9532
+ $$subfield?: string[] | undefined;
9533
+ } | {
9534
+ $$field: string;
9535
+ $$subfield?: string[] | undefined;
9536
+ }[] | undefined;
9537
+ analytics?: boolean | undefined;
9538
+ required?: boolean | undefined;
9539
+ defaultValue?: string | undefined;
9405
9540
  })[];
9406
9541
  type: "FORM";
9407
9542
  conditional?: any;
@@ -10568,7 +10703,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10568
10703
  } | undefined;
10569
10704
  } | undefined;
10570
10705
  } | undefined;
10571
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
10706
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
10572
10707
  maxLength?: number | undefined;
10573
10708
  prefix?: {
10574
10709
  id: string;
@@ -10916,7 +11051,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10916
11051
  };
10917
11052
  type: "ADMINISTRATIVE_AREA";
10918
11053
  configuration: {
10919
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
11054
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
10920
11055
  partOf?: {
10921
11056
  $declaration: string;
10922
11057
  } | undefined;
@@ -11680,7 +11815,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11680
11815
  $$subfield?: string[] | undefined;
11681
11816
  };
11682
11817
  url: string;
11683
- method: "POST" | "GET" | "PUT" | "DELETE";
11818
+ method: "POST" | "DELETE" | "GET" | "PUT";
11684
11819
  timeout: number;
11685
11820
  headers?: Record<string, string> | undefined;
11686
11821
  body?: Record<string, any> | undefined;
@@ -12437,6 +12572,62 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
12437
12572
  message: string;
12438
12573
  } | null | undefined;
12439
12574
  } | undefined;
12575
+ } | {
12576
+ id: string;
12577
+ label: {
12578
+ id: string;
12579
+ defaultMessage: string;
12580
+ description: string;
12581
+ };
12582
+ type: "ALPHA_HIDDEN";
12583
+ parent?: {
12584
+ $$field: string;
12585
+ $$subfield?: string[] | undefined;
12586
+ } | {
12587
+ $$field: string;
12588
+ $$subfield?: string[] | undefined;
12589
+ }[] | undefined;
12590
+ conditionals?: ({
12591
+ type: "SHOW";
12592
+ conditional: any;
12593
+ } | {
12594
+ type: "ENABLE";
12595
+ conditional: any;
12596
+ } | {
12597
+ type: "DISPLAY_ON_REVIEW";
12598
+ conditional: any;
12599
+ })[] | undefined;
12600
+ secured?: boolean | undefined;
12601
+ placeholder?: {
12602
+ id: string;
12603
+ defaultMessage: string;
12604
+ description: string;
12605
+ } | undefined;
12606
+ validation?: {
12607
+ validator: any;
12608
+ message: {
12609
+ id: string;
12610
+ defaultMessage: string;
12611
+ description: string;
12612
+ };
12613
+ }[] | undefined;
12614
+ helperText?: {
12615
+ id: string;
12616
+ defaultMessage: string;
12617
+ description: string;
12618
+ } | undefined;
12619
+ hideLabel?: boolean | undefined;
12620
+ uncorrectable?: boolean | undefined;
12621
+ value?: {
12622
+ $$field: string;
12623
+ $$subfield?: string[] | undefined;
12624
+ } | {
12625
+ $$field: string;
12626
+ $$subfield?: string[] | undefined;
12627
+ }[] | undefined;
12628
+ analytics?: boolean | undefined;
12629
+ required?: boolean | undefined;
12630
+ defaultValue?: string | undefined;
12440
12631
  })[];
12441
12632
  type: "VERIFICATION";
12442
12633
  actions: {
@@ -12480,7 +12671,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
12480
12671
  defaultMessage: string;
12481
12672
  description: string;
12482
12673
  } | undefined;
12483
- icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
12674
+ icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
12484
12675
  conditionals?: ({
12485
12676
  type: "SHOW";
12486
12677
  conditional: any;
@@ -13669,7 +13860,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
13669
13860
  } | undefined;
13670
13861
  } | undefined;
13671
13862
  } | undefined;
13672
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
13863
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
13673
13864
  maxLength?: number | undefined;
13674
13865
  prefix?: {
13675
13866
  id: string;
@@ -14017,7 +14208,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14017
14208
  };
14018
14209
  type: "ADMINISTRATIVE_AREA";
14019
14210
  configuration: {
14020
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
14211
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
14021
14212
  partOf?: {
14022
14213
  $declaration: string;
14023
14214
  } | undefined;
@@ -14781,7 +14972,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14781
14972
  $$subfield?: string[] | undefined;
14782
14973
  };
14783
14974
  url: string;
14784
- method: "POST" | "GET" | "PUT" | "DELETE";
14975
+ method: "POST" | "DELETE" | "GET" | "PUT";
14785
14976
  timeout: number;
14786
14977
  headers?: Record<string, string> | undefined;
14787
14978
  body?: Record<string, any> | undefined;
@@ -15538,9 +15729,65 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
15538
15729
  message: string;
15539
15730
  } | null | undefined;
15540
15731
  } | undefined;
15541
- })[];
15542
- type: "FORM";
15543
- conditional?: any;
15732
+ } | {
15733
+ id: string;
15734
+ label: {
15735
+ id: string;
15736
+ defaultMessage: string;
15737
+ description: string;
15738
+ };
15739
+ type: "ALPHA_HIDDEN";
15740
+ parent?: {
15741
+ $$field: string;
15742
+ $$subfield?: string[] | undefined;
15743
+ } | {
15744
+ $$field: string;
15745
+ $$subfield?: string[] | undefined;
15746
+ }[] | undefined;
15747
+ conditionals?: ({
15748
+ type: "SHOW";
15749
+ conditional: any;
15750
+ } | {
15751
+ type: "ENABLE";
15752
+ conditional: any;
15753
+ } | {
15754
+ type: "DISPLAY_ON_REVIEW";
15755
+ conditional: any;
15756
+ })[] | undefined;
15757
+ secured?: boolean | undefined;
15758
+ placeholder?: {
15759
+ id: string;
15760
+ defaultMessage: string;
15761
+ description: string;
15762
+ } | undefined;
15763
+ validation?: {
15764
+ validator: any;
15765
+ message: {
15766
+ id: string;
15767
+ defaultMessage: string;
15768
+ description: string;
15769
+ };
15770
+ }[] | undefined;
15771
+ helperText?: {
15772
+ id: string;
15773
+ defaultMessage: string;
15774
+ description: string;
15775
+ } | undefined;
15776
+ hideLabel?: boolean | undefined;
15777
+ uncorrectable?: boolean | undefined;
15778
+ value?: {
15779
+ $$field: string;
15780
+ $$subfield?: string[] | undefined;
15781
+ } | {
15782
+ $$field: string;
15783
+ $$subfield?: string[] | undefined;
15784
+ }[] | undefined;
15785
+ analytics?: boolean | undefined;
15786
+ required?: boolean | undefined;
15787
+ defaultValue?: string | undefined;
15788
+ })[];
15789
+ type: "FORM";
15790
+ conditional?: any;
15544
15791
  } | {
15545
15792
  id: string;
15546
15793
  title: {
@@ -16704,7 +16951,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
16704
16951
  } | undefined;
16705
16952
  } | undefined;
16706
16953
  } | undefined;
16707
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
16954
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
16708
16955
  maxLength?: number | undefined;
16709
16956
  prefix?: {
16710
16957
  id: string;
@@ -17052,7 +17299,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17052
17299
  };
17053
17300
  type: "ADMINISTRATIVE_AREA";
17054
17301
  configuration: {
17055
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
17302
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
17056
17303
  partOf?: {
17057
17304
  $declaration: string;
17058
17305
  } | undefined;
@@ -17816,7 +18063,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17816
18063
  $$subfield?: string[] | undefined;
17817
18064
  };
17818
18065
  url: string;
17819
- method: "POST" | "GET" | "PUT" | "DELETE";
18066
+ method: "POST" | "DELETE" | "GET" | "PUT";
17820
18067
  timeout: number;
17821
18068
  headers?: Record<string, string> | undefined;
17822
18069
  body?: Record<string, any> | undefined;
@@ -18573,6 +18820,62 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18573
18820
  message: string;
18574
18821
  } | null | undefined;
18575
18822
  } | undefined;
18823
+ } | {
18824
+ id: string;
18825
+ label: {
18826
+ id: string;
18827
+ defaultMessage: string;
18828
+ description: string;
18829
+ };
18830
+ type: "ALPHA_HIDDEN";
18831
+ parent?: {
18832
+ $$field: string;
18833
+ $$subfield?: string[] | undefined;
18834
+ } | {
18835
+ $$field: string;
18836
+ $$subfield?: string[] | undefined;
18837
+ }[] | undefined;
18838
+ conditionals?: ({
18839
+ type: "SHOW";
18840
+ conditional: any;
18841
+ } | {
18842
+ type: "ENABLE";
18843
+ conditional: any;
18844
+ } | {
18845
+ type: "DISPLAY_ON_REVIEW";
18846
+ conditional: any;
18847
+ })[] | undefined;
18848
+ secured?: boolean | undefined;
18849
+ placeholder?: {
18850
+ id: string;
18851
+ defaultMessage: string;
18852
+ description: string;
18853
+ } | undefined;
18854
+ validation?: {
18855
+ validator: any;
18856
+ message: {
18857
+ id: string;
18858
+ defaultMessage: string;
18859
+ description: string;
18860
+ };
18861
+ }[] | undefined;
18862
+ helperText?: {
18863
+ id: string;
18864
+ defaultMessage: string;
18865
+ description: string;
18866
+ } | undefined;
18867
+ hideLabel?: boolean | undefined;
18868
+ uncorrectable?: boolean | undefined;
18869
+ value?: {
18870
+ $$field: string;
18871
+ $$subfield?: string[] | undefined;
18872
+ } | {
18873
+ $$field: string;
18874
+ $$subfield?: string[] | undefined;
18875
+ }[] | undefined;
18876
+ analytics?: boolean | undefined;
18877
+ required?: boolean | undefined;
18878
+ defaultValue?: string | undefined;
18576
18879
  })[];
18577
18880
  type: "VERIFICATION";
18578
18881
  actions: {
@@ -18616,7 +18919,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18616
18919
  defaultMessage: string;
18617
18920
  description: string;
18618
18921
  } | undefined;
18619
- icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
18922
+ icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
18620
18923
  conditionals?: ({
18621
18924
  type: "SHOW";
18622
18925
  conditional: any;
@@ -19793,7 +20096,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
19793
20096
  } | undefined;
19794
20097
  } | undefined;
19795
20098
  } | undefined;
19796
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
20099
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
19797
20100
  maxLength?: number | undefined;
19798
20101
  prefix?: {
19799
20102
  id: string;
@@ -20141,7 +20444,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
20141
20444
  };
20142
20445
  type: "ADMINISTRATIVE_AREA";
20143
20446
  configuration: {
20144
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
20447
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
20145
20448
  partOf?: {
20146
20449
  $declaration: string;
20147
20450
  } | undefined;
@@ -20905,7 +21208,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
20905
21208
  $$subfield?: string[] | undefined;
20906
21209
  };
20907
21210
  url: string;
20908
- method: "POST" | "GET" | "PUT" | "DELETE";
21211
+ method: "POST" | "DELETE" | "GET" | "PUT";
20909
21212
  timeout: number;
20910
21213
  headers?: Record<string, string> | undefined;
20911
21214
  body?: Record<string, any> | undefined;
@@ -21662,6 +21965,62 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
21662
21965
  message: string;
21663
21966
  } | null | undefined;
21664
21967
  } | undefined;
21968
+ } | {
21969
+ id: string;
21970
+ label: {
21971
+ id: string;
21972
+ defaultMessage: string;
21973
+ description: string;
21974
+ };
21975
+ type: "ALPHA_HIDDEN";
21976
+ parent?: {
21977
+ $$field: string;
21978
+ $$subfield?: string[] | undefined;
21979
+ } | {
21980
+ $$field: string;
21981
+ $$subfield?: string[] | undefined;
21982
+ }[] | undefined;
21983
+ conditionals?: ({
21984
+ type: "SHOW";
21985
+ conditional: any;
21986
+ } | {
21987
+ type: "ENABLE";
21988
+ conditional: any;
21989
+ } | {
21990
+ type: "DISPLAY_ON_REVIEW";
21991
+ conditional: any;
21992
+ })[] | undefined;
21993
+ secured?: boolean | undefined;
21994
+ placeholder?: {
21995
+ id: string;
21996
+ defaultMessage: string;
21997
+ description: string;
21998
+ } | undefined;
21999
+ validation?: {
22000
+ validator: any;
22001
+ message: {
22002
+ id: string;
22003
+ defaultMessage: string;
22004
+ description: string;
22005
+ };
22006
+ }[] | undefined;
22007
+ helperText?: {
22008
+ id: string;
22009
+ defaultMessage: string;
22010
+ description: string;
22011
+ } | undefined;
22012
+ hideLabel?: boolean | undefined;
22013
+ uncorrectable?: boolean | undefined;
22014
+ value?: {
22015
+ $$field: string;
22016
+ $$subfield?: string[] | undefined;
22017
+ } | {
22018
+ $$field: string;
22019
+ $$subfield?: string[] | undefined;
22020
+ }[] | undefined;
22021
+ analytics?: boolean | undefined;
22022
+ required?: boolean | undefined;
22023
+ defaultValue?: string | undefined;
21665
22024
  })[];
21666
22025
  auditHistoryLabel?: {
21667
22026
  id: string;
@@ -21673,7 +22032,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
21673
22032
  defaultMessage: string;
21674
22033
  description: string;
21675
22034
  } | undefined;
21676
- icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
22035
+ icon?: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer" | undefined;
21677
22036
  conditionals?: ({
21678
22037
  type: "SHOW";
21679
22038
  conditional: any;
@@ -22851,7 +23210,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
22851
23210
  } | undefined;
22852
23211
  } | undefined;
22853
23212
  } | undefined;
22854
- order?: ("firstname" | "middlename" | "surname")[] | undefined;
23213
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
22855
23214
  maxLength?: number | undefined;
22856
23215
  prefix?: {
22857
23216
  id: string;
@@ -23199,7 +23558,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
23199
23558
  };
23200
23559
  type: "ADMINISTRATIVE_AREA";
23201
23560
  configuration: {
23202
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
23561
+ type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
23203
23562
  partOf?: {
23204
23563
  $declaration: string;
23205
23564
  } | undefined;
@@ -23963,7 +24322,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
23963
24322
  $$subfield?: string[] | undefined;
23964
24323
  };
23965
24324
  url: string;
23966
- method: "POST" | "GET" | "PUT" | "DELETE";
24325
+ method: "POST" | "DELETE" | "GET" | "PUT";
23967
24326
  timeout: number;
23968
24327
  headers?: Record<string, string> | undefined;
23969
24328
  body?: Record<string, any> | undefined;
@@ -24720,6 +25079,62 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24720
25079
  message: string;
24721
25080
  } | null | undefined;
24722
25081
  } | undefined;
25082
+ } | {
25083
+ id: string;
25084
+ label: {
25085
+ id: string;
25086
+ defaultMessage: string;
25087
+ description: string;
25088
+ };
25089
+ type: "ALPHA_HIDDEN";
25090
+ parent?: {
25091
+ $$field: string;
25092
+ $$subfield?: string[] | undefined;
25093
+ } | {
25094
+ $$field: string;
25095
+ $$subfield?: string[] | undefined;
25096
+ }[] | undefined;
25097
+ conditionals?: ({
25098
+ type: "SHOW";
25099
+ conditional: any;
25100
+ } | {
25101
+ type: "ENABLE";
25102
+ conditional: any;
25103
+ } | {
25104
+ type: "DISPLAY_ON_REVIEW";
25105
+ conditional: any;
25106
+ })[] | undefined;
25107
+ secured?: boolean | undefined;
25108
+ placeholder?: {
25109
+ id: string;
25110
+ defaultMessage: string;
25111
+ description: string;
25112
+ } | undefined;
25113
+ validation?: {
25114
+ validator: any;
25115
+ message: {
25116
+ id: string;
25117
+ defaultMessage: string;
25118
+ description: string;
25119
+ };
25120
+ }[] | undefined;
25121
+ helperText?: {
25122
+ id: string;
25123
+ defaultMessage: string;
25124
+ description: string;
25125
+ } | undefined;
25126
+ hideLabel?: boolean | undefined;
25127
+ uncorrectable?: boolean | undefined;
25128
+ value?: {
25129
+ $$field: string;
25130
+ $$subfield?: string[] | undefined;
25131
+ } | {
25132
+ $$field: string;
25133
+ $$subfield?: string[] | undefined;
25134
+ }[] | undefined;
25135
+ analytics?: boolean | undefined;
25136
+ required?: boolean | undefined;
25137
+ defaultValue?: string | undefined;
24723
25138
  })[];
24724
25139
  type: "FORM";
24725
25140
  conditional?: any;
@@ -24738,7 +25153,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24738
25153
  };
24739
25154
  fieldId: string;
24740
25155
  fieldType: "field";
24741
- type?: "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE" | "TIME" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | undefined;
25156
+ type?: "TEXT" | "DATE" | "TIME" | "ADDRESS" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | "ALPHA_HIDDEN" | undefined;
24742
25157
  label?: {
24743
25158
  id: string;
24744
25159
  defaultMessage: string;
@@ -24782,7 +25197,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24782
25197
  };
24783
25198
  fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
24784
25199
  fieldType: "event";
24785
- type?: "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE" | "TIME" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | undefined;
25200
+ type?: "TEXT" | "DATE" | "TIME" | "ADDRESS" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | "ALPHA_HIDDEN" | undefined;
24786
25201
  label?: {
24787
25202
  id: string;
24788
25203
  defaultMessage: string;
@@ -24834,6 +25249,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24834
25249
  $$field: string;
24835
25250
  $$subfield?: string[] | undefined;
24836
25251
  } | undefined;
25252
+ placeOfEvent?: {
25253
+ $$field: string;
25254
+ $$subfield?: string[] | undefined;
25255
+ } | undefined;
24837
25256
  fallbackTitle?: {
24838
25257
  id: string;
24839
25258
  defaultMessage: string;
@@ -24867,20 +25286,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24867
25286
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24868
25287
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
24869
25288
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24870
- } | {
24871
- id: string & import("zod").$brand<"UUID">;
24872
- transactionId: string;
24873
- createdByUserType: "user" | "system";
24874
- createdAt: string;
24875
- createdBy: string;
24876
- createdByRole: string;
24877
- declaration: Record<string, import("../commons").FieldUpdateValue>;
24878
- status: "Requested" | "Accepted" | "Rejected";
24879
- type: "VALIDATE";
24880
- createdBySignature?: string | null | undefined;
24881
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
24882
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
24883
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
24884
25289
  } | {
24885
25290
  id: string & import("zod").$brand<"UUID">;
24886
25291
  transactionId: string;
@@ -25126,6 +25531,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25126
25531
  declaration: Record<string, import("../commons").FieldUpdateValue>;
25127
25532
  status: "Requested" | "Accepted" | "Rejected";
25128
25533
  type: "EDIT";
25534
+ content: {
25535
+ comment?: string | undefined;
25536
+ };
25129
25537
  createdBySignature?: string | null | undefined;
25130
25538
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25131
25539
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -25152,7 +25560,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25152
25560
  createdAt: string;
25153
25561
  createdBy: string;
25154
25562
  createdByRole: string;
25155
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25563
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25156
25564
  status: "Rejected";
25157
25565
  createdBySignature?: string | null | undefined;
25158
25566
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -25183,20 +25591,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25183
25591
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25184
25592
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25185
25593
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25186
- } | {
25187
- id: string & import("zod").$brand<"UUID">;
25188
- transactionId: string;
25189
- createdByUserType: "user" | "system";
25190
- createdAt: string;
25191
- createdBy: string;
25192
- createdByRole: string;
25193
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25194
- status: "Requested" | "Accepted" | "Rejected";
25195
- type: "VALIDATE";
25196
- createdBySignature?: string | null | undefined;
25197
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25198
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25199
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25200
25594
  } | {
25201
25595
  id: string & import("zod").$brand<"UUID">;
25202
25596
  transactionId: string;
@@ -25442,6 +25836,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25442
25836
  declaration: Record<string, import("../commons").FieldUpdateValue>;
25443
25837
  status: "Requested" | "Accepted" | "Rejected";
25444
25838
  type: "EDIT";
25839
+ content: {
25840
+ comment?: string | undefined;
25841
+ };
25445
25842
  createdBySignature?: string | null | undefined;
25446
25843
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25447
25844
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -25468,7 +25865,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25468
25865
  createdAt: string;
25469
25866
  createdBy: string;
25470
25867
  createdByRole: string;
25471
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25868
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25472
25869
  status: "Rejected";
25473
25870
  createdBySignature?: string | null | undefined;
25474
25871
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -25501,20 +25898,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25501
25898
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25502
25899
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25503
25900
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25504
- } | {
25505
- id: string & import("zod").$brand<"UUID">;
25506
- transactionId: string;
25507
- createdByUserType: "user" | "system";
25508
- createdAt: string;
25509
- createdBy: string;
25510
- createdByRole: string;
25511
- declaration: Record<string, import("../commons").FieldUpdateValue>;
25512
- status: "Requested" | "Accepted" | "Rejected";
25513
- type: "VALIDATE";
25514
- createdBySignature?: string | null | undefined;
25515
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25516
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
25517
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25518
25901
  } | {
25519
25902
  id: string & import("zod").$brand<"UUID">;
25520
25903
  transactionId: string;
@@ -25760,6 +26143,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25760
26143
  declaration: Record<string, import("../commons").FieldUpdateValue>;
25761
26144
  status: "Requested" | "Accepted" | "Rejected";
25762
26145
  type: "EDIT";
26146
+ content: {
26147
+ comment?: string | undefined;
26148
+ };
25763
26149
  createdBySignature?: string | null | undefined;
25764
26150
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25765
26151
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -25786,7 +26172,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25786
26172
  createdAt: string;
25787
26173
  createdBy: string;
25788
26174
  createdByRole: string;
25789
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
26175
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
25790
26176
  status: "Rejected";
25791
26177
  createdBySignature?: string | null | undefined;
25792
26178
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -25814,12 +26200,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25814
26200
  role: string;
25815
26201
  primaryOfficeId: string & import("zod").$brand<"UUID">;
25816
26202
  signature?: string | undefined;
26203
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25817
26204
  } | {
25818
26205
  type: "system";
25819
26206
  id: string;
25820
26207
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
25821
26208
  signature?: undefined;
25822
26209
  primaryOfficeId?: undefined;
26210
+ administrativeAreaId?: undefined;
25823
26211
  };
25824
26212
  }>;
25825
26213
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -25834,7 +26222,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25834
26222
  transactionId: string;
25835
26223
  createdAt: string;
25836
26224
  action: {
25837
- type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
26225
+ type: "READ" | "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
25838
26226
  status: "Requested" | "Accepted" | "Rejected";
25839
26227
  transactionId: string;
25840
26228
  createdByUserType: "user" | "system";
@@ -25853,7 +26241,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25853
26241
  input: {
25854
26242
  eventId: string;
25855
26243
  transactionId: string;
25856
- type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
26244
+ type: "READ" | "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
25857
26245
  status: "Requested" | "Accepted" | "Rejected";
25858
26246
  declaration?: Record<string, unknown> | undefined;
25859
26247
  annotation?: Record<string, unknown> | undefined;
@@ -25867,7 +26255,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25867
26255
  transactionId: string;
25868
26256
  createdAt: string;
25869
26257
  action: {
25870
- type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
26258
+ type: "READ" | "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT";
25871
26259
  status: "Requested" | "Accepted" | "Rejected";
25872
26260
  transactionId: string;
25873
26261
  createdByUserType: "user" | "system";
@@ -25892,12 +26280,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25892
26280
  role: string;
25893
26281
  primaryOfficeId: string & import("zod").$brand<"UUID">;
25894
26282
  signature?: string | undefined;
26283
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25895
26284
  } | {
25896
26285
  type: "system";
25897
26286
  id: string;
25898
26287
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
25899
26288
  signature?: undefined;
25900
26289
  primaryOfficeId?: undefined;
26290
+ administrativeAreaId?: undefined;
25901
26291
  };
25902
26292
  }>;
25903
26293
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -25913,12 +26303,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25913
26303
  role: string;
25914
26304
  primaryOfficeId: string & import("zod").$brand<"UUID">;
25915
26305
  signature?: string | undefined;
26306
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25916
26307
  } | {
25917
26308
  type: "system";
25918
26309
  id: string;
25919
26310
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
25920
26311
  signature?: undefined;
25921
26312
  primaryOfficeId?: undefined;
26313
+ administrativeAreaId?: undefined;
25922
26314
  };
25923
26315
  }>;
25924
26316
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -25956,12 +26348,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25956
26348
  role: string;
25957
26349
  primaryOfficeId: string & import("zod").$brand<"UUID">;
25958
26350
  signature?: string | undefined;
26351
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
25959
26352
  } | {
25960
26353
  type: "system";
25961
26354
  id: string;
25962
26355
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
25963
26356
  signature?: undefined;
25964
26357
  primaryOfficeId?: undefined;
26358
+ administrativeAreaId?: undefined;
25965
26359
  };
25966
26360
  }>;
25967
26361
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -25998,20 +26392,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25998
26392
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
25999
26393
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26000
26394
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26001
- } | {
26002
- id: string & import("zod").$brand<"UUID">;
26003
- transactionId: string;
26004
- createdByUserType: "user" | "system";
26005
- createdAt: string;
26006
- createdBy: string;
26007
- createdByRole: string;
26008
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26009
- status: "Requested" | "Accepted" | "Rejected";
26010
- type: "VALIDATE";
26011
- createdBySignature?: string | null | undefined;
26012
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26013
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26014
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26015
26395
  } | {
26016
26396
  id: string & import("zod").$brand<"UUID">;
26017
26397
  transactionId: string;
@@ -26257,6 +26637,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26257
26637
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26258
26638
  status: "Requested" | "Accepted" | "Rejected";
26259
26639
  type: "EDIT";
26640
+ content: {
26641
+ comment?: string | undefined;
26642
+ };
26260
26643
  createdBySignature?: string | null | undefined;
26261
26644
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26262
26645
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26283,7 +26666,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26283
26666
  createdAt: string;
26284
26667
  createdBy: string;
26285
26668
  createdByRole: string;
26286
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
26669
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
26287
26670
  status: "Rejected";
26288
26671
  createdBySignature?: string | null | undefined;
26289
26672
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -26319,55 +26702,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26319
26702
  role: string;
26320
26703
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26321
26704
  signature?: string | undefined;
26705
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26322
26706
  } | {
26323
26707
  type: "system";
26324
26708
  id: string;
26325
26709
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26326
26710
  signature?: undefined;
26327
26711
  primaryOfficeId?: undefined;
26328
- };
26329
- }>;
26330
- meta: import("trpc-to-openapi").OpenApiMeta;
26331
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26332
- transformer: true;
26333
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
26334
- request: import("@trpc/server").TRPCMutationProcedure<{
26335
- input: import("../commons").ActionInput;
26336
- output: import("../commons").EventDocument;
26337
- meta: import("trpc-to-openapi").OpenApiMeta;
26338
- }>;
26339
- accept: import("@trpc/server").TRPCMutationProcedure<{
26340
- input: import("../commons").ActionInput & {
26341
- actionId: string;
26342
- };
26343
- output: import("../commons").EventDocument;
26344
- meta: import("trpc-to-openapi").OpenApiMeta;
26345
- }>;
26346
- reject: import("@trpc/server").TRPCMutationProcedure<{
26347
- input: {
26348
- eventId: string;
26349
- actionId: string;
26350
- transactionId: string;
26351
- };
26352
- output: import("../commons").EventDocument;
26353
- meta: import("trpc-to-openapi").OpenApiMeta;
26354
- }>;
26355
- }>>;
26356
- validate: import("@trpc/server").TRPCBuiltRouter<{
26357
- ctx: Partial<{
26358
- token: `Bearer ${string}`;
26359
- user: {
26360
- type: "user";
26361
- id: string;
26362
- role: string;
26363
- primaryOfficeId: string & import("zod").$brand<"UUID">;
26364
- signature?: string | undefined;
26365
- } | {
26366
- type: "system";
26367
- id: string;
26368
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26369
- signature?: undefined;
26370
- primaryOfficeId?: undefined;
26712
+ administrativeAreaId?: undefined;
26371
26713
  };
26372
26714
  }>;
26373
26715
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26405,12 +26747,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26405
26747
  role: string;
26406
26748
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26407
26749
  signature?: string | undefined;
26750
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26408
26751
  } | {
26409
26752
  type: "system";
26410
26753
  id: string;
26411
26754
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26412
26755
  signature?: undefined;
26413
26756
  primaryOfficeId?: undefined;
26757
+ administrativeAreaId?: undefined;
26414
26758
  };
26415
26759
  }>;
26416
26760
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26448,12 +26792,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26448
26792
  role: string;
26449
26793
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26450
26794
  signature?: string | undefined;
26795
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26451
26796
  } | {
26452
26797
  type: "system";
26453
26798
  id: string;
26454
26799
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26455
26800
  signature?: undefined;
26456
26801
  primaryOfficeId?: undefined;
26802
+ administrativeAreaId?: undefined;
26457
26803
  };
26458
26804
  }>;
26459
26805
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26491,12 +26837,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26491
26837
  role: string;
26492
26838
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26493
26839
  signature?: string | undefined;
26840
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26494
26841
  } | {
26495
26842
  type: "system";
26496
26843
  id: string;
26497
26844
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26498
26845
  signature?: undefined;
26499
26846
  primaryOfficeId?: undefined;
26847
+ administrativeAreaId?: undefined;
26500
26848
  };
26501
26849
  }>;
26502
26850
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26534,12 +26882,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26534
26882
  role: string;
26535
26883
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26536
26884
  signature?: string | undefined;
26885
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26537
26886
  } | {
26538
26887
  type: "system";
26539
26888
  id: string;
26540
26889
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26541
26890
  signature?: undefined;
26542
26891
  primaryOfficeId?: undefined;
26892
+ administrativeAreaId?: undefined;
26543
26893
  };
26544
26894
  }>;
26545
26895
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26577,12 +26927,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26577
26927
  role: string;
26578
26928
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26579
26929
  signature?: string | undefined;
26930
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26580
26931
  } | {
26581
26932
  type: "system";
26582
26933
  id: string;
26583
26934
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26584
26935
  signature?: undefined;
26585
26936
  primaryOfficeId?: undefined;
26937
+ administrativeAreaId?: undefined;
26586
26938
  };
26587
26939
  }>;
26588
26940
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26620,20 +26972,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26620
26972
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26621
26973
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26622
26974
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26623
- } | {
26624
- id: string & import("zod").$brand<"UUID">;
26625
- transactionId: string;
26626
- createdByUserType: "user" | "system";
26627
- createdAt: string;
26628
- createdBy: string;
26629
- createdByRole: string;
26630
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26631
- status: "Requested" | "Accepted" | "Rejected";
26632
- type: "VALIDATE";
26633
- createdBySignature?: string | null | undefined;
26634
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26635
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26636
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26637
26975
  } | {
26638
26976
  id: string & import("zod").$brand<"UUID">;
26639
26977
  transactionId: string;
@@ -26879,6 +27217,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26879
27217
  declaration: Record<string, import("../commons").FieldUpdateValue>;
26880
27218
  status: "Requested" | "Accepted" | "Rejected";
26881
27219
  type: "EDIT";
27220
+ content: {
27221
+ comment?: string | undefined;
27222
+ };
26882
27223
  createdBySignature?: string | null | undefined;
26883
27224
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26884
27225
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -26905,7 +27246,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26905
27246
  createdAt: string;
26906
27247
  createdBy: string;
26907
27248
  createdByRole: string;
26908
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27249
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
26909
27250
  status: "Rejected";
26910
27251
  createdBySignature?: string | null | undefined;
26911
27252
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -26941,12 +27282,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26941
27282
  role: string;
26942
27283
  primaryOfficeId: string & import("zod").$brand<"UUID">;
26943
27284
  signature?: string | undefined;
27285
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26944
27286
  } | {
26945
27287
  type: "system";
26946
27288
  id: string;
26947
27289
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
26948
27290
  signature?: undefined;
26949
27291
  primaryOfficeId?: undefined;
27292
+ administrativeAreaId?: undefined;
26950
27293
  };
26951
27294
  }>;
26952
27295
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -26984,20 +27327,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26984
27327
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26985
27328
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
26986
27329
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
26987
- } | {
26988
- id: string & import("zod").$brand<"UUID">;
26989
- transactionId: string;
26990
- createdByUserType: "user" | "system";
26991
- createdAt: string;
26992
- createdBy: string;
26993
- createdByRole: string;
26994
- declaration: Record<string, import("../commons").FieldUpdateValue>;
26995
- status: "Requested" | "Accepted" | "Rejected";
26996
- type: "VALIDATE";
26997
- createdBySignature?: string | null | undefined;
26998
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
26999
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27000
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27001
27330
  } | {
27002
27331
  id: string & import("zod").$brand<"UUID">;
27003
27332
  transactionId: string;
@@ -27243,6 +27572,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27243
27572
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27244
27573
  status: "Requested" | "Accepted" | "Rejected";
27245
27574
  type: "EDIT";
27575
+ content: {
27576
+ comment?: string | undefined;
27577
+ };
27246
27578
  createdBySignature?: string | null | undefined;
27247
27579
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27248
27580
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27269,7 +27601,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27269
27601
  createdAt: string;
27270
27602
  createdBy: string;
27271
27603
  createdByRole: string;
27272
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27604
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27273
27605
  status: "Rejected";
27274
27606
  createdBySignature?: string | null | undefined;
27275
27607
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27310,20 +27642,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27310
27642
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27311
27643
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27312
27644
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27313
- } | {
27314
- id: string & import("zod").$brand<"UUID">;
27315
- transactionId: string;
27316
- createdByUserType: "user" | "system";
27317
- createdAt: string;
27318
- createdBy: string;
27319
- createdByRole: string;
27320
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27321
- status: "Requested" | "Accepted" | "Rejected";
27322
- type: "VALIDATE";
27323
- createdBySignature?: string | null | undefined;
27324
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27325
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27326
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27327
27645
  } | {
27328
27646
  id: string & import("zod").$brand<"UUID">;
27329
27647
  transactionId: string;
@@ -27569,6 +27887,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27569
27887
  declaration: Record<string, import("../commons").FieldUpdateValue>;
27570
27888
  status: "Requested" | "Accepted" | "Rejected";
27571
27889
  type: "EDIT";
27890
+ content: {
27891
+ comment?: string | undefined;
27892
+ };
27572
27893
  createdBySignature?: string | null | undefined;
27573
27894
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27574
27895
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -27595,7 +27916,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27595
27916
  createdAt: string;
27596
27917
  createdBy: string;
27597
27918
  createdByRole: string;
27598
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27919
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
27599
27920
  status: "Rejected";
27600
27921
  createdBySignature?: string | null | undefined;
27601
27922
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -27615,12 +27936,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27615
27936
  role: string;
27616
27937
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27617
27938
  signature?: string | undefined;
27939
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27618
27940
  } | {
27619
27941
  type: "system";
27620
27942
  id: string;
27621
27943
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27622
27944
  signature?: undefined;
27623
27945
  primaryOfficeId?: undefined;
27946
+ administrativeAreaId?: undefined;
27624
27947
  };
27625
27948
  }>;
27626
27949
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27636,12 +27959,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27636
27959
  role: string;
27637
27960
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27638
27961
  signature?: string | undefined;
27962
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27639
27963
  } | {
27640
27964
  type: "system";
27641
27965
  id: string;
27642
27966
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27643
27967
  signature?: undefined;
27644
27968
  primaryOfficeId?: undefined;
27969
+ administrativeAreaId?: undefined;
27645
27970
  };
27646
27971
  }>;
27647
27972
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27679,12 +28004,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27679
28004
  role: string;
27680
28005
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27681
28006
  signature?: string | undefined;
28007
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27682
28008
  } | {
27683
28009
  type: "system";
27684
28010
  id: string;
27685
28011
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27686
28012
  signature?: undefined;
27687
28013
  primaryOfficeId?: undefined;
28014
+ administrativeAreaId?: undefined;
27688
28015
  };
27689
28016
  }>;
27690
28017
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27722,12 +28049,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27722
28049
  role: string;
27723
28050
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27724
28051
  signature?: string | undefined;
28052
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27725
28053
  } | {
27726
28054
  type: "system";
27727
28055
  id: string;
27728
28056
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27729
28057
  signature?: undefined;
27730
28058
  primaryOfficeId?: undefined;
28059
+ administrativeAreaId?: undefined;
27731
28060
  };
27732
28061
  }>;
27733
28062
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27766,12 +28095,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27766
28095
  role: string;
27767
28096
  primaryOfficeId: string & import("zod").$brand<"UUID">;
27768
28097
  signature?: string | undefined;
28098
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27769
28099
  } | {
27770
28100
  type: "system";
27771
28101
  id: string;
27772
28102
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
27773
28103
  signature?: undefined;
27774
28104
  primaryOfficeId?: undefined;
28105
+ administrativeAreaId?: undefined;
27775
28106
  };
27776
28107
  }>;
27777
28108
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -27811,20 +28142,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27811
28142
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27812
28143
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27813
28144
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27814
- } | {
27815
- id: string & import("zod").$brand<"UUID">;
27816
- transactionId: string;
27817
- createdByUserType: "user" | "system";
27818
- createdAt: string;
27819
- createdBy: string;
27820
- createdByRole: string;
27821
- declaration: Record<string, import("../commons").FieldUpdateValue>;
27822
- status: "Requested" | "Accepted" | "Rejected";
27823
- type: "VALIDATE";
27824
- createdBySignature?: string | null | undefined;
27825
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
27826
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
27827
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
27828
28145
  } | {
27829
28146
  id: string & import("zod").$brand<"UUID">;
27830
28147
  transactionId: string;
@@ -28070,6 +28387,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28070
28387
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28071
28388
  status: "Requested" | "Accepted" | "Rejected";
28072
28389
  type: "EDIT";
28390
+ content: {
28391
+ comment?: string | undefined;
28392
+ };
28073
28393
  createdBySignature?: string | null | undefined;
28074
28394
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28075
28395
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28096,7 +28416,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28096
28416
  createdAt: string;
28097
28417
  createdBy: string;
28098
28418
  createdByRole: string;
28099
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
28419
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
28100
28420
  status: "Rejected";
28101
28421
  createdBySignature?: string | null | undefined;
28102
28422
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -28136,20 +28456,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28136
28456
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28137
28457
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28138
28458
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28139
- } | {
28140
- id: string & import("zod").$brand<"UUID">;
28141
- transactionId: string;
28142
- createdByUserType: "user" | "system";
28143
- createdAt: string;
28144
- createdBy: string;
28145
- createdByRole: string;
28146
- declaration: Record<string, import("../commons").FieldUpdateValue>;
28147
- status: "Requested" | "Accepted" | "Rejected";
28148
- type: "VALIDATE";
28149
- createdBySignature?: string | null | undefined;
28150
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28151
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
28152
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28153
28459
  } | {
28154
28460
  id: string & import("zod").$brand<"UUID">;
28155
28461
  transactionId: string;
@@ -28395,6 +28701,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28395
28701
  declaration: Record<string, import("../commons").FieldUpdateValue>;
28396
28702
  status: "Requested" | "Accepted" | "Rejected";
28397
28703
  type: "EDIT";
28704
+ content: {
28705
+ comment?: string | undefined;
28706
+ };
28398
28707
  createdBySignature?: string | null | undefined;
28399
28708
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28400
28709
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -28421,7 +28730,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28421
28730
  createdAt: string;
28422
28731
  createdBy: string;
28423
28732
  createdByRole: string;
28424
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
28733
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
28425
28734
  status: "Rejected";
28426
28735
  createdBySignature?: string | null | undefined;
28427
28736
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
@@ -28478,6 +28787,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28478
28787
  flags: string[];
28479
28788
  declaration: Record<string, import("../commons").FieldValue>;
28480
28789
  dateOfEvent?: string | null | undefined;
28790
+ placeOfEvent?: (string & import("zod").$brand<"UUID">) | null | undefined;
28481
28791
  createdByUserType?: "user" | "system" | null | undefined;
28482
28792
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28483
28793
  createdBySignature?: string | null | undefined;
@@ -28509,20 +28819,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28509
28819
  createdAtLocation?: string | null | undefined;
28510
28820
  annotation?: Record<string, unknown> | null | undefined;
28511
28821
  originalActionId?: string | null | undefined;
28512
- } | {
28513
- id: string;
28514
- transactionId: string;
28515
- createdByUserType: "user" | "system";
28516
- createdAt: string;
28517
- createdBy: string;
28518
- createdByRole: string;
28519
- declaration: Record<string, unknown>;
28520
- status: "Requested" | "Accepted" | "Rejected";
28521
- type: "VALIDATE";
28522
- createdBySignature?: string | null | undefined;
28523
- createdAtLocation?: string | null | undefined;
28524
- annotation?: Record<string, unknown> | null | undefined;
28525
- originalActionId?: string | null | undefined;
28526
28822
  } | {
28527
28823
  id: string;
28528
28824
  transactionId: string;
@@ -28768,6 +29064,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28768
29064
  declaration: Record<string, unknown>;
28769
29065
  status: "Requested" | "Accepted" | "Rejected";
28770
29066
  type: "EDIT";
29067
+ content: {
29068
+ comment?: string | undefined;
29069
+ };
28771
29070
  createdBySignature?: string | null | undefined;
28772
29071
  createdAtLocation?: string | null | undefined;
28773
29072
  annotation?: Record<string, unknown> | null | undefined;
@@ -28794,7 +29093,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28794
29093
  createdAt: string;
28795
29094
  createdBy: string;
28796
29095
  createdByRole: string;
28797
- type: "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
29096
+ type: "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "ARCHIVE" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "EDIT";
28798
29097
  status: "Rejected";
28799
29098
  createdBySignature?: string | null | undefined;
28800
29099
  createdAtLocation?: string | null | undefined;
@@ -28820,12 +29119,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28820
29119
  role: string;
28821
29120
  primaryOfficeId: string & import("zod").$brand<"UUID">;
28822
29121
  signature?: string | undefined;
29122
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28823
29123
  } | {
28824
29124
  type: "system";
28825
29125
  id: string;
28826
29126
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28827
29127
  signature?: undefined;
28828
29128
  primaryOfficeId?: undefined;
29129
+ administrativeAreaId?: undefined;
28829
29130
  };
28830
29131
  }>;
28831
29132
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -28846,6 +29147,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28846
29147
  type: "user";
28847
29148
  avatar?: string | undefined;
28848
29149
  signature?: string | undefined;
29150
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28849
29151
  fullHonorificName?: string | undefined;
28850
29152
  } | {
28851
29153
  id: string;
@@ -28853,6 +29155,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28853
29155
  type: "system";
28854
29156
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28855
29157
  primaryOfficeId?: undefined;
29158
+ administrativeAreaId?: undefined;
28856
29159
  signature?: undefined;
28857
29160
  avatar?: undefined;
28858
29161
  fullHonorificName?: string | undefined;
@@ -28873,6 +29176,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28873
29176
  type: "user";
28874
29177
  avatar?: string | undefined;
28875
29178
  signature?: string | undefined;
29179
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28876
29180
  fullHonorificName?: string | undefined;
28877
29181
  } | {
28878
29182
  id: string;
@@ -28880,6 +29184,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28880
29184
  type: "system";
28881
29185
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28882
29186
  primaryOfficeId?: undefined;
29187
+ administrativeAreaId?: undefined;
28883
29188
  signature?: undefined;
28884
29189
  avatar?: undefined;
28885
29190
  fullHonorificName?: string | undefined;
@@ -28893,32 +29198,32 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28893
29198
  count?: number | undefined;
28894
29199
  timeStart?: string | undefined;
28895
29200
  timeEnd?: string | undefined;
28896
- actionTypes?: ("READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT")[] | undefined;
29201
+ actionTypes?: ("READ" | "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN" | "EDIT")[] | undefined;
28897
29202
  };
28898
29203
  output: {
28899
29204
  results: {
28900
29205
  id: (string & import("zod").$brand<"UUID">) | null;
28901
- declaration: Record<string, any>;
28902
- eventType: string | null;
28903
- customActionType: string | null;
28904
- status: import("../storage/postgres/events/schema/app/ActionStatus").default;
28905
- createdAt: string | null;
28906
- updatedAt: string | null;
28907
- trackingId: string | null;
28908
29206
  transactionId: string | null;
28909
29207
  eventId: string & import("zod").$brand<"UUID">;
28910
29208
  actionType: string;
29209
+ declaration: Record<string, any>;
28911
29210
  annotation: Record<string, any> | null;
28912
29211
  createdBy: string;
28913
29212
  createdByRole: string;
28914
29213
  createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
28915
29214
  createdBySignature: string | null;
28916
29215
  createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
29216
+ createdAt: string | null;
28917
29217
  assignedTo: string | null;
28918
29218
  originalActionId: (string & import("zod").$brand<"UUID">) | null;
28919
29219
  registrationNumber: string | null;
28920
29220
  requestId: string | null;
29221
+ status: import("../storage/postgres/events/schema/app/ActionStatus").default;
28921
29222
  content: Record<string, any> | null;
29223
+ customActionType: string | null;
29224
+ updatedAt: string | null;
29225
+ eventType: string | null;
29226
+ trackingId: string | null;
28922
29227
  }[];
28923
29228
  total: number;
28924
29229
  };
@@ -28934,12 +29239,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28934
29239
  role: string;
28935
29240
  primaryOfficeId: string & import("zod").$brand<"UUID">;
28936
29241
  signature?: string | undefined;
29242
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28937
29243
  } | {
28938
29244
  type: "system";
28939
29245
  id: string;
28940
29246
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28941
29247
  signature?: undefined;
28942
29248
  primaryOfficeId?: undefined;
29249
+ administrativeAreaId?: undefined;
28943
29250
  };
28944
29251
  }>;
28945
29252
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -28955,14 +29262,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28955
29262
  input: {
28956
29263
  isActive?: boolean | undefined;
28957
29264
  locationIds?: string[] | undefined;
28958
- locationType?: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE" | undefined;
29265
+ locationType?: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE" | undefined;
28959
29266
  } | undefined;
28960
29267
  output: {
28961
29268
  id: string & import("zod").$brand<"UUID">;
28962
29269
  name: string;
28963
29270
  parentId: (string & import("zod").$brand<"UUID">) | null;
28964
29271
  validUntil: string | null;
28965
- locationType: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE" | null;
29272
+ locationType: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE" | null;
28966
29273
  }[];
28967
29274
  meta: import("trpc-to-openapi").OpenApiMeta;
28968
29275
  }>;
@@ -28972,7 +29279,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28972
29279
  name: string;
28973
29280
  parentId: string | null;
28974
29281
  validUntil: string | null;
28975
- locationType: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE" | null;
29282
+ locationType: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE" | null;
28976
29283
  }[];
28977
29284
  output: void;
28978
29285
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -28987,12 +29294,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28987
29294
  role: string;
28988
29295
  primaryOfficeId: string & import("zod").$brand<"UUID">;
28989
29296
  signature?: string | undefined;
29297
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
28990
29298
  } | {
28991
29299
  type: "system";
28992
29300
  id: string;
28993
29301
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
28994
29302
  signature?: undefined;
28995
29303
  primaryOfficeId?: undefined;
29304
+ administrativeAreaId?: undefined;
28996
29305
  };
28997
29306
  }>;
28998
29307
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -29008,12 +29317,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29008
29317
  role: string;
29009
29318
  primaryOfficeId: string & import("zod").$brand<"UUID">;
29010
29319
  signature?: string | undefined;
29320
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
29011
29321
  } | {
29012
29322
  type: "system";
29013
29323
  id: string;
29014
29324
  role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
29015
29325
  signature?: undefined;
29016
29326
  primaryOfficeId?: undefined;
29327
+ administrativeAreaId?: undefined;
29017
29328
  };
29018
29329
  }>;
29019
29330
  meta: import("trpc-to-openapi").OpenApiMeta;
@@ -29263,7 +29574,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29263
29574
  }[];
29264
29575
  };
29265
29576
  actions: {
29266
- type: "DELETE" | "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "ASSIGN" | "UNASSIGN" | "EDIT" | "DEFAULT";
29577
+ type: "READ" | "DECLARE" | "REJECT" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "DELETE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "ASSIGN" | "UNASSIGN" | "EDIT" | "DEFAULT";
29267
29578
  conditionals?: any[] | undefined;
29268
29579
  }[];
29269
29580
  columns: {
@@ -29273,10 +29584,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29273
29584
  description: string;
29274
29585
  };
29275
29586
  value: {
29276
- $event: "type" | "id" | "dateOfEvent" | "title" | "flags" | "status" | "createdAt" | "updatedAt" | "trackingId" | "createdBy" | "createdByUserType" | "createdAtLocation" | "assignedTo" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
29587
+ $event: "type" | "id" | "createdBy" | "createdByUserType" | "createdAtLocation" | "createdAt" | "assignedTo" | "status" | "updatedAt" | "trackingId" | "dateOfEvent" | "placeOfEvent" | "title" | "flags" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
29277
29588
  };
29278
29589
  }[];
29279
- icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
29590
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
29280
29591
  emptyMessage?: {
29281
29592
  id: string;
29282
29593
  defaultMessage: string;