Creating a project workflow using a voice assistant and converting it into an approval card.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user