diff --git a/src/index.tsx b/src/index.tsx index 14a2368..b3c15a4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5012,6 +5012,11 @@ export type GetAvailableSubscriptionOptionsQuery = { getAvailableSubscriptionOptions: { __typename?: "StripeSubscriptionOptionsGQL"; trialPeriodDays?: number | null; + appleIap: { + __typename?: "AppleIapSubscriptionOptionsGQL"; + enabled: boolean; + proMonthlyProductId?: string | null; + }; products: Array<{ __typename?: "StripeProductGQL"; id: string; @@ -10632,6 +10637,10 @@ export const GetAvailableSubscriptionOptionsDocument = gql` query GetAvailableSubscriptionOptions { getAvailableSubscriptionOptions { trialPeriodDays + appleIap { + enabled + proMonthlyProductId + } products { id name diff --git a/src/operations/payments.gql b/src/operations/payments.gql index dd67eca..a1d3c3f 100644 --- a/src/operations/payments.gql +++ b/src/operations/payments.gql @@ -29,6 +29,10 @@ mutation CreateCustomerPortalSession { query GetAvailableSubscriptionOptions { getAvailableSubscriptionOptions { trialPeriodDays + appleIap { + enabled + proMonthlyProductId + } products { id name