@opencrvs/toolkit 2.1.0-rc.ffe0b7f → 2.2.0-rc.9042a13
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/README.md +2 -12
- package/build.sh +23 -5
- package/create-countryconfig/index.js +441 -59
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +5 -2
- package/dist/application-config/index.js +391 -286
- package/dist/authentication/index.d.ts +66 -0
- package/dist/authentication/index.d.ts.map +1 -0
- package/dist/authentication/index.js +778 -0
- package/dist/cli.js +2041 -1311
- package/dist/commons/api/router.d.ts +2359 -485
- package/dist/commons/application-config/index.d.ts +0 -2
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/conditionals/validate.d.ts +34 -8
- package/dist/commons/events/ActionConfig.d.ts +131 -7
- package/dist/commons/events/ActionDocument.d.ts +123 -15
- package/dist/commons/events/ActionInput.d.ts +56 -4
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/ActionType.d.ts +11 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +60 -12
- package/dist/commons/events/AuditLog.d.ts +152 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +132 -0
- package/dist/commons/events/Draft.d.ts +3 -21
- package/dist/commons/events/EventConfig.d.ts +29 -6
- package/dist/commons/events/EventDocument.d.ts +560 -4
- package/dist/commons/events/EventIndex.d.ts +23 -26
- package/dist/commons/events/EventMetadata.d.ts +24 -11
- package/dist/commons/events/EventStatus.d.ts +20 -0
- package/dist/commons/events/FieldConfig.d.ts +119 -63
- package/dist/commons/events/FieldTypeMapping.d.ts +17 -17
- package/dist/commons/events/FieldValue.d.ts +3 -2
- package/dist/commons/events/Flag.d.ts +42 -0
- package/dist/commons/events/FormConfig.d.ts +6 -0
- package/dist/commons/events/PageConfig.d.ts +4 -0
- package/dist/commons/events/PlainDate.d.ts +8 -0
- package/dist/commons/events/SummaryConfig.d.ts +249 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +167 -20
- package/dist/commons/events/event.d.ts +12 -0
- package/dist/commons/events/eventConfigValidation.d.ts +17 -1
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/locationPayloads.d.ts +95 -0
- package/dist/commons/events/locations.d.ts +169 -26
- package/dist/commons/events/mocks.test.utils.d.ts +30 -0
- package/dist/commons/events/scopes.d.ts +23 -1
- package/dist/commons/events/state/index.d.ts +10 -2
- package/dist/commons/events/state/utils.d.ts +11 -1
- package/dist/commons/events/test.utils.d.ts +106 -26
- package/dist/commons/events/utils.d.ts +81 -18
- package/dist/commons/notification/UserNotifications.d.ts +28 -13
- package/dist/commons/notification/dispatch.d.ts +10 -0
- package/dist/commons/notification/index.d.ts +1 -0
- package/dist/conditionals/index.js +362 -65
- package/dist/csv.d.ts +25 -0
- package/dist/csv.d.ts.map +1 -0
- package/dist/csv.js +120 -0
- package/dist/environment/derived-variables.d.ts +18 -0
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +22 -1
- package/dist/environment/index.d.ts.map +1 -1
- package/dist/environment/index.js +2 -1
- package/dist/environment/logger.d.ts +15 -3
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +1 -1
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/questions.js +20 -14
- package/dist/environment/setup-environment.d.ts +1 -1
- package/dist/environment/setup-environment.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +610 -560
- package/dist/environment/swarm-to-k8s.js +3 -4
- package/dist/environment/templates.d.ts +0 -1
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/environment/templates.js +3 -8
- package/dist/environment/update-workflows.d.ts.map +1 -1
- package/dist/environment/update-workflows.js +4 -0
- package/dist/environment/utils.d.ts +0 -12
- package/dist/environment/utils.d.ts.map +1 -1
- package/dist/environment/utils.js +1 -28
- package/dist/events/index.js +7909 -7056
- package/dist/migrations/add-translations.d.ts +15 -0
- package/dist/migrations/add-translations.d.ts.map +1 -0
- package/dist/migrations/add-translations.js +151 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +3 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.js +511 -0
- package/dist/migrations/{v2.0/rename-api-paths.d.ts → v2.1/enable-telemetry.d.ts} +1 -1
- package/dist/migrations/v2.1/enable-telemetry.d.ts.map +1 -0
- package/dist/migrations/v2.1/enable-telemetry.js +455 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -1
- package/dist/migrations/v2.1/index.js +47 -215
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts +17 -0
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts.map +1 -0
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.js +348 -0
- package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts +2 -0
- package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts.map +1 -0
- package/dist/migrations/v2.1/remove-metabase-package-installs.js +161 -0
- package/dist/migrations/{v2.0/migrate-scopes.d.ts → v2.1/remove-sentry.d.ts} +1 -1
- package/dist/migrations/v2.1/remove-sentry.d.ts.map +1 -0
- package/dist/migrations/v2.1/remove-sentry.js +354 -0
- package/dist/migrations/{v2.0/create-events-index.d.ts → v2.1/rename-trigger-paths.d.ts} +1 -1
- package/dist/migrations/v2.1/rename-trigger-paths.d.ts.map +1 -0
- package/dist/migrations/{v2.0/rename-api-paths.js → v2.1/rename-trigger-paths.js} +69 -40
- package/dist/migrations/v2.1/template-files.d.ts +8 -0
- package/dist/migrations/v2.1/template-files.d.ts.map +1 -0
- package/dist/migrations/v2.1/template-files.js +49 -0
- package/dist/migrations/v2.1/upgrade-tilt.d.ts +11 -0
- package/dist/migrations/v2.1/upgrade-tilt.d.ts.map +1 -0
- package/dist/migrations/v2.1/upgrade-tilt.js +139 -0
- package/dist/migrations/v2.2/index.d.ts +6 -0
- package/dist/migrations/v2.2/index.d.ts.map +1 -0
- package/dist/migrations/v2.2/index.js +456 -0
- package/dist/migrations/v2.2/read-declaration-through-helper.d.ts +39 -0
- package/dist/migrations/v2.2/read-declaration-through-helper.d.ts.map +1 -0
- package/dist/migrations/v2.2/read-declaration-through-helper.js +257 -0
- package/dist/notification/index.js +2090 -1456
- package/dist/scopes/index.d.ts +637 -36
- package/dist/scopes/index.js +364 -65
- package/dist/telemetry/index.d.ts +45 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +43 -0
- package/dist/templates/charts-values/dependencies/values.yaml +8 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +10 -3
- package/dist/templates/charts-values/opentelemetry/values.yaml +102 -0
- package/dist/templates/charts-values/traefik/values.yaml +25 -12
- package/dist/templates/countryconfig-template/.tiltignore +1 -0
- package/dist/templates/countryconfig-template/Dockerfile.assets +7 -0
- package/dist/templates/countryconfig-template/Tiltfile +112 -0
- package/dist/templates/countryconfig-template/assets/README.md +1 -0
- package/dist/templates/countryconfig-template/assets/clear-all-data-dev.sh +61 -0
- package/dist/templates/countryconfig-template/assets/deployment/deploy.sh +455 -0
- package/dist/templates/countryconfig-template/assets/deployment/reindex.sh +168 -0
- package/dist/templates/countryconfig-template/assets/deployment/validate-required-variables-in-compose-files.ts +67 -0
- package/dist/templates/countryconfig-template/assets/elasticsearch/reindex.sh +168 -0
- package/dist/templates/countryconfig-template/assets/metabase/README.md +34 -0
- package/dist/templates/countryconfig-template/assets/metabase/environment-configuration.sql +36 -0
- package/dist/templates/countryconfig-template/assets/metabase/initialize-database.sh +46 -0
- package/dist/templates/countryconfig-template/assets/metabase/metabase.init.db.sql +27737 -0
- package/dist/templates/countryconfig-template/assets/metabase/open-shell.sh +21 -0
- package/dist/templates/countryconfig-template/assets/metabase/package.json +13 -0
- package/dist/templates/countryconfig-template/assets/metabase/run-dev.sh +108 -0
- package/dist/templates/countryconfig-template/assets/metabase/run.sh +120 -0
- package/dist/templates/countryconfig-template/assets/metabase/update-database.sh +40 -0
- package/dist/templates/countryconfig-template/assets/postgres/setup-analytics.sh +135 -0
- package/dist/templates/countryconfig-template/assets/postgres/setup-reference-data.sh +108 -0
- package/dist/templates/countryconfig-template/tilt/clear-all-data.ps1 +50 -0
- package/dist/templates/countryconfig-template/tilt/clear-all-data.sh +35 -0
- package/dist/templates/countryconfig-template/tilt/common.tilt +145 -0
- package/dist/templates/countryconfig-template/tilt/examples/dependencies/values.yaml +15 -0
- package/dist/templates/countryconfig-template/tilt/examples/opencrvs-services/values.yaml +56 -0
- package/dist/templates/countryconfig-template/tilt/examples/traefik/values-minikube.yaml +21 -0
- package/dist/templates/countryconfig-template/tilt/examples/traefik/values.yaml +38 -0
- package/dist/templates/countryconfig-template/tilt/helm/dependencies/values.yaml +17 -0
- package/dist/templates/countryconfig-template/tilt/helm/opencrvs-services/values.yaml +16 -0
- package/dist/templates/countryconfig-template/tilt/lib.tilt +95 -0
- package/dist/templates/countryconfig-template/tilt/opencrvs.tilt +136 -0
- package/dist/templates/inventory/inventory.template.yml +1 -3
- package/dist/translations/template.d.ts +11 -0
- package/dist/translations/template.d.ts.map +1 -0
- package/dist/translations/template.js +100 -0
- package/dist/verify/endpoints.d.ts +2 -0
- package/dist/verify/endpoints.d.ts.map +1 -0
- package/dist/verify/endpoints.js +510 -0
- package/opencrvs-toolkit-2.2.0-rc.9042a13.tgz +0 -0
- package/package.json +13 -7
- package/tsconfig.build.json +11 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +3 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +0 -3
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +0 -1
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +0 -429
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts +0 -3
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts.map +0 -1
- package/dist/migrations/v2.0/add-resend-invite-notification.js +0 -373
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +0 -22
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +0 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +0 -146
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +0 -2
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +0 -1
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +0 -838
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +0 -3
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +0 -1
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +0 -158
- package/dist/migrations/v2.0/create-events-index.d.ts.map +0 -1
- package/dist/migrations/v2.0/create-events-index.js +0 -325
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +0 -11
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +0 -1
- package/dist/migrations/v2.0/delete-infrastructure-directory.js +0 -123
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts +0 -3
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts.map +0 -1
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.js +0 -110
- package/dist/migrations/v2.0/index.d.ts +0 -13
- package/dist/migrations/v2.0/index.d.ts.map +0 -1
- package/dist/migrations/v2.0/index.js +0 -103
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +0 -3
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +0 -1
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +0 -432
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +0 -13
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +0 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +0 -222
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts +0 -3
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts.map +0 -1
- package/dist/migrations/v2.0/migrate-application-config-url.js +0 -343
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +0 -1
- package/dist/migrations/v2.0/migrate-scopes.js +0 -305
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +0 -3
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +0 -1
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +0 -267
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +0 -3
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +0 -1
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +0 -317
- package/dist/migrations/v2.0/remove-delete-actions.d.ts +0 -3
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-delete-actions.js +0 -156
- package/dist/migrations/v2.0/remove-demo-scope.d.ts +0 -3
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-demo-scope.js +0 -74
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +0 -3
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-deprecated-imports.js +0 -96
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts +0 -3
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-fhir-url-helpers.js +0 -163
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +0 -3
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-hearth-migrations.js +0 -87
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts +0 -3
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-old-statistics-service.js +0 -356
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +0 -3
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +0 -109
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +0 -3
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-review-from-register-action.js +0 -163
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts +0 -3
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-unused-environment-variables.js +0 -186
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +0 -1
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts +0 -3
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +0 -1
- package/dist/migrations/v2.0/rename-location-parent-id.js +0 -180
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts +0 -3
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +0 -1
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +0 -195
- package/dist/migrations/v2.0/update-package-json.d.ts +0 -3
- package/dist/migrations/v2.0/update-package-json.d.ts.map +0 -1
- package/dist/migrations/v2.0/update-package-json.js +0 -105
- package/dist/templates/inventory/production.example.yml +0 -77
- package/dist/templates/inventory/qa.example.yml +0 -48
- package/opencrvs-toolkit-2.1.0-rc.ffe0b7f.tgz +0 -0
- package/tsconfig.tsbuildinfo +0 -1
package/dist/scopes/index.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ export type UserFilter = z.infer<typeof UserFilter>;
|
|
|
17
17
|
* @see scopeOptionsPlaceEvent @see scopeOptionsDeclaredOrNotified @see scopeOptionsFull
|
|
18
18
|
*/
|
|
19
19
|
export declare const RecordScopeTypeV2: z.ZodEnum<{
|
|
20
|
+
"record.action.accept": "record.action.accept";
|
|
21
|
+
"record.action.reject": "record.action.reject";
|
|
20
22
|
"record.archive": "record.archive";
|
|
21
23
|
"record.correct": "record.correct";
|
|
22
24
|
"record.create": "record.create";
|
|
@@ -27,21 +29,31 @@ export declare const RecordScopeTypeV2: z.ZodEnum<{
|
|
|
27
29
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
28
30
|
"record.read": "record.read";
|
|
29
31
|
"record.register": "record.register";
|
|
32
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
30
33
|
"record.reject": "record.reject";
|
|
31
34
|
"record.request-correction": "record.request-correction";
|
|
32
35
|
"record.review-duplicates": "record.review-duplicates";
|
|
36
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
33
37
|
"record.search": "record.search";
|
|
34
38
|
"record.unarchive": "record.unarchive";
|
|
35
39
|
"record.unassign-others": "record.unassign-others";
|
|
36
40
|
}>;
|
|
37
41
|
export type RecordScopeTypeV2 = z.infer<typeof RecordScopeTypeV2>;
|
|
38
42
|
declare const AllScopeOptions: z.ZodObject<{
|
|
39
|
-
event: z.
|
|
43
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
40
44
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
41
45
|
administrativeArea: "administrativeArea";
|
|
42
46
|
all: "all";
|
|
43
47
|
location: "location";
|
|
44
48
|
}>>;
|
|
49
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
50
|
+
user: "user";
|
|
51
|
+
}>>;
|
|
52
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
administrativeArea: "administrativeArea";
|
|
54
|
+
all: "all";
|
|
55
|
+
location: "location";
|
|
56
|
+
}>>;
|
|
45
57
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
46
58
|
administrativeArea: "administrativeArea";
|
|
47
59
|
all: "all";
|
|
@@ -58,6 +70,14 @@ declare const AllScopeOptions: z.ZodObject<{
|
|
|
58
70
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
59
71
|
user: "user";
|
|
60
72
|
}>>;
|
|
73
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
74
|
+
ARCHIVED: "ARCHIVED";
|
|
75
|
+
CREATED: "CREATED";
|
|
76
|
+
DECLARED: "DECLARED";
|
|
77
|
+
NOTIFIED: "NOTIFIED";
|
|
78
|
+
REGISTERED: "REGISTERED";
|
|
79
|
+
REVOKED: "REVOKED";
|
|
80
|
+
}>>>>;
|
|
61
81
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
62
82
|
administrativeArea: "administrativeArea";
|
|
63
83
|
all: "all";
|
|
@@ -66,20 +86,46 @@ declare const AllScopeOptions: z.ZodObject<{
|
|
|
66
86
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
67
87
|
user: "user";
|
|
68
88
|
}>>;
|
|
89
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
90
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
91
|
+
readonly INCOMPLETE: 'incomplete';
|
|
92
|
+
readonly REJECTED: 'rejected';
|
|
93
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
94
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
95
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
96
|
+
}>]>, z.ZodString]>>>;
|
|
97
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
98
|
+
readonly INCOMPLETE: 'incomplete';
|
|
99
|
+
readonly REJECTED: 'rejected';
|
|
100
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
101
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
102
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
103
|
+
}>]>, z.ZodString]>>>;
|
|
104
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
105
|
+
readonly INCOMPLETE: 'incomplete';
|
|
106
|
+
readonly REJECTED: 'rejected';
|
|
107
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
108
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
109
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
110
|
+
}>]>, z.ZodString]>>>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
69
112
|
accessLevel: z.ZodOptional<z.ZodEnum<{
|
|
70
113
|
administrativeArea: "administrativeArea";
|
|
71
114
|
all: "all";
|
|
72
115
|
location: "location";
|
|
73
116
|
}>>;
|
|
74
|
-
role: z.ZodOptional<z.
|
|
75
|
-
ids: z.
|
|
117
|
+
role: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
118
|
+
ids: z.ZodPreprocess<z.ZodArray<z.ZodString>>;
|
|
76
119
|
}, z.core.$strip>;
|
|
77
120
|
type AllScopeOptions = z.infer<typeof AllScopeOptions>;
|
|
78
121
|
export declare const ScopeOptionKey: z.ZodEnum<{
|
|
79
122
|
accessLevel: "accessLevel";
|
|
123
|
+
createdBy: "createdBy";
|
|
124
|
+
createdIn: "createdIn";
|
|
80
125
|
declaredBy: "declaredBy";
|
|
81
126
|
declaredIn: "declaredIn";
|
|
82
127
|
event: "event";
|
|
128
|
+
flags: "flags";
|
|
83
129
|
ids: "ids";
|
|
84
130
|
notifiedBy: "notifiedBy";
|
|
85
131
|
notifiedIn: "notifiedIn";
|
|
@@ -87,6 +133,7 @@ export declare const ScopeOptionKey: z.ZodEnum<{
|
|
|
87
133
|
registeredBy: "registeredBy";
|
|
88
134
|
registeredIn: "registeredIn";
|
|
89
135
|
role: "role";
|
|
136
|
+
status: "status";
|
|
90
137
|
}>;
|
|
91
138
|
export type ScopeOptionKey = z.infer<typeof ScopeOptionKey>;
|
|
92
139
|
export declare const ScopesWithPlaceEventOptions: z.ZodEnum<{
|
|
@@ -99,16 +146,23 @@ export declare const ScopesWithDeclaredOptions: z.ZodEnum<{
|
|
|
99
146
|
"record.edit": "record.edit";
|
|
100
147
|
"record.register": "record.register";
|
|
101
148
|
"record.reject": "record.reject";
|
|
102
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
103
149
|
"record.unarchive": "record.unarchive";
|
|
104
150
|
}>;
|
|
105
151
|
export declare const ScopesWithFullOptions: z.ZodEnum<{
|
|
106
152
|
"record.correct": "record.correct";
|
|
107
153
|
"record.read": "record.read";
|
|
154
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
108
155
|
"record.request-correction": "record.request-correction";
|
|
156
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
157
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
109
158
|
"record.search": "record.search";
|
|
110
159
|
"record.unassign-others": "record.unassign-others";
|
|
111
160
|
}>;
|
|
161
|
+
export declare const ActionConfirmationScopeType: z.ZodEnum<{
|
|
162
|
+
"record.action.accept": "record.action.accept";
|
|
163
|
+
"record.action.reject": "record.action.reject";
|
|
164
|
+
}>;
|
|
165
|
+
export type ActionConfirmationScopeType = z.infer<typeof ActionConfirmationScopeType>;
|
|
112
166
|
export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
113
167
|
type: z.ZodEnum<{
|
|
114
168
|
"record.create": "record.create";
|
|
@@ -116,12 +170,20 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
116
170
|
"record.notify": "record.notify";
|
|
117
171
|
}>;
|
|
118
172
|
options: z.ZodOptional<z.ZodObject<{
|
|
119
|
-
event: z.
|
|
173
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
120
174
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
121
175
|
administrativeArea: "administrativeArea";
|
|
122
176
|
all: "all";
|
|
123
177
|
location: "location";
|
|
124
178
|
}>>;
|
|
179
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
180
|
+
user: "user";
|
|
181
|
+
}>>;
|
|
182
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
183
|
+
administrativeArea: "administrativeArea";
|
|
184
|
+
all: "all";
|
|
185
|
+
location: "location";
|
|
186
|
+
}>>;
|
|
125
187
|
}, z.core.$strip>>;
|
|
126
188
|
}, z.core.$strip>, z.ZodObject<{
|
|
127
189
|
type: z.ZodEnum<{
|
|
@@ -129,16 +191,23 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
129
191
|
"record.edit": "record.edit";
|
|
130
192
|
"record.register": "record.register";
|
|
131
193
|
"record.reject": "record.reject";
|
|
132
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
133
194
|
"record.unarchive": "record.unarchive";
|
|
134
195
|
}>;
|
|
135
196
|
options: z.ZodOptional<z.ZodObject<{
|
|
136
|
-
event: z.
|
|
197
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
137
198
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
138
199
|
administrativeArea: "administrativeArea";
|
|
139
200
|
all: "all";
|
|
140
201
|
location: "location";
|
|
141
202
|
}>>;
|
|
203
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
204
|
+
user: "user";
|
|
205
|
+
}>>;
|
|
206
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
administrativeArea: "administrativeArea";
|
|
208
|
+
all: "all";
|
|
209
|
+
location: "location";
|
|
210
|
+
}>>;
|
|
142
211
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
143
212
|
administrativeArea: "administrativeArea";
|
|
144
213
|
all: "all";
|
|
@@ -155,22 +224,41 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
155
224
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
156
225
|
user: "user";
|
|
157
226
|
}>>;
|
|
227
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
228
|
+
ARCHIVED: "ARCHIVED";
|
|
229
|
+
CREATED: "CREATED";
|
|
230
|
+
DECLARED: "DECLARED";
|
|
231
|
+
NOTIFIED: "NOTIFIED";
|
|
232
|
+
REGISTERED: "REGISTERED";
|
|
233
|
+
REVOKED: "REVOKED";
|
|
234
|
+
}>>>>;
|
|
158
235
|
}, z.core.$strip>>;
|
|
159
236
|
}, z.core.$strip>, z.ZodObject<{
|
|
160
237
|
type: z.ZodEnum<{
|
|
161
238
|
"record.correct": "record.correct";
|
|
162
239
|
"record.read": "record.read";
|
|
240
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
163
241
|
"record.request-correction": "record.request-correction";
|
|
242
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
243
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
164
244
|
"record.search": "record.search";
|
|
165
245
|
"record.unassign-others": "record.unassign-others";
|
|
166
246
|
}>;
|
|
167
247
|
options: z.ZodOptional<z.ZodObject<{
|
|
168
|
-
event: z.
|
|
248
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
169
249
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
170
250
|
administrativeArea: "administrativeArea";
|
|
171
251
|
all: "all";
|
|
172
252
|
location: "location";
|
|
173
253
|
}>>;
|
|
254
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
255
|
+
user: "user";
|
|
256
|
+
}>>;
|
|
257
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
258
|
+
administrativeArea: "administrativeArea";
|
|
259
|
+
all: "all";
|
|
260
|
+
location: "location";
|
|
261
|
+
}>>;
|
|
174
262
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
175
263
|
administrativeArea: "administrativeArea";
|
|
176
264
|
all: "all";
|
|
@@ -187,6 +275,14 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
187
275
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
188
276
|
user: "user";
|
|
189
277
|
}>>;
|
|
278
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
279
|
+
ARCHIVED: "ARCHIVED";
|
|
280
|
+
CREATED: "CREATED";
|
|
281
|
+
DECLARED: "DECLARED";
|
|
282
|
+
NOTIFIED: "NOTIFIED";
|
|
283
|
+
REGISTERED: "REGISTERED";
|
|
284
|
+
REVOKED: "REVOKED";
|
|
285
|
+
}>>>>;
|
|
190
286
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
191
287
|
administrativeArea: "administrativeArea";
|
|
192
288
|
all: "all";
|
|
@@ -195,16 +291,47 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
195
291
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
196
292
|
user: "user";
|
|
197
293
|
}>>;
|
|
294
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
296
|
+
readonly INCOMPLETE: 'incomplete';
|
|
297
|
+
readonly REJECTED: 'rejected';
|
|
298
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
299
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
300
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
301
|
+
}>]>, z.ZodString]>>>;
|
|
302
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
303
|
+
readonly INCOMPLETE: 'incomplete';
|
|
304
|
+
readonly REJECTED: 'rejected';
|
|
305
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
306
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
307
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
308
|
+
}>]>, z.ZodString]>>>;
|
|
309
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
310
|
+
readonly INCOMPLETE: 'incomplete';
|
|
311
|
+
readonly REJECTED: 'rejected';
|
|
312
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
313
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
314
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
315
|
+
}>]>, z.ZodString]>>>;
|
|
316
|
+
}, z.core.$strip>>;
|
|
198
317
|
}, z.core.$strip>>;
|
|
199
318
|
}, z.core.$strip>, z.ZodObject<{
|
|
200
319
|
type: z.ZodLiteral<"record.custom-action">;
|
|
201
320
|
options: z.ZodOptional<z.ZodObject<{
|
|
202
|
-
event: z.
|
|
321
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
203
322
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
204
323
|
administrativeArea: "administrativeArea";
|
|
205
324
|
all: "all";
|
|
206
325
|
location: "location";
|
|
207
326
|
}>>;
|
|
327
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
328
|
+
user: "user";
|
|
329
|
+
}>>;
|
|
330
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
331
|
+
administrativeArea: "administrativeArea";
|
|
332
|
+
all: "all";
|
|
333
|
+
location: "location";
|
|
334
|
+
}>>;
|
|
208
335
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
209
336
|
administrativeArea: "administrativeArea";
|
|
210
337
|
all: "all";
|
|
@@ -221,6 +348,14 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
221
348
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
222
349
|
user: "user";
|
|
223
350
|
}>>;
|
|
351
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
352
|
+
ARCHIVED: "ARCHIVED";
|
|
353
|
+
CREATED: "CREATED";
|
|
354
|
+
DECLARED: "DECLARED";
|
|
355
|
+
NOTIFIED: "NOTIFIED";
|
|
356
|
+
REGISTERED: "REGISTERED";
|
|
357
|
+
REVOKED: "REVOKED";
|
|
358
|
+
}>>>>;
|
|
224
359
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
225
360
|
administrativeArea: "administrativeArea";
|
|
226
361
|
all: "all";
|
|
@@ -229,17 +364,125 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
229
364
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
230
365
|
user: "user";
|
|
231
366
|
}>>;
|
|
232
|
-
|
|
367
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
368
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
369
|
+
readonly INCOMPLETE: 'incomplete';
|
|
370
|
+
readonly REJECTED: 'rejected';
|
|
371
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
372
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
373
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
374
|
+
}>]>, z.ZodString]>>>;
|
|
375
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
376
|
+
readonly INCOMPLETE: 'incomplete';
|
|
377
|
+
readonly REJECTED: 'rejected';
|
|
378
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
379
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
380
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
381
|
+
}>]>, z.ZodString]>>>;
|
|
382
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
383
|
+
readonly INCOMPLETE: 'incomplete';
|
|
384
|
+
readonly REJECTED: 'rejected';
|
|
385
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
386
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
387
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
388
|
+
}>]>, z.ZodString]>>>;
|
|
389
|
+
}, z.core.$strip>>;
|
|
390
|
+
customActionTypes: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
233
391
|
}, z.core.$strip>>;
|
|
234
392
|
}, z.core.$strip>, z.ZodObject<{
|
|
235
393
|
type: z.ZodLiteral<"record.print-certified-copies">;
|
|
236
394
|
options: z.ZodOptional<z.ZodObject<{
|
|
237
|
-
event: z.
|
|
395
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
396
|
+
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
397
|
+
administrativeArea: "administrativeArea";
|
|
398
|
+
all: "all";
|
|
399
|
+
location: "location";
|
|
400
|
+
}>>;
|
|
401
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
402
|
+
user: "user";
|
|
403
|
+
}>>;
|
|
404
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
405
|
+
administrativeArea: "administrativeArea";
|
|
406
|
+
all: "all";
|
|
407
|
+
location: "location";
|
|
408
|
+
}>>;
|
|
409
|
+
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
410
|
+
administrativeArea: "administrativeArea";
|
|
411
|
+
all: "all";
|
|
412
|
+
location: "location";
|
|
413
|
+
}>>;
|
|
414
|
+
notifiedBy: z.ZodOptional<z.ZodEnum<{
|
|
415
|
+
user: "user";
|
|
416
|
+
}>>;
|
|
417
|
+
declaredIn: z.ZodOptional<z.ZodEnum<{
|
|
418
|
+
administrativeArea: "administrativeArea";
|
|
419
|
+
all: "all";
|
|
420
|
+
location: "location";
|
|
421
|
+
}>>;
|
|
422
|
+
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
423
|
+
user: "user";
|
|
424
|
+
}>>;
|
|
425
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
426
|
+
ARCHIVED: "ARCHIVED";
|
|
427
|
+
CREATED: "CREATED";
|
|
428
|
+
DECLARED: "DECLARED";
|
|
429
|
+
NOTIFIED: "NOTIFIED";
|
|
430
|
+
REGISTERED: "REGISTERED";
|
|
431
|
+
REVOKED: "REVOKED";
|
|
432
|
+
}>>>>;
|
|
433
|
+
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
434
|
+
administrativeArea: "administrativeArea";
|
|
435
|
+
all: "all";
|
|
436
|
+
location: "location";
|
|
437
|
+
}>>;
|
|
438
|
+
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
439
|
+
user: "user";
|
|
440
|
+
}>>;
|
|
441
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
443
|
+
readonly INCOMPLETE: 'incomplete';
|
|
444
|
+
readonly REJECTED: 'rejected';
|
|
445
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
446
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
447
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
448
|
+
}>]>, z.ZodString]>>>;
|
|
449
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
450
|
+
readonly INCOMPLETE: 'incomplete';
|
|
451
|
+
readonly REJECTED: 'rejected';
|
|
452
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
453
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
454
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
455
|
+
}>]>, z.ZodString]>>>;
|
|
456
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
457
|
+
readonly INCOMPLETE: 'incomplete';
|
|
458
|
+
readonly REJECTED: 'rejected';
|
|
459
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
460
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
461
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
462
|
+
}>]>, z.ZodString]>>>;
|
|
463
|
+
}, z.core.$strip>>;
|
|
464
|
+
templates: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
465
|
+
}, z.core.$strip>>;
|
|
466
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
467
|
+
type: z.ZodEnum<{
|
|
468
|
+
"record.action.accept": "record.action.accept";
|
|
469
|
+
"record.action.reject": "record.action.reject";
|
|
470
|
+
}>;
|
|
471
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
472
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
238
473
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
239
474
|
administrativeArea: "administrativeArea";
|
|
240
475
|
all: "all";
|
|
241
476
|
location: "location";
|
|
242
477
|
}>>;
|
|
478
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
479
|
+
user: "user";
|
|
480
|
+
}>>;
|
|
481
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
482
|
+
administrativeArea: "administrativeArea";
|
|
483
|
+
all: "all";
|
|
484
|
+
location: "location";
|
|
485
|
+
}>>;
|
|
243
486
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
244
487
|
administrativeArea: "administrativeArea";
|
|
245
488
|
all: "all";
|
|
@@ -256,6 +499,14 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
256
499
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
257
500
|
user: "user";
|
|
258
501
|
}>>;
|
|
502
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
503
|
+
ARCHIVED: "ARCHIVED";
|
|
504
|
+
CREATED: "CREATED";
|
|
505
|
+
DECLARED: "DECLARED";
|
|
506
|
+
NOTIFIED: "NOTIFIED";
|
|
507
|
+
REGISTERED: "REGISTERED";
|
|
508
|
+
REVOKED: "REVOKED";
|
|
509
|
+
}>>>>;
|
|
259
510
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
260
511
|
administrativeArea: "administrativeArea";
|
|
261
512
|
all: "all";
|
|
@@ -264,7 +515,29 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
264
515
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
265
516
|
user: "user";
|
|
266
517
|
}>>;
|
|
267
|
-
|
|
518
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
519
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
520
|
+
readonly INCOMPLETE: 'incomplete';
|
|
521
|
+
readonly REJECTED: 'rejected';
|
|
522
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
523
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
524
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
525
|
+
}>]>, z.ZodString]>>>;
|
|
526
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
527
|
+
readonly INCOMPLETE: 'incomplete';
|
|
528
|
+
readonly REJECTED: 'rejected';
|
|
529
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
530
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
531
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
532
|
+
}>]>, z.ZodString]>>>;
|
|
533
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
534
|
+
readonly INCOMPLETE: 'incomplete';
|
|
535
|
+
readonly REJECTED: 'rejected';
|
|
536
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
537
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
538
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
539
|
+
}>]>, z.ZodString]>>>;
|
|
540
|
+
}, z.core.$strip>>;
|
|
268
541
|
}, z.core.$strip>>;
|
|
269
542
|
}, z.core.$strip>], "type">;
|
|
270
543
|
declare const SystemScopeType: z.ZodEnum<{
|
|
@@ -298,7 +571,7 @@ export declare const UserScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
298
571
|
all: "all";
|
|
299
572
|
location: "location";
|
|
300
573
|
}>>;
|
|
301
|
-
role: z.ZodOptional<z.
|
|
574
|
+
role: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
302
575
|
}, z.core.$strip>>;
|
|
303
576
|
}, z.core.$strip>, z.ZodObject<{
|
|
304
577
|
type: z.ZodEnum<{
|
|
@@ -336,8 +609,10 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
336
609
|
"record.notify": "record.notify";
|
|
337
610
|
}>;
|
|
338
611
|
options: z.ZodOptional<z.ZodObject<{
|
|
339
|
-
event: z.
|
|
612
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
340
613
|
placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
614
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
615
|
+
createdIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
341
616
|
}, z.core.$strip>>;
|
|
342
617
|
}, z.core.$strip>, z.ZodObject<{
|
|
343
618
|
type: z.ZodEnum<{
|
|
@@ -345,12 +620,13 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
345
620
|
"record.edit": "record.edit";
|
|
346
621
|
"record.register": "record.register";
|
|
347
622
|
"record.reject": "record.reject";
|
|
348
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
349
623
|
"record.unarchive": "record.unarchive";
|
|
350
624
|
}>;
|
|
351
625
|
options: z.ZodOptional<z.ZodObject<{
|
|
352
|
-
event: z.
|
|
626
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
353
627
|
placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
628
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
629
|
+
createdIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
354
630
|
notifiedIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
355
631
|
notifiedBy: z.ZodOptional<z.ZodString>;
|
|
356
632
|
declaredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
@@ -360,31 +636,84 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
360
636
|
type: z.ZodEnum<{
|
|
361
637
|
"record.correct": "record.correct";
|
|
362
638
|
"record.read": "record.read";
|
|
639
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
363
640
|
"record.request-correction": "record.request-correction";
|
|
641
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
642
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
364
643
|
"record.search": "record.search";
|
|
365
644
|
"record.unassign-others": "record.unassign-others";
|
|
366
645
|
}>;
|
|
367
646
|
options: z.ZodOptional<z.ZodObject<{
|
|
368
|
-
event: z.
|
|
647
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
369
648
|
placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
649
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
650
|
+
createdIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
370
651
|
notifiedIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
371
652
|
notifiedBy: z.ZodOptional<z.ZodString>;
|
|
372
653
|
declaredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
373
654
|
declaredBy: z.ZodOptional<z.ZodString>;
|
|
374
655
|
registeredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
375
656
|
registeredBy: z.ZodOptional<z.ZodString>;
|
|
657
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
658
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
659
|
+
readonly INCOMPLETE: 'incomplete';
|
|
660
|
+
readonly REJECTED: 'rejected';
|
|
661
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
662
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
663
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
664
|
+
}>]>, z.ZodString]>>>;
|
|
665
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
666
|
+
readonly INCOMPLETE: 'incomplete';
|
|
667
|
+
readonly REJECTED: 'rejected';
|
|
668
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
669
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
670
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
671
|
+
}>]>, z.ZodString]>>>;
|
|
672
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
673
|
+
readonly INCOMPLETE: 'incomplete';
|
|
674
|
+
readonly REJECTED: 'rejected';
|
|
675
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
676
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
677
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
678
|
+
}>]>, z.ZodString]>>>;
|
|
679
|
+
}, z.core.$strip>>;
|
|
376
680
|
}, z.core.$strip>>;
|
|
377
681
|
}, z.core.$strip>, z.ZodObject<{
|
|
378
682
|
type: z.ZodLiteral<"record.print-certified-copies">;
|
|
379
683
|
options: z.ZodOptional<z.ZodObject<{
|
|
380
|
-
event: z.
|
|
684
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
381
685
|
placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
686
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
687
|
+
createdIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
382
688
|
notifiedIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
383
689
|
notifiedBy: z.ZodOptional<z.ZodString>;
|
|
384
690
|
declaredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
385
691
|
declaredBy: z.ZodOptional<z.ZodString>;
|
|
386
692
|
registeredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
387
693
|
registeredBy: z.ZodOptional<z.ZodString>;
|
|
694
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
695
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
696
|
+
readonly INCOMPLETE: 'incomplete';
|
|
697
|
+
readonly REJECTED: 'rejected';
|
|
698
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
699
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
700
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
701
|
+
}>]>, z.ZodString]>>>;
|
|
702
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
703
|
+
readonly INCOMPLETE: 'incomplete';
|
|
704
|
+
readonly REJECTED: 'rejected';
|
|
705
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
706
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
707
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
708
|
+
}>]>, z.ZodString]>>>;
|
|
709
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
710
|
+
readonly INCOMPLETE: 'incomplete';
|
|
711
|
+
readonly REJECTED: 'rejected';
|
|
712
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
713
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
714
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
715
|
+
}>]>, z.ZodString]>>>;
|
|
716
|
+
}, z.core.$strip>>;
|
|
388
717
|
templates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
389
718
|
}, z.core.$strip>>;
|
|
390
719
|
}, z.core.$strip>], "type">;
|
|
@@ -396,15 +725,15 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
396
725
|
"attachment.upload": "attachment.upload";
|
|
397
726
|
bypassratelimit: "bypassratelimit";
|
|
398
727
|
"config.update-all": "config.update-all";
|
|
728
|
+
"integration.audit.read": "integration.audit.read";
|
|
399
729
|
"integration.create": "integration.create";
|
|
730
|
+
"location.edit": "location.edit";
|
|
400
731
|
"performance.read": "performance.read";
|
|
401
732
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
402
733
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
403
734
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
404
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
405
735
|
"record.import": "record.import";
|
|
406
736
|
"record.reindex": "record.reindex";
|
|
407
|
-
"record.reject-registration": "record.reject-registration";
|
|
408
737
|
"user.data-seeding": "user.data-seeding";
|
|
409
738
|
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
410
739
|
}>;
|
|
@@ -415,12 +744,20 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
415
744
|
"record.notify": "record.notify";
|
|
416
745
|
}>;
|
|
417
746
|
options: z.ZodOptional<z.ZodObject<{
|
|
418
|
-
event: z.
|
|
747
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
419
748
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
420
749
|
administrativeArea: "administrativeArea";
|
|
421
750
|
all: "all";
|
|
422
751
|
location: "location";
|
|
423
752
|
}>>;
|
|
753
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
754
|
+
user: "user";
|
|
755
|
+
}>>;
|
|
756
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
757
|
+
administrativeArea: "administrativeArea";
|
|
758
|
+
all: "all";
|
|
759
|
+
location: "location";
|
|
760
|
+
}>>;
|
|
424
761
|
}, z.core.$strip>>;
|
|
425
762
|
}, z.core.$strip>, z.ZodObject<{
|
|
426
763
|
type: z.ZodEnum<{
|
|
@@ -428,16 +765,23 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
428
765
|
"record.edit": "record.edit";
|
|
429
766
|
"record.register": "record.register";
|
|
430
767
|
"record.reject": "record.reject";
|
|
431
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
432
768
|
"record.unarchive": "record.unarchive";
|
|
433
769
|
}>;
|
|
434
770
|
options: z.ZodOptional<z.ZodObject<{
|
|
435
|
-
event: z.
|
|
771
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
436
772
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
437
773
|
administrativeArea: "administrativeArea";
|
|
438
774
|
all: "all";
|
|
439
775
|
location: "location";
|
|
440
776
|
}>>;
|
|
777
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
778
|
+
user: "user";
|
|
779
|
+
}>>;
|
|
780
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
781
|
+
administrativeArea: "administrativeArea";
|
|
782
|
+
all: "all";
|
|
783
|
+
location: "location";
|
|
784
|
+
}>>;
|
|
441
785
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
442
786
|
administrativeArea: "administrativeArea";
|
|
443
787
|
all: "all";
|
|
@@ -454,22 +798,41 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
454
798
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
455
799
|
user: "user";
|
|
456
800
|
}>>;
|
|
801
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
802
|
+
ARCHIVED: "ARCHIVED";
|
|
803
|
+
CREATED: "CREATED";
|
|
804
|
+
DECLARED: "DECLARED";
|
|
805
|
+
NOTIFIED: "NOTIFIED";
|
|
806
|
+
REGISTERED: "REGISTERED";
|
|
807
|
+
REVOKED: "REVOKED";
|
|
808
|
+
}>>>>;
|
|
457
809
|
}, z.core.$strip>>;
|
|
458
810
|
}, z.core.$strip>, z.ZodObject<{
|
|
459
811
|
type: z.ZodEnum<{
|
|
460
812
|
"record.correct": "record.correct";
|
|
461
813
|
"record.read": "record.read";
|
|
814
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
462
815
|
"record.request-correction": "record.request-correction";
|
|
816
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
817
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
463
818
|
"record.search": "record.search";
|
|
464
819
|
"record.unassign-others": "record.unassign-others";
|
|
465
820
|
}>;
|
|
466
821
|
options: z.ZodOptional<z.ZodObject<{
|
|
467
|
-
event: z.
|
|
822
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
468
823
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
469
824
|
administrativeArea: "administrativeArea";
|
|
470
825
|
all: "all";
|
|
471
826
|
location: "location";
|
|
472
827
|
}>>;
|
|
828
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
829
|
+
user: "user";
|
|
830
|
+
}>>;
|
|
831
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
832
|
+
administrativeArea: "administrativeArea";
|
|
833
|
+
all: "all";
|
|
834
|
+
location: "location";
|
|
835
|
+
}>>;
|
|
473
836
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
474
837
|
administrativeArea: "administrativeArea";
|
|
475
838
|
all: "all";
|
|
@@ -486,6 +849,14 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
486
849
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
487
850
|
user: "user";
|
|
488
851
|
}>>;
|
|
852
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
853
|
+
ARCHIVED: "ARCHIVED";
|
|
854
|
+
CREATED: "CREATED";
|
|
855
|
+
DECLARED: "DECLARED";
|
|
856
|
+
NOTIFIED: "NOTIFIED";
|
|
857
|
+
REGISTERED: "REGISTERED";
|
|
858
|
+
REVOKED: "REVOKED";
|
|
859
|
+
}>>>>;
|
|
489
860
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
490
861
|
administrativeArea: "administrativeArea";
|
|
491
862
|
all: "all";
|
|
@@ -494,16 +865,47 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
494
865
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
495
866
|
user: "user";
|
|
496
867
|
}>>;
|
|
868
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
869
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
870
|
+
readonly INCOMPLETE: 'incomplete';
|
|
871
|
+
readonly REJECTED: 'rejected';
|
|
872
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
873
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
874
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
875
|
+
}>]>, z.ZodString]>>>;
|
|
876
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
877
|
+
readonly INCOMPLETE: 'incomplete';
|
|
878
|
+
readonly REJECTED: 'rejected';
|
|
879
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
880
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
881
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
882
|
+
}>]>, z.ZodString]>>>;
|
|
883
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
884
|
+
readonly INCOMPLETE: 'incomplete';
|
|
885
|
+
readonly REJECTED: 'rejected';
|
|
886
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
887
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
888
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
889
|
+
}>]>, z.ZodString]>>>;
|
|
890
|
+
}, z.core.$strip>>;
|
|
497
891
|
}, z.core.$strip>>;
|
|
498
892
|
}, z.core.$strip>, z.ZodObject<{
|
|
499
893
|
type: z.ZodLiteral<"record.custom-action">;
|
|
500
894
|
options: z.ZodOptional<z.ZodObject<{
|
|
501
|
-
event: z.
|
|
895
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
502
896
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
503
897
|
administrativeArea: "administrativeArea";
|
|
504
898
|
all: "all";
|
|
505
899
|
location: "location";
|
|
506
900
|
}>>;
|
|
901
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
902
|
+
user: "user";
|
|
903
|
+
}>>;
|
|
904
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
905
|
+
administrativeArea: "administrativeArea";
|
|
906
|
+
all: "all";
|
|
907
|
+
location: "location";
|
|
908
|
+
}>>;
|
|
507
909
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
508
910
|
administrativeArea: "administrativeArea";
|
|
509
911
|
all: "all";
|
|
@@ -520,6 +922,14 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
520
922
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
521
923
|
user: "user";
|
|
522
924
|
}>>;
|
|
925
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
926
|
+
ARCHIVED: "ARCHIVED";
|
|
927
|
+
CREATED: "CREATED";
|
|
928
|
+
DECLARED: "DECLARED";
|
|
929
|
+
NOTIFIED: "NOTIFIED";
|
|
930
|
+
REGISTERED: "REGISTERED";
|
|
931
|
+
REVOKED: "REVOKED";
|
|
932
|
+
}>>>>;
|
|
523
933
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
524
934
|
administrativeArea: "administrativeArea";
|
|
525
935
|
all: "all";
|
|
@@ -528,17 +938,48 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
528
938
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
529
939
|
user: "user";
|
|
530
940
|
}>>;
|
|
531
|
-
|
|
941
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
942
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
943
|
+
readonly INCOMPLETE: 'incomplete';
|
|
944
|
+
readonly REJECTED: 'rejected';
|
|
945
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
946
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
947
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
948
|
+
}>]>, z.ZodString]>>>;
|
|
949
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
950
|
+
readonly INCOMPLETE: 'incomplete';
|
|
951
|
+
readonly REJECTED: 'rejected';
|
|
952
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
953
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
954
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
955
|
+
}>]>, z.ZodString]>>>;
|
|
956
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
957
|
+
readonly INCOMPLETE: 'incomplete';
|
|
958
|
+
readonly REJECTED: 'rejected';
|
|
959
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
960
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
961
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
962
|
+
}>]>, z.ZodString]>>>;
|
|
963
|
+
}, z.core.$strip>>;
|
|
964
|
+
customActionTypes: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
532
965
|
}, z.core.$strip>>;
|
|
533
966
|
}, z.core.$strip>, z.ZodObject<{
|
|
534
967
|
type: z.ZodLiteral<"record.print-certified-copies">;
|
|
535
968
|
options: z.ZodOptional<z.ZodObject<{
|
|
536
|
-
event: z.
|
|
969
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
537
970
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
538
971
|
administrativeArea: "administrativeArea";
|
|
539
972
|
all: "all";
|
|
540
973
|
location: "location";
|
|
541
974
|
}>>;
|
|
975
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
976
|
+
user: "user";
|
|
977
|
+
}>>;
|
|
978
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
979
|
+
administrativeArea: "administrativeArea";
|
|
980
|
+
all: "all";
|
|
981
|
+
location: "location";
|
|
982
|
+
}>>;
|
|
542
983
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
543
984
|
administrativeArea: "administrativeArea";
|
|
544
985
|
all: "all";
|
|
@@ -555,6 +996,14 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
555
996
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
556
997
|
user: "user";
|
|
557
998
|
}>>;
|
|
999
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1000
|
+
ARCHIVED: "ARCHIVED";
|
|
1001
|
+
CREATED: "CREATED";
|
|
1002
|
+
DECLARED: "DECLARED";
|
|
1003
|
+
NOTIFIED: "NOTIFIED";
|
|
1004
|
+
REGISTERED: "REGISTERED";
|
|
1005
|
+
REVOKED: "REVOKED";
|
|
1006
|
+
}>>>>;
|
|
558
1007
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
559
1008
|
administrativeArea: "administrativeArea";
|
|
560
1009
|
all: "all";
|
|
@@ -563,7 +1012,106 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
563
1012
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
564
1013
|
user: "user";
|
|
565
1014
|
}>>;
|
|
566
|
-
|
|
1015
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
1016
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1017
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1018
|
+
readonly REJECTED: 'rejected';
|
|
1019
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1020
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1021
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1022
|
+
}>]>, z.ZodString]>>>;
|
|
1023
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1024
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1025
|
+
readonly REJECTED: 'rejected';
|
|
1026
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1027
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1028
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1029
|
+
}>]>, z.ZodString]>>>;
|
|
1030
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1031
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1032
|
+
readonly REJECTED: 'rejected';
|
|
1033
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1034
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1035
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1036
|
+
}>]>, z.ZodString]>>>;
|
|
1037
|
+
}, z.core.$strip>>;
|
|
1038
|
+
templates: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1039
|
+
}, z.core.$strip>>;
|
|
1040
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1041
|
+
type: z.ZodEnum<{
|
|
1042
|
+
"record.action.accept": "record.action.accept";
|
|
1043
|
+
"record.action.reject": "record.action.reject";
|
|
1044
|
+
}>;
|
|
1045
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1046
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1047
|
+
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
1048
|
+
administrativeArea: "administrativeArea";
|
|
1049
|
+
all: "all";
|
|
1050
|
+
location: "location";
|
|
1051
|
+
}>>;
|
|
1052
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
1053
|
+
user: "user";
|
|
1054
|
+
}>>;
|
|
1055
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
1056
|
+
administrativeArea: "administrativeArea";
|
|
1057
|
+
all: "all";
|
|
1058
|
+
location: "location";
|
|
1059
|
+
}>>;
|
|
1060
|
+
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
1061
|
+
administrativeArea: "administrativeArea";
|
|
1062
|
+
all: "all";
|
|
1063
|
+
location: "location";
|
|
1064
|
+
}>>;
|
|
1065
|
+
notifiedBy: z.ZodOptional<z.ZodEnum<{
|
|
1066
|
+
user: "user";
|
|
1067
|
+
}>>;
|
|
1068
|
+
declaredIn: z.ZodOptional<z.ZodEnum<{
|
|
1069
|
+
administrativeArea: "administrativeArea";
|
|
1070
|
+
all: "all";
|
|
1071
|
+
location: "location";
|
|
1072
|
+
}>>;
|
|
1073
|
+
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
1074
|
+
user: "user";
|
|
1075
|
+
}>>;
|
|
1076
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1077
|
+
ARCHIVED: "ARCHIVED";
|
|
1078
|
+
CREATED: "CREATED";
|
|
1079
|
+
DECLARED: "DECLARED";
|
|
1080
|
+
NOTIFIED: "NOTIFIED";
|
|
1081
|
+
REGISTERED: "REGISTERED";
|
|
1082
|
+
REVOKED: "REVOKED";
|
|
1083
|
+
}>>>>;
|
|
1084
|
+
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
1085
|
+
administrativeArea: "administrativeArea";
|
|
1086
|
+
all: "all";
|
|
1087
|
+
location: "location";
|
|
1088
|
+
}>>;
|
|
1089
|
+
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
1090
|
+
user: "user";
|
|
1091
|
+
}>>;
|
|
1092
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
1093
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1094
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1095
|
+
readonly REJECTED: 'rejected';
|
|
1096
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1097
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1098
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1099
|
+
}>]>, z.ZodString]>>>;
|
|
1100
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1101
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1102
|
+
readonly REJECTED: 'rejected';
|
|
1103
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1104
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1105
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1106
|
+
}>]>, z.ZodString]>>>;
|
|
1107
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1108
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1109
|
+
readonly REJECTED: 'rejected';
|
|
1110
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1111
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1112
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1113
|
+
}>]>, z.ZodString]>>>;
|
|
1114
|
+
}, z.core.$strip>>;
|
|
567
1115
|
}, z.core.$strip>>;
|
|
568
1116
|
}, z.core.$strip>, z.ZodObject<{
|
|
569
1117
|
type: z.ZodEnum<{
|
|
@@ -576,7 +1124,7 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
576
1124
|
all: "all";
|
|
577
1125
|
location: "location";
|
|
578
1126
|
}>>;
|
|
579
|
-
role: z.ZodOptional<z.
|
|
1127
|
+
role: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
580
1128
|
}, z.core.$strip>>;
|
|
581
1129
|
}, z.core.$strip>, z.ZodObject<{
|
|
582
1130
|
type: z.ZodEnum<{
|
|
@@ -602,12 +1150,12 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
602
1150
|
}, z.core.$strip>, z.ZodObject<{
|
|
603
1151
|
type: z.ZodLiteral<"workqueue">;
|
|
604
1152
|
options: z.ZodObject<{
|
|
605
|
-
ids: z.
|
|
1153
|
+
ids: z.ZodPreprocess<z.ZodArray<z.ZodString>>;
|
|
606
1154
|
}, z.core.$strip>;
|
|
607
1155
|
}, z.core.$strip>, z.ZodObject<{
|
|
608
1156
|
type: z.ZodLiteral<"dashboard.view">;
|
|
609
1157
|
options: z.ZodObject<{
|
|
610
|
-
ids: z.
|
|
1158
|
+
ids: z.ZodPreprocess<z.ZodArray<z.ZodString>>;
|
|
611
1159
|
}, z.core.$strip>;
|
|
612
1160
|
}, z.core.$strip>], "type">;
|
|
613
1161
|
export type Scope = z.infer<typeof Scope>;
|
|
@@ -616,14 +1164,17 @@ export declare const ScopeType: z.ZodEnum<{
|
|
|
616
1164
|
bypassratelimit: "bypassratelimit";
|
|
617
1165
|
"config.update-all": "config.update-all";
|
|
618
1166
|
"dashboard.view": "dashboard.view";
|
|
1167
|
+
"integration.audit.read": "integration.audit.read";
|
|
619
1168
|
"integration.create": "integration.create";
|
|
1169
|
+
"location.edit": "location.edit";
|
|
620
1170
|
"organisation.read-locations": "organisation.read-locations";
|
|
621
1171
|
"performance.read": "performance.read";
|
|
622
1172
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
623
1173
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
624
1174
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
1175
|
+
"record.action.accept": "record.action.accept";
|
|
1176
|
+
"record.action.reject": "record.action.reject";
|
|
625
1177
|
"record.archive": "record.archive";
|
|
626
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
627
1178
|
"record.correct": "record.correct";
|
|
628
1179
|
"record.create": "record.create";
|
|
629
1180
|
"record.custom-action": "record.custom-action";
|
|
@@ -635,10 +1186,11 @@ export declare const ScopeType: z.ZodEnum<{
|
|
|
635
1186
|
"record.read": "record.read";
|
|
636
1187
|
"record.register": "record.register";
|
|
637
1188
|
"record.reindex": "record.reindex";
|
|
1189
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
638
1190
|
"record.reject": "record.reject";
|
|
639
|
-
"record.reject-registration": "record.reject-registration";
|
|
640
1191
|
"record.request-correction": "record.request-correction";
|
|
641
1192
|
"record.review-duplicates": "record.review-duplicates";
|
|
1193
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
642
1194
|
"record.search": "record.search";
|
|
643
1195
|
"record.unarchive": "record.unarchive";
|
|
644
1196
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -676,40 +1228,61 @@ export declare const decodeScope: (encodedScope: EncodedScope) => {
|
|
|
676
1228
|
options?: {
|
|
677
1229
|
event?: string[] | undefined;
|
|
678
1230
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1231
|
+
createdBy?: "user" | undefined;
|
|
1232
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
679
1233
|
} | undefined;
|
|
680
1234
|
} | {
|
|
681
|
-
type: "record.archive" | "record.edit" | "record.register" | "record.reject" | "record.
|
|
1235
|
+
type: "record.archive" | "record.edit" | "record.register" | "record.reject" | "record.unarchive";
|
|
682
1236
|
options?: {
|
|
683
1237
|
event?: string[] | undefined;
|
|
684
1238
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1239
|
+
createdBy?: "user" | undefined;
|
|
1240
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
685
1241
|
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
686
1242
|
notifiedBy?: "user" | undefined;
|
|
687
1243
|
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
688
1244
|
declaredBy?: "user" | undefined;
|
|
1245
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[] | undefined;
|
|
689
1246
|
} | undefined;
|
|
690
1247
|
} | {
|
|
691
|
-
type: "record.correct" | "record.read" | "record.request-correction" | "record.search" | "record.unassign-others";
|
|
1248
|
+
type: "record.correct" | "record.read" | "record.reinstate-registration" | "record.request-correction" | "record.review-duplicates" | "record.revoke-registration" | "record.search" | "record.unassign-others";
|
|
692
1249
|
options?: {
|
|
693
1250
|
event?: string[] | undefined;
|
|
694
1251
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1252
|
+
createdBy?: "user" | undefined;
|
|
1253
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
695
1254
|
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
696
1255
|
notifiedBy?: "user" | undefined;
|
|
697
1256
|
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
698
1257
|
declaredBy?: "user" | undefined;
|
|
1258
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[] | undefined;
|
|
699
1259
|
registeredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
700
1260
|
registeredBy?: "user" | undefined;
|
|
1261
|
+
flags?: {
|
|
1262
|
+
anyOf?: string[] | undefined;
|
|
1263
|
+
noneOf?: string[] | undefined;
|
|
1264
|
+
allOf?: string[] | undefined;
|
|
1265
|
+
} | undefined;
|
|
701
1266
|
} | undefined;
|
|
702
1267
|
} | {
|
|
703
1268
|
type: "record.custom-action";
|
|
704
1269
|
options?: {
|
|
705
1270
|
event?: string[] | undefined;
|
|
706
1271
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1272
|
+
createdBy?: "user" | undefined;
|
|
1273
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
707
1274
|
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
708
1275
|
notifiedBy?: "user" | undefined;
|
|
709
1276
|
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
710
1277
|
declaredBy?: "user" | undefined;
|
|
1278
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[] | undefined;
|
|
711
1279
|
registeredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
712
1280
|
registeredBy?: "user" | undefined;
|
|
1281
|
+
flags?: {
|
|
1282
|
+
anyOf?: string[] | undefined;
|
|
1283
|
+
noneOf?: string[] | undefined;
|
|
1284
|
+
allOf?: string[] | undefined;
|
|
1285
|
+
} | undefined;
|
|
713
1286
|
customActionTypes?: string[] | undefined;
|
|
714
1287
|
} | undefined;
|
|
715
1288
|
} | {
|
|
@@ -717,14 +1290,42 @@ export declare const decodeScope: (encodedScope: EncodedScope) => {
|
|
|
717
1290
|
options?: {
|
|
718
1291
|
event?: string[] | undefined;
|
|
719
1292
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1293
|
+
createdBy?: "user" | undefined;
|
|
1294
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
720
1295
|
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
721
1296
|
notifiedBy?: "user" | undefined;
|
|
722
1297
|
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
723
1298
|
declaredBy?: "user" | undefined;
|
|
1299
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[] | undefined;
|
|
724
1300
|
registeredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
725
1301
|
registeredBy?: "user" | undefined;
|
|
1302
|
+
flags?: {
|
|
1303
|
+
anyOf?: string[] | undefined;
|
|
1304
|
+
noneOf?: string[] | undefined;
|
|
1305
|
+
allOf?: string[] | undefined;
|
|
1306
|
+
} | undefined;
|
|
726
1307
|
templates?: string[] | undefined;
|
|
727
1308
|
} | undefined;
|
|
1309
|
+
} | {
|
|
1310
|
+
type: "record.action.accept" | "record.action.reject";
|
|
1311
|
+
options?: {
|
|
1312
|
+
event?: string[] | undefined;
|
|
1313
|
+
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1314
|
+
createdBy?: "user" | undefined;
|
|
1315
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
1316
|
+
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
1317
|
+
notifiedBy?: "user" | undefined;
|
|
1318
|
+
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
1319
|
+
declaredBy?: "user" | undefined;
|
|
1320
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[] | undefined;
|
|
1321
|
+
registeredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
1322
|
+
registeredBy?: "user" | undefined;
|
|
1323
|
+
flags?: {
|
|
1324
|
+
anyOf?: string[] | undefined;
|
|
1325
|
+
noneOf?: string[] | undefined;
|
|
1326
|
+
allOf?: string[] | undefined;
|
|
1327
|
+
} | undefined;
|
|
1328
|
+
} | undefined;
|
|
728
1329
|
} | {
|
|
729
1330
|
type: "user.create" | "user.edit";
|
|
730
1331
|
options?: {
|
|
@@ -737,7 +1338,7 @@ export declare const decodeScope: (encodedScope: EncodedScope) => {
|
|
|
737
1338
|
accessLevel?: "administrativeArea" | "all" | "location" | undefined;
|
|
738
1339
|
} | undefined;
|
|
739
1340
|
} | {
|
|
740
|
-
type: "attachment.upload" | "bypassratelimit" | "config.update-all" | "integration.create" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.
|
|
1341
|
+
type: "attachment.upload" | "bypassratelimit" | "config.update-all" | "integration.audit.read" | "integration.create" | "location.edit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.import" | "record.reindex" | "user.data-seeding" | "user.read-only-my-audit";
|
|
741
1342
|
} | {
|
|
742
1343
|
type: "organisation.read-locations";
|
|
743
1344
|
options?: {
|