@wildix/xbees-conversations-client 1.1.15 → 1.1.16

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 (33) hide show
  1. package/dist-cjs/Conversations.js +14 -0
  2. package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +21 -0
  3. package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +21 -0
  4. package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +21 -0
  5. package/dist-cjs/commands/GetSmsChannelIdCommand.js +21 -0
  6. package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +21 -0
  7. package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +21 -0
  8. package/dist-cjs/commands/SendTemplateMessageCommand.js +21 -0
  9. package/dist-cjs/commands/index.js +7 -0
  10. package/dist-cjs/protocols/Aws_restJson1.js +265 -3
  11. package/dist-es/Conversations.js +14 -0
  12. package/dist-es/commands/GetOrCreateSmsChannelCommand.js +17 -0
  13. package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +17 -0
  14. package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +17 -0
  15. package/dist-es/commands/GetSmsChannelIdCommand.js +17 -0
  16. package/dist-es/commands/GetTelephonyChannelIdCommand.js +17 -0
  17. package/dist-es/commands/GetWhatsAppChannelIdCommand.js +17 -0
  18. package/dist-es/commands/SendTemplateMessageCommand.js +17 -0
  19. package/dist-es/commands/index.js +7 -0
  20. package/dist-es/protocols/Aws_restJson1.js +248 -0
  21. package/dist-types/Conversations.d.ts +55 -0
  22. package/dist-types/ConversationsClient.d.ts +9 -2
  23. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +151 -0
  24. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +151 -0
  25. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +151 -0
  26. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +81 -0
  27. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +81 -0
  28. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +81 -0
  29. package/dist-types/commands/SendTemplateMessageCommand.d.ts +363 -0
  30. package/dist-types/commands/index.d.ts +7 -0
  31. package/dist-types/models/models_0.d.ts +237 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  33. package/package.json +1 -1
@@ -22,8 +22,14 @@ const GetFilePresignedDownloadUrlCommand_1 = require("./commands/GetFilePresigne
22
22
  const GetInboxStateCommand_1 = require("./commands/GetInboxStateCommand");
23
23
  const GetMessageCommand_1 = require("./commands/GetMessageCommand");
24
24
  const GetOrCreateDirectChannelCommand_1 = require("./commands/GetOrCreateDirectChannelCommand");
25
+ const GetOrCreateSmsChannelCommand_1 = require("./commands/GetOrCreateSmsChannelCommand");
26
+ const GetOrCreateTelephonyChannelCommand_1 = require("./commands/GetOrCreateTelephonyChannelCommand");
27
+ const GetOrCreateWhatsAppChannelCommand_1 = require("./commands/GetOrCreateWhatsAppChannelCommand");
28
+ const GetSmsChannelIdCommand_1 = require("./commands/GetSmsChannelIdCommand");
29
+ const GetTelephonyChannelIdCommand_1 = require("./commands/GetTelephonyChannelIdCommand");
25
30
  const GetTokenCommand_1 = require("./commands/GetTokenCommand");
26
31
  const GetUploadedFileInfoCommand_1 = require("./commands/GetUploadedFileInfoCommand");
32
+ const GetWhatsAppChannelIdCommand_1 = require("./commands/GetWhatsAppChannelIdCommand");
27
33
  const HideChannelCommand_1 = require("./commands/HideChannelCommand");
28
34
  const InviteCommand_1 = require("./commands/InviteCommand");
29
35
  const JoinChannelCommand_1 = require("./commands/JoinChannelCommand");
@@ -48,6 +54,7 @@ const SendActionTriggerResultCommand_1 = require("./commands/SendActionTriggerRe
48
54
  const SendGiphyCommand_1 = require("./commands/SendGiphyCommand");
49
55
  const SendMessageCommand_1 = require("./commands/SendMessageCommand");
50
56
  const SendMessageReactionCommand_1 = require("./commands/SendMessageReactionCommand");
57
+ const SendTemplateMessageCommand_1 = require("./commands/SendTemplateMessageCommand");
51
58
  const SendTypingStartCommand_1 = require("./commands/SendTypingStartCommand");
52
59
  const SendTypingStopCommand_1 = require("./commands/SendTypingStopCommand");
53
60
  const ShowChannelCommand_1 = require("./commands/ShowChannelCommand");
@@ -82,8 +89,14 @@ const commands = {
82
89
  GetInboxStateCommand: GetInboxStateCommand_1.GetInboxStateCommand,
83
90
  GetMessageCommand: GetMessageCommand_1.GetMessageCommand,
84
91
  GetOrCreateDirectChannelCommand: GetOrCreateDirectChannelCommand_1.GetOrCreateDirectChannelCommand,
92
+ GetOrCreateSmsChannelCommand: GetOrCreateSmsChannelCommand_1.GetOrCreateSmsChannelCommand,
93
+ GetOrCreateTelephonyChannelCommand: GetOrCreateTelephonyChannelCommand_1.GetOrCreateTelephonyChannelCommand,
94
+ GetOrCreateWhatsAppChannelCommand: GetOrCreateWhatsAppChannelCommand_1.GetOrCreateWhatsAppChannelCommand,
95
+ GetSmsChannelIdCommand: GetSmsChannelIdCommand_1.GetSmsChannelIdCommand,
96
+ GetTelephonyChannelIdCommand: GetTelephonyChannelIdCommand_1.GetTelephonyChannelIdCommand,
85
97
  GetTokenCommand: GetTokenCommand_1.GetTokenCommand,
86
98
  GetUploadedFileInfoCommand: GetUploadedFileInfoCommand_1.GetUploadedFileInfoCommand,
99
+ GetWhatsAppChannelIdCommand: GetWhatsAppChannelIdCommand_1.GetWhatsAppChannelIdCommand,
87
100
  HideChannelCommand: HideChannelCommand_1.HideChannelCommand,
88
101
  InviteCommand: InviteCommand_1.InviteCommand,
89
102
  JoinChannelCommand: JoinChannelCommand_1.JoinChannelCommand,
@@ -108,6 +121,7 @@ const commands = {
108
121
  SendGiphyCommand: SendGiphyCommand_1.SendGiphyCommand,
109
122
  SendMessageCommand: SendMessageCommand_1.SendMessageCommand,
110
123
  SendMessageReactionCommand: SendMessageReactionCommand_1.SendMessageReactionCommand,
124
+ SendTemplateMessageCommand: SendTemplateMessageCommand_1.SendTemplateMessageCommand,
111
125
  SendTypingStartCommand: SendTypingStartCommand_1.SendTypingStartCommand,
112
126
  SendTypingStopCommand: SendTypingStopCommand_1.SendTypingStopCommand,
113
127
  ShowChannelCommand: ShowChannelCommand_1.ShowChannelCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetOrCreateSmsChannelCommand = 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
+ class GetOrCreateSmsChannelCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "GetOrCreateSmsChannel", {})
15
+ .n("ConversationsClient", "GetOrCreateSmsChannelCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetOrCreateSmsChannelCommand)
18
+ .de(Aws_restJson1_1.de_GetOrCreateSmsChannelCommand)
19
+ .build() {
20
+ }
21
+ exports.GetOrCreateSmsChannelCommand = GetOrCreateSmsChannelCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetOrCreateTelephonyChannelCommand = 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
+ class GetOrCreateTelephonyChannelCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "GetOrCreateTelephonyChannel", {})
15
+ .n("ConversationsClient", "GetOrCreateTelephonyChannelCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetOrCreateTelephonyChannelCommand)
18
+ .de(Aws_restJson1_1.de_GetOrCreateTelephonyChannelCommand)
19
+ .build() {
20
+ }
21
+ exports.GetOrCreateTelephonyChannelCommand = GetOrCreateTelephonyChannelCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetOrCreateWhatsAppChannelCommand = 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
+ class GetOrCreateWhatsAppChannelCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "GetOrCreateWhatsAppChannel", {})
15
+ .n("ConversationsClient", "GetOrCreateWhatsAppChannelCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetOrCreateWhatsAppChannelCommand)
18
+ .de(Aws_restJson1_1.de_GetOrCreateWhatsAppChannelCommand)
19
+ .build() {
20
+ }
21
+ exports.GetOrCreateWhatsAppChannelCommand = GetOrCreateWhatsAppChannelCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSmsChannelIdCommand = 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
+ class GetSmsChannelIdCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "GetSmsChannelId", {})
15
+ .n("ConversationsClient", "GetSmsChannelIdCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetSmsChannelIdCommand)
18
+ .de(Aws_restJson1_1.de_GetSmsChannelIdCommand)
19
+ .build() {
20
+ }
21
+ exports.GetSmsChannelIdCommand = GetSmsChannelIdCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTelephonyChannelIdCommand = 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
+ class GetTelephonyChannelIdCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "GetTelephonyChannelId", {})
15
+ .n("ConversationsClient", "GetTelephonyChannelIdCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetTelephonyChannelIdCommand)
18
+ .de(Aws_restJson1_1.de_GetTelephonyChannelIdCommand)
19
+ .build() {
20
+ }
21
+ exports.GetTelephonyChannelIdCommand = GetTelephonyChannelIdCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetWhatsAppChannelIdCommand = 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
+ class GetWhatsAppChannelIdCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "GetWhatsAppChannelId", {})
15
+ .n("ConversationsClient", "GetWhatsAppChannelIdCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetWhatsAppChannelIdCommand)
18
+ .de(Aws_restJson1_1.de_GetWhatsAppChannelIdCommand)
19
+ .build() {
20
+ }
21
+ exports.GetWhatsAppChannelIdCommand = GetWhatsAppChannelIdCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendTemplateMessageCommand = 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
+ class SendTemplateMessageCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "SendTemplateMessage", {})
15
+ .n("ConversationsClient", "SendTemplateMessageCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SendTemplateMessageCommand)
18
+ .de(Aws_restJson1_1.de_SendTemplateMessageCommand)
19
+ .build() {
20
+ }
21
+ exports.SendTemplateMessageCommand = SendTemplateMessageCommand;
@@ -21,8 +21,14 @@ tslib_1.__exportStar(require("./GetFilePresignedDownloadUrlCommand"), exports);
21
21
  tslib_1.__exportStar(require("./GetInboxStateCommand"), exports);
22
22
  tslib_1.__exportStar(require("./GetMessageCommand"), exports);
23
23
  tslib_1.__exportStar(require("./GetOrCreateDirectChannelCommand"), exports);
24
+ tslib_1.__exportStar(require("./GetOrCreateSmsChannelCommand"), exports);
25
+ tslib_1.__exportStar(require("./GetOrCreateTelephonyChannelCommand"), exports);
26
+ tslib_1.__exportStar(require("./GetOrCreateWhatsAppChannelCommand"), exports);
27
+ tslib_1.__exportStar(require("./GetSmsChannelIdCommand"), exports);
28
+ tslib_1.__exportStar(require("./GetTelephonyChannelIdCommand"), exports);
24
29
  tslib_1.__exportStar(require("./GetTokenCommand"), exports);
25
30
  tslib_1.__exportStar(require("./GetUploadedFileInfoCommand"), exports);
31
+ tslib_1.__exportStar(require("./GetWhatsAppChannelIdCommand"), exports);
26
32
  tslib_1.__exportStar(require("./HideChannelCommand"), exports);
27
33
  tslib_1.__exportStar(require("./InviteCommand"), exports);
28
34
  tslib_1.__exportStar(require("./JoinChannelCommand"), exports);
@@ -47,6 +53,7 @@ tslib_1.__exportStar(require("./SendActionTriggerResultCommand"), exports);
47
53
  tslib_1.__exportStar(require("./SendGiphyCommand"), exports);
48
54
  tslib_1.__exportStar(require("./SendMessageCommand"), exports);
49
55
  tslib_1.__exportStar(require("./SendMessageReactionCommand"), exports);
56
+ tslib_1.__exportStar(require("./SendTemplateMessageCommand"), exports);
50
57
  tslib_1.__exportStar(require("./SendTypingStartCommand"), exports);
51
58
  tslib_1.__exportStar(require("./SendTypingStopCommand"), exports);
52
59
  tslib_1.__exportStar(require("./ShowChannelCommand"), exports);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_TagChannelCommand = exports.se_ShowChannelCommand = exports.se_SendTypingStopCommand = exports.se_SendTypingStartCommand = exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = exports.se_SendGiphyCommand = exports.se_SendActionTriggerResultCommand = exports.se_ScheduleExternalFlagAdjustmentJobCommand = exports.se_QueryChannelsCommand = exports.se_PinMessageCommand = exports.se_PinChannelCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MarkUnreadCommand = exports.se_MarkReadCommand = exports.se_ListPinnedMessagesCommand = exports.se_ListMessagesCommand = exports.se_ListMessageReactionsCommand = exports.se_ListInboxTagsCommand = exports.se_ListInboxTaggedChannelsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersReadStatusCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_InviteCommand = exports.se_HideChannelCommand = exports.se_GetUploadedFileInfoCommand = exports.se_GetTokenCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetInboxStateCommand = exports.se_GetFilePresignedDownloadUrlCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_GetActionTriggerResultCommand = exports.se_DescribeEventCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteInboxTagCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateKiteChannelCommand = exports.se_CreateInboxTagCommand = exports.se_CreateGroupChannelCommand = exports.se_AssignChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
4
- exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_QueryChannelsCommand = exports.de_PinMessageCommand = exports.de_PinChannelCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkUnreadCommand = exports.de_MarkReadCommand = exports.de_ListPinnedMessagesCommand = exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListInboxTagsCommand = exports.de_ListInboxTaggedChannelsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersReadStatusCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_HideChannelCommand = exports.de_GetUploadedFileInfoCommand = exports.de_GetTokenCommand = exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = exports.de_GetInboxStateCommand = exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_GetActionTriggerResultCommand = exports.de_DescribeEventCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteInboxTagCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateKiteChannelCommand = exports.de_CreateInboxTagCommand = exports.de_CreateGroupChannelCommand = exports.de_AssignChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UploadFileCommand = exports.se_UpdateMessageCommand = exports.se_UpdateInboxTagCommand = exports.se_UpdateChannelCommand = exports.se_UntagChannelCommand = exports.se_UnpinMessageCommand = exports.se_UnpinChannelCommand = exports.se_TriggerMessageActionCommand = void 0;
5
- exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateInboxTagCommand = exports.de_UpdateChannelCommand = exports.de_UntagChannelCommand = exports.de_UnpinMessageCommand = exports.de_UnpinChannelCommand = exports.de_TriggerMessageActionCommand = exports.de_TagChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_SendActionTriggerResultCommand = void 0;
3
+ exports.se_SendGiphyCommand = exports.se_SendActionTriggerResultCommand = exports.se_ScheduleExternalFlagAdjustmentJobCommand = exports.se_QueryChannelsCommand = exports.se_PinMessageCommand = exports.se_PinChannelCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MarkUnreadCommand = exports.se_MarkReadCommand = exports.se_ListPinnedMessagesCommand = exports.se_ListMessagesCommand = exports.se_ListMessageReactionsCommand = exports.se_ListInboxTagsCommand = exports.se_ListInboxTaggedChannelsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersReadStatusCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_InviteCommand = exports.se_HideChannelCommand = exports.se_GetWhatsAppChannelIdCommand = exports.se_GetUploadedFileInfoCommand = exports.se_GetTokenCommand = exports.se_GetTelephonyChannelIdCommand = exports.se_GetSmsChannelIdCommand = exports.se_GetOrCreateWhatsAppChannelCommand = exports.se_GetOrCreateTelephonyChannelCommand = exports.se_GetOrCreateSmsChannelCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetInboxStateCommand = exports.se_GetFilePresignedDownloadUrlCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_GetActionTriggerResultCommand = exports.se_DescribeEventCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteInboxTagCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateKiteChannelCommand = exports.se_CreateInboxTagCommand = exports.se_CreateGroupChannelCommand = exports.se_AssignChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
4
+ exports.de_ListChannelsCommand = exports.de_ListChannelMembersReadStatusCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_HideChannelCommand = exports.de_GetWhatsAppChannelIdCommand = exports.de_GetUploadedFileInfoCommand = exports.de_GetTokenCommand = exports.de_GetTelephonyChannelIdCommand = exports.de_GetSmsChannelIdCommand = exports.de_GetOrCreateWhatsAppChannelCommand = exports.de_GetOrCreateTelephonyChannelCommand = exports.de_GetOrCreateSmsChannelCommand = exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = exports.de_GetInboxStateCommand = exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_GetActionTriggerResultCommand = exports.de_DescribeEventCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteInboxTagCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateKiteChannelCommand = exports.de_CreateInboxTagCommand = exports.de_CreateGroupChannelCommand = exports.de_AssignChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UploadFileCommand = exports.se_UpdateMessageCommand = exports.se_UpdateInboxTagCommand = exports.se_UpdateChannelCommand = exports.se_UntagChannelCommand = exports.se_UnpinMessageCommand = exports.se_UnpinChannelCommand = exports.se_TriggerMessageActionCommand = exports.se_TagChannelCommand = exports.se_ShowChannelCommand = exports.se_SendTypingStopCommand = exports.se_SendTypingStartCommand = exports.se_SendTemplateMessageCommand = exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = void 0;
5
+ exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateInboxTagCommand = exports.de_UpdateChannelCommand = exports.de_UntagChannelCommand = exports.de_UnpinMessageCommand = exports.de_UnpinChannelCommand = exports.de_TriggerMessageActionCommand = exports.de_TagChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendTemplateMessageCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_SendActionTriggerResultCommand = exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_QueryChannelsCommand = exports.de_PinMessageCommand = exports.de_PinChannelCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkUnreadCommand = exports.de_MarkReadCommand = exports.de_ListPinnedMessagesCommand = exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListInboxTagsCommand = exports.de_ListInboxTaggedChannelsCommand = void 0;
6
6
  const ConversationsServiceException_1 = require("../models/ConversationsServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const core_1 = require("@aws-sdk/core");
@@ -376,6 +376,116 @@ const se_GetOrCreateDirectChannelCommand = async (input, context) => {
376
376
  return b.build();
377
377
  };
378
378
  exports.se_GetOrCreateDirectChannelCommand = se_GetOrCreateDirectChannelCommand;
379
+ const se_GetOrCreateSmsChannelCommand = async (input, context) => {
380
+ const b = (0, core_2.requestBuilder)(input, context);
381
+ const headers = {
382
+ 'content-type': 'application/json',
383
+ };
384
+ b.bp("/v2/conversations/sms/get_or_create_channel");
385
+ const query = (0, smithy_client_1.map)({
386
+ [_u]: [, input[_uI]],
387
+ });
388
+ let body;
389
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
390
+ 'recipientId': [],
391
+ 'recipientNumber': [],
392
+ 'serviceUri': [],
393
+ }));
394
+ b.m("POST")
395
+ .h(headers)
396
+ .q(query)
397
+ .b(body);
398
+ return b.build();
399
+ };
400
+ exports.se_GetOrCreateSmsChannelCommand = se_GetOrCreateSmsChannelCommand;
401
+ const se_GetOrCreateTelephonyChannelCommand = async (input, context) => {
402
+ const b = (0, core_2.requestBuilder)(input, context);
403
+ const headers = {
404
+ 'content-type': 'application/json',
405
+ };
406
+ b.bp("/v2/conversations/telephony/get_or_create_channel");
407
+ const query = (0, smithy_client_1.map)({
408
+ [_u]: [, input[_uI]],
409
+ });
410
+ let body;
411
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
412
+ 'recipientId': [],
413
+ 'recipientNumber': [],
414
+ 'serviceUri': [],
415
+ }));
416
+ b.m("POST")
417
+ .h(headers)
418
+ .q(query)
419
+ .b(body);
420
+ return b.build();
421
+ };
422
+ exports.se_GetOrCreateTelephonyChannelCommand = se_GetOrCreateTelephonyChannelCommand;
423
+ const se_GetOrCreateWhatsAppChannelCommand = async (input, context) => {
424
+ const b = (0, core_2.requestBuilder)(input, context);
425
+ const headers = {
426
+ 'content-type': 'application/json',
427
+ };
428
+ b.bp("/v2/conversations/whatsapp/get_or_create_channel");
429
+ const query = (0, smithy_client_1.map)({
430
+ [_u]: [, input[_uI]],
431
+ });
432
+ let body;
433
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
434
+ 'recipientId': [],
435
+ 'recipientNumber': [],
436
+ 'serviceUri': [],
437
+ }));
438
+ b.m("POST")
439
+ .h(headers)
440
+ .q(query)
441
+ .b(body);
442
+ return b.build();
443
+ };
444
+ exports.se_GetOrCreateWhatsAppChannelCommand = se_GetOrCreateWhatsAppChannelCommand;
445
+ const se_GetSmsChannelIdCommand = async (input, context) => {
446
+ const b = (0, core_2.requestBuilder)(input, context);
447
+ const headers = {
448
+ 'content-type': 'application/json',
449
+ };
450
+ b.bp("/v2/conversations/sms/get_channel_id");
451
+ const query = (0, smithy_client_1.map)({
452
+ [_u]: [, input[_uI]],
453
+ });
454
+ let body;
455
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
456
+ 'recipientId': [],
457
+ 'recipientNumber': [],
458
+ 'serviceUri': [],
459
+ }));
460
+ b.m("POST")
461
+ .h(headers)
462
+ .q(query)
463
+ .b(body);
464
+ return b.build();
465
+ };
466
+ exports.se_GetSmsChannelIdCommand = se_GetSmsChannelIdCommand;
467
+ const se_GetTelephonyChannelIdCommand = async (input, context) => {
468
+ const b = (0, core_2.requestBuilder)(input, context);
469
+ const headers = {
470
+ 'content-type': 'application/json',
471
+ };
472
+ b.bp("/v2/conversations/telephony/get_channel_id");
473
+ const query = (0, smithy_client_1.map)({
474
+ [_u]: [, input[_uI]],
475
+ });
476
+ let body;
477
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
478
+ 'recipientId': [],
479
+ 'recipientNumber': [],
480
+ 'serviceUri': [],
481
+ }));
482
+ b.m("POST")
483
+ .h(headers)
484
+ .q(query)
485
+ .b(body);
486
+ return b.build();
487
+ };
488
+ exports.se_GetTelephonyChannelIdCommand = se_GetTelephonyChannelIdCommand;
379
489
  const se_GetTokenCommand = async (input, context) => {
380
490
  const b = (0, core_2.requestBuilder)(input, context);
381
491
  const headers = {};
@@ -404,6 +514,28 @@ const se_GetUploadedFileInfoCommand = async (input, context) => {
404
514
  return b.build();
405
515
  };
406
516
  exports.se_GetUploadedFileInfoCommand = se_GetUploadedFileInfoCommand;
517
+ const se_GetWhatsAppChannelIdCommand = async (input, context) => {
518
+ const b = (0, core_2.requestBuilder)(input, context);
519
+ const headers = {
520
+ 'content-type': 'application/json',
521
+ };
522
+ b.bp("/v2/conversations/whatsapp/get_channel_id");
523
+ const query = (0, smithy_client_1.map)({
524
+ [_u]: [, input[_uI]],
525
+ });
526
+ let body;
527
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
528
+ 'recipientId': [],
529
+ 'recipientNumber': [],
530
+ 'serviceUri': [],
531
+ }));
532
+ b.m("POST")
533
+ .h(headers)
534
+ .q(query)
535
+ .b(body);
536
+ return b.build();
537
+ };
538
+ exports.se_GetWhatsAppChannelIdCommand = se_GetWhatsAppChannelIdCommand;
407
539
  const se_HideChannelCommand = async (input, context) => {
408
540
  const b = (0, core_2.requestBuilder)(input, context);
409
541
  const headers = {};
@@ -862,6 +994,31 @@ const se_SendMessageReactionCommand = async (input, context) => {
862
994
  return b.build();
863
995
  };
864
996
  exports.se_SendMessageReactionCommand = se_SendMessageReactionCommand;
997
+ const se_SendTemplateMessageCommand = async (input, context) => {
998
+ const b = (0, core_2.requestBuilder)(input, context);
999
+ const headers = {
1000
+ 'content-type': 'application/json',
1001
+ };
1002
+ b.bp("/v2/conversations/channels/{channelId}/send_template_message");
1003
+ b.p('channelId', () => input.channelId, '{channelId}', false);
1004
+ let body;
1005
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1006
+ 'attachments': _ => (0, smithy_client_1._json)(_),
1007
+ 'elements': _ => (0, smithy_client_1._json)(_),
1008
+ 'forward': _ => (0, smithy_client_1._json)(_),
1009
+ 'mentions': _ => (0, smithy_client_1._json)(_),
1010
+ 'messageId': [],
1011
+ 'quote': _ => (0, smithy_client_1._json)(_),
1012
+ 'template': _ => (0, smithy_client_1._json)(_),
1013
+ 'text': [],
1014
+ 'userId': [],
1015
+ }));
1016
+ b.m("POST")
1017
+ .h(headers)
1018
+ .b(body);
1019
+ return b.build();
1020
+ };
1021
+ exports.se_SendTemplateMessageCommand = se_SendTemplateMessageCommand;
865
1022
  const se_SendTypingStartCommand = async (input, context) => {
866
1023
  const b = (0, core_2.requestBuilder)(input, context);
867
1024
  const headers = {};
@@ -1395,6 +1552,81 @@ const de_GetOrCreateDirectChannelCommand = async (output, context) => {
1395
1552
  return contents;
1396
1553
  };
1397
1554
  exports.de_GetOrCreateDirectChannelCommand = de_GetOrCreateDirectChannelCommand;
1555
+ const de_GetOrCreateSmsChannelCommand = async (output, context) => {
1556
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1557
+ return de_CommandError(output, context);
1558
+ }
1559
+ const contents = (0, smithy_client_1.map)({
1560
+ $metadata: deserializeMetadata(output),
1561
+ });
1562
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1563
+ const doc = (0, smithy_client_1.take)(data, {
1564
+ 'channel': smithy_client_1._json,
1565
+ });
1566
+ Object.assign(contents, doc);
1567
+ return contents;
1568
+ };
1569
+ exports.de_GetOrCreateSmsChannelCommand = de_GetOrCreateSmsChannelCommand;
1570
+ const de_GetOrCreateTelephonyChannelCommand = async (output, context) => {
1571
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1572
+ return de_CommandError(output, context);
1573
+ }
1574
+ const contents = (0, smithy_client_1.map)({
1575
+ $metadata: deserializeMetadata(output),
1576
+ });
1577
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1578
+ const doc = (0, smithy_client_1.take)(data, {
1579
+ 'channel': smithy_client_1._json,
1580
+ });
1581
+ Object.assign(contents, doc);
1582
+ return contents;
1583
+ };
1584
+ exports.de_GetOrCreateTelephonyChannelCommand = de_GetOrCreateTelephonyChannelCommand;
1585
+ const de_GetOrCreateWhatsAppChannelCommand = async (output, context) => {
1586
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1587
+ return de_CommandError(output, context);
1588
+ }
1589
+ const contents = (0, smithy_client_1.map)({
1590
+ $metadata: deserializeMetadata(output),
1591
+ });
1592
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1593
+ const doc = (0, smithy_client_1.take)(data, {
1594
+ 'channel': smithy_client_1._json,
1595
+ });
1596
+ Object.assign(contents, doc);
1597
+ return contents;
1598
+ };
1599
+ exports.de_GetOrCreateWhatsAppChannelCommand = de_GetOrCreateWhatsAppChannelCommand;
1600
+ const de_GetSmsChannelIdCommand = async (output, context) => {
1601
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1602
+ return de_CommandError(output, context);
1603
+ }
1604
+ const contents = (0, smithy_client_1.map)({
1605
+ $metadata: deserializeMetadata(output),
1606
+ });
1607
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1608
+ const doc = (0, smithy_client_1.take)(data, {
1609
+ 'channelId': smithy_client_1.expectString,
1610
+ });
1611
+ Object.assign(contents, doc);
1612
+ return contents;
1613
+ };
1614
+ exports.de_GetSmsChannelIdCommand = de_GetSmsChannelIdCommand;
1615
+ const de_GetTelephonyChannelIdCommand = async (output, context) => {
1616
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1617
+ return de_CommandError(output, context);
1618
+ }
1619
+ const contents = (0, smithy_client_1.map)({
1620
+ $metadata: deserializeMetadata(output),
1621
+ });
1622
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1623
+ const doc = (0, smithy_client_1.take)(data, {
1624
+ 'channelId': smithy_client_1.expectString,
1625
+ });
1626
+ Object.assign(contents, doc);
1627
+ return contents;
1628
+ };
1629
+ exports.de_GetTelephonyChannelIdCommand = de_GetTelephonyChannelIdCommand;
1398
1630
  const de_GetTokenCommand = async (output, context) => {
1399
1631
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1400
1632
  return de_CommandError(output, context);
@@ -1426,6 +1658,21 @@ const de_GetUploadedFileInfoCommand = async (output, context) => {
1426
1658
  return contents;
1427
1659
  };
1428
1660
  exports.de_GetUploadedFileInfoCommand = de_GetUploadedFileInfoCommand;
1661
+ const de_GetWhatsAppChannelIdCommand = async (output, context) => {
1662
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1663
+ return de_CommandError(output, context);
1664
+ }
1665
+ const contents = (0, smithy_client_1.map)({
1666
+ $metadata: deserializeMetadata(output),
1667
+ });
1668
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1669
+ const doc = (0, smithy_client_1.take)(data, {
1670
+ 'channelId': smithy_client_1.expectString,
1671
+ });
1672
+ Object.assign(contents, doc);
1673
+ return contents;
1674
+ };
1675
+ exports.de_GetWhatsAppChannelIdCommand = de_GetWhatsAppChannelIdCommand;
1429
1676
  const de_HideChannelCommand = async (output, context) => {
1430
1677
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1431
1678
  return de_CommandError(output, context);
@@ -1751,6 +1998,21 @@ const de_SendMessageReactionCommand = async (output, context) => {
1751
1998
  return contents;
1752
1999
  };
1753
2000
  exports.de_SendMessageReactionCommand = de_SendMessageReactionCommand;
2001
+ const de_SendTemplateMessageCommand = async (output, context) => {
2002
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2003
+ return de_CommandError(output, context);
2004
+ }
2005
+ const contents = (0, smithy_client_1.map)({
2006
+ $metadata: deserializeMetadata(output),
2007
+ });
2008
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2009
+ const doc = (0, smithy_client_1.take)(data, {
2010
+ 'message': smithy_client_1._json,
2011
+ });
2012
+ Object.assign(contents, doc);
2013
+ return contents;
2014
+ };
2015
+ exports.de_SendTemplateMessageCommand = de_SendTemplateMessageCommand;
1754
2016
  const de_SendTypingStartCommand = async (output, context) => {
1755
2017
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1756
2018
  return de_CommandError(output, context);
@@ -19,8 +19,14 @@ import { GetFilePresignedDownloadUrlCommand, } from "./commands/GetFilePresigned
19
19
  import { GetInboxStateCommand, } from "./commands/GetInboxStateCommand";
20
20
  import { GetMessageCommand, } from "./commands/GetMessageCommand";
21
21
  import { GetOrCreateDirectChannelCommand, } from "./commands/GetOrCreateDirectChannelCommand";
22
+ import { GetOrCreateSmsChannelCommand, } from "./commands/GetOrCreateSmsChannelCommand";
23
+ import { GetOrCreateTelephonyChannelCommand, } from "./commands/GetOrCreateTelephonyChannelCommand";
24
+ import { GetOrCreateWhatsAppChannelCommand, } from "./commands/GetOrCreateWhatsAppChannelCommand";
25
+ import { GetSmsChannelIdCommand, } from "./commands/GetSmsChannelIdCommand";
26
+ import { GetTelephonyChannelIdCommand, } from "./commands/GetTelephonyChannelIdCommand";
22
27
  import { GetTokenCommand, } from "./commands/GetTokenCommand";
23
28
  import { GetUploadedFileInfoCommand, } from "./commands/GetUploadedFileInfoCommand";
29
+ import { GetWhatsAppChannelIdCommand, } from "./commands/GetWhatsAppChannelIdCommand";
24
30
  import { HideChannelCommand, } from "./commands/HideChannelCommand";
25
31
  import { InviteCommand, } from "./commands/InviteCommand";
26
32
  import { JoinChannelCommand, } from "./commands/JoinChannelCommand";
@@ -45,6 +51,7 @@ import { SendActionTriggerResultCommand, } from "./commands/SendActionTriggerRes
45
51
  import { SendGiphyCommand, } from "./commands/SendGiphyCommand";
46
52
  import { SendMessageCommand, } from "./commands/SendMessageCommand";
47
53
  import { SendMessageReactionCommand, } from "./commands/SendMessageReactionCommand";
54
+ import { SendTemplateMessageCommand, } from "./commands/SendTemplateMessageCommand";
48
55
  import { SendTypingStartCommand, } from "./commands/SendTypingStartCommand";
49
56
  import { SendTypingStopCommand, } from "./commands/SendTypingStopCommand";
50
57
  import { ShowChannelCommand, } from "./commands/ShowChannelCommand";
@@ -79,8 +86,14 @@ const commands = {
79
86
  GetInboxStateCommand,
80
87
  GetMessageCommand,
81
88
  GetOrCreateDirectChannelCommand,
89
+ GetOrCreateSmsChannelCommand,
90
+ GetOrCreateTelephonyChannelCommand,
91
+ GetOrCreateWhatsAppChannelCommand,
92
+ GetSmsChannelIdCommand,
93
+ GetTelephonyChannelIdCommand,
82
94
  GetTokenCommand,
83
95
  GetUploadedFileInfoCommand,
96
+ GetWhatsAppChannelIdCommand,
84
97
  HideChannelCommand,
85
98
  InviteCommand,
86
99
  JoinChannelCommand,
@@ -105,6 +118,7 @@ const commands = {
105
118
  SendGiphyCommand,
106
119
  SendMessageCommand,
107
120
  SendMessageReactionCommand,
121
+ SendTemplateMessageCommand,
108
122
  SendTypingStartCommand,
109
123
  SendTypingStopCommand,
110
124
  ShowChannelCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetOrCreateSmsChannelCommand, se_GetOrCreateSmsChannelCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class GetOrCreateSmsChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "GetOrCreateSmsChannel", {})
12
+ .n("ConversationsClient", "GetOrCreateSmsChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetOrCreateSmsChannelCommand)
15
+ .de(de_GetOrCreateSmsChannelCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_GetOrCreateTelephonyChannelCommand, se_GetOrCreateTelephonyChannelCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class GetOrCreateTelephonyChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "GetOrCreateTelephonyChannel", {})
12
+ .n("ConversationsClient", "GetOrCreateTelephonyChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetOrCreateTelephonyChannelCommand)
15
+ .de(de_GetOrCreateTelephonyChannelCommand)
16
+ .build() {
17
+ }