diff --git a/src/index.tsx b/src/index.tsx index 11cd3c0..8427e91 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -79,6 +79,12 @@ export enum AlignedIntervalEnum { Year = "YEAR", } +export type AppleIapSubscriptionOptionsGql = { + __typename?: "AppleIapSubscriptionOptionsGQL"; + enabled: Scalars["Boolean"]["output"]; + proMonthlyProductId?: Maybe; +}; + export type BankFeaturesGql = { __typename?: "BankFeaturesGQL"; bankAngle: Scalars["Float"]["output"]; @@ -3375,6 +3381,7 @@ export type StripeProductGql = { export type StripeSubscriptionOptionsGql = { __typename?: "StripeSubscriptionOptionsGQL"; + appleIap: AppleIapSubscriptionOptionsGql; products: Array; trialPeriodDays?: Maybe; }; diff --git a/src/schema.gql b/src/schema.gql index 8438740..c249eb3 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -996,6 +996,7 @@ type UserRelationship { type StripeSubscriptionOptionsGQL { products: [StripeProductGQL!]! trialPeriodDays: Int + appleIap: AppleIapSubscriptionOptionsGQL! } type StripeProductGQL { @@ -1016,6 +1017,11 @@ type StripePriceGQL { active: Boolean! } +type AppleIapSubscriptionOptionsGQL { + enabled: Boolean! + proMonthlyProductId: String +} + type UserSubscriptionStatusGQL { hasActiveSubscription: Boolean! entitlementSource: EntitlementSourceTypeEnum