Protected ReadonlycacheStaticinstanceThe 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.
OptionalaggregateQuote?: {Optionaldata?: this is the underlying db representation, don't use this by default
OptionaldeviceLocation?: { lat: number; long: number; source: "ip" }External id (pq_...) of the engine-quote audit row that produced
this deposit quote. Always populated — every deposit quote is now
created via productQuoteService.quote(). Used by per-rail
accept() methods to stamp accepted_at on the engine-quote row.
Optionalquote?: {OptionalidempotencyKey?: stringCaller-supplied idempotency key (from the API Idempotency-Key
header). When set, a repeated key returns the existing deposit quote
instead of inserting a new one; dedup is enforced by the partial unique
index deposit_quote_idempotency_idx.
Optionaltx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations>Moves an ACTIVE quote to EXPIRED. A quote in any other status is left as it is: a concurrent accept or reject already settled it.
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.
ProtectedinvalidateMoves an ACTIVE quote to REJECTED under a row lock. A quote already REJECTED is a retry; any other status is refused with it.
OptionalcashDepositBarcodeStatuses?: (OptionalcreatedAt?: DbTimestampCriteriaOptionalentityIds?: string[]OptionalidempotencyKeys?: string[]Caller-supplied idempotency keys (dedup lookup). Filters the raw
deposit_quote.idempotency_key column — the key is not projected onto
the returned DepositQuote.
Optionalids?: string[]OptionalorderBy?: DbOrderByCriterion<Optionalpage?: numberOptionalpageSize?: numberOptionalreferences?: string[]Optionaltx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations>Optionaltypes?: (OptionalupdatedAt?: DbTimestampCriteriaProtectedsearchTags 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 DepositQuoteAdminQueryService.get reads through.
StaticcustomerThe key DepositQuoteService.get reads through (search's page default included).
Owns
deposit-quote-search. A quote write also bustsdeposit-search, held as a writer-only instance because single inheritance rules out extending both.