@opencrvs/toolkit 2.1.0-rc.30bcbde → 2.1.0-rc.312fbd1
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 +12 -4
- package/create-countryconfig/index.js +441 -59
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +4 -1
- 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 +3347 -1229
- package/dist/commons/api/router.d.ts +3942 -3310
- package/dist/commons/application-config/index.d.ts +6 -8
- package/dist/commons/conditionals/conditionals.d.ts +259 -2102
- package/dist/commons/conditionals/validate.d.ts +34 -8
- package/dist/commons/events/ActionConfig.d.ts +105 -114
- package/dist/commons/events/ActionDocument.d.ts +145 -125
- package/dist/commons/events/ActionInput.d.ts +4 -4
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/ActionType.d.ts +62 -62
- package/dist/commons/events/AdvancedSearchConfig.d.ts +549 -513
- package/dist/commons/events/AuditLog.d.ts +190 -42
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/Conditional.d.ts +3 -3
- package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
- package/dist/commons/events/Draft.d.ts +27 -47
- package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
- package/dist/commons/events/EventConfig.d.ts +8 -5
- package/dist/commons/events/EventDocument.d.ts +518 -50
- package/dist/commons/events/EventIndex.d.ts +49 -72
- package/dist/commons/events/EventMetadata.d.ts +39 -49
- package/dist/commons/events/EventStatus.d.ts +19 -0
- package/dist/commons/events/FieldConfig.d.ts +440 -394
- package/dist/commons/events/FieldType.d.ts +51 -51
- package/dist/commons/events/FieldTypeMapping.d.ts +89 -89
- package/dist/commons/events/FieldValue.d.ts +15 -14
- package/dist/commons/events/Flag.d.ts +57 -15
- 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/TemplateConfig.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
- package/dist/commons/events/WorkqueueConfig.d.ts +817 -814
- package/dist/commons/events/deduplication.d.ts +1 -1
- package/dist/commons/events/event.d.ts +14 -2
- package/dist/commons/events/field.d.ts +78 -895
- 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 +247 -14
- package/dist/commons/events/mocks.test.utils.d.ts +48 -4
- package/dist/commons/events/scopes.d.ts +25 -5
- package/dist/commons/events/state/index.d.ts +17 -17
- package/dist/commons/events/state/utils.d.ts +7 -7
- package/dist/commons/events/test.utils.d.ts +104 -46
- package/dist/commons/events/utils.d.ts +149 -114
- package/dist/commons/notification/UserNotifications.d.ts +38 -23
- 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 +119 -119
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/index.d.ts +1 -0
- package/dist/environment/index.d.ts.map +1 -1
- package/dist/environment/index.js +12 -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/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 +75 -74
- 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 +589 -570
- 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 +21 -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/environment/utils.d.ts +1 -13
- package/dist/environment/utils.d.ts.map +1 -1
- package/dist/environment/utils.js +1 -28
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +5910 -5301
- 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.0/convert-config-files-to-ts.d.ts.map +1 -1
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +3 -10
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +3 -3
- package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
- 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 +149 -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 +455 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -1
- package/dist/migrations/v2.1/index.js +1556 -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.1/remove-sentry.d.ts +3 -0
- 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.1/rename-trigger-paths.d.ts +3 -0
- package/dist/migrations/v2.1/rename-trigger-paths.d.ts.map +1 -0
- package/dist/migrations/v2.1/rename-trigger-paths.js +216 -0
- package/dist/notification/index.js +1904 -1492
- package/dist/scopes/index.d.ts +736 -158
- 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 +23 -9
- 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.1.0-rc.312fbd1.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/templates/inventory/production.example.yml +0 -77
- package/dist/templates/inventory/qa.example.yml +0 -48
- package/opencrvs-toolkit-2.1.0-rc.30bcbde.tgz +0 -0
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -3,29 +3,29 @@ declare const EventActionEntrySchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
clientId: z.ZodString;
|
|
5
5
|
clientType: z.ZodEnum<{
|
|
6
|
-
user: "user";
|
|
7
6
|
system: "system";
|
|
7
|
+
user: "user";
|
|
8
8
|
}>;
|
|
9
9
|
createdAt: z.ZodString;
|
|
10
10
|
operation: z.ZodEnum<{
|
|
11
|
-
"event.actions.notify.request": "event.actions.notify.request";
|
|
12
|
-
"event.actions.declare.request": "event.actions.declare.request";
|
|
13
|
-
"event.actions.register.request": "event.actions.register.request";
|
|
14
|
-
"event.actions.reject.request": "event.actions.reject.request";
|
|
15
|
-
"event.actions.validate.request": "event.actions.validate.request";
|
|
16
|
-
"event.actions.edit.request": "event.actions.edit.request";
|
|
17
|
-
"event.actions.assign.request": "event.actions.assign.request";
|
|
18
|
-
"event.actions.unassign.request": "event.actions.unassign.request";
|
|
19
|
-
"event.actions.read.request": "event.actions.read.request";
|
|
20
11
|
"event.actions.archive.request": "event.actions.archive.request";
|
|
21
|
-
"event.actions.
|
|
22
|
-
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
23
|
-
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
24
|
-
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
12
|
+
"event.actions.assign.request": "event.actions.assign.request";
|
|
25
13
|
"event.actions.correction.approve.request": "event.actions.correction.approve.request";
|
|
26
14
|
"event.actions.correction.reject.request": "event.actions.correction.reject.request";
|
|
15
|
+
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
16
|
+
"event.actions.declare.request": "event.actions.declare.request";
|
|
17
|
+
"event.actions.edit.request": "event.actions.edit.request";
|
|
27
18
|
"event.actions.mark_as_duplicate.request": "event.actions.mark_as_duplicate.request";
|
|
28
19
|
"event.actions.mark_as_not_duplicate.request": "event.actions.mark_as_not_duplicate.request";
|
|
20
|
+
"event.actions.notify.request": "event.actions.notify.request";
|
|
21
|
+
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
22
|
+
"event.actions.read.request": "event.actions.read.request";
|
|
23
|
+
"event.actions.register.request": "event.actions.register.request";
|
|
24
|
+
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
25
|
+
"event.actions.reject.request": "event.actions.reject.request";
|
|
26
|
+
"event.actions.unarchive.request": "event.actions.unarchive.request";
|
|
27
|
+
"event.actions.unassign.request": "event.actions.unassign.request";
|
|
28
|
+
"event.actions.validate.request": "event.actions.validate.request";
|
|
29
29
|
}>;
|
|
30
30
|
requestData: z.ZodObject<{
|
|
31
31
|
eventId: z.ZodString;
|
|
@@ -90,8 +90,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
90
90
|
id: z.ZodString;
|
|
91
91
|
clientId: z.ZodString;
|
|
92
92
|
clientType: z.ZodEnum<{
|
|
93
|
-
user: "user";
|
|
94
93
|
system: "system";
|
|
94
|
+
user: "user";
|
|
95
95
|
}>;
|
|
96
96
|
createdAt: z.ZodString;
|
|
97
97
|
operation: z.ZodLiteral<"event.create">;
|
|
@@ -108,8 +108,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
108
108
|
id: z.ZodString;
|
|
109
109
|
clientId: z.ZodString;
|
|
110
110
|
clientType: z.ZodEnum<{
|
|
111
|
-
user: "user";
|
|
112
111
|
system: "system";
|
|
112
|
+
user: "user";
|
|
113
113
|
}>;
|
|
114
114
|
createdAt: z.ZodString;
|
|
115
115
|
operation: z.ZodLiteral<"event.get">;
|
|
@@ -139,29 +139,29 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
139
139
|
id: z.ZodString;
|
|
140
140
|
clientId: z.ZodString;
|
|
141
141
|
clientType: z.ZodEnum<{
|
|
142
|
-
user: "user";
|
|
143
142
|
system: "system";
|
|
143
|
+
user: "user";
|
|
144
144
|
}>;
|
|
145
145
|
createdAt: z.ZodString;
|
|
146
146
|
operation: z.ZodEnum<{
|
|
147
|
-
"event.actions.notify.request": "event.actions.notify.request";
|
|
148
|
-
"event.actions.declare.request": "event.actions.declare.request";
|
|
149
|
-
"event.actions.register.request": "event.actions.register.request";
|
|
150
|
-
"event.actions.reject.request": "event.actions.reject.request";
|
|
151
|
-
"event.actions.validate.request": "event.actions.validate.request";
|
|
152
|
-
"event.actions.edit.request": "event.actions.edit.request";
|
|
153
|
-
"event.actions.assign.request": "event.actions.assign.request";
|
|
154
|
-
"event.actions.unassign.request": "event.actions.unassign.request";
|
|
155
|
-
"event.actions.read.request": "event.actions.read.request";
|
|
156
147
|
"event.actions.archive.request": "event.actions.archive.request";
|
|
157
|
-
"event.actions.
|
|
158
|
-
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
159
|
-
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
160
|
-
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
148
|
+
"event.actions.assign.request": "event.actions.assign.request";
|
|
161
149
|
"event.actions.correction.approve.request": "event.actions.correction.approve.request";
|
|
162
150
|
"event.actions.correction.reject.request": "event.actions.correction.reject.request";
|
|
151
|
+
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
152
|
+
"event.actions.declare.request": "event.actions.declare.request";
|
|
153
|
+
"event.actions.edit.request": "event.actions.edit.request";
|
|
163
154
|
"event.actions.mark_as_duplicate.request": "event.actions.mark_as_duplicate.request";
|
|
164
155
|
"event.actions.mark_as_not_duplicate.request": "event.actions.mark_as_not_duplicate.request";
|
|
156
|
+
"event.actions.notify.request": "event.actions.notify.request";
|
|
157
|
+
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
158
|
+
"event.actions.read.request": "event.actions.read.request";
|
|
159
|
+
"event.actions.register.request": "event.actions.register.request";
|
|
160
|
+
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
161
|
+
"event.actions.reject.request": "event.actions.reject.request";
|
|
162
|
+
"event.actions.unarchive.request": "event.actions.unarchive.request";
|
|
163
|
+
"event.actions.unassign.request": "event.actions.unassign.request";
|
|
164
|
+
"event.actions.validate.request": "event.actions.validate.request";
|
|
165
165
|
}>;
|
|
166
166
|
requestData: z.ZodObject<{
|
|
167
167
|
eventId: z.ZodString;
|
|
@@ -174,8 +174,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
174
174
|
id: z.ZodString;
|
|
175
175
|
clientId: z.ZodString;
|
|
176
176
|
clientType: z.ZodEnum<{
|
|
177
|
-
user: "user";
|
|
178
177
|
system: "system";
|
|
178
|
+
user: "user";
|
|
179
179
|
}>;
|
|
180
180
|
createdAt: z.ZodString;
|
|
181
181
|
operation: z.ZodLiteral<"event.actions.custom.request">;
|
|
@@ -191,8 +191,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
191
191
|
id: z.ZodString;
|
|
192
192
|
clientId: z.ZodString;
|
|
193
193
|
clientType: z.ZodEnum<{
|
|
194
|
-
user: "user";
|
|
195
194
|
system: "system";
|
|
195
|
+
user: "user";
|
|
196
196
|
}>;
|
|
197
197
|
createdAt: z.ZodString;
|
|
198
198
|
operation: z.ZodLiteral<"integrations.create">;
|
|
@@ -207,8 +207,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
207
207
|
id: z.ZodString;
|
|
208
208
|
clientId: z.ZodString;
|
|
209
209
|
clientType: z.ZodEnum<{
|
|
210
|
-
user: "user";
|
|
211
210
|
system: "system";
|
|
211
|
+
user: "user";
|
|
212
212
|
}>;
|
|
213
213
|
createdAt: z.ZodString;
|
|
214
214
|
operation: z.ZodLiteral<"integrations.refreshToken">;
|
|
@@ -222,8 +222,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
222
222
|
id: z.ZodString;
|
|
223
223
|
clientId: z.ZodString;
|
|
224
224
|
clientType: z.ZodEnum<{
|
|
225
|
-
user: "user";
|
|
226
225
|
system: "system";
|
|
226
|
+
user: "user";
|
|
227
227
|
}>;
|
|
228
228
|
createdAt: z.ZodString;
|
|
229
229
|
operation: z.ZodLiteral<"integrations.deactivate">;
|
|
@@ -238,8 +238,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
238
238
|
id: z.ZodString;
|
|
239
239
|
clientId: z.ZodString;
|
|
240
240
|
clientType: z.ZodEnum<{
|
|
241
|
-
user: "user";
|
|
242
241
|
system: "system";
|
|
242
|
+
user: "user";
|
|
243
243
|
}>;
|
|
244
244
|
createdAt: z.ZodString;
|
|
245
245
|
operation: z.ZodLiteral<"integrations.activate">;
|
|
@@ -254,8 +254,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
254
254
|
id: z.ZodString;
|
|
255
255
|
clientId: z.ZodString;
|
|
256
256
|
clientType: z.ZodEnum<{
|
|
257
|
-
user: "user";
|
|
258
257
|
system: "system";
|
|
258
|
+
user: "user";
|
|
259
259
|
}>;
|
|
260
260
|
createdAt: z.ZodString;
|
|
261
261
|
operation: z.ZodLiteral<"integrations.delete">;
|
|
@@ -270,8 +270,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
270
270
|
id: z.ZodString;
|
|
271
271
|
clientId: z.ZodString;
|
|
272
272
|
clientType: z.ZodEnum<{
|
|
273
|
-
user: "user";
|
|
274
273
|
system: "system";
|
|
274
|
+
user: "user";
|
|
275
275
|
}>;
|
|
276
276
|
createdAt: z.ZodString;
|
|
277
277
|
operation: z.ZodLiteral<"integrations.refreshSecret">;
|
|
@@ -285,13 +285,161 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
285
285
|
id: z.ZodString;
|
|
286
286
|
clientId: z.ZodString;
|
|
287
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";
|
|
288
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<{
|
|
289
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>;
|
|
431
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
432
|
+
id: z.ZodString;
|
|
433
|
+
clientId: z.ZodString;
|
|
434
|
+
clientType: z.ZodEnum<{
|
|
435
|
+
system: "system";
|
|
436
|
+
user: "user";
|
|
290
437
|
}>;
|
|
291
438
|
createdAt: z.ZodString;
|
|
292
439
|
operation: z.ZodLiteral<"attachments.upload">;
|
|
293
440
|
requestData: z.ZodObject<{
|
|
294
441
|
transactionId: z.ZodString;
|
|
442
|
+
eventId: z.ZodOptional<z.ZodString>;
|
|
295
443
|
path: z.ZodNullable<z.ZodString>;
|
|
296
444
|
}, z.core.$strip>;
|
|
297
445
|
responseSummary: z.ZodObject<{
|
|
@@ -301,8 +449,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
301
449
|
id: z.ZodString;
|
|
302
450
|
clientId: z.ZodString;
|
|
303
451
|
clientType: z.ZodEnum<{
|
|
304
|
-
user: "user";
|
|
305
452
|
system: "system";
|
|
453
|
+
user: "user";
|
|
306
454
|
}>;
|
|
307
455
|
createdAt: z.ZodString;
|
|
308
456
|
operation: z.ZodLiteral<"user.create_user">;
|
|
@@ -315,8 +463,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
315
463
|
id: z.ZodString;
|
|
316
464
|
clientId: z.ZodString;
|
|
317
465
|
clientType: z.ZodEnum<{
|
|
318
|
-
user: "user";
|
|
319
466
|
system: "system";
|
|
467
|
+
user: "user";
|
|
320
468
|
}>;
|
|
321
469
|
createdAt: z.ZodString;
|
|
322
470
|
operation: z.ZodEnum<{
|
|
@@ -332,8 +480,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
332
480
|
id: z.ZodString;
|
|
333
481
|
clientId: z.ZodString;
|
|
334
482
|
clientType: z.ZodEnum<{
|
|
335
|
-
user: "user";
|
|
336
483
|
system: "system";
|
|
484
|
+
user: "user";
|
|
337
485
|
}>;
|
|
338
486
|
createdAt: z.ZodString;
|
|
339
487
|
operation: z.ZodEnum<{
|
|
@@ -354,8 +502,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
354
502
|
id: z.ZodString;
|
|
355
503
|
clientId: z.ZodString;
|
|
356
504
|
clientType: z.ZodEnum<{
|
|
357
|
-
user: "user";
|
|
358
505
|
system: "system";
|
|
506
|
+
user: "user";
|
|
359
507
|
}>;
|
|
360
508
|
createdAt: z.ZodString;
|
|
361
509
|
operation: z.ZodLiteral<"user.email_address_changed">;
|
|
@@ -369,8 +517,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
369
517
|
id: z.ZodString;
|
|
370
518
|
clientId: z.ZodString;
|
|
371
519
|
clientType: z.ZodEnum<{
|
|
372
|
-
user: "user";
|
|
373
520
|
system: "system";
|
|
521
|
+
user: "user";
|
|
374
522
|
}>;
|
|
375
523
|
createdAt: z.ZodString;
|
|
376
524
|
operation: z.ZodLiteral<"user.phone_number_changed">;
|
|
@@ -3,12 +3,12 @@ import * as z from 'zod/v4';
|
|
|
3
3
|
* Composite field value consists of multiple field values.
|
|
4
4
|
*/
|
|
5
5
|
export declare const GeographicalArea: {
|
|
6
|
-
readonly URBAN:
|
|
7
|
-
readonly RURAL:
|
|
6
|
+
readonly URBAN: 'URBAN';
|
|
7
|
+
readonly RURAL: 'RURAL';
|
|
8
8
|
};
|
|
9
9
|
export declare const AddressType: {
|
|
10
|
-
readonly DOMESTIC:
|
|
11
|
-
readonly INTERNATIONAL:
|
|
10
|
+
readonly DOMESTIC: 'DOMESTIC';
|
|
11
|
+
readonly INTERNATIONAL: 'INTERNATIONAL';
|
|
12
12
|
};
|
|
13
13
|
export declare const FileFieldValue: z.ZodObject<{
|
|
14
14
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
@@ -4,9 +4,9 @@ export declare const Conditional: z.ZodAny;
|
|
|
4
4
|
* By default, when conditionals are undefined, action is visible and enabled to everyone.
|
|
5
5
|
*/
|
|
6
6
|
export declare const ConditionalType: {
|
|
7
|
-
readonly SHOW:
|
|
8
|
-
readonly ENABLE:
|
|
9
|
-
readonly DISPLAY_ON_REVIEW:
|
|
7
|
+
readonly SHOW: 'SHOW';
|
|
8
|
+
readonly ENABLE: 'ENABLE';
|
|
9
|
+
readonly DISPLAY_ON_REVIEW: 'DISPLAY_ON_REVIEW';
|
|
10
10
|
};
|
|
11
11
|
export type ConditionalType = (typeof ConditionalType)[keyof typeof ConditionalType];
|
|
12
12
|
export declare const ShowConditional: z.ZodObject<{
|