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

    Renders the consumers' Slack templates and posts them, both with the customer Slack bot's token. Goes through the customer publisher so a permanently unreachable channel is tolerated rather than re-driving the event.

    Index
    • The customer-facing post, to channels the caller already resolved and cleared against the customer's preferences. A DISABLED template stops it for every customer.

      Type Parameters

      Parameters

      • __namedParameters: {
            channels: { channelId: string; token: string }[];
            statusVariant: V;
            templateKey: K;
            variables: SlackTemplateVariablesFor<"CUSTOMER", K, V>;
        }

      Returns Promise<void>