Add Apple IAP product config to subscription options
All checks were successful
Tests / Tests (pull_request) Successful in 10s

This commit is contained in:
2026-06-16 13:42:20 -07:00
parent 113a2e457c
commit 61799bd4de
2 changed files with 13 additions and 0 deletions

View File

@@ -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

View File

@@ -29,6 +29,10 @@ mutation CreateCustomerPortalSession {
query GetAvailableSubscriptionOptions {
getAvailableSubscriptionOptions {
trialPeriodDays
appleIap {
enabled
proMonthlyProductId
}
products {
id
name