@opencrvs/toolkit 2.1.0-rc.4bddaf2 → 2.1.0-rc.4ebadf9
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/build.sh +2 -2
- package/dist/application-config/index.js +15 -1
- package/dist/cli.js +165 -5154
- package/dist/commons/api/router.d.ts +3667 -2887
- package/dist/commons/application-config/index.d.ts +6 -6
- package/dist/commons/conditionals/conditionals.d.ts +32 -323
- package/dist/commons/events/ActionConfig.d.ts +279 -70
- package/dist/commons/events/ActionDocument.d.ts +155 -111
- package/dist/commons/events/ActionInput.d.ts +26 -6
- package/dist/commons/events/ActionType.d.ts +63 -58
- package/dist/commons/events/AdvancedSearchConfig.d.ts +513 -501
- package/dist/commons/events/AuditLog.d.ts +151 -40
- 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 +37 -35
- package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
- package/dist/commons/events/EventConfig.d.ts +5 -5
- package/dist/commons/events/EventDocument.d.ts +66 -44
- package/dist/commons/events/EventIndex.d.ts +62 -62
- package/dist/commons/events/EventMetadata.d.ts +40 -40
- package/dist/commons/events/FieldConfig.d.ts +341 -331
- package/dist/commons/events/FieldType.d.ts +51 -51
- package/dist/commons/events/FieldTypeMapping.d.ts +100 -100
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/Flag.d.ts +15 -15
- 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 +827 -824
- package/dist/commons/events/deduplication.d.ts +1 -1
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +69 -198
- 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 +103 -6
- package/dist/commons/events/mocks.test.utils.d.ts +18 -4
- package/dist/commons/events/scopes.d.ts +5 -4
- 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 +44 -39
- package/dist/commons/events/utils.d.ts +127 -105
- package/dist/commons/notification/UserNotifications.d.ts +10 -10
- package/dist/conditionals/index.js +3 -0
- package/dist/environment/derived-variables.d.ts +119 -131
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +0 -14
- package/dist/environment/logger.d.ts +3 -12
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +17 -7
- package/dist/environment/questions.d.ts +75 -74
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +8 -28
- package/dist/environment/swarm-to-k8s.js +17 -7
- package/dist/environment/update-workflows.js +17 -7
- package/dist/environment/users.js +17 -7
- package/dist/environment/utils.d.ts +1 -1
- package/dist/environment/utils.js +17 -7
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +380 -88
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +88 -5144
- package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +3 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.js +234 -0
- package/dist/migrations/v2.1/index.d.ts +6 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -0
- package/dist/migrations/v2.1/index.js +218 -0
- package/dist/notification/index.js +328 -104
- package/dist/scopes/index.d.ts +148 -140
- package/dist/scopes/index.js +3 -0
- package/dist/templates/charts-values/dependencies/values.yaml +0 -3
- package/dist/templates/charts-values/opencrvs-services/values.yaml +0 -4
- package/opencrvs-toolkit-2.1.0-rc.4ebadf9.tgz +0 -0
- package/package.json +5 -5
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.4bddaf2.tgz +0 -0
|
@@ -3,28 +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.print_certificate.request": "event.actions.print_certificate.request";
|
|
23
|
-
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
12
|
+
"event.actions.assign.request": "event.actions.assign.request";
|
|
24
13
|
"event.actions.correction.approve.request": "event.actions.correction.approve.request";
|
|
25
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";
|
|
26
18
|
"event.actions.mark_as_duplicate.request": "event.actions.mark_as_duplicate.request";
|
|
27
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";
|
|
28
29
|
}>;
|
|
29
30
|
requestData: z.ZodObject<{
|
|
30
31
|
eventId: z.ZodString;
|
|
@@ -89,8 +90,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
89
90
|
id: z.ZodString;
|
|
90
91
|
clientId: z.ZodString;
|
|
91
92
|
clientType: z.ZodEnum<{
|
|
92
|
-
user: "user";
|
|
93
93
|
system: "system";
|
|
94
|
+
user: "user";
|
|
94
95
|
}>;
|
|
95
96
|
createdAt: z.ZodString;
|
|
96
97
|
operation: z.ZodLiteral<"event.create">;
|
|
@@ -107,8 +108,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
107
108
|
id: z.ZodString;
|
|
108
109
|
clientId: z.ZodString;
|
|
109
110
|
clientType: z.ZodEnum<{
|
|
110
|
-
user: "user";
|
|
111
111
|
system: "system";
|
|
112
|
+
user: "user";
|
|
112
113
|
}>;
|
|
113
114
|
createdAt: z.ZodString;
|
|
114
115
|
operation: z.ZodLiteral<"event.get">;
|
|
@@ -138,28 +139,29 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
138
139
|
id: z.ZodString;
|
|
139
140
|
clientId: z.ZodString;
|
|
140
141
|
clientType: z.ZodEnum<{
|
|
141
|
-
user: "user";
|
|
142
142
|
system: "system";
|
|
143
|
+
user: "user";
|
|
143
144
|
}>;
|
|
144
145
|
createdAt: z.ZodString;
|
|
145
146
|
operation: z.ZodEnum<{
|
|
146
|
-
"event.actions.notify.request": "event.actions.notify.request";
|
|
147
|
-
"event.actions.declare.request": "event.actions.declare.request";
|
|
148
|
-
"event.actions.register.request": "event.actions.register.request";
|
|
149
|
-
"event.actions.reject.request": "event.actions.reject.request";
|
|
150
|
-
"event.actions.validate.request": "event.actions.validate.request";
|
|
151
|
-
"event.actions.edit.request": "event.actions.edit.request";
|
|
152
|
-
"event.actions.assign.request": "event.actions.assign.request";
|
|
153
|
-
"event.actions.unassign.request": "event.actions.unassign.request";
|
|
154
|
-
"event.actions.read.request": "event.actions.read.request";
|
|
155
147
|
"event.actions.archive.request": "event.actions.archive.request";
|
|
156
|
-
"event.actions.
|
|
157
|
-
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
158
|
-
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
148
|
+
"event.actions.assign.request": "event.actions.assign.request";
|
|
159
149
|
"event.actions.correction.approve.request": "event.actions.correction.approve.request";
|
|
160
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";
|
|
161
154
|
"event.actions.mark_as_duplicate.request": "event.actions.mark_as_duplicate.request";
|
|
162
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";
|
|
163
165
|
}>;
|
|
164
166
|
requestData: z.ZodObject<{
|
|
165
167
|
eventId: z.ZodString;
|
|
@@ -172,8 +174,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
172
174
|
id: z.ZodString;
|
|
173
175
|
clientId: z.ZodString;
|
|
174
176
|
clientType: z.ZodEnum<{
|
|
175
|
-
user: "user";
|
|
176
177
|
system: "system";
|
|
178
|
+
user: "user";
|
|
177
179
|
}>;
|
|
178
180
|
createdAt: z.ZodString;
|
|
179
181
|
operation: z.ZodLiteral<"event.actions.custom.request">;
|
|
@@ -189,8 +191,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
189
191
|
id: z.ZodString;
|
|
190
192
|
clientId: z.ZodString;
|
|
191
193
|
clientType: z.ZodEnum<{
|
|
192
|
-
user: "user";
|
|
193
194
|
system: "system";
|
|
195
|
+
user: "user";
|
|
194
196
|
}>;
|
|
195
197
|
createdAt: z.ZodString;
|
|
196
198
|
operation: z.ZodLiteral<"integrations.create">;
|
|
@@ -205,8 +207,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
205
207
|
id: z.ZodString;
|
|
206
208
|
clientId: z.ZodString;
|
|
207
209
|
clientType: z.ZodEnum<{
|
|
208
|
-
user: "user";
|
|
209
210
|
system: "system";
|
|
211
|
+
user: "user";
|
|
210
212
|
}>;
|
|
211
213
|
createdAt: z.ZodString;
|
|
212
214
|
operation: z.ZodLiteral<"integrations.refreshToken">;
|
|
@@ -220,8 +222,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
220
222
|
id: z.ZodString;
|
|
221
223
|
clientId: z.ZodString;
|
|
222
224
|
clientType: z.ZodEnum<{
|
|
223
|
-
user: "user";
|
|
224
225
|
system: "system";
|
|
226
|
+
user: "user";
|
|
225
227
|
}>;
|
|
226
228
|
createdAt: z.ZodString;
|
|
227
229
|
operation: z.ZodLiteral<"integrations.deactivate">;
|
|
@@ -236,8 +238,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
236
238
|
id: z.ZodString;
|
|
237
239
|
clientId: z.ZodString;
|
|
238
240
|
clientType: z.ZodEnum<{
|
|
239
|
-
user: "user";
|
|
240
241
|
system: "system";
|
|
242
|
+
user: "user";
|
|
241
243
|
}>;
|
|
242
244
|
createdAt: z.ZodString;
|
|
243
245
|
operation: z.ZodLiteral<"integrations.activate">;
|
|
@@ -252,8 +254,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
252
254
|
id: z.ZodString;
|
|
253
255
|
clientId: z.ZodString;
|
|
254
256
|
clientType: z.ZodEnum<{
|
|
255
|
-
user: "user";
|
|
256
257
|
system: "system";
|
|
258
|
+
user: "user";
|
|
257
259
|
}>;
|
|
258
260
|
createdAt: z.ZodString;
|
|
259
261
|
operation: z.ZodLiteral<"integrations.delete">;
|
|
@@ -268,8 +270,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
268
270
|
id: z.ZodString;
|
|
269
271
|
clientId: z.ZodString;
|
|
270
272
|
clientType: z.ZodEnum<{
|
|
271
|
-
user: "user";
|
|
272
273
|
system: "system";
|
|
274
|
+
user: "user";
|
|
273
275
|
}>;
|
|
274
276
|
createdAt: z.ZodString;
|
|
275
277
|
operation: z.ZodLiteral<"integrations.refreshSecret">;
|
|
@@ -283,8 +285,117 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
283
285
|
id: z.ZodString;
|
|
284
286
|
clientId: z.ZodString;
|
|
285
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";
|
|
286
380
|
user: "user";
|
|
381
|
+
}>;
|
|
382
|
+
createdAt: z.ZodString;
|
|
383
|
+
operation: z.ZodLiteral<"administrativeAreas.create">;
|
|
384
|
+
requestData: z.ZodObject<{
|
|
385
|
+
id: z.ZodString;
|
|
386
|
+
versionId: z.ZodString;
|
|
387
|
+
name: z.ZodString;
|
|
388
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
389
|
+
effectiveFrom: z.ZodString;
|
|
390
|
+
status: z.ZodString;
|
|
391
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
}, z.core.$strip>;
|
|
393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
394
|
+
id: z.ZodString;
|
|
395
|
+
clientId: z.ZodString;
|
|
396
|
+
clientType: z.ZodEnum<{
|
|
287
397
|
system: "system";
|
|
398
|
+
user: "user";
|
|
288
399
|
}>;
|
|
289
400
|
createdAt: z.ZodString;
|
|
290
401
|
operation: z.ZodLiteral<"attachments.upload">;
|
|
@@ -299,8 +410,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
299
410
|
id: z.ZodString;
|
|
300
411
|
clientId: z.ZodString;
|
|
301
412
|
clientType: z.ZodEnum<{
|
|
302
|
-
user: "user";
|
|
303
413
|
system: "system";
|
|
414
|
+
user: "user";
|
|
304
415
|
}>;
|
|
305
416
|
createdAt: z.ZodString;
|
|
306
417
|
operation: z.ZodLiteral<"user.create_user">;
|
|
@@ -313,8 +424,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
313
424
|
id: z.ZodString;
|
|
314
425
|
clientId: z.ZodString;
|
|
315
426
|
clientType: z.ZodEnum<{
|
|
316
|
-
user: "user";
|
|
317
427
|
system: "system";
|
|
428
|
+
user: "user";
|
|
318
429
|
}>;
|
|
319
430
|
createdAt: z.ZodString;
|
|
320
431
|
operation: z.ZodEnum<{
|
|
@@ -330,8 +441,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
330
441
|
id: z.ZodString;
|
|
331
442
|
clientId: z.ZodString;
|
|
332
443
|
clientType: z.ZodEnum<{
|
|
333
|
-
user: "user";
|
|
334
444
|
system: "system";
|
|
445
|
+
user: "user";
|
|
335
446
|
}>;
|
|
336
447
|
createdAt: z.ZodString;
|
|
337
448
|
operation: z.ZodEnum<{
|
|
@@ -352,8 +463,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
352
463
|
id: z.ZodString;
|
|
353
464
|
clientId: z.ZodString;
|
|
354
465
|
clientType: z.ZodEnum<{
|
|
355
|
-
user: "user";
|
|
356
466
|
system: "system";
|
|
467
|
+
user: "user";
|
|
357
468
|
}>;
|
|
358
469
|
createdAt: z.ZodString;
|
|
359
470
|
operation: z.ZodLiteral<"user.email_address_changed">;
|
|
@@ -367,8 +478,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
367
478
|
id: z.ZodString;
|
|
368
479
|
clientId: z.ZodString;
|
|
369
480
|
clientType: z.ZodEnum<{
|
|
370
|
-
user: "user";
|
|
371
481
|
system: "system";
|
|
482
|
+
user: "user";
|
|
372
483
|
}>;
|
|
373
484
|
createdAt: z.ZodString;
|
|
374
485
|
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<{
|