@opencrvs/toolkit 1.9.12-rc.ba08187 → 1.9.12-rc.bacc78f
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 +2045 -41
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +3633 -0
- package/dist/commons/api/router.d.ts +337 -118
- package/dist/commons/application-config/index.d.ts +13 -16
- package/dist/commons/conditionals/conditionals.d.ts +8 -8
- package/dist/commons/events/ActionDocument.d.ts +196 -196
- package/dist/commons/events/ActionInput.d.ts +113 -113
- package/dist/commons/events/ActionType.d.ts +3 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
- package/dist/commons/events/AuditLog.d.ts +345 -163
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/CountryConfigQueryInput.d.ts +461 -190
- package/dist/commons/events/Draft.d.ts +9 -9
- package/dist/commons/events/DynamicFieldValue.d.ts +37 -19
- package/dist/commons/events/EventConfig.d.ts +3 -1
- package/dist/commons/events/EventDocument.d.ts +80 -80
- package/dist/commons/events/EventIndex.d.ts +35 -27
- package/dist/commons/events/EventInput.d.ts +1 -1
- package/dist/commons/events/EventMetadata.d.ts +19 -19
- package/dist/commons/events/FieldConfig.d.ts +287 -71
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +98 -72
- 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 +7 -7
- package/dist/commons/events/WorkqueueConfig.d.ts +443 -199
- package/dist/commons/events/defineConfig.d.ts +0 -4
- package/dist/commons/events/locations.d.ts +4 -4
- package/dist/commons/events/scopes.d.ts +4 -3
- package/dist/commons/events/state/index.d.ts +2 -2
- package/dist/commons/events/state/utils.d.ts +1 -1
- package/dist/commons/events/test.utils.d.ts +2 -2
- package/dist/commons/events/utils.d.ts +3 -175
- package/dist/commons/notification/UserNotifications.d.ts +6 -1
- package/dist/conditionals/index.js +74 -359
- package/dist/events/index.js +1196 -1260
- 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/checkout-upstream-files.d.ts +3 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -0
- package/dist/migrations/v2.0/checkout-upstream-files.js +143 -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 +829 -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/create-events-index.d.ts +3 -0
- package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -0
- package/dist/migrations/v2.0/create-events-index.js +326 -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 +3572 -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 +282 -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/migrate-workqueue-configs.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +237 -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-demo-scope.d.ts +3 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-demo-scope.js +75 -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-hearth-migrations.d.ts +3 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.js +78 -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/migrations/v2.0/simplify-analytics-precalculations.d.ts +3 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +196 -0
- package/dist/notification/index.js +1007 -1135
- package/dist/scopes/index.d.ts +389 -152
- package/dist/scopes/index.js +128 -322
- package/opencrvs-toolkit-1.9.12-rc.bacc78f.tgz +0 -0
- package/package.json +11 -7
- package/tsconfig.json +3 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-1.9.12-rc.ba08187.tgz +0 -0
|
@@ -144,16 +144,16 @@ export declare const TextField: z.ZodObject<{
|
|
|
144
144
|
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
145
145
|
$userField: z.ZodEnum<{
|
|
146
146
|
id: "id";
|
|
147
|
-
role: "role";
|
|
148
|
-
name: "name";
|
|
149
|
-
primaryOfficeId: "primaryOfficeId";
|
|
150
147
|
firstname: "firstname";
|
|
151
148
|
surname: "surname";
|
|
152
149
|
middlename: "middlename";
|
|
150
|
+
name: "name";
|
|
151
|
+
role: "role";
|
|
153
152
|
fullHonorificName: "fullHonorificName";
|
|
154
153
|
device: "device";
|
|
155
154
|
signature: "signature";
|
|
156
155
|
avatar: "avatar";
|
|
156
|
+
primaryOfficeId: "primaryOfficeId";
|
|
157
157
|
administrativeAreaId: "administrativeAreaId";
|
|
158
158
|
}>;
|
|
159
159
|
$location: z.ZodOptional<z.ZodString>;
|
|
@@ -440,7 +440,7 @@ declare const DateField: z.ZodObject<{
|
|
|
440
440
|
type: z.ZodLiteral<"DATE">;
|
|
441
441
|
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
442
442
|
$$now: z.ZodLiteral<true>;
|
|
443
|
-
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate">]>>;
|
|
443
|
+
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>>;
|
|
444
444
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
445
445
|
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
446
446
|
}, z.core.$strip>>;
|
|
@@ -590,9 +590,9 @@ declare const DateRangeField: z.ZodObject<{
|
|
|
590
590
|
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
591
591
|
type: z.ZodLiteral<"DATE_RANGE">;
|
|
592
592
|
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
593
|
-
start: z.core.$ZodBranded<z.ZodString, "PlainDate">;
|
|
594
|
-
end: z.core.$ZodBranded<z.ZodString, "PlainDate">;
|
|
595
|
-
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate">]>>;
|
|
593
|
+
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
594
|
+
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
595
|
+
}, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>>;
|
|
596
596
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
597
597
|
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
598
598
|
}, z.core.$strip>>;
|
|
@@ -766,7 +766,6 @@ declare const Paragraph: z.ZodObject<{
|
|
|
766
766
|
}, z.core.$strip>>]>>;
|
|
767
767
|
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
768
768
|
type: z.ZodLiteral<"PARAGRAPH">;
|
|
769
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
|
770
769
|
configuration: z.ZodDefault<z.ZodObject<{
|
|
771
770
|
styles: z.ZodOptional<z.ZodObject<{
|
|
772
771
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -822,7 +821,6 @@ declare const Heading: z.ZodObject<{
|
|
|
822
821
|
}, z.core.$strip>>]>>;
|
|
823
822
|
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
824
823
|
type: z.ZodLiteral<"HEADING">;
|
|
825
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
|
826
824
|
configuration: z.ZodDefault<z.ZodObject<{
|
|
827
825
|
styles: z.ZodOptional<z.ZodObject<{
|
|
828
826
|
fontVariant: z.ZodOptional<z.ZodEnum<{
|
|
@@ -885,7 +883,6 @@ declare const PageHeader: z.ZodObject<{
|
|
|
885
883
|
}, z.core.$strip>>]>>;
|
|
886
884
|
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
887
885
|
type: z.ZodLiteral<"PAGE_HEADER">;
|
|
888
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
|
889
886
|
}, z.core.$strip>;
|
|
890
887
|
export type PageHeader = z.infer<typeof PageHeader>;
|
|
891
888
|
declare const File: z.ZodObject<{
|
|
@@ -930,7 +927,7 @@ declare const File: z.ZodObject<{
|
|
|
930
927
|
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
931
928
|
type: z.ZodLiteral<"FILE">;
|
|
932
929
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
933
|
-
path: z.core.$ZodBranded<z.ZodString, "DocumentPath">;
|
|
930
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
934
931
|
originalFilename: z.ZodString;
|
|
935
932
|
type: z.ZodString;
|
|
936
933
|
}, z.core.$strip>>;
|
|
@@ -1139,7 +1136,6 @@ declare const BulletList: z.ZodObject<{
|
|
|
1139
1136
|
}, z.core.$strip>>]>>;
|
|
1140
1137
|
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1141
1138
|
type: z.ZodLiteral<"BULLET_LIST">;
|
|
1142
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1143
1139
|
items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
1144
1140
|
configuration: z.ZodDefault<z.ZodObject<{
|
|
1145
1141
|
styles: z.ZodOptional<z.ZodObject<{
|
|
@@ -1349,16 +1345,16 @@ declare const NameField: z.ZodObject<{
|
|
|
1349
1345
|
firstname: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1350
1346
|
$userField: z.ZodEnum<{
|
|
1351
1347
|
id: "id";
|
|
1352
|
-
role: "role";
|
|
1353
|
-
name: "name";
|
|
1354
|
-
primaryOfficeId: "primaryOfficeId";
|
|
1355
1348
|
firstname: "firstname";
|
|
1356
1349
|
surname: "surname";
|
|
1357
1350
|
middlename: "middlename";
|
|
1351
|
+
name: "name";
|
|
1352
|
+
role: "role";
|
|
1358
1353
|
fullHonorificName: "fullHonorificName";
|
|
1359
1354
|
device: "device";
|
|
1360
1355
|
signature: "signature";
|
|
1361
1356
|
avatar: "avatar";
|
|
1357
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1362
1358
|
administrativeAreaId: "administrativeAreaId";
|
|
1363
1359
|
}>;
|
|
1364
1360
|
$location: z.ZodOptional<z.ZodString>;
|
|
@@ -1366,16 +1362,16 @@ declare const NameField: z.ZodObject<{
|
|
|
1366
1362
|
middlename: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1367
1363
|
$userField: z.ZodEnum<{
|
|
1368
1364
|
id: "id";
|
|
1369
|
-
role: "role";
|
|
1370
|
-
name: "name";
|
|
1371
|
-
primaryOfficeId: "primaryOfficeId";
|
|
1372
1365
|
firstname: "firstname";
|
|
1373
1366
|
surname: "surname";
|
|
1374
1367
|
middlename: "middlename";
|
|
1368
|
+
name: "name";
|
|
1369
|
+
role: "role";
|
|
1375
1370
|
fullHonorificName: "fullHonorificName";
|
|
1376
1371
|
device: "device";
|
|
1377
1372
|
signature: "signature";
|
|
1378
1373
|
avatar: "avatar";
|
|
1374
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1379
1375
|
administrativeAreaId: "administrativeAreaId";
|
|
1380
1376
|
}>;
|
|
1381
1377
|
$location: z.ZodOptional<z.ZodString>;
|
|
@@ -1383,16 +1379,16 @@ declare const NameField: z.ZodObject<{
|
|
|
1383
1379
|
surname: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1384
1380
|
$userField: z.ZodEnum<{
|
|
1385
1381
|
id: "id";
|
|
1386
|
-
role: "role";
|
|
1387
|
-
name: "name";
|
|
1388
|
-
primaryOfficeId: "primaryOfficeId";
|
|
1389
1382
|
firstname: "firstname";
|
|
1390
1383
|
surname: "surname";
|
|
1391
1384
|
middlename: "middlename";
|
|
1385
|
+
name: "name";
|
|
1386
|
+
role: "role";
|
|
1392
1387
|
fullHonorificName: "fullHonorificName";
|
|
1393
1388
|
device: "device";
|
|
1394
1389
|
signature: "signature";
|
|
1395
1390
|
avatar: "avatar";
|
|
1391
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1396
1392
|
administrativeAreaId: "administrativeAreaId";
|
|
1397
1393
|
}>;
|
|
1398
1394
|
$location: z.ZodOptional<z.ZodString>;
|
|
@@ -1663,16 +1659,16 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1663
1659
|
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1664
1660
|
$userField: z.ZodEnum<{
|
|
1665
1661
|
id: "id";
|
|
1666
|
-
role: "role";
|
|
1667
|
-
name: "name";
|
|
1668
|
-
primaryOfficeId: "primaryOfficeId";
|
|
1669
1662
|
firstname: "firstname";
|
|
1670
1663
|
surname: "surname";
|
|
1671
1664
|
middlename: "middlename";
|
|
1665
|
+
name: "name";
|
|
1666
|
+
role: "role";
|
|
1672
1667
|
fullHonorificName: "fullHonorificName";
|
|
1673
1668
|
device: "device";
|
|
1674
1669
|
signature: "signature";
|
|
1675
1670
|
avatar: "avatar";
|
|
1671
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1676
1672
|
administrativeAreaId: "administrativeAreaId";
|
|
1677
1673
|
}>;
|
|
1678
1674
|
$location: z.ZodOptional<z.ZodString>;
|
|
@@ -1689,26 +1685,46 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1689
1685
|
}>;
|
|
1690
1686
|
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
1691
1687
|
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
1692
|
-
all: "all";
|
|
1693
1688
|
administrativeArea: "administrativeArea";
|
|
1694
1689
|
location: "location";
|
|
1690
|
+
all: "all";
|
|
1695
1691
|
}>, z.ZodObject<{
|
|
1696
1692
|
$scope: z.ZodEnum<{
|
|
1693
|
+
"record.search": "record.search";
|
|
1697
1694
|
"record.create": "record.create";
|
|
1698
1695
|
"record.read": "record.read";
|
|
1699
1696
|
"record.declare": "record.declare";
|
|
1700
1697
|
"record.notify": "record.notify";
|
|
1701
|
-
"record.register": "record.register";
|
|
1702
|
-
"record.unassign-others": "record.unassign-others";
|
|
1703
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
1704
|
-
"record.search": "record.search";
|
|
1705
1698
|
"record.edit": "record.edit";
|
|
1706
1699
|
"record.reject": "record.reject";
|
|
1707
1700
|
"record.archive": "record.archive";
|
|
1701
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
1702
|
+
"record.register": "record.register";
|
|
1708
1703
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
1709
1704
|
"record.request-correction": "record.request-correction";
|
|
1710
1705
|
"record.correct": "record.correct";
|
|
1706
|
+
"record.unassign-others": "record.unassign-others";
|
|
1711
1707
|
"record.custom-action": "record.custom-action";
|
|
1708
|
+
bypassratelimit: "bypassratelimit";
|
|
1709
|
+
"record.reindex": "record.reindex";
|
|
1710
|
+
"user.data-seeding": "user.data-seeding";
|
|
1711
|
+
"integration.create": "integration.create";
|
|
1712
|
+
"record.import": "record.import";
|
|
1713
|
+
"config.update-all": "config.update-all";
|
|
1714
|
+
"attachment.upload": "attachment.upload";
|
|
1715
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
1716
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
1717
|
+
"performance.read": "performance.read";
|
|
1718
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
1719
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
1720
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
1721
|
+
"record.reject-registration": "record.reject-registration";
|
|
1722
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
1723
|
+
"user.read": "user.read";
|
|
1724
|
+
"user.create": "user.create";
|
|
1725
|
+
"user.edit": "user.edit";
|
|
1726
|
+
workqueue: "workqueue";
|
|
1727
|
+
"dashboard.view": "dashboard.view";
|
|
1712
1728
|
}>;
|
|
1713
1729
|
$option: z.ZodEnum<{
|
|
1714
1730
|
event: "event";
|
|
@@ -1717,6 +1733,8 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1717
1733
|
declaredBy: "declaredBy";
|
|
1718
1734
|
registeredIn: "registeredIn";
|
|
1719
1735
|
registeredBy: "registeredBy";
|
|
1736
|
+
accessLevel: "accessLevel";
|
|
1737
|
+
ids: "ids";
|
|
1720
1738
|
}>;
|
|
1721
1739
|
}, z.core.$strip>]>;
|
|
1722
1740
|
}, z.core.$strip>>;
|
|
@@ -1767,44 +1785,64 @@ declare const LocationInput: z.ZodObject<{
|
|
|
1767
1785
|
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1768
1786
|
$userField: z.ZodEnum<{
|
|
1769
1787
|
id: "id";
|
|
1770
|
-
role: "role";
|
|
1771
|
-
name: "name";
|
|
1772
|
-
primaryOfficeId: "primaryOfficeId";
|
|
1773
1788
|
firstname: "firstname";
|
|
1774
1789
|
surname: "surname";
|
|
1775
1790
|
middlename: "middlename";
|
|
1791
|
+
name: "name";
|
|
1792
|
+
role: "role";
|
|
1776
1793
|
fullHonorificName: "fullHonorificName";
|
|
1777
1794
|
device: "device";
|
|
1778
1795
|
signature: "signature";
|
|
1779
1796
|
avatar: "avatar";
|
|
1797
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1780
1798
|
administrativeAreaId: "administrativeAreaId";
|
|
1781
1799
|
}>;
|
|
1782
1800
|
$location: z.ZodOptional<z.ZodString>;
|
|
1783
1801
|
}, z.core.$strip>]>>;
|
|
1784
|
-
configuration: z.ZodObject<{
|
|
1802
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
1785
1803
|
locationTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1786
1804
|
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
1787
1805
|
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
1788
|
-
all: "all";
|
|
1789
1806
|
administrativeArea: "administrativeArea";
|
|
1790
1807
|
location: "location";
|
|
1808
|
+
all: "all";
|
|
1791
1809
|
}>, z.ZodObject<{
|
|
1792
1810
|
$scope: z.ZodEnum<{
|
|
1811
|
+
"record.search": "record.search";
|
|
1793
1812
|
"record.create": "record.create";
|
|
1794
1813
|
"record.read": "record.read";
|
|
1795
1814
|
"record.declare": "record.declare";
|
|
1796
1815
|
"record.notify": "record.notify";
|
|
1797
|
-
"record.register": "record.register";
|
|
1798
|
-
"record.unassign-others": "record.unassign-others";
|
|
1799
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
1800
|
-
"record.search": "record.search";
|
|
1801
1816
|
"record.edit": "record.edit";
|
|
1802
1817
|
"record.reject": "record.reject";
|
|
1803
1818
|
"record.archive": "record.archive";
|
|
1819
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
1820
|
+
"record.register": "record.register";
|
|
1804
1821
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
1805
1822
|
"record.request-correction": "record.request-correction";
|
|
1806
1823
|
"record.correct": "record.correct";
|
|
1824
|
+
"record.unassign-others": "record.unassign-others";
|
|
1807
1825
|
"record.custom-action": "record.custom-action";
|
|
1826
|
+
bypassratelimit: "bypassratelimit";
|
|
1827
|
+
"record.reindex": "record.reindex";
|
|
1828
|
+
"user.data-seeding": "user.data-seeding";
|
|
1829
|
+
"integration.create": "integration.create";
|
|
1830
|
+
"record.import": "record.import";
|
|
1831
|
+
"config.update-all": "config.update-all";
|
|
1832
|
+
"attachment.upload": "attachment.upload";
|
|
1833
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
1834
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
1835
|
+
"performance.read": "performance.read";
|
|
1836
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
1837
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
1838
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
1839
|
+
"record.reject-registration": "record.reject-registration";
|
|
1840
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
1841
|
+
"user.read": "user.read";
|
|
1842
|
+
"user.create": "user.create";
|
|
1843
|
+
"user.edit": "user.edit";
|
|
1844
|
+
workqueue: "workqueue";
|
|
1845
|
+
"dashboard.view": "dashboard.view";
|
|
1808
1846
|
}>;
|
|
1809
1847
|
$option: z.ZodEnum<{
|
|
1810
1848
|
event: "event";
|
|
@@ -1813,10 +1851,12 @@ declare const LocationInput: z.ZodObject<{
|
|
|
1813
1851
|
declaredBy: "declaredBy";
|
|
1814
1852
|
registeredIn: "registeredIn";
|
|
1815
1853
|
registeredBy: "registeredBy";
|
|
1854
|
+
accessLevel: "accessLevel";
|
|
1855
|
+
ids: "ids";
|
|
1816
1856
|
}>;
|
|
1817
1857
|
}, z.core.$strip>]>;
|
|
1818
1858
|
}, z.core.$strip>>;
|
|
1819
|
-
}, z.core.$strip
|
|
1859
|
+
}, z.core.$strip>>;
|
|
1820
1860
|
}, z.core.$strip>;
|
|
1821
1861
|
export type LocationInput = z.infer<typeof LocationInput>;
|
|
1822
1862
|
declare const FileUploadWithOptions: z.ZodObject<{
|
|
@@ -1872,7 +1912,7 @@ declare const FileUploadWithOptions: z.ZodObject<{
|
|
|
1872
1912
|
}, z.core.$strip>], "type">>>>;
|
|
1873
1913
|
}, z.core.$strip>>;
|
|
1874
1914
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1875
|
-
path: z.core.$ZodBranded<z.ZodString, "DocumentPath">;
|
|
1915
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
1876
1916
|
originalFilename: z.ZodString;
|
|
1877
1917
|
type: z.ZodString;
|
|
1878
1918
|
option: z.ZodString;
|
|
@@ -1946,26 +1986,46 @@ declare const Facility: z.ZodObject<{
|
|
|
1946
1986
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
1947
1987
|
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
1948
1988
|
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
1949
|
-
all: "all";
|
|
1950
1989
|
administrativeArea: "administrativeArea";
|
|
1951
1990
|
location: "location";
|
|
1991
|
+
all: "all";
|
|
1952
1992
|
}>, z.ZodObject<{
|
|
1953
1993
|
$scope: z.ZodEnum<{
|
|
1994
|
+
"record.search": "record.search";
|
|
1954
1995
|
"record.create": "record.create";
|
|
1955
1996
|
"record.read": "record.read";
|
|
1956
1997
|
"record.declare": "record.declare";
|
|
1957
1998
|
"record.notify": "record.notify";
|
|
1958
|
-
"record.register": "record.register";
|
|
1959
|
-
"record.unassign-others": "record.unassign-others";
|
|
1960
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
1961
|
-
"record.search": "record.search";
|
|
1962
1999
|
"record.edit": "record.edit";
|
|
1963
2000
|
"record.reject": "record.reject";
|
|
1964
2001
|
"record.archive": "record.archive";
|
|
2002
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
2003
|
+
"record.register": "record.register";
|
|
1965
2004
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
1966
2005
|
"record.request-correction": "record.request-correction";
|
|
1967
2006
|
"record.correct": "record.correct";
|
|
2007
|
+
"record.unassign-others": "record.unassign-others";
|
|
1968
2008
|
"record.custom-action": "record.custom-action";
|
|
2009
|
+
bypassratelimit: "bypassratelimit";
|
|
2010
|
+
"record.reindex": "record.reindex";
|
|
2011
|
+
"user.data-seeding": "user.data-seeding";
|
|
2012
|
+
"integration.create": "integration.create";
|
|
2013
|
+
"record.import": "record.import";
|
|
2014
|
+
"config.update-all": "config.update-all";
|
|
2015
|
+
"attachment.upload": "attachment.upload";
|
|
2016
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
2017
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
2018
|
+
"performance.read": "performance.read";
|
|
2019
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
2020
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
2021
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
2022
|
+
"record.reject-registration": "record.reject-registration";
|
|
2023
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
2024
|
+
"user.read": "user.read";
|
|
2025
|
+
"user.create": "user.create";
|
|
2026
|
+
"user.edit": "user.edit";
|
|
2027
|
+
workqueue: "workqueue";
|
|
2028
|
+
"dashboard.view": "dashboard.view";
|
|
1969
2029
|
}>;
|
|
1970
2030
|
$option: z.ZodEnum<{
|
|
1971
2031
|
event: "event";
|
|
@@ -1974,6 +2034,8 @@ declare const Facility: z.ZodObject<{
|
|
|
1974
2034
|
declaredBy: "declaredBy";
|
|
1975
2035
|
registeredIn: "registeredIn";
|
|
1976
2036
|
registeredBy: "registeredBy";
|
|
2037
|
+
accessLevel: "accessLevel";
|
|
2038
|
+
ids: "ids";
|
|
1977
2039
|
}>;
|
|
1978
2040
|
}, z.core.$strip>]>;
|
|
1979
2041
|
}, z.core.$strip>>;
|
|
@@ -2028,26 +2090,46 @@ declare const Office: z.ZodObject<{
|
|
|
2028
2090
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
2029
2091
|
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
2030
2092
|
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
2031
|
-
all: "all";
|
|
2032
2093
|
administrativeArea: "administrativeArea";
|
|
2033
2094
|
location: "location";
|
|
2095
|
+
all: "all";
|
|
2034
2096
|
}>, z.ZodObject<{
|
|
2035
2097
|
$scope: z.ZodEnum<{
|
|
2098
|
+
"record.search": "record.search";
|
|
2036
2099
|
"record.create": "record.create";
|
|
2037
2100
|
"record.read": "record.read";
|
|
2038
2101
|
"record.declare": "record.declare";
|
|
2039
2102
|
"record.notify": "record.notify";
|
|
2040
|
-
"record.register": "record.register";
|
|
2041
|
-
"record.unassign-others": "record.unassign-others";
|
|
2042
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
2043
|
-
"record.search": "record.search";
|
|
2044
2103
|
"record.edit": "record.edit";
|
|
2045
2104
|
"record.reject": "record.reject";
|
|
2046
2105
|
"record.archive": "record.archive";
|
|
2106
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
2107
|
+
"record.register": "record.register";
|
|
2047
2108
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
2048
2109
|
"record.request-correction": "record.request-correction";
|
|
2049
2110
|
"record.correct": "record.correct";
|
|
2111
|
+
"record.unassign-others": "record.unassign-others";
|
|
2050
2112
|
"record.custom-action": "record.custom-action";
|
|
2113
|
+
bypassratelimit: "bypassratelimit";
|
|
2114
|
+
"record.reindex": "record.reindex";
|
|
2115
|
+
"user.data-seeding": "user.data-seeding";
|
|
2116
|
+
"integration.create": "integration.create";
|
|
2117
|
+
"record.import": "record.import";
|
|
2118
|
+
"config.update-all": "config.update-all";
|
|
2119
|
+
"attachment.upload": "attachment.upload";
|
|
2120
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
2121
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
2122
|
+
"performance.read": "performance.read";
|
|
2123
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
2124
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
2125
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
2126
|
+
"record.reject-registration": "record.reject-registration";
|
|
2127
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
2128
|
+
"user.read": "user.read";
|
|
2129
|
+
"user.create": "user.create";
|
|
2130
|
+
"user.edit": "user.edit";
|
|
2131
|
+
workqueue: "workqueue";
|
|
2132
|
+
"dashboard.view": "dashboard.view";
|
|
2051
2133
|
}>;
|
|
2052
2134
|
$option: z.ZodEnum<{
|
|
2053
2135
|
event: "event";
|
|
@@ -2056,6 +2138,8 @@ declare const Office: z.ZodObject<{
|
|
|
2056
2138
|
declaredBy: "declaredBy";
|
|
2057
2139
|
registeredIn: "registeredIn";
|
|
2058
2140
|
registeredBy: "registeredBy";
|
|
2141
|
+
accessLevel: "accessLevel";
|
|
2142
|
+
ids: "ids";
|
|
2059
2143
|
}>;
|
|
2060
2144
|
}, z.core.$strip>]>;
|
|
2061
2145
|
}, z.core.$strip>>;
|
|
@@ -2066,19 +2150,19 @@ export declare const DefaultAddressFieldValue: z.ZodObject<{
|
|
|
2066
2150
|
country: z.ZodString;
|
|
2067
2151
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2068
2152
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
2069
|
-
administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID">, z.ZodObject<{
|
|
2153
|
+
administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
|
|
2070
2154
|
$userField: z.ZodEnum<{
|
|
2071
2155
|
id: "id";
|
|
2072
|
-
role: "role";
|
|
2073
|
-
name: "name";
|
|
2074
|
-
primaryOfficeId: "primaryOfficeId";
|
|
2075
2156
|
firstname: "firstname";
|
|
2076
2157
|
surname: "surname";
|
|
2077
2158
|
middlename: "middlename";
|
|
2159
|
+
name: "name";
|
|
2160
|
+
role: "role";
|
|
2078
2161
|
fullHonorificName: "fullHonorificName";
|
|
2079
2162
|
device: "device";
|
|
2080
2163
|
signature: "signature";
|
|
2081
2164
|
avatar: "avatar";
|
|
2165
|
+
primaryOfficeId: "primaryOfficeId";
|
|
2082
2166
|
administrativeAreaId: "administrativeAreaId";
|
|
2083
2167
|
}>;
|
|
2084
2168
|
$location: z.ZodOptional<z.ZodString>;
|
|
@@ -2130,8 +2214,8 @@ declare const Address: z.ZodObject<{
|
|
|
2130
2214
|
lineSeparator: z.ZodOptional<z.ZodString>;
|
|
2131
2215
|
fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2132
2216
|
id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
2133
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
2134
2217
|
type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"COUNTRY">>>;
|
|
2218
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
2135
2219
|
required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2136
2220
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
2137
2221
|
}, z.core.$strip>]>>>>;
|
|
@@ -2157,8 +2241,8 @@ declare const Address: z.ZodObject<{
|
|
|
2157
2241
|
}, z.core.$strip>>>>;
|
|
2158
2242
|
}, z.core.$strip>, z.ZodObject<{
|
|
2159
2243
|
id: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
2160
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
2161
2244
|
type: z.ZodNonOptional<z.ZodOptional<z.ZodLiteral<"ADMINISTRATIVE_AREA">>>;
|
|
2245
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
2162
2246
|
required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2163
2247
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
2164
2248
|
}, z.core.$strip>]>>>>;
|
|
@@ -2197,26 +2281,46 @@ declare const Address: z.ZodObject<{
|
|
|
2197
2281
|
}, z.core.$strip>>>;
|
|
2198
2282
|
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
2199
2283
|
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
2200
|
-
all: "all";
|
|
2201
2284
|
administrativeArea: "administrativeArea";
|
|
2202
2285
|
location: "location";
|
|
2286
|
+
all: "all";
|
|
2203
2287
|
}>, z.ZodObject<{
|
|
2204
2288
|
$scope: z.ZodEnum<{
|
|
2289
|
+
"record.search": "record.search";
|
|
2205
2290
|
"record.create": "record.create";
|
|
2206
2291
|
"record.read": "record.read";
|
|
2207
2292
|
"record.declare": "record.declare";
|
|
2208
2293
|
"record.notify": "record.notify";
|
|
2209
|
-
"record.register": "record.register";
|
|
2210
|
-
"record.unassign-others": "record.unassign-others";
|
|
2211
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
2212
|
-
"record.search": "record.search";
|
|
2213
2294
|
"record.edit": "record.edit";
|
|
2214
2295
|
"record.reject": "record.reject";
|
|
2215
2296
|
"record.archive": "record.archive";
|
|
2297
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
2298
|
+
"record.register": "record.register";
|
|
2216
2299
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
2217
2300
|
"record.request-correction": "record.request-correction";
|
|
2218
2301
|
"record.correct": "record.correct";
|
|
2302
|
+
"record.unassign-others": "record.unassign-others";
|
|
2219
2303
|
"record.custom-action": "record.custom-action";
|
|
2304
|
+
bypassratelimit: "bypassratelimit";
|
|
2305
|
+
"record.reindex": "record.reindex";
|
|
2306
|
+
"user.data-seeding": "user.data-seeding";
|
|
2307
|
+
"integration.create": "integration.create";
|
|
2308
|
+
"record.import": "record.import";
|
|
2309
|
+
"config.update-all": "config.update-all";
|
|
2310
|
+
"attachment.upload": "attachment.upload";
|
|
2311
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
2312
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
2313
|
+
"performance.read": "performance.read";
|
|
2314
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
2315
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
2316
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
2317
|
+
"record.reject-registration": "record.reject-registration";
|
|
2318
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
2319
|
+
"user.read": "user.read";
|
|
2320
|
+
"user.create": "user.create";
|
|
2321
|
+
"user.edit": "user.edit";
|
|
2322
|
+
workqueue: "workqueue";
|
|
2323
|
+
"dashboard.view": "dashboard.view";
|
|
2220
2324
|
}>;
|
|
2221
2325
|
$option: z.ZodEnum<{
|
|
2222
2326
|
event: "event";
|
|
@@ -2225,6 +2329,8 @@ declare const Address: z.ZodObject<{
|
|
|
2225
2329
|
declaredBy: "declaredBy";
|
|
2226
2330
|
registeredIn: "registeredIn";
|
|
2227
2331
|
registeredBy: "registeredBy";
|
|
2332
|
+
accessLevel: "accessLevel";
|
|
2333
|
+
ids: "ids";
|
|
2228
2334
|
}>;
|
|
2229
2335
|
}, z.core.$strip>]>;
|
|
2230
2336
|
}, z.core.$strip>>;
|
|
@@ -2233,19 +2339,19 @@ declare const Address: z.ZodObject<{
|
|
|
2233
2339
|
country: z.ZodString;
|
|
2234
2340
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2235
2341
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
2236
|
-
administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID">, z.ZodObject<{
|
|
2342
|
+
administrativeArea: z.ZodOptional<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "UUID", "out">, z.ZodObject<{
|
|
2237
2343
|
$userField: z.ZodEnum<{
|
|
2238
2344
|
id: "id";
|
|
2239
|
-
role: "role";
|
|
2240
|
-
name: "name";
|
|
2241
|
-
primaryOfficeId: "primaryOfficeId";
|
|
2242
2345
|
firstname: "firstname";
|
|
2243
2346
|
surname: "surname";
|
|
2244
2347
|
middlename: "middlename";
|
|
2348
|
+
name: "name";
|
|
2349
|
+
role: "role";
|
|
2245
2350
|
fullHonorificName: "fullHonorificName";
|
|
2246
2351
|
device: "device";
|
|
2247
2352
|
signature: "signature";
|
|
2248
2353
|
avatar: "avatar";
|
|
2354
|
+
primaryOfficeId: "primaryOfficeId";
|
|
2249
2355
|
administrativeAreaId: "administrativeAreaId";
|
|
2250
2356
|
}>;
|
|
2251
2357
|
$location: z.ZodOptional<z.ZodString>;
|
|
@@ -2328,6 +2434,35 @@ declare const DataField: z.ZodObject<{
|
|
|
2328
2434
|
}, z.core.$strip>;
|
|
2329
2435
|
}, z.core.$strip>;
|
|
2330
2436
|
export type DataField = z.infer<typeof DataField>;
|
|
2437
|
+
declare const ButtonConfiguration: z.ZodObject<{
|
|
2438
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2439
|
+
loading: z.ZodOptional<z.ZodBoolean>;
|
|
2440
|
+
buttonSize: z.ZodOptional<z.ZodEnum<{
|
|
2441
|
+
small: "small";
|
|
2442
|
+
medium: "medium";
|
|
2443
|
+
large: "large";
|
|
2444
|
+
}>>;
|
|
2445
|
+
buttonType: z.ZodOptional<z.ZodEnum<{
|
|
2446
|
+
primary: "primary";
|
|
2447
|
+
secondary: "secondary";
|
|
2448
|
+
tertiary: "tertiary";
|
|
2449
|
+
positive: "positive";
|
|
2450
|
+
negative: "negative";
|
|
2451
|
+
secondaryNegative: "secondaryNegative";
|
|
2452
|
+
icon: "icon";
|
|
2453
|
+
iconPrimary: "iconPrimary";
|
|
2454
|
+
}>>;
|
|
2455
|
+
textColor: z.ZodOptional<z.ZodEnum<{
|
|
2456
|
+
primary: "primary";
|
|
2457
|
+
copy: "copy";
|
|
2458
|
+
}>>;
|
|
2459
|
+
textVariant: z.ZodOptional<z.ZodEnum<{
|
|
2460
|
+
reg14: "reg14";
|
|
2461
|
+
bold14: "bold14";
|
|
2462
|
+
}>>;
|
|
2463
|
+
text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
2464
|
+
}, z.core.$strip>;
|
|
2465
|
+
export type ButtonConfiguration = z.infer<typeof ButtonConfiguration>;
|
|
2331
2466
|
declare const ButtonField: z.ZodObject<{
|
|
2332
2467
|
id: z.ZodString;
|
|
2333
2468
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
@@ -2373,6 +2508,29 @@ declare const ButtonField: z.ZodObject<{
|
|
|
2373
2508
|
configuration: z.ZodObject<{
|
|
2374
2509
|
icon: z.ZodOptional<z.ZodString>;
|
|
2375
2510
|
loading: z.ZodOptional<z.ZodBoolean>;
|
|
2511
|
+
buttonSize: z.ZodOptional<z.ZodEnum<{
|
|
2512
|
+
small: "small";
|
|
2513
|
+
medium: "medium";
|
|
2514
|
+
large: "large";
|
|
2515
|
+
}>>;
|
|
2516
|
+
buttonType: z.ZodOptional<z.ZodEnum<{
|
|
2517
|
+
primary: "primary";
|
|
2518
|
+
secondary: "secondary";
|
|
2519
|
+
tertiary: "tertiary";
|
|
2520
|
+
positive: "positive";
|
|
2521
|
+
negative: "negative";
|
|
2522
|
+
secondaryNegative: "secondaryNegative";
|
|
2523
|
+
icon: "icon";
|
|
2524
|
+
iconPrimary: "iconPrimary";
|
|
2525
|
+
}>>;
|
|
2526
|
+
textColor: z.ZodOptional<z.ZodEnum<{
|
|
2527
|
+
primary: "primary";
|
|
2528
|
+
copy: "copy";
|
|
2529
|
+
}>>;
|
|
2530
|
+
textVariant: z.ZodOptional<z.ZodEnum<{
|
|
2531
|
+
reg14: "reg14";
|
|
2532
|
+
bold14: "bold14";
|
|
2533
|
+
}>>;
|
|
2376
2534
|
text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
2377
2535
|
}, z.core.$strip>;
|
|
2378
2536
|
}, z.core.$strip>;
|
|
@@ -2504,6 +2662,60 @@ declare const HttpField: z.ZodObject<{
|
|
|
2504
2662
|
}, z.core.$strip>;
|
|
2505
2663
|
}, z.core.$strip>;
|
|
2506
2664
|
export type HttpField = z.infer<typeof HttpField>;
|
|
2665
|
+
declare const AutocompleteField: z.ZodObject<{
|
|
2666
|
+
id: z.ZodString;
|
|
2667
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
2668
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2669
|
+
$$field: z.ZodString;
|
|
2670
|
+
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2671
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2672
|
+
$$field: z.ZodString;
|
|
2673
|
+
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2674
|
+
}, z.core.$strip>>]>>;
|
|
2675
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2676
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
2677
|
+
}, z.core.$strip>]>>>;
|
|
2678
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2679
|
+
type: z.ZodLiteral<"SHOW">;
|
|
2680
|
+
conditional: z.ZodAny;
|
|
2681
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2682
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
2683
|
+
conditional: z.ZodAny;
|
|
2684
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2685
|
+
type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
|
|
2686
|
+
conditional: z.ZodAny;
|
|
2687
|
+
}, z.core.$strip>], "type">>>>;
|
|
2688
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2689
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
2690
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2691
|
+
validator: z.ZodAny;
|
|
2692
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
2693
|
+
}, z.core.$strip>>>>;
|
|
2694
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
2695
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2696
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2697
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2698
|
+
$$field: z.ZodString;
|
|
2699
|
+
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2700
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2701
|
+
$$field: z.ZodString;
|
|
2702
|
+
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2703
|
+
}, z.core.$strip>>]>>;
|
|
2704
|
+
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2705
|
+
type: z.ZodLiteral<"AUTOCOMPLETE">;
|
|
2706
|
+
configuration: z.ZodObject<{
|
|
2707
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2708
|
+
method: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
2709
|
+
GET: "GET";
|
|
2710
|
+
POST: "POST";
|
|
2711
|
+
}>>>;
|
|
2712
|
+
defaultOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2713
|
+
label: z.ZodString;
|
|
2714
|
+
value: z.ZodString;
|
|
2715
|
+
}, z.core.$strip>>>;
|
|
2716
|
+
}, z.core.$strip>;
|
|
2717
|
+
}, z.core.$strip>;
|
|
2718
|
+
export type AutocompleteField = z.infer<typeof AutocompleteField>;
|
|
2507
2719
|
declare const SearchField: z.ZodObject<{
|
|
2508
2720
|
id: z.ZodString;
|
|
2509
2721
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
@@ -2956,7 +3168,7 @@ declare const CustomField: z.ZodObject<{
|
|
|
2956
3168
|
}, z.core.$strip>>]>>;
|
|
2957
3169
|
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2958
3170
|
type: z.ZodLiteral<"CUSTOM">;
|
|
2959
|
-
defaultValue: z.ZodOptional<z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue">>;
|
|
3171
|
+
defaultValue: z.ZodOptional<z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out">>;
|
|
2960
3172
|
src: z.ZodString;
|
|
2961
3173
|
configuration: z.ZodOptional<z.ZodUnknown>;
|
|
2962
3174
|
}, z.core.$strip>;
|
|
@@ -2991,7 +3203,6 @@ declare const LoaderField: z.ZodObject<{
|
|
|
2991
3203
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
2992
3204
|
}, z.core.$strip>>>>;
|
|
2993
3205
|
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
2994
|
-
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2995
3206
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2996
3207
|
value: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2997
3208
|
$$field: z.ZodString;
|
|
@@ -3002,6 +3213,11 @@ declare const LoaderField: z.ZodObject<{
|
|
|
3002
3213
|
}, z.core.$strip>>]>>;
|
|
3003
3214
|
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3004
3215
|
type: z.ZodLiteral<"LOADER">;
|
|
3216
|
+
variant: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
3217
|
+
default: "default";
|
|
3218
|
+
highlighted: "highlighted";
|
|
3219
|
+
}>>>;
|
|
3220
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3005
3221
|
configuration: z.ZodObject<{
|
|
3006
3222
|
text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
3007
3223
|
}, z.core.$strip>;
|
|
@@ -3094,12 +3310,12 @@ declare const UserRoleField: z.ZodObject<{
|
|
|
3094
3310
|
}, z.core.$strip>;
|
|
3095
3311
|
export type UserRoleField = z.infer<typeof UserRoleField>;
|
|
3096
3312
|
/** @knipignore */
|
|
3097
|
-
export type FieldConfig = FieldGroup | z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof NumberWithUnitField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof AgeField> | z.infer<typeof TimeField> | z.infer<typeof DateRangeField> | z.infer<typeof SelectDateRangeField> | z.infer<typeof ImageViewField> | z.infer<typeof Paragraph> | z.infer<typeof Heading> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeAreaField> | z.infer<typeof Divider> | z.infer<typeof LocationInput> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField> | z.infer<typeof ButtonField> | z.infer<typeof AlphaPrintButton> | z.infer<typeof HttpField> | z.infer<typeof SearchField> | z.infer<typeof LinkButtonField> | z.infer<typeof VerificationStatus> | z.infer<typeof QueryParamReaderField> | z.infer<typeof QrReaderField> | z.infer<typeof IdReaderField> | z.infer<typeof LoaderField> | z.infer<typeof CustomField> | z.infer<typeof HiddenField> | z.infer<typeof UserRoleField>;
|
|
3313
|
+
export type FieldConfig = FieldGroup | z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof NumberWithUnitField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof AgeField> | z.infer<typeof TimeField> | z.infer<typeof DateRangeField> | z.infer<typeof SelectDateRangeField> | z.infer<typeof ImageViewField> | z.infer<typeof Paragraph> | z.infer<typeof Heading> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeAreaField> | z.infer<typeof Divider> | z.infer<typeof LocationInput> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField> | z.infer<typeof ButtonField> | z.infer<typeof AlphaPrintButton> | z.infer<typeof HttpField> | z.infer<typeof SearchField> | z.infer<typeof AutocompleteField> | z.infer<typeof LinkButtonField> | z.infer<typeof VerificationStatus> | z.infer<typeof QueryParamReaderField> | z.infer<typeof QrReaderField> | z.infer<typeof IdReaderField> | z.infer<typeof LoaderField> | z.infer<typeof CustomField> | z.infer<typeof HiddenField> | z.infer<typeof UserRoleField>;
|
|
3098
3314
|
/** @knipignore */
|
|
3099
3315
|
/**
|
|
3100
3316
|
* This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
|
|
3101
3317
|
*/
|
|
3102
|
-
export type FieldConfigInput = FieldGroupInput | z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof TimeField> | z.input<typeof SelectDateRangeField> | z.input<typeof ImageViewField> | z.input<typeof ButtonField> | z.input<typeof AlphaPrintButton> | z.input<typeof NumberField> | z.input<typeof NumberWithUnitField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof AgeField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof Heading> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeAreaField> | z.input<typeof Divider> | z.input<typeof LocationInput> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField> | z.input<typeof HttpField> | z.input<typeof SearchField> | z.input<typeof LinkButtonField> | z.input<typeof VerificationStatus> | z.input<typeof QueryParamReaderField> | z.input<typeof QrReaderField> | z.input<typeof IdReaderField> | z.input<typeof LoaderField> | z.input<typeof CustomField> | z.input<typeof HiddenField> | z.input<typeof UserRoleField>;
|
|
3318
|
+
export type FieldConfigInput = FieldGroupInput | z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof TimeField> | z.input<typeof SelectDateRangeField> | z.input<typeof ImageViewField> | z.input<typeof ButtonField> | z.input<typeof AlphaPrintButton> | z.input<typeof NumberField> | z.input<typeof NumberWithUnitField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof AgeField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof Heading> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeAreaField> | z.input<typeof Divider> | z.input<typeof LocationInput> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField> | z.input<typeof HttpField> | z.input<typeof SearchField> | z.input<typeof AutocompleteField> | z.input<typeof LinkButtonField> | z.input<typeof VerificationStatus> | z.input<typeof QueryParamReaderField> | z.input<typeof QrReaderField> | z.input<typeof IdReaderField> | z.input<typeof LoaderField> | z.input<typeof CustomField> | z.input<typeof HiddenField> | z.input<typeof UserRoleField>;
|
|
3103
3319
|
export declare const FieldConfig: z.ZodType<FieldConfig, FieldConfigInput>;
|
|
3104
3320
|
export type SelectField = z.infer<typeof Select>;
|
|
3105
3321
|
export type NameField = z.infer<typeof NameField>;
|
|
@@ -3218,7 +3434,7 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3218
3434
|
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3219
3435
|
type: z.ZodLiteral<"FILE">;
|
|
3220
3436
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
3221
|
-
path: z.core.$ZodBranded<z.ZodString, "DocumentPath">;
|
|
3437
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
3222
3438
|
originalFilename: z.ZodString;
|
|
3223
3439
|
type: z.ZodString;
|
|
3224
3440
|
}, z.core.$strip>>;
|
|
@@ -3301,7 +3517,7 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3301
3517
|
}, z.core.$strip>], "type">>>>;
|
|
3302
3518
|
}, z.core.$strip>>;
|
|
3303
3519
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3304
|
-
path: z.core.$ZodBranded<z.ZodString, "DocumentPath">;
|
|
3520
|
+
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
3305
3521
|
originalFilename: z.ZodString;
|
|
3306
3522
|
type: z.ZodString;
|
|
3307
3523
|
option: z.ZodString;
|