Counts the waiting recipients for checkLinkWaiting.
Protected ReadonlycacheProtected ReadonlydbProtected ReadonlyentityStaticinstanceThe process default: built from each dependency's own instance().
How many linkWaiting would link now, writing nothing.
Any common format; one without a + is read in the owner's country.
Also clears payment-instrument.text. Every writer busts by customer alone,
which reaches no field tag, yet each write may change the text a cached
transaction q page matched on.
Links the sender's instrument for phone to the claimed ledger account.
The id, owner, customer and phone must all match, so an id taken from a
transfer's metadata can never link another sender's instrument.
The sender's customer and owner entity, from the transfer itself.
The transfer's recipient phone, E.164.
Links the PHONE instruments in customerId waiting for this identity's
phone: live and unlinked, any owner. Each goes to the identity's oldest
account, as create links one, in one conditional write, so a retry or a
race links once and never re-points.
ProtectedoldestThe one rule create and linkWaiting both link by.
Optionalcache?: "read" | "bypass"bypass straight after an account's insert, which a cached search may predate.
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.
Renames the recipient. The phone is immutable: a different number is a
different instrument, so only name is read from data.
Links the PHONE recipients waiting on an identity's phone, for CFX's own callers.