From bf21a314f74ca59f5f0c6147b99c45f2b9e4463c Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 15 Jun 2026 18:18:52 -0700 Subject: [PATCH] Add Apple IAP subscription options schema --- src/index.tsx | 7 +++++++ src/schema.gql | 6 ++++++ 2 files changed, 13 insertions(+) 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