@wildix/xbees-conversations-client 1.0.32 → 1.0.33
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/Conversations.js +2 -2
- package/dist-cjs/commands/{GetMessageReactionsCommand.js → ListMessageReactionsCommand.js} +7 -7
- package/dist-cjs/commands/index.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +69 -64
- package/dist-es/Conversations.js +2 -2
- package/dist-es/commands/{GetMessageReactionsCommand.js → ListMessageReactionsCommand.js} +6 -6
- package/dist-es/commands/index.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +66 -61
- package/dist-types/Conversations.d.ts +7 -7
- package/dist-types/ConversationsClient.d.ts +3 -3
- package/dist-types/commands/GetMessageCommand.d.ts +2 -2
- package/dist-types/commands/{GetMessageReactionsCommand.d.ts → ListMessageReactionsCommand.d.ts} +18 -18
- package/dist-types/commands/ListMessagesCommand.d.ts +4 -2
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -4
- package/dist-types/commands/SendGiphyCommand.d.ts +2 -2
- package/dist-types/commands/SendMessageCommand.d.ts +4 -4
- package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMessageCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +18 -16
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -9
- package/package.json +1 -1
|
@@ -13,13 +13,13 @@ const GetChannelCommand_1 = require("./commands/GetChannelCommand");
|
|
|
13
13
|
const GetChannelMemberCommand_1 = require("./commands/GetChannelMemberCommand");
|
|
14
14
|
const GetDirectChannelIdCommand_1 = require("./commands/GetDirectChannelIdCommand");
|
|
15
15
|
const GetMessageCommand_1 = require("./commands/GetMessageCommand");
|
|
16
|
-
const GetMessageReactionsCommand_1 = require("./commands/GetMessageReactionsCommand");
|
|
17
16
|
const GetOrCreateDirectChannelCommand_1 = require("./commands/GetOrCreateDirectChannelCommand");
|
|
18
17
|
const InviteCommand_1 = require("./commands/InviteCommand");
|
|
19
18
|
const JoinChannelCommand_1 = require("./commands/JoinChannelCommand");
|
|
20
19
|
const LeaveChannelCommand_1 = require("./commands/LeaveChannelCommand");
|
|
21
20
|
const ListChannelMembersCommand_1 = require("./commands/ListChannelMembersCommand");
|
|
22
21
|
const ListChannelsCommand_1 = require("./commands/ListChannelsCommand");
|
|
22
|
+
const ListMessageReactionsCommand_1 = require("./commands/ListMessageReactionsCommand");
|
|
23
23
|
const ListMessagesCommand_1 = require("./commands/ListMessagesCommand");
|
|
24
24
|
const MarkReadCommand_1 = require("./commands/MarkReadCommand");
|
|
25
25
|
const PartialUpdateChannelCommand_1 = require("./commands/PartialUpdateChannelCommand");
|
|
@@ -46,13 +46,13 @@ const commands = {
|
|
|
46
46
|
GetChannelMemberCommand: GetChannelMemberCommand_1.GetChannelMemberCommand,
|
|
47
47
|
GetDirectChannelIdCommand: GetDirectChannelIdCommand_1.GetDirectChannelIdCommand,
|
|
48
48
|
GetMessageCommand: GetMessageCommand_1.GetMessageCommand,
|
|
49
|
-
GetMessageReactionsCommand: GetMessageReactionsCommand_1.GetMessageReactionsCommand,
|
|
50
49
|
GetOrCreateDirectChannelCommand: GetOrCreateDirectChannelCommand_1.GetOrCreateDirectChannelCommand,
|
|
51
50
|
InviteCommand: InviteCommand_1.InviteCommand,
|
|
52
51
|
JoinChannelCommand: JoinChannelCommand_1.JoinChannelCommand,
|
|
53
52
|
LeaveChannelCommand: LeaveChannelCommand_1.LeaveChannelCommand,
|
|
54
53
|
ListChannelMembersCommand: ListChannelMembersCommand_1.ListChannelMembersCommand,
|
|
55
54
|
ListChannelsCommand: ListChannelsCommand_1.ListChannelsCommand,
|
|
55
|
+
ListMessageReactionsCommand: ListMessageReactionsCommand_1.ListMessageReactionsCommand,
|
|
56
56
|
ListMessagesCommand: ListMessagesCommand_1.ListMessagesCommand,
|
|
57
57
|
MarkReadCommand: MarkReadCommand_1.MarkReadCommand,
|
|
58
58
|
PartialUpdateChannelCommand: PartialUpdateChannelCommand_1.PartialUpdateChannelCommand,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ListMessageReactionsCommand = exports.$Command = void 0;
|
|
4
4
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const types_1 = require("@smithy/types");
|
|
9
|
-
class
|
|
9
|
+
class ListMessageReactionsCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
@@ -16,7 +16,7 @@ class GetMessageReactionsCommand extends smithy_client_1.Command {
|
|
|
16
16
|
const stack = clientStack.concat(this.middlewareStack);
|
|
17
17
|
const { logger } = configuration;
|
|
18
18
|
const clientName = "ConversationsClient";
|
|
19
|
-
const commandName = "
|
|
19
|
+
const commandName = "ListMessageReactionsCommand";
|
|
20
20
|
const handlerExecutionContext = {
|
|
21
21
|
logger,
|
|
22
22
|
clientName,
|
|
@@ -25,17 +25,17 @@ class GetMessageReactionsCommand extends smithy_client_1.Command {
|
|
|
25
25
|
outputFilterSensitiveLog: (_) => _,
|
|
26
26
|
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
27
|
service: "Conversations",
|
|
28
|
-
operation: "
|
|
28
|
+
operation: "ListMessageReactions",
|
|
29
29
|
},
|
|
30
30
|
};
|
|
31
31
|
const { requestHandler } = configuration;
|
|
32
32
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
33
|
}
|
|
34
34
|
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.
|
|
35
|
+
return (0, Aws_restJson1_1.se_ListMessageReactionsCommand)(input, context);
|
|
36
36
|
}
|
|
37
37
|
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.
|
|
38
|
+
return (0, Aws_restJson1_1.de_ListMessageReactionsCommand)(output, context);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
41
|
+
exports.ListMessageReactionsCommand = ListMessageReactionsCommand;
|
|
@@ -12,13 +12,13 @@ tslib_1.__exportStar(require("./GetChannelCommand"), exports);
|
|
|
12
12
|
tslib_1.__exportStar(require("./GetChannelMemberCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./GetDirectChannelIdCommand"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./GetMessageCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./GetMessageReactionsCommand"), exports);
|
|
16
15
|
tslib_1.__exportStar(require("./GetOrCreateDirectChannelCommand"), exports);
|
|
17
16
|
tslib_1.__exportStar(require("./InviteCommand"), exports);
|
|
18
17
|
tslib_1.__exportStar(require("./JoinChannelCommand"), exports);
|
|
19
18
|
tslib_1.__exportStar(require("./LeaveChannelCommand"), exports);
|
|
20
19
|
tslib_1.__exportStar(require("./ListChannelMembersCommand"), exports);
|
|
21
20
|
tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListMessageReactionsCommand"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./ListMessagesCommand"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./MarkReadCommand"), exports);
|
|
24
24
|
tslib_1.__exportStar(require("./PartialUpdateChannelCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_ListMessagesCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_GetOrCreateDirectChannelCommand = exports.
|
|
3
|
+
exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateGroupChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UpdateMessageCommand = exports.se_UpdateChannelCommand = exports.se_SendTypingStopCommand = exports.se_SendTypingStartCommand = exports.se_SendSystemMessageCommand = exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = exports.se_SendGiphyCommand = exports.se_ScheduleExternalFlagAdjustmentJobCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MarkReadCommand = exports.se_ListMessagesCommand = exports.se_ListMessageReactionsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_InviteCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateGroupChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
|
|
4
4
|
exports.de_UpdateMessageCommand = exports.de_UpdateChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendSystemMessageCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkReadCommand = void 0;
|
|
5
5
|
const ConversationsServiceException_1 = require("../models/ConversationsServiceException");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
@@ -248,29 +248,6 @@ const se_GetMessageCommand = async (input, context) => {
|
|
|
248
248
|
});
|
|
249
249
|
};
|
|
250
250
|
exports.se_GetMessageCommand = se_GetMessageCommand;
|
|
251
|
-
const se_GetMessageReactionsCommand = async (input, context) => {
|
|
252
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
253
|
-
const headers = {};
|
|
254
|
-
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/conversations/channels/{channelId}/messages/{messageId}/reactions";
|
|
255
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, 'channelId', () => input.channelId, '{channelId}', false);
|
|
256
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, 'messageId', () => input.messageId, '{messageId}', false);
|
|
257
|
-
const query = (0, smithy_client_1.map)({
|
|
258
|
-
"limit": [() => input.limit !== void 0, () => (input.limit.toString())],
|
|
259
|
-
"offset": [() => input.offset !== void 0, () => (input.offset.toString())],
|
|
260
|
-
});
|
|
261
|
-
let body;
|
|
262
|
-
return new protocol_http_1.HttpRequest({
|
|
263
|
-
protocol,
|
|
264
|
-
hostname,
|
|
265
|
-
port,
|
|
266
|
-
method: "GET",
|
|
267
|
-
headers,
|
|
268
|
-
path: resolvedPath,
|
|
269
|
-
query,
|
|
270
|
-
body,
|
|
271
|
-
});
|
|
272
|
-
};
|
|
273
|
-
exports.se_GetMessageReactionsCommand = se_GetMessageReactionsCommand;
|
|
274
251
|
const se_GetOrCreateDirectChannelCommand = async (input, context) => {
|
|
275
252
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
276
253
|
const headers = {
|
|
@@ -414,11 +391,38 @@ const se_ListChannelsCommand = async (input, context) => {
|
|
|
414
391
|
});
|
|
415
392
|
};
|
|
416
393
|
exports.se_ListChannelsCommand = se_ListChannelsCommand;
|
|
394
|
+
const se_ListMessageReactionsCommand = async (input, context) => {
|
|
395
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
396
|
+
const headers = {};
|
|
397
|
+
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/conversations/channels/{channelId}/messages/{messageId}/reactions";
|
|
398
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, 'channelId', () => input.channelId, '{channelId}', false);
|
|
399
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, 'messageId', () => input.messageId, '{messageId}', false);
|
|
400
|
+
const query = (0, smithy_client_1.map)({
|
|
401
|
+
"limit": [() => input.limit !== void 0, () => (input.limit.toString())],
|
|
402
|
+
"offset": [() => input.offset !== void 0, () => (input.offset.toString())],
|
|
403
|
+
});
|
|
404
|
+
let body;
|
|
405
|
+
return new protocol_http_1.HttpRequest({
|
|
406
|
+
protocol,
|
|
407
|
+
hostname,
|
|
408
|
+
port,
|
|
409
|
+
method: "GET",
|
|
410
|
+
headers,
|
|
411
|
+
path: resolvedPath,
|
|
412
|
+
query,
|
|
413
|
+
body,
|
|
414
|
+
});
|
|
415
|
+
};
|
|
416
|
+
exports.se_ListMessageReactionsCommand = se_ListMessageReactionsCommand;
|
|
417
417
|
const se_ListMessagesCommand = async (input, context) => {
|
|
418
418
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
419
419
|
const headers = {};
|
|
420
420
|
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/conversations/channels/{channelId}/messages";
|
|
421
421
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, 'channelId', () => input.channelId, '{channelId}', false);
|
|
422
|
+
const query = (0, smithy_client_1.map)({
|
|
423
|
+
"limit": [() => input.limit !== void 0, () => (input.limit.toString())],
|
|
424
|
+
"offset": [() => input.offset !== void 0, () => (input.offset.toString())],
|
|
425
|
+
});
|
|
422
426
|
let body;
|
|
423
427
|
return new protocol_http_1.HttpRequest({
|
|
424
428
|
protocol,
|
|
@@ -427,6 +431,7 @@ const se_ListMessagesCommand = async (input, context) => {
|
|
|
427
431
|
method: "GET",
|
|
428
432
|
headers,
|
|
429
433
|
path: resolvedPath,
|
|
434
|
+
query,
|
|
430
435
|
body,
|
|
431
436
|
});
|
|
432
437
|
};
|
|
@@ -1177,46 +1182,6 @@ const de_GetMessageCommandError = async (output, context) => {
|
|
|
1177
1182
|
});
|
|
1178
1183
|
}
|
|
1179
1184
|
};
|
|
1180
|
-
const de_GetMessageReactionsCommand = async (output, context) => {
|
|
1181
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1182
|
-
return de_GetMessageReactionsCommandError(output, context);
|
|
1183
|
-
}
|
|
1184
|
-
const contents = (0, smithy_client_1.map)({
|
|
1185
|
-
$metadata: deserializeMetadata(output),
|
|
1186
|
-
});
|
|
1187
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
1188
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1189
|
-
'reactions': smithy_client_1._json,
|
|
1190
|
-
});
|
|
1191
|
-
Object.assign(contents, doc);
|
|
1192
|
-
return contents;
|
|
1193
|
-
};
|
|
1194
|
-
exports.de_GetMessageReactionsCommand = de_GetMessageReactionsCommand;
|
|
1195
|
-
const de_GetMessageReactionsCommandError = async (output, context) => {
|
|
1196
|
-
const parsedOutput = {
|
|
1197
|
-
...output,
|
|
1198
|
-
body: await parseErrorBody(output.body, context)
|
|
1199
|
-
};
|
|
1200
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1201
|
-
switch (errorCode) {
|
|
1202
|
-
case "ChannelNotFoundException":
|
|
1203
|
-
case "wildix.xbees.conversations#ChannelNotFoundException":
|
|
1204
|
-
throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
|
|
1205
|
-
case "ForbiddenException":
|
|
1206
|
-
case "smithy.framework#ForbiddenException":
|
|
1207
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1208
|
-
case "ValidationException":
|
|
1209
|
-
case "smithy.framework#ValidationException":
|
|
1210
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1211
|
-
default:
|
|
1212
|
-
const parsedBody = parsedOutput.body;
|
|
1213
|
-
return throwDefaultError({
|
|
1214
|
-
output,
|
|
1215
|
-
parsedBody,
|
|
1216
|
-
errorCode
|
|
1217
|
-
});
|
|
1218
|
-
}
|
|
1219
|
-
};
|
|
1220
1185
|
const de_GetOrCreateDirectChannelCommand = async (output, context) => {
|
|
1221
1186
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1222
1187
|
return de_GetOrCreateDirectChannelCommandError(output, context);
|
|
@@ -1445,6 +1410,46 @@ const de_ListChannelsCommandError = async (output, context) => {
|
|
|
1445
1410
|
});
|
|
1446
1411
|
}
|
|
1447
1412
|
};
|
|
1413
|
+
const de_ListMessageReactionsCommand = async (output, context) => {
|
|
1414
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1415
|
+
return de_ListMessageReactionsCommandError(output, context);
|
|
1416
|
+
}
|
|
1417
|
+
const contents = (0, smithy_client_1.map)({
|
|
1418
|
+
$metadata: deserializeMetadata(output),
|
|
1419
|
+
});
|
|
1420
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
1421
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1422
|
+
'reactions': smithy_client_1._json,
|
|
1423
|
+
});
|
|
1424
|
+
Object.assign(contents, doc);
|
|
1425
|
+
return contents;
|
|
1426
|
+
};
|
|
1427
|
+
exports.de_ListMessageReactionsCommand = de_ListMessageReactionsCommand;
|
|
1428
|
+
const de_ListMessageReactionsCommandError = async (output, context) => {
|
|
1429
|
+
const parsedOutput = {
|
|
1430
|
+
...output,
|
|
1431
|
+
body: await parseErrorBody(output.body, context)
|
|
1432
|
+
};
|
|
1433
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1434
|
+
switch (errorCode) {
|
|
1435
|
+
case "ChannelNotFoundException":
|
|
1436
|
+
case "wildix.xbees.conversations#ChannelNotFoundException":
|
|
1437
|
+
throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
|
|
1438
|
+
case "ForbiddenException":
|
|
1439
|
+
case "smithy.framework#ForbiddenException":
|
|
1440
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1441
|
+
case "ValidationException":
|
|
1442
|
+
case "smithy.framework#ValidationException":
|
|
1443
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1444
|
+
default:
|
|
1445
|
+
const parsedBody = parsedOutput.body;
|
|
1446
|
+
return throwDefaultError({
|
|
1447
|
+
output,
|
|
1448
|
+
parsedBody,
|
|
1449
|
+
errorCode
|
|
1450
|
+
});
|
|
1451
|
+
}
|
|
1452
|
+
};
|
|
1448
1453
|
const de_ListMessagesCommand = async (output, context) => {
|
|
1449
1454
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1450
1455
|
return de_ListMessagesCommandError(output, context);
|
package/dist-es/Conversations.js
CHANGED
|
@@ -10,13 +10,13 @@ import { GetChannelCommand, } from "./commands/GetChannelCommand";
|
|
|
10
10
|
import { GetChannelMemberCommand, } from "./commands/GetChannelMemberCommand";
|
|
11
11
|
import { GetDirectChannelIdCommand, } from "./commands/GetDirectChannelIdCommand";
|
|
12
12
|
import { GetMessageCommand, } from "./commands/GetMessageCommand";
|
|
13
|
-
import { GetMessageReactionsCommand, } from "./commands/GetMessageReactionsCommand";
|
|
14
13
|
import { GetOrCreateDirectChannelCommand, } from "./commands/GetOrCreateDirectChannelCommand";
|
|
15
14
|
import { InviteCommand, } from "./commands/InviteCommand";
|
|
16
15
|
import { JoinChannelCommand, } from "./commands/JoinChannelCommand";
|
|
17
16
|
import { LeaveChannelCommand, } from "./commands/LeaveChannelCommand";
|
|
18
17
|
import { ListChannelMembersCommand, } from "./commands/ListChannelMembersCommand";
|
|
19
18
|
import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
|
|
19
|
+
import { ListMessageReactionsCommand, } from "./commands/ListMessageReactionsCommand";
|
|
20
20
|
import { ListMessagesCommand, } from "./commands/ListMessagesCommand";
|
|
21
21
|
import { MarkReadCommand, } from "./commands/MarkReadCommand";
|
|
22
22
|
import { PartialUpdateChannelCommand, } from "./commands/PartialUpdateChannelCommand";
|
|
@@ -43,13 +43,13 @@ const commands = {
|
|
|
43
43
|
GetChannelMemberCommand,
|
|
44
44
|
GetDirectChannelIdCommand,
|
|
45
45
|
GetMessageCommand,
|
|
46
|
-
GetMessageReactionsCommand,
|
|
47
46
|
GetOrCreateDirectChannelCommand,
|
|
48
47
|
InviteCommand,
|
|
49
48
|
JoinChannelCommand,
|
|
50
49
|
LeaveChannelCommand,
|
|
51
50
|
ListChannelMembersCommand,
|
|
52
51
|
ListChannelsCommand,
|
|
52
|
+
ListMessageReactionsCommand,
|
|
53
53
|
ListMessagesCommand,
|
|
54
54
|
MarkReadCommand,
|
|
55
55
|
PartialUpdateChannelCommand,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { de_ListMessageReactionsCommand, se_ListMessageReactionsCommand, } from "../protocols/Aws_restJson1";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class ListMessageReactionsCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
8
8
|
super();
|
|
9
9
|
this.input = input;
|
|
@@ -13,7 +13,7 @@ export class GetMessageReactionsCommand extends $Command {
|
|
|
13
13
|
const stack = clientStack.concat(this.middlewareStack);
|
|
14
14
|
const { logger } = configuration;
|
|
15
15
|
const clientName = "ConversationsClient";
|
|
16
|
-
const commandName = "
|
|
16
|
+
const commandName = "ListMessageReactionsCommand";
|
|
17
17
|
const handlerExecutionContext = {
|
|
18
18
|
logger,
|
|
19
19
|
clientName,
|
|
@@ -22,16 +22,16 @@ export class GetMessageReactionsCommand extends $Command {
|
|
|
22
22
|
outputFilterSensitiveLog: (_) => _,
|
|
23
23
|
[SMITHY_CONTEXT_KEY]: {
|
|
24
24
|
service: "Conversations",
|
|
25
|
-
operation: "
|
|
25
|
+
operation: "ListMessageReactions",
|
|
26
26
|
},
|
|
27
27
|
};
|
|
28
28
|
const { requestHandler } = configuration;
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return
|
|
32
|
+
return se_ListMessageReactionsCommand(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return
|
|
35
|
+
return de_ListMessageReactionsCommand(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -9,13 +9,13 @@ export * from "./GetChannelCommand";
|
|
|
9
9
|
export * from "./GetChannelMemberCommand";
|
|
10
10
|
export * from "./GetDirectChannelIdCommand";
|
|
11
11
|
export * from "./GetMessageCommand";
|
|
12
|
-
export * from "./GetMessageReactionsCommand";
|
|
13
12
|
export * from "./GetOrCreateDirectChannelCommand";
|
|
14
13
|
export * from "./InviteCommand";
|
|
15
14
|
export * from "./JoinChannelCommand";
|
|
16
15
|
export * from "./LeaveChannelCommand";
|
|
17
16
|
export * from "./ListChannelMembersCommand";
|
|
18
17
|
export * from "./ListChannelsCommand";
|
|
18
|
+
export * from "./ListMessageReactionsCommand";
|
|
19
19
|
export * from "./ListMessagesCommand";
|
|
20
20
|
export * from "./MarkReadCommand";
|
|
21
21
|
export * from "./PartialUpdateChannelCommand";
|
|
@@ -233,28 +233,6 @@ export const se_GetMessageCommand = async (input, context) => {
|
|
|
233
233
|
body,
|
|
234
234
|
});
|
|
235
235
|
};
|
|
236
|
-
export const se_GetMessageReactionsCommand = async (input, context) => {
|
|
237
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
238
|
-
const headers = {};
|
|
239
|
-
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/conversations/channels/{channelId}/messages/{messageId}/reactions";
|
|
240
|
-
resolvedPath = __resolvedPath(resolvedPath, input, 'channelId', () => input.channelId, '{channelId}', false);
|
|
241
|
-
resolvedPath = __resolvedPath(resolvedPath, input, 'messageId', () => input.messageId, '{messageId}', false);
|
|
242
|
-
const query = map({
|
|
243
|
-
"limit": [() => input.limit !== void 0, () => (input.limit.toString())],
|
|
244
|
-
"offset": [() => input.offset !== void 0, () => (input.offset.toString())],
|
|
245
|
-
});
|
|
246
|
-
let body;
|
|
247
|
-
return new __HttpRequest({
|
|
248
|
-
protocol,
|
|
249
|
-
hostname,
|
|
250
|
-
port,
|
|
251
|
-
method: "GET",
|
|
252
|
-
headers,
|
|
253
|
-
path: resolvedPath,
|
|
254
|
-
query,
|
|
255
|
-
body,
|
|
256
|
-
});
|
|
257
|
-
};
|
|
258
236
|
export const se_GetOrCreateDirectChannelCommand = async (input, context) => {
|
|
259
237
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
260
238
|
const headers = {
|
|
@@ -392,11 +370,37 @@ export const se_ListChannelsCommand = async (input, context) => {
|
|
|
392
370
|
body,
|
|
393
371
|
});
|
|
394
372
|
};
|
|
373
|
+
export const se_ListMessageReactionsCommand = async (input, context) => {
|
|
374
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
375
|
+
const headers = {};
|
|
376
|
+
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/conversations/channels/{channelId}/messages/{messageId}/reactions";
|
|
377
|
+
resolvedPath = __resolvedPath(resolvedPath, input, 'channelId', () => input.channelId, '{channelId}', false);
|
|
378
|
+
resolvedPath = __resolvedPath(resolvedPath, input, 'messageId', () => input.messageId, '{messageId}', false);
|
|
379
|
+
const query = map({
|
|
380
|
+
"limit": [() => input.limit !== void 0, () => (input.limit.toString())],
|
|
381
|
+
"offset": [() => input.offset !== void 0, () => (input.offset.toString())],
|
|
382
|
+
});
|
|
383
|
+
let body;
|
|
384
|
+
return new __HttpRequest({
|
|
385
|
+
protocol,
|
|
386
|
+
hostname,
|
|
387
|
+
port,
|
|
388
|
+
method: "GET",
|
|
389
|
+
headers,
|
|
390
|
+
path: resolvedPath,
|
|
391
|
+
query,
|
|
392
|
+
body,
|
|
393
|
+
});
|
|
394
|
+
};
|
|
395
395
|
export const se_ListMessagesCommand = async (input, context) => {
|
|
396
396
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
397
397
|
const headers = {};
|
|
398
398
|
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/conversations/channels/{channelId}/messages";
|
|
399
399
|
resolvedPath = __resolvedPath(resolvedPath, input, 'channelId', () => input.channelId, '{channelId}', false);
|
|
400
|
+
const query = map({
|
|
401
|
+
"limit": [() => input.limit !== void 0, () => (input.limit.toString())],
|
|
402
|
+
"offset": [() => input.offset !== void 0, () => (input.offset.toString())],
|
|
403
|
+
});
|
|
400
404
|
let body;
|
|
401
405
|
return new __HttpRequest({
|
|
402
406
|
protocol,
|
|
@@ -405,6 +409,7 @@ export const se_ListMessagesCommand = async (input, context) => {
|
|
|
405
409
|
method: "GET",
|
|
406
410
|
headers,
|
|
407
411
|
path: resolvedPath,
|
|
412
|
+
query,
|
|
408
413
|
body,
|
|
409
414
|
});
|
|
410
415
|
};
|
|
@@ -1131,45 +1136,6 @@ const de_GetMessageCommandError = async (output, context) => {
|
|
|
1131
1136
|
});
|
|
1132
1137
|
}
|
|
1133
1138
|
};
|
|
1134
|
-
export const de_GetMessageReactionsCommand = async (output, context) => {
|
|
1135
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1136
|
-
return de_GetMessageReactionsCommandError(output, context);
|
|
1137
|
-
}
|
|
1138
|
-
const contents = map({
|
|
1139
|
-
$metadata: deserializeMetadata(output),
|
|
1140
|
-
});
|
|
1141
|
-
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1142
|
-
const doc = take(data, {
|
|
1143
|
-
'reactions': _json,
|
|
1144
|
-
});
|
|
1145
|
-
Object.assign(contents, doc);
|
|
1146
|
-
return contents;
|
|
1147
|
-
};
|
|
1148
|
-
const de_GetMessageReactionsCommandError = async (output, context) => {
|
|
1149
|
-
const parsedOutput = {
|
|
1150
|
-
...output,
|
|
1151
|
-
body: await parseErrorBody(output.body, context)
|
|
1152
|
-
};
|
|
1153
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1154
|
-
switch (errorCode) {
|
|
1155
|
-
case "ChannelNotFoundException":
|
|
1156
|
-
case "wildix.xbees.conversations#ChannelNotFoundException":
|
|
1157
|
-
throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
|
|
1158
|
-
case "ForbiddenException":
|
|
1159
|
-
case "smithy.framework#ForbiddenException":
|
|
1160
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1161
|
-
case "ValidationException":
|
|
1162
|
-
case "smithy.framework#ValidationException":
|
|
1163
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1164
|
-
default:
|
|
1165
|
-
const parsedBody = parsedOutput.body;
|
|
1166
|
-
return throwDefaultError({
|
|
1167
|
-
output,
|
|
1168
|
-
parsedBody,
|
|
1169
|
-
errorCode
|
|
1170
|
-
});
|
|
1171
|
-
}
|
|
1172
|
-
};
|
|
1173
1139
|
export const de_GetOrCreateDirectChannelCommand = async (output, context) => {
|
|
1174
1140
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1175
1141
|
return de_GetOrCreateDirectChannelCommandError(output, context);
|
|
@@ -1392,6 +1358,45 @@ const de_ListChannelsCommandError = async (output, context) => {
|
|
|
1392
1358
|
});
|
|
1393
1359
|
}
|
|
1394
1360
|
};
|
|
1361
|
+
export const de_ListMessageReactionsCommand = async (output, context) => {
|
|
1362
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1363
|
+
return de_ListMessageReactionsCommandError(output, context);
|
|
1364
|
+
}
|
|
1365
|
+
const contents = map({
|
|
1366
|
+
$metadata: deserializeMetadata(output),
|
|
1367
|
+
});
|
|
1368
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1369
|
+
const doc = take(data, {
|
|
1370
|
+
'reactions': _json,
|
|
1371
|
+
});
|
|
1372
|
+
Object.assign(contents, doc);
|
|
1373
|
+
return contents;
|
|
1374
|
+
};
|
|
1375
|
+
const de_ListMessageReactionsCommandError = async (output, context) => {
|
|
1376
|
+
const parsedOutput = {
|
|
1377
|
+
...output,
|
|
1378
|
+
body: await parseErrorBody(output.body, context)
|
|
1379
|
+
};
|
|
1380
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1381
|
+
switch (errorCode) {
|
|
1382
|
+
case "ChannelNotFoundException":
|
|
1383
|
+
case "wildix.xbees.conversations#ChannelNotFoundException":
|
|
1384
|
+
throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
|
|
1385
|
+
case "ForbiddenException":
|
|
1386
|
+
case "smithy.framework#ForbiddenException":
|
|
1387
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1388
|
+
case "ValidationException":
|
|
1389
|
+
case "smithy.framework#ValidationException":
|
|
1390
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1391
|
+
default:
|
|
1392
|
+
const parsedBody = parsedOutput.body;
|
|
1393
|
+
return throwDefaultError({
|
|
1394
|
+
output,
|
|
1395
|
+
parsedBody,
|
|
1396
|
+
errorCode
|
|
1397
|
+
});
|
|
1398
|
+
}
|
|
1399
|
+
};
|
|
1395
1400
|
export const de_ListMessagesCommand = async (output, context) => {
|
|
1396
1401
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1397
1402
|
return de_ListMessagesCommandError(output, context);
|
|
@@ -10,13 +10,13 @@ import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetC
|
|
|
10
10
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
11
11
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
12
12
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
13
|
-
import { GetMessageReactionsCommandInput, GetMessageReactionsCommandOutput } from "./commands/GetMessageReactionsCommand";
|
|
14
13
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
15
14
|
import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
|
|
16
15
|
import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/JoinChannelCommand";
|
|
17
16
|
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
|
|
18
17
|
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
|
|
19
18
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
19
|
+
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
20
20
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
21
21
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
22
22
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
@@ -98,12 +98,6 @@ export interface Conversations {
|
|
|
98
98
|
getMessage(args: GetMessageCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageCommandOutput>;
|
|
99
99
|
getMessage(args: GetMessageCommandInput, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
|
|
100
100
|
getMessage(args: GetMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
|
|
101
|
-
/**
|
|
102
|
-
* @see {@link GetMessageReactionsCommand}
|
|
103
|
-
*/
|
|
104
|
-
getMessageReactions(args: GetMessageReactionsCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageReactionsCommandOutput>;
|
|
105
|
-
getMessageReactions(args: GetMessageReactionsCommandInput, cb: (err: any, data?: GetMessageReactionsCommandOutput) => void): void;
|
|
106
|
-
getMessageReactions(args: GetMessageReactionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageReactionsCommandOutput) => void): void;
|
|
107
101
|
/**
|
|
108
102
|
* @see {@link GetOrCreateDirectChannelCommand}
|
|
109
103
|
*/
|
|
@@ -140,6 +134,12 @@ export interface Conversations {
|
|
|
140
134
|
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
141
135
|
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
142
136
|
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
137
|
+
/**
|
|
138
|
+
* @see {@link ListMessageReactionsCommand}
|
|
139
|
+
*/
|
|
140
|
+
listMessageReactions(args: ListMessageReactionsCommandInput, options?: __HttpHandlerOptions): Promise<ListMessageReactionsCommandOutput>;
|
|
141
|
+
listMessageReactions(args: ListMessageReactionsCommandInput, cb: (err: any, data?: ListMessageReactionsCommandOutput) => void): void;
|
|
142
|
+
listMessageReactions(args: ListMessageReactionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessageReactionsCommandOutput) => void): void;
|
|
143
143
|
/**
|
|
144
144
|
* @see {@link ListMessagesCommand}
|
|
145
145
|
*/
|
|
@@ -9,13 +9,13 @@ import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetC
|
|
|
9
9
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
10
10
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
11
11
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
12
|
-
import { GetMessageReactionsCommandInput, GetMessageReactionsCommandOutput } from "./commands/GetMessageReactionsCommand";
|
|
13
12
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
14
13
|
import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
|
|
15
14
|
import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/JoinChannelCommand";
|
|
16
15
|
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
|
|
17
16
|
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
|
|
18
17
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
18
|
+
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
19
19
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
20
20
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
21
21
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
@@ -38,11 +38,11 @@ export { __Client };
|
|
|
38
38
|
/**
|
|
39
39
|
* @public
|
|
40
40
|
*/
|
|
41
|
-
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetMessageCommandInput |
|
|
41
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendSystemMessageCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput;
|
|
42
42
|
/**
|
|
43
43
|
* @public
|
|
44
44
|
*/
|
|
45
|
-
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetMessageCommandOutput |
|
|
45
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendSystemMessageCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput;
|
|
46
46
|
/**
|
|
47
47
|
* @public
|
|
48
48
|
*/
|
|
@@ -43,7 +43,7 @@ export interface GetMessageCommandOutput extends GetMessageOutput, __MetadataBea
|
|
|
43
43
|
* // id: "STRING_VALUE", // required
|
|
44
44
|
* // fsId: "STRING_VALUE", // required
|
|
45
45
|
* // mime: "STRING_VALUE",
|
|
46
|
-
* // name: "STRING_VALUE",
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
47
|
* // size: Number("int"), // required
|
|
48
48
|
* // width: Number("int"),
|
|
49
49
|
* // height: Number("int"),
|
|
@@ -57,7 +57,7 @@ export interface GetMessageCommandOutput extends GetMessageOutput, __MetadataBea
|
|
|
57
57
|
* // id: "STRING_VALUE", // required
|
|
58
58
|
* // fsId: "STRING_VALUE", // required
|
|
59
59
|
* // mime: "STRING_VALUE",
|
|
60
|
-
* // name: "STRING_VALUE",
|
|
60
|
+
* // name: "STRING_VALUE", // required
|
|
61
61
|
* // size: Number("int"), // required
|
|
62
62
|
* // width: Number("int"),
|
|
63
63
|
* // height: Number("int"),
|
package/dist-types/commands/{GetMessageReactionsCommand.d.ts → ListMessageReactionsCommand.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
-
import {
|
|
2
|
+
import { ListMessageReactionsInput, ListMessageReactionsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
@@ -9,16 +9,16 @@ export { __MetadataBearer, $Command };
|
|
|
9
9
|
/**
|
|
10
10
|
* @public
|
|
11
11
|
*
|
|
12
|
-
* The input for {@link
|
|
12
|
+
* The input for {@link ListMessageReactionsCommand}.
|
|
13
13
|
*/
|
|
14
|
-
export interface
|
|
14
|
+
export interface ListMessageReactionsCommandInput extends ListMessageReactionsInput {
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* @public
|
|
18
18
|
*
|
|
19
|
-
* The output of {@link
|
|
19
|
+
* The output of {@link ListMessageReactionsCommand}.
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ListMessageReactionsCommandOutput extends ListMessageReactionsOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
@@ -26,18 +26,18 @@ export interface GetMessageReactionsCommandOutput extends GetMessageReactionsOut
|
|
|
26
26
|
* @example
|
|
27
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
28
28
|
* ```javascript
|
|
29
|
-
* import { ConversationsClient,
|
|
30
|
-
* // const { ConversationsClient,
|
|
29
|
+
* import { ConversationsClient, ListMessageReactionsCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
30
|
+
* // const { ConversationsClient, ListMessageReactionsCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
31
31
|
* const client = new ConversationsClient(config);
|
|
32
|
-
* const input = { //
|
|
32
|
+
* const input = { // ListMessageReactionsInput
|
|
33
33
|
* channelId: "STRING_VALUE", // required
|
|
34
34
|
* messageId: "STRING_VALUE", // required
|
|
35
35
|
* limit: Number("int"),
|
|
36
36
|
* offset: Number("int"),
|
|
37
37
|
* };
|
|
38
|
-
* const command = new
|
|
38
|
+
* const command = new ListMessageReactionsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
-
* // { //
|
|
40
|
+
* // { // ListMessageReactionsOutput
|
|
41
41
|
* // reactions: [ // ReactionList // required
|
|
42
42
|
* // { // Reaction
|
|
43
43
|
* // type: "STRING_VALUE",
|
|
@@ -64,10 +64,10 @@ export interface GetMessageReactionsCommandOutput extends GetMessageReactionsOut
|
|
|
64
64
|
*
|
|
65
65
|
* ```
|
|
66
66
|
*
|
|
67
|
-
* @param
|
|
68
|
-
* @returns {@link
|
|
69
|
-
* @see {@link
|
|
70
|
-
* @see {@link
|
|
67
|
+
* @param ListMessageReactionsCommandInput - {@link ListMessageReactionsCommandInput}
|
|
68
|
+
* @returns {@link ListMessageReactionsCommandOutput}
|
|
69
|
+
* @see {@link ListMessageReactionsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListMessageReactionsCommandOutput} for command's `response` shape.
|
|
71
71
|
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link ChannelNotFoundException} (client fault)
|
|
@@ -80,16 +80,16 @@ export interface GetMessageReactionsCommandOutput extends GetMessageReactionsOut
|
|
|
80
80
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
81
81
|
*
|
|
82
82
|
*/
|
|
83
|
-
export declare class
|
|
84
|
-
readonly input:
|
|
83
|
+
export declare class ListMessageReactionsCommand extends $Command<ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput, ConversationsClientResolvedConfig> {
|
|
84
|
+
readonly input: ListMessageReactionsCommandInput;
|
|
85
85
|
/**
|
|
86
86
|
* @public
|
|
87
87
|
*/
|
|
88
|
-
constructor(input:
|
|
88
|
+
constructor(input: ListMessageReactionsCommandInput);
|
|
89
89
|
/**
|
|
90
90
|
* @internal
|
|
91
91
|
*/
|
|
92
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput>;
|
|
93
93
|
/**
|
|
94
94
|
* @internal
|
|
95
95
|
*/
|
|
@@ -31,6 +31,8 @@ export interface ListMessagesCommandOutput extends ListMessagesOutput, __Metadat
|
|
|
31
31
|
* const client = new ConversationsClient(config);
|
|
32
32
|
* const input = { // ListMessagesInput
|
|
33
33
|
* channelId: "STRING_VALUE", // required
|
|
34
|
+
* limit: Number("int"),
|
|
35
|
+
* offset: Number("int"),
|
|
34
36
|
* };
|
|
35
37
|
* const command = new ListMessagesCommand(input);
|
|
36
38
|
* const response = await client.send(command);
|
|
@@ -43,7 +45,7 @@ export interface ListMessagesCommandOutput extends ListMessagesOutput, __Metadat
|
|
|
43
45
|
* // id: "STRING_VALUE", // required
|
|
44
46
|
* // fsId: "STRING_VALUE", // required
|
|
45
47
|
* // mime: "STRING_VALUE",
|
|
46
|
-
* // name: "STRING_VALUE",
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
47
49
|
* // size: Number("int"), // required
|
|
48
50
|
* // width: Number("int"),
|
|
49
51
|
* // height: Number("int"),
|
|
@@ -57,7 +59,7 @@ export interface ListMessagesCommandOutput extends ListMessagesOutput, __Metadat
|
|
|
57
59
|
* // id: "STRING_VALUE", // required
|
|
58
60
|
* // fsId: "STRING_VALUE", // required
|
|
59
61
|
* // mime: "STRING_VALUE",
|
|
60
|
-
* // name: "STRING_VALUE",
|
|
62
|
+
* // name: "STRING_VALUE", // required
|
|
61
63
|
* // size: Number("int"), // required
|
|
62
64
|
* // width: Number("int"),
|
|
63
65
|
* // height: Number("int"),
|
|
@@ -39,7 +39,7 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
|
|
|
39
39
|
* id: "STRING_VALUE", // required
|
|
40
40
|
* fsId: "STRING_VALUE", // required
|
|
41
41
|
* mime: "STRING_VALUE",
|
|
42
|
-
* name: "STRING_VALUE",
|
|
42
|
+
* name: "STRING_VALUE", // required
|
|
43
43
|
* size: Number("int"), // required
|
|
44
44
|
* width: Number("int"),
|
|
45
45
|
* height: Number("int"),
|
|
@@ -53,7 +53,7 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
|
|
|
53
53
|
* id: "STRING_VALUE", // required
|
|
54
54
|
* fsId: "STRING_VALUE", // required
|
|
55
55
|
* mime: "STRING_VALUE",
|
|
56
|
-
* name: "STRING_VALUE",
|
|
56
|
+
* name: "STRING_VALUE", // required
|
|
57
57
|
* size: Number("int"), // required
|
|
58
58
|
* width: Number("int"),
|
|
59
59
|
* height: Number("int"),
|
|
@@ -186,7 +186,7 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
|
|
|
186
186
|
* // id: "STRING_VALUE", // required
|
|
187
187
|
* // fsId: "STRING_VALUE", // required
|
|
188
188
|
* // mime: "STRING_VALUE",
|
|
189
|
-
* // name: "STRING_VALUE",
|
|
189
|
+
* // name: "STRING_VALUE", // required
|
|
190
190
|
* // size: Number("int"), // required
|
|
191
191
|
* // width: Number("int"),
|
|
192
192
|
* // height: Number("int"),
|
|
@@ -200,7 +200,7 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
|
|
|
200
200
|
* // id: "STRING_VALUE", // required
|
|
201
201
|
* // fsId: "STRING_VALUE", // required
|
|
202
202
|
* // mime: "STRING_VALUE",
|
|
203
|
-
* // name: "STRING_VALUE",
|
|
203
|
+
* // name: "STRING_VALUE", // required
|
|
204
204
|
* // size: Number("int"), // required
|
|
205
205
|
* // width: Number("int"),
|
|
206
206
|
* // height: Number("int"),
|
|
@@ -51,7 +51,7 @@ export interface SendGiphyCommandOutput extends SendGiphyOutput, __MetadataBeare
|
|
|
51
51
|
* // id: "STRING_VALUE", // required
|
|
52
52
|
* // fsId: "STRING_VALUE", // required
|
|
53
53
|
* // mime: "STRING_VALUE",
|
|
54
|
-
* // name: "STRING_VALUE",
|
|
54
|
+
* // name: "STRING_VALUE", // required
|
|
55
55
|
* // size: Number("int"), // required
|
|
56
56
|
* // width: Number("int"),
|
|
57
57
|
* // height: Number("int"),
|
|
@@ -65,7 +65,7 @@ export interface SendGiphyCommandOutput extends SendGiphyOutput, __MetadataBeare
|
|
|
65
65
|
* // id: "STRING_VALUE", // required
|
|
66
66
|
* // fsId: "STRING_VALUE", // required
|
|
67
67
|
* // mime: "STRING_VALUE",
|
|
68
|
-
* // name: "STRING_VALUE",
|
|
68
|
+
* // name: "STRING_VALUE", // required
|
|
69
69
|
* // size: Number("int"), // required
|
|
70
70
|
* // width: Number("int"),
|
|
71
71
|
* // height: Number("int"),
|
|
@@ -36,7 +36,7 @@ export interface SendMessageCommandOutput extends SendMessageOutput, __MetadataB
|
|
|
36
36
|
* id: "STRING_VALUE", // required
|
|
37
37
|
* fsId: "STRING_VALUE", // required
|
|
38
38
|
* mime: "STRING_VALUE",
|
|
39
|
-
* name: "STRING_VALUE",
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
40
|
* size: Number("int"), // required
|
|
41
41
|
* width: Number("int"),
|
|
42
42
|
* height: Number("int"),
|
|
@@ -50,7 +50,7 @@ export interface SendMessageCommandOutput extends SendMessageOutput, __MetadataB
|
|
|
50
50
|
* id: "STRING_VALUE", // required
|
|
51
51
|
* fsId: "STRING_VALUE", // required
|
|
52
52
|
* mime: "STRING_VALUE",
|
|
53
|
-
* name: "STRING_VALUE",
|
|
53
|
+
* name: "STRING_VALUE", // required
|
|
54
54
|
* size: Number("int"), // required
|
|
55
55
|
* width: Number("int"),
|
|
56
56
|
* height: Number("int"),
|
|
@@ -185,7 +185,7 @@ export interface SendMessageCommandOutput extends SendMessageOutput, __MetadataB
|
|
|
185
185
|
* // id: "STRING_VALUE", // required
|
|
186
186
|
* // fsId: "STRING_VALUE", // required
|
|
187
187
|
* // mime: "STRING_VALUE",
|
|
188
|
-
* // name: "STRING_VALUE",
|
|
188
|
+
* // name: "STRING_VALUE", // required
|
|
189
189
|
* // size: Number("int"), // required
|
|
190
190
|
* // width: Number("int"),
|
|
191
191
|
* // height: Number("int"),
|
|
@@ -199,7 +199,7 @@ export interface SendMessageCommandOutput extends SendMessageOutput, __MetadataB
|
|
|
199
199
|
* // id: "STRING_VALUE", // required
|
|
200
200
|
* // fsId: "STRING_VALUE", // required
|
|
201
201
|
* // mime: "STRING_VALUE",
|
|
202
|
-
* // name: "STRING_VALUE",
|
|
202
|
+
* // name: "STRING_VALUE", // required
|
|
203
203
|
* // size: Number("int"), // required
|
|
204
204
|
* // width: Number("int"),
|
|
205
205
|
* // height: Number("int"),
|
|
@@ -44,7 +44,7 @@ export interface SendSystemMessageCommandOutput extends SendSystemMessageOutput,
|
|
|
44
44
|
* // id: "STRING_VALUE", // required
|
|
45
45
|
* // fsId: "STRING_VALUE", // required
|
|
46
46
|
* // mime: "STRING_VALUE",
|
|
47
|
-
* // name: "STRING_VALUE",
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
48
|
* // size: Number("int"), // required
|
|
49
49
|
* // width: Number("int"),
|
|
50
50
|
* // height: Number("int"),
|
|
@@ -58,7 +58,7 @@ export interface SendSystemMessageCommandOutput extends SendSystemMessageOutput,
|
|
|
58
58
|
* // id: "STRING_VALUE", // required
|
|
59
59
|
* // fsId: "STRING_VALUE", // required
|
|
60
60
|
* // mime: "STRING_VALUE",
|
|
61
|
-
* // name: "STRING_VALUE",
|
|
61
|
+
* // name: "STRING_VALUE", // required
|
|
62
62
|
* // size: Number("int"), // required
|
|
63
63
|
* // width: Number("int"),
|
|
64
64
|
* // height: Number("int"),
|
|
@@ -36,7 +36,7 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
36
36
|
* id: "STRING_VALUE", // required
|
|
37
37
|
* fsId: "STRING_VALUE", // required
|
|
38
38
|
* mime: "STRING_VALUE",
|
|
39
|
-
* name: "STRING_VALUE",
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
40
|
* size: Number("int"), // required
|
|
41
41
|
* width: Number("int"),
|
|
42
42
|
* height: Number("int"),
|
|
@@ -50,7 +50,7 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
50
50
|
* id: "STRING_VALUE", // required
|
|
51
51
|
* fsId: "STRING_VALUE", // required
|
|
52
52
|
* mime: "STRING_VALUE",
|
|
53
|
-
* name: "STRING_VALUE",
|
|
53
|
+
* name: "STRING_VALUE", // required
|
|
54
54
|
* size: Number("int"), // required
|
|
55
55
|
* width: Number("int"),
|
|
56
56
|
* height: Number("int"),
|
|
@@ -184,7 +184,7 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
184
184
|
* // id: "STRING_VALUE", // required
|
|
185
185
|
* // fsId: "STRING_VALUE", // required
|
|
186
186
|
* // mime: "STRING_VALUE",
|
|
187
|
-
* // name: "STRING_VALUE",
|
|
187
|
+
* // name: "STRING_VALUE", // required
|
|
188
188
|
* // size: Number("int"), // required
|
|
189
189
|
* // width: Number("int"),
|
|
190
190
|
* // height: Number("int"),
|
|
@@ -198,7 +198,7 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
198
198
|
* // id: "STRING_VALUE", // required
|
|
199
199
|
* // fsId: "STRING_VALUE", // required
|
|
200
200
|
* // mime: "STRING_VALUE",
|
|
201
|
-
* // name: "STRING_VALUE",
|
|
201
|
+
* // name: "STRING_VALUE", // required
|
|
202
202
|
* // size: Number("int"), // required
|
|
203
203
|
* // width: Number("int"),
|
|
204
204
|
* // height: Number("int"),
|
|
@@ -9,13 +9,13 @@ export * from "./GetChannelCommand";
|
|
|
9
9
|
export * from "./GetChannelMemberCommand";
|
|
10
10
|
export * from "./GetDirectChannelIdCommand";
|
|
11
11
|
export * from "./GetMessageCommand";
|
|
12
|
-
export * from "./GetMessageReactionsCommand";
|
|
13
12
|
export * from "./GetOrCreateDirectChannelCommand";
|
|
14
13
|
export * from "./InviteCommand";
|
|
15
14
|
export * from "./JoinChannelCommand";
|
|
16
15
|
export * from "./LeaveChannelCommand";
|
|
17
16
|
export * from "./ListChannelMembersCommand";
|
|
18
17
|
export * from "./ListChannelsCommand";
|
|
18
|
+
export * from "./ListMessageReactionsCommand";
|
|
19
19
|
export * from "./ListMessagesCommand";
|
|
20
20
|
export * from "./MarkReadCommand";
|
|
21
21
|
export * from "./PartialUpdateChannelCommand";
|
|
@@ -464,7 +464,7 @@ export interface MessageAttachment {
|
|
|
464
464
|
*/
|
|
465
465
|
fsId: string;
|
|
466
466
|
mime?: string;
|
|
467
|
-
name
|
|
467
|
+
name: string;
|
|
468
468
|
size: number;
|
|
469
469
|
width?: number;
|
|
470
470
|
height?: number;
|
|
@@ -523,21 +523,6 @@ export declare const MessageType: {
|
|
|
523
523
|
* @public
|
|
524
524
|
*/
|
|
525
525
|
export type MessageType = typeof MessageType[keyof typeof MessageType];
|
|
526
|
-
/**
|
|
527
|
-
* @public
|
|
528
|
-
*/
|
|
529
|
-
export interface GetMessageReactionsInput {
|
|
530
|
-
channelId: string;
|
|
531
|
-
messageId: string;
|
|
532
|
-
limit?: number;
|
|
533
|
-
offset?: number;
|
|
534
|
-
}
|
|
535
|
-
/**
|
|
536
|
-
* @public
|
|
537
|
-
*/
|
|
538
|
-
export interface GetMessageReactionsOutput {
|
|
539
|
-
reactions: (Reaction)[];
|
|
540
|
-
}
|
|
541
526
|
/**
|
|
542
527
|
* @public
|
|
543
528
|
*/
|
|
@@ -628,11 +613,28 @@ export interface ListChannelsInput {
|
|
|
628
613
|
export interface ListChannelsOutput {
|
|
629
614
|
channels: (Channel)[];
|
|
630
615
|
}
|
|
616
|
+
/**
|
|
617
|
+
* @public
|
|
618
|
+
*/
|
|
619
|
+
export interface ListMessageReactionsInput {
|
|
620
|
+
channelId: string;
|
|
621
|
+
messageId: string;
|
|
622
|
+
limit?: number;
|
|
623
|
+
offset?: number;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
export interface ListMessageReactionsOutput {
|
|
629
|
+
reactions: (Reaction)[];
|
|
630
|
+
}
|
|
631
631
|
/**
|
|
632
632
|
* @public
|
|
633
633
|
*/
|
|
634
634
|
export interface ListMessagesInput {
|
|
635
635
|
channelId: string;
|
|
636
|
+
limit?: number;
|
|
637
|
+
offset?: number;
|
|
636
638
|
}
|
|
637
639
|
/**
|
|
638
640
|
* @public
|
|
@@ -9,13 +9,13 @@ import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/Get
|
|
|
9
9
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "../commands/GetChannelMemberCommand";
|
|
10
10
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "../commands/GetDirectChannelIdCommand";
|
|
11
11
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "../commands/GetMessageCommand";
|
|
12
|
-
import { GetMessageReactionsCommandInput, GetMessageReactionsCommandOutput } from "../commands/GetMessageReactionsCommand";
|
|
13
12
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "../commands/GetOrCreateDirectChannelCommand";
|
|
14
13
|
import { InviteCommandInput, InviteCommandOutput } from "../commands/InviteCommand";
|
|
15
14
|
import { JoinChannelCommandInput, JoinChannelCommandOutput } from "../commands/JoinChannelCommand";
|
|
16
15
|
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "../commands/LeaveChannelCommand";
|
|
17
16
|
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "../commands/ListChannelMembersCommand";
|
|
18
17
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
|
|
18
|
+
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "../commands/ListMessageReactionsCommand";
|
|
19
19
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "../commands/ListMessagesCommand";
|
|
20
20
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "../commands/MarkReadCommand";
|
|
21
21
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "../commands/PartialUpdateChannelCommand";
|
|
@@ -75,10 +75,6 @@ export declare const se_GetDirectChannelIdCommand: (input: GetDirectChannelIdCom
|
|
|
75
75
|
* serializeAws_restJson1GetMessageCommand
|
|
76
76
|
*/
|
|
77
77
|
export declare const se_GetMessageCommand: (input: GetMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
78
|
-
/**
|
|
79
|
-
* serializeAws_restJson1GetMessageReactionsCommand
|
|
80
|
-
*/
|
|
81
|
-
export declare const se_GetMessageReactionsCommand: (input: GetMessageReactionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
82
78
|
/**
|
|
83
79
|
* serializeAws_restJson1GetOrCreateDirectChannelCommand
|
|
84
80
|
*/
|
|
@@ -103,6 +99,10 @@ export declare const se_ListChannelMembersCommand: (input: ListChannelMembersCom
|
|
|
103
99
|
* serializeAws_restJson1ListChannelsCommand
|
|
104
100
|
*/
|
|
105
101
|
export declare const se_ListChannelsCommand: (input: ListChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
102
|
+
/**
|
|
103
|
+
* serializeAws_restJson1ListMessageReactionsCommand
|
|
104
|
+
*/
|
|
105
|
+
export declare const se_ListMessageReactionsCommand: (input: ListMessageReactionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
106
106
|
/**
|
|
107
107
|
* serializeAws_restJson1ListMessagesCommand
|
|
108
108
|
*/
|
|
@@ -199,10 +199,6 @@ export declare const de_GetDirectChannelIdCommand: (output: __HttpResponse, cont
|
|
|
199
199
|
* deserializeAws_restJson1GetMessageCommand
|
|
200
200
|
*/
|
|
201
201
|
export declare const de_GetMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMessageCommandOutput>;
|
|
202
|
-
/**
|
|
203
|
-
* deserializeAws_restJson1GetMessageReactionsCommand
|
|
204
|
-
*/
|
|
205
|
-
export declare const de_GetMessageReactionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMessageReactionsCommandOutput>;
|
|
206
202
|
/**
|
|
207
203
|
* deserializeAws_restJson1GetOrCreateDirectChannelCommand
|
|
208
204
|
*/
|
|
@@ -227,6 +223,10 @@ export declare const de_ListChannelMembersCommand: (output: __HttpResponse, cont
|
|
|
227
223
|
* deserializeAws_restJson1ListChannelsCommand
|
|
228
224
|
*/
|
|
229
225
|
export declare const de_ListChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsCommandOutput>;
|
|
226
|
+
/**
|
|
227
|
+
* deserializeAws_restJson1ListMessageReactionsCommand
|
|
228
|
+
*/
|
|
229
|
+
export declare const de_ListMessageReactionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMessageReactionsCommandOutput>;
|
|
230
230
|
/**
|
|
231
231
|
* deserializeAws_restJson1ListMessagesCommand
|
|
232
232
|
*/
|
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.0.
|
|
4
|
+
"version": "1.0.33",
|
|
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",
|