mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:40:44 +00:00
85 lines
2.1 KiB
TypeScript
85 lines
2.1 KiB
TypeScript
export {
|
|
getActiveWebListener,
|
|
resolveWebAccountId,
|
|
type ActiveWebListener,
|
|
type ActiveWebSendOptions,
|
|
} from "./src/active-listener.js";
|
|
export { handleWhatsAppAction, whatsAppActionRuntime } from "./src/action-runtime.js";
|
|
export { createWhatsAppLoginTool } from "./src/agent-tools-login.js";
|
|
export {
|
|
formatWhatsAppWebAuthStatusState,
|
|
getWebAuthAgeMs,
|
|
hasWebCredsSync,
|
|
logWebSelfId,
|
|
logoutWeb,
|
|
pickWebChannel,
|
|
readCredsJsonRaw,
|
|
readWebAuthExistsBestEffort,
|
|
readWebAuthExistsForDecision,
|
|
readWebAuthSnapshot,
|
|
readWebAuthSnapshotBestEffort,
|
|
readWebAuthState,
|
|
readWebSelfId,
|
|
readWebSelfIdentity,
|
|
readWebSelfIdentityForDecision,
|
|
resolveDefaultWebAuthDir,
|
|
resolveWebCredsBackupPath,
|
|
resolveWebCredsPath,
|
|
restoreCredsFromBackupIfNeeded,
|
|
WA_WEB_AUTH_DIR,
|
|
webAuthExists,
|
|
WHATSAPP_AUTH_UNSTABLE_CODE,
|
|
WhatsAppAuthUnstableError,
|
|
type WhatsAppWebAuthState,
|
|
} from "./src/auth-store.js";
|
|
export {
|
|
DEFAULT_WEB_MEDIA_BYTES,
|
|
HEARTBEAT_PROMPT,
|
|
HEARTBEAT_TOKEN,
|
|
monitorWebChannel,
|
|
SILENT_REPLY_TOKEN,
|
|
stripHeartbeatToken,
|
|
type WebChannelStatus,
|
|
type WebMonitorTuning,
|
|
} from "./src/auto-reply.js";
|
|
export {
|
|
extractContactContext,
|
|
extractLocationData,
|
|
extractMediaPlaceholder,
|
|
extractText,
|
|
monitorWebInbox,
|
|
resetWebInboundDedupe,
|
|
type WebInboundMessage,
|
|
type WebListenerCloseReason,
|
|
} from "./src/inbound.js";
|
|
export { loginWeb } from "./src/login.js";
|
|
export {
|
|
getDefaultLocalRoots,
|
|
loadWebMedia,
|
|
loadWebMediaRaw,
|
|
LocalMediaAccessError,
|
|
optimizeImageToJpeg,
|
|
optimizeImageToPng,
|
|
type LocalMediaAccessErrorCode,
|
|
type WebMediaResult,
|
|
} from "./src/media.js";
|
|
export {
|
|
sendMessageWhatsApp,
|
|
sendPollWhatsApp,
|
|
sendReactionWhatsApp,
|
|
sendTypingWhatsApp,
|
|
} from "./src/send.js";
|
|
export {
|
|
createWaSocket,
|
|
formatError,
|
|
getStatusCode,
|
|
newConnectionId,
|
|
waitForCredsSaveQueue,
|
|
waitForCredsSaveQueueWithTimeout,
|
|
waitForWaConnection,
|
|
writeCredsJsonAtomically,
|
|
type CredsQueueWaitResult,
|
|
} from "./src/session.js";
|
|
export { setWhatsAppRuntime } from "./src/runtime.js";
|
|
export { startWebLoginWithQr, waitForWebLogin } from "./login-qr-runtime.js";
|