membership.bonus.eligible.v1
Constant
import { EVENT_NAMES } from "@platform/contracts";
EVENT_NAMES.MEMBERSHIP_BONUS_ELIGIBLE_V1;Publishers
Subscribers
No service currently subscribes to this event.
Payload schema
z.object({
lock_id: z.string(),
membership_id: z.string(),
user_id: z.string(),
brand_id: z.string(),
subscription_id: z.string(),
tier: z.string(),
locked_at: z.string().datetime(),
released_at: z.string().datetime(),
}Delivery semantics
- At-least-once delivery. Consumers must dedupe by event ID.
- Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.