Skip to content

Interface: SubscriptionTransitionRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SubscriptionTransitionRequest

Defined in: src/types/metering.ts:134

One subscription lifecycle transition.

expected: SubscriptionObservation

Defined in: src/types/metering.ts:138

What the caller observed; a stale observation is refused 409.


intentId: string

Defined in: src/types/metering.ts:136

The intent’s stable id; a retry replays the original answer.


operation: SubscriptionOperation

Defined in: src/types/metering.ts:140

The operation.


stripeSubscriptionId: string | null

Defined in: src/types/metering.ts:142

The billing provider’s subscription, or null.