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

    Class InternalEventPublisher

    The internal bus's publisher. Replaces AdminEventPublisher, which was an unguarded fetch whose Response was discarded — a 500 from Hookdeck was indistinguishable from success.

    Three behaviour changes come with it: a ULID id is minted per event, a failed publish throws, and the payload is size-checked before it is sent. See docs/proposals/EVENT_BUS.md §8.20.3.

    Index
    • Type Parameters

      • N extends
            | "backoffice.achBatch.created"
            | "backoffice.achBatch.statusUpdated"
            | "backoffice.achFile.created"
            | "backoffice.achFile.statusUpdated"
            | "backoffice.bankTransaction.created"
            | "backoffice.bankInternalTransfer.created"
            | "backoffice.bankInternalTransfer.statusUpdated"
            | "backoffice.manualMint.created"
            | "backoffice.manualMint.statusUpdated"
            | "backoffice.wireEmail.reconciled"
            | "backoffice.wireBatch.created"
            | "backoffice.wireBatch.statusUpdated"
            | "backoffice.wireFile.created"
            | "backoffice.wireFile.statusUpdated"
            | "customer.feeTransfer.statusUpdated"
            | "ledger.account.withdrawal.created"
            | "ledger.account.withdrawal.statusUpdated"
            | "redemption.redemption.created"
            | "redemption.redemption.statusUpdated"
            | "slack.customerSlackBotInstallation.created"
            | "slack.customerSlackBotInstallation.deleted"
            | "slack.slackBotInstallation.created"
            | "slack.slackBotInstallation.deleted"

      Parameters

      Returns Promise<void>