@getdial/sdk - v0.46.0
    Preparing search index...

    Interface Policy

    An allow list for inbound calls: only callers on it ring through on the numbers it covers, and every other inbound call is declined before it connects. A number's own list replaces the account-wide one.

    interface Policy {
        appliesTo: "inbound_calls";
        blockedCallsLast7Days: number;
        createdAt: string;
        enabled: boolean;
        entries?: PolicyEntry[];
        entryCount: number;
        id: string;
        name: string;
        numberIds: string[];
        scope: PolicyScope;
        type: "allow_list";
        updatedAt: string;
    }
    Index
    appliesTo: "inbound_calls"
    blockedCallsLast7Days: number

    Inbound calls this policy declined in the last 7 days.

    createdAt: string
    enabled: boolean

    A disabled policy counts as if it weren't there.

    entries?: PolicyEntry[]

    Present on single-policy results; omitted from listPolicies.

    entryCount: number
    id: string
    name: string
    numberIds: string[]

    The numbers a numbers-scoped policy covers; empty for account.

    type: "allow_list"
    updatedAt: string