@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.
@@ -12,4 +12,5 @@ export interface WebChatStageDto {
12
12
  bgColor?: string | null;
13
13
  fontColor?: string | null;
14
14
  idStageOnGiveup?: number | null;
15
+ hidden?: boolean;
15
16
  }
@@ -19,3 +19,4 @@ export * from './webchat-thread.dto';
19
19
  export * from './webchat-update-message.dto';
20
20
  export * from './webchat-start-conversation.dto';
21
21
  export * from './webchat-start-conversation-response.dto';
22
+ export * from './webchat-thread-siblings.dto';
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -19,5 +19,6 @@ export interface WebChatThreadDto {
19
19
  lm: WebChatLastMessageDto | null;
20
20
  lastUserMessageAt: Date | null;
21
21
  lead: WebChatLeadDto | null;
22
+ finished: boolean;
22
23
  manualPending?: boolean;
23
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "4.5.2",
3
+ "version": "4.5.4",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",