feat: 新增定时日报与微信发送能力底座

This commit is contained in:
Wxw-Gu committed 2026-08-27 17:08:09 +08:00
1 parent 62abd872ee
commit 949e6bc868
11 files changed
+786 -2

No files matched your search

+23
View File
@@ -44,6 +44,29 @@ export interface PersonalWechatSenderStatus {
error?: string
}
/** Stable, feature-facing send capability derived from the low-level sender status. */
export type PersonalWechatSendCapabilityState =
| 'unsupported'
| 'unconfigured'
| 'needs_binding'
| 'needs_verification'
| 'ready'
| 'error'
export interface PersonalWechatSendCapability {
supported: boolean
ready: boolean
status: PersonalWechatSendCapabilityState
capabilities: {
text: boolean
image: boolean
voice: boolean
}
senderStatus: PersonalWechatSenderStatus
message: string
error?: string
}
interface PersonalWechatSendBaseRequest {
to: string
isGroup: boolean