@wildix/xbees-conversations-client 1.1.23 → 1.1.26
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-cjs/models/models_0.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +5 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +1 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +4 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +10 -0
- package/dist-types/commands/GetChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +2 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +2 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +5 -1
- package/dist-types/commands/QueryChannelsCommand.d.ts +2 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +5 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +47 -1
- package/package.json +1 -1
|
@@ -349,11 +349,14 @@ exports.GroupChannelUnsetOptions = {
|
|
|
349
349
|
CONTEXT_PTT: "contextPtt",
|
|
350
350
|
DESCRIPTION: "description",
|
|
351
351
|
KITE_ASSIGN: "kiteAssign",
|
|
352
|
+
MMS: "mms",
|
|
352
353
|
PICTURE: "picture",
|
|
353
354
|
PICTURE_COLOR: "pictureColor",
|
|
354
355
|
SERVICE: "service",
|
|
355
356
|
SERVICE_TITLE: "serviceTitle",
|
|
357
|
+
SMS: "sms",
|
|
356
358
|
SUBJECT: "subject",
|
|
359
|
+
WHATSAPP: "whatsapp",
|
|
357
360
|
WHATSAPP_STATUS: "whatsappStatus",
|
|
358
361
|
};
|
|
359
362
|
exports.MessageUnsetFields = {
|
|
@@ -399,6 +402,8 @@ var SystemMessage;
|
|
|
399
402
|
SystemMessage.visit = (value, visitor) => {
|
|
400
403
|
if (value.whatsAppClosed !== undefined)
|
|
401
404
|
return visitor.whatsAppClosed(value.whatsAppClosed);
|
|
405
|
+
if (value.multipleMembersJoined !== undefined)
|
|
406
|
+
return visitor.multipleMembersJoined(value.multipleMembersJoined);
|
|
402
407
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
403
408
|
};
|
|
404
409
|
})(SystemMessage || (exports.SystemMessage = SystemMessage = {}));
|
|
@@ -48,6 +48,7 @@ const se_AddChannelMembersCommand = async (input, context) => {
|
|
|
48
48
|
'members': _ => (0, smithy_client_1._json)(_),
|
|
49
49
|
'membersToInvite': _ => (0, smithy_client_1._json)(_),
|
|
50
50
|
'silent': [],
|
|
51
|
+
'unreadMessageId': [],
|
|
51
52
|
}));
|
|
52
53
|
b.m("PUT")
|
|
53
54
|
.h(headers)
|
|
@@ -93,6 +94,7 @@ const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
93
94
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
94
95
|
'access': [],
|
|
95
96
|
'assignee': _ => (0, smithy_client_1._json)(_),
|
|
97
|
+
'autoRecord': [],
|
|
96
98
|
'broadcast': [],
|
|
97
99
|
'channelId': [],
|
|
98
100
|
'context': _ => (0, smithy_client_1._json)(_),
|
|
@@ -106,6 +108,7 @@ const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
106
108
|
'serviceTitle': [],
|
|
107
109
|
'sms': [],
|
|
108
110
|
'subject': [],
|
|
111
|
+
'transcriptionLanguage': [],
|
|
109
112
|
'whatsapp': [],
|
|
110
113
|
'whatsappStatus': [],
|
|
111
114
|
}));
|
|
@@ -1176,6 +1179,7 @@ const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1176
1179
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1177
1180
|
'access': [],
|
|
1178
1181
|
'assignee': _ => (0, smithy_client_1._json)(_),
|
|
1182
|
+
'autoRecord': [],
|
|
1179
1183
|
'broadcast': [],
|
|
1180
1184
|
'context': _ => (0, smithy_client_1._json)(_),
|
|
1181
1185
|
'description': [],
|
|
@@ -1187,6 +1191,7 @@ const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1187
1191
|
'silent': [],
|
|
1188
1192
|
'sms': [],
|
|
1189
1193
|
'subject': [],
|
|
1194
|
+
'transcriptionLanguage': [],
|
|
1190
1195
|
'whatsapp': [],
|
|
1191
1196
|
'whatsappStatus': [],
|
|
1192
1197
|
}));
|
|
@@ -331,11 +331,14 @@ export const GroupChannelUnsetOptions = {
|
|
|
331
331
|
CONTEXT_PTT: "contextPtt",
|
|
332
332
|
DESCRIPTION: "description",
|
|
333
333
|
KITE_ASSIGN: "kiteAssign",
|
|
334
|
+
MMS: "mms",
|
|
334
335
|
PICTURE: "picture",
|
|
335
336
|
PICTURE_COLOR: "pictureColor",
|
|
336
337
|
SERVICE: "service",
|
|
337
338
|
SERVICE_TITLE: "serviceTitle",
|
|
339
|
+
SMS: "sms",
|
|
338
340
|
SUBJECT: "subject",
|
|
341
|
+
WHATSAPP: "whatsapp",
|
|
339
342
|
WHATSAPP_STATUS: "whatsappStatus",
|
|
340
343
|
};
|
|
341
344
|
export const MessageUnsetFields = {
|
|
@@ -379,6 +382,8 @@ export var SystemMessage;
|
|
|
379
382
|
SystemMessage.visit = (value, visitor) => {
|
|
380
383
|
if (value.whatsAppClosed !== undefined)
|
|
381
384
|
return visitor.whatsAppClosed(value.whatsAppClosed);
|
|
385
|
+
if (value.multipleMembersJoined !== undefined)
|
|
386
|
+
return visitor.multipleMembersJoined(value.multipleMembersJoined);
|
|
382
387
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
383
388
|
};
|
|
384
389
|
})(SystemMessage || (SystemMessage = {}));
|
|
@@ -42,6 +42,7 @@ export const se_AddChannelMembersCommand = async (input, context) => {
|
|
|
42
42
|
'members': _ => _json(_),
|
|
43
43
|
'membersToInvite': _ => _json(_),
|
|
44
44
|
'silent': [],
|
|
45
|
+
'unreadMessageId': [],
|
|
45
46
|
}));
|
|
46
47
|
b.m("PUT")
|
|
47
48
|
.h(headers)
|
|
@@ -85,6 +86,7 @@ export const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
85
86
|
body = JSON.stringify(take(input, {
|
|
86
87
|
'access': [],
|
|
87
88
|
'assignee': _ => _json(_),
|
|
89
|
+
'autoRecord': [],
|
|
88
90
|
'broadcast': [],
|
|
89
91
|
'channelId': [],
|
|
90
92
|
'context': _ => _json(_),
|
|
@@ -98,6 +100,7 @@ export const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
98
100
|
'serviceTitle': [],
|
|
99
101
|
'sms': [],
|
|
100
102
|
'subject': [],
|
|
103
|
+
'transcriptionLanguage': [],
|
|
101
104
|
'whatsapp': [],
|
|
102
105
|
'whatsappStatus': [],
|
|
103
106
|
}));
|
|
@@ -1110,6 +1113,7 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1110
1113
|
body = JSON.stringify(take(input, {
|
|
1111
1114
|
'access': [],
|
|
1112
1115
|
'assignee': _ => _json(_),
|
|
1116
|
+
'autoRecord': [],
|
|
1113
1117
|
'broadcast': [],
|
|
1114
1118
|
'context': _ => _json(_),
|
|
1115
1119
|
'description': [],
|
|
@@ -1121,6 +1125,7 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1121
1125
|
'silent': [],
|
|
1122
1126
|
'sms': [],
|
|
1123
1127
|
'subject': [],
|
|
1128
|
+
'transcriptionLanguage': [],
|
|
1124
1129
|
'whatsapp': [],
|
|
1125
1130
|
'whatsappStatus': [],
|
|
1126
1131
|
}));
|
|
@@ -88,6 +88,8 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
88
88
|
* createdAt: "STRING_VALUE",
|
|
89
89
|
* updatedAt: "STRING_VALUE",
|
|
90
90
|
* },
|
|
91
|
+
* autoRecord: true || false,
|
|
92
|
+
* transcriptionLanguage: "STRING_VALUE",
|
|
91
93
|
* userId: "STRING_VALUE",
|
|
92
94
|
* channelId: "STRING_VALUE",
|
|
93
95
|
* members: [ // UsersIdList
|
|
@@ -169,6 +171,8 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
169
171
|
* // whatsappStatus: "24h_channel_closed",
|
|
170
172
|
* // broadcast: true || false,
|
|
171
173
|
* // external: true || false,
|
|
174
|
+
* // autoRecord: true || false,
|
|
175
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
172
176
|
* // channelId: "STRING_VALUE", // required
|
|
173
177
|
* // channelType: "direct" || "group", // required
|
|
174
178
|
* // memberCount: Number("int"), // required
|
|
@@ -323,6 +323,8 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
323
323
|
* // whatsappStatus: "24h_channel_closed",
|
|
324
324
|
* // broadcast: true || false,
|
|
325
325
|
* // external: true || false,
|
|
326
|
+
* // autoRecord: true || false,
|
|
327
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
326
328
|
* // channelId: "STRING_VALUE", // required
|
|
327
329
|
* // channelType: "direct" || "group", // required
|
|
328
330
|
* // memberCount: Number("int"), // required
|
|
@@ -111,6 +111,8 @@ declare const DescribeEventCommand_base: {
|
|
|
111
111
|
* // whatsappStatus: "24h_channel_closed",
|
|
112
112
|
* // broadcast: true || false,
|
|
113
113
|
* // external: true || false,
|
|
114
|
+
* // autoRecord: true || false,
|
|
115
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
114
116
|
* // channelId: "STRING_VALUE", // required
|
|
115
117
|
* // channelType: "direct" || "group", // required
|
|
116
118
|
* // memberCount: Number("int"), // required
|
|
@@ -219,6 +221,8 @@ declare const DescribeEventCommand_base: {
|
|
|
219
221
|
* // whatsappStatus: "24h_channel_closed",
|
|
220
222
|
* // broadcast: true || false,
|
|
221
223
|
* // external: true || false,
|
|
224
|
+
* // autoRecord: true || false,
|
|
225
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
222
226
|
* // channelId: "STRING_VALUE", // required
|
|
223
227
|
* // channelType: "direct" || "group", // required
|
|
224
228
|
* // memberCount: Number("int"), // required
|
|
@@ -327,6 +331,8 @@ declare const DescribeEventCommand_base: {
|
|
|
327
331
|
* // whatsappStatus: "24h_channel_closed",
|
|
328
332
|
* // broadcast: true || false,
|
|
329
333
|
* // external: true || false,
|
|
334
|
+
* // autoRecord: true || false,
|
|
335
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
330
336
|
* // channelId: "STRING_VALUE", // required
|
|
331
337
|
* // channelType: "direct" || "group", // required
|
|
332
338
|
* // memberCount: Number("int"), // required
|
|
@@ -397,6 +403,8 @@ declare const DescribeEventCommand_base: {
|
|
|
397
403
|
* // whatsappStatus: "24h_channel_closed",
|
|
398
404
|
* // broadcast: true || false,
|
|
399
405
|
* // external: true || false,
|
|
406
|
+
* // autoRecord: true || false,
|
|
407
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
400
408
|
* // channelId: "STRING_VALUE", // required
|
|
401
409
|
* // channelType: "direct" || "group", // required
|
|
402
410
|
* // memberCount: Number("int"), // required
|
|
@@ -467,6 +475,8 @@ declare const DescribeEventCommand_base: {
|
|
|
467
475
|
* // whatsappStatus: "24h_channel_closed",
|
|
468
476
|
* // broadcast: true || false,
|
|
469
477
|
* // external: true || false,
|
|
478
|
+
* // autoRecord: true || false,
|
|
479
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
470
480
|
* // channelId: "STRING_VALUE", // required
|
|
471
481
|
* // channelType: "direct" || "group", // required
|
|
472
482
|
* // memberCount: Number("int"), // required
|
|
@@ -104,6 +104,8 @@ declare const GetChannelCommand_base: {
|
|
|
104
104
|
* // whatsappStatus: "24h_channel_closed",
|
|
105
105
|
* // broadcast: true || false,
|
|
106
106
|
* // external: true || false,
|
|
107
|
+
* // autoRecord: true || false,
|
|
108
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
107
109
|
* // channelId: "STRING_VALUE", // required
|
|
108
110
|
* // channelType: "direct" || "group", // required
|
|
109
111
|
* // memberCount: Number("int"), // required
|
|
@@ -111,6 +111,8 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
111
111
|
* // whatsappStatus: "24h_channel_closed",
|
|
112
112
|
* // broadcast: true || false,
|
|
113
113
|
* // external: true || false,
|
|
114
|
+
* // autoRecord: true || false,
|
|
115
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
114
116
|
* // channelId: "STRING_VALUE", // required
|
|
115
117
|
* // channelType: "direct" || "group", // required
|
|
116
118
|
* // memberCount: Number("int"), // required
|
|
@@ -107,6 +107,8 @@ declare const GetOrCreateSmsChannelCommand_base: {
|
|
|
107
107
|
* // whatsappStatus: "24h_channel_closed",
|
|
108
108
|
* // broadcast: true || false,
|
|
109
109
|
* // external: true || false,
|
|
110
|
+
* // autoRecord: true || false,
|
|
111
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
110
112
|
* // channelId: "STRING_VALUE", // required
|
|
111
113
|
* // channelType: "direct" || "group", // required
|
|
112
114
|
* // memberCount: Number("int"), // required
|
|
@@ -107,6 +107,8 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
|
|
|
107
107
|
* // whatsappStatus: "24h_channel_closed",
|
|
108
108
|
* // broadcast: true || false,
|
|
109
109
|
* // external: true || false,
|
|
110
|
+
* // autoRecord: true || false,
|
|
111
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
110
112
|
* // channelId: "STRING_VALUE", // required
|
|
111
113
|
* // channelType: "direct" || "group", // required
|
|
112
114
|
* // memberCount: Number("int"), // required
|
|
@@ -107,6 +107,8 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
|
107
107
|
* // whatsappStatus: "24h_channel_closed",
|
|
108
108
|
* // broadcast: true || false,
|
|
109
109
|
* // external: true || false,
|
|
110
|
+
* // autoRecord: true || false,
|
|
111
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
110
112
|
* // channelId: "STRING_VALUE", // required
|
|
111
113
|
* // channelType: "direct" || "group", // required
|
|
112
114
|
* // memberCount: Number("int"), // required
|
|
@@ -106,6 +106,8 @@ declare const JoinChannelCommand_base: {
|
|
|
106
106
|
* // whatsappStatus: "24h_channel_closed",
|
|
107
107
|
* // broadcast: true || false,
|
|
108
108
|
* // external: true || false,
|
|
109
|
+
* // autoRecord: true || false,
|
|
110
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
109
111
|
* // channelId: "STRING_VALUE", // required
|
|
110
112
|
* // channelType: "direct" || "group", // required
|
|
111
113
|
* // memberCount: Number("int"), // required
|
|
@@ -108,6 +108,8 @@ declare const ListChannelsCommand_base: {
|
|
|
108
108
|
* // whatsappStatus: "24h_channel_closed",
|
|
109
109
|
* // broadcast: true || false,
|
|
110
110
|
* // external: true || false,
|
|
111
|
+
* // autoRecord: true || false,
|
|
112
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
111
113
|
* // channelId: "STRING_VALUE", // required
|
|
112
114
|
* // channelType: "direct" || "group", // required
|
|
113
115
|
* // memberCount: Number("int"), // required
|
|
@@ -92,9 +92,11 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
92
92
|
* createdAt: "STRING_VALUE",
|
|
93
93
|
* updatedAt: "STRING_VALUE",
|
|
94
94
|
* },
|
|
95
|
+
* autoRecord: true || false,
|
|
96
|
+
* transcriptionLanguage: "STRING_VALUE",
|
|
95
97
|
* },
|
|
96
98
|
* unset: [ // PartialUpdateChannelUnsetOptions
|
|
97
|
-
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee",
|
|
99
|
+
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee" || "sms" || "mms" || "whatsapp",
|
|
98
100
|
* ],
|
|
99
101
|
* };
|
|
100
102
|
* const command = new PartialUpdateChannelCommand(input);
|
|
@@ -164,6 +166,8 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
164
166
|
* // whatsappStatus: "24h_channel_closed",
|
|
165
167
|
* // broadcast: true || false,
|
|
166
168
|
* // external: true || false,
|
|
169
|
+
* // autoRecord: true || false,
|
|
170
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
167
171
|
* // channelId: "STRING_VALUE", // required
|
|
168
172
|
* // channelType: "direct" || "group", // required
|
|
169
173
|
* // memberCount: Number("int"), // required
|
|
@@ -113,6 +113,8 @@ declare const QueryChannelsCommand_base: {
|
|
|
113
113
|
* // whatsappStatus: "24h_channel_closed",
|
|
114
114
|
* // broadcast: true || false,
|
|
115
115
|
* // external: true || false,
|
|
116
|
+
* // autoRecord: true || false,
|
|
117
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
116
118
|
* // channelId: "STRING_VALUE", // required
|
|
117
119
|
* // channelType: "direct" || "group", // required
|
|
118
120
|
* // memberCount: Number("int"), // required
|
|
@@ -39,6 +39,11 @@ declare const SendSystemMessageCommand_base: {
|
|
|
39
39
|
* userId: "STRING_VALUE",
|
|
40
40
|
* message: { // SystemMessage Union: only one key present
|
|
41
41
|
* whatsAppClosed: {},
|
|
42
|
+
* multipleMembersJoined: { // MultipleMembersJoinedSystemMessage
|
|
43
|
+
* addedMembers: [ // UsersIdList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
42
47
|
* },
|
|
43
48
|
* };
|
|
44
49
|
* const command = new SendSystemMessageCommand(input);
|
|
@@ -88,6 +88,8 @@ declare const UpdateChannelCommand_base: {
|
|
|
88
88
|
* createdAt: "STRING_VALUE",
|
|
89
89
|
* updatedAt: "STRING_VALUE",
|
|
90
90
|
* },
|
|
91
|
+
* autoRecord: true || false,
|
|
92
|
+
* transcriptionLanguage: "STRING_VALUE",
|
|
91
93
|
* channelId: "STRING_VALUE", // required
|
|
92
94
|
* userId: "STRING_VALUE",
|
|
93
95
|
* silent: true || false,
|
|
@@ -159,6 +161,8 @@ declare const UpdateChannelCommand_base: {
|
|
|
159
161
|
* // whatsappStatus: "24h_channel_closed",
|
|
160
162
|
* // broadcast: true || false,
|
|
161
163
|
* // external: true || false,
|
|
164
|
+
* // autoRecord: true || false,
|
|
165
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
162
166
|
* // channelId: "STRING_VALUE", // required
|
|
163
167
|
* // channelType: "direct" || "group", // required
|
|
164
168
|
* // memberCount: Number("int"), // required
|
|
@@ -388,6 +388,11 @@ export interface AddChannelMembersInput {
|
|
|
388
388
|
* @public
|
|
389
389
|
*/
|
|
390
390
|
hideHistory?: boolean | undefined;
|
|
391
|
+
/**
|
|
392
|
+
* The unique identifier of the message that should be marked as unread for the added member.
|
|
393
|
+
* @public
|
|
394
|
+
*/
|
|
395
|
+
unreadMessageId?: string | undefined;
|
|
391
396
|
}
|
|
392
397
|
/**
|
|
393
398
|
* @public
|
|
@@ -693,6 +698,8 @@ export interface Channel {
|
|
|
693
698
|
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
694
699
|
broadcast?: boolean | undefined;
|
|
695
700
|
external?: boolean | undefined;
|
|
701
|
+
autoRecord?: boolean | undefined;
|
|
702
|
+
transcriptionLanguage?: string | undefined;
|
|
696
703
|
channelId: string;
|
|
697
704
|
channelType: ChannelType;
|
|
698
705
|
memberCount: number;
|
|
@@ -764,6 +771,10 @@ export interface CreateGroupChannelInput {
|
|
|
764
771
|
* @public
|
|
765
772
|
*/
|
|
766
773
|
context?: ChannelContext | undefined;
|
|
774
|
+
/**
|
|
775
|
+
* The WhatsApp status of the channel.
|
|
776
|
+
* @public
|
|
777
|
+
*/
|
|
767
778
|
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
768
779
|
/**
|
|
769
780
|
* Indicates if the channel supports SMS. Default is false.
|
|
@@ -791,6 +802,8 @@ export interface CreateGroupChannelInput {
|
|
|
791
802
|
* @public
|
|
792
803
|
*/
|
|
793
804
|
assignee?: User | undefined;
|
|
805
|
+
autoRecord?: boolean | undefined;
|
|
806
|
+
transcriptionLanguage?: string | undefined;
|
|
794
807
|
/**
|
|
795
808
|
* The unique identifier of the user when a service token is used.
|
|
796
809
|
* @public
|
|
@@ -2424,6 +2437,10 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2424
2437
|
* @public
|
|
2425
2438
|
*/
|
|
2426
2439
|
context?: ChannelContext | undefined;
|
|
2440
|
+
/**
|
|
2441
|
+
* The WhatsApp status of the channel.
|
|
2442
|
+
* @public
|
|
2443
|
+
*/
|
|
2427
2444
|
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
2428
2445
|
/**
|
|
2429
2446
|
* Indicates if the channel supports SMS. Default is false.
|
|
@@ -2451,6 +2468,8 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2451
2468
|
* @public
|
|
2452
2469
|
*/
|
|
2453
2470
|
assignee?: User | undefined;
|
|
2471
|
+
autoRecord?: boolean | undefined;
|
|
2472
|
+
transcriptionLanguage?: string | undefined;
|
|
2454
2473
|
}
|
|
2455
2474
|
/**
|
|
2456
2475
|
* @public
|
|
@@ -2465,11 +2484,14 @@ export declare const GroupChannelUnsetOptions: {
|
|
|
2465
2484
|
readonly CONTEXT_PTT: "contextPtt";
|
|
2466
2485
|
readonly DESCRIPTION: "description";
|
|
2467
2486
|
readonly KITE_ASSIGN: "kiteAssign";
|
|
2487
|
+
readonly MMS: "mms";
|
|
2468
2488
|
readonly PICTURE: "picture";
|
|
2469
2489
|
readonly PICTURE_COLOR: "pictureColor";
|
|
2470
2490
|
readonly SERVICE: "service";
|
|
2471
2491
|
readonly SERVICE_TITLE: "serviceTitle";
|
|
2492
|
+
readonly SMS: "sms";
|
|
2472
2493
|
readonly SUBJECT: "subject";
|
|
2494
|
+
readonly WHATSAPP: "whatsapp";
|
|
2473
2495
|
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2474
2496
|
};
|
|
2475
2497
|
/**
|
|
@@ -2844,6 +2866,12 @@ export interface SendMessageReactionInput {
|
|
|
2844
2866
|
*/
|
|
2845
2867
|
export interface SendMessageReactionOutput {
|
|
2846
2868
|
}
|
|
2869
|
+
/**
|
|
2870
|
+
* @public
|
|
2871
|
+
*/
|
|
2872
|
+
export interface MultipleMembersJoinedSystemMessage {
|
|
2873
|
+
addedMembers: (string)[];
|
|
2874
|
+
}
|
|
2847
2875
|
/**
|
|
2848
2876
|
* @public
|
|
2849
2877
|
*/
|
|
@@ -2852,7 +2880,7 @@ export interface WhatsAppClosedSystemMessage {
|
|
|
2852
2880
|
/**
|
|
2853
2881
|
* @public
|
|
2854
2882
|
*/
|
|
2855
|
-
export type SystemMessage = SystemMessage.WhatsAppClosedMember | SystemMessage.$UnknownMember;
|
|
2883
|
+
export type SystemMessage = SystemMessage.MultipleMembersJoinedMember | SystemMessage.WhatsAppClosedMember | SystemMessage.$UnknownMember;
|
|
2856
2884
|
/**
|
|
2857
2885
|
* @public
|
|
2858
2886
|
*/
|
|
@@ -2863,6 +2891,16 @@ export declare namespace SystemMessage {
|
|
|
2863
2891
|
*/
|
|
2864
2892
|
interface WhatsAppClosedMember {
|
|
2865
2893
|
whatsAppClosed: WhatsAppClosedSystemMessage;
|
|
2894
|
+
multipleMembersJoined?: never;
|
|
2895
|
+
$unknown?: never;
|
|
2896
|
+
}
|
|
2897
|
+
/**
|
|
2898
|
+
* A message indicating that multiple members have joined the channel.
|
|
2899
|
+
* @public
|
|
2900
|
+
*/
|
|
2901
|
+
interface MultipleMembersJoinedMember {
|
|
2902
|
+
whatsAppClosed?: never;
|
|
2903
|
+
multipleMembersJoined: MultipleMembersJoinedSystemMessage;
|
|
2866
2904
|
$unknown?: never;
|
|
2867
2905
|
}
|
|
2868
2906
|
/**
|
|
@@ -2870,10 +2908,12 @@ export declare namespace SystemMessage {
|
|
|
2870
2908
|
*/
|
|
2871
2909
|
interface $UnknownMember {
|
|
2872
2910
|
whatsAppClosed?: never;
|
|
2911
|
+
multipleMembersJoined?: never;
|
|
2873
2912
|
$unknown: [string, any];
|
|
2874
2913
|
}
|
|
2875
2914
|
interface Visitor<T> {
|
|
2876
2915
|
whatsAppClosed: (value: WhatsAppClosedSystemMessage) => T;
|
|
2916
|
+
multipleMembersJoined: (value: MultipleMembersJoinedSystemMessage) => T;
|
|
2877
2917
|
_: (name: string, value: any) => T;
|
|
2878
2918
|
}
|
|
2879
2919
|
const visit: <T>(value: SystemMessage, visitor: Visitor<T>) => T;
|
|
@@ -3153,6 +3193,10 @@ export interface UpdateChannelInput {
|
|
|
3153
3193
|
* @public
|
|
3154
3194
|
*/
|
|
3155
3195
|
context?: ChannelContext | undefined;
|
|
3196
|
+
/**
|
|
3197
|
+
* The WhatsApp status of the channel.
|
|
3198
|
+
* @public
|
|
3199
|
+
*/
|
|
3156
3200
|
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
3157
3201
|
/**
|
|
3158
3202
|
* Indicates if the channel supports SMS. Default is false.
|
|
@@ -3180,6 +3224,8 @@ export interface UpdateChannelInput {
|
|
|
3180
3224
|
* @public
|
|
3181
3225
|
*/
|
|
3182
3226
|
assignee?: User | undefined;
|
|
3227
|
+
autoRecord?: boolean | undefined;
|
|
3228
|
+
transcriptionLanguage?: string | undefined;
|
|
3183
3229
|
/**
|
|
3184
3230
|
* The unique identifier of the channel to be updated.
|
|
3185
3231
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.26",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|