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

    Builds the DEPOSIT email payload for a deposit status change and hands it to the CustomerNotificationService core. Lives in deposit-services (next to the writer) so it can use the Deposit domain type; the writer calls notify right where it publishes the event + busts the cache.

    Relocated from the customer-dashboard sendDepositNotification handler.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Notify the relevant recipients of a deposit status change. Best-effort.

      Parameters

      • __namedParameters: {
            deposit: Deposit;
            event: "deposit.deposit.statusUpdated" | "deposit.deposit.created";
        }

      Returns Promise<void>