openclaw/extensions/whatsapp/src/runtime-api.ts
2026-03-19 03:13:48 +00:00

32 lines
788 B
TypeScript

export {
buildChannelConfigSchema,
createActionGate,
DEFAULT_ACCOUNT_ID,
formatWhatsAppConfigAllowFromEntries,
getChatChannelMeta,
jsonResult,
normalizeE164,
readReactionParams,
readStringParam,
resolveWhatsAppGroupIntroHint,
resolveWhatsAppOutboundTarget,
ToolAuthorizationError,
WhatsAppConfigSchema,
type ChannelPlugin,
type OpenClawConfig,
} from "openclaw/plugin-sdk/whatsapp-core";
export {
createWhatsAppOutboundBase,
isWhatsAppGroupJid,
normalizeWhatsAppTarget,
resolveWhatsAppHeartbeatRecipients,
resolveWhatsAppMentionStripRegexes,
type ChannelMessageActionName,
type DmPolicy,
type GroupPolicy,
type WhatsAppAccountConfig,
} from "openclaw/plugin-sdk/whatsapp-shared";
export { monitorWebChannel } from "./channel.runtime.js";