Protected ReadonlycacheProtected ReadonlydbStaticinstanceThe process default: built from each dependency's own instance().
Moves the quote ACTIVE to ACCEPTED under a row lock, in the caller's tx.
A quote already ACCEPTED is a retry (alreadyAccepted); any other status
is refused. The caller calls invalidateClaimed after it commits.
Optionalid?: stringOptionalidempotencyKey?: stringCaller-supplied idempotency key (from the API Idempotency-Key
header). When set, a repeated key returns the existing withdrawal quote
instead of inserting a new one; dedup is enforced by the partial unique
index withdrawal_quote_idempotency_idx.
Optionaltx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations>Get a withdrawal by ID without customer restriction
Clear each customer's membership tag and each record tag wherever cached,
and always this namespace's collection tag. keys are exact deletes in this
instance's key space: the only bust a null client honours.
ProtectedinvalidateBust after a quote write: the quote's pages and its withdrawal's.
ProtectedqueryMoves an ACTIVE quote to REJECTED under a row lock. A quote already REJECTED is a retry; any other status is refused with it.
A customer's withdrawal quotes. Reads through the withdrawal-quote-search
cache, except under a caller's tx.
ProtectedsearchTags for a page: the scope its query searched (each customer's membership
tag, else the collection tag), so an empty page is bustable too, plus the
records it projects and the fields that chose or ordered its rows.
StaticadminThe key WithdrawalQuoteAdminQueryService.get reads through.
StaticcustomerThe key WithdrawalQuoteQueryService.get reads through.
Consumer withdrawal-quote reads. Extends WithdrawalQuoteCache, which owns the
withdrawal-quote-searchnamespace these reads go through.