@rodrigobeber/patoai-dtos 4.5.2 → 4.5.4
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.
- package/dist/webchat/crm/webchat-stage.dto.d.ts +1 -0
- package/dist/webchat/thread/index.d.ts +1 -0
- package/dist/webchat/thread/index.js +1 -0
- package/dist/webchat/thread/webchat-thread-siblings.dto.d.ts +22 -0
- package/dist/webchat/thread/webchat-thread-siblings.dto.js +2 -0
- package/dist/webchat/thread/webchat-thread.dto.d.ts +1 -0
- package/package.json +1 -1
|
@@ -35,3 +35,4 @@ __exportStar(require("./webchat-thread.dto"), exports);
|
|
|
35
35
|
__exportStar(require("./webchat-update-message.dto"), exports);
|
|
36
36
|
__exportStar(require("./webchat-start-conversation.dto"), exports);
|
|
37
37
|
__exportStar(require("./webchat-start-conversation-response.dto"), exports);
|
|
38
|
+
__exportStar(require("./webchat-thread-siblings.dto"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a single thread (conversation) in the siblings list
|
|
3
|
+
*/
|
|
4
|
+
export interface WebChatThreadSiblingItemDto {
|
|
5
|
+
idThread: string;
|
|
6
|
+
finished: boolean;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
stageName?: string | null;
|
|
9
|
+
stageId?: number | null;
|
|
10
|
+
summary?: string | null;
|
|
11
|
+
title?: string | null;
|
|
12
|
+
paid?: number | null;
|
|
13
|
+
isCurrent: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Response for GET /webchat/thread/:id/siblings
|
|
17
|
+
* Returns all threads (active, finished) for the same user+crew
|
|
18
|
+
*/
|
|
19
|
+
export interface WebChatThreadSiblingsDto {
|
|
20
|
+
current: string;
|
|
21
|
+
threads: WebChatThreadSiblingItemDto[];
|
|
22
|
+
}
|