@rodrigobeber/patoai-dtos 2.1.1 → 2.1.2

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.
@@ -1,7 +1,7 @@
1
1
  import { MediaInfoDto } from "../../media";
2
2
  export interface AssistantMessageDto {
3
3
  idThread: number;
4
- chatMessageId: string;
4
+ messageId: string;
5
5
  content: string;
6
6
  mediaInfo?: MediaInfoDto;
7
7
  responseId: string;
@@ -2,5 +2,5 @@ export interface DeveloperMessageDto {
2
2
  idThread: number;
3
3
  content: string;
4
4
  transient: boolean;
5
- chatMessageId?: string;
5
+ messageId?: string;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import { MediaInfoDto } from "../../media";
2
2
  export interface OwnerMessageDto {
3
3
  idThread: number;
4
- chatMessageId: string;
4
+ messageId: string;
5
5
  content: string;
6
6
  mediaInfo?: MediaInfoDto;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { MediaInfoDto } from "../../media";
2
2
  export interface UserMessageDto {
3
3
  idThread: number;
4
- chatMessageId: string;
4
+ messageId: string;
5
5
  content: string;
6
6
  mediaInfo?: MediaInfoDto;
7
7
  isProcessed: boolean;
@@ -18,7 +18,7 @@ export interface MessageDto {
18
18
  platform: PlatformEnum;
19
19
  type: MessageEnum;
20
20
  userId: string;
21
- chatMessageId: string;
21
+ messageId: string;
22
22
  channelId?: string;
23
23
  fromMe?: boolean;
24
24
  userName?: string;
@@ -1,5 +1,5 @@
1
1
  export interface ReplyMessageDto {
2
2
  idMessage: number;
3
- chatMessageId: string;
3
+ messageId: string;
4
4
  content: string;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import { MediaInfoDto } from "../chat/media/media-info.dto";
2
2
  export interface SentMessageDto {
3
- chatMessageId: string;
3
+ messageId: string;
4
4
  content: string;
5
5
  mediaInfo?: MediaInfoDto;
6
6
  }
@@ -7,7 +7,7 @@ export interface WebChatMessageDto {
7
7
  isRead: boolean;
8
8
  isProcessed: boolean;
9
9
  isHidden: boolean;
10
- chatMessageId: string;
10
+ messageId: string;
11
11
  idReply?: number;
12
12
  createdAt: Date;
13
13
  media: WebChatMediaDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",