openclaw/src/plugin-sdk/whatsapp-core.ts

28 lines
989 B
TypeScript

export type { ChannelPlugin } from "./channel-plugin-common.js";
export type { OpenClawConfig } from "../config/config.js";
export {
DEFAULT_ACCOUNT_ID,
buildChannelConfigSchema,
getChatChannelMeta,
} from "./channel-plugin-common.js";
export {
formatWhatsAppConfigAllowFromEntries,
resolveWhatsAppConfigAllowFrom,
resolveWhatsAppConfigDefaultTo,
} from "./channel-config-helpers.js";
export {
resolveWhatsAppGroupRequireMention,
resolveWhatsAppGroupToolPolicy,
} from "../../extensions/whatsapp/api.js";
export { resolveWhatsAppGroupIntroHint } from "../channels/plugins/whatsapp-shared.js";
export {
ToolAuthorizationError,
createActionGate,
jsonResult,
readReactionParams,
readStringParam,
} from "../agents/tools/common.js";
export { WhatsAppConfigSchema } from "../config/zod-schema.providers-whatsapp.js";
export { resolveWhatsAppOutboundTarget } from "../../extensions/whatsapp/src/resolve-outbound-target.js";
export { normalizeE164 } from "../utils.js";