2026-03-16 23:23:54 -07:00
|
|
|
import {
|
|
|
|
|
sendMessageWhatsApp as sendMessageWhatsAppImpl,
|
|
|
|
|
sendPollWhatsApp as sendPollWhatsAppImpl,
|
2026-03-19 03:12:16 +00:00
|
|
|
} from "./runtime-whatsapp-boundary.js";
|
2026-03-17 00:00:05 -07:00
|
|
|
import type { PluginRuntime } from "./types.js";
|
2026-03-16 23:23:54 -07:00
|
|
|
|
2026-03-17 00:00:05 -07:00
|
|
|
type RuntimeWhatsAppOutbound = Pick<
|
|
|
|
|
PluginRuntime["channel"]["whatsapp"],
|
|
|
|
|
"sendMessageWhatsApp" | "sendPollWhatsApp"
|
|
|
|
|
>;
|
2026-03-16 23:23:54 -07:00
|
|
|
|
2026-03-17 00:00:05 -07:00
|
|
|
export const runtimeWhatsAppOutbound = {
|
|
|
|
|
sendMessageWhatsApp: sendMessageWhatsAppImpl,
|
|
|
|
|
sendPollWhatsApp: sendPollWhatsAppImpl,
|
|
|
|
|
} satisfies RuntimeWhatsAppOutbound;
|