@wildix/xbees-conversations-client 1.0.30 → 1.0.31

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.
Files changed (80) hide show
  1. package/dist-cjs/Conversations.js +36 -4
  2. package/dist-cjs/commands/AddChannelMemberCommand.js +41 -0
  3. package/dist-cjs/commands/AddChannelMembersCommand.js +41 -0
  4. package/dist-cjs/commands/CreateGroupChannelCommand.js +41 -0
  5. package/dist-cjs/commands/DeleteChannelMemberCommand.js +41 -0
  6. package/dist-cjs/commands/DeleteMessageReactionCommand.js +41 -0
  7. package/dist-cjs/commands/GetDirectChannelIdCommand.js +41 -0
  8. package/dist-cjs/commands/GetMessageReactionsCommand.js +41 -0
  9. package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +41 -0
  10. package/dist-cjs/commands/InviteCommand.js +41 -0
  11. package/dist-cjs/commands/{CreateChannelCommand.js → LeaveChannelCommand.js} +7 -7
  12. package/dist-cjs/commands/ListChannelMembersCommand.js +41 -0
  13. package/dist-cjs/commands/MarkReadCommand.js +41 -0
  14. package/dist-cjs/commands/SendGiphyCommand.js +41 -0
  15. package/dist-cjs/commands/SendMessageCommand.js +41 -0
  16. package/dist-cjs/commands/SendMessageReactionCommand.js +41 -0
  17. package/dist-cjs/commands/SendSystemMessageCommand.js +41 -0
  18. package/dist-cjs/commands/SendTypingStartCommand.js +41 -0
  19. package/dist-cjs/commands/{CreateMessageCommand.js → SendTypingStopCommand.js} +7 -7
  20. package/dist-cjs/commands/index.js +18 -2
  21. package/dist-cjs/models/models_0.js +71 -52
  22. package/dist-cjs/protocols/Aws_restJson1.js +1204 -145
  23. package/dist-es/Conversations.js +36 -4
  24. package/dist-es/commands/AddChannelMemberCommand.js +37 -0
  25. package/dist-es/commands/AddChannelMembersCommand.js +37 -0
  26. package/dist-es/commands/CreateGroupChannelCommand.js +37 -0
  27. package/dist-es/commands/DeleteChannelMemberCommand.js +37 -0
  28. package/dist-es/commands/DeleteMessageReactionCommand.js +37 -0
  29. package/dist-es/commands/GetDirectChannelIdCommand.js +37 -0
  30. package/dist-es/commands/GetMessageReactionsCommand.js +37 -0
  31. package/dist-es/commands/GetOrCreateDirectChannelCommand.js +37 -0
  32. package/dist-es/commands/{CreateChannelCommand.js → InviteCommand.js} +6 -6
  33. package/dist-es/commands/{CreateMessageCommand.js → LeaveChannelCommand.js} +6 -6
  34. package/dist-es/commands/ListChannelMembersCommand.js +37 -0
  35. package/dist-es/commands/MarkReadCommand.js +37 -0
  36. package/dist-es/commands/SendGiphyCommand.js +37 -0
  37. package/dist-es/commands/SendMessageCommand.js +37 -0
  38. package/dist-es/commands/SendMessageReactionCommand.js +37 -0
  39. package/dist-es/commands/SendSystemMessageCommand.js +37 -0
  40. package/dist-es/commands/SendTypingStartCommand.js +37 -0
  41. package/dist-es/commands/SendTypingStopCommand.js +37 -0
  42. package/dist-es/commands/index.js +18 -2
  43. package/dist-es/models/models_0.js +67 -50
  44. package/dist-es/protocols/Aws_restJson1.js +1174 -148
  45. package/dist-types/Conversations.d.ts +122 -10
  46. package/dist-types/ConversationsClient.d.ts +20 -4
  47. package/dist-types/commands/AddChannelMemberCommand.d.ts +105 -0
  48. package/dist-types/commands/AddChannelMembersCommand.d.ts +113 -0
  49. package/dist-types/commands/{CreateChannelCommand.d.ts → CreateGroupChannelCommand.d.ts} +37 -79
  50. package/dist-types/commands/DeleteChannelCommand.d.ts +2 -0
  51. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +79 -0
  52. package/dist-types/commands/DeleteMessageCommand.d.ts +2 -0
  53. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +80 -0
  54. package/dist-types/commands/GetChannelCommand.d.ts +2 -0
  55. package/dist-types/commands/GetChannelMemberCommand.d.ts +17 -0
  56. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +82 -0
  57. package/dist-types/commands/GetMessageCommand.d.ts +23 -21
  58. package/dist-types/commands/GetMessageReactionsCommand.d.ts +101 -0
  59. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +144 -0
  60. package/dist-types/commands/InviteCommand.d.ts +98 -0
  61. package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
  62. package/dist-types/commands/LeaveChannelCommand.d.ts +77 -0
  63. package/dist-types/commands/ListChannelMembersCommand.d.ts +102 -0
  64. package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
  65. package/dist-types/commands/ListMessagesCommand.d.ts +23 -21
  66. package/dist-types/commands/MarkReadCommand.d.ts +76 -0
  67. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +5 -52
  68. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +46 -54
  69. package/dist-types/commands/SendGiphyCommand.d.ts +220 -0
  70. package/dist-types/commands/{CreateMessageCommand.d.ts → SendMessageCommand.d.ts} +137 -143
  71. package/dist-types/commands/SendMessageReactionCommand.d.ts +78 -0
  72. package/dist-types/commands/SendSystemMessageCommand.d.ts +213 -0
  73. package/dist-types/commands/SendTypingStartCommand.d.ts +76 -0
  74. package/dist-types/commands/SendTypingStopCommand.d.ts +76 -0
  75. package/dist-types/commands/UpdateChannelCommand.d.ts +8 -57
  76. package/dist-types/commands/UpdateMessageCommand.d.ts +118 -125
  77. package/dist-types/commands/index.d.ts +18 -2
  78. package/dist-types/models/models_0.d.ts +450 -172
  79. package/dist-types/protocols/Aws_restJson1.d.ts +154 -10
  80. package/package.json +1 -1
@@ -2,36 +2,68 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Conversations = void 0;
4
4
  const ConversationsClient_1 = require("./ConversationsClient");
5
- const CreateChannelCommand_1 = require("./commands/CreateChannelCommand");
6
- const CreateMessageCommand_1 = require("./commands/CreateMessageCommand");
5
+ const AddChannelMemberCommand_1 = require("./commands/AddChannelMemberCommand");
6
+ const AddChannelMembersCommand_1 = require("./commands/AddChannelMembersCommand");
7
+ const CreateGroupChannelCommand_1 = require("./commands/CreateGroupChannelCommand");
7
8
  const DeleteChannelCommand_1 = require("./commands/DeleteChannelCommand");
9
+ const DeleteChannelMemberCommand_1 = require("./commands/DeleteChannelMemberCommand");
8
10
  const DeleteMessageCommand_1 = require("./commands/DeleteMessageCommand");
11
+ const DeleteMessageReactionCommand_1 = require("./commands/DeleteMessageReactionCommand");
9
12
  const GetChannelCommand_1 = require("./commands/GetChannelCommand");
10
13
  const GetChannelMemberCommand_1 = require("./commands/GetChannelMemberCommand");
14
+ const GetDirectChannelIdCommand_1 = require("./commands/GetDirectChannelIdCommand");
11
15
  const GetMessageCommand_1 = require("./commands/GetMessageCommand");
16
+ const GetMessageReactionsCommand_1 = require("./commands/GetMessageReactionsCommand");
17
+ const GetOrCreateDirectChannelCommand_1 = require("./commands/GetOrCreateDirectChannelCommand");
18
+ const InviteCommand_1 = require("./commands/InviteCommand");
12
19
  const JoinChannelCommand_1 = require("./commands/JoinChannelCommand");
20
+ const LeaveChannelCommand_1 = require("./commands/LeaveChannelCommand");
21
+ const ListChannelMembersCommand_1 = require("./commands/ListChannelMembersCommand");
13
22
  const ListChannelsCommand_1 = require("./commands/ListChannelsCommand");
14
23
  const ListMessagesCommand_1 = require("./commands/ListMessagesCommand");
24
+ const MarkReadCommand_1 = require("./commands/MarkReadCommand");
15
25
  const PartialUpdateChannelCommand_1 = require("./commands/PartialUpdateChannelCommand");
16
26
  const PartialUpdateMessageCommand_1 = require("./commands/PartialUpdateMessageCommand");
17
27
  const ScheduleExternalFlagAdjustmentJobCommand_1 = require("./commands/ScheduleExternalFlagAdjustmentJobCommand");
28
+ const SendGiphyCommand_1 = require("./commands/SendGiphyCommand");
29
+ const SendMessageCommand_1 = require("./commands/SendMessageCommand");
30
+ const SendMessageReactionCommand_1 = require("./commands/SendMessageReactionCommand");
31
+ const SendSystemMessageCommand_1 = require("./commands/SendSystemMessageCommand");
32
+ const SendTypingStartCommand_1 = require("./commands/SendTypingStartCommand");
33
+ const SendTypingStopCommand_1 = require("./commands/SendTypingStopCommand");
18
34
  const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
19
35
  const UpdateMessageCommand_1 = require("./commands/UpdateMessageCommand");
20
36
  const smithy_client_1 = require("@smithy/smithy-client");
21
37
  const commands = {
22
- CreateChannelCommand: CreateChannelCommand_1.CreateChannelCommand,
23
- CreateMessageCommand: CreateMessageCommand_1.CreateMessageCommand,
38
+ AddChannelMemberCommand: AddChannelMemberCommand_1.AddChannelMemberCommand,
39
+ AddChannelMembersCommand: AddChannelMembersCommand_1.AddChannelMembersCommand,
40
+ CreateGroupChannelCommand: CreateGroupChannelCommand_1.CreateGroupChannelCommand,
24
41
  DeleteChannelCommand: DeleteChannelCommand_1.DeleteChannelCommand,
42
+ DeleteChannelMemberCommand: DeleteChannelMemberCommand_1.DeleteChannelMemberCommand,
25
43
  DeleteMessageCommand: DeleteMessageCommand_1.DeleteMessageCommand,
44
+ DeleteMessageReactionCommand: DeleteMessageReactionCommand_1.DeleteMessageReactionCommand,
26
45
  GetChannelCommand: GetChannelCommand_1.GetChannelCommand,
27
46
  GetChannelMemberCommand: GetChannelMemberCommand_1.GetChannelMemberCommand,
47
+ GetDirectChannelIdCommand: GetDirectChannelIdCommand_1.GetDirectChannelIdCommand,
28
48
  GetMessageCommand: GetMessageCommand_1.GetMessageCommand,
49
+ GetMessageReactionsCommand: GetMessageReactionsCommand_1.GetMessageReactionsCommand,
50
+ GetOrCreateDirectChannelCommand: GetOrCreateDirectChannelCommand_1.GetOrCreateDirectChannelCommand,
51
+ InviteCommand: InviteCommand_1.InviteCommand,
29
52
  JoinChannelCommand: JoinChannelCommand_1.JoinChannelCommand,
53
+ LeaveChannelCommand: LeaveChannelCommand_1.LeaveChannelCommand,
54
+ ListChannelMembersCommand: ListChannelMembersCommand_1.ListChannelMembersCommand,
30
55
  ListChannelsCommand: ListChannelsCommand_1.ListChannelsCommand,
31
56
  ListMessagesCommand: ListMessagesCommand_1.ListMessagesCommand,
57
+ MarkReadCommand: MarkReadCommand_1.MarkReadCommand,
32
58
  PartialUpdateChannelCommand: PartialUpdateChannelCommand_1.PartialUpdateChannelCommand,
33
59
  PartialUpdateMessageCommand: PartialUpdateMessageCommand_1.PartialUpdateMessageCommand,
34
60
  ScheduleExternalFlagAdjustmentJobCommand: ScheduleExternalFlagAdjustmentJobCommand_1.ScheduleExternalFlagAdjustmentJobCommand,
61
+ SendGiphyCommand: SendGiphyCommand_1.SendGiphyCommand,
62
+ SendMessageCommand: SendMessageCommand_1.SendMessageCommand,
63
+ SendMessageReactionCommand: SendMessageReactionCommand_1.SendMessageReactionCommand,
64
+ SendSystemMessageCommand: SendSystemMessageCommand_1.SendSystemMessageCommand,
65
+ SendTypingStartCommand: SendTypingStartCommand_1.SendTypingStartCommand,
66
+ SendTypingStopCommand: SendTypingStopCommand_1.SendTypingStopCommand,
35
67
  UpdateChannelCommand: UpdateChannelCommand_1.UpdateChannelCommand,
36
68
  UpdateMessageCommand: UpdateMessageCommand_1.UpdateMessageCommand,
37
69
  };
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddChannelMemberCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class AddChannelMemberCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "AddChannelMemberCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "AddChannelMember",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_AddChannelMemberCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_AddChannelMemberCommand)(output, context);
39
+ }
40
+ }
41
+ exports.AddChannelMemberCommand = AddChannelMemberCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddChannelMembersCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class AddChannelMembersCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "AddChannelMembersCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "AddChannelMembers",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_AddChannelMembersCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_AddChannelMembersCommand)(output, context);
39
+ }
40
+ }
41
+ exports.AddChannelMembersCommand = AddChannelMembersCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateGroupChannelCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class CreateGroupChannelCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "CreateGroupChannelCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "CreateGroupChannel",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_CreateGroupChannelCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_CreateGroupChannelCommand)(output, context);
39
+ }
40
+ }
41
+ exports.CreateGroupChannelCommand = CreateGroupChannelCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteChannelMemberCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class DeleteChannelMemberCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "DeleteChannelMemberCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "DeleteChannelMember",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_DeleteChannelMemberCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_DeleteChannelMemberCommand)(output, context);
39
+ }
40
+ }
41
+ exports.DeleteChannelMemberCommand = DeleteChannelMemberCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteMessageReactionCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class DeleteMessageReactionCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "DeleteMessageReactionCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "DeleteMessageReaction",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_DeleteMessageReactionCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_DeleteMessageReactionCommand)(output, context);
39
+ }
40
+ }
41
+ exports.DeleteMessageReactionCommand = DeleteMessageReactionCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDirectChannelIdCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class GetDirectChannelIdCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "GetDirectChannelIdCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "GetDirectChannelId",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_GetDirectChannelIdCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_GetDirectChannelIdCommand)(output, context);
39
+ }
40
+ }
41
+ exports.GetDirectChannelIdCommand = GetDirectChannelIdCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMessageReactionsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class GetMessageReactionsCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "GetMessageReactionsCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "GetMessageReactions",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_GetMessageReactionsCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_GetMessageReactionsCommand)(output, context);
39
+ }
40
+ }
41
+ exports.GetMessageReactionsCommand = GetMessageReactionsCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetOrCreateDirectChannelCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class GetOrCreateDirectChannelCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "GetOrCreateDirectChannelCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "GetOrCreateDirectChannel",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_GetOrCreateDirectChannelCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_GetOrCreateDirectChannelCommand)(output, context);
39
+ }
40
+ }
41
+ exports.GetOrCreateDirectChannelCommand = GetOrCreateDirectChannelCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InviteCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class InviteCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "InviteCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "Invite",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_InviteCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_InviteCommand)(output, context);
39
+ }
40
+ }
41
+ exports.InviteCommand = InviteCommand;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateChannelCommand = exports.$Command = void 0;
3
+ exports.LeaveChannelCommand = 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 CreateChannelCommand extends smithy_client_1.Command {
9
+ class LeaveChannelCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
11
11
  super();
12
12
  this.input = input;
@@ -16,7 +16,7 @@ class CreateChannelCommand 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 = "CreateChannelCommand";
19
+ const commandName = "LeaveChannelCommand";
20
20
  const handlerExecutionContext = {
21
21
  logger,
22
22
  clientName,
@@ -25,17 +25,17 @@ class CreateChannelCommand extends smithy_client_1.Command {
25
25
  outputFilterSensitiveLog: (_) => _,
26
26
  [types_1.SMITHY_CONTEXT_KEY]: {
27
27
  service: "Conversations",
28
- operation: "CreateChannel",
28
+ operation: "LeaveChannel",
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.se_CreateChannelCommand)(input, context);
35
+ return (0, Aws_restJson1_1.se_LeaveChannelCommand)(input, context);
36
36
  }
37
37
  deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_CreateChannelCommand)(output, context);
38
+ return (0, Aws_restJson1_1.de_LeaveChannelCommand)(output, context);
39
39
  }
40
40
  }
41
- exports.CreateChannelCommand = CreateChannelCommand;
41
+ exports.LeaveChannelCommand = LeaveChannelCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListChannelMembersCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class ListChannelMembersCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "ListChannelMembersCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "ListChannelMembers",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_ListChannelMembersCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_ListChannelMembersCommand)(output, context);
39
+ }
40
+ }
41
+ exports.ListChannelMembersCommand = ListChannelMembersCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MarkReadCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class MarkReadCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "MarkReadCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "MarkRead",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_MarkReadCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_MarkReadCommand)(output, context);
39
+ }
40
+ }
41
+ exports.MarkReadCommand = MarkReadCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendGiphyCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class SendGiphyCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "SendGiphyCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "SendGiphy",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_SendGiphyCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_SendGiphyCommand)(output, context);
39
+ }
40
+ }
41
+ exports.SendGiphyCommand = SendGiphyCommand;