Skip to main content

Function: setTierCutoffs()

setTierCutoffs(svc, companyId, cutoffs, updatedBy): Promise<void>

Defined in: src/db/queries/pipeline.ts:478

Persist calibrated tier cutoffs (idempotent upsert on (company_id, key)).

Parameters

svc

SupabaseClient

companyId

string

cutoffs

TierCutoffs

updatedBy

string | null

Returns

Promise<void>