ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: hardening Voice Tasker routing, сроков и transcript
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user