@opencrvs/toolkit 1.8.0-rc.fa49ae3 → 1.8.0-rc.fa564ca
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commons/api/router.d.ts +381 -6649
- package/dist/commons/conditionals/conditionals.d.ts +0 -4
- package/dist/commons/conditionals/validate.d.ts +0 -6
- package/dist/commons/events/ActionConfig.d.ts +6326 -18678
- package/dist/commons/events/ActionDocument.d.ts +204 -1713
- package/dist/commons/events/ActionInput.d.ts +180 -1380
- package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -75
- package/dist/commons/events/CompositeFieldValue.d.ts +0 -28
- package/dist/commons/events/Constants.d.ts +0 -1
- package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -26
- package/dist/commons/events/Draft.d.ts +16 -117
- package/dist/commons/events/EventConfig.d.ts +2487 -8364
- package/dist/commons/events/EventDocument.d.ts +152 -1096
- package/dist/commons/events/EventIndex.d.ts +17 -283
- package/dist/commons/events/EventMetadata.d.ts +35 -38
- package/dist/commons/events/FieldConfig.d.ts +771 -1597
- package/dist/commons/events/FieldType.d.ts +1 -4
- package/dist/commons/events/FieldTypeMapping.d.ts +50 -89
- package/dist/commons/events/FieldValue.d.ts +5 -41
- package/dist/commons/events/FormConfig.d.ts +2444 -7640
- package/dist/commons/events/PageConfig.d.ts +1620 -2896
- package/dist/commons/events/SummaryConfig.d.ts +5 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +24 -346
- package/dist/commons/events/defineConfig.d.ts +14 -960
- package/dist/commons/events/field.d.ts +0 -4
- package/dist/commons/events/test.utils.d.ts +38 -124
- package/dist/commons/events/utils.d.ts +8 -9659
- package/dist/conditionals/index.js +1 -18
- package/dist/events/index.js +413 -691
- package/package.json +1 -1
@@ -115,31 +115,7 @@ export declare const SearchQueryParams: z.ZodObject<{
|
|
115
115
|
addressLine2?: string | undefined;
|
116
116
|
addressLine3?: string | undefined;
|
117
117
|
postcodeOrZip?: string | undefined;
|
118
|
-
}>, z.
|
119
|
-
firstname: z.ZodString;
|
120
|
-
surname: z.ZodString;
|
121
|
-
middlename: z.ZodOptional<z.ZodString>;
|
122
|
-
}, "strip", z.ZodTypeAny, {
|
123
|
-
firstname: string;
|
124
|
-
surname: string;
|
125
|
-
middlename?: string | undefined;
|
126
|
-
}, {
|
127
|
-
firstname: string;
|
128
|
-
surname: string;
|
129
|
-
middlename?: string | undefined;
|
130
|
-
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
131
|
-
firstname: z.ZodString;
|
132
|
-
surname: z.ZodString;
|
133
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
134
|
-
}, "strip", z.ZodTypeAny, {
|
135
|
-
firstname: string;
|
136
|
-
surname: string;
|
137
|
-
middlename?: string | null | undefined;
|
138
|
-
}, {
|
139
|
-
firstname: string;
|
140
|
-
surname: string;
|
141
|
-
middlename?: string | null | undefined;
|
142
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>, z.objectOutputType<{
|
118
|
+
}>]>, z.objectOutputType<{
|
143
119
|
eventType: z.ZodOptional<z.ZodString>;
|
144
120
|
}, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
145
121
|
filename: z.ZodString;
|
@@ -254,31 +230,7 @@ export declare const SearchQueryParams: z.ZodObject<{
|
|
254
230
|
addressLine2?: string | undefined;
|
255
231
|
addressLine3?: string | undefined;
|
256
232
|
postcodeOrZip?: string | undefined;
|
257
|
-
}>, z.
|
258
|
-
firstname: z.ZodString;
|
259
|
-
surname: z.ZodString;
|
260
|
-
middlename: z.ZodOptional<z.ZodString>;
|
261
|
-
}, "strip", z.ZodTypeAny, {
|
262
|
-
firstname: string;
|
263
|
-
surname: string;
|
264
|
-
middlename?: string | undefined;
|
265
|
-
}, {
|
266
|
-
firstname: string;
|
267
|
-
surname: string;
|
268
|
-
middlename?: string | undefined;
|
269
|
-
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
270
|
-
firstname: z.ZodString;
|
271
|
-
surname: z.ZodString;
|
272
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
273
|
-
}, "strip", z.ZodTypeAny, {
|
274
|
-
firstname: string;
|
275
|
-
surname: string;
|
276
|
-
middlename?: string | null | undefined;
|
277
|
-
}, {
|
278
|
-
firstname: string;
|
279
|
-
surname: string;
|
280
|
-
middlename?: string | null | undefined;
|
281
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>, "strip">, z.objectInputType<{
|
233
|
+
}>]>, "strip">, z.objectInputType<{
|
282
234
|
eventType: z.ZodOptional<z.ZodString>;
|
283
235
|
}, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
284
236
|
filename: z.ZodString;
|
@@ -393,31 +345,7 @@ export declare const SearchQueryParams: z.ZodObject<{
|
|
393
345
|
addressLine2?: string | undefined;
|
394
346
|
addressLine3?: string | undefined;
|
395
347
|
postcodeOrZip?: string | undefined;
|
396
|
-
}>,
|
397
|
-
firstname: z.ZodString;
|
398
|
-
surname: z.ZodString;
|
399
|
-
middlename: z.ZodOptional<z.ZodString>;
|
400
|
-
}, "strip", z.ZodTypeAny, {
|
401
|
-
firstname: string;
|
402
|
-
surname: string;
|
403
|
-
middlename?: string | undefined;
|
404
|
-
}, {
|
405
|
-
firstname: string;
|
406
|
-
surname: string;
|
407
|
-
middlename?: string | undefined;
|
408
|
-
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
409
|
-
firstname: z.ZodString;
|
410
|
-
surname: z.ZodString;
|
411
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
412
|
-
}, "strip", z.ZodTypeAny, {
|
413
|
-
firstname: string;
|
414
|
-
surname: string;
|
415
|
-
middlename?: string | null | undefined;
|
416
|
-
}, {
|
417
|
-
firstname: string;
|
418
|
-
surname: string;
|
419
|
-
middlename?: string | null | undefined;
|
420
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>, "strip">>;
|
348
|
+
}>]>, "strip">>;
|
421
349
|
export type SearchQueryParams = z.infer<typeof SearchQueryParams>;
|
422
350
|
export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
423
351
|
config: z.ZodObject<{
|
@@ -117,34 +117,6 @@ export declare const UrbanAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
|
|
117
117
|
street?: string | null | undefined;
|
118
118
|
zipCode?: string | null | undefined;
|
119
119
|
}>;
|
120
|
-
export declare const NameFieldValue: z.ZodObject<{
|
121
|
-
firstname: z.ZodString;
|
122
|
-
surname: z.ZodString;
|
123
|
-
middlename: z.ZodOptional<z.ZodString>;
|
124
|
-
}, "strip", z.ZodTypeAny, {
|
125
|
-
firstname: string;
|
126
|
-
surname: string;
|
127
|
-
middlename?: string | undefined;
|
128
|
-
}, {
|
129
|
-
firstname: string;
|
130
|
-
surname: string;
|
131
|
-
middlename?: string | undefined;
|
132
|
-
}>;
|
133
|
-
export declare const NameFieldUpdateValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
134
|
-
firstname: z.ZodString;
|
135
|
-
surname: z.ZodString;
|
136
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
137
|
-
}, "strip", z.ZodTypeAny, {
|
138
|
-
firstname: string;
|
139
|
-
surname: string;
|
140
|
-
middlename?: string | null | undefined;
|
141
|
-
}, {
|
142
|
-
firstname: string;
|
143
|
-
surname: string;
|
144
|
-
middlename?: string | null | undefined;
|
145
|
-
}>, z.ZodNull]>, z.ZodUndefined]>;
|
146
|
-
export type NameFieldValue = z.infer<typeof NameFieldValue>;
|
147
|
-
export type NameFieldUpdateValue = z.infer<typeof NameFieldUpdateValue>;
|
148
120
|
export type UrbanAddressUpdateValue = z.infer<typeof UrbanAddressUpdateValue>;
|
149
121
|
export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendShape<{
|
150
122
|
country: z.ZodString;
|
@@ -182,7 +182,6 @@ 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"]>>>;
|
186
185
|
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
187
186
|
type: z.ZodLiteral<"exact">;
|
188
187
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
@@ -242,7 +241,6 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
242
241
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
243
242
|
} | undefined;
|
244
243
|
data?: any;
|
245
|
-
creator?: "system" | "user" | undefined;
|
246
244
|
createdAt?: {
|
247
245
|
type: "exact";
|
248
246
|
term: string;
|
@@ -320,7 +318,6 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
320
318
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
321
319
|
} | undefined;
|
322
320
|
data?: any;
|
323
|
-
creator?: "system" | "user" | undefined;
|
324
321
|
createdAt?: {
|
325
322
|
type: "exact";
|
326
323
|
term: string;
|
@@ -576,7 +573,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
576
573
|
$userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
|
577
574
|
};
|
578
575
|
}>>>;
|
579
|
-
creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
580
576
|
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
581
577
|
type: z.ZodLiteral<"exact">;
|
582
578
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
@@ -636,7 +632,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
636
632
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
637
633
|
} | undefined;
|
638
634
|
data?: any;
|
639
|
-
creator?: "system" | "user" | undefined;
|
640
635
|
createdAt?: {
|
641
636
|
type: "exact";
|
642
637
|
term: string;
|
@@ -714,7 +709,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
714
709
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
715
710
|
} | undefined;
|
716
711
|
data?: any;
|
717
|
-
creator?: "system" | "user" | undefined;
|
718
712
|
createdAt?: {
|
719
713
|
type: "exact";
|
720
714
|
term: string;
|
@@ -795,7 +789,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
795
789
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
796
790
|
} | undefined;
|
797
791
|
data?: any;
|
798
|
-
creator?: "system" | "user" | undefined;
|
799
792
|
createdAt?: {
|
800
793
|
type: "exact";
|
801
794
|
term: string;
|
@@ -876,7 +869,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
876
869
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
877
870
|
} | undefined;
|
878
871
|
data?: any;
|
879
|
-
creator?: "system" | "user" | undefined;
|
880
872
|
createdAt?: {
|
881
873
|
type: "exact";
|
882
874
|
term: string;
|
@@ -1131,7 +1123,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1131
1123
|
$userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
|
1132
1124
|
};
|
1133
1125
|
}>>>;
|
1134
|
-
creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
1135
1126
|
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1136
1127
|
type: z.ZodLiteral<"exact">;
|
1137
1128
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
@@ -1191,7 +1182,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1191
1182
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1192
1183
|
} | undefined;
|
1193
1184
|
data?: any;
|
1194
|
-
creator?: "system" | "user" | undefined;
|
1195
1185
|
createdAt?: {
|
1196
1186
|
type: "exact";
|
1197
1187
|
term: string;
|
@@ -1269,7 +1259,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1269
1259
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1270
1260
|
} | undefined;
|
1271
1261
|
data?: any;
|
1272
|
-
creator?: "system" | "user" | undefined;
|
1273
1262
|
createdAt?: {
|
1274
1263
|
type: "exact";
|
1275
1264
|
term: string;
|
@@ -1350,7 +1339,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1350
1339
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1351
1340
|
} | undefined;
|
1352
1341
|
data?: any;
|
1353
|
-
creator?: "system" | "user" | undefined;
|
1354
1342
|
createdAt?: {
|
1355
1343
|
type: "exact";
|
1356
1344
|
term: string;
|
@@ -1431,7 +1419,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1431
1419
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1432
1420
|
} | undefined;
|
1433
1421
|
data?: any;
|
1434
|
-
creator?: "system" | "user" | undefined;
|
1435
1422
|
createdAt?: {
|
1436
1423
|
type: "exact";
|
1437
1424
|
term: string;
|
@@ -1686,7 +1673,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
1686
1673
|
$userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
|
1687
1674
|
};
|
1688
1675
|
}>>>;
|
1689
|
-
creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
1690
1676
|
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1691
1677
|
type: z.ZodLiteral<"exact">;
|
1692
1678
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
@@ -1746,7 +1732,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
1746
1732
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1747
1733
|
} | undefined;
|
1748
1734
|
data?: any;
|
1749
|
-
creator?: "system" | "user" | undefined;
|
1750
1735
|
createdAt?: {
|
1751
1736
|
type: "exact";
|
1752
1737
|
term: string;
|
@@ -1824,7 +1809,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
1824
1809
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1825
1810
|
} | undefined;
|
1826
1811
|
data?: any;
|
1827
|
-
creator?: "system" | "user" | undefined;
|
1828
1812
|
createdAt?: {
|
1829
1813
|
type: "exact";
|
1830
1814
|
term: string;
|
@@ -2078,7 +2062,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2078
2062
|
$userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
|
2079
2063
|
};
|
2080
2064
|
}>>>;
|
2081
|
-
creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
2082
2065
|
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
2083
2066
|
type: z.ZodLiteral<"exact">;
|
2084
2067
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
@@ -2138,7 +2121,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2138
2121
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2139
2122
|
} | undefined;
|
2140
2123
|
data?: any;
|
2141
|
-
creator?: "system" | "user" | undefined;
|
2142
2124
|
createdAt?: {
|
2143
2125
|
type: "exact";
|
2144
2126
|
term: string;
|
@@ -2216,7 +2198,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2216
2198
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2217
2199
|
} | undefined;
|
2218
2200
|
data?: any;
|
2219
|
-
creator?: "system" | "user" | undefined;
|
2220
2201
|
createdAt?: {
|
2221
2202
|
type: "exact";
|
2222
2203
|
term: string;
|
@@ -2297,7 +2278,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2297
2278
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2298
2279
|
} | undefined;
|
2299
2280
|
data?: any;
|
2300
|
-
creator?: "system" | "user" | undefined;
|
2301
2281
|
createdAt?: {
|
2302
2282
|
type: "exact";
|
2303
2283
|
term: string;
|
@@ -2378,7 +2358,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2378
2358
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2379
2359
|
} | undefined;
|
2380
2360
|
data?: any;
|
2381
|
-
creator?: "system" | "user" | undefined;
|
2382
2361
|
createdAt?: {
|
2383
2362
|
type: "exact";
|
2384
2363
|
term: string;
|
@@ -2633,7 +2612,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2633
2612
|
$userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
|
2634
2613
|
};
|
2635
2614
|
}>>>;
|
2636
|
-
creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
2637
2615
|
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
2638
2616
|
type: z.ZodLiteral<"exact">;
|
2639
2617
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
@@ -2693,7 +2671,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2693
2671
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2694
2672
|
} | undefined;
|
2695
2673
|
data?: any;
|
2696
|
-
creator?: "system" | "user" | undefined;
|
2697
2674
|
createdAt?: {
|
2698
2675
|
type: "exact";
|
2699
2676
|
term: string;
|
@@ -2771,7 +2748,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2771
2748
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2772
2749
|
} | undefined;
|
2773
2750
|
data?: any;
|
2774
|
-
creator?: "system" | "user" | undefined;
|
2775
2751
|
createdAt?: {
|
2776
2752
|
type: "exact";
|
2777
2753
|
term: string;
|
@@ -2852,7 +2828,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2852
2828
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2853
2829
|
} | undefined;
|
2854
2830
|
data?: any;
|
2855
|
-
creator?: "system" | "user" | undefined;
|
2856
2831
|
createdAt?: {
|
2857
2832
|
type: "exact";
|
2858
2833
|
term: string;
|
@@ -2933,7 +2908,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2933
2908
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2934
2909
|
} | undefined;
|
2935
2910
|
data?: any;
|
2936
|
-
creator?: "system" | "user" | undefined;
|
2937
2911
|
createdAt?: {
|
2938
2912
|
type: "exact";
|
2939
2913
|
term: string;
|
@@ -7,7 +7,6 @@ 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"]>>;
|
11
10
|
createdAt: z.ZodString;
|
12
11
|
createdBy: z.ZodString;
|
13
12
|
createdByRole: z.ZodString;
|
@@ -126,19 +125,7 @@ export declare const Draft: z.ZodObject<{
|
|
126
125
|
addressLine2?: string | null | undefined;
|
127
126
|
addressLine3?: string | null | undefined;
|
128
127
|
postcodeOrZip?: string | null | undefined;
|
129
|
-
}
|
130
|
-
firstname: z.ZodString;
|
131
|
-
surname: z.ZodString;
|
132
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
133
|
-
}, "strip", z.ZodTypeAny, {
|
134
|
-
firstname: string;
|
135
|
-
surname: string;
|
136
|
-
middlename?: string | null | undefined;
|
137
|
-
}, {
|
138
|
-
firstname: string;
|
139
|
-
surname: string;
|
140
|
-
middlename?: string | null | undefined;
|
141
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
128
|
+
}>]>>;
|
142
129
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
143
130
|
filename: z.ZodString;
|
144
131
|
originalFilename: z.ZodString;
|
@@ -252,19 +239,7 @@ export declare const Draft: z.ZodObject<{
|
|
252
239
|
addressLine2?: string | null | undefined;
|
253
240
|
addressLine3?: string | null | undefined;
|
254
241
|
postcodeOrZip?: string | null | undefined;
|
255
|
-
}
|
256
|
-
firstname: z.ZodString;
|
257
|
-
surname: z.ZodString;
|
258
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
259
|
-
}, "strip", z.ZodTypeAny, {
|
260
|
-
firstname: string;
|
261
|
-
surname: string;
|
262
|
-
middlename?: string | null | undefined;
|
263
|
-
}, {
|
264
|
-
firstname: string;
|
265
|
-
surname: string;
|
266
|
-
middlename?: string | null | undefined;
|
267
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
242
|
+
}>]>>>;
|
268
243
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
269
244
|
originalActionId: z.ZodOptional<z.ZodString>;
|
270
245
|
}, {
|
@@ -291,10 +266,6 @@ export declare const Draft: z.ZodObject<{
|
|
291
266
|
residentialArea?: string | null | undefined;
|
292
267
|
street?: string | null | undefined;
|
293
268
|
zipCode?: string | null | undefined;
|
294
|
-
} | {
|
295
|
-
firstname: string;
|
296
|
-
surname: string;
|
297
|
-
middlename?: string | null | undefined;
|
298
269
|
} | {
|
299
270
|
country: string;
|
300
271
|
district: string;
|
@@ -317,8 +288,7 @@ export declare const Draft: z.ZodObject<{
|
|
317
288
|
option: string;
|
318
289
|
filename: string;
|
319
290
|
originalFilename: string;
|
320
|
-
}[] | [string, string] |
|
321
|
-
creator?: "system" | "user" | undefined;
|
291
|
+
}[] | [string, string] | undefined>;
|
322
292
|
createdBySignature?: string | null | undefined;
|
323
293
|
createdAtLocation?: string | null | undefined;
|
324
294
|
annotation?: Record<string, string | number | boolean | {
|
@@ -336,10 +306,6 @@ export declare const Draft: z.ZodObject<{
|
|
336
306
|
residentialArea?: string | null | undefined;
|
337
307
|
street?: string | null | undefined;
|
338
308
|
zipCode?: string | null | undefined;
|
339
|
-
} | {
|
340
|
-
firstname: string;
|
341
|
-
surname: string;
|
342
|
-
middlename?: string | null | undefined;
|
343
309
|
} | {
|
344
310
|
country: string;
|
345
311
|
district: string;
|
@@ -362,7 +328,7 @@ export declare const Draft: z.ZodObject<{
|
|
362
328
|
option: string;
|
363
329
|
filename: string;
|
364
330
|
originalFilename: string;
|
365
|
-
}[] | [string, string] |
|
331
|
+
}[] | [string, string] | undefined> | undefined;
|
366
332
|
originalActionId?: string | undefined;
|
367
333
|
}, {
|
368
334
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
@@ -386,10 +352,6 @@ export declare const Draft: z.ZodObject<{
|
|
386
352
|
residentialArea?: string | null | undefined;
|
387
353
|
street?: string | null | undefined;
|
388
354
|
zipCode?: string | null | undefined;
|
389
|
-
} | {
|
390
|
-
firstname: string;
|
391
|
-
surname: string;
|
392
|
-
middlename?: string | null | undefined;
|
393
355
|
} | {
|
394
356
|
country: string;
|
395
357
|
district: string;
|
@@ -412,8 +374,7 @@ export declare const Draft: z.ZodObject<{
|
|
412
374
|
option: string;
|
413
375
|
filename: string;
|
414
376
|
originalFilename: string;
|
415
|
-
}[] | [string, string] |
|
416
|
-
creator?: "system" | "user" | undefined;
|
377
|
+
}[] | [string, string] | undefined>;
|
417
378
|
createdBySignature?: string | null | undefined;
|
418
379
|
createdAtLocation?: string | null | undefined;
|
419
380
|
annotation?: Record<string, string | number | boolean | {
|
@@ -431,10 +392,6 @@ export declare const Draft: z.ZodObject<{
|
|
431
392
|
residentialArea?: string | null | undefined;
|
432
393
|
street?: string | null | undefined;
|
433
394
|
zipCode?: string | null | undefined;
|
434
|
-
} | {
|
435
|
-
firstname: string;
|
436
|
-
surname: string;
|
437
|
-
middlename?: string | null | undefined;
|
438
395
|
} | {
|
439
396
|
country: string;
|
440
397
|
district: string;
|
@@ -457,7 +414,7 @@ export declare const Draft: z.ZodObject<{
|
|
457
414
|
option: string;
|
458
415
|
filename: string;
|
459
416
|
originalFilename: string;
|
460
|
-
}[] | [string, string] |
|
417
|
+
}[] | [string, string] | undefined> | undefined;
|
461
418
|
originalActionId?: string | undefined;
|
462
419
|
}>;
|
463
420
|
}, "strip", z.ZodTypeAny, {
|
@@ -487,10 +444,6 @@ export declare const Draft: z.ZodObject<{
|
|
487
444
|
residentialArea?: string | null | undefined;
|
488
445
|
street?: string | null | undefined;
|
489
446
|
zipCode?: string | null | undefined;
|
490
|
-
} | {
|
491
|
-
firstname: string;
|
492
|
-
surname: string;
|
493
|
-
middlename?: string | null | undefined;
|
494
447
|
} | {
|
495
448
|
country: string;
|
496
449
|
district: string;
|
@@ -513,8 +466,7 @@ export declare const Draft: z.ZodObject<{
|
|
513
466
|
option: string;
|
514
467
|
filename: string;
|
515
468
|
originalFilename: string;
|
516
|
-
}[] | [string, string] |
|
517
|
-
creator?: "system" | "user" | undefined;
|
469
|
+
}[] | [string, string] | undefined>;
|
518
470
|
createdBySignature?: string | null | undefined;
|
519
471
|
createdAtLocation?: string | null | undefined;
|
520
472
|
annotation?: Record<string, string | number | boolean | {
|
@@ -532,10 +484,6 @@ export declare const Draft: z.ZodObject<{
|
|
532
484
|
residentialArea?: string | null | undefined;
|
533
485
|
street?: string | null | undefined;
|
534
486
|
zipCode?: string | null | undefined;
|
535
|
-
} | {
|
536
|
-
firstname: string;
|
537
|
-
surname: string;
|
538
|
-
middlename?: string | null | undefined;
|
539
487
|
} | {
|
540
488
|
country: string;
|
541
489
|
district: string;
|
@@ -558,7 +506,7 @@ export declare const Draft: z.ZodObject<{
|
|
558
506
|
option: string;
|
559
507
|
filename: string;
|
560
508
|
originalFilename: string;
|
561
|
-
}[] | [string, string] |
|
509
|
+
}[] | [string, string] | undefined> | undefined;
|
562
510
|
originalActionId?: string | undefined;
|
563
511
|
};
|
564
512
|
}, {
|
@@ -588,10 +536,6 @@ export declare const Draft: z.ZodObject<{
|
|
588
536
|
residentialArea?: string | null | undefined;
|
589
537
|
street?: string | null | undefined;
|
590
538
|
zipCode?: string | null | undefined;
|
591
|
-
} | {
|
592
|
-
firstname: string;
|
593
|
-
surname: string;
|
594
|
-
middlename?: string | null | undefined;
|
595
539
|
} | {
|
596
540
|
country: string;
|
597
541
|
district: string;
|
@@ -614,8 +558,7 @@ export declare const Draft: z.ZodObject<{
|
|
614
558
|
option: string;
|
615
559
|
filename: string;
|
616
560
|
originalFilename: string;
|
617
|
-
}[] | [string, string] |
|
618
|
-
creator?: "system" | "user" | undefined;
|
561
|
+
}[] | [string, string] | undefined>;
|
619
562
|
createdBySignature?: string | null | undefined;
|
620
563
|
createdAtLocation?: string | null | undefined;
|
621
564
|
annotation?: Record<string, string | number | boolean | {
|
@@ -633,10 +576,6 @@ export declare const Draft: z.ZodObject<{
|
|
633
576
|
residentialArea?: string | null | undefined;
|
634
577
|
street?: string | null | undefined;
|
635
578
|
zipCode?: string | null | undefined;
|
636
|
-
} | {
|
637
|
-
firstname: string;
|
638
|
-
surname: string;
|
639
|
-
middlename?: string | null | undefined;
|
640
579
|
} | {
|
641
580
|
country: string;
|
642
581
|
district: string;
|
@@ -659,7 +598,7 @@ export declare const Draft: z.ZodObject<{
|
|
659
598
|
option: string;
|
660
599
|
filename: string;
|
661
600
|
originalFilename: string;
|
662
|
-
}[] | [string, string] |
|
601
|
+
}[] | [string, string] | undefined> | undefined;
|
663
602
|
originalActionId?: string | undefined;
|
664
603
|
};
|
665
604
|
}>;
|
@@ -779,19 +718,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
779
718
|
addressLine2?: string | null | undefined;
|
780
719
|
addressLine3?: string | null | undefined;
|
781
720
|
postcodeOrZip?: string | null | undefined;
|
782
|
-
}
|
783
|
-
firstname: z.ZodString;
|
784
|
-
surname: z.ZodString;
|
785
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
786
|
-
}, "strip", z.ZodTypeAny, {
|
787
|
-
firstname: string;
|
788
|
-
surname: string;
|
789
|
-
middlename?: string | null | undefined;
|
790
|
-
}, {
|
791
|
-
firstname: string;
|
792
|
-
surname: string;
|
793
|
-
middlename?: string | null | undefined;
|
794
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
721
|
+
}>]>>>;
|
795
722
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
796
723
|
filename: z.ZodString;
|
797
724
|
originalFilename: z.ZodString;
|
@@ -905,19 +832,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
905
832
|
addressLine2?: string | null | undefined;
|
906
833
|
addressLine3?: string | null | undefined;
|
907
834
|
postcodeOrZip?: string | null | undefined;
|
908
|
-
}
|
909
|
-
firstname: z.ZodString;
|
910
|
-
surname: z.ZodString;
|
911
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
912
|
-
}, "strip", z.ZodTypeAny, {
|
913
|
-
firstname: string;
|
914
|
-
surname: string;
|
915
|
-
middlename?: string | null | undefined;
|
916
|
-
}, {
|
917
|
-
firstname: string;
|
918
|
-
surname: string;
|
919
|
-
middlename?: string | null | undefined;
|
920
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
835
|
+
}>]>>>;
|
921
836
|
originalActionId: z.ZodOptional<z.ZodString>;
|
922
837
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
923
838
|
}, {
|
@@ -942,10 +857,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
942
857
|
residentialArea?: string | null | undefined;
|
943
858
|
street?: string | null | undefined;
|
944
859
|
zipCode?: string | null | undefined;
|
945
|
-
} | {
|
946
|
-
firstname: string;
|
947
|
-
surname: string;
|
948
|
-
middlename?: string | null | undefined;
|
949
860
|
} | {
|
950
861
|
country: string;
|
951
862
|
district: string;
|
@@ -968,7 +879,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
968
879
|
option: string;
|
969
880
|
filename: string;
|
970
881
|
originalFilename: string;
|
971
|
-
}[] | [string, string] |
|
882
|
+
}[] | [string, string] | undefined>;
|
972
883
|
eventId: string;
|
973
884
|
annotation?: Record<string, string | number | boolean | {
|
974
885
|
type: string;
|
@@ -985,10 +896,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
985
896
|
residentialArea?: string | null | undefined;
|
986
897
|
street?: string | null | undefined;
|
987
898
|
zipCode?: string | null | undefined;
|
988
|
-
} | {
|
989
|
-
firstname: string;
|
990
|
-
surname: string;
|
991
|
-
middlename?: string | null | undefined;
|
992
899
|
} | {
|
993
900
|
country: string;
|
994
901
|
district: string;
|
@@ -1011,7 +918,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1011
918
|
option: string;
|
1012
919
|
filename: string;
|
1013
920
|
originalFilename: string;
|
1014
|
-
}[] | [string, string] |
|
921
|
+
}[] | [string, string] | undefined> | undefined;
|
1015
922
|
originalActionId?: string | undefined;
|
1016
923
|
keepAssignment?: boolean | undefined;
|
1017
924
|
}, {
|
@@ -1034,10 +941,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1034
941
|
residentialArea?: string | null | undefined;
|
1035
942
|
street?: string | null | undefined;
|
1036
943
|
zipCode?: string | null | undefined;
|
1037
|
-
} | {
|
1038
|
-
firstname: string;
|
1039
|
-
surname: string;
|
1040
|
-
middlename?: string | null | undefined;
|
1041
944
|
} | {
|
1042
945
|
country: string;
|
1043
946
|
district: string;
|
@@ -1060,7 +963,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1060
963
|
option: string;
|
1061
964
|
filename: string;
|
1062
965
|
originalFilename: string;
|
1063
|
-
}[] | [string, string] |
|
966
|
+
}[] | [string, string] | undefined> | undefined;
|
1064
967
|
annotation?: Record<string, string | number | boolean | {
|
1065
968
|
type: string;
|
1066
969
|
filename: string;
|
@@ -1076,10 +979,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1076
979
|
residentialArea?: string | null | undefined;
|
1077
980
|
street?: string | null | undefined;
|
1078
981
|
zipCode?: string | null | undefined;
|
1079
|
-
} | {
|
1080
|
-
firstname: string;
|
1081
|
-
surname: string;
|
1082
|
-
middlename?: string | null | undefined;
|
1083
982
|
} | {
|
1084
983
|
country: string;
|
1085
984
|
district: string;
|
@@ -1102,7 +1001,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1102
1001
|
option: string;
|
1103
1002
|
filename: string;
|
1104
1003
|
originalFilename: string;
|
1105
|
-
}[] | [string, string] |
|
1004
|
+
}[] | [string, string] | undefined> | undefined;
|
1106
1005
|
originalActionId?: string | undefined;
|
1107
1006
|
keepAssignment?: boolean | undefined;
|
1108
1007
|
}>;
|