@opencrvs/toolkit 1.8.0-rc.fe87a15 → 1.8.0-rc.fe8c092

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/commons/api/router.d.ts +6884 -614
  2. package/dist/commons/conditionals/conditionals.d.ts +4 -0
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +18678 -6326
  5. package/dist/commons/events/ActionDocument.d.ts +1923 -414
  6. package/dist/commons/events/ActionInput.d.ts +1504 -304
  7. package/dist/commons/events/ActionType.d.ts +6 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +75 -3
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +1 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +254 -168
  12. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  13. package/dist/commons/events/Draft.d.ts +134 -33
  14. package/dist/commons/events/EventConfig.d.ts +8242 -2365
  15. package/dist/commons/events/EventDocument.d.ts +1242 -298
  16. package/dist/commons/events/EventIndex.d.ts +798 -123
  17. package/dist/commons/events/EventMetadata.d.ts +62 -59
  18. package/dist/commons/events/FieldConfig.d.ts +1572 -746
  19. package/dist/commons/events/FieldType.d.ts +4 -1
  20. package/dist/commons/events/FieldTypeMapping.d.ts +89 -50
  21. package/dist/commons/events/FieldValue.d.ts +41 -5
  22. package/dist/commons/events/FormConfig.d.ts +7640 -2444
  23. package/dist/commons/events/PageConfig.d.ts +2816 -1540
  24. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  25. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  26. package/dist/commons/events/WorkqueueConfig.d.ts +3277 -1512
  27. package/dist/commons/events/defineConfig.d.ts +959 -13
  28. package/dist/commons/events/field.d.ts +4 -0
  29. package/dist/commons/events/index.d.ts +1 -0
  30. package/dist/commons/events/scopes.d.ts +1 -2
  31. package/dist/commons/events/test.utils.d.ts +138 -40
  32. package/dist/commons/events/transactions.d.ts +1 -1
  33. package/dist/commons/events/utils.d.ts +9666 -16
  34. package/dist/conditionals/index.js +18 -1
  35. package/dist/events/index.js +1592 -1011
  36. package/dist/scopes/index.d.ts +4 -1
  37. package/dist/scopes/index.js +67 -17
  38. package/package.json +1 -1
@@ -20,20 +20,25 @@ export declare const SerializedQueryExpression: z.ZodObject<{
20
20
  type: "exact";
21
21
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
22
22
  }>]>>>;
23
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
23
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
24
24
  type: z.ZodLiteral<"exact">;
25
25
  term: z.ZodString;
26
- }, "strip", z.ZodTypeAny, {
26
+ }, {
27
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
28
+ }>, "strip", z.ZodTypeAny, {
27
29
  type: "exact";
28
30
  term: string;
29
31
  }, {
30
32
  type: "exact";
31
33
  term: string;
32
- }>, z.ZodObject<{
34
+ }>, z.ZodObject<z.objectUtil.extendShape<{
33
35
  type: z.ZodLiteral<"range">;
34
36
  gte: z.ZodString;
35
37
  lte: z.ZodString;
36
- }, "strip", z.ZodTypeAny, {
38
+ }, {
39
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
40
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
41
+ }>, "strip", z.ZodTypeAny, {
37
42
  type: "range";
38
43
  gte: string;
39
44
  lte: string;
@@ -42,20 +47,25 @@ export declare const SerializedQueryExpression: z.ZodObject<{
42
47
  gte: string;
43
48
  lte: string;
44
49
  }>]>>>;
45
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
50
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
46
51
  type: z.ZodLiteral<"exact">;
47
52
  term: z.ZodString;
48
- }, "strip", z.ZodTypeAny, {
53
+ }, {
54
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
55
+ }>, "strip", z.ZodTypeAny, {
49
56
  type: "exact";
50
57
  term: string;
51
58
  }, {
52
59
  type: "exact";
53
60
  term: string;
54
- }>, z.ZodObject<{
61
+ }>, z.ZodObject<z.objectUtil.extendShape<{
55
62
  type: z.ZodLiteral<"range">;
56
63
  gte: z.ZodString;
57
64
  lte: z.ZodString;
58
- }, "strip", z.ZodTypeAny, {
65
+ }, {
66
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
67
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
68
+ }>, "strip", z.ZodTypeAny, {
59
69
  type: "range";
60
70
  gte: string;
61
71
  lte: string;
@@ -182,6 +192,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
182
192
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
183
193
  };
184
194
  }>>>;
195
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
185
196
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
186
197
  type: z.ZodLiteral<"exact">;
187
198
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -241,13 +252,14 @@ export declare const SerializedQueryExpression: z.ZodObject<{
241
252
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
242
253
  } | undefined;
243
254
  data?: any;
255
+ createdByUserType?: "system" | "user" | undefined;
244
256
  createdAt?: {
245
- type: "exact";
246
- term: string;
247
- } | {
248
257
  type: "range";
249
258
  gte: string;
250
259
  lte: string;
260
+ } | {
261
+ type: "exact";
262
+ term: string;
251
263
  } | undefined;
252
264
  createdBy?: {
253
265
  type: "exact";
@@ -273,12 +285,12 @@ export declare const SerializedQueryExpression: z.ZodObject<{
273
285
  };
274
286
  } | undefined;
275
287
  updatedAt?: {
276
- type: "exact";
277
- term: string;
278
- } | {
279
288
  type: "range";
280
289
  gte: string;
281
290
  lte: string;
291
+ } | {
292
+ type: "exact";
293
+ term: string;
282
294
  } | undefined;
283
295
  trackingId?: {
284
296
  type: "exact";
@@ -318,13 +330,14 @@ export declare const SerializedQueryExpression: z.ZodObject<{
318
330
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
319
331
  } | undefined;
320
332
  data?: any;
333
+ createdByUserType?: "system" | "user" | undefined;
321
334
  createdAt?: {
322
- type: "exact";
323
- term: string;
324
- } | {
325
335
  type: "range";
326
336
  gte: string;
327
337
  lte: string;
338
+ } | {
339
+ type: "exact";
340
+ term: string;
328
341
  } | undefined;
329
342
  createdBy?: {
330
343
  type: "exact";
@@ -350,12 +363,12 @@ export declare const SerializedQueryExpression: z.ZodObject<{
350
363
  };
351
364
  } | undefined;
352
365
  updatedAt?: {
353
- type: "exact";
354
- term: string;
355
- } | {
356
366
  type: "range";
357
367
  gte: string;
358
368
  lte: string;
369
+ } | {
370
+ type: "exact";
371
+ term: string;
359
372
  } | undefined;
360
373
  trackingId?: {
361
374
  type: "exact";
@@ -411,20 +424,25 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
411
424
  type: "exact";
412
425
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
413
426
  }>]>>>;
414
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
427
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
415
428
  type: z.ZodLiteral<"exact">;
416
429
  term: z.ZodString;
417
- }, "strip", z.ZodTypeAny, {
430
+ }, {
431
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
432
+ }>, "strip", z.ZodTypeAny, {
418
433
  type: "exact";
419
434
  term: string;
420
435
  }, {
421
436
  type: "exact";
422
437
  term: string;
423
- }>, z.ZodObject<{
438
+ }>, z.ZodObject<z.objectUtil.extendShape<{
424
439
  type: z.ZodLiteral<"range">;
425
440
  gte: z.ZodString;
426
441
  lte: z.ZodString;
427
- }, "strip", z.ZodTypeAny, {
442
+ }, {
443
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
444
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
445
+ }>, "strip", z.ZodTypeAny, {
428
446
  type: "range";
429
447
  gte: string;
430
448
  lte: string;
@@ -433,20 +451,25 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
433
451
  gte: string;
434
452
  lte: string;
435
453
  }>]>>>;
436
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
454
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
437
455
  type: z.ZodLiteral<"exact">;
438
456
  term: z.ZodString;
439
- }, "strip", z.ZodTypeAny, {
457
+ }, {
458
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
459
+ }>, "strip", z.ZodTypeAny, {
440
460
  type: "exact";
441
461
  term: string;
442
462
  }, {
443
463
  type: "exact";
444
464
  term: string;
445
- }>, z.ZodObject<{
465
+ }>, z.ZodObject<z.objectUtil.extendShape<{
446
466
  type: z.ZodLiteral<"range">;
447
467
  gte: z.ZodString;
448
468
  lte: z.ZodString;
449
- }, "strip", z.ZodTypeAny, {
469
+ }, {
470
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
471
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
472
+ }>, "strip", z.ZodTypeAny, {
450
473
  type: "range";
451
474
  gte: string;
452
475
  lte: string;
@@ -573,6 +596,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
573
596
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
574
597
  };
575
598
  }>>>;
599
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
576
600
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
577
601
  type: z.ZodLiteral<"exact">;
578
602
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -632,13 +656,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
632
656
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
633
657
  } | undefined;
634
658
  data?: any;
659
+ createdByUserType?: "system" | "user" | undefined;
635
660
  createdAt?: {
636
- type: "exact";
637
- term: string;
638
- } | {
639
661
  type: "range";
640
662
  gte: string;
641
663
  lte: string;
664
+ } | {
665
+ type: "exact";
666
+ term: string;
642
667
  } | undefined;
643
668
  createdBy?: {
644
669
  type: "exact";
@@ -664,12 +689,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
664
689
  };
665
690
  } | undefined;
666
691
  updatedAt?: {
667
- type: "exact";
668
- term: string;
669
- } | {
670
692
  type: "range";
671
693
  gte: string;
672
694
  lte: string;
695
+ } | {
696
+ type: "exact";
697
+ term: string;
673
698
  } | undefined;
674
699
  trackingId?: {
675
700
  type: "exact";
@@ -709,13 +734,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
709
734
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
710
735
  } | undefined;
711
736
  data?: any;
737
+ createdByUserType?: "system" | "user" | undefined;
712
738
  createdAt?: {
713
- type: "exact";
714
- term: string;
715
- } | {
716
739
  type: "range";
717
740
  gte: string;
718
741
  lte: string;
742
+ } | {
743
+ type: "exact";
744
+ term: string;
719
745
  } | undefined;
720
746
  createdBy?: {
721
747
  type: "exact";
@@ -741,12 +767,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
741
767
  };
742
768
  } | undefined;
743
769
  updatedAt?: {
744
- type: "exact";
745
- term: string;
746
- } | {
747
770
  type: "range";
748
771
  gte: string;
749
772
  lte: string;
773
+ } | {
774
+ type: "exact";
775
+ term: string;
750
776
  } | undefined;
751
777
  trackingId?: {
752
778
  type: "exact";
@@ -789,13 +815,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
789
815
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
790
816
  } | undefined;
791
817
  data?: any;
818
+ createdByUserType?: "system" | "user" | undefined;
792
819
  createdAt?: {
793
- type: "exact";
794
- term: string;
795
- } | {
796
820
  type: "range";
797
821
  gte: string;
798
822
  lte: string;
823
+ } | {
824
+ type: "exact";
825
+ term: string;
799
826
  } | undefined;
800
827
  createdBy?: {
801
828
  type: "exact";
@@ -821,12 +848,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
821
848
  };
822
849
  } | undefined;
823
850
  updatedAt?: {
824
- type: "exact";
825
- term: string;
826
- } | {
827
851
  type: "range";
828
852
  gte: string;
829
853
  lte: string;
854
+ } | {
855
+ type: "exact";
856
+ term: string;
830
857
  } | undefined;
831
858
  trackingId?: {
832
859
  type: "exact";
@@ -869,13 +896,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
869
896
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
870
897
  } | undefined;
871
898
  data?: any;
899
+ createdByUserType?: "system" | "user" | undefined;
872
900
  createdAt?: {
873
- type: "exact";
874
- term: string;
875
- } | {
876
901
  type: "range";
877
902
  gte: string;
878
903
  lte: string;
904
+ } | {
905
+ type: "exact";
906
+ term: string;
879
907
  } | undefined;
880
908
  createdBy?: {
881
909
  type: "exact";
@@ -901,12 +929,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
901
929
  };
902
930
  } | undefined;
903
931
  updatedAt?: {
904
- type: "exact";
905
- term: string;
906
- } | {
907
932
  type: "range";
908
933
  gte: string;
909
934
  lte: string;
935
+ } | {
936
+ type: "exact";
937
+ term: string;
910
938
  } | undefined;
911
939
  trackingId?: {
912
940
  type: "exact";
@@ -961,20 +989,25 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
961
989
  type: "exact";
962
990
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
963
991
  }>]>>>;
964
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
992
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
965
993
  type: z.ZodLiteral<"exact">;
966
994
  term: z.ZodString;
967
- }, "strip", z.ZodTypeAny, {
995
+ }, {
996
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
997
+ }>, "strip", z.ZodTypeAny, {
968
998
  type: "exact";
969
999
  term: string;
970
1000
  }, {
971
1001
  type: "exact";
972
1002
  term: string;
973
- }>, z.ZodObject<{
1003
+ }>, z.ZodObject<z.objectUtil.extendShape<{
974
1004
  type: z.ZodLiteral<"range">;
975
1005
  gte: z.ZodString;
976
1006
  lte: z.ZodString;
977
- }, "strip", z.ZodTypeAny, {
1007
+ }, {
1008
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1009
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1010
+ }>, "strip", z.ZodTypeAny, {
978
1011
  type: "range";
979
1012
  gte: string;
980
1013
  lte: string;
@@ -983,20 +1016,25 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
983
1016
  gte: string;
984
1017
  lte: string;
985
1018
  }>]>>>;
986
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1019
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
987
1020
  type: z.ZodLiteral<"exact">;
988
1021
  term: z.ZodString;
989
- }, "strip", z.ZodTypeAny, {
1022
+ }, {
1023
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1024
+ }>, "strip", z.ZodTypeAny, {
990
1025
  type: "exact";
991
1026
  term: string;
992
1027
  }, {
993
1028
  type: "exact";
994
1029
  term: string;
995
- }>, z.ZodObject<{
1030
+ }>, z.ZodObject<z.objectUtil.extendShape<{
996
1031
  type: z.ZodLiteral<"range">;
997
1032
  gte: z.ZodString;
998
1033
  lte: z.ZodString;
999
- }, "strip", z.ZodTypeAny, {
1034
+ }, {
1035
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1036
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1037
+ }>, "strip", z.ZodTypeAny, {
1000
1038
  type: "range";
1001
1039
  gte: string;
1002
1040
  lte: string;
@@ -1123,6 +1161,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1123
1161
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1124
1162
  };
1125
1163
  }>>>;
1164
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1126
1165
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1127
1166
  type: z.ZodLiteral<"exact">;
1128
1167
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1182,13 +1221,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1182
1221
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1183
1222
  } | undefined;
1184
1223
  data?: any;
1224
+ createdByUserType?: "system" | "user" | undefined;
1185
1225
  createdAt?: {
1186
- type: "exact";
1187
- term: string;
1188
- } | {
1189
1226
  type: "range";
1190
1227
  gte: string;
1191
1228
  lte: string;
1229
+ } | {
1230
+ type: "exact";
1231
+ term: string;
1192
1232
  } | undefined;
1193
1233
  createdBy?: {
1194
1234
  type: "exact";
@@ -1214,12 +1254,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1214
1254
  };
1215
1255
  } | undefined;
1216
1256
  updatedAt?: {
1217
- type: "exact";
1218
- term: string;
1219
- } | {
1220
1257
  type: "range";
1221
1258
  gte: string;
1222
1259
  lte: string;
1260
+ } | {
1261
+ type: "exact";
1262
+ term: string;
1223
1263
  } | undefined;
1224
1264
  trackingId?: {
1225
1265
  type: "exact";
@@ -1259,13 +1299,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1259
1299
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1260
1300
  } | undefined;
1261
1301
  data?: any;
1302
+ createdByUserType?: "system" | "user" | undefined;
1262
1303
  createdAt?: {
1263
- type: "exact";
1264
- term: string;
1265
- } | {
1266
1304
  type: "range";
1267
1305
  gte: string;
1268
1306
  lte: string;
1307
+ } | {
1308
+ type: "exact";
1309
+ term: string;
1269
1310
  } | undefined;
1270
1311
  createdBy?: {
1271
1312
  type: "exact";
@@ -1291,12 +1332,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1291
1332
  };
1292
1333
  } | undefined;
1293
1334
  updatedAt?: {
1294
- type: "exact";
1295
- term: string;
1296
- } | {
1297
1335
  type: "range";
1298
1336
  gte: string;
1299
1337
  lte: string;
1338
+ } | {
1339
+ type: "exact";
1340
+ term: string;
1300
1341
  } | undefined;
1301
1342
  trackingId?: {
1302
1343
  type: "exact";
@@ -1339,13 +1380,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1339
1380
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1340
1381
  } | undefined;
1341
1382
  data?: any;
1383
+ createdByUserType?: "system" | "user" | undefined;
1342
1384
  createdAt?: {
1343
- type: "exact";
1344
- term: string;
1345
- } | {
1346
1385
  type: "range";
1347
1386
  gte: string;
1348
1387
  lte: string;
1388
+ } | {
1389
+ type: "exact";
1390
+ term: string;
1349
1391
  } | undefined;
1350
1392
  createdBy?: {
1351
1393
  type: "exact";
@@ -1371,12 +1413,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1371
1413
  };
1372
1414
  } | undefined;
1373
1415
  updatedAt?: {
1374
- type: "exact";
1375
- term: string;
1376
- } | {
1377
1416
  type: "range";
1378
1417
  gte: string;
1379
1418
  lte: string;
1419
+ } | {
1420
+ type: "exact";
1421
+ term: string;
1380
1422
  } | undefined;
1381
1423
  trackingId?: {
1382
1424
  type: "exact";
@@ -1419,13 +1461,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1419
1461
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1420
1462
  } | undefined;
1421
1463
  data?: any;
1464
+ createdByUserType?: "system" | "user" | undefined;
1422
1465
  createdAt?: {
1423
- type: "exact";
1424
- term: string;
1425
- } | {
1426
1466
  type: "range";
1427
1467
  gte: string;
1428
1468
  lte: string;
1469
+ } | {
1470
+ type: "exact";
1471
+ term: string;
1429
1472
  } | undefined;
1430
1473
  createdBy?: {
1431
1474
  type: "exact";
@@ -1451,12 +1494,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1451
1494
  };
1452
1495
  } | undefined;
1453
1496
  updatedAt?: {
1454
- type: "exact";
1455
- term: string;
1456
- } | {
1457
1497
  type: "range";
1458
1498
  gte: string;
1459
1499
  lte: string;
1500
+ } | {
1501
+ type: "exact";
1502
+ term: string;
1460
1503
  } | undefined;
1461
1504
  trackingId?: {
1462
1505
  type: "exact";
@@ -1511,20 +1554,25 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1511
1554
  type: "exact";
1512
1555
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1513
1556
  }>]>>>;
1514
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1557
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1515
1558
  type: z.ZodLiteral<"exact">;
1516
1559
  term: z.ZodString;
1517
- }, "strip", z.ZodTypeAny, {
1560
+ }, {
1561
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1562
+ }>, "strip", z.ZodTypeAny, {
1518
1563
  type: "exact";
1519
1564
  term: string;
1520
1565
  }, {
1521
1566
  type: "exact";
1522
1567
  term: string;
1523
- }>, z.ZodObject<{
1568
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1524
1569
  type: z.ZodLiteral<"range">;
1525
1570
  gte: z.ZodString;
1526
1571
  lte: z.ZodString;
1527
- }, "strip", z.ZodTypeAny, {
1572
+ }, {
1573
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1574
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1575
+ }>, "strip", z.ZodTypeAny, {
1528
1576
  type: "range";
1529
1577
  gte: string;
1530
1578
  lte: string;
@@ -1533,20 +1581,25 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1533
1581
  gte: string;
1534
1582
  lte: string;
1535
1583
  }>]>>>;
1536
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1584
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1537
1585
  type: z.ZodLiteral<"exact">;
1538
1586
  term: z.ZodString;
1539
- }, "strip", z.ZodTypeAny, {
1587
+ }, {
1588
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1589
+ }>, "strip", z.ZodTypeAny, {
1540
1590
  type: "exact";
1541
1591
  term: string;
1542
1592
  }, {
1543
1593
  type: "exact";
1544
1594
  term: string;
1545
- }>, z.ZodObject<{
1595
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1546
1596
  type: z.ZodLiteral<"range">;
1547
1597
  gte: z.ZodString;
1548
1598
  lte: z.ZodString;
1549
- }, "strip", z.ZodTypeAny, {
1599
+ }, {
1600
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1601
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1602
+ }>, "strip", z.ZodTypeAny, {
1550
1603
  type: "range";
1551
1604
  gte: string;
1552
1605
  lte: string;
@@ -1673,6 +1726,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1673
1726
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1674
1727
  };
1675
1728
  }>>>;
1729
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1676
1730
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1677
1731
  type: z.ZodLiteral<"exact">;
1678
1732
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1732,13 +1786,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1732
1786
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1733
1787
  } | undefined;
1734
1788
  data?: any;
1789
+ createdByUserType?: "system" | "user" | undefined;
1735
1790
  createdAt?: {
1736
- type: "exact";
1737
- term: string;
1738
- } | {
1739
1791
  type: "range";
1740
1792
  gte: string;
1741
1793
  lte: string;
1794
+ } | {
1795
+ type: "exact";
1796
+ term: string;
1742
1797
  } | undefined;
1743
1798
  createdBy?: {
1744
1799
  type: "exact";
@@ -1764,12 +1819,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1764
1819
  };
1765
1820
  } | undefined;
1766
1821
  updatedAt?: {
1767
- type: "exact";
1768
- term: string;
1769
- } | {
1770
1822
  type: "range";
1771
1823
  gte: string;
1772
1824
  lte: string;
1825
+ } | {
1826
+ type: "exact";
1827
+ term: string;
1773
1828
  } | undefined;
1774
1829
  trackingId?: {
1775
1830
  type: "exact";
@@ -1809,13 +1864,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1809
1864
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1810
1865
  } | undefined;
1811
1866
  data?: any;
1867
+ createdByUserType?: "system" | "user" | undefined;
1812
1868
  createdAt?: {
1813
- type: "exact";
1814
- term: string;
1815
- } | {
1816
1869
  type: "range";
1817
1870
  gte: string;
1818
1871
  lte: string;
1872
+ } | {
1873
+ type: "exact";
1874
+ term: string;
1819
1875
  } | undefined;
1820
1876
  createdBy?: {
1821
1877
  type: "exact";
@@ -1841,12 +1897,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1841
1897
  };
1842
1898
  } | undefined;
1843
1899
  updatedAt?: {
1844
- type: "exact";
1845
- term: string;
1846
- } | {
1847
1900
  type: "range";
1848
1901
  gte: string;
1849
1902
  lte: string;
1903
+ } | {
1904
+ type: "exact";
1905
+ term: string;
1850
1906
  } | undefined;
1851
1907
  trackingId?: {
1852
1908
  type: "exact";
@@ -1900,20 +1956,25 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1900
1956
  type: "exact";
1901
1957
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1902
1958
  }>]>>>;
1903
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1959
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1904
1960
  type: z.ZodLiteral<"exact">;
1905
1961
  term: z.ZodString;
1906
- }, "strip", z.ZodTypeAny, {
1962
+ }, {
1963
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1964
+ }>, "strip", z.ZodTypeAny, {
1907
1965
  type: "exact";
1908
1966
  term: string;
1909
1967
  }, {
1910
1968
  type: "exact";
1911
1969
  term: string;
1912
- }>, z.ZodObject<{
1970
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1913
1971
  type: z.ZodLiteral<"range">;
1914
1972
  gte: z.ZodString;
1915
1973
  lte: z.ZodString;
1916
- }, "strip", z.ZodTypeAny, {
1974
+ }, {
1975
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1976
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1977
+ }>, "strip", z.ZodTypeAny, {
1917
1978
  type: "range";
1918
1979
  gte: string;
1919
1980
  lte: string;
@@ -1922,20 +1983,25 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1922
1983
  gte: string;
1923
1984
  lte: string;
1924
1985
  }>]>>>;
1925
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1986
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1926
1987
  type: z.ZodLiteral<"exact">;
1927
1988
  term: z.ZodString;
1928
- }, "strip", z.ZodTypeAny, {
1989
+ }, {
1990
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1991
+ }>, "strip", z.ZodTypeAny, {
1929
1992
  type: "exact";
1930
1993
  term: string;
1931
1994
  }, {
1932
1995
  type: "exact";
1933
1996
  term: string;
1934
- }>, z.ZodObject<{
1997
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1935
1998
  type: z.ZodLiteral<"range">;
1936
1999
  gte: z.ZodString;
1937
2000
  lte: z.ZodString;
1938
- }, "strip", z.ZodTypeAny, {
2001
+ }, {
2002
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2003
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2004
+ }>, "strip", z.ZodTypeAny, {
1939
2005
  type: "range";
1940
2006
  gte: string;
1941
2007
  lte: string;
@@ -2062,6 +2128,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2062
2128
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2063
2129
  };
2064
2130
  }>>>;
2131
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2065
2132
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2066
2133
  type: z.ZodLiteral<"exact">;
2067
2134
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2121,13 +2188,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2121
2188
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2122
2189
  } | undefined;
2123
2190
  data?: any;
2191
+ createdByUserType?: "system" | "user" | undefined;
2124
2192
  createdAt?: {
2125
- type: "exact";
2126
- term: string;
2127
- } | {
2128
2193
  type: "range";
2129
2194
  gte: string;
2130
2195
  lte: string;
2196
+ } | {
2197
+ type: "exact";
2198
+ term: string;
2131
2199
  } | undefined;
2132
2200
  createdBy?: {
2133
2201
  type: "exact";
@@ -2153,12 +2221,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2153
2221
  };
2154
2222
  } | undefined;
2155
2223
  updatedAt?: {
2156
- type: "exact";
2157
- term: string;
2158
- } | {
2159
2224
  type: "range";
2160
2225
  gte: string;
2161
2226
  lte: string;
2227
+ } | {
2228
+ type: "exact";
2229
+ term: string;
2162
2230
  } | undefined;
2163
2231
  trackingId?: {
2164
2232
  type: "exact";
@@ -2198,13 +2266,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2198
2266
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2199
2267
  } | undefined;
2200
2268
  data?: any;
2269
+ createdByUserType?: "system" | "user" | undefined;
2201
2270
  createdAt?: {
2202
- type: "exact";
2203
- term: string;
2204
- } | {
2205
2271
  type: "range";
2206
2272
  gte: string;
2207
2273
  lte: string;
2274
+ } | {
2275
+ type: "exact";
2276
+ term: string;
2208
2277
  } | undefined;
2209
2278
  createdBy?: {
2210
2279
  type: "exact";
@@ -2230,12 +2299,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2230
2299
  };
2231
2300
  } | undefined;
2232
2301
  updatedAt?: {
2233
- type: "exact";
2234
- term: string;
2235
- } | {
2236
2302
  type: "range";
2237
2303
  gte: string;
2238
2304
  lte: string;
2305
+ } | {
2306
+ type: "exact";
2307
+ term: string;
2239
2308
  } | undefined;
2240
2309
  trackingId?: {
2241
2310
  type: "exact";
@@ -2278,13 +2347,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2278
2347
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2279
2348
  } | undefined;
2280
2349
  data?: any;
2350
+ createdByUserType?: "system" | "user" | undefined;
2281
2351
  createdAt?: {
2282
- type: "exact";
2283
- term: string;
2284
- } | {
2285
2352
  type: "range";
2286
2353
  gte: string;
2287
2354
  lte: string;
2355
+ } | {
2356
+ type: "exact";
2357
+ term: string;
2288
2358
  } | undefined;
2289
2359
  createdBy?: {
2290
2360
  type: "exact";
@@ -2310,12 +2380,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2310
2380
  };
2311
2381
  } | undefined;
2312
2382
  updatedAt?: {
2313
- type: "exact";
2314
- term: string;
2315
- } | {
2316
2383
  type: "range";
2317
2384
  gte: string;
2318
2385
  lte: string;
2386
+ } | {
2387
+ type: "exact";
2388
+ term: string;
2319
2389
  } | undefined;
2320
2390
  trackingId?: {
2321
2391
  type: "exact";
@@ -2358,13 +2428,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2358
2428
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2359
2429
  } | undefined;
2360
2430
  data?: any;
2431
+ createdByUserType?: "system" | "user" | undefined;
2361
2432
  createdAt?: {
2362
- type: "exact";
2363
- term: string;
2364
- } | {
2365
2433
  type: "range";
2366
2434
  gte: string;
2367
2435
  lte: string;
2436
+ } | {
2437
+ type: "exact";
2438
+ term: string;
2368
2439
  } | undefined;
2369
2440
  createdBy?: {
2370
2441
  type: "exact";
@@ -2390,12 +2461,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2390
2461
  };
2391
2462
  } | undefined;
2392
2463
  updatedAt?: {
2393
- type: "exact";
2394
- term: string;
2395
- } | {
2396
2464
  type: "range";
2397
2465
  gte: string;
2398
2466
  lte: string;
2467
+ } | {
2468
+ type: "exact";
2469
+ term: string;
2399
2470
  } | undefined;
2400
2471
  trackingId?: {
2401
2472
  type: "exact";
@@ -2450,20 +2521,25 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2450
2521
  type: "exact";
2451
2522
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2452
2523
  }>]>>>;
2453
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2524
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2454
2525
  type: z.ZodLiteral<"exact">;
2455
2526
  term: z.ZodString;
2456
- }, "strip", z.ZodTypeAny, {
2527
+ }, {
2528
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2529
+ }>, "strip", z.ZodTypeAny, {
2457
2530
  type: "exact";
2458
2531
  term: string;
2459
2532
  }, {
2460
2533
  type: "exact";
2461
2534
  term: string;
2462
- }>, z.ZodObject<{
2535
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2463
2536
  type: z.ZodLiteral<"range">;
2464
2537
  gte: z.ZodString;
2465
2538
  lte: z.ZodString;
2466
- }, "strip", z.ZodTypeAny, {
2539
+ }, {
2540
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2541
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2542
+ }>, "strip", z.ZodTypeAny, {
2467
2543
  type: "range";
2468
2544
  gte: string;
2469
2545
  lte: string;
@@ -2472,20 +2548,25 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2472
2548
  gte: string;
2473
2549
  lte: string;
2474
2550
  }>]>>>;
2475
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2551
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2476
2552
  type: z.ZodLiteral<"exact">;
2477
2553
  term: z.ZodString;
2478
- }, "strip", z.ZodTypeAny, {
2554
+ }, {
2555
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2556
+ }>, "strip", z.ZodTypeAny, {
2479
2557
  type: "exact";
2480
2558
  term: string;
2481
2559
  }, {
2482
2560
  type: "exact";
2483
2561
  term: string;
2484
- }>, z.ZodObject<{
2562
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2485
2563
  type: z.ZodLiteral<"range">;
2486
2564
  gte: z.ZodString;
2487
2565
  lte: z.ZodString;
2488
- }, "strip", z.ZodTypeAny, {
2566
+ }, {
2567
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2568
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2569
+ }>, "strip", z.ZodTypeAny, {
2489
2570
  type: "range";
2490
2571
  gte: string;
2491
2572
  lte: string;
@@ -2612,6 +2693,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2612
2693
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2613
2694
  };
2614
2695
  }>>>;
2696
+ createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2615
2697
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2616
2698
  type: z.ZodLiteral<"exact">;
2617
2699
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2671,13 +2753,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2671
2753
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2672
2754
  } | undefined;
2673
2755
  data?: any;
2756
+ createdByUserType?: "system" | "user" | undefined;
2674
2757
  createdAt?: {
2675
- type: "exact";
2676
- term: string;
2677
- } | {
2678
2758
  type: "range";
2679
2759
  gte: string;
2680
2760
  lte: string;
2761
+ } | {
2762
+ type: "exact";
2763
+ term: string;
2681
2764
  } | undefined;
2682
2765
  createdBy?: {
2683
2766
  type: "exact";
@@ -2703,12 +2786,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2703
2786
  };
2704
2787
  } | undefined;
2705
2788
  updatedAt?: {
2706
- type: "exact";
2707
- term: string;
2708
- } | {
2709
2789
  type: "range";
2710
2790
  gte: string;
2711
2791
  lte: string;
2792
+ } | {
2793
+ type: "exact";
2794
+ term: string;
2712
2795
  } | undefined;
2713
2796
  trackingId?: {
2714
2797
  type: "exact";
@@ -2748,13 +2831,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2748
2831
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2749
2832
  } | undefined;
2750
2833
  data?: any;
2834
+ createdByUserType?: "system" | "user" | undefined;
2751
2835
  createdAt?: {
2752
- type: "exact";
2753
- term: string;
2754
- } | {
2755
2836
  type: "range";
2756
2837
  gte: string;
2757
2838
  lte: string;
2839
+ } | {
2840
+ type: "exact";
2841
+ term: string;
2758
2842
  } | undefined;
2759
2843
  createdBy?: {
2760
2844
  type: "exact";
@@ -2780,12 +2864,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2780
2864
  };
2781
2865
  } | undefined;
2782
2866
  updatedAt?: {
2783
- type: "exact";
2784
- term: string;
2785
- } | {
2786
2867
  type: "range";
2787
2868
  gte: string;
2788
2869
  lte: string;
2870
+ } | {
2871
+ type: "exact";
2872
+ term: string;
2789
2873
  } | undefined;
2790
2874
  trackingId?: {
2791
2875
  type: "exact";
@@ -2828,13 +2912,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2828
2912
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2829
2913
  } | undefined;
2830
2914
  data?: any;
2915
+ createdByUserType?: "system" | "user" | undefined;
2831
2916
  createdAt?: {
2832
- type: "exact";
2833
- term: string;
2834
- } | {
2835
2917
  type: "range";
2836
2918
  gte: string;
2837
2919
  lte: string;
2920
+ } | {
2921
+ type: "exact";
2922
+ term: string;
2838
2923
  } | undefined;
2839
2924
  createdBy?: {
2840
2925
  type: "exact";
@@ -2860,12 +2945,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2860
2945
  };
2861
2946
  } | undefined;
2862
2947
  updatedAt?: {
2863
- type: "exact";
2864
- term: string;
2865
- } | {
2866
2948
  type: "range";
2867
2949
  gte: string;
2868
2950
  lte: string;
2951
+ } | {
2952
+ type: "exact";
2953
+ term: string;
2869
2954
  } | undefined;
2870
2955
  trackingId?: {
2871
2956
  type: "exact";
@@ -2908,13 +2993,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2908
2993
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2909
2994
  } | undefined;
2910
2995
  data?: any;
2996
+ createdByUserType?: "system" | "user" | undefined;
2911
2997
  createdAt?: {
2912
- type: "exact";
2913
- term: string;
2914
- } | {
2915
2998
  type: "range";
2916
2999
  gte: string;
2917
3000
  lte: string;
3001
+ } | {
3002
+ type: "exact";
3003
+ term: string;
2918
3004
  } | undefined;
2919
3005
  createdBy?: {
2920
3006
  type: "exact";
@@ -2940,12 +3026,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2940
3026
  };
2941
3027
  } | undefined;
2942
3028
  updatedAt?: {
2943
- type: "exact";
2944
- term: string;
2945
- } | {
2946
3029
  type: "range";
2947
3030
  gte: string;
2948
3031
  lte: string;
3032
+ } | {
3033
+ type: "exact";
3034
+ term: string;
2949
3035
  } | undefined;
2950
3036
  trackingId?: {
2951
3037
  type: "exact";