ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: очередь Voice Tasker и concurrency control
This commit is contained in:
@@ -80,6 +80,14 @@ export class WorkspaceAIService extends APIService {
|
||||
});
|
||||
}
|
||||
|
||||
async retrieveVoiceTaskSession(workspaceSlug: string, sessionId: string): Promise<TVoiceTaskUploadResult> {
|
||||
return this.get(`/api/workspaces/${workspaceSlug}/voice-task/sessions/${sessionId}/`)
|
||||
.then((response) => response?.data)
|
||||
.catch((error) => {
|
||||
throw error?.response?.data;
|
||||
});
|
||||
}
|
||||
|
||||
async commitVoiceTask(
|
||||
workspaceSlug: string,
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user