14 lines
451 B
TypeScript
14 lines
451 B
TypeScript
import type { FullCusProduct, FullCustomer, FullProduct } from "@shared/index";
|
|
import type Stripe from "stripe";
|
|
|
|
export type UpdateSubscriptionContext = {
|
|
fullCustomer: FullCustomer;
|
|
product: FullProduct;
|
|
customerProduct: FullCusProduct;
|
|
stripeSubscription: Stripe.Subscription;
|
|
stripeSubscriptionSchedule?: Stripe.SubscriptionSchedule;
|
|
stripeCustomer: Stripe.Customer;
|
|
paymentMethod?: Stripe.PaymentMethod;
|
|
testClockFrozenTime?: number;
|
|
};
|