@stigg/node-server-sdk - v4.22.1

    Type Alias SlimSubscriptionFragmentV2Fragment

    type SlimSubscriptionFragmentV2Fragment = {
        __typename?: "CustomerSubscription";
        additionalMetaData?: any | null;
        addons?:
            | {
                __typename?: "SubscriptionAddon";
                addon: { __typename?: "Addon"; addonId: string };
                quantity: number;
            }[]
            | null;
        cancellationDate?: any
        | null;
        currentBillingPeriodEnd?: any | null;
        customer: {
            __typename?: "Customer";
            customerId: string;
            email?: string | null;
        };
        effectiveEndDate?: any
        | null;
        endDate?: any | null;
        payingCustomer?:
            | {
                __typename?: "Customer";
                customerId: string;
                email?: string
                | null;
            }
            | null;
        plan: { __typename?: "Plan"; displayName: string; planId: string };
        prices?:
            | {
                __typename?: "SubscriptionPrice";
                billingModel?: BillingModel
                | null;
                price?:
                    | {
                        __typename?: "Price";
                        billingPeriod: BillingPeriod;
                        price?: | { __typename?: "Money"; amount: number; currency: Currency }
                        | null;
                    }
                    | null;
            }[]
            | null;
        pricingType: PricingType;
        resource?: { __typename?: "CustomerResource"; resourceId: string }
        | null;
        startDate: any;
        status: SubscriptionStatus;
        subscriptionId: string;
        trialConfiguration?:
            | {
                __typename?: "TrialConfiguration";
                trialEndBehavior: TrialEndBehavior;
            }
            | null;
        trialEndDate?: any
        | null;
    }
    Index

    Properties

    __typename?: "CustomerSubscription"
    additionalMetaData?: any | null
    addons?:
        | {
            __typename?: "SubscriptionAddon";
            addon: { __typename?: "Addon"; addonId: string };
            quantity: number;
        }[]
        | null
    cancellationDate?: any | null
    currentBillingPeriodEnd?: any | null
    customer: { __typename?: "Customer"; customerId: string; email?: string | null }
    effectiveEndDate?: any | null
    endDate?: any | null
    payingCustomer?:
        | { __typename?: "Customer"; customerId: string; email?: string
        | null }
        | null
    plan: { __typename?: "Plan"; displayName: string; planId: string }
    prices?:
        | {
            __typename?: "SubscriptionPrice";
            billingModel?: BillingModel
            | null;
            price?:
                | {
                    __typename?: "Price";
                    billingPeriod: BillingPeriod;
                    price?: | { __typename?: "Money"; amount: number; currency: Currency }
                    | null;
                }
                | null;
        }[]
        | null
    pricingType: PricingType
    resource?: { __typename?: "CustomerResource"; resourceId: string } | null
    startDate: any
    subscriptionId: string
    trialConfiguration?:
        | {
            __typename?: "TrialConfiguration";
            trialEndBehavior: TrialEndBehavior;
        }
        | null
    trialEndDate?: any | null
    MMNEPVFCICPMFPCPTTAAATR