feat: 简化微信渠道账号连接
This commit is contained in:
@@ -7,7 +7,7 @@ export const cloudAgentsApi = {
|
||||
remember: (recent: CloudRecent | null) => hostApiFetch(CLOUD_AGENTS_PATH + '/recovery/recent', {
|
||||
method: 'PUT', body: JSON.stringify(recent),
|
||||
}),
|
||||
resolvePending: (id: string, discard = false) => hostApiFetch<{ result?: unknown; operation?: string; input?: Record<string, unknown>; discarded?: boolean; requires_input?: boolean; pending?: boolean }>(
|
||||
resolvePending: (id: string, discard = false) => hostApiFetch<{ result?: unknown; operation?: string; input?: Record<string, unknown>; discarded?: boolean; retired?: boolean; requires_input?: boolean; pending?: boolean }>(
|
||||
CLOUD_AGENTS_PATH + '/recovery/pending', { method: 'POST', body: JSON.stringify({ id, discard }) }),
|
||||
uploadSkill: () => hostApiFetch<CloudSkillDraft | null>(CLOUD_AGENTS_PATH + '/skills/pick', { method: 'POST' }),
|
||||
uploadKnowledge: (slug: string, kb_id: string, operation_id: string, replaces_file_id?: string) =>
|
||||
|
||||
Reference in New Issue
Block a user