@opencrvs/toolkit 2.1.0-rc.d7bd264 → 2.1.0-rc.d987aec
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 +3 -12
- package/build.sh +9 -1
- package/create-countryconfig/index.js +412 -59
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +4 -1
- package/dist/application-config/index.js +266 -212
- package/dist/authentication/index.d.ts +67 -0
- package/dist/authentication/index.d.ts.map +1 -0
- package/dist/authentication/index.js +750 -0
- package/dist/cli.js +1786 -120
- package/dist/commons/api/router.d.ts +691 -76
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/conditionals/validate.d.ts +15 -5
- package/dist/commons/events/ActionConfig.d.ts +0 -21
- package/dist/commons/events/ActionDocument.d.ts +4 -4
- package/dist/commons/events/ActionInput.d.ts +4 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -0
- package/dist/commons/events/AuditLog.d.ts +147 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -18
- package/dist/commons/events/EventConfig.d.ts +3 -0
- package/dist/commons/events/EventDocument.d.ts +470 -2
- package/dist/commons/events/EventIndex.d.ts +2 -6
- package/dist/commons/events/EventMetadata.d.ts +1 -12
- package/dist/commons/events/EventStatus.d.ts +19 -0
- package/dist/commons/events/FieldConfig.d.ts +84 -53
- package/dist/commons/events/FieldTypeMapping.d.ts +15 -15
- package/dist/commons/events/FieldValue.d.ts +2 -2
- package/dist/commons/events/Flag.d.ts +0 -6
- 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 +5 -17
- package/dist/commons/events/event.d.ts +12 -0
- 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/test.utils.d.ts +25 -4
- package/dist/commons/events/utils.d.ts +13 -2
- 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 +81 -59
- package/dist/csv.d.ts +25 -0
- package/dist/csv.d.ts.map +1 -0
- package/dist/csv.js +120 -0
- package/dist/environment/index.d.ts +1 -0
- package/dist/environment/index.d.ts.map +1 -1
- package/dist/environment/index.js +10 -0
- 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/paths.d.ts +7 -0
- package/dist/environment/paths.d.ts.map +1 -0
- package/dist/environment/paths.js +72 -0
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/questions.js +20 -14
- package/dist/environment/setup-environment.js +28 -7
- package/dist/environment/templates.d.ts +0 -1
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/environment/templates.js +5 -9
- package/dist/environment/update-workflows.d.ts.map +1 -1
- package/dist/environment/update-workflows.js +17 -5
- package/dist/environment/upgrade.d.ts +2 -0
- package/dist/environment/upgrade.d.ts.map +1 -0
- package/dist/environment/upgrade.js +82 -0
- package/dist/environment/users.js +11 -13
- package/dist/events/index.js +2905 -2463
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +2 -2
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +2 -2
- 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.1/add-translations.d.ts +9 -0
- package/dist/migrations/v2.1/add-translations.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-translations.js +213 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts +3 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts.map +1 -0
- package/dist/migrations/v2.1/enable-telemetry.js +438 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -1
- package/dist/migrations/v2.1/index.js +1058 -0
- package/dist/notification/index.js +1317 -1475
- package/dist/scopes/index.d.ts +104 -59
- package/dist/scopes/index.js +81 -59
- package/dist/telemetry/index.d.ts +45 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +39 -0
- package/dist/templates/charts-values/dependencies/values.yaml +2 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +4 -3
- package/dist/templates/charts-values/opentelemetry/values.yaml +95 -0
- package/dist/templates/charts-values/traefik/values.yaml +23 -9
- package/dist/templates/inventory/inventory.template.yml +1 -3
- package/dist/translations/check.d.ts +21 -0
- package/dist/translations/check.d.ts.map +1 -0
- package/dist/translations/check.js +132 -0
- package/dist/verify/endpoints.d.ts +2 -0
- package/dist/verify/endpoints.d.ts.map +1 -0
- package/dist/verify/endpoints.js +345 -0
- package/opencrvs-toolkit-2.1.0-rc.d987aec.tgz +0 -0
- package/package.json +12 -6
- package/tsconfig.build.json +11 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +3 -0
- 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.d7bd264.tgz +0 -0
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -85,17 +85,17 @@ export declare const now: typeof todayDateTimeValueSerializer;
|
|
|
85
85
|
export declare const user: typeof userSerializer & {
|
|
86
86
|
scope: (scope: import("../scopes").ScopeType) => {
|
|
87
87
|
attribute: (option: import("../scopes").ScopeOptionKey) => {
|
|
88
|
-
$scope: "attachment.upload" | "bypassratelimit" | "config.update-all" | "dashboard.view" | "integration.create" | "organisation.read-locations" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.archive" | "record.confirm-registration" | "record.correct" | "record.create" | "record.custom-action" | "record.declare" | "record.edit" | "record.import" | "record.notify" | "record.print-certified-copies" | "record.read" | "record.register" | "record.reindex" | "record.reject" | "record.reject-registration" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unarchive" | "record.unassign-others" | "user.create" | "user.data-seeding" | "user.edit" | "user.read" | "user.read-only-my-audit" | "user.search" | "workqueue";
|
|
89
|
-
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "flags" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role";
|
|
88
|
+
$scope: "attachment.upload" | "bypassratelimit" | "config.update-all" | "dashboard.view" | "integration.audit.read" | "integration.create" | "location.edit" | "organisation.read-locations" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.archive" | "record.confirm-registration" | "record.correct" | "record.create" | "record.custom-action" | "record.declare" | "record.edit" | "record.import" | "record.notify" | "record.print-certified-copies" | "record.read" | "record.register" | "record.reindex" | "record.reject" | "record.reject-registration" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unarchive" | "record.unassign-others" | "user.create" | "user.data-seeding" | "user.edit" | "user.read" | "user.read-only-my-audit" | "user.search" | "workqueue";
|
|
89
|
+
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "flags" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role" | "status";
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
jurisdiction: (jurisdiction: import("../scopes").JurisdictionFilter | {
|
|
93
|
-
$scope: "attachment.upload" | "bypassratelimit" | "config.update-all" | "dashboard.view" | "integration.create" | "organisation.read-locations" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.archive" | "record.confirm-registration" | "record.correct" | "record.create" | "record.custom-action" | "record.declare" | "record.edit" | "record.import" | "record.notify" | "record.print-certified-copies" | "record.read" | "record.register" | "record.reindex" | "record.reject" | "record.reject-registration" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unarchive" | "record.unassign-others" | "user.create" | "user.data-seeding" | "user.edit" | "user.read" | "user.read-only-my-audit" | "user.search" | "workqueue";
|
|
94
|
-
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "flags" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role";
|
|
93
|
+
$scope: "attachment.upload" | "bypassratelimit" | "config.update-all" | "dashboard.view" | "integration.audit.read" | "integration.create" | "location.edit" | "organisation.read-locations" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.archive" | "record.confirm-registration" | "record.correct" | "record.create" | "record.custom-action" | "record.declare" | "record.edit" | "record.import" | "record.notify" | "record.print-certified-copies" | "record.read" | "record.register" | "record.reindex" | "record.reject" | "record.reject-registration" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unarchive" | "record.unassign-others" | "user.create" | "user.data-seeding" | "user.edit" | "user.read" | "user.read-only-my-audit" | "user.search" | "workqueue";
|
|
94
|
+
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "flags" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role" | "status";
|
|
95
95
|
}) => {
|
|
96
96
|
$jurisdiction: "administrativeArea" | "all" | "location" | {
|
|
97
|
-
$scope: "attachment.upload" | "bypassratelimit" | "config.update-all" | "dashboard.view" | "integration.create" | "organisation.read-locations" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.archive" | "record.confirm-registration" | "record.correct" | "record.create" | "record.custom-action" | "record.declare" | "record.edit" | "record.import" | "record.notify" | "record.print-certified-copies" | "record.read" | "record.register" | "record.reindex" | "record.reject" | "record.reject-registration" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unarchive" | "record.unassign-others" | "user.create" | "user.data-seeding" | "user.edit" | "user.read" | "user.read-only-my-audit" | "user.search" | "workqueue";
|
|
98
|
-
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "flags" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role";
|
|
97
|
+
$scope: "attachment.upload" | "bypassratelimit" | "config.update-all" | "dashboard.view" | "integration.audit.read" | "integration.create" | "location.edit" | "organisation.read-locations" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.archive" | "record.confirm-registration" | "record.correct" | "record.create" | "record.custom-action" | "record.declare" | "record.edit" | "record.import" | "record.notify" | "record.print-certified-copies" | "record.read" | "record.register" | "record.reindex" | "record.reject" | "record.reject-registration" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unarchive" | "record.unassign-others" | "user.create" | "user.data-seeding" | "user.edit" | "user.read" | "user.read-only-my-audit" | "user.search" | "workqueue";
|
|
98
|
+
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "flags" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role" | "status";
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
hasScope: (scope: string) => JSONSchema;
|
|
@@ -2,7 +2,7 @@ import { ConditionalParameters, JSONSchema } from './conditionals';
|
|
|
2
2
|
import { ActionUpdate, EventState } from '../events/ActionDocument';
|
|
3
3
|
import { FieldConditional } from '../events/Conditional';
|
|
4
4
|
import { FieldConfig } from '../events/FieldConfig';
|
|
5
|
-
import { FieldUpdateValue, FieldValue } from '../events/FieldValue';
|
|
5
|
+
import { PlainDate, FieldUpdateValue, FieldValue } from '../events/FieldValue';
|
|
6
6
|
import { TranslationConfig } from '../events/TranslationConfig';
|
|
7
7
|
import { ITokenPayload } from '../authentication';
|
|
8
8
|
import { UUID } from '../uuid';
|
|
@@ -14,8 +14,8 @@ import { EventDocument } from '../events/EventDocument';
|
|
|
14
14
|
import { EventIndex } from '../events/EventIndex';
|
|
15
15
|
import { Location } from '../events/locations';
|
|
16
16
|
import { SystemVariables } from '../events/TemplateConfig';
|
|
17
|
-
/** Returns today's date as
|
|
18
|
-
export declare function todayISO():
|
|
17
|
+
/** Returns today's date as a {@link PlainDate} (YYYY-MM-DD), device-local. */
|
|
18
|
+
export declare function todayISO(): PlainDate;
|
|
19
19
|
/**
|
|
20
20
|
* Context passed to every serialised client-side function ({@link runClientFunction}).
|
|
21
21
|
*
|
|
@@ -70,14 +70,24 @@ export declare function validateValue(schema: JSONSchema, data: unknown): boolea
|
|
|
70
70
|
export declare function isOnline(): boolean;
|
|
71
71
|
export declare function isConditionMet(conditional: JSONSchema, values: EventState | ActionUpdate, context: ValidatorContext): boolean;
|
|
72
72
|
export declare function areConditionsMet(conditions: FieldConditional[], values: Record<string, FieldValue>, context: ValidatorContext, event: EventIndex): boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Given a field's `secured` property (a boolean, or a JSONSchema conditional
|
|
75
|
+
* evaluated against the event, e.g. `flag('sealed')`), returns whether the
|
|
76
|
+
* field is currently secured for the given event.
|
|
77
|
+
*/
|
|
78
|
+
export declare function isFieldSecured(field: Pick<FieldConfig, 'secured'>, event: EventIndex, context: ValidatorContext): boolean;
|
|
79
|
+
export type EventValidatorContext = {
|
|
80
|
+
document: EventDocument;
|
|
81
|
+
state: EventIndex;
|
|
82
|
+
};
|
|
83
|
+
export declare function getEventValidatorContext(document: EventDocument, config: EventConfig): EventValidatorContext;
|
|
73
84
|
export type ValidatorContext = {
|
|
74
85
|
user?: ITokenPayload;
|
|
75
86
|
leafAdminStructureLocationIds?: Array<{
|
|
76
87
|
id: UUID;
|
|
77
88
|
}>;
|
|
78
|
-
event?: EventDocument;
|
|
79
|
-
eventConfig?: EventConfig;
|
|
80
89
|
baseFormState?: EventState;
|
|
90
|
+
event?: EventValidatorContext;
|
|
81
91
|
};
|
|
82
92
|
export declare function isFieldVisible(field: FieldConfig, form: Partial<ActionUpdate | EventState>, context: ValidatorContext): boolean;
|
|
83
93
|
export declare function isFieldEnabled(field: FieldConfig, form: ActionUpdate | EventState, context: ValidatorContext): boolean;
|
|
@@ -13,7 +13,6 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
|
13
13
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
14
14
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
15
15
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
16
|
-
readonly SEALED: 'sealed';
|
|
17
16
|
}>]>, z.ZodString]>;
|
|
18
17
|
operation: z.ZodEnum<{
|
|
19
18
|
add: "add";
|
|
@@ -40,7 +39,6 @@ declare const CustomActionConfig: z.ZodObject<{
|
|
|
40
39
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
41
40
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
42
41
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
43
|
-
readonly SEALED: 'sealed';
|
|
44
42
|
}>]>, z.ZodString]>;
|
|
45
43
|
operation: z.ZodEnum<{
|
|
46
44
|
add: "add";
|
|
@@ -72,7 +70,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
72
70
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
73
71
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
74
72
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
75
|
-
readonly SEALED: 'sealed';
|
|
76
73
|
}>]>, z.ZodString]>;
|
|
77
74
|
operation: z.ZodEnum<{
|
|
78
75
|
add: "add";
|
|
@@ -123,7 +120,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
123
120
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
124
121
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
125
122
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
126
|
-
readonly SEALED: 'sealed';
|
|
127
123
|
}>]>, z.ZodString]>;
|
|
128
124
|
operation: z.ZodEnum<{
|
|
129
125
|
add: "add";
|
|
@@ -150,7 +146,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
150
146
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
151
147
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
152
148
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
153
|
-
readonly SEALED: 'sealed';
|
|
154
149
|
}>]>, z.ZodString]>;
|
|
155
150
|
operation: z.ZodEnum<{
|
|
156
151
|
add: "add";
|
|
@@ -178,7 +173,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
178
173
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
179
174
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
180
175
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
181
|
-
readonly SEALED: 'sealed';
|
|
182
176
|
}>]>, z.ZodString]>;
|
|
183
177
|
operation: z.ZodEnum<{
|
|
184
178
|
add: "add";
|
|
@@ -219,7 +213,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
219
213
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
220
214
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
221
215
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
222
|
-
readonly SEALED: 'sealed';
|
|
223
216
|
}>]>, z.ZodString]>;
|
|
224
217
|
operation: z.ZodEnum<{
|
|
225
218
|
add: "add";
|
|
@@ -241,7 +234,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
241
234
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
242
235
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
243
236
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
244
|
-
readonly SEALED: 'sealed';
|
|
245
237
|
}>]>, z.ZodString]>;
|
|
246
238
|
operation: z.ZodEnum<{
|
|
247
239
|
add: "add";
|
|
@@ -268,7 +260,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
268
260
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
269
261
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
270
262
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
271
|
-
readonly SEALED: 'sealed';
|
|
272
263
|
}>]>, z.ZodString]>;
|
|
273
264
|
operation: z.ZodEnum<{
|
|
274
265
|
add: "add";
|
|
@@ -295,7 +286,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
295
286
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
296
287
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
297
288
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
298
|
-
readonly SEALED: 'sealed';
|
|
299
289
|
}>]>, z.ZodString]>;
|
|
300
290
|
operation: z.ZodEnum<{
|
|
301
291
|
add: "add";
|
|
@@ -323,7 +313,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
323
313
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
324
314
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
325
315
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
326
|
-
readonly SEALED: 'sealed';
|
|
327
316
|
}>]>, z.ZodString]>;
|
|
328
317
|
operation: z.ZodEnum<{
|
|
329
318
|
add: "add";
|
|
@@ -356,7 +345,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
356
345
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
357
346
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
358
347
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
359
|
-
readonly SEALED: 'sealed';
|
|
360
348
|
}>]>, z.ZodString]>;
|
|
361
349
|
operation: z.ZodEnum<{
|
|
362
350
|
add: "add";
|
|
@@ -413,7 +401,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
413
401
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
414
402
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
415
403
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
416
|
-
readonly SEALED: 'sealed';
|
|
417
404
|
}>]>, z.ZodString]>;
|
|
418
405
|
operation: z.ZodEnum<{
|
|
419
406
|
add: "add";
|
|
@@ -470,7 +457,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
470
457
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
471
458
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
472
459
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
473
|
-
readonly SEALED: 'sealed';
|
|
474
460
|
}>]>, z.ZodString]>;
|
|
475
461
|
operation: z.ZodEnum<{
|
|
476
462
|
add: "add";
|
|
@@ -497,7 +483,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
497
483
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
498
484
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
499
485
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
500
|
-
readonly SEALED: 'sealed';
|
|
501
486
|
}>]>, z.ZodString]>;
|
|
502
487
|
operation: z.ZodEnum<{
|
|
503
488
|
add: "add";
|
|
@@ -524,7 +509,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
524
509
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
525
510
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
526
511
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
527
|
-
readonly SEALED: 'sealed';
|
|
528
512
|
}>]>, z.ZodString]>;
|
|
529
513
|
operation: z.ZodEnum<{
|
|
530
514
|
add: "add";
|
|
@@ -556,7 +540,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
556
540
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
557
541
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
558
542
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
559
|
-
readonly SEALED: 'sealed';
|
|
560
543
|
}>]>, z.ZodString]>;
|
|
561
544
|
operation: z.ZodEnum<{
|
|
562
545
|
add: "add";
|
|
@@ -584,7 +567,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
584
567
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
585
568
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
586
569
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
587
|
-
readonly SEALED: 'sealed';
|
|
588
570
|
}>]>, z.ZodString]>;
|
|
589
571
|
operation: z.ZodEnum<{
|
|
590
572
|
add: "add";
|
|
@@ -611,7 +593,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
611
593
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
612
594
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
613
595
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
614
|
-
readonly SEALED: 'sealed';
|
|
615
596
|
}>]>, z.ZodString]>;
|
|
616
597
|
operation: z.ZodEnum<{
|
|
617
598
|
add: "add";
|
|
@@ -653,7 +634,6 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
653
634
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
654
635
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
655
636
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
656
|
-
readonly SEALED: 'sealed';
|
|
657
637
|
}>]>, z.ZodString]>;
|
|
658
638
|
operation: z.ZodEnum<{
|
|
659
639
|
add: "add";
|
|
@@ -695,7 +675,6 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
695
675
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
696
676
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
697
677
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
698
|
-
readonly SEALED: 'sealed';
|
|
699
678
|
}>]>, z.ZodString]>;
|
|
700
679
|
operation: z.ZodEnum<{
|
|
701
680
|
add: "add";
|
|
@@ -380,9 +380,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
380
380
|
}>;
|
|
381
381
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
382
382
|
type: z.ZodLiteral<"ARCHIVE">;
|
|
383
|
-
content: z.ZodObject<{
|
|
383
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
384
384
|
reason: z.ZodString;
|
|
385
|
-
}, z.core.$strip
|
|
385
|
+
}, z.core.$strip>>;
|
|
386
386
|
}, z.core.$strip>, z.ZodObject<{
|
|
387
387
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
388
388
|
transactionId: z.ZodString;
|
|
@@ -843,9 +843,9 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
843
843
|
}>;
|
|
844
844
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
845
845
|
type: z.ZodLiteral<"ARCHIVE">;
|
|
846
|
-
content: z.ZodObject<{
|
|
846
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
847
847
|
reason: z.ZodString;
|
|
848
|
-
}, z.core.$strip
|
|
848
|
+
}, z.core.$strip>>;
|
|
849
849
|
}, z.core.$strip>, z.ZodObject<{
|
|
850
850
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
851
851
|
transactionId: z.ZodString;
|
|
@@ -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<{
|
|
@@ -424,9 +424,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
424
424
|
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
425
425
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
426
426
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
|
427
|
-
content: z.ZodObject<{
|
|
427
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
428
428
|
reason: z.ZodString;
|
|
429
|
-
}, z.core.$strip
|
|
429
|
+
}, z.core.$strip>>;
|
|
430
430
|
}, z.core.$strip>, z.ZodObject<{
|
|
431
431
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
432
432
|
transactionId: z.ZodString;
|
|
@@ -102,7 +102,9 @@ 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";
|
|
@@ -149,6 +151,7 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
149
151
|
registeredBy: "registeredBy";
|
|
150
152
|
registeredIn: "registeredIn";
|
|
151
153
|
role: "role";
|
|
154
|
+
status: "status";
|
|
152
155
|
}>;
|
|
153
156
|
}, z.core.$strip>]>;
|
|
154
157
|
}, z.core.$strip>>;
|
|
@@ -283,7 +286,9 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
283
286
|
bypassratelimit: "bypassratelimit";
|
|
284
287
|
"config.update-all": "config.update-all";
|
|
285
288
|
"dashboard.view": "dashboard.view";
|
|
289
|
+
"integration.audit.read": "integration.audit.read";
|
|
286
290
|
"integration.create": "integration.create";
|
|
291
|
+
"location.edit": "location.edit";
|
|
287
292
|
"organisation.read-locations": "organisation.read-locations";
|
|
288
293
|
"performance.read": "performance.read";
|
|
289
294
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
@@ -330,6 +335,7 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
330
335
|
registeredBy: "registeredBy";
|
|
331
336
|
registeredIn: "registeredIn";
|
|
332
337
|
role: "role";
|
|
338
|
+
status: "status";
|
|
333
339
|
}>;
|
|
334
340
|
}, z.core.$strip>]>;
|
|
335
341
|
}, z.core.$strip>>;
|
|
@@ -440,7 +446,9 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
440
446
|
bypassratelimit: "bypassratelimit";
|
|
441
447
|
"config.update-all": "config.update-all";
|
|
442
448
|
"dashboard.view": "dashboard.view";
|
|
449
|
+
"integration.audit.read": "integration.audit.read";
|
|
443
450
|
"integration.create": "integration.create";
|
|
451
|
+
"location.edit": "location.edit";
|
|
444
452
|
"organisation.read-locations": "organisation.read-locations";
|
|
445
453
|
"performance.read": "performance.read";
|
|
446
454
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
@@ -487,6 +495,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
487
495
|
registeredBy: "registeredBy";
|
|
488
496
|
registeredIn: "registeredIn";
|
|
489
497
|
role: "role";
|
|
498
|
+
status: "status";
|
|
490
499
|
}>;
|
|
491
500
|
}, z.core.$strip>]>;
|
|
492
501
|
}, z.core.$strip>>;
|
|
@@ -589,7 +598,9 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
589
598
|
bypassratelimit: "bypassratelimit";
|
|
590
599
|
"config.update-all": "config.update-all";
|
|
591
600
|
"dashboard.view": "dashboard.view";
|
|
601
|
+
"integration.audit.read": "integration.audit.read";
|
|
592
602
|
"integration.create": "integration.create";
|
|
603
|
+
"location.edit": "location.edit";
|
|
593
604
|
"organisation.read-locations": "organisation.read-locations";
|
|
594
605
|
"performance.read": "performance.read";
|
|
595
606
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
@@ -636,6 +647,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
636
647
|
registeredBy: "registeredBy";
|
|
637
648
|
registeredIn: "registeredIn";
|
|
638
649
|
role: "role";
|
|
650
|
+
status: "status";
|
|
639
651
|
}>;
|
|
640
652
|
}, z.core.$strip>]>;
|
|
641
653
|
}, z.core.$strip>>;
|
|
@@ -749,7 +761,9 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
749
761
|
bypassratelimit: "bypassratelimit";
|
|
750
762
|
"config.update-all": "config.update-all";
|
|
751
763
|
"dashboard.view": "dashboard.view";
|
|
764
|
+
"integration.audit.read": "integration.audit.read";
|
|
752
765
|
"integration.create": "integration.create";
|
|
766
|
+
"location.edit": "location.edit";
|
|
753
767
|
"organisation.read-locations": "organisation.read-locations";
|
|
754
768
|
"performance.read": "performance.read";
|
|
755
769
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
@@ -796,6 +810,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
796
810
|
registeredBy: "registeredBy";
|
|
797
811
|
registeredIn: "registeredIn";
|
|
798
812
|
role: "role";
|
|
813
|
+
status: "status";
|
|
799
814
|
}>;
|
|
800
815
|
}, z.core.$strip>]>;
|
|
801
816
|
}, z.core.$strip>>;
|
|
@@ -898,7 +913,9 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
898
913
|
bypassratelimit: "bypassratelimit";
|
|
899
914
|
"config.update-all": "config.update-all";
|
|
900
915
|
"dashboard.view": "dashboard.view";
|
|
916
|
+
"integration.audit.read": "integration.audit.read";
|
|
901
917
|
"integration.create": "integration.create";
|
|
918
|
+
"location.edit": "location.edit";
|
|
902
919
|
"organisation.read-locations": "organisation.read-locations";
|
|
903
920
|
"performance.read": "performance.read";
|
|
904
921
|
"performance.read-dashboards": "performance.read-dashboards";
|
|
@@ -945,6 +962,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
945
962
|
registeredBy: "registeredBy";
|
|
946
963
|
registeredIn: "registeredIn";
|
|
947
964
|
role: "role";
|
|
965
|
+
status: "status";
|
|
948
966
|
}>;
|
|
949
967
|
}, z.core.$strip>]>;
|
|
950
968
|
}, z.core.$strip>>;
|
|
@@ -281,6 +281,153 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
281
281
|
responseSummary: z.ZodObject<{
|
|
282
282
|
clientId: z.ZodString;
|
|
283
283
|
}, z.core.$strip>;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
id: z.ZodString;
|
|
286
|
+
clientId: z.ZodString;
|
|
287
|
+
clientType: z.ZodEnum<{
|
|
288
|
+
system: "system";
|
|
289
|
+
user: "user";
|
|
290
|
+
}>;
|
|
291
|
+
createdAt: z.ZodString;
|
|
292
|
+
operation: z.ZodLiteral<"locations.create">;
|
|
293
|
+
requestData: z.ZodObject<{
|
|
294
|
+
id: z.ZodString;
|
|
295
|
+
versionId: z.ZodString;
|
|
296
|
+
name: z.ZodString;
|
|
297
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
298
|
+
effectiveFrom: z.ZodString;
|
|
299
|
+
status: z.ZodString;
|
|
300
|
+
administrativeAreaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
301
|
+
locationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
|
+
}, z.core.$strip>;
|
|
303
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
304
|
+
id: z.ZodString;
|
|
305
|
+
clientId: z.ZodString;
|
|
306
|
+
clientType: z.ZodEnum<{
|
|
307
|
+
system: "system";
|
|
308
|
+
user: "user";
|
|
309
|
+
}>;
|
|
310
|
+
createdAt: z.ZodString;
|
|
311
|
+
operation: z.ZodLiteral<"locations.update">;
|
|
312
|
+
requestData: z.ZodObject<{
|
|
313
|
+
id: z.ZodString;
|
|
314
|
+
versionId: z.ZodString;
|
|
315
|
+
name: z.ZodString;
|
|
316
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
317
|
+
status: z.ZodString;
|
|
318
|
+
effectiveFrom: z.ZodString;
|
|
319
|
+
lastVersionId: z.ZodString;
|
|
320
|
+
}, z.core.$strip>;
|
|
321
|
+
responseSummary: z.ZodObject<{
|
|
322
|
+
previousVersionId: z.ZodString;
|
|
323
|
+
versionId: z.ZodString;
|
|
324
|
+
changed: z.ZodObject<{
|
|
325
|
+
name: z.ZodOptional<z.ZodObject<{
|
|
326
|
+
from: z.ZodString;
|
|
327
|
+
to: z.ZodString;
|
|
328
|
+
}, z.core.$strip>>;
|
|
329
|
+
externalId: z.ZodOptional<z.ZodObject<{
|
|
330
|
+
from: z.ZodNullable<z.ZodString>;
|
|
331
|
+
to: z.ZodNullable<z.ZodString>;
|
|
332
|
+
}, z.core.$strip>>;
|
|
333
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
334
|
+
from: z.ZodString;
|
|
335
|
+
to: z.ZodString;
|
|
336
|
+
}, z.core.$strip>>;
|
|
337
|
+
}, z.core.$strip>;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
340
|
+
id: z.ZodString;
|
|
341
|
+
clientId: z.ZodString;
|
|
342
|
+
clientType: z.ZodEnum<{
|
|
343
|
+
system: "system";
|
|
344
|
+
user: "user";
|
|
345
|
+
}>;
|
|
346
|
+
createdAt: z.ZodString;
|
|
347
|
+
operation: z.ZodLiteral<"administrativeAreas.update">;
|
|
348
|
+
requestData: z.ZodObject<{
|
|
349
|
+
id: z.ZodString;
|
|
350
|
+
versionId: z.ZodString;
|
|
351
|
+
name: z.ZodString;
|
|
352
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
353
|
+
status: z.ZodString;
|
|
354
|
+
effectiveFrom: z.ZodString;
|
|
355
|
+
lastVersionId: z.ZodString;
|
|
356
|
+
}, z.core.$strip>;
|
|
357
|
+
responseSummary: z.ZodObject<{
|
|
358
|
+
previousVersionId: z.ZodString;
|
|
359
|
+
versionId: z.ZodString;
|
|
360
|
+
changed: z.ZodObject<{
|
|
361
|
+
name: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
from: z.ZodString;
|
|
363
|
+
to: z.ZodString;
|
|
364
|
+
}, z.core.$strip>>;
|
|
365
|
+
externalId: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
from: z.ZodNullable<z.ZodString>;
|
|
367
|
+
to: z.ZodNullable<z.ZodString>;
|
|
368
|
+
}, z.core.$strip>>;
|
|
369
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
370
|
+
from: z.ZodString;
|
|
371
|
+
to: z.ZodString;
|
|
372
|
+
}, z.core.$strip>>;
|
|
373
|
+
}, z.core.$strip>;
|
|
374
|
+
}, z.core.$strip>;
|
|
375
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
376
|
+
id: z.ZodString;
|
|
377
|
+
clientId: z.ZodString;
|
|
378
|
+
clientType: z.ZodEnum<{
|
|
379
|
+
system: "system";
|
|
380
|
+
user: "user";
|
|
381
|
+
}>;
|
|
382
|
+
createdAt: z.ZodString;
|
|
383
|
+
operation: z.ZodLiteral<"locations.withdrawVersion">;
|
|
384
|
+
requestData: z.ZodObject<{
|
|
385
|
+
id: z.ZodString;
|
|
386
|
+
versionId: z.ZodString;
|
|
387
|
+
}, z.core.$strip>;
|
|
388
|
+
responseSummary: z.ZodObject<{
|
|
389
|
+
effectiveFrom: z.ZodString;
|
|
390
|
+
name: z.ZodString;
|
|
391
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
status: z.ZodString;
|
|
393
|
+
}, z.core.$strip>;
|
|
394
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
395
|
+
id: z.ZodString;
|
|
396
|
+
clientId: z.ZodString;
|
|
397
|
+
clientType: z.ZodEnum<{
|
|
398
|
+
system: "system";
|
|
399
|
+
user: "user";
|
|
400
|
+
}>;
|
|
401
|
+
createdAt: z.ZodString;
|
|
402
|
+
operation: z.ZodLiteral<"administrativeAreas.withdrawVersion">;
|
|
403
|
+
requestData: z.ZodObject<{
|
|
404
|
+
id: z.ZodString;
|
|
405
|
+
versionId: z.ZodString;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
responseSummary: z.ZodObject<{
|
|
408
|
+
effectiveFrom: z.ZodString;
|
|
409
|
+
name: z.ZodString;
|
|
410
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
|
+
status: z.ZodString;
|
|
412
|
+
}, z.core.$strip>;
|
|
413
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
414
|
+
id: z.ZodString;
|
|
415
|
+
clientId: z.ZodString;
|
|
416
|
+
clientType: z.ZodEnum<{
|
|
417
|
+
system: "system";
|
|
418
|
+
user: "user";
|
|
419
|
+
}>;
|
|
420
|
+
createdAt: z.ZodString;
|
|
421
|
+
operation: z.ZodLiteral<"administrativeAreas.create">;
|
|
422
|
+
requestData: z.ZodObject<{
|
|
423
|
+
id: z.ZodString;
|
|
424
|
+
versionId: z.ZodString;
|
|
425
|
+
name: z.ZodString;
|
|
426
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
427
|
+
effectiveFrom: z.ZodString;
|
|
428
|
+
status: z.ZodString;
|
|
429
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
430
|
+
}, z.core.$strip>;
|
|
284
431
|
}, z.core.$strip>, z.ZodObject<{
|
|
285
432
|
id: z.ZodString;
|
|
286
433
|
clientId: z.ZodString;
|