@rodrigobeber/patoai-dtos 4.7.45 → 4.7.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,6 +5,7 @@ export interface WebChatCreateReminderDto {
|
|
|
5
5
|
offsetMinutes: number | null;
|
|
6
6
|
timeOfDay: string | null;
|
|
7
7
|
daysBefore: number | null;
|
|
8
|
+
hoursBefore?: number | null;
|
|
8
9
|
instruction: string | null;
|
|
9
10
|
template: string | null;
|
|
10
11
|
templateVars?: Record<string, string> | null;
|
|
@@ -4,6 +4,7 @@ export interface WebChatUpdateReminderDto {
|
|
|
4
4
|
offsetMinutes?: number | null;
|
|
5
5
|
timeOfDay?: string | null;
|
|
6
6
|
daysBefore?: number | null;
|
|
7
|
+
hoursBefore?: number | null;
|
|
7
8
|
instruction?: string | null;
|
|
8
9
|
template?: string | null;
|
|
9
10
|
templateVars?: Record<string, string> | null;
|
|
@@ -135,7 +135,31 @@ export interface WizardMaterialResponseDto {
|
|
|
135
135
|
material: WizardMaterialDto;
|
|
136
136
|
/** Frase de reconhecimento do agente gerada ao anexar (o frontend mostra como msg do assistente). */
|
|
137
137
|
ack?: string | null;
|
|
138
|
+
/** Resumo ao vivo ACUMULADO da sessão, já atualizado com o que o material revelou (merge
|
|
139
|
+
* server-side, last-non-null por campo). Presente quando o ingest rodou o turno de extração. */
|
|
140
|
+
collected?: WizardCollectedDto | null;
|
|
141
|
+
/** Tipo de agente detectado a partir do material (null = ainda não detectado). */
|
|
142
|
+
detectedType?: 'sdr' | 'support' | null;
|
|
143
|
+
/** Segmento/indústria detectado a partir do material (null = ainda não detectado). */
|
|
144
|
+
detectedIndustry?: string | null;
|
|
138
145
|
}
|
|
139
146
|
export interface WizardMaterialsResponseDto {
|
|
140
147
|
materials: WizardMaterialDto[];
|
|
141
148
|
}
|
|
149
|
+
export interface WizardSessionMessageDto {
|
|
150
|
+
role: string;
|
|
151
|
+
content: string;
|
|
152
|
+
ts: string;
|
|
153
|
+
}
|
|
154
|
+
/** Sessão do wizard devolvida no GET /wizard/session/:id (retomada da conversa).
|
|
155
|
+
* `messages` já vem sem as mensagens sintéticas internas (ex.: notificações de anexo). */
|
|
156
|
+
export interface WizardSessionResponseDto {
|
|
157
|
+
id: string;
|
|
158
|
+
status: string;
|
|
159
|
+
messages: WizardSessionMessageDto[];
|
|
160
|
+
materials: WizardMaterialDto[];
|
|
161
|
+
detectedType: 'sdr' | 'support' | null;
|
|
162
|
+
detectedIndustry: string | null;
|
|
163
|
+
/** Resumo ao vivo acumulado da sessão (persistido server-side) — repõe o painel no resume. */
|
|
164
|
+
collected?: WizardCollectedDto | null;
|
|
165
|
+
}
|