@opencrvs/toolkit 2.0.0-rc.ecef004 → 2.0.0-rc.ed0aa22
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/dist/commons/api/router.d.ts +1570 -1570
- package/dist/commons/application-config/index.d.ts +6 -6
- package/dist/commons/conditionals/conditionals.d.ts +323 -32
- package/dist/commons/events/ActionConfig.d.ts +77 -70
- package/dist/commons/events/ActionDocument.d.ts +107 -107
- package/dist/commons/events/ActionType.d.ts +57 -57
- package/dist/commons/events/AdvancedSearchConfig.d.ts +501 -501
- package/dist/commons/events/AuditLog.d.ts +41 -41
- 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 +35 -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 +43 -43
- 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 +331 -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 +817 -817
- 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 +198 -69
- package/dist/commons/events/locations.d.ts +4 -4
- package/dist/commons/events/mocks.test.utils.d.ts +2 -2
- package/dist/commons/events/scopes.d.ts +4 -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 +33 -33
- package/dist/commons/events/utils.d.ts +118 -110
- package/dist/commons/notification/UserNotifications.d.ts +10 -10
- package/dist/environment/derived-variables.d.ts +131 -131
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/logger.d.ts +12 -3
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +7 -17
- package/dist/environment/questions.d.ts +74 -75
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +14 -8
- package/dist/environment/swarm-to-k8s.js +7 -17
- package/dist/environment/update-workflows.js +7 -17
- package/dist/environment/users.js +7 -17
- package/dist/environment/utils.d.ts +1 -1
- package/dist/environment/utils.js +7 -17
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +36 -12
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +7 -17
- package/dist/migrations/v2.0/migrate-application-config-url.js +3 -4
- package/dist/migrations/v2.0/remove-hearth-migrations.js +7 -17
- package/dist/notification/index.js +22 -11
- package/dist/scopes/index.d.ts +140 -140
- package/opencrvs-toolkit-2.0.0-rc.ed0aa22.tgz +0 -0
- package/package.json +3 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.ecef004.tgz +0 -0
|
@@ -3,28 +3,28 @@ declare const EventActionEntrySchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
clientId: z.ZodString;
|
|
5
5
|
clientType: z.ZodEnum<{
|
|
6
|
-
system: "system";
|
|
7
6
|
user: "user";
|
|
7
|
+
system: "system";
|
|
8
8
|
}>;
|
|
9
9
|
createdAt: z.ZodString;
|
|
10
10
|
operation: z.ZodEnum<{
|
|
11
|
-
"event.actions.
|
|
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";
|
|
12
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
|
+
"event.actions.archive.request": "event.actions.archive.request";
|
|
21
|
+
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
22
|
+
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
23
|
+
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
13
24
|
"event.actions.correction.approve.request": "event.actions.correction.approve.request";
|
|
14
25
|
"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";
|
|
18
26
|
"event.actions.mark_as_duplicate.request": "event.actions.mark_as_duplicate.request";
|
|
19
27
|
"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.unassign.request": "event.actions.unassign.request";
|
|
27
|
-
"event.actions.validate.request": "event.actions.validate.request";
|
|
28
28
|
}>;
|
|
29
29
|
requestData: z.ZodObject<{
|
|
30
30
|
eventId: z.ZodString;
|
|
@@ -89,8 +89,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
89
89
|
id: z.ZodString;
|
|
90
90
|
clientId: z.ZodString;
|
|
91
91
|
clientType: z.ZodEnum<{
|
|
92
|
-
system: "system";
|
|
93
92
|
user: "user";
|
|
93
|
+
system: "system";
|
|
94
94
|
}>;
|
|
95
95
|
createdAt: z.ZodString;
|
|
96
96
|
operation: z.ZodLiteral<"event.create">;
|
|
@@ -107,8 +107,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
107
107
|
id: z.ZodString;
|
|
108
108
|
clientId: z.ZodString;
|
|
109
109
|
clientType: z.ZodEnum<{
|
|
110
|
-
system: "system";
|
|
111
110
|
user: "user";
|
|
111
|
+
system: "system";
|
|
112
112
|
}>;
|
|
113
113
|
createdAt: z.ZodString;
|
|
114
114
|
operation: z.ZodLiteral<"event.get">;
|
|
@@ -138,28 +138,28 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
138
138
|
id: z.ZodString;
|
|
139
139
|
clientId: z.ZodString;
|
|
140
140
|
clientType: z.ZodEnum<{
|
|
141
|
-
system: "system";
|
|
142
141
|
user: "user";
|
|
142
|
+
system: "system";
|
|
143
143
|
}>;
|
|
144
144
|
createdAt: z.ZodString;
|
|
145
145
|
operation: z.ZodEnum<{
|
|
146
|
-
"event.actions.
|
|
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";
|
|
147
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
|
+
"event.actions.archive.request": "event.actions.archive.request";
|
|
156
|
+
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
157
|
+
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
158
|
+
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
148
159
|
"event.actions.correction.approve.request": "event.actions.correction.approve.request";
|
|
149
160
|
"event.actions.correction.reject.request": "event.actions.correction.reject.request";
|
|
150
|
-
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
151
|
-
"event.actions.declare.request": "event.actions.declare.request";
|
|
152
|
-
"event.actions.edit.request": "event.actions.edit.request";
|
|
153
161
|
"event.actions.mark_as_duplicate.request": "event.actions.mark_as_duplicate.request";
|
|
154
162
|
"event.actions.mark_as_not_duplicate.request": "event.actions.mark_as_not_duplicate.request";
|
|
155
|
-
"event.actions.notify.request": "event.actions.notify.request";
|
|
156
|
-
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
157
|
-
"event.actions.read.request": "event.actions.read.request";
|
|
158
|
-
"event.actions.register.request": "event.actions.register.request";
|
|
159
|
-
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
160
|
-
"event.actions.reject.request": "event.actions.reject.request";
|
|
161
|
-
"event.actions.unassign.request": "event.actions.unassign.request";
|
|
162
|
-
"event.actions.validate.request": "event.actions.validate.request";
|
|
163
163
|
}>;
|
|
164
164
|
requestData: z.ZodObject<{
|
|
165
165
|
eventId: z.ZodString;
|
|
@@ -172,8 +172,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
172
172
|
id: z.ZodString;
|
|
173
173
|
clientId: z.ZodString;
|
|
174
174
|
clientType: z.ZodEnum<{
|
|
175
|
-
system: "system";
|
|
176
175
|
user: "user";
|
|
176
|
+
system: "system";
|
|
177
177
|
}>;
|
|
178
178
|
createdAt: z.ZodString;
|
|
179
179
|
operation: z.ZodLiteral<"event.actions.custom.request">;
|
|
@@ -189,8 +189,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
189
189
|
id: z.ZodString;
|
|
190
190
|
clientId: z.ZodString;
|
|
191
191
|
clientType: z.ZodEnum<{
|
|
192
|
-
system: "system";
|
|
193
192
|
user: "user";
|
|
193
|
+
system: "system";
|
|
194
194
|
}>;
|
|
195
195
|
createdAt: z.ZodString;
|
|
196
196
|
operation: z.ZodLiteral<"integrations.create">;
|
|
@@ -205,8 +205,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
205
205
|
id: z.ZodString;
|
|
206
206
|
clientId: z.ZodString;
|
|
207
207
|
clientType: z.ZodEnum<{
|
|
208
|
-
system: "system";
|
|
209
208
|
user: "user";
|
|
209
|
+
system: "system";
|
|
210
210
|
}>;
|
|
211
211
|
createdAt: z.ZodString;
|
|
212
212
|
operation: z.ZodLiteral<"integrations.refreshToken">;
|
|
@@ -220,8 +220,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
220
220
|
id: z.ZodString;
|
|
221
221
|
clientId: z.ZodString;
|
|
222
222
|
clientType: z.ZodEnum<{
|
|
223
|
-
system: "system";
|
|
224
223
|
user: "user";
|
|
224
|
+
system: "system";
|
|
225
225
|
}>;
|
|
226
226
|
createdAt: z.ZodString;
|
|
227
227
|
operation: z.ZodLiteral<"integrations.deactivate">;
|
|
@@ -236,8 +236,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
236
236
|
id: z.ZodString;
|
|
237
237
|
clientId: z.ZodString;
|
|
238
238
|
clientType: z.ZodEnum<{
|
|
239
|
-
system: "system";
|
|
240
239
|
user: "user";
|
|
240
|
+
system: "system";
|
|
241
241
|
}>;
|
|
242
242
|
createdAt: z.ZodString;
|
|
243
243
|
operation: z.ZodLiteral<"integrations.activate">;
|
|
@@ -252,8 +252,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
252
252
|
id: z.ZodString;
|
|
253
253
|
clientId: z.ZodString;
|
|
254
254
|
clientType: z.ZodEnum<{
|
|
255
|
-
system: "system";
|
|
256
255
|
user: "user";
|
|
256
|
+
system: "system";
|
|
257
257
|
}>;
|
|
258
258
|
createdAt: z.ZodString;
|
|
259
259
|
operation: z.ZodLiteral<"integrations.delete">;
|
|
@@ -268,8 +268,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
268
268
|
id: z.ZodString;
|
|
269
269
|
clientId: z.ZodString;
|
|
270
270
|
clientType: z.ZodEnum<{
|
|
271
|
-
system: "system";
|
|
272
271
|
user: "user";
|
|
272
|
+
system: "system";
|
|
273
273
|
}>;
|
|
274
274
|
createdAt: z.ZodString;
|
|
275
275
|
operation: z.ZodLiteral<"integrations.refreshSecret">;
|
|
@@ -283,8 +283,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
283
283
|
id: z.ZodString;
|
|
284
284
|
clientId: z.ZodString;
|
|
285
285
|
clientType: z.ZodEnum<{
|
|
286
|
-
system: "system";
|
|
287
286
|
user: "user";
|
|
287
|
+
system: "system";
|
|
288
288
|
}>;
|
|
289
289
|
createdAt: z.ZodString;
|
|
290
290
|
operation: z.ZodLiteral<"attachments.upload">;
|
|
@@ -299,8 +299,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
299
299
|
id: z.ZodString;
|
|
300
300
|
clientId: z.ZodString;
|
|
301
301
|
clientType: z.ZodEnum<{
|
|
302
|
-
system: "system";
|
|
303
302
|
user: "user";
|
|
303
|
+
system: "system";
|
|
304
304
|
}>;
|
|
305
305
|
createdAt: z.ZodString;
|
|
306
306
|
operation: z.ZodLiteral<"user.create_user">;
|
|
@@ -313,8 +313,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
313
313
|
id: z.ZodString;
|
|
314
314
|
clientId: z.ZodString;
|
|
315
315
|
clientType: z.ZodEnum<{
|
|
316
|
-
system: "system";
|
|
317
316
|
user: "user";
|
|
317
|
+
system: "system";
|
|
318
318
|
}>;
|
|
319
319
|
createdAt: z.ZodString;
|
|
320
320
|
operation: z.ZodEnum<{
|
|
@@ -330,8 +330,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
330
330
|
id: z.ZodString;
|
|
331
331
|
clientId: z.ZodString;
|
|
332
332
|
clientType: z.ZodEnum<{
|
|
333
|
-
system: "system";
|
|
334
333
|
user: "user";
|
|
334
|
+
system: "system";
|
|
335
335
|
}>;
|
|
336
336
|
createdAt: z.ZodString;
|
|
337
337
|
operation: z.ZodEnum<{
|
|
@@ -352,8 +352,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
352
352
|
id: z.ZodString;
|
|
353
353
|
clientId: z.ZodString;
|
|
354
354
|
clientType: z.ZodEnum<{
|
|
355
|
-
system: "system";
|
|
356
355
|
user: "user";
|
|
356
|
+
system: "system";
|
|
357
357
|
}>;
|
|
358
358
|
createdAt: z.ZodString;
|
|
359
359
|
operation: z.ZodLiteral<"user.email_address_changed">;
|
|
@@ -367,8 +367,8 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
367
367
|
id: z.ZodString;
|
|
368
368
|
clientId: z.ZodString;
|
|
369
369
|
clientType: z.ZodEnum<{
|
|
370
|
-
system: "system";
|
|
371
370
|
user: "user";
|
|
371
|
+
system: "system";
|
|
372
372
|
}>;
|
|
373
373
|
createdAt: z.ZodString;
|
|
374
374
|
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<{
|