@trii/types 2.10.217 → 2.10.219

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,4 +1,4 @@
1
- import { IContactAddress } from "../../Contacts/contacts";
1
+ import { IContactAddress, IContactInfo } from "../../Contacts/contacts";
2
2
  import { UserInfo } from "../../Users/UserTrii";
3
3
  import { IChannelInfo } from "../Channels/Channel";
4
4
  export interface IMessage {
@@ -6,11 +6,13 @@ export interface IMessage {
6
6
  spaceId: string;
7
7
  conversationId: string;
8
8
  externalId?: string;
9
+ contact?: IContactInfo;
9
10
  /**ISO8601 timestamp */
10
11
  timestamp: Date;
11
12
  author: UserInfo;
12
13
  channelInfo?: IChannelInfo;
13
14
  from: string;
15
+ fromName?: string;
14
16
  to: string;
15
17
  mentions: [];
16
18
  direction: MessageDirection;
@@ -144,7 +146,7 @@ export interface MessageReference {
144
146
  }
145
147
  export interface MessageReaction {
146
148
  action: 'react' | 'unreact';
147
- emoji: string;
149
+ emoji?: string;
148
150
  }
149
151
  export interface MessageEmail {
150
152
  /**Remitente del correo */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.217",
3
+ "version": "2.10.219",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",