diff --git a/src/index.tsx b/src/index.tsx index eda08cb..cddd57a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -83,6 +83,7 @@ export type AppleIapSubscriptionOptionsGql = { __typename?: "AppleIapSubscriptionOptionsGQL"; enabled: Scalars["Boolean"]["output"]; proMonthlyProductId?: Maybe; + productIds: Array; }; export type BankFeaturesGql = { @@ -5057,6 +5058,12 @@ export type GetAvailableSubscriptionOptionsQuery = { active: boolean; }>; }>; + appleIap: { + __typename?: "AppleIapSubscriptionOptionsGQL"; + enabled: boolean; + proMonthlyProductId?: string | null; + productIds: Array; + }; }; }; @@ -10661,6 +10668,11 @@ export const GetAvailableSubscriptionOptionsDocument = gql` active } } + appleIap { + enabled + proMonthlyProductId + productIds + } } } `; diff --git a/src/operations/payments.gql b/src/operations/payments.gql index cc664e3..afd083d 100644 --- a/src/operations/payments.gql +++ b/src/operations/payments.gql @@ -44,6 +44,11 @@ query GetAvailableSubscriptionOptions { active } } + appleIap { + enabled + proMonthlyProductId + productIds + } } } diff --git a/src/schema.gql b/src/schema.gql index 8eae793..c4e4672 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -1034,6 +1034,7 @@ type StripePriceGQL { type AppleIapSubscriptionOptionsGQL { enabled: Boolean! proMonthlyProductId: String + productIds: [String!]! } type UserSubscriptionStatusGQL {