@opencrvs/toolkit 1.8.0-rc.fec1d5d → 1.8.0-rc.fef0fdd

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.
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  import { TranslationConfig } from './TranslationConfig';
3
3
  export declare const mandatoryColumns: {
4
4
  value: {
5
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
5
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
6
6
  };
7
7
  label: TranslationConfig;
8
8
  }[];
@@ -41,20 +41,25 @@ export declare const WorkqueueConfig: z.ZodObject<{
41
41
  type: "exact";
42
42
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
43
43
  }>]>>>;
44
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
44
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
45
45
  type: z.ZodLiteral<"exact">;
46
46
  term: z.ZodString;
47
- }, "strip", z.ZodTypeAny, {
47
+ }, {
48
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
49
+ }>, "strip", z.ZodTypeAny, {
48
50
  type: "exact";
49
51
  term: string;
50
52
  }, {
51
53
  type: "exact";
52
54
  term: string;
53
- }>, z.ZodObject<{
55
+ }>, z.ZodObject<z.objectUtil.extendShape<{
54
56
  type: z.ZodLiteral<"range">;
55
57
  gte: z.ZodString;
56
58
  lte: z.ZodString;
57
- }, "strip", z.ZodTypeAny, {
59
+ }, {
60
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
61
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
62
+ }>, "strip", z.ZodTypeAny, {
58
63
  type: "range";
59
64
  gte: string;
60
65
  lte: string;
@@ -63,20 +68,25 @@ export declare const WorkqueueConfig: z.ZodObject<{
63
68
  gte: string;
64
69
  lte: string;
65
70
  }>]>>>;
66
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
71
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
67
72
  type: z.ZodLiteral<"exact">;
68
73
  term: z.ZodString;
69
- }, "strip", z.ZodTypeAny, {
74
+ }, {
75
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
76
+ }>, "strip", z.ZodTypeAny, {
70
77
  type: "exact";
71
78
  term: string;
72
79
  }, {
73
80
  type: "exact";
74
81
  term: string;
75
- }>, z.ZodObject<{
82
+ }>, z.ZodObject<z.objectUtil.extendShape<{
76
83
  type: z.ZodLiteral<"range">;
77
84
  gte: z.ZodString;
78
85
  lte: z.ZodString;
79
- }, "strip", z.ZodTypeAny, {
86
+ }, {
87
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
88
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
89
+ }>, "strip", z.ZodTypeAny, {
80
90
  type: "range";
81
91
  gte: string;
82
92
  lte: string;
@@ -203,6 +213,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
203
213
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
204
214
  };
205
215
  }>>>;
216
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
206
217
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
207
218
  type: z.ZodLiteral<"exact">;
208
219
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -262,13 +273,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
262
273
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
263
274
  } | undefined;
264
275
  data?: any;
276
+ createdByUserType?: "system" | "user" | undefined;
265
277
  createdAt?: {
266
- type: "exact";
267
- term: string;
268
- } | {
269
278
  type: "range";
270
279
  gte: string;
271
280
  lte: string;
281
+ } | {
282
+ type: "exact";
283
+ term: string;
272
284
  } | undefined;
273
285
  createdBy?: {
274
286
  type: "exact";
@@ -294,12 +306,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
294
306
  };
295
307
  } | undefined;
296
308
  updatedAt?: {
297
- type: "exact";
298
- term: string;
299
- } | {
300
309
  type: "range";
301
310
  gte: string;
302
311
  lte: string;
312
+ } | {
313
+ type: "exact";
314
+ term: string;
303
315
  } | undefined;
304
316
  trackingId?: {
305
317
  type: "exact";
@@ -339,13 +351,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
339
351
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
340
352
  } | undefined;
341
353
  data?: any;
354
+ createdByUserType?: "system" | "user" | undefined;
342
355
  createdAt?: {
343
- type: "exact";
344
- term: string;
345
- } | {
346
356
  type: "range";
347
357
  gte: string;
348
358
  lte: string;
359
+ } | {
360
+ type: "exact";
361
+ term: string;
349
362
  } | undefined;
350
363
  createdBy?: {
351
364
  type: "exact";
@@ -371,12 +384,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
371
384
  };
372
385
  } | undefined;
373
386
  updatedAt?: {
374
- type: "exact";
375
- term: string;
376
- } | {
377
387
  type: "range";
378
388
  gte: string;
379
389
  lte: string;
390
+ } | {
391
+ type: "exact";
392
+ term: string;
380
393
  } | undefined;
381
394
  trackingId?: {
382
395
  type: "exact";
@@ -419,13 +432,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
419
432
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
420
433
  } | undefined;
421
434
  data?: any;
435
+ createdByUserType?: "system" | "user" | undefined;
422
436
  createdAt?: {
423
- type: "exact";
424
- term: string;
425
- } | {
426
437
  type: "range";
427
438
  gte: string;
428
439
  lte: string;
440
+ } | {
441
+ type: "exact";
442
+ term: string;
429
443
  } | undefined;
430
444
  createdBy?: {
431
445
  type: "exact";
@@ -451,12 +465,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
451
465
  };
452
466
  } | undefined;
453
467
  updatedAt?: {
454
- type: "exact";
455
- term: string;
456
- } | {
457
468
  type: "range";
458
469
  gte: string;
459
470
  lte: string;
471
+ } | {
472
+ type: "exact";
473
+ term: string;
460
474
  } | undefined;
461
475
  trackingId?: {
462
476
  type: "exact";
@@ -499,13 +513,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
499
513
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
500
514
  } | undefined;
501
515
  data?: any;
516
+ createdByUserType?: "system" | "user" | undefined;
502
517
  createdAt?: {
503
- type: "exact";
504
- term: string;
505
- } | {
506
518
  type: "range";
507
519
  gte: string;
508
520
  lte: string;
521
+ } | {
522
+ type: "exact";
523
+ term: string;
509
524
  } | undefined;
510
525
  createdBy?: {
511
526
  type: "exact";
@@ -531,12 +546,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
531
546
  };
532
547
  } | undefined;
533
548
  updatedAt?: {
534
- type: "exact";
535
- term: string;
536
- } | {
537
549
  type: "range";
538
550
  gte: string;
539
551
  lte: string;
552
+ } | {
553
+ type: "exact";
554
+ term: string;
540
555
  } | undefined;
541
556
  trackingId?: {
542
557
  type: "exact";
@@ -591,20 +606,25 @@ export declare const WorkqueueConfig: z.ZodObject<{
591
606
  type: "exact";
592
607
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
593
608
  }>]>>>;
594
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
609
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
595
610
  type: z.ZodLiteral<"exact">;
596
611
  term: z.ZodString;
597
- }, "strip", z.ZodTypeAny, {
612
+ }, {
613
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
614
+ }>, "strip", z.ZodTypeAny, {
598
615
  type: "exact";
599
616
  term: string;
600
617
  }, {
601
618
  type: "exact";
602
619
  term: string;
603
- }>, z.ZodObject<{
620
+ }>, z.ZodObject<z.objectUtil.extendShape<{
604
621
  type: z.ZodLiteral<"range">;
605
622
  gte: z.ZodString;
606
623
  lte: z.ZodString;
607
- }, "strip", z.ZodTypeAny, {
624
+ }, {
625
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
626
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
627
+ }>, "strip", z.ZodTypeAny, {
608
628
  type: "range";
609
629
  gte: string;
610
630
  lte: string;
@@ -613,20 +633,25 @@ export declare const WorkqueueConfig: z.ZodObject<{
613
633
  gte: string;
614
634
  lte: string;
615
635
  }>]>>>;
616
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
636
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
617
637
  type: z.ZodLiteral<"exact">;
618
638
  term: z.ZodString;
619
- }, "strip", z.ZodTypeAny, {
639
+ }, {
640
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
641
+ }>, "strip", z.ZodTypeAny, {
620
642
  type: "exact";
621
643
  term: string;
622
644
  }, {
623
645
  type: "exact";
624
646
  term: string;
625
- }>, z.ZodObject<{
647
+ }>, z.ZodObject<z.objectUtil.extendShape<{
626
648
  type: z.ZodLiteral<"range">;
627
649
  gte: z.ZodString;
628
650
  lte: z.ZodString;
629
- }, "strip", z.ZodTypeAny, {
651
+ }, {
652
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
653
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
654
+ }>, "strip", z.ZodTypeAny, {
630
655
  type: "range";
631
656
  gte: string;
632
657
  lte: string;
@@ -753,6 +778,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
753
778
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
754
779
  };
755
780
  }>>>;
781
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
756
782
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
757
783
  type: z.ZodLiteral<"exact">;
758
784
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -812,13 +838,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
812
838
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
813
839
  } | undefined;
814
840
  data?: any;
841
+ createdByUserType?: "system" | "user" | undefined;
815
842
  createdAt?: {
816
- type: "exact";
817
- term: string;
818
- } | {
819
843
  type: "range";
820
844
  gte: string;
821
845
  lte: string;
846
+ } | {
847
+ type: "exact";
848
+ term: string;
822
849
  } | undefined;
823
850
  createdBy?: {
824
851
  type: "exact";
@@ -844,12 +871,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
844
871
  };
845
872
  } | undefined;
846
873
  updatedAt?: {
847
- type: "exact";
848
- term: string;
849
- } | {
850
874
  type: "range";
851
875
  gte: string;
852
876
  lte: string;
877
+ } | {
878
+ type: "exact";
879
+ term: string;
853
880
  } | undefined;
854
881
  trackingId?: {
855
882
  type: "exact";
@@ -889,13 +916,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
889
916
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
890
917
  } | undefined;
891
918
  data?: any;
919
+ createdByUserType?: "system" | "user" | undefined;
892
920
  createdAt?: {
893
- type: "exact";
894
- term: string;
895
- } | {
896
921
  type: "range";
897
922
  gte: string;
898
923
  lte: string;
924
+ } | {
925
+ type: "exact";
926
+ term: string;
899
927
  } | undefined;
900
928
  createdBy?: {
901
929
  type: "exact";
@@ -921,12 +949,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
921
949
  };
922
950
  } | undefined;
923
951
  updatedAt?: {
924
- type: "exact";
925
- term: string;
926
- } | {
927
952
  type: "range";
928
953
  gte: string;
929
954
  lte: string;
955
+ } | {
956
+ type: "exact";
957
+ term: string;
930
958
  } | undefined;
931
959
  trackingId?: {
932
960
  type: "exact";
@@ -969,13 +997,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
969
997
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
970
998
  } | undefined;
971
999
  data?: any;
1000
+ createdByUserType?: "system" | "user" | undefined;
972
1001
  createdAt?: {
973
- type: "exact";
974
- term: string;
975
- } | {
976
1002
  type: "range";
977
1003
  gte: string;
978
1004
  lte: string;
1005
+ } | {
1006
+ type: "exact";
1007
+ term: string;
979
1008
  } | undefined;
980
1009
  createdBy?: {
981
1010
  type: "exact";
@@ -1001,12 +1030,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
1001
1030
  };
1002
1031
  } | undefined;
1003
1032
  updatedAt?: {
1004
- type: "exact";
1005
- term: string;
1006
- } | {
1007
1033
  type: "range";
1008
1034
  gte: string;
1009
1035
  lte: string;
1036
+ } | {
1037
+ type: "exact";
1038
+ term: string;
1010
1039
  } | undefined;
1011
1040
  trackingId?: {
1012
1041
  type: "exact";
@@ -1049,13 +1078,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
1049
1078
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1050
1079
  } | undefined;
1051
1080
  data?: any;
1081
+ createdByUserType?: "system" | "user" | undefined;
1052
1082
  createdAt?: {
1053
- type: "exact";
1054
- term: string;
1055
- } | {
1056
1083
  type: "range";
1057
1084
  gte: string;
1058
1085
  lte: string;
1086
+ } | {
1087
+ type: "exact";
1088
+ term: string;
1059
1089
  } | undefined;
1060
1090
  createdBy?: {
1061
1091
  type: "exact";
@@ -1081,12 +1111,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
1081
1111
  };
1082
1112
  } | undefined;
1083
1113
  updatedAt?: {
1084
- type: "exact";
1085
- term: string;
1086
- } | {
1087
1114
  type: "range";
1088
1115
  gte: string;
1089
1116
  lte: string;
1117
+ } | {
1118
+ type: "exact";
1119
+ term: string;
1090
1120
  } | undefined;
1091
1121
  trackingId?: {
1092
1122
  type: "exact";
@@ -1136,20 +1166,20 @@ export declare const WorkqueueConfig: z.ZodObject<{
1136
1166
  defaultMessage: string;
1137
1167
  }>;
1138
1168
  value: z.ZodObject<{
1139
- $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
1169
+ $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
1140
1170
  }, "strip", z.ZodTypeAny, {
1141
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1171
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
1142
1172
  }, {
1143
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1173
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
1144
1174
  }>;
1145
1175
  }, "strip", z.ZodTypeAny, {
1146
1176
  value: {
1147
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1177
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
1148
1178
  };
1149
1179
  label: TranslationConfig;
1150
1180
  }, {
1151
1181
  value: {
1152
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1182
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
1153
1183
  };
1154
1184
  label: {
1155
1185
  id: string;
@@ -1175,13 +1205,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
1175
1205
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1176
1206
  } | undefined;
1177
1207
  data?: any;
1208
+ createdByUserType?: "system" | "user" | undefined;
1178
1209
  createdAt?: {
1179
- type: "exact";
1180
- term: string;
1181
- } | {
1182
1210
  type: "range";
1183
1211
  gte: string;
1184
1212
  lte: string;
1213
+ } | {
1214
+ type: "exact";
1215
+ term: string;
1185
1216
  } | undefined;
1186
1217
  createdBy?: {
1187
1218
  type: "exact";
@@ -1207,12 +1238,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
1207
1238
  };
1208
1239
  } | undefined;
1209
1240
  updatedAt?: {
1210
- type: "exact";
1211
- term: string;
1212
- } | {
1213
1241
  type: "range";
1214
1242
  gte: string;
1215
1243
  lte: string;
1244
+ } | {
1245
+ type: "exact";
1246
+ term: string;
1216
1247
  } | undefined;
1217
1248
  trackingId?: {
1218
1249
  type: "exact";
@@ -1255,13 +1286,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
1255
1286
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1256
1287
  } | undefined;
1257
1288
  data?: any;
1289
+ createdByUserType?: "system" | "user" | undefined;
1258
1290
  createdAt?: {
1259
- type: "exact";
1260
- term: string;
1261
- } | {
1262
1291
  type: "range";
1263
1292
  gte: string;
1264
1293
  lte: string;
1294
+ } | {
1295
+ type: "exact";
1296
+ term: string;
1265
1297
  } | undefined;
1266
1298
  createdBy?: {
1267
1299
  type: "exact";
@@ -1287,12 +1319,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
1287
1319
  };
1288
1320
  } | undefined;
1289
1321
  updatedAt?: {
1290
- type: "exact";
1291
- term: string;
1292
- } | {
1293
1322
  type: "range";
1294
1323
  gte: string;
1295
1324
  lte: string;
1325
+ } | {
1326
+ type: "exact";
1327
+ term: string;
1296
1328
  } | undefined;
1297
1329
  trackingId?: {
1298
1330
  type: "exact";
@@ -1328,7 +1360,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
1328
1360
  slug: string;
1329
1361
  columns: {
1330
1362
  value: {
1331
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1363
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
1332
1364
  };
1333
1365
  label: TranslationConfig;
1334
1366
  }[];
@@ -1354,13 +1386,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
1354
1386
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1355
1387
  } | undefined;
1356
1388
  data?: any;
1389
+ createdByUserType?: "system" | "user" | undefined;
1357
1390
  createdAt?: {
1358
- type: "exact";
1359
- term: string;
1360
- } | {
1361
1391
  type: "range";
1362
1392
  gte: string;
1363
1393
  lte: string;
1394
+ } | {
1395
+ type: "exact";
1396
+ term: string;
1364
1397
  } | undefined;
1365
1398
  createdBy?: {
1366
1399
  type: "exact";
@@ -1386,12 +1419,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
1386
1419
  };
1387
1420
  } | undefined;
1388
1421
  updatedAt?: {
1389
- type: "exact";
1390
- term: string;
1391
- } | {
1392
1422
  type: "range";
1393
1423
  gte: string;
1394
1424
  lte: string;
1425
+ } | {
1426
+ type: "exact";
1427
+ term: string;
1395
1428
  } | undefined;
1396
1429
  trackingId?: {
1397
1430
  type: "exact";
@@ -1434,13 +1467,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
1434
1467
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1435
1468
  } | undefined;
1436
1469
  data?: any;
1470
+ createdByUserType?: "system" | "user" | undefined;
1437
1471
  createdAt?: {
1438
- type: "exact";
1439
- term: string;
1440
- } | {
1441
1472
  type: "range";
1442
1473
  gte: string;
1443
1474
  lte: string;
1475
+ } | {
1476
+ type: "exact";
1477
+ term: string;
1444
1478
  } | undefined;
1445
1479
  createdBy?: {
1446
1480
  type: "exact";
@@ -1466,12 +1500,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
1466
1500
  };
1467
1501
  } | undefined;
1468
1502
  updatedAt?: {
1469
- type: "exact";
1470
- term: string;
1471
- } | {
1472
1503
  type: "range";
1473
1504
  gte: string;
1474
1505
  lte: string;
1506
+ } | {
1507
+ type: "exact";
1508
+ term: string;
1475
1509
  } | undefined;
1476
1510
  trackingId?: {
1477
1511
  type: "exact";
@@ -1508,7 +1542,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
1508
1542
  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";
1509
1543
  columns?: {
1510
1544
  value: {
1511
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
1545
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
1512
1546
  };
1513
1547
  label: {
1514
1548
  id: string;
@@ -1517,99 +1551,1307 @@ export declare const WorkqueueConfig: z.ZodObject<{
1517
1551
  };
1518
1552
  }[] | undefined;
1519
1553
  }>;
1520
- export declare const WorkqueueConfigInput: z.ZodObject<{
1554
+ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<Omit<{
1521
1555
  slug: z.ZodString;
1522
1556
  name: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1523
1557
  id: string;
1524
1558
  description: string;
1525
1559
  defaultMessage: string;
1526
1560
  }>;
1527
- query: z.ZodUnion<[z.ZodObject<{
1528
- eventType: z.ZodOptional<z.ZodString>;
1529
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1530
- type: z.ZodLiteral<"anyOf">;
1531
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
1532
- }, "strip", z.ZodTypeAny, {
1533
- type: "anyOf";
1534
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1535
- }, {
1536
- type: "anyOf";
1537
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1538
- }>, z.ZodObject<{
1539
- type: z.ZodLiteral<"exact">;
1540
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
1541
- }, "strip", z.ZodTypeAny, {
1542
- type: "exact";
1543
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1544
- }, {
1545
- type: "exact";
1546
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1547
- }>]>>>;
1548
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1549
- type: z.ZodLiteral<"exact">;
1550
- term: z.ZodString;
1551
- }, "strip", z.ZodTypeAny, {
1552
- type: "exact";
1553
- term: string;
1554
- }, {
1555
- type: "exact";
1556
- term: string;
1557
- }>, z.ZodObject<{
1558
- type: z.ZodLiteral<"range">;
1559
- gte: z.ZodString;
1560
- lte: z.ZodString;
1561
- }, "strip", z.ZodTypeAny, {
1562
- type: "range";
1563
- gte: string;
1564
- lte: string;
1565
- }, {
1566
- type: "range";
1567
- gte: string;
1568
- lte: string;
1569
- }>]>>>;
1570
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1571
- type: z.ZodLiteral<"exact">;
1572
- term: z.ZodString;
1573
- }, "strip", z.ZodTypeAny, {
1574
- type: "exact";
1575
- term: string;
1576
- }, {
1577
- type: "exact";
1578
- term: string;
1579
- }>, z.ZodObject<{
1580
- type: z.ZodLiteral<"range">;
1581
- gte: z.ZodString;
1582
- lte: z.ZodString;
1583
- }, "strip", z.ZodTypeAny, {
1584
- type: "range";
1585
- gte: string;
1586
- lte: string;
1587
- }, {
1588
- type: "range";
1589
- gte: string;
1590
- lte: string;
1591
- }>]>>>;
1592
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1593
- type: z.ZodLiteral<"within">;
1594
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1595
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1561
+ query: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1562
+ type: z.ZodLiteral<"and">;
1563
+ clauses: z.ZodArray<z.ZodObject<{
1564
+ eventType: z.ZodOptional<z.ZodString>;
1565
+ status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1566
+ type: z.ZodLiteral<"anyOf">;
1567
+ terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
1596
1568
  }, "strip", z.ZodTypeAny, {
1597
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1569
+ type: "anyOf";
1570
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1598
1571
  }, {
1599
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1600
- }>]>;
1601
- }, "strip", z.ZodTypeAny, {
1602
- type: "within";
1603
- location: string | {
1604
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1605
- };
1606
- }, {
1607
- type: "within";
1608
- location: string | {
1609
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1610
- };
1611
- }>, z.ZodObject<{
1612
- type: z.ZodLiteral<"exact">;
1572
+ type: "anyOf";
1573
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1574
+ }>, z.ZodObject<{
1575
+ type: z.ZodLiteral<"exact">;
1576
+ term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ type: "exact";
1579
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1580
+ }, {
1581
+ type: "exact";
1582
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1583
+ }>]>>>;
1584
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1585
+ type: z.ZodLiteral<"exact">;
1586
+ term: z.ZodString;
1587
+ }, {
1588
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1589
+ }>, "strip", z.ZodTypeAny, {
1590
+ type: "exact";
1591
+ term: string;
1592
+ }, {
1593
+ type: "exact";
1594
+ term: string;
1595
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1596
+ type: z.ZodLiteral<"range">;
1597
+ gte: z.ZodString;
1598
+ lte: z.ZodString;
1599
+ }, {
1600
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1601
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1602
+ }>, "strip", z.ZodTypeAny, {
1603
+ type: "range";
1604
+ gte: string;
1605
+ lte: string;
1606
+ }, {
1607
+ type: "range";
1608
+ gte: string;
1609
+ lte: string;
1610
+ }>]>>>;
1611
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1612
+ type: z.ZodLiteral<"exact">;
1613
+ term: z.ZodString;
1614
+ }, {
1615
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1616
+ }>, "strip", z.ZodTypeAny, {
1617
+ type: "exact";
1618
+ term: string;
1619
+ }, {
1620
+ type: "exact";
1621
+ term: string;
1622
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1623
+ type: z.ZodLiteral<"range">;
1624
+ gte: z.ZodString;
1625
+ lte: z.ZodString;
1626
+ }, {
1627
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1628
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1629
+ }>, "strip", z.ZodTypeAny, {
1630
+ type: "range";
1631
+ gte: string;
1632
+ lte: string;
1633
+ }, {
1634
+ type: "range";
1635
+ gte: string;
1636
+ lte: string;
1637
+ }>]>>>;
1638
+ createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1639
+ type: z.ZodLiteral<"within">;
1640
+ location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1641
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1642
+ }, "strip", z.ZodTypeAny, {
1643
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1644
+ }, {
1645
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1646
+ }>]>;
1647
+ }, "strip", z.ZodTypeAny, {
1648
+ type: "within";
1649
+ location: string | {
1650
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1651
+ };
1652
+ }, {
1653
+ type: "within";
1654
+ location: string | {
1655
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1656
+ };
1657
+ }>, z.ZodObject<{
1658
+ type: z.ZodLiteral<"exact">;
1659
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1660
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1661
+ }, "strip", z.ZodTypeAny, {
1662
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1663
+ }, {
1664
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1665
+ }>]>;
1666
+ }, "strip", z.ZodTypeAny, {
1667
+ type: "exact";
1668
+ term: string | {
1669
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1670
+ };
1671
+ }, {
1672
+ type: "exact";
1673
+ term: string | {
1674
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1675
+ };
1676
+ }>]>>>;
1677
+ updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1678
+ type: z.ZodLiteral<"within">;
1679
+ location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1680
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1681
+ }, "strip", z.ZodTypeAny, {
1682
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1683
+ }, {
1684
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1685
+ }>]>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ type: "within";
1688
+ location: string | {
1689
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1690
+ };
1691
+ }, {
1692
+ type: "within";
1693
+ location: string | {
1694
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1695
+ };
1696
+ }>, z.ZodObject<{
1697
+ type: z.ZodLiteral<"exact">;
1698
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1699
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1700
+ }, "strip", z.ZodTypeAny, {
1701
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1702
+ }, {
1703
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1704
+ }>]>;
1705
+ }, "strip", z.ZodTypeAny, {
1706
+ type: "exact";
1707
+ term: string | {
1708
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1709
+ };
1710
+ }, {
1711
+ type: "exact";
1712
+ term: string | {
1713
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1714
+ };
1715
+ }>]>>>;
1716
+ assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1717
+ type: z.ZodLiteral<"exact">;
1718
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1719
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1722
+ }, {
1723
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1724
+ }>]>;
1725
+ }, "strip", z.ZodTypeAny, {
1726
+ type: "exact";
1727
+ term: string | {
1728
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1729
+ };
1730
+ }, {
1731
+ type: "exact";
1732
+ term: string | {
1733
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1734
+ };
1735
+ }>>>;
1736
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1737
+ type: z.ZodLiteral<"exact">;
1738
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1739
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1740
+ }, "strip", z.ZodTypeAny, {
1741
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1742
+ }, {
1743
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1744
+ }>]>;
1745
+ }, "strip", z.ZodTypeAny, {
1746
+ type: "exact";
1747
+ term: string | {
1748
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1749
+ };
1750
+ }, {
1751
+ type: "exact";
1752
+ term: string | {
1753
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1754
+ };
1755
+ }>>>;
1756
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1757
+ updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1758
+ type: z.ZodLiteral<"exact">;
1759
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1760
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1761
+ }, "strip", z.ZodTypeAny, {
1762
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1763
+ }, {
1764
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1765
+ }>]>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ type: "exact";
1768
+ term: string | {
1769
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1770
+ };
1771
+ }, {
1772
+ type: "exact";
1773
+ term: string | {
1774
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1775
+ };
1776
+ }>>>;
1777
+ trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1778
+ type: z.ZodLiteral<"exact">;
1779
+ term: z.ZodString;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ type: "exact";
1782
+ term: string;
1783
+ }, {
1784
+ type: "exact";
1785
+ term: string;
1786
+ }>>>;
1787
+ flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1788
+ type: z.ZodLiteral<"anyOf">;
1789
+ terms: z.ZodArray<z.ZodString, "many">;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ type: "anyOf";
1792
+ terms: string[];
1793
+ }, {
1794
+ type: "anyOf";
1795
+ terms: string[];
1796
+ }>, z.ZodObject<{
1797
+ type: z.ZodLiteral<"not">;
1798
+ term: z.ZodString;
1799
+ }, "strip", z.ZodTypeAny, {
1800
+ type: "not";
1801
+ term: string;
1802
+ }, {
1803
+ type: "not";
1804
+ term: string;
1805
+ }>]>, "many">>>;
1806
+ data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
1807
+ }, "strip", z.ZodTypeAny, {
1808
+ status?: {
1809
+ type: "exact";
1810
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1811
+ } | {
1812
+ type: "anyOf";
1813
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1814
+ } | undefined;
1815
+ data?: any;
1816
+ createdByUserType?: "system" | "user" | undefined;
1817
+ createdAt?: {
1818
+ type: "range";
1819
+ gte: string;
1820
+ lte: string;
1821
+ } | {
1822
+ type: "exact";
1823
+ term: string;
1824
+ } | undefined;
1825
+ createdBy?: {
1826
+ type: "exact";
1827
+ term: string | {
1828
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1829
+ };
1830
+ } | undefined;
1831
+ createdAtLocation?: {
1832
+ type: "exact";
1833
+ term: string | {
1834
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1835
+ };
1836
+ } | {
1837
+ type: "within";
1838
+ location: string | {
1839
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1840
+ };
1841
+ } | undefined;
1842
+ assignedTo?: {
1843
+ type: "exact";
1844
+ term: string | {
1845
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1846
+ };
1847
+ } | undefined;
1848
+ updatedAt?: {
1849
+ type: "range";
1850
+ gte: string;
1851
+ lte: string;
1852
+ } | {
1853
+ type: "exact";
1854
+ term: string;
1855
+ } | undefined;
1856
+ trackingId?: {
1857
+ type: "exact";
1858
+ term: string;
1859
+ } | undefined;
1860
+ updatedAtLocation?: {
1861
+ type: "exact";
1862
+ term: string | {
1863
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1864
+ };
1865
+ } | {
1866
+ type: "within";
1867
+ location: string | {
1868
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1869
+ };
1870
+ } | undefined;
1871
+ updatedBy?: {
1872
+ type: "exact";
1873
+ term: string | {
1874
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1875
+ };
1876
+ } | undefined;
1877
+ flags?: ({
1878
+ type: "anyOf";
1879
+ terms: string[];
1880
+ } | {
1881
+ type: "not";
1882
+ term: string;
1883
+ })[] | undefined;
1884
+ eventType?: string | undefined;
1885
+ }, {
1886
+ status?: {
1887
+ type: "exact";
1888
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1889
+ } | {
1890
+ type: "anyOf";
1891
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1892
+ } | undefined;
1893
+ data?: any;
1894
+ createdByUserType?: "system" | "user" | undefined;
1895
+ createdAt?: {
1896
+ type: "range";
1897
+ gte: string;
1898
+ lte: string;
1899
+ } | {
1900
+ type: "exact";
1901
+ term: string;
1902
+ } | undefined;
1903
+ createdBy?: {
1904
+ type: "exact";
1905
+ term: string | {
1906
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1907
+ };
1908
+ } | undefined;
1909
+ createdAtLocation?: {
1910
+ type: "exact";
1911
+ term: string | {
1912
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1913
+ };
1914
+ } | {
1915
+ type: "within";
1916
+ location: string | {
1917
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1918
+ };
1919
+ } | undefined;
1920
+ assignedTo?: {
1921
+ type: "exact";
1922
+ term: string | {
1923
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1924
+ };
1925
+ } | undefined;
1926
+ updatedAt?: {
1927
+ type: "range";
1928
+ gte: string;
1929
+ lte: string;
1930
+ } | {
1931
+ type: "exact";
1932
+ term: string;
1933
+ } | undefined;
1934
+ trackingId?: {
1935
+ type: "exact";
1936
+ term: string;
1937
+ } | undefined;
1938
+ updatedAtLocation?: {
1939
+ type: "exact";
1940
+ term: string | {
1941
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1942
+ };
1943
+ } | {
1944
+ type: "within";
1945
+ location: string | {
1946
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1947
+ };
1948
+ } | undefined;
1949
+ updatedBy?: {
1950
+ type: "exact";
1951
+ term: string | {
1952
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1953
+ };
1954
+ } | undefined;
1955
+ flags?: ({
1956
+ type: "anyOf";
1957
+ terms: string[];
1958
+ } | {
1959
+ type: "not";
1960
+ term: string;
1961
+ })[] | undefined;
1962
+ eventType?: string | undefined;
1963
+ }>, "many">;
1964
+ }, "strip", z.ZodTypeAny, {
1965
+ type: "and";
1966
+ clauses: {
1967
+ status?: {
1968
+ type: "exact";
1969
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1970
+ } | {
1971
+ type: "anyOf";
1972
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1973
+ } | undefined;
1974
+ data?: any;
1975
+ createdByUserType?: "system" | "user" | undefined;
1976
+ createdAt?: {
1977
+ type: "range";
1978
+ gte: string;
1979
+ lte: string;
1980
+ } | {
1981
+ type: "exact";
1982
+ term: string;
1983
+ } | undefined;
1984
+ createdBy?: {
1985
+ type: "exact";
1986
+ term: string | {
1987
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1988
+ };
1989
+ } | undefined;
1990
+ createdAtLocation?: {
1991
+ type: "exact";
1992
+ term: string | {
1993
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1994
+ };
1995
+ } | {
1996
+ type: "within";
1997
+ location: string | {
1998
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1999
+ };
2000
+ } | undefined;
2001
+ assignedTo?: {
2002
+ type: "exact";
2003
+ term: string | {
2004
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2005
+ };
2006
+ } | undefined;
2007
+ updatedAt?: {
2008
+ type: "range";
2009
+ gte: string;
2010
+ lte: string;
2011
+ } | {
2012
+ type: "exact";
2013
+ term: string;
2014
+ } | undefined;
2015
+ trackingId?: {
2016
+ type: "exact";
2017
+ term: string;
2018
+ } | undefined;
2019
+ updatedAtLocation?: {
2020
+ type: "exact";
2021
+ term: string | {
2022
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2023
+ };
2024
+ } | {
2025
+ type: "within";
2026
+ location: string | {
2027
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2028
+ };
2029
+ } | undefined;
2030
+ updatedBy?: {
2031
+ type: "exact";
2032
+ term: string | {
2033
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2034
+ };
2035
+ } | undefined;
2036
+ flags?: ({
2037
+ type: "anyOf";
2038
+ terms: string[];
2039
+ } | {
2040
+ type: "not";
2041
+ term: string;
2042
+ })[] | undefined;
2043
+ eventType?: string | undefined;
2044
+ }[];
2045
+ }, {
2046
+ type: "and";
2047
+ clauses: {
2048
+ status?: {
2049
+ type: "exact";
2050
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2051
+ } | {
2052
+ type: "anyOf";
2053
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2054
+ } | undefined;
2055
+ data?: any;
2056
+ createdByUserType?: "system" | "user" | undefined;
2057
+ createdAt?: {
2058
+ type: "range";
2059
+ gte: string;
2060
+ lte: string;
2061
+ } | {
2062
+ type: "exact";
2063
+ term: string;
2064
+ } | undefined;
2065
+ createdBy?: {
2066
+ type: "exact";
2067
+ term: string | {
2068
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2069
+ };
2070
+ } | undefined;
2071
+ createdAtLocation?: {
2072
+ type: "exact";
2073
+ term: string | {
2074
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2075
+ };
2076
+ } | {
2077
+ type: "within";
2078
+ location: string | {
2079
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2080
+ };
2081
+ } | undefined;
2082
+ assignedTo?: {
2083
+ type: "exact";
2084
+ term: string | {
2085
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2086
+ };
2087
+ } | undefined;
2088
+ updatedAt?: {
2089
+ type: "range";
2090
+ gte: string;
2091
+ lte: string;
2092
+ } | {
2093
+ type: "exact";
2094
+ term: string;
2095
+ } | undefined;
2096
+ trackingId?: {
2097
+ type: "exact";
2098
+ term: string;
2099
+ } | undefined;
2100
+ updatedAtLocation?: {
2101
+ type: "exact";
2102
+ term: string | {
2103
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2104
+ };
2105
+ } | {
2106
+ type: "within";
2107
+ location: string | {
2108
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2109
+ };
2110
+ } | undefined;
2111
+ updatedBy?: {
2112
+ type: "exact";
2113
+ term: string | {
2114
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2115
+ };
2116
+ } | undefined;
2117
+ flags?: ({
2118
+ type: "anyOf";
2119
+ terms: string[];
2120
+ } | {
2121
+ type: "not";
2122
+ term: string;
2123
+ })[] | undefined;
2124
+ eventType?: string | undefined;
2125
+ }[];
2126
+ }>, z.ZodObject<{
2127
+ type: z.ZodLiteral<"or">;
2128
+ clauses: z.ZodArray<z.ZodObject<{
2129
+ eventType: z.ZodOptional<z.ZodString>;
2130
+ status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2131
+ type: z.ZodLiteral<"anyOf">;
2132
+ terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
2133
+ }, "strip", z.ZodTypeAny, {
2134
+ type: "anyOf";
2135
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2136
+ }, {
2137
+ type: "anyOf";
2138
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2139
+ }>, z.ZodObject<{
2140
+ type: z.ZodLiteral<"exact">;
2141
+ term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
2142
+ }, "strip", z.ZodTypeAny, {
2143
+ type: "exact";
2144
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2145
+ }, {
2146
+ type: "exact";
2147
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2148
+ }>]>>>;
2149
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2150
+ type: z.ZodLiteral<"exact">;
2151
+ term: z.ZodString;
2152
+ }, {
2153
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2154
+ }>, "strip", z.ZodTypeAny, {
2155
+ type: "exact";
2156
+ term: string;
2157
+ }, {
2158
+ type: "exact";
2159
+ term: string;
2160
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2161
+ type: z.ZodLiteral<"range">;
2162
+ gte: z.ZodString;
2163
+ lte: z.ZodString;
2164
+ }, {
2165
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2166
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2167
+ }>, "strip", z.ZodTypeAny, {
2168
+ type: "range";
2169
+ gte: string;
2170
+ lte: string;
2171
+ }, {
2172
+ type: "range";
2173
+ gte: string;
2174
+ lte: string;
2175
+ }>]>>>;
2176
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2177
+ type: z.ZodLiteral<"exact">;
2178
+ term: z.ZodString;
2179
+ }, {
2180
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2181
+ }>, "strip", z.ZodTypeAny, {
2182
+ type: "exact";
2183
+ term: string;
2184
+ }, {
2185
+ type: "exact";
2186
+ term: string;
2187
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2188
+ type: z.ZodLiteral<"range">;
2189
+ gte: z.ZodString;
2190
+ lte: z.ZodString;
2191
+ }, {
2192
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2193
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2194
+ }>, "strip", z.ZodTypeAny, {
2195
+ type: "range";
2196
+ gte: string;
2197
+ lte: string;
2198
+ }, {
2199
+ type: "range";
2200
+ gte: string;
2201
+ lte: string;
2202
+ }>]>>>;
2203
+ createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2204
+ type: z.ZodLiteral<"within">;
2205
+ location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2206
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2207
+ }, "strip", z.ZodTypeAny, {
2208
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2209
+ }, {
2210
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2211
+ }>]>;
2212
+ }, "strip", z.ZodTypeAny, {
2213
+ type: "within";
2214
+ location: string | {
2215
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2216
+ };
2217
+ }, {
2218
+ type: "within";
2219
+ location: string | {
2220
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2221
+ };
2222
+ }>, z.ZodObject<{
2223
+ type: z.ZodLiteral<"exact">;
2224
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2225
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2226
+ }, "strip", z.ZodTypeAny, {
2227
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2228
+ }, {
2229
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2230
+ }>]>;
2231
+ }, "strip", z.ZodTypeAny, {
2232
+ type: "exact";
2233
+ term: string | {
2234
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2235
+ };
2236
+ }, {
2237
+ type: "exact";
2238
+ term: string | {
2239
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2240
+ };
2241
+ }>]>>>;
2242
+ updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2243
+ type: z.ZodLiteral<"within">;
2244
+ location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2245
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2246
+ }, "strip", z.ZodTypeAny, {
2247
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2248
+ }, {
2249
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2250
+ }>]>;
2251
+ }, "strip", z.ZodTypeAny, {
2252
+ type: "within";
2253
+ location: string | {
2254
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2255
+ };
2256
+ }, {
2257
+ type: "within";
2258
+ location: string | {
2259
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2260
+ };
2261
+ }>, z.ZodObject<{
2262
+ type: z.ZodLiteral<"exact">;
2263
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2264
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2265
+ }, "strip", z.ZodTypeAny, {
2266
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2267
+ }, {
2268
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2269
+ }>]>;
2270
+ }, "strip", z.ZodTypeAny, {
2271
+ type: "exact";
2272
+ term: string | {
2273
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2274
+ };
2275
+ }, {
2276
+ type: "exact";
2277
+ term: string | {
2278
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2279
+ };
2280
+ }>]>>>;
2281
+ assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2282
+ type: z.ZodLiteral<"exact">;
2283
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2284
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2285
+ }, "strip", z.ZodTypeAny, {
2286
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2287
+ }, {
2288
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2289
+ }>]>;
2290
+ }, "strip", z.ZodTypeAny, {
2291
+ type: "exact";
2292
+ term: string | {
2293
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2294
+ };
2295
+ }, {
2296
+ type: "exact";
2297
+ term: string | {
2298
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2299
+ };
2300
+ }>>>;
2301
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2302
+ type: z.ZodLiteral<"exact">;
2303
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2304
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2305
+ }, "strip", z.ZodTypeAny, {
2306
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2307
+ }, {
2308
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2309
+ }>]>;
2310
+ }, "strip", z.ZodTypeAny, {
2311
+ type: "exact";
2312
+ term: string | {
2313
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2314
+ };
2315
+ }, {
2316
+ type: "exact";
2317
+ term: string | {
2318
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2319
+ };
2320
+ }>>>;
2321
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2322
+ updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2323
+ type: z.ZodLiteral<"exact">;
2324
+ term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2325
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2326
+ }, "strip", z.ZodTypeAny, {
2327
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2328
+ }, {
2329
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2330
+ }>]>;
2331
+ }, "strip", z.ZodTypeAny, {
2332
+ type: "exact";
2333
+ term: string | {
2334
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2335
+ };
2336
+ }, {
2337
+ type: "exact";
2338
+ term: string | {
2339
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2340
+ };
2341
+ }>>>;
2342
+ trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2343
+ type: z.ZodLiteral<"exact">;
2344
+ term: z.ZodString;
2345
+ }, "strip", z.ZodTypeAny, {
2346
+ type: "exact";
2347
+ term: string;
2348
+ }, {
2349
+ type: "exact";
2350
+ term: string;
2351
+ }>>>;
2352
+ flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2353
+ type: z.ZodLiteral<"anyOf">;
2354
+ terms: z.ZodArray<z.ZodString, "many">;
2355
+ }, "strip", z.ZodTypeAny, {
2356
+ type: "anyOf";
2357
+ terms: string[];
2358
+ }, {
2359
+ type: "anyOf";
2360
+ terms: string[];
2361
+ }>, z.ZodObject<{
2362
+ type: z.ZodLiteral<"not">;
2363
+ term: z.ZodString;
2364
+ }, "strip", z.ZodTypeAny, {
2365
+ type: "not";
2366
+ term: string;
2367
+ }, {
2368
+ type: "not";
2369
+ term: string;
2370
+ }>]>, "many">>>;
2371
+ data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
2372
+ }, "strip", z.ZodTypeAny, {
2373
+ status?: {
2374
+ type: "exact";
2375
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2376
+ } | {
2377
+ type: "anyOf";
2378
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2379
+ } | undefined;
2380
+ data?: any;
2381
+ createdByUserType?: "system" | "user" | undefined;
2382
+ createdAt?: {
2383
+ type: "range";
2384
+ gte: string;
2385
+ lte: string;
2386
+ } | {
2387
+ type: "exact";
2388
+ term: string;
2389
+ } | undefined;
2390
+ createdBy?: {
2391
+ type: "exact";
2392
+ term: string | {
2393
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2394
+ };
2395
+ } | undefined;
2396
+ createdAtLocation?: {
2397
+ type: "exact";
2398
+ term: string | {
2399
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2400
+ };
2401
+ } | {
2402
+ type: "within";
2403
+ location: string | {
2404
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2405
+ };
2406
+ } | undefined;
2407
+ assignedTo?: {
2408
+ type: "exact";
2409
+ term: string | {
2410
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2411
+ };
2412
+ } | undefined;
2413
+ updatedAt?: {
2414
+ type: "range";
2415
+ gte: string;
2416
+ lte: string;
2417
+ } | {
2418
+ type: "exact";
2419
+ term: string;
2420
+ } | undefined;
2421
+ trackingId?: {
2422
+ type: "exact";
2423
+ term: string;
2424
+ } | undefined;
2425
+ updatedAtLocation?: {
2426
+ type: "exact";
2427
+ term: string | {
2428
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2429
+ };
2430
+ } | {
2431
+ type: "within";
2432
+ location: string | {
2433
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2434
+ };
2435
+ } | undefined;
2436
+ updatedBy?: {
2437
+ type: "exact";
2438
+ term: string | {
2439
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2440
+ };
2441
+ } | undefined;
2442
+ flags?: ({
2443
+ type: "anyOf";
2444
+ terms: string[];
2445
+ } | {
2446
+ type: "not";
2447
+ term: string;
2448
+ })[] | undefined;
2449
+ eventType?: string | undefined;
2450
+ }, {
2451
+ status?: {
2452
+ type: "exact";
2453
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2454
+ } | {
2455
+ type: "anyOf";
2456
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2457
+ } | undefined;
2458
+ data?: any;
2459
+ createdByUserType?: "system" | "user" | undefined;
2460
+ createdAt?: {
2461
+ type: "range";
2462
+ gte: string;
2463
+ lte: string;
2464
+ } | {
2465
+ type: "exact";
2466
+ term: string;
2467
+ } | undefined;
2468
+ createdBy?: {
2469
+ type: "exact";
2470
+ term: string | {
2471
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2472
+ };
2473
+ } | undefined;
2474
+ createdAtLocation?: {
2475
+ type: "exact";
2476
+ term: string | {
2477
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2478
+ };
2479
+ } | {
2480
+ type: "within";
2481
+ location: string | {
2482
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2483
+ };
2484
+ } | undefined;
2485
+ assignedTo?: {
2486
+ type: "exact";
2487
+ term: string | {
2488
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2489
+ };
2490
+ } | undefined;
2491
+ updatedAt?: {
2492
+ type: "range";
2493
+ gte: string;
2494
+ lte: string;
2495
+ } | {
2496
+ type: "exact";
2497
+ term: string;
2498
+ } | undefined;
2499
+ trackingId?: {
2500
+ type: "exact";
2501
+ term: string;
2502
+ } | undefined;
2503
+ updatedAtLocation?: {
2504
+ type: "exact";
2505
+ term: string | {
2506
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2507
+ };
2508
+ } | {
2509
+ type: "within";
2510
+ location: string | {
2511
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2512
+ };
2513
+ } | undefined;
2514
+ updatedBy?: {
2515
+ type: "exact";
2516
+ term: string | {
2517
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2518
+ };
2519
+ } | undefined;
2520
+ flags?: ({
2521
+ type: "anyOf";
2522
+ terms: string[];
2523
+ } | {
2524
+ type: "not";
2525
+ term: string;
2526
+ })[] | undefined;
2527
+ eventType?: string | undefined;
2528
+ }>, "many">;
2529
+ }, "strip", z.ZodTypeAny, {
2530
+ type: "or";
2531
+ clauses: {
2532
+ status?: {
2533
+ type: "exact";
2534
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2535
+ } | {
2536
+ type: "anyOf";
2537
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2538
+ } | undefined;
2539
+ data?: any;
2540
+ createdByUserType?: "system" | "user" | undefined;
2541
+ createdAt?: {
2542
+ type: "range";
2543
+ gte: string;
2544
+ lte: string;
2545
+ } | {
2546
+ type: "exact";
2547
+ term: string;
2548
+ } | undefined;
2549
+ createdBy?: {
2550
+ type: "exact";
2551
+ term: string | {
2552
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2553
+ };
2554
+ } | undefined;
2555
+ createdAtLocation?: {
2556
+ type: "exact";
2557
+ term: string | {
2558
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2559
+ };
2560
+ } | {
2561
+ type: "within";
2562
+ location: string | {
2563
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2564
+ };
2565
+ } | undefined;
2566
+ assignedTo?: {
2567
+ type: "exact";
2568
+ term: string | {
2569
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2570
+ };
2571
+ } | undefined;
2572
+ updatedAt?: {
2573
+ type: "range";
2574
+ gte: string;
2575
+ lte: string;
2576
+ } | {
2577
+ type: "exact";
2578
+ term: string;
2579
+ } | undefined;
2580
+ trackingId?: {
2581
+ type: "exact";
2582
+ term: string;
2583
+ } | undefined;
2584
+ updatedAtLocation?: {
2585
+ type: "exact";
2586
+ term: string | {
2587
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2588
+ };
2589
+ } | {
2590
+ type: "within";
2591
+ location: string | {
2592
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2593
+ };
2594
+ } | undefined;
2595
+ updatedBy?: {
2596
+ type: "exact";
2597
+ term: string | {
2598
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2599
+ };
2600
+ } | undefined;
2601
+ flags?: ({
2602
+ type: "anyOf";
2603
+ terms: string[];
2604
+ } | {
2605
+ type: "not";
2606
+ term: string;
2607
+ })[] | undefined;
2608
+ eventType?: string | undefined;
2609
+ }[];
2610
+ }, {
2611
+ type: "or";
2612
+ clauses: {
2613
+ status?: {
2614
+ type: "exact";
2615
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2616
+ } | {
2617
+ type: "anyOf";
2618
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2619
+ } | undefined;
2620
+ data?: any;
2621
+ createdByUserType?: "system" | "user" | undefined;
2622
+ createdAt?: {
2623
+ type: "range";
2624
+ gte: string;
2625
+ lte: string;
2626
+ } | {
2627
+ type: "exact";
2628
+ term: string;
2629
+ } | undefined;
2630
+ createdBy?: {
2631
+ type: "exact";
2632
+ term: string | {
2633
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2634
+ };
2635
+ } | undefined;
2636
+ createdAtLocation?: {
2637
+ type: "exact";
2638
+ term: string | {
2639
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2640
+ };
2641
+ } | {
2642
+ type: "within";
2643
+ location: string | {
2644
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2645
+ };
2646
+ } | undefined;
2647
+ assignedTo?: {
2648
+ type: "exact";
2649
+ term: string | {
2650
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2651
+ };
2652
+ } | undefined;
2653
+ updatedAt?: {
2654
+ type: "range";
2655
+ gte: string;
2656
+ lte: string;
2657
+ } | {
2658
+ type: "exact";
2659
+ term: string;
2660
+ } | undefined;
2661
+ trackingId?: {
2662
+ type: "exact";
2663
+ term: string;
2664
+ } | undefined;
2665
+ updatedAtLocation?: {
2666
+ type: "exact";
2667
+ term: string | {
2668
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2669
+ };
2670
+ } | {
2671
+ type: "within";
2672
+ location: string | {
2673
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2674
+ };
2675
+ } | undefined;
2676
+ updatedBy?: {
2677
+ type: "exact";
2678
+ term: string | {
2679
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2680
+ };
2681
+ } | undefined;
2682
+ flags?: ({
2683
+ type: "anyOf";
2684
+ terms: string[];
2685
+ } | {
2686
+ type: "not";
2687
+ term: string;
2688
+ })[] | undefined;
2689
+ eventType?: string | undefined;
2690
+ }[];
2691
+ }>]>;
2692
+ actions: z.ZodArray<z.ZodObject<{
2693
+ type: z.ZodEnum<["DELETE", "DECLARE", "VALIDATE", "REGISTER", "PRINT_CERTIFICATE", "READ", "ASSIGN", "UNASSIGN", "DEFAULT"]>;
2694
+ conditionals: z.ZodOptional<z.ZodArray<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>, "many">>;
2695
+ }, "strip", z.ZodTypeAny, {
2696
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "PRINT_CERTIFICATE" | "READ" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
2697
+ conditionals?: import(".").JSONSchema[] | undefined;
2698
+ }, {
2699
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "PRINT_CERTIFICATE" | "READ" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
2700
+ conditionals?: import(".").JSONSchema[] | undefined;
2701
+ }>, "many">;
2702
+ columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
2703
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2704
+ id: string;
2705
+ description: string;
2706
+ defaultMessage: string;
2707
+ }>;
2708
+ value: z.ZodObject<{
2709
+ $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
2710
+ }, "strip", z.ZodTypeAny, {
2711
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2712
+ }, {
2713
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2714
+ }>;
2715
+ }, "strip", z.ZodTypeAny, {
2716
+ value: {
2717
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2718
+ };
2719
+ label: TranslationConfig;
2720
+ }, {
2721
+ value: {
2722
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2723
+ };
2724
+ label: {
2725
+ id: string;
2726
+ description: string;
2727
+ defaultMessage: string;
2728
+ };
2729
+ }>, "many">>;
2730
+ icon: z.ZodEnum<["Archived", "Assigned", "Certified", "Close", "Collapse", "Draft", "DuplicateYellow", "Expand", "ExternalValidate", "FilledCheck", "InReview", "Offline", "Registered", "RequiresUpdates", "Sent", "Validated", "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", "List", "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"]>;
2731
+ }, "query" | "columns">, "strip", z.ZodTypeAny, {
2732
+ name: TranslationConfig;
2733
+ actions: {
2734
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "PRINT_CERTIFICATE" | "READ" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
2735
+ conditionals?: import(".").JSONSchema[] | undefined;
2736
+ }[];
2737
+ slug: string;
2738
+ 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";
2739
+ }, {
2740
+ name: {
2741
+ id: string;
2742
+ description: string;
2743
+ defaultMessage: string;
2744
+ };
2745
+ actions: {
2746
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "PRINT_CERTIFICATE" | "READ" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
2747
+ conditionals?: import(".").JSONSchema[] | undefined;
2748
+ }[];
2749
+ slug: string;
2750
+ 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";
2751
+ }>;
2752
+ export declare const WorkqueueConfigInput: z.ZodObject<{
2753
+ slug: z.ZodString;
2754
+ name: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2755
+ id: string;
2756
+ description: string;
2757
+ defaultMessage: string;
2758
+ }>;
2759
+ query: z.ZodUnion<[z.ZodObject<{
2760
+ eventType: z.ZodOptional<z.ZodString>;
2761
+ status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2762
+ type: z.ZodLiteral<"anyOf">;
2763
+ terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
2764
+ }, "strip", z.ZodTypeAny, {
2765
+ type: "anyOf";
2766
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2767
+ }, {
2768
+ type: "anyOf";
2769
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2770
+ }>, z.ZodObject<{
2771
+ type: z.ZodLiteral<"exact">;
2772
+ term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
2773
+ }, "strip", z.ZodTypeAny, {
2774
+ type: "exact";
2775
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2776
+ }, {
2777
+ type: "exact";
2778
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2779
+ }>]>>>;
2780
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2781
+ type: z.ZodLiteral<"exact">;
2782
+ term: z.ZodString;
2783
+ }, {
2784
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2785
+ }>, "strip", z.ZodTypeAny, {
2786
+ type: "exact";
2787
+ term: string;
2788
+ }, {
2789
+ type: "exact";
2790
+ term: string;
2791
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2792
+ type: z.ZodLiteral<"range">;
2793
+ gte: z.ZodString;
2794
+ lte: z.ZodString;
2795
+ }, {
2796
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2797
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2798
+ }>, "strip", z.ZodTypeAny, {
2799
+ type: "range";
2800
+ gte: string;
2801
+ lte: string;
2802
+ }, {
2803
+ type: "range";
2804
+ gte: string;
2805
+ lte: string;
2806
+ }>]>>>;
2807
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2808
+ type: z.ZodLiteral<"exact">;
2809
+ term: z.ZodString;
2810
+ }, {
2811
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2812
+ }>, "strip", z.ZodTypeAny, {
2813
+ type: "exact";
2814
+ term: string;
2815
+ }, {
2816
+ type: "exact";
2817
+ term: string;
2818
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2819
+ type: z.ZodLiteral<"range">;
2820
+ gte: z.ZodString;
2821
+ lte: z.ZodString;
2822
+ }, {
2823
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2824
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2825
+ }>, "strip", z.ZodTypeAny, {
2826
+ type: "range";
2827
+ gte: string;
2828
+ lte: string;
2829
+ }, {
2830
+ type: "range";
2831
+ gte: string;
2832
+ lte: string;
2833
+ }>]>>>;
2834
+ createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2835
+ type: z.ZodLiteral<"within">;
2836
+ location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2837
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2838
+ }, "strip", z.ZodTypeAny, {
2839
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2840
+ }, {
2841
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2842
+ }>]>;
2843
+ }, "strip", z.ZodTypeAny, {
2844
+ type: "within";
2845
+ location: string | {
2846
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2847
+ };
2848
+ }, {
2849
+ type: "within";
2850
+ location: string | {
2851
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2852
+ };
2853
+ }>, z.ZodObject<{
2854
+ type: z.ZodLiteral<"exact">;
1613
2855
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1614
2856
  $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1615
2857
  }, "strip", z.ZodTypeAny, {
@@ -1707,6 +2949,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1707
2949
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1708
2950
  };
1709
2951
  }>>>;
2952
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1710
2953
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1711
2954
  type: z.ZodLiteral<"exact">;
1712
2955
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1766,13 +3009,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1766
3009
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1767
3010
  } | undefined;
1768
3011
  data?: any;
3012
+ createdByUserType?: "system" | "user" | undefined;
1769
3013
  createdAt?: {
1770
- type: "exact";
1771
- term: string;
1772
- } | {
1773
3014
  type: "range";
1774
3015
  gte: string;
1775
3016
  lte: string;
3017
+ } | {
3018
+ type: "exact";
3019
+ term: string;
1776
3020
  } | undefined;
1777
3021
  createdBy?: {
1778
3022
  type: "exact";
@@ -1798,12 +3042,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1798
3042
  };
1799
3043
  } | undefined;
1800
3044
  updatedAt?: {
1801
- type: "exact";
1802
- term: string;
1803
- } | {
1804
3045
  type: "range";
1805
3046
  gte: string;
1806
3047
  lte: string;
3048
+ } | {
3049
+ type: "exact";
3050
+ term: string;
1807
3051
  } | undefined;
1808
3052
  trackingId?: {
1809
3053
  type: "exact";
@@ -1843,13 +3087,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1843
3087
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1844
3088
  } | undefined;
1845
3089
  data?: any;
3090
+ createdByUserType?: "system" | "user" | undefined;
1846
3091
  createdAt?: {
1847
- type: "exact";
1848
- term: string;
1849
- } | {
1850
3092
  type: "range";
1851
3093
  gte: string;
1852
3094
  lte: string;
3095
+ } | {
3096
+ type: "exact";
3097
+ term: string;
1853
3098
  } | undefined;
1854
3099
  createdBy?: {
1855
3100
  type: "exact";
@@ -1875,12 +3120,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1875
3120
  };
1876
3121
  } | undefined;
1877
3122
  updatedAt?: {
1878
- type: "exact";
1879
- term: string;
1880
- } | {
1881
3123
  type: "range";
1882
3124
  gte: string;
1883
3125
  lte: string;
3126
+ } | {
3127
+ type: "exact";
3128
+ term: string;
1884
3129
  } | undefined;
1885
3130
  trackingId?: {
1886
3131
  type: "exact";
@@ -1934,20 +3179,25 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1934
3179
  type: "exact";
1935
3180
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1936
3181
  }>]>>>;
1937
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3182
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1938
3183
  type: z.ZodLiteral<"exact">;
1939
3184
  term: z.ZodString;
1940
- }, "strip", z.ZodTypeAny, {
3185
+ }, {
3186
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3187
+ }>, "strip", z.ZodTypeAny, {
1941
3188
  type: "exact";
1942
3189
  term: string;
1943
3190
  }, {
1944
3191
  type: "exact";
1945
3192
  term: string;
1946
- }>, z.ZodObject<{
3193
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1947
3194
  type: z.ZodLiteral<"range">;
1948
3195
  gte: z.ZodString;
1949
3196
  lte: z.ZodString;
1950
- }, "strip", z.ZodTypeAny, {
3197
+ }, {
3198
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3199
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3200
+ }>, "strip", z.ZodTypeAny, {
1951
3201
  type: "range";
1952
3202
  gte: string;
1953
3203
  lte: string;
@@ -1956,20 +3206,25 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1956
3206
  gte: string;
1957
3207
  lte: string;
1958
3208
  }>]>>>;
1959
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3209
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1960
3210
  type: z.ZodLiteral<"exact">;
1961
3211
  term: z.ZodString;
1962
- }, "strip", z.ZodTypeAny, {
3212
+ }, {
3213
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3214
+ }>, "strip", z.ZodTypeAny, {
1963
3215
  type: "exact";
1964
3216
  term: string;
1965
3217
  }, {
1966
3218
  type: "exact";
1967
3219
  term: string;
1968
- }>, z.ZodObject<{
3220
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1969
3221
  type: z.ZodLiteral<"range">;
1970
3222
  gte: z.ZodString;
1971
3223
  lte: z.ZodString;
1972
- }, "strip", z.ZodTypeAny, {
3224
+ }, {
3225
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3226
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3227
+ }>, "strip", z.ZodTypeAny, {
1973
3228
  type: "range";
1974
3229
  gte: string;
1975
3230
  lte: string;
@@ -2096,6 +3351,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2096
3351
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2097
3352
  };
2098
3353
  }>>>;
3354
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2099
3355
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2100
3356
  type: z.ZodLiteral<"exact">;
2101
3357
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2155,13 +3411,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2155
3411
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2156
3412
  } | undefined;
2157
3413
  data?: any;
3414
+ createdByUserType?: "system" | "user" | undefined;
2158
3415
  createdAt?: {
2159
- type: "exact";
2160
- term: string;
2161
- } | {
2162
3416
  type: "range";
2163
3417
  gte: string;
2164
3418
  lte: string;
3419
+ } | {
3420
+ type: "exact";
3421
+ term: string;
2165
3422
  } | undefined;
2166
3423
  createdBy?: {
2167
3424
  type: "exact";
@@ -2187,12 +3444,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2187
3444
  };
2188
3445
  } | undefined;
2189
3446
  updatedAt?: {
2190
- type: "exact";
2191
- term: string;
2192
- } | {
2193
3447
  type: "range";
2194
3448
  gte: string;
2195
3449
  lte: string;
3450
+ } | {
3451
+ type: "exact";
3452
+ term: string;
2196
3453
  } | undefined;
2197
3454
  trackingId?: {
2198
3455
  type: "exact";
@@ -2232,13 +3489,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2232
3489
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2233
3490
  } | undefined;
2234
3491
  data?: any;
3492
+ createdByUserType?: "system" | "user" | undefined;
2235
3493
  createdAt?: {
2236
- type: "exact";
2237
- term: string;
2238
- } | {
2239
3494
  type: "range";
2240
3495
  gte: string;
2241
3496
  lte: string;
3497
+ } | {
3498
+ type: "exact";
3499
+ term: string;
2242
3500
  } | undefined;
2243
3501
  createdBy?: {
2244
3502
  type: "exact";
@@ -2264,12 +3522,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2264
3522
  };
2265
3523
  } | undefined;
2266
3524
  updatedAt?: {
2267
- type: "exact";
2268
- term: string;
2269
- } | {
2270
3525
  type: "range";
2271
3526
  gte: string;
2272
3527
  lte: string;
3528
+ } | {
3529
+ type: "exact";
3530
+ term: string;
2273
3531
  } | undefined;
2274
3532
  trackingId?: {
2275
3533
  type: "exact";
@@ -2312,13 +3570,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2312
3570
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2313
3571
  } | undefined;
2314
3572
  data?: any;
3573
+ createdByUserType?: "system" | "user" | undefined;
2315
3574
  createdAt?: {
2316
- type: "exact";
2317
- term: string;
2318
- } | {
2319
3575
  type: "range";
2320
3576
  gte: string;
2321
3577
  lte: string;
3578
+ } | {
3579
+ type: "exact";
3580
+ term: string;
2322
3581
  } | undefined;
2323
3582
  createdBy?: {
2324
3583
  type: "exact";
@@ -2344,12 +3603,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2344
3603
  };
2345
3604
  } | undefined;
2346
3605
  updatedAt?: {
2347
- type: "exact";
2348
- term: string;
2349
- } | {
2350
3606
  type: "range";
2351
3607
  gte: string;
2352
3608
  lte: string;
3609
+ } | {
3610
+ type: "exact";
3611
+ term: string;
2353
3612
  } | undefined;
2354
3613
  trackingId?: {
2355
3614
  type: "exact";
@@ -2392,13 +3651,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2392
3651
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2393
3652
  } | undefined;
2394
3653
  data?: any;
3654
+ createdByUserType?: "system" | "user" | undefined;
2395
3655
  createdAt?: {
2396
- type: "exact";
2397
- term: string;
2398
- } | {
2399
3656
  type: "range";
2400
3657
  gte: string;
2401
3658
  lte: string;
3659
+ } | {
3660
+ type: "exact";
3661
+ term: string;
2402
3662
  } | undefined;
2403
3663
  createdBy?: {
2404
3664
  type: "exact";
@@ -2424,12 +3684,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2424
3684
  };
2425
3685
  } | undefined;
2426
3686
  updatedAt?: {
2427
- type: "exact";
2428
- term: string;
2429
- } | {
2430
3687
  type: "range";
2431
3688
  gte: string;
2432
3689
  lte: string;
3690
+ } | {
3691
+ type: "exact";
3692
+ term: string;
2433
3693
  } | undefined;
2434
3694
  trackingId?: {
2435
3695
  type: "exact";
@@ -2484,20 +3744,25 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2484
3744
  type: "exact";
2485
3745
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2486
3746
  }>]>>>;
2487
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3747
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2488
3748
  type: z.ZodLiteral<"exact">;
2489
3749
  term: z.ZodString;
2490
- }, "strip", z.ZodTypeAny, {
3750
+ }, {
3751
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3752
+ }>, "strip", z.ZodTypeAny, {
2491
3753
  type: "exact";
2492
3754
  term: string;
2493
3755
  }, {
2494
3756
  type: "exact";
2495
3757
  term: string;
2496
- }>, z.ZodObject<{
3758
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2497
3759
  type: z.ZodLiteral<"range">;
2498
3760
  gte: z.ZodString;
2499
3761
  lte: z.ZodString;
2500
- }, "strip", z.ZodTypeAny, {
3762
+ }, {
3763
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3764
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3765
+ }>, "strip", z.ZodTypeAny, {
2501
3766
  type: "range";
2502
3767
  gte: string;
2503
3768
  lte: string;
@@ -2506,20 +3771,25 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2506
3771
  gte: string;
2507
3772
  lte: string;
2508
3773
  }>]>>>;
2509
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3774
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2510
3775
  type: z.ZodLiteral<"exact">;
2511
3776
  term: z.ZodString;
2512
- }, "strip", z.ZodTypeAny, {
3777
+ }, {
3778
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3779
+ }>, "strip", z.ZodTypeAny, {
2513
3780
  type: "exact";
2514
3781
  term: string;
2515
3782
  }, {
2516
3783
  type: "exact";
2517
3784
  term: string;
2518
- }>, z.ZodObject<{
3785
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2519
3786
  type: z.ZodLiteral<"range">;
2520
3787
  gte: z.ZodString;
2521
3788
  lte: z.ZodString;
2522
- }, "strip", z.ZodTypeAny, {
3789
+ }, {
3790
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3791
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3792
+ }>, "strip", z.ZodTypeAny, {
2523
3793
  type: "range";
2524
3794
  gte: string;
2525
3795
  lte: string;
@@ -2646,6 +3916,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2646
3916
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2647
3917
  };
2648
3918
  }>>>;
3919
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2649
3920
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2650
3921
  type: z.ZodLiteral<"exact">;
2651
3922
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2705,13 +3976,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2705
3976
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2706
3977
  } | undefined;
2707
3978
  data?: any;
3979
+ createdByUserType?: "system" | "user" | undefined;
2708
3980
  createdAt?: {
2709
- type: "exact";
2710
- term: string;
2711
- } | {
2712
3981
  type: "range";
2713
3982
  gte: string;
2714
3983
  lte: string;
3984
+ } | {
3985
+ type: "exact";
3986
+ term: string;
2715
3987
  } | undefined;
2716
3988
  createdBy?: {
2717
3989
  type: "exact";
@@ -2737,12 +4009,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2737
4009
  };
2738
4010
  } | undefined;
2739
4011
  updatedAt?: {
2740
- type: "exact";
2741
- term: string;
2742
- } | {
2743
4012
  type: "range";
2744
4013
  gte: string;
2745
4014
  lte: string;
4015
+ } | {
4016
+ type: "exact";
4017
+ term: string;
2746
4018
  } | undefined;
2747
4019
  trackingId?: {
2748
4020
  type: "exact";
@@ -2782,13 +4054,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2782
4054
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2783
4055
  } | undefined;
2784
4056
  data?: any;
4057
+ createdByUserType?: "system" | "user" | undefined;
2785
4058
  createdAt?: {
2786
- type: "exact";
2787
- term: string;
2788
- } | {
2789
4059
  type: "range";
2790
4060
  gte: string;
2791
4061
  lte: string;
4062
+ } | {
4063
+ type: "exact";
4064
+ term: string;
2792
4065
  } | undefined;
2793
4066
  createdBy?: {
2794
4067
  type: "exact";
@@ -2814,12 +4087,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2814
4087
  };
2815
4088
  } | undefined;
2816
4089
  updatedAt?: {
2817
- type: "exact";
2818
- term: string;
2819
- } | {
2820
4090
  type: "range";
2821
4091
  gte: string;
2822
4092
  lte: string;
4093
+ } | {
4094
+ type: "exact";
4095
+ term: string;
2823
4096
  } | undefined;
2824
4097
  trackingId?: {
2825
4098
  type: "exact";
@@ -2862,13 +4135,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2862
4135
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2863
4136
  } | undefined;
2864
4137
  data?: any;
4138
+ createdByUserType?: "system" | "user" | undefined;
2865
4139
  createdAt?: {
2866
- type: "exact";
2867
- term: string;
2868
- } | {
2869
4140
  type: "range";
2870
4141
  gte: string;
2871
4142
  lte: string;
4143
+ } | {
4144
+ type: "exact";
4145
+ term: string;
2872
4146
  } | undefined;
2873
4147
  createdBy?: {
2874
4148
  type: "exact";
@@ -2894,12 +4168,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2894
4168
  };
2895
4169
  } | undefined;
2896
4170
  updatedAt?: {
2897
- type: "exact";
2898
- term: string;
2899
- } | {
2900
4171
  type: "range";
2901
4172
  gte: string;
2902
4173
  lte: string;
4174
+ } | {
4175
+ type: "exact";
4176
+ term: string;
2903
4177
  } | undefined;
2904
4178
  trackingId?: {
2905
4179
  type: "exact";
@@ -2942,13 +4216,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2942
4216
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2943
4217
  } | undefined;
2944
4218
  data?: any;
4219
+ createdByUserType?: "system" | "user" | undefined;
2945
4220
  createdAt?: {
2946
- type: "exact";
2947
- term: string;
2948
- } | {
2949
4221
  type: "range";
2950
4222
  gte: string;
2951
4223
  lte: string;
4224
+ } | {
4225
+ type: "exact";
4226
+ term: string;
2952
4227
  } | undefined;
2953
4228
  createdBy?: {
2954
4229
  type: "exact";
@@ -2974,12 +4249,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2974
4249
  };
2975
4250
  } | undefined;
2976
4251
  updatedAt?: {
2977
- type: "exact";
2978
- term: string;
2979
- } | {
2980
4252
  type: "range";
2981
4253
  gte: string;
2982
4254
  lte: string;
4255
+ } | {
4256
+ type: "exact";
4257
+ term: string;
2983
4258
  } | undefined;
2984
4259
  trackingId?: {
2985
4260
  type: "exact";
@@ -3029,20 +4304,20 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3029
4304
  defaultMessage: string;
3030
4305
  }>;
3031
4306
  value: z.ZodObject<{
3032
- $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
4307
+ $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
3033
4308
  }, "strip", z.ZodTypeAny, {
3034
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
4309
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
3035
4310
  }, {
3036
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
4311
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
3037
4312
  }>;
3038
4313
  }, "strip", z.ZodTypeAny, {
3039
4314
  value: {
3040
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
4315
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
3041
4316
  };
3042
4317
  label: TranslationConfig;
3043
4318
  }, {
3044
4319
  value: {
3045
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
4320
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
3046
4321
  };
3047
4322
  label: {
3048
4323
  id: string;
@@ -3066,13 +4341,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3066
4341
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3067
4342
  } | undefined;
3068
4343
  data?: any;
4344
+ createdByUserType?: "system" | "user" | undefined;
3069
4345
  createdAt?: {
3070
- type: "exact";
3071
- term: string;
3072
- } | {
3073
4346
  type: "range";
3074
4347
  gte: string;
3075
4348
  lte: string;
4349
+ } | {
4350
+ type: "exact";
4351
+ term: string;
3076
4352
  } | undefined;
3077
4353
  createdBy?: {
3078
4354
  type: "exact";
@@ -3098,12 +4374,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3098
4374
  };
3099
4375
  } | undefined;
3100
4376
  updatedAt?: {
3101
- type: "exact";
3102
- term: string;
3103
- } | {
3104
4377
  type: "range";
3105
4378
  gte: string;
3106
4379
  lte: string;
4380
+ } | {
4381
+ type: "exact";
4382
+ term: string;
3107
4383
  } | undefined;
3108
4384
  trackingId?: {
3109
4385
  type: "exact";
@@ -3145,13 +4421,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3145
4421
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3146
4422
  } | undefined;
3147
4423
  data?: any;
4424
+ createdByUserType?: "system" | "user" | undefined;
3148
4425
  createdAt?: {
3149
- type: "exact";
3150
- term: string;
3151
- } | {
3152
4426
  type: "range";
3153
4427
  gte: string;
3154
4428
  lte: string;
4429
+ } | {
4430
+ type: "exact";
4431
+ term: string;
3155
4432
  } | undefined;
3156
4433
  createdBy?: {
3157
4434
  type: "exact";
@@ -3177,12 +4454,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3177
4454
  };
3178
4455
  } | undefined;
3179
4456
  updatedAt?: {
3180
- type: "exact";
3181
- term: string;
3182
- } | {
3183
4457
  type: "range";
3184
4458
  gte: string;
3185
4459
  lte: string;
4460
+ } | {
4461
+ type: "exact";
4462
+ term: string;
3186
4463
  } | undefined;
3187
4464
  trackingId?: {
3188
4465
  type: "exact";
@@ -3225,13 +4502,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3225
4502
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3226
4503
  } | undefined;
3227
4504
  data?: any;
3228
- createdAt?: {
3229
- type: "exact";
3230
- term: string;
3231
- } | {
4505
+ createdByUserType?: "system" | "user" | undefined;
4506
+ createdAt?: {
3232
4507
  type: "range";
3233
4508
  gte: string;
3234
4509
  lte: string;
4510
+ } | {
4511
+ type: "exact";
4512
+ term: string;
3235
4513
  } | undefined;
3236
4514
  createdBy?: {
3237
4515
  type: "exact";
@@ -3257,12 +4535,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3257
4535
  };
3258
4536
  } | undefined;
3259
4537
  updatedAt?: {
3260
- type: "exact";
3261
- term: string;
3262
- } | {
3263
4538
  type: "range";
3264
4539
  gte: string;
3265
4540
  lte: string;
4541
+ } | {
4542
+ type: "exact";
4543
+ term: string;
3266
4544
  } | undefined;
3267
4545
  trackingId?: {
3268
4546
  type: "exact";
@@ -3298,7 +4576,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3298
4576
  slug: string;
3299
4577
  columns: {
3300
4578
  value: {
3301
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
4579
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
3302
4580
  };
3303
4581
  label: TranslationConfig;
3304
4582
  }[];
@@ -3322,13 +4600,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3322
4600
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3323
4601
  } | undefined;
3324
4602
  data?: any;
4603
+ createdByUserType?: "system" | "user" | undefined;
3325
4604
  createdAt?: {
3326
- type: "exact";
3327
- term: string;
3328
- } | {
3329
4605
  type: "range";
3330
4606
  gte: string;
3331
4607
  lte: string;
4608
+ } | {
4609
+ type: "exact";
4610
+ term: string;
3332
4611
  } | undefined;
3333
4612
  createdBy?: {
3334
4613
  type: "exact";
@@ -3354,12 +4633,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3354
4633
  };
3355
4634
  } | undefined;
3356
4635
  updatedAt?: {
3357
- type: "exact";
3358
- term: string;
3359
- } | {
3360
4636
  type: "range";
3361
4637
  gte: string;
3362
4638
  lte: string;
4639
+ } | {
4640
+ type: "exact";
4641
+ term: string;
3363
4642
  } | undefined;
3364
4643
  trackingId?: {
3365
4644
  type: "exact";
@@ -3401,13 +4680,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3401
4680
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3402
4681
  } | undefined;
3403
4682
  data?: any;
4683
+ createdByUserType?: "system" | "user" | undefined;
3404
4684
  createdAt?: {
3405
- type: "exact";
3406
- term: string;
3407
- } | {
3408
4685
  type: "range";
3409
4686
  gte: string;
3410
4687
  lte: string;
4688
+ } | {
4689
+ type: "exact";
4690
+ term: string;
3411
4691
  } | undefined;
3412
4692
  createdBy?: {
3413
4693
  type: "exact";
@@ -3433,12 +4713,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3433
4713
  };
3434
4714
  } | undefined;
3435
4715
  updatedAt?: {
3436
- type: "exact";
3437
- term: string;
3438
- } | {
3439
4716
  type: "range";
3440
4717
  gte: string;
3441
4718
  lte: string;
4719
+ } | {
4720
+ type: "exact";
4721
+ term: string;
3442
4722
  } | undefined;
3443
4723
  trackingId?: {
3444
4724
  type: "exact";
@@ -3481,13 +4761,14 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3481
4761
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3482
4762
  } | undefined;
3483
4763
  data?: any;
4764
+ createdByUserType?: "system" | "user" | undefined;
3484
4765
  createdAt?: {
3485
- type: "exact";
3486
- term: string;
3487
- } | {
3488
4766
  type: "range";
3489
4767
  gte: string;
3490
4768
  lte: string;
4769
+ } | {
4770
+ type: "exact";
4771
+ term: string;
3491
4772
  } | undefined;
3492
4773
  createdBy?: {
3493
4774
  type: "exact";
@@ -3513,12 +4794,12 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3513
4794
  };
3514
4795
  } | undefined;
3515
4796
  updatedAt?: {
3516
- type: "exact";
3517
- term: string;
3518
- } | {
3519
4797
  type: "range";
3520
4798
  gte: string;
3521
4799
  lte: string;
4800
+ } | {
4801
+ type: "exact";
4802
+ term: string;
3522
4803
  } | undefined;
3523
4804
  trackingId?: {
3524
4805
  type: "exact";
@@ -3555,7 +4836,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3555
4836
  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";
3556
4837
  columns?: {
3557
4838
  value: {
3558
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
4839
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
3559
4840
  };
3560
4841
  label: {
3561
4842
  id: string;
@@ -3565,6 +4846,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
3565
4846
  }[] | undefined;
3566
4847
  }>;
3567
4848
  export type WorkqueueConfig = z.infer<typeof WorkqueueConfig>;
4849
+ export type WorkqueueConfigWithoutQuery = z.infer<typeof WorkqueueConfigWithoutQuery>;
3568
4850
  export type WorkqueueConfigInput = z.input<typeof WorkqueueConfigInput>;
3569
4851
  export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
3570
4852
  name: TranslationConfig;
@@ -3583,13 +4865,14 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
3583
4865
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3584
4866
  } | undefined;
3585
4867
  data?: any;
4868
+ createdByUserType?: "system" | "user" | undefined;
3586
4869
  createdAt?: {
3587
- type: "exact";
3588
- term: string;
3589
- } | {
3590
4870
  type: "range";
3591
4871
  gte: string;
3592
4872
  lte: string;
4873
+ } | {
4874
+ type: "exact";
4875
+ term: string;
3593
4876
  } | undefined;
3594
4877
  createdBy?: {
3595
4878
  type: "exact";
@@ -3615,12 +4898,12 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
3615
4898
  };
3616
4899
  } | undefined;
3617
4900
  updatedAt?: {
3618
- type: "exact";
3619
- term: string;
3620
- } | {
3621
4901
  type: "range";
3622
4902
  gte: string;
3623
4903
  lte: string;
4904
+ } | {
4905
+ type: "exact";
4906
+ term: string;
3624
4907
  } | undefined;
3625
4908
  trackingId?: {
3626
4909
  type: "exact";
@@ -3663,13 +4946,14 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
3663
4946
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3664
4947
  } | undefined;
3665
4948
  data?: any;
4949
+ createdByUserType?: "system" | "user" | undefined;
3666
4950
  createdAt?: {
3667
- type: "exact";
3668
- term: string;
3669
- } | {
3670
4951
  type: "range";
3671
4952
  gte: string;
3672
4953
  lte: string;
4954
+ } | {
4955
+ type: "exact";
4956
+ term: string;
3673
4957
  } | undefined;
3674
4958
  createdBy?: {
3675
4959
  type: "exact";
@@ -3695,12 +4979,12 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
3695
4979
  };
3696
4980
  } | undefined;
3697
4981
  updatedAt?: {
3698
- type: "exact";
3699
- term: string;
3700
- } | {
3701
4982
  type: "range";
3702
4983
  gte: string;
3703
4984
  lte: string;
4985
+ } | {
4986
+ type: "exact";
4987
+ term: string;
3704
4988
  } | undefined;
3705
4989
  trackingId?: {
3706
4990
  type: "exact";
@@ -3736,7 +5020,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
3736
5020
  slug: string;
3737
5021
  columns: {
3738
5022
  value: {
3739
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
5023
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
3740
5024
  };
3741
5025
  label: TranslationConfig;
3742
5026
  }[];
@@ -3759,13 +5043,14 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
3759
5043
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3760
5044
  } | undefined;
3761
5045
  data?: any;
5046
+ createdByUserType?: "system" | "user" | undefined;
3762
5047
  createdAt?: {
3763
- type: "exact";
3764
- term: string;
3765
- } | {
3766
5048
  type: "range";
3767
5049
  gte: string;
3768
5050
  lte: string;
5051
+ } | {
5052
+ type: "exact";
5053
+ term: string;
3769
5054
  } | undefined;
3770
5055
  createdBy?: {
3771
5056
  type: "exact";
@@ -3791,12 +5076,12 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
3791
5076
  };
3792
5077
  } | undefined;
3793
5078
  updatedAt?: {
3794
- type: "exact";
3795
- term: string;
3796
- } | {
3797
5079
  type: "range";
3798
5080
  gte: string;
3799
5081
  lte: string;
5082
+ } | {
5083
+ type: "exact";
5084
+ term: string;
3800
5085
  } | undefined;
3801
5086
  trackingId?: {
3802
5087
  type: "exact";
@@ -3839,13 +5124,14 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
3839
5124
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3840
5125
  } | undefined;
3841
5126
  data?: any;
5127
+ createdByUserType?: "system" | "user" | undefined;
3842
5128
  createdAt?: {
3843
- type: "exact";
3844
- term: string;
3845
- } | {
3846
5129
  type: "range";
3847
5130
  gte: string;
3848
5131
  lte: string;
5132
+ } | {
5133
+ type: "exact";
5134
+ term: string;
3849
5135
  } | undefined;
3850
5136
  createdBy?: {
3851
5137
  type: "exact";
@@ -3871,12 +5157,12 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
3871
5157
  };
3872
5158
  } | undefined;
3873
5159
  updatedAt?: {
3874
- type: "exact";
3875
- term: string;
3876
- } | {
3877
5160
  type: "range";
3878
5161
  gte: string;
3879
5162
  lte: string;
5163
+ } | {
5164
+ type: "exact";
5165
+ term: string;
3880
5166
  } | undefined;
3881
5167
  trackingId?: {
3882
5168
  type: "exact";
@@ -3912,7 +5198,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
3912
5198
  slug: string;
3913
5199
  columns: {
3914
5200
  value: {
3915
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
5201
+ $event: "type" | "id" | "status" | "title" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
3916
5202
  };
3917
5203
  label: TranslationConfig;
3918
5204
  }[];
@@ -3922,7 +5208,7 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
3922
5208
  slug: z.ZodString;
3923
5209
  query: z.ZodObject<{
3924
5210
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
3925
- clauses: z.ZodEffects<z.ZodArray<z.ZodObject<{
5211
+ clauses: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
3926
5212
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3927
5213
  eventType: z.ZodOptional<z.ZodString>;
3928
5214
  status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -3944,20 +5230,25 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
3944
5230
  type: "exact";
3945
5231
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3946
5232
  }>]>>>;
3947
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5233
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3948
5234
  type: z.ZodLiteral<"exact">;
3949
5235
  term: z.ZodString;
3950
- }, "strip", z.ZodTypeAny, {
5236
+ }, {
5237
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
5238
+ }>, "strip", z.ZodTypeAny, {
3951
5239
  type: "exact";
3952
5240
  term: string;
3953
5241
  }, {
3954
5242
  type: "exact";
3955
5243
  term: string;
3956
- }>, z.ZodObject<{
5244
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3957
5245
  type: z.ZodLiteral<"range">;
3958
5246
  gte: z.ZodString;
3959
5247
  lte: z.ZodString;
3960
- }, "strip", z.ZodTypeAny, {
5248
+ }, {
5249
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
5250
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
5251
+ }>, "strip", z.ZodTypeAny, {
3961
5252
  type: "range";
3962
5253
  gte: string;
3963
5254
  lte: string;
@@ -3966,20 +5257,25 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
3966
5257
  gte: string;
3967
5258
  lte: string;
3968
5259
  }>]>>>;
3969
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5260
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3970
5261
  type: z.ZodLiteral<"exact">;
3971
5262
  term: z.ZodString;
3972
- }, "strip", z.ZodTypeAny, {
5263
+ }, {
5264
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
5265
+ }>, "strip", z.ZodTypeAny, {
3973
5266
  type: "exact";
3974
5267
  term: string;
3975
5268
  }, {
3976
5269
  type: "exact";
3977
5270
  term: string;
3978
- }>, z.ZodObject<{
5271
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3979
5272
  type: z.ZodLiteral<"range">;
3980
5273
  gte: z.ZodString;
3981
5274
  lte: z.ZodString;
3982
- }, "strip", z.ZodTypeAny, {
5275
+ }, {
5276
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
5277
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
5278
+ }>, "strip", z.ZodTypeAny, {
3983
5279
  type: "range";
3984
5280
  gte: string;
3985
5281
  lte: string;
@@ -3988,20 +5284,25 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
3988
5284
  gte: string;
3989
5285
  lte: string;
3990
5286
  }>]>>>;
3991
- 'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5287
+ 'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3992
5288
  type: z.ZodLiteral<"exact">;
3993
5289
  term: z.ZodString;
3994
- }, "strip", z.ZodTypeAny, {
5290
+ }, {
5291
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
5292
+ }>, "strip", z.ZodTypeAny, {
3995
5293
  type: "exact";
3996
5294
  term: string;
3997
5295
  }, {
3998
5296
  type: "exact";
3999
5297
  term: string;
4000
- }>, z.ZodObject<{
5298
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4001
5299
  type: z.ZodLiteral<"range">;
4002
5300
  gte: z.ZodString;
4003
5301
  lte: z.ZodString;
4004
- }, "strip", z.ZodTypeAny, {
5302
+ }, {
5303
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
5304
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
5305
+ }>, "strip", z.ZodTypeAny, {
4005
5306
  type: "range";
4006
5307
  gte: string;
4007
5308
  lte: string;
@@ -4067,77 +5368,246 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4067
5368
  }, {
4068
5369
  type: "within";
4069
5370
  location: string;
4070
- }>, z.ZodObject<{
4071
- type: z.ZodLiteral<"exact">;
4072
- term: z.ZodString;
4073
- }, "strip", z.ZodTypeAny, {
5371
+ }>, z.ZodObject<{
5372
+ type: z.ZodLiteral<"exact">;
5373
+ term: z.ZodString;
5374
+ }, "strip", z.ZodTypeAny, {
5375
+ type: "exact";
5376
+ term: string;
5377
+ }, {
5378
+ type: "exact";
5379
+ term: string;
5380
+ }>]>>>;
5381
+ assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5382
+ type: z.ZodLiteral<"exact">;
5383
+ term: z.ZodString;
5384
+ }, "strip", z.ZodTypeAny, {
5385
+ type: "exact";
5386
+ term: string;
5387
+ }, {
5388
+ type: "exact";
5389
+ term: string;
5390
+ }>>>;
5391
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
5392
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5393
+ type: z.ZodLiteral<"exact">;
5394
+ term: z.ZodString;
5395
+ }, "strip", z.ZodTypeAny, {
5396
+ type: "exact";
5397
+ term: string;
5398
+ }, {
5399
+ type: "exact";
5400
+ term: string;
5401
+ }>>>;
5402
+ updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5403
+ type: z.ZodLiteral<"exact">;
5404
+ term: z.ZodString;
5405
+ }, "strip", z.ZodTypeAny, {
5406
+ type: "exact";
5407
+ term: string;
5408
+ }, {
5409
+ type: "exact";
5410
+ term: string;
5411
+ }>>>;
5412
+ trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5413
+ type: z.ZodLiteral<"exact">;
5414
+ term: z.ZodString;
5415
+ }, "strip", z.ZodTypeAny, {
5416
+ type: "exact";
5417
+ term: string;
5418
+ }, {
5419
+ type: "exact";
5420
+ term: string;
5421
+ }>>>;
5422
+ flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5423
+ type: z.ZodLiteral<"anyOf">;
5424
+ terms: z.ZodArray<z.ZodString, "many">;
5425
+ }, "strip", z.ZodTypeAny, {
5426
+ type: "anyOf";
5427
+ terms: string[];
5428
+ }, {
5429
+ type: "anyOf";
5430
+ terms: string[];
5431
+ }>, z.ZodObject<{
5432
+ type: z.ZodLiteral<"not">;
5433
+ term: z.ZodString;
5434
+ }, "strip", z.ZodTypeAny, {
5435
+ type: "not";
5436
+ term: string;
5437
+ }, {
5438
+ type: "not";
5439
+ term: string;
5440
+ }>]>, "many">>>;
5441
+ data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
5442
+ }, "strip", z.ZodTypeAny, {
5443
+ id?: string | undefined;
5444
+ status?: {
5445
+ type: "exact";
5446
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
5447
+ } | {
5448
+ type: "anyOf";
5449
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
5450
+ } | undefined;
5451
+ data?: any;
5452
+ createdByUserType?: "system" | "user" | undefined;
5453
+ createdAt?: {
5454
+ type: "range";
5455
+ gte: string;
5456
+ lte: string;
5457
+ } | {
5458
+ type: "exact";
5459
+ term: string;
5460
+ } | undefined;
5461
+ createdBy?: {
5462
+ type: "exact";
5463
+ term: string;
5464
+ } | undefined;
5465
+ createdAtLocation?: {
5466
+ type: "exact";
5467
+ term: string;
5468
+ } | {
5469
+ type: "within";
5470
+ location: string;
5471
+ } | undefined;
5472
+ assignedTo?: {
5473
+ type: "exact";
5474
+ term: string;
5475
+ } | undefined;
5476
+ updatedAt?: {
5477
+ type: "range";
5478
+ gte: string;
5479
+ lte: string;
5480
+ } | {
5481
+ type: "exact";
5482
+ term: string;
5483
+ } | undefined;
5484
+ trackingId?: {
5485
+ type: "exact";
5486
+ term: string;
5487
+ } | undefined;
5488
+ updatedAtLocation?: {
5489
+ type: "exact";
5490
+ term: string;
5491
+ } | {
5492
+ type: "within";
5493
+ location: string;
5494
+ } | undefined;
5495
+ updatedBy?: {
5496
+ type: "exact";
5497
+ term: string;
5498
+ } | undefined;
5499
+ flags?: ({
5500
+ type: "anyOf";
5501
+ terms: string[];
5502
+ } | {
5503
+ type: "not";
5504
+ term: string;
5505
+ })[] | undefined;
5506
+ eventType?: string | undefined;
5507
+ 'legalStatus.REGISTERED.createdAt'?: {
5508
+ type: "range";
5509
+ gte: string;
5510
+ lte: string;
5511
+ } | {
5512
+ type: "exact";
5513
+ term: string;
5514
+ } | undefined;
5515
+ 'legalStatus.REGISTERED.createdAtLocation'?: {
5516
+ type: "exact";
5517
+ term: string;
5518
+ } | {
5519
+ type: "within";
5520
+ location: string;
5521
+ } | undefined;
5522
+ 'legalStatus.REGISTERED.registrationNumber'?: {
4074
5523
  type: "exact";
4075
5524
  term: string;
4076
- }, {
5525
+ } | undefined;
5526
+ }, {
5527
+ id?: string | undefined;
5528
+ status?: {
4077
5529
  type: "exact";
4078
- term: string;
4079
- }>]>>>;
4080
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4081
- type: z.ZodLiteral<"exact">;
4082
- term: z.ZodString;
4083
- }, "strip", z.ZodTypeAny, {
5530
+ term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
5531
+ } | {
5532
+ type: "anyOf";
5533
+ terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
5534
+ } | undefined;
5535
+ data?: any;
5536
+ createdByUserType?: "system" | "user" | undefined;
5537
+ createdAt?: {
5538
+ type: "range";
5539
+ gte: string;
5540
+ lte: string;
5541
+ } | {
4084
5542
  type: "exact";
4085
5543
  term: string;
4086
- }, {
5544
+ } | undefined;
5545
+ createdBy?: {
4087
5546
  type: "exact";
4088
5547
  term: string;
4089
- }>>>;
4090
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4091
- type: z.ZodLiteral<"exact">;
4092
- term: z.ZodString;
4093
- }, "strip", z.ZodTypeAny, {
5548
+ } | undefined;
5549
+ createdAtLocation?: {
4094
5550
  type: "exact";
4095
5551
  term: string;
4096
- }, {
5552
+ } | {
5553
+ type: "within";
5554
+ location: string;
5555
+ } | undefined;
5556
+ assignedTo?: {
4097
5557
  type: "exact";
4098
5558
  term: string;
4099
- }>>>;
4100
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4101
- type: z.ZodLiteral<"exact">;
4102
- term: z.ZodString;
4103
- }, "strip", z.ZodTypeAny, {
5559
+ } | undefined;
5560
+ updatedAt?: {
5561
+ type: "range";
5562
+ gte: string;
5563
+ lte: string;
5564
+ } | {
4104
5565
  type: "exact";
4105
5566
  term: string;
4106
- }, {
5567
+ } | undefined;
5568
+ trackingId?: {
4107
5569
  type: "exact";
4108
5570
  term: string;
4109
- }>>>;
4110
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4111
- type: z.ZodLiteral<"exact">;
4112
- term: z.ZodString;
4113
- }, "strip", z.ZodTypeAny, {
5571
+ } | undefined;
5572
+ updatedAtLocation?: {
4114
5573
  type: "exact";
4115
5574
  term: string;
4116
- }, {
5575
+ } | {
5576
+ type: "within";
5577
+ location: string;
5578
+ } | undefined;
5579
+ updatedBy?: {
4117
5580
  type: "exact";
4118
5581
  term: string;
4119
- }>>>;
4120
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
4121
- type: z.ZodLiteral<"anyOf">;
4122
- terms: z.ZodArray<z.ZodString, "many">;
4123
- }, "strip", z.ZodTypeAny, {
4124
- type: "anyOf";
4125
- terms: string[];
4126
- }, {
5582
+ } | undefined;
5583
+ flags?: ({
4127
5584
  type: "anyOf";
4128
5585
  terms: string[];
4129
- }>, z.ZodObject<{
4130
- type: z.ZodLiteral<"not">;
4131
- term: z.ZodString;
4132
- }, "strip", z.ZodTypeAny, {
5586
+ } | {
4133
5587
  type: "not";
4134
5588
  term: string;
4135
- }, {
4136
- type: "not";
5589
+ })[] | undefined;
5590
+ eventType?: string | undefined;
5591
+ 'legalStatus.REGISTERED.createdAt'?: {
5592
+ type: "range";
5593
+ gte: string;
5594
+ lte: string;
5595
+ } | {
5596
+ type: "exact";
4137
5597
  term: string;
4138
- }>]>, "many">>>;
4139
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
4140
- }, "strip", z.ZodTypeAny, {
5598
+ } | undefined;
5599
+ 'legalStatus.REGISTERED.createdAtLocation'?: {
5600
+ type: "exact";
5601
+ term: string;
5602
+ } | {
5603
+ type: "within";
5604
+ location: string;
5605
+ } | undefined;
5606
+ 'legalStatus.REGISTERED.registrationNumber'?: {
5607
+ type: "exact";
5608
+ term: string;
5609
+ } | undefined;
5610
+ }>, {
4141
5611
  id?: string | undefined;
4142
5612
  status?: {
4143
5613
  type: "exact";
@@ -4147,13 +5617,14 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4147
5617
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4148
5618
  } | undefined;
4149
5619
  data?: any;
5620
+ createdByUserType?: "system" | "user" | undefined;
4150
5621
  createdAt?: {
4151
- type: "exact";
4152
- term: string;
4153
- } | {
4154
5622
  type: "range";
4155
5623
  gte: string;
4156
5624
  lte: string;
5625
+ } | {
5626
+ type: "exact";
5627
+ term: string;
4157
5628
  } | undefined;
4158
5629
  createdBy?: {
4159
5630
  type: "exact";
@@ -4171,12 +5642,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4171
5642
  term: string;
4172
5643
  } | undefined;
4173
5644
  updatedAt?: {
4174
- type: "exact";
4175
- term: string;
4176
- } | {
4177
5645
  type: "range";
4178
5646
  gte: string;
4179
5647
  lte: string;
5648
+ } | {
5649
+ type: "exact";
5650
+ term: string;
4180
5651
  } | undefined;
4181
5652
  trackingId?: {
4182
5653
  type: "exact";
@@ -4202,12 +5673,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4202
5673
  })[] | undefined;
4203
5674
  eventType?: string | undefined;
4204
5675
  'legalStatus.REGISTERED.createdAt'?: {
4205
- type: "exact";
4206
- term: string;
4207
- } | {
4208
5676
  type: "range";
4209
5677
  gte: string;
4210
5678
  lte: string;
5679
+ } | {
5680
+ type: "exact";
5681
+ term: string;
4211
5682
  } | undefined;
4212
5683
  'legalStatus.REGISTERED.createdAtLocation'?: {
4213
5684
  type: "exact";
@@ -4230,13 +5701,14 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4230
5701
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4231
5702
  } | undefined;
4232
5703
  data?: any;
5704
+ createdByUserType?: "system" | "user" | undefined;
4233
5705
  createdAt?: {
4234
- type: "exact";
4235
- term: string;
4236
- } | {
4237
5706
  type: "range";
4238
5707
  gte: string;
4239
5708
  lte: string;
5709
+ } | {
5710
+ type: "exact";
5711
+ term: string;
4240
5712
  } | undefined;
4241
5713
  createdBy?: {
4242
5714
  type: "exact";
@@ -4254,12 +5726,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4254
5726
  term: string;
4255
5727
  } | undefined;
4256
5728
  updatedAt?: {
4257
- type: "exact";
4258
- term: string;
4259
- } | {
4260
5729
  type: "range";
4261
5730
  gte: string;
4262
5731
  lte: string;
5732
+ } | {
5733
+ type: "exact";
5734
+ term: string;
4263
5735
  } | undefined;
4264
5736
  trackingId?: {
4265
5737
  type: "exact";
@@ -4285,12 +5757,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4285
5757
  })[] | undefined;
4286
5758
  eventType?: string | undefined;
4287
5759
  'legalStatus.REGISTERED.createdAt'?: {
4288
- type: "exact";
4289
- term: string;
4290
- } | {
4291
5760
  type: "range";
4292
5761
  gte: string;
4293
5762
  lte: string;
5763
+ } | {
5764
+ type: "exact";
5765
+ term: string;
4294
5766
  } | undefined;
4295
5767
  'legalStatus.REGISTERED.createdAtLocation'?: {
4296
5768
  type: "exact";
@@ -4313,13 +5785,14 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4313
5785
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4314
5786
  } | undefined;
4315
5787
  data?: any;
5788
+ createdByUserType?: "system" | "user" | undefined;
4316
5789
  createdAt?: {
4317
- type: "exact";
4318
- term: string;
4319
- } | {
4320
5790
  type: "range";
4321
5791
  gte: string;
4322
5792
  lte: string;
5793
+ } | {
5794
+ type: "exact";
5795
+ term: string;
4323
5796
  } | undefined;
4324
5797
  createdBy?: {
4325
5798
  type: "exact";
@@ -4337,12 +5810,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4337
5810
  term: string;
4338
5811
  } | undefined;
4339
5812
  updatedAt?: {
4340
- type: "exact";
4341
- term: string;
4342
- } | {
4343
5813
  type: "range";
4344
5814
  gte: string;
4345
5815
  lte: string;
5816
+ } | {
5817
+ type: "exact";
5818
+ term: string;
4346
5819
  } | undefined;
4347
5820
  trackingId?: {
4348
5821
  type: "exact";
@@ -4368,12 +5841,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4368
5841
  })[] | undefined;
4369
5842
  eventType?: string | undefined;
4370
5843
  'legalStatus.REGISTERED.createdAt'?: {
4371
- type: "exact";
4372
- term: string;
4373
- } | {
4374
5844
  type: "range";
4375
5845
  gte: string;
4376
5846
  lte: string;
5847
+ } | {
5848
+ type: "exact";
5849
+ term: string;
4377
5850
  } | undefined;
4378
5851
  'legalStatus.REGISTERED.createdAtLocation'?: {
4379
5852
  type: "exact";
@@ -4396,13 +5869,14 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4396
5869
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4397
5870
  } | undefined;
4398
5871
  data?: any;
5872
+ createdByUserType?: "system" | "user" | undefined;
4399
5873
  createdAt?: {
4400
- type: "exact";
4401
- term: string;
4402
- } | {
4403
5874
  type: "range";
4404
5875
  gte: string;
4405
5876
  lte: string;
5877
+ } | {
5878
+ type: "exact";
5879
+ term: string;
4406
5880
  } | undefined;
4407
5881
  createdBy?: {
4408
5882
  type: "exact";
@@ -4420,12 +5894,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4420
5894
  term: string;
4421
5895
  } | undefined;
4422
5896
  updatedAt?: {
4423
- type: "exact";
4424
- term: string;
4425
- } | {
4426
5897
  type: "range";
4427
5898
  gte: string;
4428
5899
  lte: string;
5900
+ } | {
5901
+ type: "exact";
5902
+ term: string;
4429
5903
  } | undefined;
4430
5904
  trackingId?: {
4431
5905
  type: "exact";
@@ -4451,12 +5925,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4451
5925
  })[] | undefined;
4452
5926
  eventType?: string | undefined;
4453
5927
  'legalStatus.REGISTERED.createdAt'?: {
4454
- type: "exact";
4455
- term: string;
4456
- } | {
4457
5928
  type: "range";
4458
5929
  gte: string;
4459
5930
  lte: string;
5931
+ } | {
5932
+ type: "exact";
5933
+ term: string;
4460
5934
  } | undefined;
4461
5935
  'legalStatus.REGISTERED.createdAtLocation'?: {
4462
5936
  type: "exact";
@@ -4482,13 +5956,14 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4482
5956
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4483
5957
  } | undefined;
4484
5958
  data?: any;
5959
+ createdByUserType?: "system" | "user" | undefined;
4485
5960
  createdAt?: {
4486
- type: "exact";
4487
- term: string;
4488
- } | {
4489
5961
  type: "range";
4490
5962
  gte: string;
4491
5963
  lte: string;
5964
+ } | {
5965
+ type: "exact";
5966
+ term: string;
4492
5967
  } | undefined;
4493
5968
  createdBy?: {
4494
5969
  type: "exact";
@@ -4506,12 +5981,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4506
5981
  term: string;
4507
5982
  } | undefined;
4508
5983
  updatedAt?: {
4509
- type: "exact";
4510
- term: string;
4511
- } | {
4512
5984
  type: "range";
4513
5985
  gte: string;
4514
5986
  lte: string;
5987
+ } | {
5988
+ type: "exact";
5989
+ term: string;
4515
5990
  } | undefined;
4516
5991
  trackingId?: {
4517
5992
  type: "exact";
@@ -4537,12 +6012,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4537
6012
  })[] | undefined;
4538
6013
  eventType?: string | undefined;
4539
6014
  'legalStatus.REGISTERED.createdAt'?: {
4540
- type: "exact";
4541
- term: string;
4542
- } | {
4543
6015
  type: "range";
4544
6016
  gte: string;
4545
6017
  lte: string;
6018
+ } | {
6019
+ type: "exact";
6020
+ term: string;
4546
6021
  } | undefined;
4547
6022
  'legalStatus.REGISTERED.createdAtLocation'?: {
4548
6023
  type: "exact";
@@ -4565,13 +6040,14 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4565
6040
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4566
6041
  } | undefined;
4567
6042
  data?: any;
6043
+ createdByUserType?: "system" | "user" | undefined;
4568
6044
  createdAt?: {
4569
- type: "exact";
4570
- term: string;
4571
- } | {
4572
6045
  type: "range";
4573
6046
  gte: string;
4574
6047
  lte: string;
6048
+ } | {
6049
+ type: "exact";
6050
+ term: string;
4575
6051
  } | undefined;
4576
6052
  createdBy?: {
4577
6053
  type: "exact";
@@ -4589,12 +6065,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4589
6065
  term: string;
4590
6066
  } | undefined;
4591
6067
  updatedAt?: {
4592
- type: "exact";
4593
- term: string;
4594
- } | {
4595
6068
  type: "range";
4596
6069
  gte: string;
4597
6070
  lte: string;
6071
+ } | {
6072
+ type: "exact";
6073
+ term: string;
4598
6074
  } | undefined;
4599
6075
  trackingId?: {
4600
6076
  type: "exact";
@@ -4620,12 +6096,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4620
6096
  })[] | undefined;
4621
6097
  eventType?: string | undefined;
4622
6098
  'legalStatus.REGISTERED.createdAt'?: {
4623
- type: "exact";
4624
- term: string;
4625
- } | {
4626
6099
  type: "range";
4627
6100
  gte: string;
4628
6101
  lte: string;
6102
+ } | {
6103
+ type: "exact";
6104
+ term: string;
4629
6105
  } | undefined;
4630
6106
  'legalStatus.REGISTERED.createdAtLocation'?: {
4631
6107
  type: "exact";
@@ -4656,13 +6132,14 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4656
6132
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4657
6133
  } | undefined;
4658
6134
  data?: any;
6135
+ createdByUserType?: "system" | "user" | undefined;
4659
6136
  createdAt?: {
4660
- type: "exact";
4661
- term: string;
4662
- } | {
4663
6137
  type: "range";
4664
6138
  gte: string;
4665
6139
  lte: string;
6140
+ } | {
6141
+ type: "exact";
6142
+ term: string;
4666
6143
  } | undefined;
4667
6144
  createdBy?: {
4668
6145
  type: "exact";
@@ -4680,12 +6157,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4680
6157
  term: string;
4681
6158
  } | undefined;
4682
6159
  updatedAt?: {
4683
- type: "exact";
4684
- term: string;
4685
- } | {
4686
6160
  type: "range";
4687
6161
  gte: string;
4688
6162
  lte: string;
6163
+ } | {
6164
+ type: "exact";
6165
+ term: string;
4689
6166
  } | undefined;
4690
6167
  trackingId?: {
4691
6168
  type: "exact";
@@ -4711,12 +6188,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4711
6188
  })[] | undefined;
4712
6189
  eventType?: string | undefined;
4713
6190
  'legalStatus.REGISTERED.createdAt'?: {
4714
- type: "exact";
4715
- term: string;
4716
- } | {
4717
6191
  type: "range";
4718
6192
  gte: string;
4719
6193
  lte: string;
6194
+ } | {
6195
+ type: "exact";
6196
+ term: string;
4720
6197
  } | undefined;
4721
6198
  'legalStatus.REGISTERED.createdAtLocation'?: {
4722
6199
  type: "exact";
@@ -4739,13 +6216,14 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4739
6216
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4740
6217
  } | undefined;
4741
6218
  data?: any;
6219
+ createdByUserType?: "system" | "user" | undefined;
4742
6220
  createdAt?: {
4743
- type: "exact";
4744
- term: string;
4745
- } | {
4746
6221
  type: "range";
4747
6222
  gte: string;
4748
6223
  lte: string;
6224
+ } | {
6225
+ type: "exact";
6226
+ term: string;
4749
6227
  } | undefined;
4750
6228
  createdBy?: {
4751
6229
  type: "exact";
@@ -4763,12 +6241,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4763
6241
  term: string;
4764
6242
  } | undefined;
4765
6243
  updatedAt?: {
4766
- type: "exact";
4767
- term: string;
4768
- } | {
4769
6244
  type: "range";
4770
6245
  gte: string;
4771
6246
  lte: string;
6247
+ } | {
6248
+ type: "exact";
6249
+ term: string;
4772
6250
  } | undefined;
4773
6251
  trackingId?: {
4774
6252
  type: "exact";
@@ -4794,12 +6272,12 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
4794
6272
  })[] | undefined;
4795
6273
  eventType?: string | undefined;
4796
6274
  'legalStatus.REGISTERED.createdAt'?: {
4797
- type: "exact";
4798
- term: string;
4799
- } | {
4800
6275
  type: "range";
4801
6276
  gte: string;
4802
6277
  lte: string;
6278
+ } | {
6279
+ type: "exact";
6280
+ term: string;
4803
6281
  } | undefined;
4804
6282
  'legalStatus.REGISTERED.createdAtLocation'?: {
4805
6283
  type: "exact";