Query selector for claimManyByQuery() — the filterable subset of ListEscalationsParams that describes a claimable population. status is not accepted: the claim targets pending rows by definition, enforced in SQL.

interface ClaimManyQuerySelector {
    entity?: string;
    metadata?: Record<string, unknown>;
    priority?: number;
    role?: string;
    roles?: string[];
    subtype?: string;
    type?: string;
}

Properties

entity?: string
metadata?: Record<string, unknown>

GIN-indexed @> containment against row metadata — the facet filter.

priority?: number
role?: string
roles?: string[]
subtype?: string
type?: string