@opencrvs/toolkit 1.9.12-rc.7c8c97f → 1.9.12-rc.8353a87
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/build.sh +8 -0
- package/dist/application-config/index.js +47 -36
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +2422 -0
- package/dist/commons/api/router.d.ts +24 -0
- package/dist/commons/application-config/index.d.ts +7 -12
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/ActionDocument.d.ts +194 -194
- package/dist/commons/events/ActionInput.d.ts +113 -113
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/CountryConfigQueryInput.d.ts +295 -24
- package/dist/commons/events/Draft.d.ts +7 -7
- package/dist/commons/events/DynamicFieldValue.d.ts +37 -19
- package/dist/commons/events/EventDocument.d.ts +79 -79
- package/dist/commons/events/EventIndex.d.ts +20 -12
- package/dist/commons/events/EventInput.d.ts +1 -1
- package/dist/commons/events/EventMetadata.d.ts +12 -12
- package/dist/commons/events/FieldConfig.d.ts +129 -18
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +94 -68
- package/dist/commons/events/FieldValue.d.ts +54 -26
- package/dist/commons/events/PlainDate.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +4 -4
- package/dist/commons/events/WorkqueueConfig.d.ts +270 -26
- package/dist/commons/events/defineConfig.d.ts +0 -4
- package/dist/commons/events/locations.d.ts +4 -4
- package/dist/commons/events/utils.d.ts +2 -174
- package/dist/conditionals/index.js +13 -5
- package/dist/events/index.js +142 -33
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +3 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +405 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +2 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +753 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +3 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +159 -0
- package/dist/migrations/v2.0/index.d.ts +7 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -0
- package/dist/migrations/v2.0/index.js +2361 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +3 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +344 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-scopes.js +281 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +268 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts +3 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-delete-actions.js +157 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +3 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.js +97 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +3 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +110 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +3 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.js +164 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts +3 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-api-paths.js +188 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts +3 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-location-parent-id.js +181 -0
- package/dist/notification/index.js +73 -23
- package/dist/scopes/index.d.ts +31 -10
- package/dist/scopes/index.js +17 -5
- package/opencrvs-toolkit-1.9.12-rc.8353a87.tgz +0 -0
- package/package.json +11 -7
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-1.9.12-rc.7c8c97f.tgz +0 -0
|
@@ -11,7 +11,7 @@ export declare const AddressType: {
|
|
|
11
11
|
readonly INTERNATIONAL: "INTERNATIONAL";
|
|
12
12
|
};
|
|
13
13
|
export declare const FileFieldValue: z.ZodObject<{
|
|
14
|
-
path: z.core.$ZodBranded<z.ZodString, "DocumentPath">;
|
|
14
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
15
15
|
originalFilename: z.ZodString;
|
|
16
16
|
type: z.ZodString;
|
|
17
17
|
}, z.core.$strip>;
|
|
@@ -59,14 +59,14 @@ export declare const AddressFieldUpdateValue: z.ZodOptional<z.ZodNullable<z.ZodD
|
|
|
59
59
|
}, z.core.$strip>], "addressType">>>;
|
|
60
60
|
export type AddressFieldUpdateValue = z.infer<typeof AddressFieldUpdateValue>;
|
|
61
61
|
export declare const FileFieldValueWithOption: z.ZodObject<{
|
|
62
|
-
path: z.core.$ZodBranded<z.ZodString, "DocumentPath">;
|
|
62
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
63
63
|
originalFilename: z.ZodString;
|
|
64
64
|
type: z.ZodString;
|
|
65
65
|
option: z.ZodString;
|
|
66
66
|
}, z.core.$strip>;
|
|
67
67
|
export type FileFieldValueWithOption = z.infer<typeof FileFieldValueWithOption>;
|
|
68
68
|
export declare const FileFieldWithOptionValue: z.ZodArray<z.ZodObject<{
|
|
69
|
-
path: z.core.$ZodBranded<z.ZodString, "DocumentPath">;
|
|
69
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
70
70
|
originalFilename: z.ZodString;
|
|
71
71
|
type: z.ZodString;
|
|
72
72
|
option: z.ZodString;
|
|
@@ -115,6 +115,6 @@ export declare const NumberWithUnitFieldUpdateValue: z.ZodObject<{
|
|
|
115
115
|
}, z.core.$strip>;
|
|
116
116
|
export type NumberWithUnitFieldValue = z.infer<typeof NumberWithUnitFieldValue>;
|
|
117
117
|
export type NumberWithUnitFieldUpdateValue = z.infer<typeof NumberWithUnitFieldUpdateValue>;
|
|
118
|
-
export declare const CustomFieldValue: z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue">;
|
|
118
|
+
export declare const CustomFieldValue: z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out">;
|
|
119
119
|
export type CustomFieldValue = z.infer<typeof CustomFieldValue>;
|
|
120
120
|
//# sourceMappingURL=CompositeFieldValue.d.ts.map
|
|
@@ -1,4 +1,46 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
+
declare const SerializableExact: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"exact">;
|
|
4
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5
|
+
$userField: z.ZodEnum<{
|
|
6
|
+
id: "id";
|
|
7
|
+
name: "name";
|
|
8
|
+
role: "role";
|
|
9
|
+
primaryOfficeId: "primaryOfficeId";
|
|
10
|
+
firstname: "firstname";
|
|
11
|
+
surname: "surname";
|
|
12
|
+
middlename: "middlename";
|
|
13
|
+
fullHonorificName: "fullHonorificName";
|
|
14
|
+
device: "device";
|
|
15
|
+
signature: "signature";
|
|
16
|
+
avatar: "avatar";
|
|
17
|
+
administrativeAreaId: "administrativeAreaId";
|
|
18
|
+
}>;
|
|
19
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>]>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export type SerializableExact = z.infer<typeof SerializableExact>;
|
|
23
|
+
declare const SerializableWithin: z.ZodObject<{
|
|
24
|
+
type: z.ZodLiteral<"within">;
|
|
25
|
+
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
26
|
+
$userField: z.ZodEnum<{
|
|
27
|
+
id: "id";
|
|
28
|
+
name: "name";
|
|
29
|
+
role: "role";
|
|
30
|
+
primaryOfficeId: "primaryOfficeId";
|
|
31
|
+
firstname: "firstname";
|
|
32
|
+
surname: "surname";
|
|
33
|
+
middlename: "middlename";
|
|
34
|
+
fullHonorificName: "fullHonorificName";
|
|
35
|
+
device: "device";
|
|
36
|
+
signature: "signature";
|
|
37
|
+
avatar: "avatar";
|
|
38
|
+
administrativeAreaId: "administrativeAreaId";
|
|
39
|
+
}>;
|
|
40
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>]>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type SerializableWithin = z.infer<typeof SerializableWithin>;
|
|
2
44
|
export declare const SerializedQueryExpression: z.ZodObject<{
|
|
3
45
|
eventType: z.ZodOptional<z.ZodString>;
|
|
4
46
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -120,7 +162,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
120
162
|
type: z.ZodLiteral<"exact">;
|
|
121
163
|
term: z.ZodString;
|
|
122
164
|
}, z.core.$strip>>>;
|
|
123
|
-
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
165
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
124
166
|
type: z.ZodLiteral<"within">;
|
|
125
167
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
126
168
|
$userField: z.ZodEnum<{
|
|
@@ -139,8 +181,27 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
139
181
|
}>;
|
|
140
182
|
$location: z.ZodOptional<z.ZodString>;
|
|
141
183
|
}, z.core.$strip>]>;
|
|
142
|
-
}, z.core.$strip
|
|
143
|
-
|
|
184
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
185
|
+
type: z.ZodLiteral<"exact">;
|
|
186
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
187
|
+
$userField: z.ZodEnum<{
|
|
188
|
+
id: "id";
|
|
189
|
+
name: "name";
|
|
190
|
+
role: "role";
|
|
191
|
+
primaryOfficeId: "primaryOfficeId";
|
|
192
|
+
firstname: "firstname";
|
|
193
|
+
surname: "surname";
|
|
194
|
+
middlename: "middlename";
|
|
195
|
+
fullHonorificName: "fullHonorificName";
|
|
196
|
+
device: "device";
|
|
197
|
+
signature: "signature";
|
|
198
|
+
avatar: "avatar";
|
|
199
|
+
administrativeAreaId: "administrativeAreaId";
|
|
200
|
+
}>;
|
|
201
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, z.core.$strip>]>;
|
|
203
|
+
}, z.core.$strip>]>>>;
|
|
204
|
+
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
144
205
|
type: z.ZodLiteral<"within">;
|
|
145
206
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
146
207
|
$userField: z.ZodEnum<{
|
|
@@ -159,7 +220,26 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
159
220
|
}>;
|
|
160
221
|
$location: z.ZodOptional<z.ZodString>;
|
|
161
222
|
}, z.core.$strip>]>;
|
|
162
|
-
}, z.core.$strip
|
|
223
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
224
|
+
type: z.ZodLiteral<"exact">;
|
|
225
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
226
|
+
$userField: z.ZodEnum<{
|
|
227
|
+
id: "id";
|
|
228
|
+
name: "name";
|
|
229
|
+
role: "role";
|
|
230
|
+
primaryOfficeId: "primaryOfficeId";
|
|
231
|
+
firstname: "firstname";
|
|
232
|
+
surname: "surname";
|
|
233
|
+
middlename: "middlename";
|
|
234
|
+
fullHonorificName: "fullHonorificName";
|
|
235
|
+
device: "device";
|
|
236
|
+
signature: "signature";
|
|
237
|
+
avatar: "avatar";
|
|
238
|
+
administrativeAreaId: "administrativeAreaId";
|
|
239
|
+
}>;
|
|
240
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
241
|
+
}, z.core.$strip>]>;
|
|
242
|
+
}, z.core.$strip>]>>>;
|
|
163
243
|
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
164
244
|
type: z.ZodLiteral<"exact">;
|
|
165
245
|
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -393,7 +473,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
393
473
|
type: z.ZodLiteral<"exact">;
|
|
394
474
|
term: z.ZodString;
|
|
395
475
|
}, z.core.$strip>>>;
|
|
396
|
-
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
476
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
397
477
|
type: z.ZodLiteral<"within">;
|
|
398
478
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
399
479
|
$userField: z.ZodEnum<{
|
|
@@ -412,8 +492,27 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
412
492
|
}>;
|
|
413
493
|
$location: z.ZodOptional<z.ZodString>;
|
|
414
494
|
}, z.core.$strip>]>;
|
|
415
|
-
}, z.core.$strip
|
|
416
|
-
|
|
495
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
496
|
+
type: z.ZodLiteral<"exact">;
|
|
497
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
498
|
+
$userField: z.ZodEnum<{
|
|
499
|
+
id: "id";
|
|
500
|
+
name: "name";
|
|
501
|
+
role: "role";
|
|
502
|
+
primaryOfficeId: "primaryOfficeId";
|
|
503
|
+
firstname: "firstname";
|
|
504
|
+
surname: "surname";
|
|
505
|
+
middlename: "middlename";
|
|
506
|
+
fullHonorificName: "fullHonorificName";
|
|
507
|
+
device: "device";
|
|
508
|
+
signature: "signature";
|
|
509
|
+
avatar: "avatar";
|
|
510
|
+
administrativeAreaId: "administrativeAreaId";
|
|
511
|
+
}>;
|
|
512
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
513
|
+
}, z.core.$strip>]>;
|
|
514
|
+
}, z.core.$strip>]>>>;
|
|
515
|
+
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
417
516
|
type: z.ZodLiteral<"within">;
|
|
418
517
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
419
518
|
$userField: z.ZodEnum<{
|
|
@@ -432,7 +531,26 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
432
531
|
}>;
|
|
433
532
|
$location: z.ZodOptional<z.ZodString>;
|
|
434
533
|
}, z.core.$strip>]>;
|
|
435
|
-
}, z.core.$strip
|
|
534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
535
|
+
type: z.ZodLiteral<"exact">;
|
|
536
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
537
|
+
$userField: z.ZodEnum<{
|
|
538
|
+
id: "id";
|
|
539
|
+
name: "name";
|
|
540
|
+
role: "role";
|
|
541
|
+
primaryOfficeId: "primaryOfficeId";
|
|
542
|
+
firstname: "firstname";
|
|
543
|
+
surname: "surname";
|
|
544
|
+
middlename: "middlename";
|
|
545
|
+
fullHonorificName: "fullHonorificName";
|
|
546
|
+
device: "device";
|
|
547
|
+
signature: "signature";
|
|
548
|
+
avatar: "avatar";
|
|
549
|
+
administrativeAreaId: "administrativeAreaId";
|
|
550
|
+
}>;
|
|
551
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
552
|
+
}, z.core.$strip>]>;
|
|
553
|
+
}, z.core.$strip>]>>>;
|
|
436
554
|
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
437
555
|
type: z.ZodLiteral<"exact">;
|
|
438
556
|
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -665,7 +783,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
665
783
|
type: z.ZodLiteral<"exact">;
|
|
666
784
|
term: z.ZodString;
|
|
667
785
|
}, z.core.$strip>>>;
|
|
668
|
-
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
786
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
669
787
|
type: z.ZodLiteral<"within">;
|
|
670
788
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
671
789
|
$userField: z.ZodEnum<{
|
|
@@ -684,8 +802,27 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
684
802
|
}>;
|
|
685
803
|
$location: z.ZodOptional<z.ZodString>;
|
|
686
804
|
}, z.core.$strip>]>;
|
|
687
|
-
}, z.core.$strip
|
|
688
|
-
|
|
805
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
806
|
+
type: z.ZodLiteral<"exact">;
|
|
807
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
808
|
+
$userField: z.ZodEnum<{
|
|
809
|
+
id: "id";
|
|
810
|
+
name: "name";
|
|
811
|
+
role: "role";
|
|
812
|
+
primaryOfficeId: "primaryOfficeId";
|
|
813
|
+
firstname: "firstname";
|
|
814
|
+
surname: "surname";
|
|
815
|
+
middlename: "middlename";
|
|
816
|
+
fullHonorificName: "fullHonorificName";
|
|
817
|
+
device: "device";
|
|
818
|
+
signature: "signature";
|
|
819
|
+
avatar: "avatar";
|
|
820
|
+
administrativeAreaId: "administrativeAreaId";
|
|
821
|
+
}>;
|
|
822
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
823
|
+
}, z.core.$strip>]>;
|
|
824
|
+
}, z.core.$strip>]>>>;
|
|
825
|
+
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
689
826
|
type: z.ZodLiteral<"within">;
|
|
690
827
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
691
828
|
$userField: z.ZodEnum<{
|
|
@@ -704,7 +841,26 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
704
841
|
}>;
|
|
705
842
|
$location: z.ZodOptional<z.ZodString>;
|
|
706
843
|
}, z.core.$strip>]>;
|
|
707
|
-
}, z.core.$strip
|
|
844
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
845
|
+
type: z.ZodLiteral<"exact">;
|
|
846
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
847
|
+
$userField: z.ZodEnum<{
|
|
848
|
+
id: "id";
|
|
849
|
+
name: "name";
|
|
850
|
+
role: "role";
|
|
851
|
+
primaryOfficeId: "primaryOfficeId";
|
|
852
|
+
firstname: "firstname";
|
|
853
|
+
surname: "surname";
|
|
854
|
+
middlename: "middlename";
|
|
855
|
+
fullHonorificName: "fullHonorificName";
|
|
856
|
+
device: "device";
|
|
857
|
+
signature: "signature";
|
|
858
|
+
avatar: "avatar";
|
|
859
|
+
administrativeAreaId: "administrativeAreaId";
|
|
860
|
+
}>;
|
|
861
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
862
|
+
}, z.core.$strip>]>;
|
|
863
|
+
}, z.core.$strip>]>>>;
|
|
708
864
|
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
709
865
|
type: z.ZodLiteral<"exact">;
|
|
710
866
|
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -937,7 +1093,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
937
1093
|
type: z.ZodLiteral<"exact">;
|
|
938
1094
|
term: z.ZodString;
|
|
939
1095
|
}, z.core.$strip>>>;
|
|
940
|
-
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1096
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
941
1097
|
type: z.ZodLiteral<"within">;
|
|
942
1098
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
943
1099
|
$userField: z.ZodEnum<{
|
|
@@ -956,8 +1112,27 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
956
1112
|
}>;
|
|
957
1113
|
$location: z.ZodOptional<z.ZodString>;
|
|
958
1114
|
}, z.core.$strip>]>;
|
|
959
|
-
}, z.core.$strip
|
|
960
|
-
|
|
1115
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1116
|
+
type: z.ZodLiteral<"exact">;
|
|
1117
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1118
|
+
$userField: z.ZodEnum<{
|
|
1119
|
+
id: "id";
|
|
1120
|
+
name: "name";
|
|
1121
|
+
role: "role";
|
|
1122
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1123
|
+
firstname: "firstname";
|
|
1124
|
+
surname: "surname";
|
|
1125
|
+
middlename: "middlename";
|
|
1126
|
+
fullHonorificName: "fullHonorificName";
|
|
1127
|
+
device: "device";
|
|
1128
|
+
signature: "signature";
|
|
1129
|
+
avatar: "avatar";
|
|
1130
|
+
administrativeAreaId: "administrativeAreaId";
|
|
1131
|
+
}>;
|
|
1132
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
}, z.core.$strip>]>;
|
|
1134
|
+
}, z.core.$strip>]>>>;
|
|
1135
|
+
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
961
1136
|
type: z.ZodLiteral<"within">;
|
|
962
1137
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
963
1138
|
$userField: z.ZodEnum<{
|
|
@@ -976,7 +1151,26 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
976
1151
|
}>;
|
|
977
1152
|
$location: z.ZodOptional<z.ZodString>;
|
|
978
1153
|
}, z.core.$strip>]>;
|
|
979
|
-
}, z.core.$strip
|
|
1154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1155
|
+
type: z.ZodLiteral<"exact">;
|
|
1156
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1157
|
+
$userField: z.ZodEnum<{
|
|
1158
|
+
id: "id";
|
|
1159
|
+
name: "name";
|
|
1160
|
+
role: "role";
|
|
1161
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1162
|
+
firstname: "firstname";
|
|
1163
|
+
surname: "surname";
|
|
1164
|
+
middlename: "middlename";
|
|
1165
|
+
fullHonorificName: "fullHonorificName";
|
|
1166
|
+
device: "device";
|
|
1167
|
+
signature: "signature";
|
|
1168
|
+
avatar: "avatar";
|
|
1169
|
+
administrativeAreaId: "administrativeAreaId";
|
|
1170
|
+
}>;
|
|
1171
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
}, z.core.$strip>]>;
|
|
1173
|
+
}, z.core.$strip>]>>>;
|
|
980
1174
|
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
981
1175
|
type: z.ZodLiteral<"exact">;
|
|
982
1176
|
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1208,7 +1402,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1208
1402
|
type: z.ZodLiteral<"exact">;
|
|
1209
1403
|
term: z.ZodString;
|
|
1210
1404
|
}, z.core.$strip>>>;
|
|
1211
|
-
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1405
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1212
1406
|
type: z.ZodLiteral<"within">;
|
|
1213
1407
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1214
1408
|
$userField: z.ZodEnum<{
|
|
@@ -1227,8 +1421,27 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1227
1421
|
}>;
|
|
1228
1422
|
$location: z.ZodOptional<z.ZodString>;
|
|
1229
1423
|
}, z.core.$strip>]>;
|
|
1230
|
-
}, z.core.$strip
|
|
1231
|
-
|
|
1424
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1425
|
+
type: z.ZodLiteral<"exact">;
|
|
1426
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1427
|
+
$userField: z.ZodEnum<{
|
|
1428
|
+
id: "id";
|
|
1429
|
+
name: "name";
|
|
1430
|
+
role: "role";
|
|
1431
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1432
|
+
firstname: "firstname";
|
|
1433
|
+
surname: "surname";
|
|
1434
|
+
middlename: "middlename";
|
|
1435
|
+
fullHonorificName: "fullHonorificName";
|
|
1436
|
+
device: "device";
|
|
1437
|
+
signature: "signature";
|
|
1438
|
+
avatar: "avatar";
|
|
1439
|
+
administrativeAreaId: "administrativeAreaId";
|
|
1440
|
+
}>;
|
|
1441
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
}, z.core.$strip>]>;
|
|
1443
|
+
}, z.core.$strip>]>>>;
|
|
1444
|
+
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1232
1445
|
type: z.ZodLiteral<"within">;
|
|
1233
1446
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1234
1447
|
$userField: z.ZodEnum<{
|
|
@@ -1247,7 +1460,26 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1247
1460
|
}>;
|
|
1248
1461
|
$location: z.ZodOptional<z.ZodString>;
|
|
1249
1462
|
}, z.core.$strip>]>;
|
|
1250
|
-
}, z.core.$strip
|
|
1463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1464
|
+
type: z.ZodLiteral<"exact">;
|
|
1465
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1466
|
+
$userField: z.ZodEnum<{
|
|
1467
|
+
id: "id";
|
|
1468
|
+
name: "name";
|
|
1469
|
+
role: "role";
|
|
1470
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1471
|
+
firstname: "firstname";
|
|
1472
|
+
surname: "surname";
|
|
1473
|
+
middlename: "middlename";
|
|
1474
|
+
fullHonorificName: "fullHonorificName";
|
|
1475
|
+
device: "device";
|
|
1476
|
+
signature: "signature";
|
|
1477
|
+
avatar: "avatar";
|
|
1478
|
+
administrativeAreaId: "administrativeAreaId";
|
|
1479
|
+
}>;
|
|
1480
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
}, z.core.$strip>]>;
|
|
1482
|
+
}, z.core.$strip>]>>>;
|
|
1251
1483
|
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1252
1484
|
type: z.ZodLiteral<"exact">;
|
|
1253
1485
|
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1480,7 +1712,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1480
1712
|
type: z.ZodLiteral<"exact">;
|
|
1481
1713
|
term: z.ZodString;
|
|
1482
1714
|
}, z.core.$strip>>>;
|
|
1483
|
-
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1715
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1484
1716
|
type: z.ZodLiteral<"within">;
|
|
1485
1717
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1486
1718
|
$userField: z.ZodEnum<{
|
|
@@ -1499,8 +1731,27 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1499
1731
|
}>;
|
|
1500
1732
|
$location: z.ZodOptional<z.ZodString>;
|
|
1501
1733
|
}, z.core.$strip>]>;
|
|
1502
|
-
}, z.core.$strip
|
|
1503
|
-
|
|
1734
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1735
|
+
type: z.ZodLiteral<"exact">;
|
|
1736
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1737
|
+
$userField: z.ZodEnum<{
|
|
1738
|
+
id: "id";
|
|
1739
|
+
name: "name";
|
|
1740
|
+
role: "role";
|
|
1741
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1742
|
+
firstname: "firstname";
|
|
1743
|
+
surname: "surname";
|
|
1744
|
+
middlename: "middlename";
|
|
1745
|
+
fullHonorificName: "fullHonorificName";
|
|
1746
|
+
device: "device";
|
|
1747
|
+
signature: "signature";
|
|
1748
|
+
avatar: "avatar";
|
|
1749
|
+
administrativeAreaId: "administrativeAreaId";
|
|
1750
|
+
}>;
|
|
1751
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1752
|
+
}, z.core.$strip>]>;
|
|
1753
|
+
}, z.core.$strip>]>>>;
|
|
1754
|
+
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1504
1755
|
type: z.ZodLiteral<"within">;
|
|
1505
1756
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1506
1757
|
$userField: z.ZodEnum<{
|
|
@@ -1519,7 +1770,26 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1519
1770
|
}>;
|
|
1520
1771
|
$location: z.ZodOptional<z.ZodString>;
|
|
1521
1772
|
}, z.core.$strip>]>;
|
|
1522
|
-
}, z.core.$strip
|
|
1773
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1774
|
+
type: z.ZodLiteral<"exact">;
|
|
1775
|
+
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1776
|
+
$userField: z.ZodEnum<{
|
|
1777
|
+
id: "id";
|
|
1778
|
+
name: "name";
|
|
1779
|
+
role: "role";
|
|
1780
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1781
|
+
firstname: "firstname";
|
|
1782
|
+
surname: "surname";
|
|
1783
|
+
middlename: "middlename";
|
|
1784
|
+
fullHonorificName: "fullHonorificName";
|
|
1785
|
+
device: "device";
|
|
1786
|
+
signature: "signature";
|
|
1787
|
+
avatar: "avatar";
|
|
1788
|
+
administrativeAreaId: "administrativeAreaId";
|
|
1789
|
+
}>;
|
|
1790
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1791
|
+
}, z.core.$strip>]>;
|
|
1792
|
+
}, z.core.$strip>]>>>;
|
|
1523
1793
|
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1524
1794
|
type: z.ZodLiteral<"exact">;
|
|
1525
1795
|
term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1631,4 +1901,5 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1631
1901
|
}, z.core.$strip>>;
|
|
1632
1902
|
}, z.core.$strip>]>;
|
|
1633
1903
|
export type CountryConfigQueryInputType = z.infer<typeof CountryConfigQueryInputType>;
|
|
1904
|
+
export {};
|
|
1634
1905
|
//# sourceMappingURL=CountryConfigQueryInput.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
export declare const Draft: z.ZodObject<{
|
|
3
|
-
id: z.core.$ZodBranded<z.ZodUUID, "UUID">;
|
|
4
|
-
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
|
|
3
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
4
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
5
5
|
transactionId: z.ZodString;
|
|
6
6
|
createdAt: z.ZodString;
|
|
7
7
|
action: z.ZodObject<{
|
|
@@ -38,20 +38,20 @@ export declare const Draft: z.ZodObject<{
|
|
|
38
38
|
}>;
|
|
39
39
|
createdBy: z.ZodString;
|
|
40
40
|
createdByRole: z.ZodOptional<z.ZodString>;
|
|
41
|
-
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath">>>;
|
|
41
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
42
42
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
43
43
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
44
|
-
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
|
|
44
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
45
45
|
}, z.core.$strip>;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
47
|
export declare const DraftInput: z.ZodObject<{
|
|
48
|
-
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
|
|
48
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
49
49
|
transactionId: z.ZodString;
|
|
50
50
|
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
51
51
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
52
|
-
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
|
|
52
|
+
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
53
53
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
|
|
54
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
55
55
|
type: z.ZodEnum<{
|
|
56
56
|
CREATE: "CREATE";
|
|
57
57
|
NOTIFY: "NOTIFY";
|
|
@@ -32,24 +32,42 @@ export type DynamicNameValue = ReturnType<typeof getDynamicNameValue>;
|
|
|
32
32
|
* This prevents clients from sending unexpected data keys that don’t exist
|
|
33
33
|
* in the configuration (a common data integrity issue).
|
|
34
34
|
*/
|
|
35
|
-
export declare function getDynamicAddressFieldValue(field: AddressField): z.
|
|
36
|
-
country:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
country:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
administrativeArea
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}, z.core.$
|
|
35
|
+
export declare function getDynamicAddressFieldValue(field: AddressField): z.ZodType<{
|
|
36
|
+
country: string;
|
|
37
|
+
addressType: "DOMESTIC";
|
|
38
|
+
administrativeArea: string;
|
|
39
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
40
|
+
} | {
|
|
41
|
+
country: string;
|
|
42
|
+
addressType: "INTERNATIONAL";
|
|
43
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
44
|
+
} | {
|
|
45
|
+
addressType: "DOMESTIC";
|
|
46
|
+
country?: string | null | undefined;
|
|
47
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
48
|
+
administrativeArea?: string | null | undefined;
|
|
49
|
+
} | {
|
|
50
|
+
addressType: "INTERNATIONAL";
|
|
51
|
+
country?: string | null | undefined;
|
|
52
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
53
|
+
} | null | undefined, unknown, z.core.$ZodTypeInternals<{
|
|
54
|
+
country: string;
|
|
55
|
+
addressType: "DOMESTIC";
|
|
56
|
+
administrativeArea: string;
|
|
57
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
58
|
+
} | {
|
|
59
|
+
country: string;
|
|
60
|
+
addressType: "INTERNATIONAL";
|
|
61
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
addressType: "DOMESTIC";
|
|
64
|
+
country?: string | null | undefined;
|
|
65
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
66
|
+
administrativeArea?: string | null | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
addressType: "INTERNATIONAL";
|
|
69
|
+
country?: string | null | undefined;
|
|
70
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
71
|
+
} | null | undefined, unknown>>;
|
|
54
72
|
export type DynamicAddressFieldValue = ReturnType<typeof getDynamicAddressFieldValue>;
|
|
55
73
|
//# sourceMappingURL=DynamicFieldValue.d.ts.map
|