Creating a project workflow using a voice assistant and converting it into an approval card.

This commit is contained in:
2026-09-23 15:49:44 +03:30
parent 99df327ded
commit 7dc4344e0e
5 changed files with 424 additions and 7 deletions
+32
View File
@@ -1038,6 +1038,38 @@ export interface AskMentoResponse {
sources: AskMentoSourceDto[];
}
export type VoiceCommandIntent = 'create_person' | 'create_activity' | 'none';
export interface VoicePersonDraft {
firstName: string;
lastName: string;
mobile: string;
phone: string;
email: string;
website: string;
referrer: string;
position: string;
notes: string;
}
export interface VoiceActivityDraft {
title: string;
type: ActivityType;
description: string;
dueAt: string | null;
personName: string;
personId: string | null;
}
export interface VoiceCommandDraft {
intent: VoiceCommandIntent;
summary: string;
missing: string[];
canConfirm: boolean;
person: VoicePersonDraft | null;
activity: VoiceActivityDraft | null;
}
export interface PersonAiSummaryDto {
text: string;
cta: string;