@trii/types 2.10.195 → 2.10.197
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/Conversations/Conversation.d.ts +2 -0
- package/dist/Conversations/Conversation.js +2 -0
- package/dist/Conversations/SocialWalls.d.ts +21 -0
- package/dist/Conversations/SocialWalls.js +7 -0
- package/dist/Conversations/index.d.ts +1 -0
- package/dist/Conversations/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export var ChatType;
|
|
2
2
|
(function (ChatType) {
|
|
3
|
+
/**Conversation with a external channel/contact */
|
|
4
|
+
ChatType[ChatType["EXTERNAL"] = 0] = "EXTERNAL";
|
|
3
5
|
/**messages between two users */
|
|
4
6
|
ChatType[ChatType["DIRECT"] = 1] = "DIRECT";
|
|
5
7
|
/**messages between multiple users */
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Channels } from "../Common/index";
|
|
2
|
+
import { UserInfo } from "../Users/UserTrii";
|
|
3
|
+
export interface Post {
|
|
4
|
+
id: string;
|
|
5
|
+
spaceId: string;
|
|
6
|
+
type: PostType;
|
|
7
|
+
title: string;
|
|
8
|
+
details: string;
|
|
9
|
+
imageUrl: string;
|
|
10
|
+
channelInfo: Channels.IChannel;
|
|
11
|
+
newMessagesCount: number;
|
|
12
|
+
participants: UserInfo[];
|
|
13
|
+
archived: boolean;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
}
|
|
16
|
+
export declare enum PostType {
|
|
17
|
+
FACEBOOK = 1,
|
|
18
|
+
INSTAGRAM = 2,
|
|
19
|
+
GOOGLE_BUSINESS = 3,
|
|
20
|
+
MERCADOLIBRE = 4
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var PostType;
|
|
2
|
+
(function (PostType) {
|
|
3
|
+
PostType[PostType["FACEBOOK"] = 1] = "FACEBOOK";
|
|
4
|
+
PostType[PostType["INSTAGRAM"] = 2] = "INSTAGRAM";
|
|
5
|
+
PostType[PostType["GOOGLE_BUSINESS"] = 3] = "GOOGLE_BUSINESS";
|
|
6
|
+
PostType[PostType["MERCADOLIBRE"] = 4] = "MERCADOLIBRE";
|
|
7
|
+
})(PostType || (PostType = {}));
|