ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: hardening Voice Tasker routing, сроков и transcript
This commit is contained in:
@@ -29,10 +29,7 @@ export class WorkspaceAIService extends APIService {
|
||||
});
|
||||
}
|
||||
|
||||
async updateSettings(
|
||||
workspaceSlug: string,
|
||||
data: TWorkspaceAISettingsPayload
|
||||
): Promise<TWorkspaceAISettings> {
|
||||
async updateSettings(workspaceSlug: string, data: TWorkspaceAISettingsPayload): Promise<TWorkspaceAISettings> {
|
||||
return this.patch(`/api/workspaces/${workspaceSlug}/voice-tasker/settings/`, data)
|
||||
.then((response) => response?.data)
|
||||
.catch((error) => {
|
||||
@@ -68,7 +65,7 @@ export class WorkspaceAIService extends APIService {
|
||||
workspaceSlug: string,
|
||||
data: {
|
||||
voice_session_id: string;
|
||||
action: "create_task";
|
||||
action: "create_task" | "update_task" | "delete_task";
|
||||
draft?: TVoiceTaskDraft;
|
||||
}
|
||||
): Promise<TVoiceTaskCommitResult> {
|
||||
|
||||
Reference in New Issue
Block a user