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

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.
@@ -182,6 +182,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
182
182
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
183
183
  };
184
184
  }>>>;
185
+ creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
185
186
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
186
187
  type: z.ZodLiteral<"exact">;
187
188
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -241,6 +242,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
241
242
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
242
243
  } | undefined;
243
244
  data?: any;
245
+ creator?: "system" | "user" | undefined;
244
246
  createdAt?: {
245
247
  type: "exact";
246
248
  term: string;
@@ -318,6 +320,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
318
320
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
319
321
  } | undefined;
320
322
  data?: any;
323
+ creator?: "system" | "user" | undefined;
321
324
  createdAt?: {
322
325
  type: "exact";
323
326
  term: string;
@@ -573,6 +576,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
573
576
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
574
577
  };
575
578
  }>>>;
579
+ creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
576
580
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
577
581
  type: z.ZodLiteral<"exact">;
578
582
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -632,6 +636,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
632
636
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
633
637
  } | undefined;
634
638
  data?: any;
639
+ creator?: "system" | "user" | undefined;
635
640
  createdAt?: {
636
641
  type: "exact";
637
642
  term: string;
@@ -709,6 +714,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
709
714
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
710
715
  } | undefined;
711
716
  data?: any;
717
+ creator?: "system" | "user" | undefined;
712
718
  createdAt?: {
713
719
  type: "exact";
714
720
  term: string;
@@ -789,6 +795,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
789
795
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
790
796
  } | undefined;
791
797
  data?: any;
798
+ creator?: "system" | "user" | undefined;
792
799
  createdAt?: {
793
800
  type: "exact";
794
801
  term: string;
@@ -869,6 +876,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
869
876
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
870
877
  } | undefined;
871
878
  data?: any;
879
+ creator?: "system" | "user" | undefined;
872
880
  createdAt?: {
873
881
  type: "exact";
874
882
  term: string;
@@ -1123,6 +1131,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1123
1131
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1124
1132
  };
1125
1133
  }>>>;
1134
+ creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
1126
1135
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1127
1136
  type: z.ZodLiteral<"exact">;
1128
1137
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1182,6 +1191,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1182
1191
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1183
1192
  } | undefined;
1184
1193
  data?: any;
1194
+ creator?: "system" | "user" | undefined;
1185
1195
  createdAt?: {
1186
1196
  type: "exact";
1187
1197
  term: string;
@@ -1259,6 +1269,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1259
1269
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1260
1270
  } | undefined;
1261
1271
  data?: any;
1272
+ creator?: "system" | "user" | undefined;
1262
1273
  createdAt?: {
1263
1274
  type: "exact";
1264
1275
  term: string;
@@ -1339,6 +1350,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1339
1350
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1340
1351
  } | undefined;
1341
1352
  data?: any;
1353
+ creator?: "system" | "user" | undefined;
1342
1354
  createdAt?: {
1343
1355
  type: "exact";
1344
1356
  term: string;
@@ -1419,6 +1431,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1419
1431
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1420
1432
  } | undefined;
1421
1433
  data?: any;
1434
+ creator?: "system" | "user" | undefined;
1422
1435
  createdAt?: {
1423
1436
  type: "exact";
1424
1437
  term: string;
@@ -1673,6 +1686,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1673
1686
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1674
1687
  };
1675
1688
  }>>>;
1689
+ creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
1676
1690
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1677
1691
  type: z.ZodLiteral<"exact">;
1678
1692
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1732,6 +1746,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1732
1746
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1733
1747
  } | undefined;
1734
1748
  data?: any;
1749
+ creator?: "system" | "user" | undefined;
1735
1750
  createdAt?: {
1736
1751
  type: "exact";
1737
1752
  term: string;
@@ -1809,6 +1824,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1809
1824
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1810
1825
  } | undefined;
1811
1826
  data?: any;
1827
+ creator?: "system" | "user" | undefined;
1812
1828
  createdAt?: {
1813
1829
  type: "exact";
1814
1830
  term: string;
@@ -2062,6 +2078,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2062
2078
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2063
2079
  };
2064
2080
  }>>>;
2081
+ creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
2065
2082
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2066
2083
  type: z.ZodLiteral<"exact">;
2067
2084
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2121,6 +2138,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2121
2138
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2122
2139
  } | undefined;
2123
2140
  data?: any;
2141
+ creator?: "system" | "user" | undefined;
2124
2142
  createdAt?: {
2125
2143
  type: "exact";
2126
2144
  term: string;
@@ -2198,6 +2216,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2198
2216
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2199
2217
  } | undefined;
2200
2218
  data?: any;
2219
+ creator?: "system" | "user" | undefined;
2201
2220
  createdAt?: {
2202
2221
  type: "exact";
2203
2222
  term: string;
@@ -2278,6 +2297,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2278
2297
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2279
2298
  } | undefined;
2280
2299
  data?: any;
2300
+ creator?: "system" | "user" | undefined;
2281
2301
  createdAt?: {
2282
2302
  type: "exact";
2283
2303
  term: string;
@@ -2358,6 +2378,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2358
2378
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2359
2379
  } | undefined;
2360
2380
  data?: any;
2381
+ creator?: "system" | "user" | undefined;
2361
2382
  createdAt?: {
2362
2383
  type: "exact";
2363
2384
  term: string;
@@ -2612,6 +2633,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2612
2633
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2613
2634
  };
2614
2635
  }>>>;
2636
+ creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
2615
2637
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2616
2638
  type: z.ZodLiteral<"exact">;
2617
2639
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2671,6 +2693,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2671
2693
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2672
2694
  } | undefined;
2673
2695
  data?: any;
2696
+ creator?: "system" | "user" | undefined;
2674
2697
  createdAt?: {
2675
2698
  type: "exact";
2676
2699
  term: string;
@@ -2748,6 +2771,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2748
2771
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2749
2772
  } | undefined;
2750
2773
  data?: any;
2774
+ creator?: "system" | "user" | undefined;
2751
2775
  createdAt?: {
2752
2776
  type: "exact";
2753
2777
  term: string;
@@ -2828,6 +2852,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2828
2852
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2829
2853
  } | undefined;
2830
2854
  data?: any;
2855
+ creator?: "system" | "user" | undefined;
2831
2856
  createdAt?: {
2832
2857
  type: "exact";
2833
2858
  term: string;
@@ -2908,6 +2933,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2908
2933
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2909
2934
  } | undefined;
2910
2935
  data?: any;
2936
+ creator?: "system" | "user" | undefined;
2911
2937
  createdAt?: {
2912
2938
  type: "exact";
2913
2939
  term: string;
@@ -7,6 +7,7 @@ export declare const Draft: z.ZodObject<{
7
7
  action: z.ZodObject<Omit<z.objectUtil.extendShape<{
8
8
  id: z.ZodString;
9
9
  transactionId: z.ZodString;
10
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
10
11
  createdAt: z.ZodString;
11
12
  createdBy: z.ZodString;
12
13
  createdByRole: z.ZodString;
@@ -317,6 +318,7 @@ export declare const Draft: z.ZodObject<{
317
318
  filename: string;
318
319
  originalFilename: string;
319
320
  }[] | [string, string] | null | undefined>;
321
+ creator?: "system" | "user" | undefined;
320
322
  createdBySignature?: string | null | undefined;
321
323
  createdAtLocation?: string | null | undefined;
322
324
  annotation?: Record<string, string | number | boolean | {
@@ -411,6 +413,7 @@ export declare const Draft: z.ZodObject<{
411
413
  filename: string;
412
414
  originalFilename: string;
413
415
  }[] | [string, string] | null | undefined>;
416
+ creator?: "system" | "user" | undefined;
414
417
  createdBySignature?: string | null | undefined;
415
418
  createdAtLocation?: string | null | undefined;
416
419
  annotation?: Record<string, string | number | boolean | {
@@ -511,6 +514,7 @@ export declare const Draft: z.ZodObject<{
511
514
  filename: string;
512
515
  originalFilename: string;
513
516
  }[] | [string, string] | null | undefined>;
517
+ creator?: "system" | "user" | undefined;
514
518
  createdBySignature?: string | null | undefined;
515
519
  createdAtLocation?: string | null | undefined;
516
520
  annotation?: Record<string, string | number | boolean | {
@@ -611,6 +615,7 @@ export declare const Draft: z.ZodObject<{
611
615
  filename: string;
612
616
  originalFilename: string;
613
617
  }[] | [string, string] | null | undefined>;
618
+ creator?: "system" | "user" | undefined;
614
619
  createdBySignature?: string | null | undefined;
615
620
  createdAtLocation?: string | null | undefined;
616
621
  annotation?: Record<string, string | number | boolean | {