@wildix/xbees-conversations-client 1.0.35 → 1.0.36

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 (114) hide show
  1. package/dist-cjs/ConversationsClient.js +7 -3
  2. package/dist-cjs/commands/AddChannelMemberCommand.js +12 -32
  3. package/dist-cjs/commands/AddChannelMembersCommand.js +12 -32
  4. package/dist-cjs/commands/CreateGroupChannelCommand.js +12 -32
  5. package/dist-cjs/commands/DeleteChannelCommand.js +12 -32
  6. package/dist-cjs/commands/DeleteChannelMemberCommand.js +12 -32
  7. package/dist-cjs/commands/DeleteMessageCommand.js +12 -32
  8. package/dist-cjs/commands/DeleteMessageReactionCommand.js +12 -32
  9. package/dist-cjs/commands/GetChannelCommand.js +12 -32
  10. package/dist-cjs/commands/GetChannelMemberCommand.js +12 -32
  11. package/dist-cjs/commands/GetDirectChannelIdCommand.js +12 -32
  12. package/dist-cjs/commands/GetMessageCommand.js +12 -32
  13. package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +12 -32
  14. package/dist-cjs/commands/HideChannelCommand.js +12 -32
  15. package/dist-cjs/commands/InviteCommand.js +12 -32
  16. package/dist-cjs/commands/JoinChannelCommand.js +12 -32
  17. package/dist-cjs/commands/LeaveChannelCommand.js +12 -32
  18. package/dist-cjs/commands/ListChannelMembersCommand.js +12 -32
  19. package/dist-cjs/commands/ListChannelsCommand.js +12 -32
  20. package/dist-cjs/commands/ListMessageReactionsCommand.js +12 -32
  21. package/dist-cjs/commands/ListMessagesCommand.js +12 -32
  22. package/dist-cjs/commands/MarkReadCommand.js +12 -32
  23. package/dist-cjs/commands/PartialUpdateChannelCommand.js +12 -32
  24. package/dist-cjs/commands/PartialUpdateMessageCommand.js +12 -32
  25. package/dist-cjs/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
  26. package/dist-cjs/commands/SendGiphyCommand.js +12 -32
  27. package/dist-cjs/commands/SendMessageCommand.js +12 -32
  28. package/dist-cjs/commands/SendMessageReactionCommand.js +12 -32
  29. package/dist-cjs/commands/SendTypingStartCommand.js +12 -32
  30. package/dist-cjs/commands/SendTypingStopCommand.js +12 -32
  31. package/dist-cjs/commands/ShowChannelCommand.js +12 -32
  32. package/dist-cjs/commands/UpdateChannelCommand.js +12 -32
  33. package/dist-cjs/commands/UpdateMessageCommand.js +12 -32
  34. package/dist-cjs/protocols/Aws_restJson1.js +337 -1270
  35. package/dist-cjs/runtimeConfig.browser.js +5 -1
  36. package/dist-cjs/runtimeConfig.js +5 -1
  37. package/dist-cjs/runtimeConfig.shared.js +13 -11
  38. package/dist-es/ConversationsClient.js +7 -3
  39. package/dist-es/commands/AddChannelMemberCommand.js +12 -32
  40. package/dist-es/commands/AddChannelMembersCommand.js +12 -32
  41. package/dist-es/commands/CreateGroupChannelCommand.js +12 -32
  42. package/dist-es/commands/DeleteChannelCommand.js +12 -32
  43. package/dist-es/commands/DeleteChannelMemberCommand.js +12 -32
  44. package/dist-es/commands/DeleteMessageCommand.js +12 -32
  45. package/dist-es/commands/DeleteMessageReactionCommand.js +12 -32
  46. package/dist-es/commands/GetChannelCommand.js +12 -32
  47. package/dist-es/commands/GetChannelMemberCommand.js +12 -32
  48. package/dist-es/commands/GetDirectChannelIdCommand.js +12 -32
  49. package/dist-es/commands/GetMessageCommand.js +12 -32
  50. package/dist-es/commands/GetOrCreateDirectChannelCommand.js +12 -32
  51. package/dist-es/commands/HideChannelCommand.js +12 -32
  52. package/dist-es/commands/InviteCommand.js +12 -32
  53. package/dist-es/commands/JoinChannelCommand.js +12 -32
  54. package/dist-es/commands/LeaveChannelCommand.js +12 -32
  55. package/dist-es/commands/ListChannelMembersCommand.js +12 -32
  56. package/dist-es/commands/ListChannelsCommand.js +12 -32
  57. package/dist-es/commands/ListMessageReactionsCommand.js +12 -32
  58. package/dist-es/commands/ListMessagesCommand.js +12 -32
  59. package/dist-es/commands/MarkReadCommand.js +12 -32
  60. package/dist-es/commands/PartialUpdateChannelCommand.js +12 -32
  61. package/dist-es/commands/PartialUpdateMessageCommand.js +12 -32
  62. package/dist-es/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
  63. package/dist-es/commands/SendGiphyCommand.js +12 -32
  64. package/dist-es/commands/SendMessageCommand.js +12 -32
  65. package/dist-es/commands/SendMessageReactionCommand.js +12 -32
  66. package/dist-es/commands/SendTypingStartCommand.js +12 -32
  67. package/dist-es/commands/SendTypingStopCommand.js +12 -32
  68. package/dist-es/commands/ShowChannelCommand.js +12 -32
  69. package/dist-es/commands/UpdateChannelCommand.js +12 -32
  70. package/dist-es/commands/UpdateMessageCommand.js +12 -32
  71. package/dist-es/protocols/Aws_restJson1.js +338 -1271
  72. package/dist-es/runtimeConfig.browser.js +4 -1
  73. package/dist-es/runtimeConfig.js +4 -1
  74. package/dist-es/runtimeConfig.shared.js +13 -11
  75. package/dist-types/Conversations.d.ts +4 -0
  76. package/dist-types/ConversationsClient.d.ts +13 -7
  77. package/dist-types/commands/AddChannelMemberCommand.d.ts +7 -19
  78. package/dist-types/commands/AddChannelMembersCommand.d.ts +7 -19
  79. package/dist-types/commands/CreateGroupChannelCommand.d.ts +7 -19
  80. package/dist-types/commands/DeleteChannelCommand.d.ts +7 -19
  81. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +7 -19
  82. package/dist-types/commands/DeleteMessageCommand.d.ts +7 -19
  83. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +7 -19
  84. package/dist-types/commands/GetChannelCommand.d.ts +7 -19
  85. package/dist-types/commands/GetChannelMemberCommand.d.ts +7 -19
  86. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +9 -21
  87. package/dist-types/commands/GetMessageCommand.d.ts +7 -19
  88. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +7 -19
  89. package/dist-types/commands/HideChannelCommand.d.ts +8 -84
  90. package/dist-types/commands/InviteCommand.d.ts +7 -19
  91. package/dist-types/commands/JoinChannelCommand.d.ts +7 -19
  92. package/dist-types/commands/LeaveChannelCommand.d.ts +7 -19
  93. package/dist-types/commands/ListChannelMembersCommand.d.ts +7 -19
  94. package/dist-types/commands/ListChannelsCommand.d.ts +7 -19
  95. package/dist-types/commands/ListMessageReactionsCommand.d.ts +7 -19
  96. package/dist-types/commands/ListMessagesCommand.d.ts +7 -19
  97. package/dist-types/commands/MarkReadCommand.d.ts +7 -19
  98. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +8 -19
  99. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +7 -19
  100. package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +8 -20
  101. package/dist-types/commands/SendGiphyCommand.d.ts +7 -19
  102. package/dist-types/commands/SendMessageCommand.d.ts +7 -19
  103. package/dist-types/commands/SendMessageReactionCommand.d.ts +7 -19
  104. package/dist-types/commands/SendTypingStartCommand.d.ts +7 -19
  105. package/dist-types/commands/SendTypingStopCommand.d.ts +7 -19
  106. package/dist-types/commands/ShowChannelCommand.d.ts +8 -84
  107. package/dist-types/commands/UpdateChannelCommand.d.ts +8 -19
  108. package/dist-types/commands/UpdateMessageCommand.d.ts +7 -19
  109. package/dist-types/index.d.ts +2 -0
  110. package/dist-types/models/models_0.d.ts +55 -47
  111. package/dist-types/runtimeConfig.browser.d.ts +3 -4
  112. package/dist-types/runtimeConfig.d.ts +3 -4
  113. package/dist-types/runtimeConfig.native.d.ts +3 -4
  114. package/package.json +30 -28
@@ -1,37 +1,17 @@
1
1
  import { de_GetMessageCommand, se_GetMessageCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class GetMessageCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "GetMessageCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "GetMessage",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_GetMessageCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_GetMessageCommand(output, context);
36
- }
5
+ export class GetMessageCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "GetMessage", {})
12
+ .n("ConversationsClient", "GetMessageCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetMessageCommand)
15
+ .de(de_GetMessageCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_GetOrCreateDirectChannelCommand, se_GetOrCreateDirectChannelCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class GetOrCreateDirectChannelCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "GetOrCreateDirectChannelCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "GetOrCreateDirectChannel",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_GetOrCreateDirectChannelCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_GetOrCreateDirectChannelCommand(output, context);
36
- }
5
+ export class GetOrCreateDirectChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "GetOrCreateDirectChannel", {})
12
+ .n("ConversationsClient", "GetOrCreateDirectChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetOrCreateDirectChannelCommand)
15
+ .de(de_GetOrCreateDirectChannelCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_HideChannelCommand, se_HideChannelCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class HideChannelCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "HideChannelCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "HideChannel",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_HideChannelCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_HideChannelCommand(output, context);
36
- }
5
+ export class HideChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "HideChannel", {})
12
+ .n("ConversationsClient", "HideChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_HideChannelCommand)
15
+ .de(de_HideChannelCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_InviteCommand, se_InviteCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class InviteCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "InviteCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "Invite",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_InviteCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_InviteCommand(output, context);
36
- }
5
+ export class InviteCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "Invite", {})
12
+ .n("ConversationsClient", "InviteCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_InviteCommand)
15
+ .de(de_InviteCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_JoinChannelCommand, se_JoinChannelCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class JoinChannelCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "JoinChannelCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "JoinChannel",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_JoinChannelCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_JoinChannelCommand(output, context);
36
- }
5
+ export class JoinChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "JoinChannel", {})
12
+ .n("ConversationsClient", "JoinChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_JoinChannelCommand)
15
+ .de(de_JoinChannelCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_LeaveChannelCommand, se_LeaveChannelCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class LeaveChannelCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "LeaveChannelCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "LeaveChannel",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_LeaveChannelCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_LeaveChannelCommand(output, context);
36
- }
5
+ export class LeaveChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "LeaveChannel", {})
12
+ .n("ConversationsClient", "LeaveChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_LeaveChannelCommand)
15
+ .de(de_LeaveChannelCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_ListChannelMembersCommand, se_ListChannelMembersCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class ListChannelMembersCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "ListChannelMembersCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "ListChannelMembers",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_ListChannelMembersCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_ListChannelMembersCommand(output, context);
36
- }
5
+ export class ListChannelMembersCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "ListChannelMembers", {})
12
+ .n("ConversationsClient", "ListChannelMembersCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_ListChannelMembersCommand)
15
+ .de(de_ListChannelMembersCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_ListChannelsCommand, se_ListChannelsCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class ListChannelsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "ListChannelsCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "ListChannels",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_ListChannelsCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_ListChannelsCommand(output, context);
36
- }
5
+ export class ListChannelsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "ListChannels", {})
12
+ .n("ConversationsClient", "ListChannelsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_ListChannelsCommand)
15
+ .de(de_ListChannelsCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class ListMessageReactionsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "ListMessageReactionsCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "ListMessageReactions",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_ListMessageReactionsCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_ListMessageReactionsCommand(output, context);
36
- }
5
+ export class ListMessageReactionsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "ListMessageReactions", {})
12
+ .n("ConversationsClient", "ListMessageReactionsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_ListMessageReactionsCommand)
15
+ .de(de_ListMessageReactionsCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_ListMessagesCommand, se_ListMessagesCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class ListMessagesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "ListMessagesCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "ListMessages",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_ListMessagesCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_ListMessagesCommand(output, context);
36
- }
5
+ export class ListMessagesCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "ListMessages", {})
12
+ .n("ConversationsClient", "ListMessagesCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_ListMessagesCommand)
15
+ .de(de_ListMessagesCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_MarkReadCommand, se_MarkReadCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class MarkReadCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "MarkReadCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "MarkRead",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_MarkReadCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_MarkReadCommand(output, context);
36
- }
5
+ export class MarkReadCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "MarkRead", {})
12
+ .n("ConversationsClient", "MarkReadCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_MarkReadCommand)
15
+ .de(de_MarkReadCommand)
16
+ .build() {
37
17
  }
@@ -1,37 +1,17 @@
1
1
  import { de_PartialUpdateChannelCommand, se_PartialUpdateChannelCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
4
  export { $Command };
6
- export class PartialUpdateChannelCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
- resolveMiddleware(clientStack, configuration, options) {
12
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- const stack = clientStack.concat(this.middlewareStack);
14
- const { logger } = configuration;
15
- const clientName = "ConversationsClient";
16
- const commandName = "PartialUpdateChannelCommand";
17
- const handlerExecutionContext = {
18
- logger,
19
- clientName,
20
- commandName,
21
- inputFilterSensitiveLog: (_) => _,
22
- outputFilterSensitiveLog: (_) => _,
23
- [SMITHY_CONTEXT_KEY]: {
24
- service: "Conversations",
25
- operation: "PartialUpdateChannel",
26
- },
27
- };
28
- const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
- }
31
- serialize(input, context) {
32
- return se_PartialUpdateChannelCommand(input, context);
33
- }
34
- deserialize(output, context) {
35
- return de_PartialUpdateChannelCommand(output, context);
36
- }
5
+ export class PartialUpdateChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "PartialUpdateChannel", {})
12
+ .n("ConversationsClient", "PartialUpdateChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_PartialUpdateChannelCommand)
15
+ .de(de_PartialUpdateChannelCommand)
16
+ .build() {
37
17
  }