@opencrvs/toolkit 2.1.0-rc.ffe0b7f → 2.2.0-rc.ab91cce
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 +362 -284
- package/dist/authentication/index.d.ts +66 -0
- package/dist/authentication/index.d.ts.map +1 -0
- package/dist/authentication/index.js +765 -0
- package/dist/cli.js +2041 -1311
- package/dist/commons/api/router.d.ts +940 -363
- 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 +77 -7
- package/dist/commons/events/ActionDocument.d.ts +35 -15
- package/dist/commons/events/ActionInput.d.ts +4 -4
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +48 -12
- package/dist/commons/events/AuditLog.d.ts +148 -0
- package/dist/commons/events/Draft.d.ts +1 -21
- package/dist/commons/events/EventConfig.d.ts +29 -6
- package/dist/commons/events/EventDocument.d.ts +472 -4
- package/dist/commons/events/EventIndex.d.ts +3 -26
- package/dist/commons/events/EventMetadata.d.ts +1 -11
- package/dist/commons/events/EventStatus.d.ts +19 -0
- package/dist/commons/events/FieldConfig.d.ts +109 -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 +17 -14
- 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 +21 -1
- package/dist/commons/events/test.utils.d.ts +83 -25
- package/dist/commons/events/utils.d.ts +52 -17
- 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 +349 -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 +6115 -5378
- 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 +2012 -1455
- package/dist/scopes/index.d.ts +614 -36
- package/dist/scopes/index.js +351 -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.ab91cce.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";
|
|
@@ -36,12 +38,20 @@ export declare const RecordScopeTypeV2: z.ZodEnum<{
|
|
|
36
38
|
}>;
|
|
37
39
|
export type RecordScopeTypeV2 = z.infer<typeof RecordScopeTypeV2>;
|
|
38
40
|
declare const AllScopeOptions: z.ZodObject<{
|
|
39
|
-
event: z.
|
|
41
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
40
42
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
41
43
|
administrativeArea: "administrativeArea";
|
|
42
44
|
all: "all";
|
|
43
45
|
location: "location";
|
|
44
46
|
}>>;
|
|
47
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
48
|
+
user: "user";
|
|
49
|
+
}>>;
|
|
50
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
administrativeArea: "administrativeArea";
|
|
52
|
+
all: "all";
|
|
53
|
+
location: "location";
|
|
54
|
+
}>>;
|
|
45
55
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
46
56
|
administrativeArea: "administrativeArea";
|
|
47
57
|
all: "all";
|
|
@@ -58,6 +68,13 @@ declare const AllScopeOptions: z.ZodObject<{
|
|
|
58
68
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
59
69
|
user: "user";
|
|
60
70
|
}>>;
|
|
71
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
72
|
+
ARCHIVED: "ARCHIVED";
|
|
73
|
+
CREATED: "CREATED";
|
|
74
|
+
DECLARED: "DECLARED";
|
|
75
|
+
NOTIFIED: "NOTIFIED";
|
|
76
|
+
REGISTERED: "REGISTERED";
|
|
77
|
+
}>>>>;
|
|
61
78
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
62
79
|
administrativeArea: "administrativeArea";
|
|
63
80
|
all: "all";
|
|
@@ -66,20 +83,46 @@ declare const AllScopeOptions: z.ZodObject<{
|
|
|
66
83
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
67
84
|
user: "user";
|
|
68
85
|
}>>;
|
|
86
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
87
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
88
|
+
readonly INCOMPLETE: 'incomplete';
|
|
89
|
+
readonly REJECTED: 'rejected';
|
|
90
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
91
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
92
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
93
|
+
}>]>, z.ZodString]>>>;
|
|
94
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
95
|
+
readonly INCOMPLETE: 'incomplete';
|
|
96
|
+
readonly REJECTED: 'rejected';
|
|
97
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
98
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
99
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
100
|
+
}>]>, z.ZodString]>>>;
|
|
101
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
102
|
+
readonly INCOMPLETE: 'incomplete';
|
|
103
|
+
readonly REJECTED: 'rejected';
|
|
104
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
105
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
106
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
107
|
+
}>]>, z.ZodString]>>>;
|
|
108
|
+
}, z.core.$strip>>;
|
|
69
109
|
accessLevel: z.ZodOptional<z.ZodEnum<{
|
|
70
110
|
administrativeArea: "administrativeArea";
|
|
71
111
|
all: "all";
|
|
72
112
|
location: "location";
|
|
73
113
|
}>>;
|
|
74
|
-
role: z.ZodOptional<z.
|
|
75
|
-
ids: z.
|
|
114
|
+
role: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
115
|
+
ids: z.ZodPreprocess<z.ZodArray<z.ZodString>>;
|
|
76
116
|
}, z.core.$strip>;
|
|
77
117
|
type AllScopeOptions = z.infer<typeof AllScopeOptions>;
|
|
78
118
|
export declare const ScopeOptionKey: z.ZodEnum<{
|
|
79
119
|
accessLevel: "accessLevel";
|
|
120
|
+
createdBy: "createdBy";
|
|
121
|
+
createdIn: "createdIn";
|
|
80
122
|
declaredBy: "declaredBy";
|
|
81
123
|
declaredIn: "declaredIn";
|
|
82
124
|
event: "event";
|
|
125
|
+
flags: "flags";
|
|
83
126
|
ids: "ids";
|
|
84
127
|
notifiedBy: "notifiedBy";
|
|
85
128
|
notifiedIn: "notifiedIn";
|
|
@@ -87,6 +130,7 @@ export declare const ScopeOptionKey: z.ZodEnum<{
|
|
|
87
130
|
registeredBy: "registeredBy";
|
|
88
131
|
registeredIn: "registeredIn";
|
|
89
132
|
role: "role";
|
|
133
|
+
status: "status";
|
|
90
134
|
}>;
|
|
91
135
|
export type ScopeOptionKey = z.infer<typeof ScopeOptionKey>;
|
|
92
136
|
export declare const ScopesWithPlaceEventOptions: z.ZodEnum<{
|
|
@@ -99,16 +143,21 @@ export declare const ScopesWithDeclaredOptions: z.ZodEnum<{
|
|
|
99
143
|
"record.edit": "record.edit";
|
|
100
144
|
"record.register": "record.register";
|
|
101
145
|
"record.reject": "record.reject";
|
|
102
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
103
146
|
"record.unarchive": "record.unarchive";
|
|
104
147
|
}>;
|
|
105
148
|
export declare const ScopesWithFullOptions: z.ZodEnum<{
|
|
106
149
|
"record.correct": "record.correct";
|
|
107
150
|
"record.read": "record.read";
|
|
108
151
|
"record.request-correction": "record.request-correction";
|
|
152
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
109
153
|
"record.search": "record.search";
|
|
110
154
|
"record.unassign-others": "record.unassign-others";
|
|
111
155
|
}>;
|
|
156
|
+
export declare const ActionConfirmationScopeType: z.ZodEnum<{
|
|
157
|
+
"record.action.accept": "record.action.accept";
|
|
158
|
+
"record.action.reject": "record.action.reject";
|
|
159
|
+
}>;
|
|
160
|
+
export type ActionConfirmationScopeType = z.infer<typeof ActionConfirmationScopeType>;
|
|
112
161
|
export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
113
162
|
type: z.ZodEnum<{
|
|
114
163
|
"record.create": "record.create";
|
|
@@ -116,12 +165,20 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
116
165
|
"record.notify": "record.notify";
|
|
117
166
|
}>;
|
|
118
167
|
options: z.ZodOptional<z.ZodObject<{
|
|
119
|
-
event: z.
|
|
168
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
120
169
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
121
170
|
administrativeArea: "administrativeArea";
|
|
122
171
|
all: "all";
|
|
123
172
|
location: "location";
|
|
124
173
|
}>>;
|
|
174
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
175
|
+
user: "user";
|
|
176
|
+
}>>;
|
|
177
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
178
|
+
administrativeArea: "administrativeArea";
|
|
179
|
+
all: "all";
|
|
180
|
+
location: "location";
|
|
181
|
+
}>>;
|
|
125
182
|
}, z.core.$strip>>;
|
|
126
183
|
}, z.core.$strip>, z.ZodObject<{
|
|
127
184
|
type: z.ZodEnum<{
|
|
@@ -129,16 +186,23 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
129
186
|
"record.edit": "record.edit";
|
|
130
187
|
"record.register": "record.register";
|
|
131
188
|
"record.reject": "record.reject";
|
|
132
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
133
189
|
"record.unarchive": "record.unarchive";
|
|
134
190
|
}>;
|
|
135
191
|
options: z.ZodOptional<z.ZodObject<{
|
|
136
|
-
event: z.
|
|
192
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
137
193
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
138
194
|
administrativeArea: "administrativeArea";
|
|
139
195
|
all: "all";
|
|
140
196
|
location: "location";
|
|
141
197
|
}>>;
|
|
198
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
199
|
+
user: "user";
|
|
200
|
+
}>>;
|
|
201
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
202
|
+
administrativeArea: "administrativeArea";
|
|
203
|
+
all: "all";
|
|
204
|
+
location: "location";
|
|
205
|
+
}>>;
|
|
142
206
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
143
207
|
administrativeArea: "administrativeArea";
|
|
144
208
|
all: "all";
|
|
@@ -155,22 +219,38 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
155
219
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
156
220
|
user: "user";
|
|
157
221
|
}>>;
|
|
222
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
223
|
+
ARCHIVED: "ARCHIVED";
|
|
224
|
+
CREATED: "CREATED";
|
|
225
|
+
DECLARED: "DECLARED";
|
|
226
|
+
NOTIFIED: "NOTIFIED";
|
|
227
|
+
REGISTERED: "REGISTERED";
|
|
228
|
+
}>>>>;
|
|
158
229
|
}, z.core.$strip>>;
|
|
159
230
|
}, z.core.$strip>, z.ZodObject<{
|
|
160
231
|
type: z.ZodEnum<{
|
|
161
232
|
"record.correct": "record.correct";
|
|
162
233
|
"record.read": "record.read";
|
|
163
234
|
"record.request-correction": "record.request-correction";
|
|
235
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
164
236
|
"record.search": "record.search";
|
|
165
237
|
"record.unassign-others": "record.unassign-others";
|
|
166
238
|
}>;
|
|
167
239
|
options: z.ZodOptional<z.ZodObject<{
|
|
168
|
-
event: z.
|
|
240
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
169
241
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
170
242
|
administrativeArea: "administrativeArea";
|
|
171
243
|
all: "all";
|
|
172
244
|
location: "location";
|
|
173
245
|
}>>;
|
|
246
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
247
|
+
user: "user";
|
|
248
|
+
}>>;
|
|
249
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
250
|
+
administrativeArea: "administrativeArea";
|
|
251
|
+
all: "all";
|
|
252
|
+
location: "location";
|
|
253
|
+
}>>;
|
|
174
254
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
175
255
|
administrativeArea: "administrativeArea";
|
|
176
256
|
all: "all";
|
|
@@ -187,6 +267,13 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
187
267
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
188
268
|
user: "user";
|
|
189
269
|
}>>;
|
|
270
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
271
|
+
ARCHIVED: "ARCHIVED";
|
|
272
|
+
CREATED: "CREATED";
|
|
273
|
+
DECLARED: "DECLARED";
|
|
274
|
+
NOTIFIED: "NOTIFIED";
|
|
275
|
+
REGISTERED: "REGISTERED";
|
|
276
|
+
}>>>>;
|
|
190
277
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
191
278
|
administrativeArea: "administrativeArea";
|
|
192
279
|
all: "all";
|
|
@@ -195,16 +282,47 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
195
282
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
196
283
|
user: "user";
|
|
197
284
|
}>>;
|
|
285
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
286
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
287
|
+
readonly INCOMPLETE: 'incomplete';
|
|
288
|
+
readonly REJECTED: 'rejected';
|
|
289
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
290
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
291
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
292
|
+
}>]>, z.ZodString]>>>;
|
|
293
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
294
|
+
readonly INCOMPLETE: 'incomplete';
|
|
295
|
+
readonly REJECTED: 'rejected';
|
|
296
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
297
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
298
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
299
|
+
}>]>, z.ZodString]>>>;
|
|
300
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
301
|
+
readonly INCOMPLETE: 'incomplete';
|
|
302
|
+
readonly REJECTED: 'rejected';
|
|
303
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
304
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
305
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
306
|
+
}>]>, z.ZodString]>>>;
|
|
307
|
+
}, z.core.$strip>>;
|
|
198
308
|
}, z.core.$strip>>;
|
|
199
309
|
}, z.core.$strip>, z.ZodObject<{
|
|
200
310
|
type: z.ZodLiteral<"record.custom-action">;
|
|
201
311
|
options: z.ZodOptional<z.ZodObject<{
|
|
202
|
-
event: z.
|
|
312
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
203
313
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
204
314
|
administrativeArea: "administrativeArea";
|
|
205
315
|
all: "all";
|
|
206
316
|
location: "location";
|
|
207
317
|
}>>;
|
|
318
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
319
|
+
user: "user";
|
|
320
|
+
}>>;
|
|
321
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
322
|
+
administrativeArea: "administrativeArea";
|
|
323
|
+
all: "all";
|
|
324
|
+
location: "location";
|
|
325
|
+
}>>;
|
|
208
326
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
209
327
|
administrativeArea: "administrativeArea";
|
|
210
328
|
all: "all";
|
|
@@ -221,6 +339,13 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
221
339
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
222
340
|
user: "user";
|
|
223
341
|
}>>;
|
|
342
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
343
|
+
ARCHIVED: "ARCHIVED";
|
|
344
|
+
CREATED: "CREATED";
|
|
345
|
+
DECLARED: "DECLARED";
|
|
346
|
+
NOTIFIED: "NOTIFIED";
|
|
347
|
+
REGISTERED: "REGISTERED";
|
|
348
|
+
}>>>>;
|
|
224
349
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
225
350
|
administrativeArea: "administrativeArea";
|
|
226
351
|
all: "all";
|
|
@@ -229,17 +354,124 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
229
354
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
230
355
|
user: "user";
|
|
231
356
|
}>>;
|
|
232
|
-
|
|
357
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
358
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
359
|
+
readonly INCOMPLETE: 'incomplete';
|
|
360
|
+
readonly REJECTED: 'rejected';
|
|
361
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
362
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
363
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
364
|
+
}>]>, z.ZodString]>>>;
|
|
365
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
366
|
+
readonly INCOMPLETE: 'incomplete';
|
|
367
|
+
readonly REJECTED: 'rejected';
|
|
368
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
369
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
370
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
371
|
+
}>]>, z.ZodString]>>>;
|
|
372
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
373
|
+
readonly INCOMPLETE: 'incomplete';
|
|
374
|
+
readonly REJECTED: 'rejected';
|
|
375
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
376
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
377
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
378
|
+
}>]>, z.ZodString]>>>;
|
|
379
|
+
}, z.core.$strip>>;
|
|
380
|
+
customActionTypes: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
233
381
|
}, z.core.$strip>>;
|
|
234
382
|
}, z.core.$strip>, z.ZodObject<{
|
|
235
383
|
type: z.ZodLiteral<"record.print-certified-copies">;
|
|
236
384
|
options: z.ZodOptional<z.ZodObject<{
|
|
237
|
-
event: z.
|
|
385
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
386
|
+
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
387
|
+
administrativeArea: "administrativeArea";
|
|
388
|
+
all: "all";
|
|
389
|
+
location: "location";
|
|
390
|
+
}>>;
|
|
391
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
392
|
+
user: "user";
|
|
393
|
+
}>>;
|
|
394
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
395
|
+
administrativeArea: "administrativeArea";
|
|
396
|
+
all: "all";
|
|
397
|
+
location: "location";
|
|
398
|
+
}>>;
|
|
399
|
+
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
400
|
+
administrativeArea: "administrativeArea";
|
|
401
|
+
all: "all";
|
|
402
|
+
location: "location";
|
|
403
|
+
}>>;
|
|
404
|
+
notifiedBy: z.ZodOptional<z.ZodEnum<{
|
|
405
|
+
user: "user";
|
|
406
|
+
}>>;
|
|
407
|
+
declaredIn: z.ZodOptional<z.ZodEnum<{
|
|
408
|
+
administrativeArea: "administrativeArea";
|
|
409
|
+
all: "all";
|
|
410
|
+
location: "location";
|
|
411
|
+
}>>;
|
|
412
|
+
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
413
|
+
user: "user";
|
|
414
|
+
}>>;
|
|
415
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
416
|
+
ARCHIVED: "ARCHIVED";
|
|
417
|
+
CREATED: "CREATED";
|
|
418
|
+
DECLARED: "DECLARED";
|
|
419
|
+
NOTIFIED: "NOTIFIED";
|
|
420
|
+
REGISTERED: "REGISTERED";
|
|
421
|
+
}>>>>;
|
|
422
|
+
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
423
|
+
administrativeArea: "administrativeArea";
|
|
424
|
+
all: "all";
|
|
425
|
+
location: "location";
|
|
426
|
+
}>>;
|
|
427
|
+
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
428
|
+
user: "user";
|
|
429
|
+
}>>;
|
|
430
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
431
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
432
|
+
readonly INCOMPLETE: 'incomplete';
|
|
433
|
+
readonly REJECTED: 'rejected';
|
|
434
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
435
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
436
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
437
|
+
}>]>, z.ZodString]>>>;
|
|
438
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
439
|
+
readonly INCOMPLETE: 'incomplete';
|
|
440
|
+
readonly REJECTED: 'rejected';
|
|
441
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
442
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
443
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
444
|
+
}>]>, z.ZodString]>>>;
|
|
445
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
446
|
+
readonly INCOMPLETE: 'incomplete';
|
|
447
|
+
readonly REJECTED: 'rejected';
|
|
448
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
449
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
450
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
451
|
+
}>]>, z.ZodString]>>>;
|
|
452
|
+
}, z.core.$strip>>;
|
|
453
|
+
templates: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
454
|
+
}, z.core.$strip>>;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
456
|
+
type: z.ZodEnum<{
|
|
457
|
+
"record.action.accept": "record.action.accept";
|
|
458
|
+
"record.action.reject": "record.action.reject";
|
|
459
|
+
}>;
|
|
460
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
461
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
238
462
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
239
463
|
administrativeArea: "administrativeArea";
|
|
240
464
|
all: "all";
|
|
241
465
|
location: "location";
|
|
242
466
|
}>>;
|
|
467
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
468
|
+
user: "user";
|
|
469
|
+
}>>;
|
|
470
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
471
|
+
administrativeArea: "administrativeArea";
|
|
472
|
+
all: "all";
|
|
473
|
+
location: "location";
|
|
474
|
+
}>>;
|
|
243
475
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
244
476
|
administrativeArea: "administrativeArea";
|
|
245
477
|
all: "all";
|
|
@@ -256,6 +488,13 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
256
488
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
257
489
|
user: "user";
|
|
258
490
|
}>>;
|
|
491
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
492
|
+
ARCHIVED: "ARCHIVED";
|
|
493
|
+
CREATED: "CREATED";
|
|
494
|
+
DECLARED: "DECLARED";
|
|
495
|
+
NOTIFIED: "NOTIFIED";
|
|
496
|
+
REGISTERED: "REGISTERED";
|
|
497
|
+
}>>>>;
|
|
259
498
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
260
499
|
administrativeArea: "administrativeArea";
|
|
261
500
|
all: "all";
|
|
@@ -264,7 +503,29 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
264
503
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
265
504
|
user: "user";
|
|
266
505
|
}>>;
|
|
267
|
-
|
|
506
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
507
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
508
|
+
readonly INCOMPLETE: 'incomplete';
|
|
509
|
+
readonly REJECTED: 'rejected';
|
|
510
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
511
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
512
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
513
|
+
}>]>, z.ZodString]>>>;
|
|
514
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
515
|
+
readonly INCOMPLETE: 'incomplete';
|
|
516
|
+
readonly REJECTED: 'rejected';
|
|
517
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
518
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
519
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
520
|
+
}>]>, z.ZodString]>>>;
|
|
521
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
522
|
+
readonly INCOMPLETE: 'incomplete';
|
|
523
|
+
readonly REJECTED: 'rejected';
|
|
524
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
525
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
526
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
527
|
+
}>]>, z.ZodString]>>>;
|
|
528
|
+
}, z.core.$strip>>;
|
|
268
529
|
}, z.core.$strip>>;
|
|
269
530
|
}, z.core.$strip>], "type">;
|
|
270
531
|
declare const SystemScopeType: z.ZodEnum<{
|
|
@@ -298,7 +559,7 @@ export declare const UserScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
298
559
|
all: "all";
|
|
299
560
|
location: "location";
|
|
300
561
|
}>>;
|
|
301
|
-
role: z.ZodOptional<z.
|
|
562
|
+
role: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
302
563
|
}, z.core.$strip>>;
|
|
303
564
|
}, z.core.$strip>, z.ZodObject<{
|
|
304
565
|
type: z.ZodEnum<{
|
|
@@ -336,8 +597,10 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
336
597
|
"record.notify": "record.notify";
|
|
337
598
|
}>;
|
|
338
599
|
options: z.ZodOptional<z.ZodObject<{
|
|
339
|
-
event: z.
|
|
600
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
340
601
|
placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
602
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
603
|
+
createdIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
341
604
|
}, z.core.$strip>>;
|
|
342
605
|
}, z.core.$strip>, z.ZodObject<{
|
|
343
606
|
type: z.ZodEnum<{
|
|
@@ -345,12 +608,13 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
345
608
|
"record.edit": "record.edit";
|
|
346
609
|
"record.register": "record.register";
|
|
347
610
|
"record.reject": "record.reject";
|
|
348
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
349
611
|
"record.unarchive": "record.unarchive";
|
|
350
612
|
}>;
|
|
351
613
|
options: z.ZodOptional<z.ZodObject<{
|
|
352
|
-
event: z.
|
|
614
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
353
615
|
placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
616
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
617
|
+
createdIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
354
618
|
notifiedIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
355
619
|
notifiedBy: z.ZodOptional<z.ZodString>;
|
|
356
620
|
declaredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
@@ -361,30 +625,81 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
361
625
|
"record.correct": "record.correct";
|
|
362
626
|
"record.read": "record.read";
|
|
363
627
|
"record.request-correction": "record.request-correction";
|
|
628
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
364
629
|
"record.search": "record.search";
|
|
365
630
|
"record.unassign-others": "record.unassign-others";
|
|
366
631
|
}>;
|
|
367
632
|
options: z.ZodOptional<z.ZodObject<{
|
|
368
|
-
event: z.
|
|
633
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
369
634
|
placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
635
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
636
|
+
createdIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
370
637
|
notifiedIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
371
638
|
notifiedBy: z.ZodOptional<z.ZodString>;
|
|
372
639
|
declaredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
373
640
|
declaredBy: z.ZodOptional<z.ZodString>;
|
|
374
641
|
registeredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
375
642
|
registeredBy: z.ZodOptional<z.ZodString>;
|
|
643
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
644
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
645
|
+
readonly INCOMPLETE: 'incomplete';
|
|
646
|
+
readonly REJECTED: 'rejected';
|
|
647
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
648
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
649
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
650
|
+
}>]>, z.ZodString]>>>;
|
|
651
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
652
|
+
readonly INCOMPLETE: 'incomplete';
|
|
653
|
+
readonly REJECTED: 'rejected';
|
|
654
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
655
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
656
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
657
|
+
}>]>, z.ZodString]>>>;
|
|
658
|
+
allOf: 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
|
+
}, z.core.$strip>>;
|
|
376
666
|
}, z.core.$strip>>;
|
|
377
667
|
}, z.core.$strip>, z.ZodObject<{
|
|
378
668
|
type: z.ZodLiteral<"record.print-certified-copies">;
|
|
379
669
|
options: z.ZodOptional<z.ZodObject<{
|
|
380
|
-
event: z.
|
|
670
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
381
671
|
placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
672
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
673
|
+
createdIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
382
674
|
notifiedIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
383
675
|
notifiedBy: z.ZodOptional<z.ZodString>;
|
|
384
676
|
declaredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
385
677
|
declaredBy: z.ZodOptional<z.ZodString>;
|
|
386
678
|
registeredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
387
679
|
registeredBy: z.ZodOptional<z.ZodString>;
|
|
680
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
681
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
682
|
+
readonly INCOMPLETE: 'incomplete';
|
|
683
|
+
readonly REJECTED: 'rejected';
|
|
684
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
685
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
686
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
687
|
+
}>]>, z.ZodString]>>>;
|
|
688
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
689
|
+
readonly INCOMPLETE: 'incomplete';
|
|
690
|
+
readonly REJECTED: 'rejected';
|
|
691
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
692
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
693
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
694
|
+
}>]>, z.ZodString]>>>;
|
|
695
|
+
allOf: 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
|
+
}, z.core.$strip>>;
|
|
388
703
|
templates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
389
704
|
}, z.core.$strip>>;
|
|
390
705
|
}, z.core.$strip>], "type">;
|
|
@@ -396,15 +711,15 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
396
711
|
"attachment.upload": "attachment.upload";
|
|
397
712
|
bypassratelimit: "bypassratelimit";
|
|
398
713
|
"config.update-all": "config.update-all";
|
|
714
|
+
"integration.audit.read": "integration.audit.read";
|
|
399
715
|
"integration.create": "integration.create";
|
|
716
|
+
"location.edit": "location.edit";
|
|
400
717
|
"performance.read": "performance.read";
|
|
401
718
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
402
719
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
403
720
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
404
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
405
721
|
"record.import": "record.import";
|
|
406
722
|
"record.reindex": "record.reindex";
|
|
407
|
-
"record.reject-registration": "record.reject-registration";
|
|
408
723
|
"user.data-seeding": "user.data-seeding";
|
|
409
724
|
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
410
725
|
}>;
|
|
@@ -415,12 +730,20 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
415
730
|
"record.notify": "record.notify";
|
|
416
731
|
}>;
|
|
417
732
|
options: z.ZodOptional<z.ZodObject<{
|
|
418
|
-
event: z.
|
|
733
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
419
734
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
420
735
|
administrativeArea: "administrativeArea";
|
|
421
736
|
all: "all";
|
|
422
737
|
location: "location";
|
|
423
738
|
}>>;
|
|
739
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
740
|
+
user: "user";
|
|
741
|
+
}>>;
|
|
742
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
743
|
+
administrativeArea: "administrativeArea";
|
|
744
|
+
all: "all";
|
|
745
|
+
location: "location";
|
|
746
|
+
}>>;
|
|
424
747
|
}, z.core.$strip>>;
|
|
425
748
|
}, z.core.$strip>, z.ZodObject<{
|
|
426
749
|
type: z.ZodEnum<{
|
|
@@ -428,16 +751,23 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
428
751
|
"record.edit": "record.edit";
|
|
429
752
|
"record.register": "record.register";
|
|
430
753
|
"record.reject": "record.reject";
|
|
431
|
-
"record.review-duplicates": "record.review-duplicates";
|
|
432
754
|
"record.unarchive": "record.unarchive";
|
|
433
755
|
}>;
|
|
434
756
|
options: z.ZodOptional<z.ZodObject<{
|
|
435
|
-
event: z.
|
|
757
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
436
758
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
437
759
|
administrativeArea: "administrativeArea";
|
|
438
760
|
all: "all";
|
|
439
761
|
location: "location";
|
|
440
762
|
}>>;
|
|
763
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
764
|
+
user: "user";
|
|
765
|
+
}>>;
|
|
766
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
767
|
+
administrativeArea: "administrativeArea";
|
|
768
|
+
all: "all";
|
|
769
|
+
location: "location";
|
|
770
|
+
}>>;
|
|
441
771
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
442
772
|
administrativeArea: "administrativeArea";
|
|
443
773
|
all: "all";
|
|
@@ -454,22 +784,38 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
454
784
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
455
785
|
user: "user";
|
|
456
786
|
}>>;
|
|
787
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
788
|
+
ARCHIVED: "ARCHIVED";
|
|
789
|
+
CREATED: "CREATED";
|
|
790
|
+
DECLARED: "DECLARED";
|
|
791
|
+
NOTIFIED: "NOTIFIED";
|
|
792
|
+
REGISTERED: "REGISTERED";
|
|
793
|
+
}>>>>;
|
|
457
794
|
}, z.core.$strip>>;
|
|
458
795
|
}, z.core.$strip>, z.ZodObject<{
|
|
459
796
|
type: z.ZodEnum<{
|
|
460
797
|
"record.correct": "record.correct";
|
|
461
798
|
"record.read": "record.read";
|
|
462
799
|
"record.request-correction": "record.request-correction";
|
|
800
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
463
801
|
"record.search": "record.search";
|
|
464
802
|
"record.unassign-others": "record.unassign-others";
|
|
465
803
|
}>;
|
|
466
804
|
options: z.ZodOptional<z.ZodObject<{
|
|
467
|
-
event: z.
|
|
805
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
468
806
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
469
807
|
administrativeArea: "administrativeArea";
|
|
470
808
|
all: "all";
|
|
471
809
|
location: "location";
|
|
472
810
|
}>>;
|
|
811
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
812
|
+
user: "user";
|
|
813
|
+
}>>;
|
|
814
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
815
|
+
administrativeArea: "administrativeArea";
|
|
816
|
+
all: "all";
|
|
817
|
+
location: "location";
|
|
818
|
+
}>>;
|
|
473
819
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
474
820
|
administrativeArea: "administrativeArea";
|
|
475
821
|
all: "all";
|
|
@@ -486,6 +832,13 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
486
832
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
487
833
|
user: "user";
|
|
488
834
|
}>>;
|
|
835
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
836
|
+
ARCHIVED: "ARCHIVED";
|
|
837
|
+
CREATED: "CREATED";
|
|
838
|
+
DECLARED: "DECLARED";
|
|
839
|
+
NOTIFIED: "NOTIFIED";
|
|
840
|
+
REGISTERED: "REGISTERED";
|
|
841
|
+
}>>>>;
|
|
489
842
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
490
843
|
administrativeArea: "administrativeArea";
|
|
491
844
|
all: "all";
|
|
@@ -494,16 +847,47 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
494
847
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
495
848
|
user: "user";
|
|
496
849
|
}>>;
|
|
850
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
851
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
852
|
+
readonly INCOMPLETE: 'incomplete';
|
|
853
|
+
readonly REJECTED: 'rejected';
|
|
854
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
855
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
856
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
857
|
+
}>]>, z.ZodString]>>>;
|
|
858
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
859
|
+
readonly INCOMPLETE: 'incomplete';
|
|
860
|
+
readonly REJECTED: 'rejected';
|
|
861
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
862
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
863
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
864
|
+
}>]>, z.ZodString]>>>;
|
|
865
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
866
|
+
readonly INCOMPLETE: 'incomplete';
|
|
867
|
+
readonly REJECTED: 'rejected';
|
|
868
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
869
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
870
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
871
|
+
}>]>, z.ZodString]>>>;
|
|
872
|
+
}, z.core.$strip>>;
|
|
497
873
|
}, z.core.$strip>>;
|
|
498
874
|
}, z.core.$strip>, z.ZodObject<{
|
|
499
875
|
type: z.ZodLiteral<"record.custom-action">;
|
|
500
876
|
options: z.ZodOptional<z.ZodObject<{
|
|
501
|
-
event: z.
|
|
877
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
502
878
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
503
879
|
administrativeArea: "administrativeArea";
|
|
504
880
|
all: "all";
|
|
505
881
|
location: "location";
|
|
506
882
|
}>>;
|
|
883
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
884
|
+
user: "user";
|
|
885
|
+
}>>;
|
|
886
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
887
|
+
administrativeArea: "administrativeArea";
|
|
888
|
+
all: "all";
|
|
889
|
+
location: "location";
|
|
890
|
+
}>>;
|
|
507
891
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
508
892
|
administrativeArea: "administrativeArea";
|
|
509
893
|
all: "all";
|
|
@@ -520,6 +904,13 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
520
904
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
521
905
|
user: "user";
|
|
522
906
|
}>>;
|
|
907
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
908
|
+
ARCHIVED: "ARCHIVED";
|
|
909
|
+
CREATED: "CREATED";
|
|
910
|
+
DECLARED: "DECLARED";
|
|
911
|
+
NOTIFIED: "NOTIFIED";
|
|
912
|
+
REGISTERED: "REGISTERED";
|
|
913
|
+
}>>>>;
|
|
523
914
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
524
915
|
administrativeArea: "administrativeArea";
|
|
525
916
|
all: "all";
|
|
@@ -528,17 +919,48 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
528
919
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
529
920
|
user: "user";
|
|
530
921
|
}>>;
|
|
531
|
-
|
|
922
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
923
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
924
|
+
readonly INCOMPLETE: 'incomplete';
|
|
925
|
+
readonly REJECTED: 'rejected';
|
|
926
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
927
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
928
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
929
|
+
}>]>, z.ZodString]>>>;
|
|
930
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
931
|
+
readonly INCOMPLETE: 'incomplete';
|
|
932
|
+
readonly REJECTED: 'rejected';
|
|
933
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
934
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
935
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
936
|
+
}>]>, z.ZodString]>>>;
|
|
937
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
938
|
+
readonly INCOMPLETE: 'incomplete';
|
|
939
|
+
readonly REJECTED: 'rejected';
|
|
940
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
941
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
942
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
943
|
+
}>]>, z.ZodString]>>>;
|
|
944
|
+
}, z.core.$strip>>;
|
|
945
|
+
customActionTypes: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
532
946
|
}, z.core.$strip>>;
|
|
533
947
|
}, z.core.$strip>, z.ZodObject<{
|
|
534
948
|
type: z.ZodLiteral<"record.print-certified-copies">;
|
|
535
949
|
options: z.ZodOptional<z.ZodObject<{
|
|
536
|
-
event: z.
|
|
950
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
537
951
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
538
952
|
administrativeArea: "administrativeArea";
|
|
539
953
|
all: "all";
|
|
540
954
|
location: "location";
|
|
541
955
|
}>>;
|
|
956
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
957
|
+
user: "user";
|
|
958
|
+
}>>;
|
|
959
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
960
|
+
administrativeArea: "administrativeArea";
|
|
961
|
+
all: "all";
|
|
962
|
+
location: "location";
|
|
963
|
+
}>>;
|
|
542
964
|
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
543
965
|
administrativeArea: "administrativeArea";
|
|
544
966
|
all: "all";
|
|
@@ -555,6 +977,13 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
555
977
|
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
556
978
|
user: "user";
|
|
557
979
|
}>>;
|
|
980
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
981
|
+
ARCHIVED: "ARCHIVED";
|
|
982
|
+
CREATED: "CREATED";
|
|
983
|
+
DECLARED: "DECLARED";
|
|
984
|
+
NOTIFIED: "NOTIFIED";
|
|
985
|
+
REGISTERED: "REGISTERED";
|
|
986
|
+
}>>>>;
|
|
558
987
|
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
559
988
|
administrativeArea: "administrativeArea";
|
|
560
989
|
all: "all";
|
|
@@ -563,7 +992,105 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
563
992
|
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
564
993
|
user: "user";
|
|
565
994
|
}>>;
|
|
566
|
-
|
|
995
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
996
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
997
|
+
readonly INCOMPLETE: 'incomplete';
|
|
998
|
+
readonly REJECTED: 'rejected';
|
|
999
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1000
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1001
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1002
|
+
}>]>, z.ZodString]>>>;
|
|
1003
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1004
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1005
|
+
readonly REJECTED: 'rejected';
|
|
1006
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1007
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1008
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1009
|
+
}>]>, z.ZodString]>>>;
|
|
1010
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1011
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1012
|
+
readonly REJECTED: 'rejected';
|
|
1013
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1014
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1015
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1016
|
+
}>]>, z.ZodString]>>>;
|
|
1017
|
+
}, z.core.$strip>>;
|
|
1018
|
+
templates: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1019
|
+
}, z.core.$strip>>;
|
|
1020
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1021
|
+
type: z.ZodEnum<{
|
|
1022
|
+
"record.action.accept": "record.action.accept";
|
|
1023
|
+
"record.action.reject": "record.action.reject";
|
|
1024
|
+
}>;
|
|
1025
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1026
|
+
event: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1027
|
+
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
1028
|
+
administrativeArea: "administrativeArea";
|
|
1029
|
+
all: "all";
|
|
1030
|
+
location: "location";
|
|
1031
|
+
}>>;
|
|
1032
|
+
createdBy: z.ZodOptional<z.ZodEnum<{
|
|
1033
|
+
user: "user";
|
|
1034
|
+
}>>;
|
|
1035
|
+
createdIn: z.ZodOptional<z.ZodEnum<{
|
|
1036
|
+
administrativeArea: "administrativeArea";
|
|
1037
|
+
all: "all";
|
|
1038
|
+
location: "location";
|
|
1039
|
+
}>>;
|
|
1040
|
+
notifiedIn: z.ZodOptional<z.ZodEnum<{
|
|
1041
|
+
administrativeArea: "administrativeArea";
|
|
1042
|
+
all: "all";
|
|
1043
|
+
location: "location";
|
|
1044
|
+
}>>;
|
|
1045
|
+
notifiedBy: z.ZodOptional<z.ZodEnum<{
|
|
1046
|
+
user: "user";
|
|
1047
|
+
}>>;
|
|
1048
|
+
declaredIn: z.ZodOptional<z.ZodEnum<{
|
|
1049
|
+
administrativeArea: "administrativeArea";
|
|
1050
|
+
all: "all";
|
|
1051
|
+
location: "location";
|
|
1052
|
+
}>>;
|
|
1053
|
+
declaredBy: z.ZodOptional<z.ZodEnum<{
|
|
1054
|
+
user: "user";
|
|
1055
|
+
}>>;
|
|
1056
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1057
|
+
ARCHIVED: "ARCHIVED";
|
|
1058
|
+
CREATED: "CREATED";
|
|
1059
|
+
DECLARED: "DECLARED";
|
|
1060
|
+
NOTIFIED: "NOTIFIED";
|
|
1061
|
+
REGISTERED: "REGISTERED";
|
|
1062
|
+
}>>>>;
|
|
1063
|
+
registeredIn: z.ZodOptional<z.ZodEnum<{
|
|
1064
|
+
administrativeArea: "administrativeArea";
|
|
1065
|
+
all: "all";
|
|
1066
|
+
location: "location";
|
|
1067
|
+
}>>;
|
|
1068
|
+
registeredBy: z.ZodOptional<z.ZodEnum<{
|
|
1069
|
+
user: "user";
|
|
1070
|
+
}>>;
|
|
1071
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
1072
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1073
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1074
|
+
readonly REJECTED: 'rejected';
|
|
1075
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1076
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1077
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1078
|
+
}>]>, z.ZodString]>>>;
|
|
1079
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1080
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1081
|
+
readonly REJECTED: 'rejected';
|
|
1082
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1083
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1084
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1085
|
+
}>]>, z.ZodString]>>>;
|
|
1086
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1087
|
+
readonly INCOMPLETE: 'incomplete';
|
|
1088
|
+
readonly REJECTED: 'rejected';
|
|
1089
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1090
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1091
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1092
|
+
}>]>, z.ZodString]>>>;
|
|
1093
|
+
}, z.core.$strip>>;
|
|
567
1094
|
}, z.core.$strip>>;
|
|
568
1095
|
}, z.core.$strip>, z.ZodObject<{
|
|
569
1096
|
type: z.ZodEnum<{
|
|
@@ -576,7 +1103,7 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
576
1103
|
all: "all";
|
|
577
1104
|
location: "location";
|
|
578
1105
|
}>>;
|
|
579
|
-
role: z.ZodOptional<z.
|
|
1106
|
+
role: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
580
1107
|
}, z.core.$strip>>;
|
|
581
1108
|
}, z.core.$strip>, z.ZodObject<{
|
|
582
1109
|
type: z.ZodEnum<{
|
|
@@ -602,12 +1129,12 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
602
1129
|
}, z.core.$strip>, z.ZodObject<{
|
|
603
1130
|
type: z.ZodLiteral<"workqueue">;
|
|
604
1131
|
options: z.ZodObject<{
|
|
605
|
-
ids: z.
|
|
1132
|
+
ids: z.ZodPreprocess<z.ZodArray<z.ZodString>>;
|
|
606
1133
|
}, z.core.$strip>;
|
|
607
1134
|
}, z.core.$strip>, z.ZodObject<{
|
|
608
1135
|
type: z.ZodLiteral<"dashboard.view">;
|
|
609
1136
|
options: z.ZodObject<{
|
|
610
|
-
ids: z.
|
|
1137
|
+
ids: z.ZodPreprocess<z.ZodArray<z.ZodString>>;
|
|
611
1138
|
}, z.core.$strip>;
|
|
612
1139
|
}, z.core.$strip>], "type">;
|
|
613
1140
|
export type Scope = z.infer<typeof Scope>;
|
|
@@ -616,14 +1143,17 @@ export declare const ScopeType: z.ZodEnum<{
|
|
|
616
1143
|
bypassratelimit: "bypassratelimit";
|
|
617
1144
|
"config.update-all": "config.update-all";
|
|
618
1145
|
"dashboard.view": "dashboard.view";
|
|
1146
|
+
"integration.audit.read": "integration.audit.read";
|
|
619
1147
|
"integration.create": "integration.create";
|
|
1148
|
+
"location.edit": "location.edit";
|
|
620
1149
|
"organisation.read-locations": "organisation.read-locations";
|
|
621
1150
|
"performance.read": "performance.read";
|
|
622
1151
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
623
1152
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
624
1153
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
1154
|
+
"record.action.accept": "record.action.accept";
|
|
1155
|
+
"record.action.reject": "record.action.reject";
|
|
625
1156
|
"record.archive": "record.archive";
|
|
626
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
627
1157
|
"record.correct": "record.correct";
|
|
628
1158
|
"record.create": "record.create";
|
|
629
1159
|
"record.custom-action": "record.custom-action";
|
|
@@ -636,7 +1166,6 @@ export declare const ScopeType: z.ZodEnum<{
|
|
|
636
1166
|
"record.register": "record.register";
|
|
637
1167
|
"record.reindex": "record.reindex";
|
|
638
1168
|
"record.reject": "record.reject";
|
|
639
|
-
"record.reject-registration": "record.reject-registration";
|
|
640
1169
|
"record.request-correction": "record.request-correction";
|
|
641
1170
|
"record.review-duplicates": "record.review-duplicates";
|
|
642
1171
|
"record.search": "record.search";
|
|
@@ -676,40 +1205,61 @@ export declare const decodeScope: (encodedScope: EncodedScope) => {
|
|
|
676
1205
|
options?: {
|
|
677
1206
|
event?: string[] | undefined;
|
|
678
1207
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1208
|
+
createdBy?: "user" | undefined;
|
|
1209
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
679
1210
|
} | undefined;
|
|
680
1211
|
} | {
|
|
681
|
-
type: "record.archive" | "record.edit" | "record.register" | "record.reject" | "record.
|
|
1212
|
+
type: "record.archive" | "record.edit" | "record.register" | "record.reject" | "record.unarchive";
|
|
682
1213
|
options?: {
|
|
683
1214
|
event?: string[] | undefined;
|
|
684
1215
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1216
|
+
createdBy?: "user" | undefined;
|
|
1217
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
685
1218
|
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
686
1219
|
notifiedBy?: "user" | undefined;
|
|
687
1220
|
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
688
1221
|
declaredBy?: "user" | undefined;
|
|
1222
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[] | undefined;
|
|
689
1223
|
} | undefined;
|
|
690
1224
|
} | {
|
|
691
|
-
type: "record.correct" | "record.read" | "record.request-correction" | "record.search" | "record.unassign-others";
|
|
1225
|
+
type: "record.correct" | "record.read" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unassign-others";
|
|
692
1226
|
options?: {
|
|
693
1227
|
event?: string[] | undefined;
|
|
694
1228
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1229
|
+
createdBy?: "user" | undefined;
|
|
1230
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
695
1231
|
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
696
1232
|
notifiedBy?: "user" | undefined;
|
|
697
1233
|
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
698
1234
|
declaredBy?: "user" | undefined;
|
|
1235
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[] | undefined;
|
|
699
1236
|
registeredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
700
1237
|
registeredBy?: "user" | undefined;
|
|
1238
|
+
flags?: {
|
|
1239
|
+
anyOf?: string[] | undefined;
|
|
1240
|
+
noneOf?: string[] | undefined;
|
|
1241
|
+
allOf?: string[] | undefined;
|
|
1242
|
+
} | undefined;
|
|
701
1243
|
} | undefined;
|
|
702
1244
|
} | {
|
|
703
1245
|
type: "record.custom-action";
|
|
704
1246
|
options?: {
|
|
705
1247
|
event?: string[] | undefined;
|
|
706
1248
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1249
|
+
createdBy?: "user" | undefined;
|
|
1250
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
707
1251
|
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
708
1252
|
notifiedBy?: "user" | undefined;
|
|
709
1253
|
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
710
1254
|
declaredBy?: "user" | undefined;
|
|
1255
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[] | undefined;
|
|
711
1256
|
registeredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
712
1257
|
registeredBy?: "user" | undefined;
|
|
1258
|
+
flags?: {
|
|
1259
|
+
anyOf?: string[] | undefined;
|
|
1260
|
+
noneOf?: string[] | undefined;
|
|
1261
|
+
allOf?: string[] | undefined;
|
|
1262
|
+
} | undefined;
|
|
713
1263
|
customActionTypes?: string[] | undefined;
|
|
714
1264
|
} | undefined;
|
|
715
1265
|
} | {
|
|
@@ -717,14 +1267,42 @@ export declare const decodeScope: (encodedScope: EncodedScope) => {
|
|
|
717
1267
|
options?: {
|
|
718
1268
|
event?: string[] | undefined;
|
|
719
1269
|
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1270
|
+
createdBy?: "user" | undefined;
|
|
1271
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
720
1272
|
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
721
1273
|
notifiedBy?: "user" | undefined;
|
|
722
1274
|
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
723
1275
|
declaredBy?: "user" | undefined;
|
|
1276
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[] | undefined;
|
|
724
1277
|
registeredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
725
1278
|
registeredBy?: "user" | undefined;
|
|
1279
|
+
flags?: {
|
|
1280
|
+
anyOf?: string[] | undefined;
|
|
1281
|
+
noneOf?: string[] | undefined;
|
|
1282
|
+
allOf?: string[] | undefined;
|
|
1283
|
+
} | undefined;
|
|
726
1284
|
templates?: string[] | undefined;
|
|
727
1285
|
} | undefined;
|
|
1286
|
+
} | {
|
|
1287
|
+
type: "record.action.accept" | "record.action.reject";
|
|
1288
|
+
options?: {
|
|
1289
|
+
event?: string[] | undefined;
|
|
1290
|
+
placeOfEvent?: "administrativeArea" | "all" | "location" | undefined;
|
|
1291
|
+
createdBy?: "user" | undefined;
|
|
1292
|
+
createdIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
1293
|
+
notifiedIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
1294
|
+
notifiedBy?: "user" | undefined;
|
|
1295
|
+
declaredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
1296
|
+
declaredBy?: "user" | undefined;
|
|
1297
|
+
status?: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[] | undefined;
|
|
1298
|
+
registeredIn?: "administrativeArea" | "all" | "location" | undefined;
|
|
1299
|
+
registeredBy?: "user" | undefined;
|
|
1300
|
+
flags?: {
|
|
1301
|
+
anyOf?: string[] | undefined;
|
|
1302
|
+
noneOf?: string[] | undefined;
|
|
1303
|
+
allOf?: string[] | undefined;
|
|
1304
|
+
} | undefined;
|
|
1305
|
+
} | undefined;
|
|
728
1306
|
} | {
|
|
729
1307
|
type: "user.create" | "user.edit";
|
|
730
1308
|
options?: {
|
|
@@ -737,7 +1315,7 @@ export declare const decodeScope: (encodedScope: EncodedScope) => {
|
|
|
737
1315
|
accessLevel?: "administrativeArea" | "all" | "location" | undefined;
|
|
738
1316
|
} | undefined;
|
|
739
1317
|
} | {
|
|
740
|
-
type: "attachment.upload" | "bypassratelimit" | "config.update-all" | "integration.create" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.
|
|
1318
|
+
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
1319
|
} | {
|
|
742
1320
|
type: "organisation.read-locations";
|
|
743
1321
|
options?: {
|