@opencrvs/toolkit 1.8.0-rc.fa49ae3 → 1.8.0-rc.fa564ca

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 +381 -6649
  2. package/dist/commons/conditionals/conditionals.d.ts +0 -4
  3. package/dist/commons/conditionals/validate.d.ts +0 -6
  4. package/dist/commons/events/ActionConfig.d.ts +6326 -18678
  5. package/dist/commons/events/ActionDocument.d.ts +204 -1713
  6. package/dist/commons/events/ActionInput.d.ts +180 -1380
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -75
  8. package/dist/commons/events/CompositeFieldValue.d.ts +0 -28
  9. package/dist/commons/events/Constants.d.ts +0 -1
  10. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -26
  11. package/dist/commons/events/Draft.d.ts +16 -117
  12. package/dist/commons/events/EventConfig.d.ts +2487 -8364
  13. package/dist/commons/events/EventDocument.d.ts +152 -1096
  14. package/dist/commons/events/EventIndex.d.ts +17 -283
  15. package/dist/commons/events/EventMetadata.d.ts +35 -38
  16. package/dist/commons/events/FieldConfig.d.ts +771 -1597
  17. package/dist/commons/events/FieldType.d.ts +1 -4
  18. package/dist/commons/events/FieldTypeMapping.d.ts +50 -89
  19. package/dist/commons/events/FieldValue.d.ts +5 -41
  20. package/dist/commons/events/FormConfig.d.ts +2444 -7640
  21. package/dist/commons/events/PageConfig.d.ts +1620 -2896
  22. package/dist/commons/events/SummaryConfig.d.ts +5 -0
  23. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  24. package/dist/commons/events/WorkqueueConfig.d.ts +24 -346
  25. package/dist/commons/events/defineConfig.d.ts +14 -960
  26. package/dist/commons/events/field.d.ts +0 -4
  27. package/dist/commons/events/test.utils.d.ts +38 -124
  28. package/dist/commons/events/utils.d.ts +8 -9659
  29. package/dist/conditionals/index.js +1 -18
  30. package/dist/events/index.js +413 -691
  31. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import { TranslationConfig } from './TranslationConfig';
3
- export declare const mandatoryColumns: {
3
+ export declare const dateOfEventColumn: {
4
4
  value: {
5
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
5
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
6
6
  };
7
7
  label: TranslationConfig;
8
8
  }[];
@@ -203,7 +203,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
203
203
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
204
204
  };
205
205
  }>>>;
206
- creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
207
206
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
208
207
  type: z.ZodLiteral<"exact">;
209
208
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -263,7 +262,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
263
262
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
264
263
  } | undefined;
265
264
  data?: any;
266
- creator?: "system" | "user" | undefined;
267
265
  createdAt?: {
268
266
  type: "exact";
269
267
  term: string;
@@ -341,7 +339,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
341
339
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
342
340
  } | undefined;
343
341
  data?: any;
344
- creator?: "system" | "user" | undefined;
345
342
  createdAt?: {
346
343
  type: "exact";
347
344
  term: string;
@@ -422,7 +419,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
422
419
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
423
420
  } | undefined;
424
421
  data?: any;
425
- creator?: "system" | "user" | undefined;
426
422
  createdAt?: {
427
423
  type: "exact";
428
424
  term: string;
@@ -503,7 +499,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
503
499
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
504
500
  } | undefined;
505
501
  data?: any;
506
- creator?: "system" | "user" | undefined;
507
502
  createdAt?: {
508
503
  type: "exact";
509
504
  term: string;
@@ -758,7 +753,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
758
753
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
759
754
  };
760
755
  }>>>;
761
- creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
762
756
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
763
757
  type: z.ZodLiteral<"exact">;
764
758
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -818,7 +812,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
818
812
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
819
813
  } | undefined;
820
814
  data?: any;
821
- creator?: "system" | "user" | undefined;
822
815
  createdAt?: {
823
816
  type: "exact";
824
817
  term: string;
@@ -896,7 +889,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
896
889
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
897
890
  } | undefined;
898
891
  data?: any;
899
- creator?: "system" | "user" | undefined;
900
892
  createdAt?: {
901
893
  type: "exact";
902
894
  term: string;
@@ -977,7 +969,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
977
969
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
978
970
  } | undefined;
979
971
  data?: any;
980
- creator?: "system" | "user" | undefined;
981
972
  createdAt?: {
982
973
  type: "exact";
983
974
  term: string;
@@ -1058,7 +1049,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
1058
1049
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1059
1050
  } | undefined;
1060
1051
  data?: any;
1061
- creator?: "system" | "user" | undefined;
1062
1052
  createdAt?: {
1063
1053
  type: "exact";
1064
1054
  term: string;
@@ -1146,20 +1136,20 @@ export declare const WorkqueueConfig: z.ZodObject<{
1146
1136
  defaultMessage: string;
1147
1137
  }>;
1148
1138
  value: z.ZodObject<{
1149
- $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "creator", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
1139
+ $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
1150
1140
  }, "strip", z.ZodTypeAny, {
1151
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1141
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1152
1142
  }, {
1153
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1143
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1154
1144
  }>;
1155
1145
  }, "strip", z.ZodTypeAny, {
1156
1146
  value: {
1157
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1147
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1158
1148
  };
1159
1149
  label: TranslationConfig;
1160
1150
  }, {
1161
1151
  value: {
1162
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1152
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1163
1153
  };
1164
1154
  label: {
1165
1155
  id: string;
@@ -1185,7 +1175,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
1185
1175
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1186
1176
  } | undefined;
1187
1177
  data?: any;
1188
- creator?: "system" | "user" | undefined;
1189
1178
  createdAt?: {
1190
1179
  type: "exact";
1191
1180
  term: string;
@@ -1266,7 +1255,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
1266
1255
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1267
1256
  } | undefined;
1268
1257
  data?: any;
1269
- creator?: "system" | "user" | undefined;
1270
1258
  createdAt?: {
1271
1259
  type: "exact";
1272
1260
  term: string;
@@ -1340,7 +1328,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
1340
1328
  slug: string;
1341
1329
  columns: {
1342
1330
  value: {
1343
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1331
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1344
1332
  };
1345
1333
  label: TranslationConfig;
1346
1334
  }[];
@@ -1366,7 +1354,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
1366
1354
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1367
1355
  } | undefined;
1368
1356
  data?: any;
1369
- creator?: "system" | "user" | undefined;
1370
1357
  createdAt?: {
1371
1358
  type: "exact";
1372
1359
  term: string;
@@ -1447,7 +1434,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
1447
1434
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1448
1435
  } | undefined;
1449
1436
  data?: any;
1450
- creator?: "system" | "user" | undefined;
1451
1437
  createdAt?: {
1452
1438
  type: "exact";
1453
1439
  term: string;
@@ -1522,7 +1508,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
1522
1508
  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" | "DownloadSimple" | "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" | "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";
1523
1509
  columns?: {
1524
1510
  value: {
1525
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1511
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1526
1512
  };
1527
1513
  label: {
1528
1514
  id: string;
@@ -1721,7 +1707,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1721
1707
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1722
1708
  };
1723
1709
  }>>>;
1724
- creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
1725
1710
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1726
1711
  type: z.ZodLiteral<"exact">;
1727
1712
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1781,7 +1766,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1781
1766
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1782
1767
  } | undefined;
1783
1768
  data?: any;
1784
- creator?: "system" | "user" | undefined;
1785
1769
  createdAt?: {
1786
1770
  type: "exact";
1787
1771
  term: string;
@@ -1859,7 +1843,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1859
1843
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1860
1844
  } | undefined;
1861
1845
  data?: any;
1862
- creator?: "system" | "user" | undefined;
1863
1846
  createdAt?: {
1864
1847
  type: "exact";
1865
1848
  term: string;
@@ -2113,7 +2096,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2113
2096
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2114
2097
  };
2115
2098
  }>>>;
2116
- creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
2117
2099
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2118
2100
  type: z.ZodLiteral<"exact">;
2119
2101
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2173,7 +2155,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2173
2155
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2174
2156
  } | undefined;
2175
2157
  data?: any;
2176
- creator?: "system" | "user" | undefined;
2177
2158
  createdAt?: {
2178
2159
  type: "exact";
2179
2160
  term: string;
@@ -2251,7 +2232,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2251
2232
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2252
2233
  } | undefined;
2253
2234
  data?: any;
2254
- creator?: "system" | "user" | undefined;
2255
2235
  createdAt?: {
2256
2236
  type: "exact";
2257
2237
  term: string;
@@ -2332,7 +2312,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2332
2312
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2333
2313
  } | undefined;
2334
2314
  data?: any;
2335
- creator?: "system" | "user" | undefined;
2336
2315
  createdAt?: {
2337
2316
  type: "exact";
2338
2317
  term: string;
@@ -2413,7 +2392,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2413
2392
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2414
2393
  } | undefined;
2415
2394
  data?: any;
2416
- creator?: "system" | "user" | undefined;
2417
2395
  createdAt?: {
2418
2396
  type: "exact";
2419
2397
  term: string;
@@ -2668,7 +2646,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2668
2646
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2669
2647
  };
2670
2648
  }>>>;
2671
- creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
2672
2649
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2673
2650
  type: z.ZodLiteral<"exact">;
2674
2651
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2728,7 +2705,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2728
2705
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2729
2706
  } | undefined;
2730
2707
  data?: any;
2731
- creator?: "system" | "user" | undefined;
2732
2708
  createdAt?: {
2733
2709
  type: "exact";
2734
2710
  term: string;
@@ -2806,7 +2782,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2806
2782
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2807
2783
  } | undefined;
2808
2784
  data?: any;
2809
- creator?: "system" | "user" | undefined;
2810
2785
  createdAt?: {
2811
2786
  type: "exact";
2812
2787
  term: string;
@@ -2887,7 +2862,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2887
2862
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2888
2863
  } | undefined;
2889
2864
  data?: any;
2890
- creator?: "system" | "user" | undefined;
2891
2865
  createdAt?: {
2892
2866
  type: "exact";
2893
2867
  term: string;
@@ -2968,7 +2942,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2968
2942
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2969
2943
  } | undefined;
2970
2944
  data?: any;
2971
- creator?: "system" | "user" | undefined;
2972
2945
  createdAt?: {
2973
2946
  type: "exact";
2974
2947
  term: string;
@@ -3056,20 +3029,20 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3056
3029
  defaultMessage: string;
3057
3030
  }>;
3058
3031
  value: z.ZodObject<{
3059
- $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "creator", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
3032
+ $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
3060
3033
  }, "strip", z.ZodTypeAny, {
3061
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3034
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3062
3035
  }, {
3063
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3036
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3064
3037
  }>;
3065
3038
  }, "strip", z.ZodTypeAny, {
3066
3039
  value: {
3067
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3040
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3068
3041
  };
3069
3042
  label: TranslationConfig;
3070
3043
  }, {
3071
3044
  value: {
3072
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3045
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3073
3046
  };
3074
3047
  label: {
3075
3048
  id: string;
@@ -3093,7 +3066,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3093
3066
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3094
3067
  } | undefined;
3095
3068
  data?: any;
3096
- creator?: "system" | "user" | undefined;
3097
3069
  createdAt?: {
3098
3070
  type: "exact";
3099
3071
  term: string;
@@ -3173,7 +3145,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3173
3145
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3174
3146
  } | undefined;
3175
3147
  data?: any;
3176
- creator?: "system" | "user" | undefined;
3177
3148
  createdAt?: {
3178
3149
  type: "exact";
3179
3150
  term: string;
@@ -3254,7 +3225,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3254
3225
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3255
3226
  } | undefined;
3256
3227
  data?: any;
3257
- creator?: "system" | "user" | undefined;
3258
3228
  createdAt?: {
3259
3229
  type: "exact";
3260
3230
  term: string;
@@ -3328,7 +3298,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3328
3298
  slug: string;
3329
3299
  columns: {
3330
3300
  value: {
3331
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3301
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3332
3302
  };
3333
3303
  label: TranslationConfig;
3334
3304
  }[];
@@ -3352,7 +3322,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3352
3322
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3353
3323
  } | undefined;
3354
3324
  data?: any;
3355
- creator?: "system" | "user" | undefined;
3356
3325
  createdAt?: {
3357
3326
  type: "exact";
3358
3327
  term: string;
@@ -3432,7 +3401,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3432
3401
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3433
3402
  } | undefined;
3434
3403
  data?: any;
3435
- creator?: "system" | "user" | undefined;
3436
3404
  createdAt?: {
3437
3405
  type: "exact";
3438
3406
  term: string;
@@ -3513,7 +3481,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3513
3481
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3514
3482
  } | undefined;
3515
3483
  data?: any;
3516
- creator?: "system" | "user" | undefined;
3517
3484
  createdAt?: {
3518
3485
  type: "exact";
3519
3486
  term: string;
@@ -3588,7 +3555,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3588
3555
  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" | "DownloadSimple" | "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" | "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";
3589
3556
  columns?: {
3590
3557
  value: {
3591
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3558
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3592
3559
  };
3593
3560
  label: {
3594
3561
  id: string;
@@ -3616,7 +3583,6 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
3616
3583
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3617
3584
  } | undefined;
3618
3585
  data?: any;
3619
- creator?: "system" | "user" | undefined;
3620
3586
  createdAt?: {
3621
3587
  type: "exact";
3622
3588
  term: string;
@@ -3697,7 +3663,6 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
3697
3663
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3698
3664
  } | undefined;
3699
3665
  data?: any;
3700
- creator?: "system" | "user" | undefined;
3701
3666
  createdAt?: {
3702
3667
  type: "exact";
3703
3668
  term: string;
@@ -3771,7 +3736,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
3771
3736
  slug: string;
3772
3737
  columns: {
3773
3738
  value: {
3774
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3739
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3775
3740
  };
3776
3741
  label: TranslationConfig;
3777
3742
  }[];
@@ -3794,7 +3759,6 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
3794
3759
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3795
3760
  } | undefined;
3796
3761
  data?: any;
3797
- creator?: "system" | "user" | undefined;
3798
3762
  createdAt?: {
3799
3763
  type: "exact";
3800
3764
  term: string;
@@ -3875,7 +3839,6 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
3875
3839
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3876
3840
  } | undefined;
3877
3841
  data?: any;
3878
- creator?: "system" | "user" | undefined;
3879
3842
  createdAt?: {
3880
3843
  type: "exact";
3881
3844
  term: string;
@@ -3949,7 +3912,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
3949
3912
  slug: string;
3950
3913
  columns: {
3951
3914
  value: {
3952
- $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3915
+ $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
3953
3916
  };
3954
3917
  label: TranslationConfig;
3955
3918
  }[];
@@ -4065,16 +4028,6 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4065
4028
  type: "exact";
4066
4029
  term: string;
4067
4030
  }>]>>>;
4068
- 'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
4069
- type: z.ZodLiteral<"exact">;
4070
- term: z.ZodString;
4071
- }, "strip", z.ZodTypeAny, {
4072
- type: "exact";
4073
- term: string;
4074
- }, {
4075
- type: "exact";
4076
- term: string;
4077
- }>>>;
4078
4031
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4079
4032
  type: z.ZodLiteral<"within">;
4080
4033
  location: z.ZodString;
@@ -4123,7 +4076,6 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4123
4076
  type: "exact";
4124
4077
  term: string;
4125
4078
  }>>>;
4126
- creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
4127
4079
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4128
4080
  type: z.ZodLiteral<"exact">;
4129
4081
  term: z.ZodString;
@@ -4183,7 +4135,6 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4183
4135
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4184
4136
  } | undefined;
4185
4137
  data?: any;
4186
- creator?: "system" | "user" | undefined;
4187
4138
  createdAt?: {
4188
4139
  type: "exact";
4189
4140
  term: string;
@@ -4253,10 +4204,6 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4253
4204
  type: "within";
4254
4205
  location: string;
4255
4206
  } | undefined;
4256
- 'legalStatus.REGISTERED.registrationNumber'?: {
4257
- type: "exact";
4258
- term: string;
4259
- } | undefined;
4260
4207
  }, {
4261
4208
  status?: {
4262
4209
  type: "exact";
@@ -4266,90 +4213,6 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4266
4213
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4267
4214
  } | undefined;
4268
4215
  data?: any;
4269
- creator?: "system" | "user" | undefined;
4270
- createdAt?: {
4271
- type: "exact";
4272
- term: string;
4273
- } | {
4274
- type: "range";
4275
- gte: string;
4276
- lte: string;
4277
- } | undefined;
4278
- createdBy?: {
4279
- type: "exact";
4280
- term: string;
4281
- } | undefined;
4282
- createdAtLocation?: {
4283
- type: "exact";
4284
- term: string;
4285
- } | {
4286
- type: "within";
4287
- location: string;
4288
- } | undefined;
4289
- assignedTo?: {
4290
- type: "exact";
4291
- term: string;
4292
- } | undefined;
4293
- updatedAt?: {
4294
- type: "exact";
4295
- term: string;
4296
- } | {
4297
- type: "range";
4298
- gte: string;
4299
- lte: string;
4300
- } | undefined;
4301
- trackingId?: {
4302
- type: "exact";
4303
- term: string;
4304
- } | undefined;
4305
- updatedAtLocation?: {
4306
- type: "exact";
4307
- term: string;
4308
- } | {
4309
- type: "within";
4310
- location: string;
4311
- } | undefined;
4312
- updatedBy?: {
4313
- type: "exact";
4314
- term: string;
4315
- } | undefined;
4316
- flags?: ({
4317
- type: "anyOf";
4318
- terms: string[];
4319
- } | {
4320
- type: "not";
4321
- term: string;
4322
- })[] | undefined;
4323
- eventType?: string | undefined;
4324
- 'legalStatus.REGISTERED.createdAt'?: {
4325
- type: "exact";
4326
- term: string;
4327
- } | {
4328
- type: "range";
4329
- gte: string;
4330
- lte: string;
4331
- } | undefined;
4332
- 'legalStatus.REGISTERED.createdAtLocation'?: {
4333
- type: "exact";
4334
- term: string;
4335
- } | {
4336
- type: "within";
4337
- location: string;
4338
- } | undefined;
4339
- 'legalStatus.REGISTERED.registrationNumber'?: {
4340
- type: "exact";
4341
- term: string;
4342
- } | undefined;
4343
- }>, "atleastone">, [{
4344
- status?: {
4345
- type: "exact";
4346
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
4347
- } | {
4348
- type: "anyOf";
4349
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4350
- } | undefined;
4351
- data?: any;
4352
- creator?: "system" | "user" | undefined;
4353
4216
  createdAt?: {
4354
4217
  type: "exact";
4355
4218
  term: string;
@@ -4419,11 +4282,7 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4419
4282
  type: "within";
4420
4283
  location: string;
4421
4284
  } | undefined;
4422
- 'legalStatus.REGISTERED.registrationNumber'?: {
4423
- type: "exact";
4424
- term: string;
4425
- } | undefined;
4426
- }, ...{
4285
+ }>, "many">, {
4427
4286
  status?: {
4428
4287
  type: "exact";
4429
4288
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
@@ -4432,7 +4291,6 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4432
4291
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4433
4292
  } | undefined;
4434
4293
  data?: any;
4435
- creator?: "system" | "user" | undefined;
4436
4294
  createdAt?: {
4437
4295
  type: "exact";
4438
4296
  term: string;
@@ -4502,97 +4360,10 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4502
4360
  type: "within";
4503
4361
  location: string;
4504
4362
  } | undefined;
4505
- 'legalStatus.REGISTERED.registrationNumber'?: {
4506
- type: "exact";
4507
- term: string;
4508
- } | undefined;
4509
- }[]], unknown>;
4363
+ }[], unknown>;
4510
4364
  }, "strip", z.ZodTypeAny, {
4511
4365
  type: "and" | "or";
4512
- clauses: [{
4513
- status?: {
4514
- type: "exact";
4515
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
4516
- } | {
4517
- type: "anyOf";
4518
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4519
- } | undefined;
4520
- data?: any;
4521
- creator?: "system" | "user" | undefined;
4522
- createdAt?: {
4523
- type: "exact";
4524
- term: string;
4525
- } | {
4526
- type: "range";
4527
- gte: string;
4528
- lte: string;
4529
- } | undefined;
4530
- createdBy?: {
4531
- type: "exact";
4532
- term: string;
4533
- } | undefined;
4534
- createdAtLocation?: {
4535
- type: "exact";
4536
- term: string;
4537
- } | {
4538
- type: "within";
4539
- location: string;
4540
- } | undefined;
4541
- assignedTo?: {
4542
- type: "exact";
4543
- term: string;
4544
- } | undefined;
4545
- updatedAt?: {
4546
- type: "exact";
4547
- term: string;
4548
- } | {
4549
- type: "range";
4550
- gte: string;
4551
- lte: string;
4552
- } | undefined;
4553
- trackingId?: {
4554
- type: "exact";
4555
- term: string;
4556
- } | undefined;
4557
- updatedAtLocation?: {
4558
- type: "exact";
4559
- term: string;
4560
- } | {
4561
- type: "within";
4562
- location: string;
4563
- } | undefined;
4564
- updatedBy?: {
4565
- type: "exact";
4566
- term: string;
4567
- } | undefined;
4568
- flags?: ({
4569
- type: "anyOf";
4570
- terms: string[];
4571
- } | {
4572
- type: "not";
4573
- term: string;
4574
- })[] | undefined;
4575
- eventType?: string | undefined;
4576
- 'legalStatus.REGISTERED.createdAt'?: {
4577
- type: "exact";
4578
- term: string;
4579
- } | {
4580
- type: "range";
4581
- gte: string;
4582
- lte: string;
4583
- } | undefined;
4584
- 'legalStatus.REGISTERED.createdAtLocation'?: {
4585
- type: "exact";
4586
- term: string;
4587
- } | {
4588
- type: "within";
4589
- location: string;
4590
- } | undefined;
4591
- 'legalStatus.REGISTERED.registrationNumber'?: {
4592
- type: "exact";
4593
- term: string;
4594
- } | undefined;
4595
- }, ...{
4366
+ clauses: {
4596
4367
  status?: {
4597
4368
  type: "exact";
4598
4369
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
@@ -4601,7 +4372,6 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4601
4372
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4602
4373
  } | undefined;
4603
4374
  data?: any;
4604
- creator?: "system" | "user" | undefined;
4605
4375
  createdAt?: {
4606
4376
  type: "exact";
4607
4377
  term: string;
@@ -4671,11 +4441,7 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4671
4441
  type: "within";
4672
4442
  location: string;
4673
4443
  } | undefined;
4674
- 'legalStatus.REGISTERED.registrationNumber'?: {
4675
- type: "exact";
4676
- term: string;
4677
- } | undefined;
4678
- }[]];
4444
+ }[];
4679
4445
  }, {
4680
4446
  type: "and" | "or";
4681
4447
  clauses?: unknown;
@@ -4683,90 +4449,7 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4683
4449
  }, "strip", z.ZodTypeAny, {
4684
4450
  query: {
4685
4451
  type: "and" | "or";
4686
- clauses: [{
4687
- status?: {
4688
- type: "exact";
4689
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
4690
- } | {
4691
- type: "anyOf";
4692
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4693
- } | undefined;
4694
- data?: any;
4695
- creator?: "system" | "user" | undefined;
4696
- createdAt?: {
4697
- type: "exact";
4698
- term: string;
4699
- } | {
4700
- type: "range";
4701
- gte: string;
4702
- lte: string;
4703
- } | undefined;
4704
- createdBy?: {
4705
- type: "exact";
4706
- term: string;
4707
- } | undefined;
4708
- createdAtLocation?: {
4709
- type: "exact";
4710
- term: string;
4711
- } | {
4712
- type: "within";
4713
- location: string;
4714
- } | undefined;
4715
- assignedTo?: {
4716
- type: "exact";
4717
- term: string;
4718
- } | undefined;
4719
- updatedAt?: {
4720
- type: "exact";
4721
- term: string;
4722
- } | {
4723
- type: "range";
4724
- gte: string;
4725
- lte: string;
4726
- } | undefined;
4727
- trackingId?: {
4728
- type: "exact";
4729
- term: string;
4730
- } | undefined;
4731
- updatedAtLocation?: {
4732
- type: "exact";
4733
- term: string;
4734
- } | {
4735
- type: "within";
4736
- location: string;
4737
- } | undefined;
4738
- updatedBy?: {
4739
- type: "exact";
4740
- term: string;
4741
- } | undefined;
4742
- flags?: ({
4743
- type: "anyOf";
4744
- terms: string[];
4745
- } | {
4746
- type: "not";
4747
- term: string;
4748
- })[] | undefined;
4749
- eventType?: string | undefined;
4750
- 'legalStatus.REGISTERED.createdAt'?: {
4751
- type: "exact";
4752
- term: string;
4753
- } | {
4754
- type: "range";
4755
- gte: string;
4756
- lte: string;
4757
- } | undefined;
4758
- 'legalStatus.REGISTERED.createdAtLocation'?: {
4759
- type: "exact";
4760
- term: string;
4761
- } | {
4762
- type: "within";
4763
- location: string;
4764
- } | undefined;
4765
- 'legalStatus.REGISTERED.registrationNumber'?: {
4766
- type: "exact";
4767
- term: string;
4768
- } | undefined;
4769
- }, ...{
4452
+ clauses: {
4770
4453
  status?: {
4771
4454
  type: "exact";
4772
4455
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
@@ -4775,7 +4458,6 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4775
4458
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4776
4459
  } | undefined;
4777
4460
  data?: any;
4778
- creator?: "system" | "user" | undefined;
4779
4461
  createdAt?: {
4780
4462
  type: "exact";
4781
4463
  term: string;
@@ -4845,11 +4527,7 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4845
4527
  type: "within";
4846
4528
  location: string;
4847
4529
  } | undefined;
4848
- 'legalStatus.REGISTERED.registrationNumber'?: {
4849
- type: "exact";
4850
- term: string;
4851
- } | undefined;
4852
- }[]];
4530
+ }[];
4853
4531
  };
4854
4532
  slug: string;
4855
4533
  }, {