@stigg/js-client-sdk - v3.94.0

    Type Alias SubscriptionFragment

    type SubscriptionFragment = {
        __typename?: "CustomerSubscription";
        additionalMetaData?: any | null;
        addons?:
            | {
                __typename?: "SubscriptionAddon";
                addon: { __typename?: "Addon" } & AddonFragment;
                id: any;
                quantity: number;
            }[]
            | null;
        billingId?: string
        | null;
        billingLinkUrl?: string | null;
        billingSyncError?: string | null;
        cancellationDate?: any | null;
        currentBillingPeriodEnd?: any | null;
        effectiveEndDate?: any | null;
        endDate?: any | null;
        experimentInfo?:
            | {
                __typename?: "experimentInfo";
                groupName: string;
                groupType: ExperimentGroupType;
                id: string;
                name: string;
            }
            | null;
        futureUpdates: (
            { __typename?: "SubscriptionFutureUpdate" } & SubscriptionFutureUpdateDataFragment
        )[];
        id: any;
        latestInvoice?:
            | { __typename?: "SubscriptionInvoice" } & SubscriptionInvoiceFragment
            | null;
        payingCustomer?: { __typename?: "Customer" } & SlimCustomerFragment | null;
        paymentCollection: PaymentCollection;
        paymentCollectionMethod?: PaymentCollectionMethod | null;
        plan: { __typename?: "Plan" } & PlanFragment;
        prices?:
            | {
                __typename?: "SubscriptionPrice";
                price?: { __typename?: "Price" } & PriceFragment
                | null;
                usageLimit?: number | null;
            }[]
            | null;
        pricingType: PricingType;
        refId: string;
        resource?: | { __typename?: "CustomerResource" } & CustomerResourceFragment
        | null;
        scheduledUpdates?:
            | (
                { __typename?: "SubscriptionScheduledUpdate" } & SubscriptionScheduledUpdateDataFragment
            )[]
            | null;
        startDate: any;
        status: SubscriptionStatus;
        subscriptionId: string;
        totalPrice?:
            | { __typename?: "CustomerSubscriptionTotalPrice" } & TotalPriceFragment
            | null;
        trialConfiguration?:
            | { __typename?: "TrialConfiguration" } & SubscriptionTrialConfigurationFragment
            | null;
        trialEndDate?: any | null;
    }
    Index

    Properties

    __typename?: "CustomerSubscription"
    additionalMetaData?: any | null
    addons?:
        | {
            __typename?: "SubscriptionAddon";
            addon: { __typename?: "Addon" } & AddonFragment;
            id: any;
            quantity: number;
        }[]
        | null
    billingId?: string | null
    billingLinkUrl?: string | null
    billingSyncError?: string | null
    cancellationDate?: any | null
    currentBillingPeriodEnd?: any | null
    effectiveEndDate?: any | null
    endDate?: any | null
    experimentInfo?:
        | {
            __typename?: "experimentInfo";
            groupName: string;
            groupType: ExperimentGroupType;
            id: string;
            name: string;
        }
        | null
    futureUpdates: (
        { __typename?: "SubscriptionFutureUpdate" } & SubscriptionFutureUpdateDataFragment
    )[]
    id: any
    latestInvoice?:
        | { __typename?: "SubscriptionInvoice" } & SubscriptionInvoiceFragment
        | null
    payingCustomer?: { __typename?: "Customer" } & SlimCustomerFragment | null
    paymentCollection: PaymentCollection
    paymentCollectionMethod?: PaymentCollectionMethod | null
    plan: { __typename?: "Plan" } & PlanFragment
    prices?:
        | {
            __typename?: "SubscriptionPrice";
            price?: { __typename?: "Price" } & PriceFragment
            | null;
            usageLimit?: number | null;
        }[]
        | null
    pricingType: PricingType
    refId: string
    resource?: { __typename?: "CustomerResource" } & CustomerResourceFragment | null
    scheduledUpdates?:
        | (
            { __typename?: "SubscriptionScheduledUpdate" } & SubscriptionScheduledUpdateDataFragment
        )[]
        | null
    startDate: any
    subscriptionId: string
    totalPrice?:
        | { __typename?: "CustomerSubscriptionTotalPrice" } & TotalPriceFragment
        | null
    trialConfiguration?:
        | { __typename?: "TrialConfiguration" } & SubscriptionTrialConfigurationFragment
        | null
    trialEndDate?: any | null
    MMNEPVFCICPMFPCPTTAAATR