@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
|
@@ -163,9 +163,9 @@ export declare const ArchiveActionInput: z.ZodObject<{
|
|
|
163
163
|
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
164
164
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
165
165
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
|
166
|
-
content: z.ZodObject<{
|
|
166
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
167
167
|
reason: z.ZodString;
|
|
168
|
-
}, z.core.$strip
|
|
168
|
+
}, z.core.$strip>>;
|
|
169
169
|
}, z.core.$strip>;
|
|
170
170
|
export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
|
|
171
171
|
export declare const UnarchiveActionInput: z.ZodObject<{
|
|
@@ -182,6 +182,34 @@ export declare const UnarchiveActionInput: z.ZodObject<{
|
|
|
182
182
|
type: z.ZodDefault<z.ZodLiteral<"UNARCHIVE">>;
|
|
183
183
|
}, z.core.$strip>;
|
|
184
184
|
export type UnarchiveActionInput = z.infer<typeof UnarchiveActionInput>;
|
|
185
|
+
export declare const RevokeRegistrationActionInput: z.ZodObject<{
|
|
186
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
187
|
+
transactionId: z.ZodString;
|
|
188
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
189
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
190
|
+
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
191
|
+
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
192
|
+
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
195
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
196
|
+
type: z.ZodDefault<z.ZodLiteral<"REVOKE_REGISTRATION">>;
|
|
197
|
+
}, z.core.$strip>;
|
|
198
|
+
export type RevokeRegistrationActionInput = z.infer<typeof RevokeRegistrationActionInput>;
|
|
199
|
+
export declare const ReinstateRegistrationActionInput: z.ZodObject<{
|
|
200
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
201
|
+
transactionId: z.ZodString;
|
|
202
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
203
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
204
|
+
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
205
|
+
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
206
|
+
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
209
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
210
|
+
type: z.ZodDefault<z.ZodLiteral<"REINSTATE_REGISTRATION">>;
|
|
211
|
+
}, z.core.$strip>;
|
|
212
|
+
export type ReinstateRegistrationActionInput = z.infer<typeof ReinstateRegistrationActionInput>;
|
|
185
213
|
export declare const AssignActionInput: z.ZodObject<{
|
|
186
214
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
187
215
|
transactionId: z.ZodString;
|
|
@@ -424,9 +452,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
424
452
|
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
425
453
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
426
454
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
|
427
|
-
content: z.ZodObject<{
|
|
455
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
428
456
|
reason: z.ZodString;
|
|
429
|
-
}, z.core.$strip
|
|
457
|
+
}, z.core.$strip>>;
|
|
430
458
|
}, z.core.$strip>, z.ZodObject<{
|
|
431
459
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
432
460
|
transactionId: z.ZodString;
|
|
@@ -439,6 +467,30 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
439
467
|
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
440
468
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
441
469
|
type: z.ZodDefault<z.ZodLiteral<"UNARCHIVE">>;
|
|
470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
471
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
472
|
+
transactionId: z.ZodString;
|
|
473
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
474
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
475
|
+
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
476
|
+
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
477
|
+
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
478
|
+
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
479
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
480
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
481
|
+
type: z.ZodDefault<z.ZodLiteral<"REVOKE_REGISTRATION">>;
|
|
482
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
483
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
484
|
+
transactionId: z.ZodString;
|
|
485
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
486
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
487
|
+
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
488
|
+
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
489
|
+
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
490
|
+
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
491
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
492
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
493
|
+
type: z.ZodDefault<z.ZodLiteral<"REINSTATE_REGISTRATION">>;
|
|
442
494
|
}, z.core.$strip>, z.ZodObject<{
|
|
443
495
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
444
496
|
transactionId: z.ZodString;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deliberately dependency-free (aside from language builtins) so that files
|
|
3
|
+
* like Flag.ts can depend on ActionStatus without being pulled into the
|
|
4
|
+
* commons/scopes.ts <-> commons/authentication.ts import cycle that
|
|
5
|
+
* ActionDocument.ts participates in (it imports TokenUserType from
|
|
6
|
+
* '../authentication').
|
|
7
|
+
*/
|
|
8
|
+
export declare const ActionStatus: {
|
|
9
|
+
readonly Requested: 'Requested';
|
|
10
|
+
readonly Accepted: 'Accepted';
|
|
11
|
+
readonly Rejected: 'Rejected';
|
|
12
|
+
};
|
|
13
|
+
export type ActionStatus = keyof typeof ActionStatus;
|
|
14
|
+
//# sourceMappingURL=ActionStatus.d.ts.map
|
|
@@ -19,13 +19,15 @@ export declare const ActionType: {
|
|
|
19
19
|
readonly REQUEST_CORRECTION: 'REQUEST_CORRECTION';
|
|
20
20
|
readonly REJECT_CORRECTION: 'REJECT_CORRECTION';
|
|
21
21
|
readonly APPROVE_CORRECTION: 'APPROVE_CORRECTION';
|
|
22
|
+
readonly REVOKE_REGISTRATION: 'REVOKE_REGISTRATION';
|
|
23
|
+
readonly REINSTATE_REGISTRATION: 'REINSTATE_REGISTRATION';
|
|
22
24
|
readonly READ: 'READ';
|
|
23
25
|
readonly ASSIGN: 'ASSIGN';
|
|
24
26
|
readonly UNASSIGN: 'UNASSIGN';
|
|
25
27
|
readonly CUSTOM: 'CUSTOM';
|
|
26
28
|
};
|
|
27
29
|
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
28
|
-
export declare const ConfirmableActions: readonly ["NOTIFY", "DECLARE", "EDIT", "REGISTER", "REJECT", "ARCHIVE", "UNARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "APPROVE_CORRECTION", "REJECT_CORRECTION", "CUSTOM"];
|
|
30
|
+
export declare const ConfirmableActions: readonly ["NOTIFY", "DECLARE", "EDIT", "REGISTER", "REJECT", "ARCHIVE", "UNARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "APPROVE_CORRECTION", "REJECT_CORRECTION", "REVOKE_REGISTRATION", "REINSTATE_REGISTRATION", "CUSTOM"];
|
|
29
31
|
/** Testing building types from enums as an alternative */
|
|
30
32
|
export declare const ActionTypes: z.ZodEnum<{
|
|
31
33
|
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
@@ -43,9 +45,11 @@ export declare const ActionTypes: z.ZodEnum<{
|
|
|
43
45
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
44
46
|
READ: "READ";
|
|
45
47
|
REGISTER: "REGISTER";
|
|
48
|
+
REINSTATE_REGISTRATION: "REINSTATE_REGISTRATION";
|
|
46
49
|
REJECT: "REJECT";
|
|
47
50
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
48
51
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
52
|
+
REVOKE_REGISTRATION: "REVOKE_REGISTRATION";
|
|
49
53
|
UNARCHIVE: "UNARCHIVE";
|
|
50
54
|
UNASSIGN: "UNASSIGN";
|
|
51
55
|
}>;
|
|
@@ -88,9 +92,11 @@ export declare const annotationActions: z.ZodEnum<{
|
|
|
88
92
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
89
93
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
90
94
|
READ: "READ";
|
|
95
|
+
REINSTATE_REGISTRATION: "REINSTATE_REGISTRATION";
|
|
91
96
|
REJECT: "REJECT";
|
|
92
97
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
93
98
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
99
|
+
REVOKE_REGISTRATION: "REVOKE_REGISTRATION";
|
|
94
100
|
UNARCHIVE: "UNARCHIVE";
|
|
95
101
|
UNASSIGN: "UNASSIGN";
|
|
96
102
|
}>;
|
|
@@ -109,9 +115,11 @@ export declare const writeActions: z.ZodEnum<{
|
|
|
109
115
|
NOTIFY: "NOTIFY";
|
|
110
116
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
111
117
|
REGISTER: "REGISTER";
|
|
118
|
+
REINSTATE_REGISTRATION: "REINSTATE_REGISTRATION";
|
|
112
119
|
REJECT: "REJECT";
|
|
113
120
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
114
121
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
122
|
+
REVOKE_REGISTRATION: "REVOKE_REGISTRATION";
|
|
115
123
|
UNARCHIVE: "UNARCHIVE";
|
|
116
124
|
}>;
|
|
117
125
|
/** Actions which are availabe for Workqueue CTA menu and workqueue */
|
|
@@ -124,8 +132,10 @@ export declare const WorkqueueActionType: z.ZodEnum<{
|
|
|
124
132
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
125
133
|
READ: "READ";
|
|
126
134
|
REGISTER: "REGISTER";
|
|
135
|
+
REINSTATE_REGISTRATION: "REINSTATE_REGISTRATION";
|
|
127
136
|
REJECT: "REJECT";
|
|
128
137
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
138
|
+
REVOKE_REGISTRATION: "REVOKE_REGISTRATION";
|
|
129
139
|
UNARCHIVE: "UNARCHIVE";
|
|
130
140
|
}>;
|
|
131
141
|
export type WorkqueueActionType = z.infer<typeof WorkqueueActionType>;
|
|
@@ -102,14 +102,17 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
102
102
|
bypassratelimit: "bypassratelimit";
|
|
103
103
|
"config.update-all": "config.update-all";
|
|
104
104
|
"dashboard.view": "dashboard.view";
|
|
105
|
+
"integration.audit.read": "integration.audit.read";
|
|
105
106
|
"integration.create": "integration.create";
|
|
107
|
+
"location.edit": "location.edit";
|
|
106
108
|
"organisation.read-locations": "organisation.read-locations";
|
|
107
109
|
"performance.read": "performance.read";
|
|
108
110
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
109
111
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
110
112
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
113
|
+
"record.action.accept": "record.action.accept";
|
|
114
|
+
"record.action.reject": "record.action.reject";
|
|
111
115
|
"record.archive": "record.archive";
|
|
112
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
113
116
|
"record.correct": "record.correct";
|
|
114
117
|
"record.create": "record.create";
|
|
115
118
|
"record.custom-action": "record.custom-action";
|
|
@@ -121,10 +124,11 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
121
124
|
"record.read": "record.read";
|
|
122
125
|
"record.register": "record.register";
|
|
123
126
|
"record.reindex": "record.reindex";
|
|
127
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
124
128
|
"record.reject": "record.reject";
|
|
125
|
-
"record.reject-registration": "record.reject-registration";
|
|
126
129
|
"record.request-correction": "record.request-correction";
|
|
127
130
|
"record.review-duplicates": "record.review-duplicates";
|
|
131
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
128
132
|
"record.search": "record.search";
|
|
129
133
|
"record.unarchive": "record.unarchive";
|
|
130
134
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -138,9 +142,12 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
138
142
|
}>;
|
|
139
143
|
$option: z.ZodEnum<{
|
|
140
144
|
accessLevel: "accessLevel";
|
|
145
|
+
createdBy: "createdBy";
|
|
146
|
+
createdIn: "createdIn";
|
|
141
147
|
declaredBy: "declaredBy";
|
|
142
148
|
declaredIn: "declaredIn";
|
|
143
149
|
event: "event";
|
|
150
|
+
flags: "flags";
|
|
144
151
|
ids: "ids";
|
|
145
152
|
notifiedBy: "notifiedBy";
|
|
146
153
|
notifiedIn: "notifiedIn";
|
|
@@ -148,6 +155,7 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
148
155
|
registeredBy: "registeredBy";
|
|
149
156
|
registeredIn: "registeredIn";
|
|
150
157
|
role: "role";
|
|
158
|
+
status: "status";
|
|
151
159
|
}>;
|
|
152
160
|
}, z.core.$strip>]>;
|
|
153
161
|
}, z.core.$strip>>;
|
|
@@ -282,14 +290,17 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
282
290
|
bypassratelimit: "bypassratelimit";
|
|
283
291
|
"config.update-all": "config.update-all";
|
|
284
292
|
"dashboard.view": "dashboard.view";
|
|
293
|
+
"integration.audit.read": "integration.audit.read";
|
|
285
294
|
"integration.create": "integration.create";
|
|
295
|
+
"location.edit": "location.edit";
|
|
286
296
|
"organisation.read-locations": "organisation.read-locations";
|
|
287
297
|
"performance.read": "performance.read";
|
|
288
298
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
289
299
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
290
300
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
301
|
+
"record.action.accept": "record.action.accept";
|
|
302
|
+
"record.action.reject": "record.action.reject";
|
|
291
303
|
"record.archive": "record.archive";
|
|
292
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
293
304
|
"record.correct": "record.correct";
|
|
294
305
|
"record.create": "record.create";
|
|
295
306
|
"record.custom-action": "record.custom-action";
|
|
@@ -301,10 +312,11 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
301
312
|
"record.read": "record.read";
|
|
302
313
|
"record.register": "record.register";
|
|
303
314
|
"record.reindex": "record.reindex";
|
|
315
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
304
316
|
"record.reject": "record.reject";
|
|
305
|
-
"record.reject-registration": "record.reject-registration";
|
|
306
317
|
"record.request-correction": "record.request-correction";
|
|
307
318
|
"record.review-duplicates": "record.review-duplicates";
|
|
319
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
308
320
|
"record.search": "record.search";
|
|
309
321
|
"record.unarchive": "record.unarchive";
|
|
310
322
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -318,9 +330,12 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
318
330
|
}>;
|
|
319
331
|
$option: z.ZodEnum<{
|
|
320
332
|
accessLevel: "accessLevel";
|
|
333
|
+
createdBy: "createdBy";
|
|
334
|
+
createdIn: "createdIn";
|
|
321
335
|
declaredBy: "declaredBy";
|
|
322
336
|
declaredIn: "declaredIn";
|
|
323
337
|
event: "event";
|
|
338
|
+
flags: "flags";
|
|
324
339
|
ids: "ids";
|
|
325
340
|
notifiedBy: "notifiedBy";
|
|
326
341
|
notifiedIn: "notifiedIn";
|
|
@@ -328,6 +343,7 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
328
343
|
registeredBy: "registeredBy";
|
|
329
344
|
registeredIn: "registeredIn";
|
|
330
345
|
role: "role";
|
|
346
|
+
status: "status";
|
|
331
347
|
}>;
|
|
332
348
|
}, z.core.$strip>]>;
|
|
333
349
|
}, z.core.$strip>>;
|
|
@@ -438,14 +454,17 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
438
454
|
bypassratelimit: "bypassratelimit";
|
|
439
455
|
"config.update-all": "config.update-all";
|
|
440
456
|
"dashboard.view": "dashboard.view";
|
|
457
|
+
"integration.audit.read": "integration.audit.read";
|
|
441
458
|
"integration.create": "integration.create";
|
|
459
|
+
"location.edit": "location.edit";
|
|
442
460
|
"organisation.read-locations": "organisation.read-locations";
|
|
443
461
|
"performance.read": "performance.read";
|
|
444
462
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
445
463
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
446
464
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
465
|
+
"record.action.accept": "record.action.accept";
|
|
466
|
+
"record.action.reject": "record.action.reject";
|
|
447
467
|
"record.archive": "record.archive";
|
|
448
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
449
468
|
"record.correct": "record.correct";
|
|
450
469
|
"record.create": "record.create";
|
|
451
470
|
"record.custom-action": "record.custom-action";
|
|
@@ -457,10 +476,11 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
457
476
|
"record.read": "record.read";
|
|
458
477
|
"record.register": "record.register";
|
|
459
478
|
"record.reindex": "record.reindex";
|
|
479
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
460
480
|
"record.reject": "record.reject";
|
|
461
|
-
"record.reject-registration": "record.reject-registration";
|
|
462
481
|
"record.request-correction": "record.request-correction";
|
|
463
482
|
"record.review-duplicates": "record.review-duplicates";
|
|
483
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
464
484
|
"record.search": "record.search";
|
|
465
485
|
"record.unarchive": "record.unarchive";
|
|
466
486
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -474,9 +494,12 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
474
494
|
}>;
|
|
475
495
|
$option: z.ZodEnum<{
|
|
476
496
|
accessLevel: "accessLevel";
|
|
497
|
+
createdBy: "createdBy";
|
|
498
|
+
createdIn: "createdIn";
|
|
477
499
|
declaredBy: "declaredBy";
|
|
478
500
|
declaredIn: "declaredIn";
|
|
479
501
|
event: "event";
|
|
502
|
+
flags: "flags";
|
|
480
503
|
ids: "ids";
|
|
481
504
|
notifiedBy: "notifiedBy";
|
|
482
505
|
notifiedIn: "notifiedIn";
|
|
@@ -484,6 +507,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
484
507
|
registeredBy: "registeredBy";
|
|
485
508
|
registeredIn: "registeredIn";
|
|
486
509
|
role: "role";
|
|
510
|
+
status: "status";
|
|
487
511
|
}>;
|
|
488
512
|
}, z.core.$strip>]>;
|
|
489
513
|
}, z.core.$strip>>;
|
|
@@ -586,14 +610,17 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
586
610
|
bypassratelimit: "bypassratelimit";
|
|
587
611
|
"config.update-all": "config.update-all";
|
|
588
612
|
"dashboard.view": "dashboard.view";
|
|
613
|
+
"integration.audit.read": "integration.audit.read";
|
|
589
614
|
"integration.create": "integration.create";
|
|
615
|
+
"location.edit": "location.edit";
|
|
590
616
|
"organisation.read-locations": "organisation.read-locations";
|
|
591
617
|
"performance.read": "performance.read";
|
|
592
618
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
593
619
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
594
620
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
621
|
+
"record.action.accept": "record.action.accept";
|
|
622
|
+
"record.action.reject": "record.action.reject";
|
|
595
623
|
"record.archive": "record.archive";
|
|
596
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
597
624
|
"record.correct": "record.correct";
|
|
598
625
|
"record.create": "record.create";
|
|
599
626
|
"record.custom-action": "record.custom-action";
|
|
@@ -605,10 +632,11 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
605
632
|
"record.read": "record.read";
|
|
606
633
|
"record.register": "record.register";
|
|
607
634
|
"record.reindex": "record.reindex";
|
|
635
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
608
636
|
"record.reject": "record.reject";
|
|
609
|
-
"record.reject-registration": "record.reject-registration";
|
|
610
637
|
"record.request-correction": "record.request-correction";
|
|
611
638
|
"record.review-duplicates": "record.review-duplicates";
|
|
639
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
612
640
|
"record.search": "record.search";
|
|
613
641
|
"record.unarchive": "record.unarchive";
|
|
614
642
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -622,9 +650,12 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
622
650
|
}>;
|
|
623
651
|
$option: z.ZodEnum<{
|
|
624
652
|
accessLevel: "accessLevel";
|
|
653
|
+
createdBy: "createdBy";
|
|
654
|
+
createdIn: "createdIn";
|
|
625
655
|
declaredBy: "declaredBy";
|
|
626
656
|
declaredIn: "declaredIn";
|
|
627
657
|
event: "event";
|
|
658
|
+
flags: "flags";
|
|
628
659
|
ids: "ids";
|
|
629
660
|
notifiedBy: "notifiedBy";
|
|
630
661
|
notifiedIn: "notifiedIn";
|
|
@@ -632,6 +663,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
632
663
|
registeredBy: "registeredBy";
|
|
633
664
|
registeredIn: "registeredIn";
|
|
634
665
|
role: "role";
|
|
666
|
+
status: "status";
|
|
635
667
|
}>;
|
|
636
668
|
}, z.core.$strip>]>;
|
|
637
669
|
}, z.core.$strip>>;
|
|
@@ -745,14 +777,17 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
745
777
|
bypassratelimit: "bypassratelimit";
|
|
746
778
|
"config.update-all": "config.update-all";
|
|
747
779
|
"dashboard.view": "dashboard.view";
|
|
780
|
+
"integration.audit.read": "integration.audit.read";
|
|
748
781
|
"integration.create": "integration.create";
|
|
782
|
+
"location.edit": "location.edit";
|
|
749
783
|
"organisation.read-locations": "organisation.read-locations";
|
|
750
784
|
"performance.read": "performance.read";
|
|
751
785
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
752
786
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
753
787
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
788
|
+
"record.action.accept": "record.action.accept";
|
|
789
|
+
"record.action.reject": "record.action.reject";
|
|
754
790
|
"record.archive": "record.archive";
|
|
755
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
756
791
|
"record.correct": "record.correct";
|
|
757
792
|
"record.create": "record.create";
|
|
758
793
|
"record.custom-action": "record.custom-action";
|
|
@@ -764,10 +799,11 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
764
799
|
"record.read": "record.read";
|
|
765
800
|
"record.register": "record.register";
|
|
766
801
|
"record.reindex": "record.reindex";
|
|
802
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
767
803
|
"record.reject": "record.reject";
|
|
768
|
-
"record.reject-registration": "record.reject-registration";
|
|
769
804
|
"record.request-correction": "record.request-correction";
|
|
770
805
|
"record.review-duplicates": "record.review-duplicates";
|
|
806
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
771
807
|
"record.search": "record.search";
|
|
772
808
|
"record.unarchive": "record.unarchive";
|
|
773
809
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -781,9 +817,12 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
781
817
|
}>;
|
|
782
818
|
$option: z.ZodEnum<{
|
|
783
819
|
accessLevel: "accessLevel";
|
|
820
|
+
createdBy: "createdBy";
|
|
821
|
+
createdIn: "createdIn";
|
|
784
822
|
declaredBy: "declaredBy";
|
|
785
823
|
declaredIn: "declaredIn";
|
|
786
824
|
event: "event";
|
|
825
|
+
flags: "flags";
|
|
787
826
|
ids: "ids";
|
|
788
827
|
notifiedBy: "notifiedBy";
|
|
789
828
|
notifiedIn: "notifiedIn";
|
|
@@ -791,6 +830,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
791
830
|
registeredBy: "registeredBy";
|
|
792
831
|
registeredIn: "registeredIn";
|
|
793
832
|
role: "role";
|
|
833
|
+
status: "status";
|
|
794
834
|
}>;
|
|
795
835
|
}, z.core.$strip>]>;
|
|
796
836
|
}, z.core.$strip>>;
|
|
@@ -893,14 +933,17 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
893
933
|
bypassratelimit: "bypassratelimit";
|
|
894
934
|
"config.update-all": "config.update-all";
|
|
895
935
|
"dashboard.view": "dashboard.view";
|
|
936
|
+
"integration.audit.read": "integration.audit.read";
|
|
896
937
|
"integration.create": "integration.create";
|
|
938
|
+
"location.edit": "location.edit";
|
|
897
939
|
"organisation.read-locations": "organisation.read-locations";
|
|
898
940
|
"performance.read": "performance.read";
|
|
899
941
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
900
942
|
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
901
943
|
"profile.electronic-signature": "profile.electronic-signature";
|
|
944
|
+
"record.action.accept": "record.action.accept";
|
|
945
|
+
"record.action.reject": "record.action.reject";
|
|
902
946
|
"record.archive": "record.archive";
|
|
903
|
-
"record.confirm-registration": "record.confirm-registration";
|
|
904
947
|
"record.correct": "record.correct";
|
|
905
948
|
"record.create": "record.create";
|
|
906
949
|
"record.custom-action": "record.custom-action";
|
|
@@ -912,10 +955,11 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
912
955
|
"record.read": "record.read";
|
|
913
956
|
"record.register": "record.register";
|
|
914
957
|
"record.reindex": "record.reindex";
|
|
958
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
915
959
|
"record.reject": "record.reject";
|
|
916
|
-
"record.reject-registration": "record.reject-registration";
|
|
917
960
|
"record.request-correction": "record.request-correction";
|
|
918
961
|
"record.review-duplicates": "record.review-duplicates";
|
|
962
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
919
963
|
"record.search": "record.search";
|
|
920
964
|
"record.unarchive": "record.unarchive";
|
|
921
965
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -929,9 +973,12 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
929
973
|
}>;
|
|
930
974
|
$option: z.ZodEnum<{
|
|
931
975
|
accessLevel: "accessLevel";
|
|
976
|
+
createdBy: "createdBy";
|
|
977
|
+
createdIn: "createdIn";
|
|
932
978
|
declaredBy: "declaredBy";
|
|
933
979
|
declaredIn: "declaredIn";
|
|
934
980
|
event: "event";
|
|
981
|
+
flags: "flags";
|
|
935
982
|
ids: "ids";
|
|
936
983
|
notifiedBy: "notifiedBy";
|
|
937
984
|
notifiedIn: "notifiedIn";
|
|
@@ -939,6 +986,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
939
986
|
registeredBy: "registeredBy";
|
|
940
987
|
registeredIn: "registeredIn";
|
|
941
988
|
role: "role";
|
|
989
|
+
status: "status";
|
|
942
990
|
}>;
|
|
943
991
|
}, z.core.$strip>]>;
|
|
944
992
|
}, z.core.$strip>>;
|