@wildix/xbees-conversations-utils 1.1.51 → 1.1.53
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.
|
@@ -161,6 +161,7 @@ function normalizeStreamChannel(channel) {
|
|
|
161
161
|
whatsappStatus: data.whatsapp_status,
|
|
162
162
|
autoRecord: data.is_auto_record,
|
|
163
163
|
transcriptionLanguage: data.transcription_language,
|
|
164
|
+
wizyGuestViewOnly: data.is_wizy_guest_view_only,
|
|
164
165
|
};
|
|
165
166
|
}
|
|
166
167
|
exports.normalizeStreamChannel = normalizeStreamChannel;
|
|
@@ -225,6 +226,7 @@ function localizeStreamChannel(streamChannel) {
|
|
|
225
226
|
isExternal: Boolean(normalizedChannel.external),
|
|
226
227
|
isBroadcast: Boolean(normalizedChannel.broadcast),
|
|
227
228
|
isAutoRecord: Boolean(normalizedChannel.autoRecord),
|
|
229
|
+
isWizyGuestViewOnly: Boolean(normalizedChannel.wizyGuestViewOnly),
|
|
228
230
|
lastRead,
|
|
229
231
|
lastMessage: normalizedLastMessage,
|
|
230
232
|
lastMessageAt,
|
package/dist-es/normalization.js
CHANGED
|
@@ -153,6 +153,7 @@ export function normalizeStreamChannel(channel) {
|
|
|
153
153
|
whatsappStatus: data.whatsapp_status,
|
|
154
154
|
autoRecord: data.is_auto_record,
|
|
155
155
|
transcriptionLanguage: data.transcription_language,
|
|
156
|
+
wizyGuestViewOnly: data.is_wizy_guest_view_only,
|
|
156
157
|
};
|
|
157
158
|
}
|
|
158
159
|
export function normalizeStreamMember(member) {
|
|
@@ -212,6 +213,7 @@ export function localizeStreamChannel(streamChannel) {
|
|
|
212
213
|
isExternal: Boolean(normalizedChannel.external),
|
|
213
214
|
isBroadcast: Boolean(normalizedChannel.broadcast),
|
|
214
215
|
isAutoRecord: Boolean(normalizedChannel.autoRecord),
|
|
216
|
+
isWizyGuestViewOnly: Boolean(normalizedChannel.wizyGuestViewOnly),
|
|
215
217
|
lastRead,
|
|
216
218
|
lastMessage: normalizedLastMessage,
|
|
217
219
|
lastMessageAt,
|
package/dist-types/stream.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export interface StreamChannelFields extends UR {
|
|
|
29
29
|
unreadMarkUsers?: string[];
|
|
30
30
|
is_auto_record?: boolean;
|
|
31
31
|
transcription_language?: string;
|
|
32
|
+
is_wizy_guest_view_only?: boolean;
|
|
32
33
|
}
|
|
33
34
|
export interface StreamType extends ExtendableGenerics {
|
|
34
35
|
attachmentType: StreamAttachmentFields;
|
package/dist-types/types.d.ts
CHANGED
|
@@ -19,12 +19,13 @@ export interface LocalizedMessage extends Omit<Message, 'user' | 'createdAt' | '
|
|
|
19
19
|
pinned: boolean | undefined;
|
|
20
20
|
ref?: string | null;
|
|
21
21
|
}
|
|
22
|
-
export interface LocalizedChannel extends Omit<Channel, 'createdAt' | 'updatedAt' | 'is_broadcast' | 'external' | 'hidden' | 'autoRecord'> {
|
|
22
|
+
export interface LocalizedChannel extends Omit<Channel, 'createdAt' | 'updatedAt' | 'is_broadcast' | 'external' | 'hidden' | 'autoRecord' | 'wizyGuestViewOnly'> {
|
|
23
23
|
createdAt: Date;
|
|
24
24
|
isArchived: boolean;
|
|
25
25
|
isBroadcast?: boolean;
|
|
26
26
|
isExternal: boolean;
|
|
27
27
|
isAutoRecord?: boolean;
|
|
28
|
+
isWizyGuestViewOnly?: boolean;
|
|
28
29
|
lastMessage: LocalizedMessage | null;
|
|
29
30
|
lastMessageAt: Date;
|
|
30
31
|
lastRead: Date;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-utils",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.53",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wildix/xbees-conversations-client": "1.
|
|
24
|
+
"@wildix/xbees-conversations-client": "1.2.3",
|
|
25
25
|
"stream-chat": "8.12.1",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|