Merge pull request 'Add trial days to GetAvailableSubscriptions' (#239) from loewy/add-trial-period-days into master
Reviewed-on: #239
This commit is contained in:
@@ -3270,6 +3270,7 @@ export type StripeProductGql = {
|
|||||||
export type StripeSubscriptionOptionsGql = {
|
export type StripeSubscriptionOptionsGql = {
|
||||||
__typename?: "StripeSubscriptionOptionsGQL";
|
__typename?: "StripeSubscriptionOptionsGQL";
|
||||||
products: Array<StripeProductGql>;
|
products: Array<StripeProductGql>;
|
||||||
|
trialPeriodDays?: Maybe<Scalars["Int"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum StripeSubscriptionStatusEnum {
|
export enum StripeSubscriptionStatusEnum {
|
||||||
@@ -4727,6 +4728,7 @@ export type GetAvailableSubscriptionOptionsQuery = {
|
|||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getAvailableSubscriptionOptions: {
|
getAvailableSubscriptionOptions: {
|
||||||
__typename?: "StripeSubscriptionOptionsGQL";
|
__typename?: "StripeSubscriptionOptionsGQL";
|
||||||
|
trialPeriodDays?: number | null;
|
||||||
products: Array<{
|
products: Array<{
|
||||||
__typename?: "StripeProductGQL";
|
__typename?: "StripeProductGQL";
|
||||||
id: string;
|
id: string;
|
||||||
@@ -9660,6 +9662,7 @@ export type CreateCustomerPortalSessionMutationOptions =
|
|||||||
export const GetAvailableSubscriptionOptionsDocument = gql`
|
export const GetAvailableSubscriptionOptionsDocument = gql`
|
||||||
query GetAvailableSubscriptionOptions {
|
query GetAvailableSubscriptionOptions {
|
||||||
getAvailableSubscriptionOptions {
|
getAvailableSubscriptionOptions {
|
||||||
|
trialPeriodDays
|
||||||
products {
|
products {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ mutation CreateCustomerPortalSession {
|
|||||||
|
|
||||||
query GetAvailableSubscriptionOptions {
|
query GetAvailableSubscriptionOptions {
|
||||||
getAvailableSubscriptionOptions {
|
getAvailableSubscriptionOptions {
|
||||||
|
trialPeriodDays
|
||||||
products {
|
products {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
|
|||||||
@@ -940,6 +940,7 @@ type UserRelationship {
|
|||||||
|
|
||||||
type StripeSubscriptionOptionsGQL {
|
type StripeSubscriptionOptionsGQL {
|
||||||
products: [StripeProductGQL!]!
|
products: [StripeProductGQL!]!
|
||||||
|
trialPeriodDays: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
type StripeProductGQL {
|
type StripeProductGQL {
|
||||||
|
|||||||
Reference in New Issue
Block a user