@opencrvs/toolkit 1.9.2-rc.c3822a1 → 1.9.2-rc.f6dcfa6

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.
Files changed (56) hide show
  1. package/dist/commons/api/router.d.ts +1620 -26666
  2. package/dist/commons/conditionals/conditionals.d.ts +1 -10
  3. package/dist/commons/conditionals/validate.d.ts +4 -11
  4. package/dist/commons/events/ActionConfig.d.ts +1525 -21293
  5. package/dist/commons/events/ActionDocument.d.ts +1849 -764
  6. package/dist/commons/events/ActionInput.d.ts +1066 -264
  7. package/dist/commons/events/ActionType.d.ts +8 -85
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +1238 -211
  9. package/dist/commons/events/CompositeFieldValue.d.ts +176 -25
  10. package/dist/commons/events/Conditional.d.ts +38 -26
  11. package/dist/commons/events/Constants.d.ts +1 -1
  12. package/dist/commons/events/CountryConfigQueryInput.d.ts +4169 -919
  13. package/dist/commons/events/CreatedAtLocation.d.ts +1 -1
  14. package/dist/commons/events/DeduplicationConfig.d.ts +150 -15
  15. package/dist/commons/events/Draft.d.ts +105 -70
  16. package/dist/commons/events/DynamicFieldValue.d.ts +91 -7
  17. package/dist/commons/events/EventConfig.d.ts +2096 -17110
  18. package/dist/commons/events/EventConfigInput.d.ts +1 -1
  19. package/dist/commons/events/EventDocument.d.ts +1326 -311
  20. package/dist/commons/events/EventIndex.d.ts +967 -191
  21. package/dist/commons/events/EventInput.d.ts +8 -2
  22. package/dist/commons/events/EventMetadata.d.ts +345 -102
  23. package/dist/commons/events/FieldConfig.d.ts +11775 -4088
  24. package/dist/commons/events/FieldType.d.ts +2 -6
  25. package/dist/commons/events/FieldTypeMapping.d.ts +810 -164
  26. package/dist/commons/events/FieldValue.d.ts +354 -80
  27. package/dist/commons/events/FormConfig.d.ts +697 -12636
  28. package/dist/commons/events/PageConfig.d.ts +314 -8441
  29. package/dist/commons/events/SummaryConfig.d.ts +161 -14
  30. package/dist/commons/events/TranslationConfig.d.ts +2 -2
  31. package/dist/commons/events/WorkqueueColumnConfig.d.ts +36 -70
  32. package/dist/commons/events/WorkqueueConfig.d.ts +7080 -1597
  33. package/dist/commons/events/deduplication.d.ts +3 -3
  34. package/dist/commons/events/defineConfig.d.ts +155 -24703
  35. package/dist/commons/events/index.d.ts +0 -1
  36. package/dist/commons/events/locations.d.ts +19 -15
  37. package/dist/commons/events/scopes.d.ts +0 -1
  38. package/dist/commons/events/state/availableActions.d.ts +1 -2
  39. package/dist/commons/events/state/flags.d.ts +3 -21
  40. package/dist/commons/events/state/index.d.ts +19 -17
  41. package/dist/commons/events/state/utils.d.ts +112 -127
  42. package/dist/commons/events/test.utils.d.ts +5 -11
  43. package/dist/commons/events/transactions.d.ts +1 -1
  44. package/dist/commons/events/utils.d.ts +359 -49444
  45. package/dist/commons/notification/UserNotifications.d.ts +636 -55
  46. package/dist/conditionals/index.d.ts.map +1 -1
  47. package/dist/conditionals/index.js +5 -38
  48. package/dist/events/deduplication.d.ts +3 -3
  49. package/dist/events/index.js +1360 -1502
  50. package/dist/notification/index.d.ts.map +1 -1
  51. package/dist/notification/index.js +1279 -1276
  52. package/dist/scopes/index.d.ts +136 -106
  53. package/dist/scopes/index.d.ts.map +1 -1
  54. package/dist/scopes/index.js +93 -116
  55. package/package.json +5 -5
  56. package/dist/commons/events/Flag.d.ts +0 -43
@@ -1,43 +0,0 @@
1
- import * as z from 'zod/v4';
2
- export declare const InherentFlags: {
3
- readonly PENDING_CERTIFICATION: "pending-certification";
4
- readonly INCOMPLETE: "incomplete";
5
- readonly REJECTED: "rejected";
6
- readonly CORRECTION_REQUESTED: "correction-requested";
7
- readonly POTENTIAL_DUPLICATE: "potential-duplicate";
8
- };
9
- export type InherentFlags = (typeof InherentFlags)[keyof typeof InherentFlags];
10
- export declare const ActionFlag: z.ZodString;
11
- export type ActionFlag = z.infer<typeof ActionFlag>;
12
- /** Custom flag identifier defined by the country config. These may not match any InherentFlags or ActionFlag patterns. */
13
- export declare const CustomFlag: z.ZodString;
14
- export type CustomFlag = z.infer<typeof CustomFlag>;
15
- export declare const Flag: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
16
- readonly PENDING_CERTIFICATION: "pending-certification";
17
- readonly INCOMPLETE: "incomplete";
18
- readonly REJECTED: "rejected";
19
- readonly CORRECTION_REQUESTED: "correction-requested";
20
- readonly POTENTIAL_DUPLICATE: "potential-duplicate";
21
- }>]>, z.ZodString]>;
22
- export type Flag = z.infer<typeof Flag>;
23
- /**
24
- * Configuration of a custom flag that can be associated with a certain event type.
25
- */
26
- export declare const FlagConfig: z.ZodObject<{
27
- id: z.ZodString;
28
- requiresAction: z.ZodBoolean;
29
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
30
- }, z.core.$strip>;
31
- export type FlagConfig = z.infer<typeof FlagConfig>;
32
- /**
33
- * Configuration for a flag action, which is executed when the action is performed.
34
- */
35
- export declare const ActionFlagConfig: z.ZodObject<{
36
- id: z.ZodString;
37
- operation: z.ZodEnum<{
38
- add: "add";
39
- remove: "remove";
40
- }>;
41
- conditional: z.ZodOptional<z.ZodAny>;
42
- }, z.core.$strip>;
43
- //# sourceMappingURL=Flag.d.ts.map