@rodrigobeber/patoai-dtos 4.7.17 → 4.7.19
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.
|
@@ -37,3 +37,4 @@ __exportStar(require("./webchat-start-conversation.dto"), exports);
|
|
|
37
37
|
__exportStar(require("./webchat-start-conversation-response.dto"), exports);
|
|
38
38
|
__exportStar(require("./webchat-thread-siblings.dto"), exports);
|
|
39
39
|
__exportStar(require("./webchat-thread-list.dto"), exports);
|
|
40
|
+
__exportStar(require("./webchat-thread-export.dto"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WebChatThreadListRequestDto } from "./webchat-thread-list.dto";
|
|
2
|
+
/**
|
|
3
|
+
* Colunas selecionáveis na exportação de leads (CSV).
|
|
4
|
+
* As chaves são o contrato entre frontend e backend (query param `columns`).
|
|
5
|
+
* Labels PT-BR ficam no frontend.
|
|
6
|
+
*/
|
|
7
|
+
export type WebChatLeadsExportColumn = 'name' | 'phone' | 'email' | 'stage' | 'temperature' | 'createdAt' | 'lastMessageAt' | 'summary' | 'observation' | 'tags' | 'responsible';
|
|
8
|
+
/**
|
|
9
|
+
* Corpo do POST de exportação de conversas.
|
|
10
|
+
* Reusa o mesmo contrato de filtros da listagem de threads + um teto de leads.
|
|
11
|
+
*/
|
|
12
|
+
export interface WebChatConversationsExportRequestDto {
|
|
13
|
+
filters: WebChatThreadListRequestDto;
|
|
14
|
+
maxLeads?: number;
|
|
15
|
+
}
|