feat(activity): added user info to checkout_subscription and subscription upgrade (#4967)

* feat: added userId to checkout_subscription
* feat: add update intent to subscription
This commit is contained in:
Daniel Gak Anagrov
2025-06-24 15:34:26 +02:00
committed by GitHub
parent 2d8cab7772
commit 51d6a8dd67
18 changed files with 416 additions and 178 deletions
@@ -290,6 +290,7 @@ export const createTestWorkspace = async (
currentBillingCycleEnd: dayjs().add(1, 'month').toDate(),
billingInterval: 'monthly',
currency: 'usd',
updateIntent: null,
subscriptionData: {
subscriptionId: cryptoRandomString({ length: 10 }),
customerId: cryptoRandomString({ length: 10 }),