Merge pull request #22146 from overleaf/ls-consider-flexible-licensing-on-payment-page

support new group plans in checkout flow

GitOrigin-RevId: ec6aff363e0eeb5d82067cea44479b5045258490
This commit is contained in:
Liangjun Song
2024-12-06 09:05:43 +00:00
committed by Copybot
parent 932f395932
commit dfea9dacab
4 changed files with 53 additions and 1 deletions
@@ -48,13 +48,18 @@ interface Coupon {
redemption_resource: string
}
interface AddOn {
code: string
quantity: number
}
// Extending the default interface as it lacks the `items` prop
export interface SubscriptionPricingInstanceCustom
extends SubscriptionPricingInstance,
SubscriptionPricingState {
id: string
items: {
addons: unknown[]
addons: AddOn[]
address?: Address
coupon?: Coupon
currency: string