Type Alias: CreditEventType
CreditEventType =
"credits.deducted"|"credits.deduct_failed"|"credits.added"|"credits.refunded"|"credits.refund_failed"|"credits.expired"|"credits.cap_reached"|"credits.cap_warning"|"credits.low_balance"|"credits.plan_changed"|"credits.reserved"|"credits.reservation_released"|"credits.lease_expired"|"credits.overdraft"|"credits.floor_breach"|"credits.cycle_renewed"|"credits.feature_limit_reached"|"credits.feature_limit_warning"
Defined in: javascript/src/stores/events.ts:27
All credit lifecycle event types.
Success events (credits.deducted/credits.refunded/…) are emitted by
CreditManager only after the underlying store operation committed without
an error (contract §6). Failure events (credits.deduct_failed /
credits.refund_failed) carry the store's business-error code in
data.error for observability/fraud monitoring.