@hatang/sdk
    Preparing search index...

    Interface ChatSubscription

    interface ChatSubscription {
        amount: number | null;
        auto_renew: boolean | null;
        base_plan_id: string | null;
        canceled_at: string | null;
        currency: string | null;
        current_period_end: string | null;
        customer_id: string | null;
        entitled: boolean;
        environment: "production" | "sandbox";
        external_user_id: string | null;
        id: string;
        object: "chat_subscription";
        original_id: string;
        platform: "web" | "ios" | "android";
        product_id: string | null;
        product_name: string | null;
        started_at: string | null;
        status: ChatSubscriptionStatus;
        store_product_id: string | null;
        updated_at: string;
    }
    Index
    amount: number | null
    auto_renew: boolean | null
    base_plan_id: string | null
    canceled_at: string | null
    currency: string | null
    current_period_end: string | null
    customer_id: string | null
    entitled: boolean

    Still gives the customer what they paid for (trial, active, grace, or canceled but not yet ended).

    environment: "production" | "sandbox"
    external_user_id: string | null
    id: string
    object: "chat_subscription"
    original_id: string
    platform: "web" | "ios" | "android"
    product_id: string | null
    product_name: string | null
    started_at: string | null
    store_product_id: string | null
    updated_at: string