diff --git a/src/index.tsx b/src/index.tsx index 0e2db20..e50e541 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5040,6 +5040,11 @@ export type GetAvailableSubscriptionOptionsQuery = { getAvailableSubscriptionOptions: { __typename?: "StripeSubscriptionOptionsGQL"; trialPeriodDays?: number | null; + appleIap: { + __typename?: "AppleIapSubscriptionOptionsGQL"; + enabled: boolean; + proMonthlyProductId?: string | null; + }; products: Array<{ __typename?: "StripeProductGQL"; id: string; @@ -10684,6 +10689,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