@i4e/invest4edu-access-core 0.22.0 → 0.23.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i4e/invest4edu-access-core",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "Shared access-control primitives for NeoFindesk: tenant keystone, role capabilities, reportee tree, feature flags, and the unified access engine (registry schema, snapshot resolver, visibleWhen).",
5
5
  "type": "module",
6
6
  "exports": {
@@ -70,6 +70,12 @@ export const SUBSCRIPTION_EVENT_TYPES = Object.freeze([
70
70
  // Consumption that happened outside the software — a webinar attended, a VPD session held.
71
71
  // There is no request behind it, so this event is the only record of who said it happened.
72
72
  "usage_recorded",
73
+ /**
74
+ * A term closed with credits unspent and the plan's policy carried them forward. Worth its own
75
+ * type because a customer WILL ask why their balance is bigger than their allowance, and the
76
+ * answer — which period it came from, how much, and what the cap did — has to be findable.
77
+ */
78
+ "credits_rolled_over",
73
79
  /**
74
80
  * The refund conversation, recorded as it happens rather than reconstructed afterwards.
75
81
  *