Add trial days to GetAvailableSubscriptions #239
@@ -3270,6 +3270,7 @@ export type StripeProductGql = {
|
||||
export type StripeSubscriptionOptionsGql = {
|
||||
__typename?: "StripeSubscriptionOptionsGQL";
|
||||
products: Array<StripeProductGql>;
|
||||
trialPeriodDays?: Maybe<Scalars["Int"]["output"]>;
|
||||
};
|
||||
|
||||
export enum StripeSubscriptionStatusEnum {
|
||||
@@ -4727,6 +4728,7 @@ export type GetAvailableSubscriptionOptionsQuery = {
|
||||
__typename?: "Query";
|
||||
getAvailableSubscriptionOptions: {
|
||||
__typename?: "StripeSubscriptionOptionsGQL";
|
||||
trialPeriodDays?: number | null;
|
||||
products: Array<{
|
||||
__typename?: "StripeProductGQL";
|
||||
id: string;
|
||||
@@ -9660,6 +9662,7 @@ export type CreateCustomerPortalSessionMutationOptions =
|
||||
export const GetAvailableSubscriptionOptionsDocument = gql`
|
||||
query GetAvailableSubscriptionOptions {
|
||||
getAvailableSubscriptionOptions {
|
||||
trialPeriodDays
|
||||
products {
|
||||
id
|
||||
name
|
||||
|
||||
@@ -28,6 +28,7 @@ mutation CreateCustomerPortalSession {
|
||||
|
||||
query GetAvailableSubscriptionOptions {
|
||||
getAvailableSubscriptionOptions {
|
||||
trialPeriodDays
|
||||
products {
|
||||
id
|
||||
name
|
||||
|
||||
@@ -940,6 +940,7 @@ type UserRelationship {
|
||||
|
||||
type StripeSubscriptionOptionsGQL {
|
||||
products: [StripeProductGQL!]!
|
||||
trialPeriodDays: Int
|
||||
}
|
||||
|
||||
type StripeProductGQL {
|
||||
|
||||
Reference in New Issue
Block a user