@opencrvs/toolkit 1.9.13-rc.fc5374d → 2.0.0-rc.e0918cb
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 +13 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/application-config/index.d.ts +2 -0
- package/dist/application-config/index.d.ts.map +1 -0
- package/dist/application-config/index.js +2128 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +3633 -0
- package/dist/commons/api/router.d.ts +3438 -2300
- package/dist/commons/application-config/index.d.ts +84 -0
- package/dist/commons/conditionals/conditionals.d.ts +27 -3
- package/dist/commons/conditionals/validate.d.ts +13 -3
- package/dist/commons/events/ActionConfig.d.ts +415 -1555
- package/dist/commons/events/ActionDocument.d.ts +888 -1941
- package/dist/commons/events/ActionInput.d.ts +277 -1073
- package/dist/commons/events/ActionType.d.ts +91 -11
- package/dist/commons/events/AdvancedSearchConfig.d.ts +294 -1496
- package/dist/commons/events/AuditLog.d.ts +405 -0
- package/dist/commons/events/CompositeFieldValue.d.ts +30 -190
- package/dist/commons/events/Conditional.d.ts +26 -38
- package/dist/commons/events/Constants.d.ts +1 -1
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1592 -4471
- package/dist/commons/events/DeduplicationConfig.d.ts +15 -171
- package/dist/commons/events/Draft.d.ts +72 -107
- package/dist/commons/events/DynamicFieldValue.d.ts +12 -78
- package/dist/commons/events/EventConfig.d.ts +37 -2420
- package/dist/commons/events/EventConfigInput.d.ts +0 -3
- package/dist/commons/events/EventDocument.d.ts +354 -1366
- package/dist/commons/events/EventIndex.d.ts +212 -1010
- package/dist/commons/events/EventInput.d.ts +3 -8
- package/dist/commons/events/EventMetadata.d.ts +130 -357
- package/dist/commons/events/FieldConfig.d.ts +2892 -12892
- package/dist/commons/events/FieldType.d.ts +26 -4
- package/dist/commons/events/FieldTypeMapping.d.ts +314 -906
- package/dist/commons/events/FieldValue.d.ts +149 -527
- package/dist/commons/events/FileUtils.d.ts +2 -2
- package/dist/commons/events/Flag.d.ts +67 -0
- package/dist/commons/events/FormConfig.d.ts +54 -721
- package/dist/commons/events/PageConfig.d.ts +58 -320
- package/dist/commons/events/PlainDate.d.ts +1 -1
- package/dist/commons/events/SummaryConfig.d.ts +14 -161
- package/dist/commons/events/TemplateConfig.d.ts +2 -3
- package/dist/commons/events/TranslationConfig.d.ts +2 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +74 -37
- package/dist/commons/events/WorkqueueConfig.d.ts +2208 -7553
- package/dist/commons/events/deduplication.d.ts +3 -3
- package/dist/commons/events/defineConfig.d.ts +2 -247
- package/dist/commons/events/eventConfigValidation.d.ts +8 -0
- package/dist/commons/events/index.d.ts +3 -0
- package/dist/commons/events/locations.d.ts +57 -20
- package/dist/commons/events/scopes.d.ts +36 -35
- package/dist/commons/events/state/availableActions.d.ts +7 -2
- package/dist/commons/events/state/flags.d.ts +21 -3
- package/dist/commons/events/state/index.d.ts +30 -27
- package/dist/commons/events/state/utils.d.ts +190 -172
- package/dist/commons/events/test.utils.d.ts +52 -11
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +373 -273
- package/dist/commons/notification/UserNotifications.d.ts +61 -637
- package/dist/conditionals/index.d.ts.map +1 -1
- package/dist/conditionals/index.js +302 -14
- package/dist/events/deduplication.d.ts +3 -3
- package/dist/events/index.js +2860 -2115
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +3 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +405 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +3 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -0
- package/dist/migrations/v2.0/checkout-upstream-files.js +143 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +2 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +829 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +3 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +159 -0
- package/dist/migrations/v2.0/create-events-index.d.ts +3 -0
- package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -0
- package/dist/migrations/v2.0/create-events-index.js +326 -0
- package/dist/migrations/v2.0/index.d.ts +7 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -0
- package/dist/migrations/v2.0/index.js +3572 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +3 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +344 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-scopes.js +282 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +268 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +237 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts +3 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-delete-actions.js +157 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts +3 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-demo-scope.js +75 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +3 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.js +97 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +3 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.js +78 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +3 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +110 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +3 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.js +164 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts +3 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-api-paths.js +188 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts +3 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-location-parent-id.js +181 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts +3 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +196 -0
- package/dist/notification/index.d.ts.map +1 -1
- package/dist/notification/index.js +2076 -1767
- package/dist/scopes/index.d.ts +640 -353
- package/dist/scopes/index.d.ts.map +1 -1
- package/dist/scopes/index.js +340 -300
- package/opencrvs-toolkit-2.0.0-rc.e0918cb.tgz +0 -0
- package/package.json +18 -8
- package/tsconfig.json +12 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/commons/events/CreatedAtLocation.d.ts +0 -2
|
@@ -1,53 +1,90 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
export declare const WorkqueueColumnKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "placeOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"];
|
|
3
|
+
export declare const WorkqueueColumnKeys: z.ZodEnum<{
|
|
4
|
+
id: "id";
|
|
5
|
+
title: "title";
|
|
6
|
+
type: "type";
|
|
7
|
+
updatedAt: "updatedAt";
|
|
8
|
+
placeOfEvent: "placeOfEvent";
|
|
9
|
+
createdByUserType: "createdByUserType";
|
|
10
|
+
createdAt: "createdAt";
|
|
11
|
+
createdBy: "createdBy";
|
|
12
|
+
createdAtLocation: "createdAtLocation";
|
|
13
|
+
status: "status";
|
|
14
|
+
assignedTo: "assignedTo";
|
|
15
|
+
trackingId: "trackingId";
|
|
16
|
+
legalStatuses: "legalStatuses";
|
|
17
|
+
dateOfEvent: "dateOfEvent";
|
|
18
|
+
updatedByUserRole: "updatedByUserRole";
|
|
19
|
+
updatedAtLocation: "updatedAtLocation";
|
|
20
|
+
updatedBy: "updatedBy";
|
|
21
|
+
flags: "flags";
|
|
22
|
+
outbox: "outbox";
|
|
23
|
+
}>;
|
|
5
24
|
export type WorkqueueColumnKeys = z.infer<typeof WorkqueueColumnKeys>;
|
|
6
25
|
export declare const WorkqueueColumnValue: z.ZodObject<{
|
|
7
|
-
$event: z.ZodEnum<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
26
|
+
$event: z.ZodEnum<{
|
|
27
|
+
id: "id";
|
|
28
|
+
title: "title";
|
|
29
|
+
type: "type";
|
|
30
|
+
updatedAt: "updatedAt";
|
|
31
|
+
placeOfEvent: "placeOfEvent";
|
|
32
|
+
createdByUserType: "createdByUserType";
|
|
33
|
+
createdAt: "createdAt";
|
|
34
|
+
createdBy: "createdBy";
|
|
35
|
+
createdAtLocation: "createdAtLocation";
|
|
36
|
+
status: "status";
|
|
37
|
+
assignedTo: "assignedTo";
|
|
38
|
+
trackingId: "trackingId";
|
|
39
|
+
legalStatuses: "legalStatuses";
|
|
40
|
+
dateOfEvent: "dateOfEvent";
|
|
41
|
+
updatedByUserRole: "updatedByUserRole";
|
|
42
|
+
updatedAtLocation: "updatedAtLocation";
|
|
43
|
+
updatedBy: "updatedBy";
|
|
44
|
+
flags: "flags";
|
|
45
|
+
outbox: "outbox";
|
|
46
|
+
}>;
|
|
47
|
+
}, z.core.$strip>;
|
|
13
48
|
export type WorkqueueColumnValue = z.infer<typeof WorkqueueColumnValue>;
|
|
14
49
|
/**
|
|
15
50
|
* Configuration for column header and value of cell of workqueue.
|
|
16
51
|
*/
|
|
17
52
|
export declare const WorkqueueColumn: z.ZodObject<{
|
|
18
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod,
|
|
19
|
-
id: string;
|
|
20
|
-
description: string;
|
|
21
|
-
defaultMessage: string;
|
|
22
|
-
}>;
|
|
53
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
23
54
|
value: z.ZodObject<{
|
|
24
|
-
$event: z.ZodEnum<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
55
|
+
$event: z.ZodEnum<{
|
|
56
|
+
id: "id";
|
|
57
|
+
title: "title";
|
|
58
|
+
type: "type";
|
|
59
|
+
updatedAt: "updatedAt";
|
|
60
|
+
placeOfEvent: "placeOfEvent";
|
|
61
|
+
createdByUserType: "createdByUserType";
|
|
62
|
+
createdAt: "createdAt";
|
|
63
|
+
createdBy: "createdBy";
|
|
64
|
+
createdAtLocation: "createdAtLocation";
|
|
65
|
+
status: "status";
|
|
66
|
+
assignedTo: "assignedTo";
|
|
67
|
+
trackingId: "trackingId";
|
|
68
|
+
legalStatuses: "legalStatuses";
|
|
69
|
+
dateOfEvent: "dateOfEvent";
|
|
70
|
+
updatedByUserRole: "updatedByUserRole";
|
|
71
|
+
updatedAtLocation: "updatedAtLocation";
|
|
72
|
+
updatedBy: "updatedBy";
|
|
73
|
+
flags: "flags";
|
|
74
|
+
outbox: "outbox";
|
|
75
|
+
}>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export type WorkqueueColumn = z.infer<typeof WorkqueueColumn>;
|
|
79
|
+
export type WorkqueueColumnInput = z.infer<typeof WorkqueueColumn>;
|
|
80
|
+
export declare function defineWorkqueuesColumns(workqueueColumns: WorkqueueColumnInput[]): {
|
|
39
81
|
label: {
|
|
40
82
|
id: string;
|
|
41
|
-
description: string;
|
|
42
83
|
defaultMessage: string;
|
|
84
|
+
description: string;
|
|
43
85
|
};
|
|
44
|
-
}>;
|
|
45
|
-
export type WorkqueueColumn = z.infer<typeof WorkqueueColumn>;
|
|
46
|
-
export type WorkqueueColumnInput = z.infer<typeof WorkqueueColumn>;
|
|
47
|
-
export declare function defineWorkqueuesColumns(workqueueColumns: WorkqueueColumnInput[]): {
|
|
48
86
|
value: {
|
|
49
|
-
$event: "
|
|
87
|
+
$event: "id" | "title" | "type" | "updatedAt" | "placeOfEvent" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "status" | "assignedTo" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
|
50
88
|
};
|
|
51
|
-
label: TranslationConfig;
|
|
52
89
|
}[];
|
|
53
90
|
//# sourceMappingURL=WorkqueueColumnConfig.d.ts.map
|