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

    Interface CreatePolicyParams

    interface CreatePolicyParams {
        enabled?: boolean;
        entries?: PolicyEntryInput[];
        name: string;
        numberIds?: string[];
        scope: PolicyScope;
    }
    Index
    enabled?: boolean

    Default true.

    entries?: PolicyEntryInput[]

    An enabled list with no callers declines every inbound call on its numbers.

    name: string
    numberIds?: string[]

    Required, and non-empty, for numbers scope.