@cfxlabsinc/b2b-services
    Preparing search index...

    Composes and sends the customer-branded SMS notifications for escrow transfer requests. Mirrors the escrow-transfer recipient SMS (see escrowTransferActivities.sendEscrowRecipientSms) but runs inline in the request writer rather than as a Temporal activity — requests have no on-chain machinery, so there is no workflow to host the side effect.

    Audience per event (the rule is "notify the counterparty — whoever did NOT take the action"):

    Event Audience Template
    created recipient (payer) ESCROW_REQUEST_CREATED
    paid sender (requester) ESCROW_REQUEST_PAID
    declined sender (requester) ESCROW_REQUEST_DECLINED
    cancelled recipient (payer) ESCROW_REQUEST_CANCELLED

    Both party phones live on the request row (senderPhone / recipientPhone), so no identity lookup is needed to address the SMS — only to resolve the requester's display name for the body. Each send carries a stable idempotencyKey (Vibes dedupes on it); callers invoke these best-effort.

    Index

    Constructors

    Methods