@opencrvs/toolkit 1.8.1-rc.e23b224 → 1.8.1-rc.e59d03c
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 +433 -410
- package/dist/commons/conditionals/validate.d.ts +11 -2
- package/dist/commons/events/ActionConfig.d.ts +2004 -366
- package/dist/commons/events/ActionDocument.d.ts +795 -759
- package/dist/commons/events/ActionInput.d.ts +650 -614
- package/dist/commons/events/AdvancedSearchConfig.d.ts +83 -65
- package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
- package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
- package/dist/commons/events/Draft.d.ts +48 -48
- package/dist/commons/events/EventConfig.d.ts +695 -168
- package/dist/commons/events/EventDocument.d.ts +471 -445
- package/dist/commons/events/EventIndex.d.ts +184 -62
- package/dist/commons/events/EventMetadata.d.ts +9 -9
- package/dist/commons/events/FieldConfig.d.ts +254 -43
- package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/FormConfig.d.ts +1032 -246
- package/dist/commons/events/PageConfig.d.ts +264 -46
- package/dist/commons/events/WorkqueueConfig.d.ts +288 -164
- package/dist/commons/events/defineConfig.d.ts +129 -30
- package/dist/commons/events/event.d.ts +68 -6
- package/dist/commons/events/field.d.ts +14 -0
- package/dist/commons/events/test.utils.d.ts +17 -13
- package/dist/commons/events/utils.d.ts +236 -60
- package/dist/conditionals/index.js +3 -2
- package/dist/events/index.js +260 -99
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
- package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
- package/dist/commons/conditionals/validate.test.d.ts +0 -2
- package/dist/commons/events/utils.test.d.ts +0 -2
@@ -3,22 +3,22 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
3
3
|
eventType: z.ZodOptional<z.ZodString>;
|
4
4
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
5
5
|
type: z.ZodLiteral<"anyOf">;
|
6
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
6
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>, "many">;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
8
8
|
type: "anyOf";
|
9
|
-
terms: ("ARCHIVED" | "
|
9
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
10
10
|
}, {
|
11
11
|
type: "anyOf";
|
12
|
-
terms: ("ARCHIVED" | "
|
12
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
13
13
|
}>, z.ZodObject<{
|
14
14
|
type: z.ZodLiteral<"exact">;
|
15
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
15
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>;
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
17
17
|
type: "exact";
|
18
|
-
term: "ARCHIVED" | "
|
18
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
19
19
|
}, {
|
20
20
|
type: "exact";
|
21
|
-
term: "ARCHIVED" | "
|
21
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
22
22
|
}>]>>>;
|
23
23
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
24
24
|
type: z.ZodLiteral<"exact">;
|
@@ -308,13 +308,13 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
308
308
|
}>>>;
|
309
309
|
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
310
310
|
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
311
|
-
readonly
|
311
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
312
312
|
readonly INCOMPLETE: "incomplete";
|
313
313
|
readonly REJECTED: "rejected";
|
314
314
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
315
315
|
}>]>, "many">>;
|
316
316
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
317
|
-
readonly
|
317
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
318
318
|
readonly INCOMPLETE: "incomplete";
|
319
319
|
readonly REJECTED: "rejected";
|
320
320
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
@@ -330,10 +330,10 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
331
331
|
status?: {
|
332
332
|
type: "exact";
|
333
|
-
term: "ARCHIVED" | "
|
333
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
334
334
|
} | {
|
335
335
|
type: "anyOf";
|
336
|
-
terms: ("ARCHIVED" | "
|
336
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
337
337
|
} | undefined;
|
338
338
|
data?: any;
|
339
339
|
createdByUserType?: {
|
@@ -436,10 +436,10 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
436
436
|
}, {
|
437
437
|
status?: {
|
438
438
|
type: "exact";
|
439
|
-
term: "ARCHIVED" | "
|
439
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
440
440
|
} | {
|
441
441
|
type: "anyOf";
|
442
|
-
terms: ("ARCHIVED" | "
|
442
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
443
443
|
} | undefined;
|
444
444
|
data?: any;
|
445
445
|
createdByUserType?: {
|
@@ -547,22 +547,22 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
547
547
|
eventType: z.ZodOptional<z.ZodString>;
|
548
548
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
549
549
|
type: z.ZodLiteral<"anyOf">;
|
550
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
550
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>, "many">;
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
552
552
|
type: "anyOf";
|
553
|
-
terms: ("ARCHIVED" | "
|
553
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
554
554
|
}, {
|
555
555
|
type: "anyOf";
|
556
|
-
terms: ("ARCHIVED" | "
|
556
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
557
557
|
}>, z.ZodObject<{
|
558
558
|
type: z.ZodLiteral<"exact">;
|
559
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
559
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>;
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
561
561
|
type: "exact";
|
562
|
-
term: "ARCHIVED" | "
|
562
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
563
563
|
}, {
|
564
564
|
type: "exact";
|
565
|
-
term: "ARCHIVED" | "
|
565
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
566
566
|
}>]>>>;
|
567
567
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
568
568
|
type: z.ZodLiteral<"exact">;
|
@@ -852,13 +852,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
852
852
|
}>>>;
|
853
853
|
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
854
854
|
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
855
|
-
readonly
|
855
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
856
856
|
readonly INCOMPLETE: "incomplete";
|
857
857
|
readonly REJECTED: "rejected";
|
858
858
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
859
859
|
}>]>, "many">>;
|
860
860
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
861
|
-
readonly
|
861
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
862
862
|
readonly INCOMPLETE: "incomplete";
|
863
863
|
readonly REJECTED: "rejected";
|
864
864
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
@@ -874,10 +874,10 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
874
874
|
}, "strip", z.ZodTypeAny, {
|
875
875
|
status?: {
|
876
876
|
type: "exact";
|
877
|
-
term: "ARCHIVED" | "
|
877
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
878
878
|
} | {
|
879
879
|
type: "anyOf";
|
880
|
-
terms: ("ARCHIVED" | "
|
880
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
881
881
|
} | undefined;
|
882
882
|
data?: any;
|
883
883
|
createdByUserType?: {
|
@@ -980,10 +980,10 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
980
980
|
}, {
|
981
981
|
status?: {
|
982
982
|
type: "exact";
|
983
|
-
term: "ARCHIVED" | "
|
983
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
984
984
|
} | {
|
985
985
|
type: "anyOf";
|
986
|
-
terms: ("ARCHIVED" | "
|
986
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
987
987
|
} | undefined;
|
988
988
|
data?: any;
|
989
989
|
createdByUserType?: {
|
@@ -1089,10 +1089,10 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1089
1089
|
clauses: {
|
1090
1090
|
status?: {
|
1091
1091
|
type: "exact";
|
1092
|
-
term: "ARCHIVED" | "
|
1092
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1093
1093
|
} | {
|
1094
1094
|
type: "anyOf";
|
1095
|
-
terms: ("ARCHIVED" | "
|
1095
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1096
1096
|
} | undefined;
|
1097
1097
|
data?: any;
|
1098
1098
|
createdByUserType?: {
|
@@ -1198,10 +1198,10 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1198
1198
|
clauses: {
|
1199
1199
|
status?: {
|
1200
1200
|
type: "exact";
|
1201
|
-
term: "ARCHIVED" | "
|
1201
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1202
1202
|
} | {
|
1203
1203
|
type: "anyOf";
|
1204
|
-
terms: ("ARCHIVED" | "
|
1204
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1205
1205
|
} | undefined;
|
1206
1206
|
data?: any;
|
1207
1207
|
createdByUserType?: {
|
@@ -1308,22 +1308,22 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1308
1308
|
eventType: z.ZodOptional<z.ZodString>;
|
1309
1309
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1310
1310
|
type: z.ZodLiteral<"anyOf">;
|
1311
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
1311
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>, "many">;
|
1312
1312
|
}, "strip", z.ZodTypeAny, {
|
1313
1313
|
type: "anyOf";
|
1314
|
-
terms: ("ARCHIVED" | "
|
1314
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1315
1315
|
}, {
|
1316
1316
|
type: "anyOf";
|
1317
|
-
terms: ("ARCHIVED" | "
|
1317
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1318
1318
|
}>, z.ZodObject<{
|
1319
1319
|
type: z.ZodLiteral<"exact">;
|
1320
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
1320
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>;
|
1321
1321
|
}, "strip", z.ZodTypeAny, {
|
1322
1322
|
type: "exact";
|
1323
|
-
term: "ARCHIVED" | "
|
1323
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1324
1324
|
}, {
|
1325
1325
|
type: "exact";
|
1326
|
-
term: "ARCHIVED" | "
|
1326
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1327
1327
|
}>]>>>;
|
1328
1328
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
1329
1329
|
type: z.ZodLiteral<"exact">;
|
@@ -1613,13 +1613,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1613
1613
|
}>>>;
|
1614
1614
|
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1615
1615
|
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1616
|
-
readonly
|
1616
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
1617
1617
|
readonly INCOMPLETE: "incomplete";
|
1618
1618
|
readonly REJECTED: "rejected";
|
1619
1619
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
1620
1620
|
}>]>, "many">>;
|
1621
1621
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1622
|
-
readonly
|
1622
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
1623
1623
|
readonly INCOMPLETE: "incomplete";
|
1624
1624
|
readonly REJECTED: "rejected";
|
1625
1625
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
@@ -1635,10 +1635,10 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1635
1635
|
}, "strip", z.ZodTypeAny, {
|
1636
1636
|
status?: {
|
1637
1637
|
type: "exact";
|
1638
|
-
term: "ARCHIVED" | "
|
1638
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1639
1639
|
} | {
|
1640
1640
|
type: "anyOf";
|
1641
|
-
terms: ("ARCHIVED" | "
|
1641
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1642
1642
|
} | undefined;
|
1643
1643
|
data?: any;
|
1644
1644
|
createdByUserType?: {
|
@@ -1741,10 +1741,10 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1741
1741
|
}, {
|
1742
1742
|
status?: {
|
1743
1743
|
type: "exact";
|
1744
|
-
term: "ARCHIVED" | "
|
1744
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1745
1745
|
} | {
|
1746
1746
|
type: "anyOf";
|
1747
|
-
terms: ("ARCHIVED" | "
|
1747
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1748
1748
|
} | undefined;
|
1749
1749
|
data?: any;
|
1750
1750
|
createdByUserType?: {
|
@@ -1850,10 +1850,10 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1850
1850
|
clauses: {
|
1851
1851
|
status?: {
|
1852
1852
|
type: "exact";
|
1853
|
-
term: "ARCHIVED" | "
|
1853
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1854
1854
|
} | {
|
1855
1855
|
type: "anyOf";
|
1856
|
-
terms: ("ARCHIVED" | "
|
1856
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1857
1857
|
} | undefined;
|
1858
1858
|
data?: any;
|
1859
1859
|
createdByUserType?: {
|
@@ -1959,10 +1959,10 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
1959
1959
|
clauses: {
|
1960
1960
|
status?: {
|
1961
1961
|
type: "exact";
|
1962
|
-
term: "ARCHIVED" | "
|
1962
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1963
1963
|
} | {
|
1964
1964
|
type: "anyOf";
|
1965
|
-
terms: ("ARCHIVED" | "
|
1965
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1966
1966
|
} | undefined;
|
1967
1967
|
data?: any;
|
1968
1968
|
createdByUserType?: {
|
@@ -2069,22 +2069,22 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2069
2069
|
eventType: z.ZodOptional<z.ZodString>;
|
2070
2070
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
2071
2071
|
type: z.ZodLiteral<"anyOf">;
|
2072
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
2072
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>, "many">;
|
2073
2073
|
}, "strip", z.ZodTypeAny, {
|
2074
2074
|
type: "anyOf";
|
2075
|
-
terms: ("ARCHIVED" | "
|
2075
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2076
2076
|
}, {
|
2077
2077
|
type: "anyOf";
|
2078
|
-
terms: ("ARCHIVED" | "
|
2078
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2079
2079
|
}>, z.ZodObject<{
|
2080
2080
|
type: z.ZodLiteral<"exact">;
|
2081
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
2081
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>;
|
2082
2082
|
}, "strip", z.ZodTypeAny, {
|
2083
2083
|
type: "exact";
|
2084
|
-
term: "ARCHIVED" | "
|
2084
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
2085
2085
|
}, {
|
2086
2086
|
type: "exact";
|
2087
|
-
term: "ARCHIVED" | "
|
2087
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
2088
2088
|
}>]>>>;
|
2089
2089
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
2090
2090
|
type: z.ZodLiteral<"exact">;
|
@@ -2374,13 +2374,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2374
2374
|
}>>>;
|
2375
2375
|
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
2376
2376
|
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
2377
|
-
readonly
|
2377
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
2378
2378
|
readonly INCOMPLETE: "incomplete";
|
2379
2379
|
readonly REJECTED: "rejected";
|
2380
2380
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
2381
2381
|
}>]>, "many">>;
|
2382
2382
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
2383
|
-
readonly
|
2383
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
2384
2384
|
readonly INCOMPLETE: "incomplete";
|
2385
2385
|
readonly REJECTED: "rejected";
|
2386
2386
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
@@ -2396,10 +2396,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2396
2396
|
}, "strip", z.ZodTypeAny, {
|
2397
2397
|
status?: {
|
2398
2398
|
type: "exact";
|
2399
|
-
term: "ARCHIVED" | "
|
2399
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
2400
2400
|
} | {
|
2401
2401
|
type: "anyOf";
|
2402
|
-
terms: ("ARCHIVED" | "
|
2402
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2403
2403
|
} | undefined;
|
2404
2404
|
data?: any;
|
2405
2405
|
createdByUserType?: {
|
@@ -2502,10 +2502,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2502
2502
|
}, {
|
2503
2503
|
status?: {
|
2504
2504
|
type: "exact";
|
2505
|
-
term: "ARCHIVED" | "
|
2505
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
2506
2506
|
} | {
|
2507
2507
|
type: "anyOf";
|
2508
|
-
terms: ("ARCHIVED" | "
|
2508
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2509
2509
|
} | undefined;
|
2510
2510
|
data?: any;
|
2511
2511
|
createdByUserType?: {
|
@@ -2611,22 +2611,22 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2611
2611
|
eventType: z.ZodOptional<z.ZodString>;
|
2612
2612
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
2613
2613
|
type: z.ZodLiteral<"anyOf">;
|
2614
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
2614
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>, "many">;
|
2615
2615
|
}, "strip", z.ZodTypeAny, {
|
2616
2616
|
type: "anyOf";
|
2617
|
-
terms: ("ARCHIVED" | "
|
2617
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2618
2618
|
}, {
|
2619
2619
|
type: "anyOf";
|
2620
|
-
terms: ("ARCHIVED" | "
|
2620
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2621
2621
|
}>, z.ZodObject<{
|
2622
2622
|
type: z.ZodLiteral<"exact">;
|
2623
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
2623
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>;
|
2624
2624
|
}, "strip", z.ZodTypeAny, {
|
2625
2625
|
type: "exact";
|
2626
|
-
term: "ARCHIVED" | "
|
2626
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
2627
2627
|
}, {
|
2628
2628
|
type: "exact";
|
2629
|
-
term: "ARCHIVED" | "
|
2629
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
2630
2630
|
}>]>>>;
|
2631
2631
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
2632
2632
|
type: z.ZodLiteral<"exact">;
|
@@ -2916,13 +2916,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2916
2916
|
}>>>;
|
2917
2917
|
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
2918
2918
|
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
2919
|
-
readonly
|
2919
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
2920
2920
|
readonly INCOMPLETE: "incomplete";
|
2921
2921
|
readonly REJECTED: "rejected";
|
2922
2922
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
2923
2923
|
}>]>, "many">>;
|
2924
2924
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
2925
|
-
readonly
|
2925
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
2926
2926
|
readonly INCOMPLETE: "incomplete";
|
2927
2927
|
readonly REJECTED: "rejected";
|
2928
2928
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
@@ -2938,10 +2938,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
2938
2938
|
}, "strip", z.ZodTypeAny, {
|
2939
2939
|
status?: {
|
2940
2940
|
type: "exact";
|
2941
|
-
term: "ARCHIVED" | "
|
2941
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
2942
2942
|
} | {
|
2943
2943
|
type: "anyOf";
|
2944
|
-
terms: ("ARCHIVED" | "
|
2944
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
2945
2945
|
} | undefined;
|
2946
2946
|
data?: any;
|
2947
2947
|
createdByUserType?: {
|
@@ -3044,10 +3044,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
3044
3044
|
}, {
|
3045
3045
|
status?: {
|
3046
3046
|
type: "exact";
|
3047
|
-
term: "ARCHIVED" | "
|
3047
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
3048
3048
|
} | {
|
3049
3049
|
type: "anyOf";
|
3050
|
-
terms: ("ARCHIVED" | "
|
3050
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
3051
3051
|
} | undefined;
|
3052
3052
|
data?: any;
|
3053
3053
|
createdByUserType?: {
|
@@ -3153,10 +3153,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
3153
3153
|
clauses: {
|
3154
3154
|
status?: {
|
3155
3155
|
type: "exact";
|
3156
|
-
term: "ARCHIVED" | "
|
3156
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
3157
3157
|
} | {
|
3158
3158
|
type: "anyOf";
|
3159
|
-
terms: ("ARCHIVED" | "
|
3159
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
3160
3160
|
} | undefined;
|
3161
3161
|
data?: any;
|
3162
3162
|
createdByUserType?: {
|
@@ -3262,10 +3262,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
3262
3262
|
clauses: {
|
3263
3263
|
status?: {
|
3264
3264
|
type: "exact";
|
3265
|
-
term: "ARCHIVED" | "
|
3265
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
3266
3266
|
} | {
|
3267
3267
|
type: "anyOf";
|
3268
|
-
terms: ("ARCHIVED" | "
|
3268
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
3269
3269
|
} | undefined;
|
3270
3270
|
data?: any;
|
3271
3271
|
createdByUserType?: {
|
@@ -3372,22 +3372,22 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
3372
3372
|
eventType: z.ZodOptional<z.ZodString>;
|
3373
3373
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
3374
3374
|
type: z.ZodLiteral<"anyOf">;
|
3375
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
3375
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>, "many">;
|
3376
3376
|
}, "strip", z.ZodTypeAny, {
|
3377
3377
|
type: "anyOf";
|
3378
|
-
terms: ("ARCHIVED" | "
|
3378
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
3379
3379
|
}, {
|
3380
3380
|
type: "anyOf";
|
3381
|
-
terms: ("ARCHIVED" | "
|
3381
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
3382
3382
|
}>, z.ZodObject<{
|
3383
3383
|
type: z.ZodLiteral<"exact">;
|
3384
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
3384
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>;
|
3385
3385
|
}, "strip", z.ZodTypeAny, {
|
3386
3386
|
type: "exact";
|
3387
|
-
term: "ARCHIVED" | "
|
3387
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
3388
3388
|
}, {
|
3389
3389
|
type: "exact";
|
3390
|
-
term: "ARCHIVED" | "
|
3390
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
3391
3391
|
}>]>>>;
|
3392
3392
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
3393
3393
|
type: z.ZodLiteral<"exact">;
|
@@ -3677,13 +3677,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
3677
3677
|
}>>>;
|
3678
3678
|
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
3679
3679
|
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
3680
|
-
readonly
|
3680
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
3681
3681
|
readonly INCOMPLETE: "incomplete";
|
3682
3682
|
readonly REJECTED: "rejected";
|
3683
3683
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
3684
3684
|
}>]>, "many">>;
|
3685
3685
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
3686
|
-
readonly
|
3686
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
3687
3687
|
readonly INCOMPLETE: "incomplete";
|
3688
3688
|
readonly REJECTED: "rejected";
|
3689
3689
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
@@ -3699,10 +3699,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
3699
3699
|
}, "strip", z.ZodTypeAny, {
|
3700
3700
|
status?: {
|
3701
3701
|
type: "exact";
|
3702
|
-
term: "ARCHIVED" | "
|
3702
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
3703
3703
|
} | {
|
3704
3704
|
type: "anyOf";
|
3705
|
-
terms: ("ARCHIVED" | "
|
3705
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
3706
3706
|
} | undefined;
|
3707
3707
|
data?: any;
|
3708
3708
|
createdByUserType?: {
|
@@ -3805,10 +3805,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
3805
3805
|
}, {
|
3806
3806
|
status?: {
|
3807
3807
|
type: "exact";
|
3808
|
-
term: "ARCHIVED" | "
|
3808
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
3809
3809
|
} | {
|
3810
3810
|
type: "anyOf";
|
3811
|
-
terms: ("ARCHIVED" | "
|
3811
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
3812
3812
|
} | undefined;
|
3813
3813
|
data?: any;
|
3814
3814
|
createdByUserType?: {
|
@@ -3914,10 +3914,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
3914
3914
|
clauses: {
|
3915
3915
|
status?: {
|
3916
3916
|
type: "exact";
|
3917
|
-
term: "ARCHIVED" | "
|
3917
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
3918
3918
|
} | {
|
3919
3919
|
type: "anyOf";
|
3920
|
-
terms: ("ARCHIVED" | "
|
3920
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
3921
3921
|
} | undefined;
|
3922
3922
|
data?: any;
|
3923
3923
|
createdByUserType?: {
|
@@ -4023,10 +4023,10 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
4023
4023
|
clauses: {
|
4024
4024
|
status?: {
|
4025
4025
|
type: "exact";
|
4026
|
-
term: "ARCHIVED" | "
|
4026
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
4027
4027
|
} | {
|
4028
4028
|
type: "anyOf";
|
4029
|
-
terms: ("ARCHIVED" | "
|
4029
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
4030
4030
|
} | undefined;
|
4031
4031
|
data?: any;
|
4032
4032
|
createdByUserType?: {
|