ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: hardening Voice Tasker routing, сроков и transcript

This commit is contained in:
DCCONSTRUCTIONS
2026-04-24 21:54:34 +03:00
parent d3b47326da
commit 597480adb9
9 changed files with 1629 additions and 227 deletions
+33 -8
View File
@@ -84,6 +84,7 @@ export type TVoiceTaskDraft = {
target_memory_ref: string | null;
project_id?: string | null;
project_hint: string | null;
state_hint: string | null;
assignee_hint: string | null;
title: string | null;
description: string | null;
@@ -102,13 +103,7 @@ export type TVoiceTaskDraft = {
};
export type TVoiceTaskResolution = {
project: {
id: string;
name: string;
identifier: string;
confidence: number;
source: string | null;
} | null;
project: TVoiceTaskResolvedProject | null;
assignee: {
id: string;
name: string;
@@ -120,10 +115,40 @@ export type TVoiceTaskResolution = {
id: string;
name: string;
}[];
state: {
id: string;
name: string;
group: string;
confidence: number;
source: string | null;
} | null;
target_task: {
id: string;
title: string;
key: string | null;
project_id: string;
project_name: string;
project_identifier: string;
sequence_id: number;
source: string | null;
voice_session_id: string | null;
} | null;
project_change: {
from: TVoiceTaskResolvedProject;
to: TVoiceTaskResolvedProject;
} | null;
warnings: string[];
can_commit: boolean;
};
export type TVoiceTaskResolvedProject = {
id: string;
name: string;
identifier: string;
confidence: number;
source: string | null;
};
export type TVoiceTaskUploadResult = {
ok: boolean;
status?: "uploaded" | "parsed";
@@ -151,7 +176,7 @@ export type TVoiceTaskUploadResult = {
export type TVoiceTaskCommitResult = {
ok: boolean;
status?: "created";
status?: "created" | "updated" | "deleted";
voice_session_id?: string;
task_id?: string;
task_key?: string;
@@ -78,6 +78,8 @@ export type TBaseIssue = {
is_draft: boolean;
is_epic?: boolean;
is_intake?: boolean;
external_source?: string | null;
external_id?: string | null;
};
type IssueRelation = {