AfterEvent
type AfterEvent = | { actor: | Actor | null; at: string; customer: string; previous?: Subscription; subscription: Subscription; type: "subscription.changed";} | { actor: | Actor | null; at: string; customer: string; subscription: Subscription; type: "subscription.removed";} | { actor: | Actor | null; at: string; customer: string; grant: Grant; type: "grant.created";} | { actor: | Actor | null; at: string; customer: string; grant: Grant; type: "grant.revoked";} | { actor: | Actor | null; at: string; customer: string; override: Override; type: "override.created";} | { actor: | Actor | null; at: string; customer: string; override: Override; type: "override.removed";} | { actor: | Actor | null; at: string; customer: string; feature: string; type: "usage.reset";} | { actor: | Actor | null; at: string; customer: string; feature: string; type: "usage.set"; value: number;} | { actor: | Actor | null; at: string; customer: string; state: CustomerState; type: "customer.updated";} | { actor: | Actor | null; at: string; customer: string; state: CustomerState; type: "customer.deleted";};Defined in: src/hooks/contract.ts:44
Events delivered to after hooks (committed).