@archastro/sdk
    Preparing search index...

    Interface EffectiveAccessEntitlement

    A billing-derived effective entitlement for the authenticated user.

    interface EffectiveAccessEntitlement {
        granted: boolean;
        key: string;
        limit?: number | null;
        provided_by: ("personal" | "organization")[];
        quantity?: number | null;
        remaining?: number | null;
        used?: number | null;
        value?: boolean | null;
        value_type: "boolean" | "metered";
    }
    Index

    Properties

    granted: boolean

    Whether any eligible source grants the key.

    key: string

    Stable entitlement catalog key.

    limit?: number | null

    Unexpired metered allowance, including exhausted grants; null for boolean entitlements.

    provided_by: ("personal" | "organization")[]

    Privacy-safe principal kinds that contribute to the effective value.

    quantity?: number | null

    Effective purchased quantity from the recurring terms linked to this key (for example seats), summed across granting principals. null when the key is not granted or no granting plan links a term to it.

    remaining?: number | null

    Remaining metered allowance credits; null for boolean entitlements.

    used?: number | null

    Signed metered consumption in the allowance window; may be negative after reversals. Null for boolean entitlements.

    value?: boolean | null

    Merged entitlement value, or null when the key is not granted.

    value_type: "boolean" | "metered"

    Catalog type used to interpret value.