interface ResolveAllOrNoneParams {
    assertAssignee?: string;
    items: ResolveAllOrNoneItem[];
    metadata?: Record<string, unknown>;
    namespace?: string;
}

Properties

assertAssignee?: string

When provided, every row must currently be assigned to this assignee (assigned_to equality, asserted inside the same statement). Closes the claim-race window for claim-then-resolve flows: a row re-claimed by another principal between the caller's claim and this resolve blocks the batch.

The batch. Ids must be unique; each item carries its own payload.

metadata?: Record<string, unknown>

Shared outcome patch merged (not replaced) into EVERY row's GIN-indexed metadata in the single atomic statement. See ResolveEscalationParams.metadata.

namespace?: string