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

    Type Alias InternalEnvelope

    The internal bus's envelope.

    Deliberately NOT the customer Envelope. Internal admin events have no tenant: they route to CFX's own Slack workspace and to the reconciliation handlers, never to a customer endpoint. customerId is the customer bus's Outpost tenant_id, and carrying a synthetic one here would put a meaningless value on the wire and into every filter policy.

    See docs/proposals/EVENT_BUS.md §8.20.3.

    type InternalEnvelope = {
        createdAt: Date;
        data: object;
        event: string;
        id: string;
    }
    Index
    createdAt: Date
    data: object
    event: string
    id: string

    Minted at publish. The redelivery key every internal consumer dedupes on.