HandlersUpgradeSubscriptionResponse
HandlersUpgradeSubscriptionResponse =
object
Defined in: src/client/types.gen.ts:3699
Properties
changed?
optionalchanged:boolean
Defined in: src/client/types.gen.ts:3709
Changed is false when the request was an idempotent no-op (the user was already on the requested tier+interval) and true when the subscription was actually upgraded. Clients should gate upgrade side-effects (success toast, plan_upgraded analytics, ad-conversion events) on Changed so a stale client re-submitting the current plan doesn’t emit spurious conversions. Either way NewPlan/NewInterval reflect the authoritative current plan, so clients can trust them to self-correct stale local state without a follow-up status fetch.
message
message:
string
Defined in: src/client/types.gen.ts:3710
new_interval
new_interval:
string
Defined in: src/client/types.gen.ts:3711
new_plan
new_plan:
string
Defined in: src/client/types.gen.ts:3712