@wildix/xbees-conversations-client 1.1.18 → 1.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Conversations.js +0 -2
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -35
- package/dist-es/Conversations.js +0 -2
- package/dist-es/commands/index.js +0 -1
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -31
- package/dist-types/Conversations.d.ts +0 -7
- package/dist-types/ConversationsClient.d.ts +2 -3
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +22 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +55 -0
- package/dist-types/commands/GetMessageCommand.d.ts +11 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +11 -0
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +11 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +22 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +11 -0
- package/dist-types/commands/SendMessageCommand.d.ts +22 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +22 -0
- package/dist-types/commands/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +15 -29
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -9
- package/package.json +1 -1
- package/dist-cjs/commands/SendTemplateMessageCommand.js +0 -21
- package/dist-es/commands/SendTemplateMessageCommand.js +0 -17
- package/dist-types/commands/SendTemplateMessageCommand.d.ts +0 -244
|
@@ -54,7 +54,6 @@ const SendActionTriggerResultCommand_1 = require("./commands/SendActionTriggerRe
|
|
|
54
54
|
const SendGiphyCommand_1 = require("./commands/SendGiphyCommand");
|
|
55
55
|
const SendMessageCommand_1 = require("./commands/SendMessageCommand");
|
|
56
56
|
const SendMessageReactionCommand_1 = require("./commands/SendMessageReactionCommand");
|
|
57
|
-
const SendTemplateMessageCommand_1 = require("./commands/SendTemplateMessageCommand");
|
|
58
57
|
const SendTypingStartCommand_1 = require("./commands/SendTypingStartCommand");
|
|
59
58
|
const SendTypingStopCommand_1 = require("./commands/SendTypingStopCommand");
|
|
60
59
|
const ShowChannelCommand_1 = require("./commands/ShowChannelCommand");
|
|
@@ -121,7 +120,6 @@ const commands = {
|
|
|
121
120
|
SendGiphyCommand: SendGiphyCommand_1.SendGiphyCommand,
|
|
122
121
|
SendMessageCommand: SendMessageCommand_1.SendMessageCommand,
|
|
123
122
|
SendMessageReactionCommand: SendMessageReactionCommand_1.SendMessageReactionCommand,
|
|
124
|
-
SendTemplateMessageCommand: SendTemplateMessageCommand_1.SendTemplateMessageCommand,
|
|
125
123
|
SendTypingStartCommand: SendTypingStartCommand_1.SendTypingStartCommand,
|
|
126
124
|
SendTypingStopCommand: SendTypingStopCommand_1.SendTypingStopCommand,
|
|
127
125
|
ShowChannelCommand: ShowChannelCommand_1.ShowChannelCommand,
|
|
@@ -53,7 +53,6 @@ tslib_1.__exportStar(require("./SendActionTriggerResultCommand"), exports);
|
|
|
53
53
|
tslib_1.__exportStar(require("./SendGiphyCommand"), exports);
|
|
54
54
|
tslib_1.__exportStar(require("./SendMessageCommand"), exports);
|
|
55
55
|
tslib_1.__exportStar(require("./SendMessageReactionCommand"), exports);
|
|
56
|
-
tslib_1.__exportStar(require("./SendTemplateMessageCommand"), exports);
|
|
57
56
|
tslib_1.__exportStar(require("./SendTypingStartCommand"), exports);
|
|
58
57
|
tslib_1.__exportStar(require("./SendTypingStopCommand"), exports);
|
|
59
58
|
tslib_1.__exportStar(require("./ShowChannelCommand"), exports);
|
|
@@ -198,6 +198,8 @@ exports.TagsLimitReachedException = TagsLimitReachedException;
|
|
|
198
198
|
var Element;
|
|
199
199
|
(function (Element) {
|
|
200
200
|
Element.visit = (value, visitor) => {
|
|
201
|
+
if (value.template !== undefined)
|
|
202
|
+
return visitor.template(value.template);
|
|
201
203
|
if (value.actions !== undefined)
|
|
202
204
|
return visitor.actions(value.actions);
|
|
203
205
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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.
|
|
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.
|
|
4
|
+
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_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_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_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 = 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");
|
|
@@ -998,24 +998,6 @@ const se_SendMessageReactionCommand = async (input, context) => {
|
|
|
998
998
|
return b.build();
|
|
999
999
|
};
|
|
1000
1000
|
exports.se_SendMessageReactionCommand = se_SendMessageReactionCommand;
|
|
1001
|
-
const se_SendTemplateMessageCommand = async (input, context) => {
|
|
1002
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
1003
|
-
const headers = {
|
|
1004
|
-
'content-type': 'application/json',
|
|
1005
|
-
};
|
|
1006
|
-
b.bp("/v2/conversations/channels/{channelId}/send_template_message");
|
|
1007
|
-
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
1008
|
-
let body;
|
|
1009
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1010
|
-
'userId': [],
|
|
1011
|
-
'whatsapp': _ => (0, smithy_client_1._json)(_),
|
|
1012
|
-
}));
|
|
1013
|
-
b.m("POST")
|
|
1014
|
-
.h(headers)
|
|
1015
|
-
.b(body);
|
|
1016
|
-
return b.build();
|
|
1017
|
-
};
|
|
1018
|
-
exports.se_SendTemplateMessageCommand = se_SendTemplateMessageCommand;
|
|
1019
1001
|
const se_SendTypingStartCommand = async (input, context) => {
|
|
1020
1002
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
1021
1003
|
const headers = {};
|
|
@@ -1999,21 +1981,6 @@ const de_SendMessageReactionCommand = async (output, context) => {
|
|
|
1999
1981
|
return contents;
|
|
2000
1982
|
};
|
|
2001
1983
|
exports.de_SendMessageReactionCommand = de_SendMessageReactionCommand;
|
|
2002
|
-
const de_SendTemplateMessageCommand = async (output, context) => {
|
|
2003
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2004
|
-
return de_CommandError(output, context);
|
|
2005
|
-
}
|
|
2006
|
-
const contents = (0, smithy_client_1.map)({
|
|
2007
|
-
$metadata: deserializeMetadata(output),
|
|
2008
|
-
});
|
|
2009
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
2010
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2011
|
-
'message': smithy_client_1._json,
|
|
2012
|
-
});
|
|
2013
|
-
Object.assign(contents, doc);
|
|
2014
|
-
return contents;
|
|
2015
|
-
};
|
|
2016
|
-
exports.de_SendTemplateMessageCommand = de_SendTemplateMessageCommand;
|
|
2017
1984
|
const de_SendTypingStartCommand = async (output, context) => {
|
|
2018
1985
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2019
1986
|
return de_CommandError(output, context);
|
package/dist-es/Conversations.js
CHANGED
|
@@ -51,7 +51,6 @@ import { SendActionTriggerResultCommand, } from "./commands/SendActionTriggerRes
|
|
|
51
51
|
import { SendGiphyCommand, } from "./commands/SendGiphyCommand";
|
|
52
52
|
import { SendMessageCommand, } from "./commands/SendMessageCommand";
|
|
53
53
|
import { SendMessageReactionCommand, } from "./commands/SendMessageReactionCommand";
|
|
54
|
-
import { SendTemplateMessageCommand, } from "./commands/SendTemplateMessageCommand";
|
|
55
54
|
import { SendTypingStartCommand, } from "./commands/SendTypingStartCommand";
|
|
56
55
|
import { SendTypingStopCommand, } from "./commands/SendTypingStopCommand";
|
|
57
56
|
import { ShowChannelCommand, } from "./commands/ShowChannelCommand";
|
|
@@ -118,7 +117,6 @@ const commands = {
|
|
|
118
117
|
SendGiphyCommand,
|
|
119
118
|
SendMessageCommand,
|
|
120
119
|
SendMessageReactionCommand,
|
|
121
|
-
SendTemplateMessageCommand,
|
|
122
120
|
SendTypingStartCommand,
|
|
123
121
|
SendTypingStopCommand,
|
|
124
122
|
ShowChannelCommand,
|
|
@@ -50,7 +50,6 @@ export * from "./SendActionTriggerResultCommand";
|
|
|
50
50
|
export * from "./SendGiphyCommand";
|
|
51
51
|
export * from "./SendMessageCommand";
|
|
52
52
|
export * from "./SendMessageReactionCommand";
|
|
53
|
-
export * from "./SendTemplateMessageCommand";
|
|
54
53
|
export * from "./SendTypingStartCommand";
|
|
55
54
|
export * from "./SendTypingStopCommand";
|
|
56
55
|
export * from "./ShowChannelCommand";
|
|
@@ -187,6 +187,8 @@ export class TagsLimitReachedException extends __BaseException {
|
|
|
187
187
|
export var Element;
|
|
188
188
|
(function (Element) {
|
|
189
189
|
Element.visit = (value, visitor) => {
|
|
190
|
+
if (value.template !== undefined)
|
|
191
|
+
return visitor.template(value.template);
|
|
190
192
|
if (value.actions !== undefined)
|
|
191
193
|
return visitor.actions(value.actions);
|
|
192
194
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -941,23 +941,6 @@ export const se_SendMessageReactionCommand = async (input, context) => {
|
|
|
941
941
|
.b(body);
|
|
942
942
|
return b.build();
|
|
943
943
|
};
|
|
944
|
-
export const se_SendTemplateMessageCommand = async (input, context) => {
|
|
945
|
-
const b = rb(input, context);
|
|
946
|
-
const headers = {
|
|
947
|
-
'content-type': 'application/json',
|
|
948
|
-
};
|
|
949
|
-
b.bp("/v2/conversations/channels/{channelId}/send_template_message");
|
|
950
|
-
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
951
|
-
let body;
|
|
952
|
-
body = JSON.stringify(take(input, {
|
|
953
|
-
'userId': [],
|
|
954
|
-
'whatsapp': _ => _json(_),
|
|
955
|
-
}));
|
|
956
|
-
b.m("POST")
|
|
957
|
-
.h(headers)
|
|
958
|
-
.b(body);
|
|
959
|
-
return b.build();
|
|
960
|
-
};
|
|
961
944
|
export const se_SendTypingStartCommand = async (input, context) => {
|
|
962
945
|
const b = rb(input, context);
|
|
963
946
|
const headers = {};
|
|
@@ -1877,20 +1860,6 @@ export const de_SendMessageReactionCommand = async (output, context) => {
|
|
|
1877
1860
|
await collectBody(output.body, context);
|
|
1878
1861
|
return contents;
|
|
1879
1862
|
};
|
|
1880
|
-
export const de_SendTemplateMessageCommand = async (output, context) => {
|
|
1881
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1882
|
-
return de_CommandError(output, context);
|
|
1883
|
-
}
|
|
1884
|
-
const contents = map({
|
|
1885
|
-
$metadata: deserializeMetadata(output),
|
|
1886
|
-
});
|
|
1887
|
-
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1888
|
-
const doc = take(data, {
|
|
1889
|
-
'message': _json,
|
|
1890
|
-
});
|
|
1891
|
-
Object.assign(contents, doc);
|
|
1892
|
-
return contents;
|
|
1893
|
-
};
|
|
1894
1863
|
export const de_SendTypingStartCommand = async (output, context) => {
|
|
1895
1864
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1896
1865
|
return de_CommandError(output, context);
|
|
@@ -51,7 +51,6 @@ import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutp
|
|
|
51
51
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
52
52
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
53
53
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
54
|
-
import { SendTemplateMessageCommandInput, SendTemplateMessageCommandOutput } from "./commands/SendTemplateMessageCommand";
|
|
55
54
|
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
56
55
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
57
56
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
|
|
@@ -387,12 +386,6 @@ export interface Conversations {
|
|
|
387
386
|
sendMessageReaction(args: SendMessageReactionCommandInput, options?: __HttpHandlerOptions): Promise<SendMessageReactionCommandOutput>;
|
|
388
387
|
sendMessageReaction(args: SendMessageReactionCommandInput, cb: (err: any, data?: SendMessageReactionCommandOutput) => void): void;
|
|
389
388
|
sendMessageReaction(args: SendMessageReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessageReactionCommandOutput) => void): void;
|
|
390
|
-
/**
|
|
391
|
-
* @see {@link SendTemplateMessageCommand}
|
|
392
|
-
*/
|
|
393
|
-
sendTemplateMessage(args: SendTemplateMessageCommandInput, options?: __HttpHandlerOptions): Promise<SendTemplateMessageCommandOutput>;
|
|
394
|
-
sendTemplateMessage(args: SendTemplateMessageCommandInput, cb: (err: any, data?: SendTemplateMessageCommandOutput) => void): void;
|
|
395
|
-
sendTemplateMessage(args: SendTemplateMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendTemplateMessageCommandOutput) => void): void;
|
|
396
389
|
/**
|
|
397
390
|
* @see {@link SendTypingStartCommand}
|
|
398
391
|
*/
|
|
@@ -50,7 +50,6 @@ import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutp
|
|
|
50
50
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
51
51
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
52
52
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
53
|
-
import { SendTemplateMessageCommandInput, SendTemplateMessageCommandOutput } from "./commands/SendTemplateMessageCommand";
|
|
54
53
|
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
55
54
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
56
55
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
|
|
@@ -74,11 +73,11 @@ export { __Client };
|
|
|
74
73
|
/**
|
|
75
74
|
* @public
|
|
76
75
|
*/
|
|
77
|
-
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetOrCreateSmsChannelCommandInput | GetOrCreateTelephonyChannelCommandInput | GetOrCreateWhatsAppChannelCommandInput | GetSmsChannelIdCommandInput | GetTelephonyChannelIdCommandInput | GetTokenCommandInput | GetUploadedFileInfoCommandInput | GetWhatsAppChannelIdCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelMembersReadStatusCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | ListPinnedMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | QueryChannelsCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendActionTriggerResultCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput |
|
|
76
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetOrCreateSmsChannelCommandInput | GetOrCreateTelephonyChannelCommandInput | GetOrCreateWhatsAppChannelCommandInput | GetSmsChannelIdCommandInput | GetTelephonyChannelIdCommandInput | GetTokenCommandInput | GetUploadedFileInfoCommandInput | GetWhatsAppChannelIdCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelMembersReadStatusCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | ListPinnedMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | QueryChannelsCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendActionTriggerResultCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | TriggerMessageActionCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
78
77
|
/**
|
|
79
78
|
* @public
|
|
80
79
|
*/
|
|
81
|
-
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetOrCreateSmsChannelCommandOutput | GetOrCreateTelephonyChannelCommandOutput | GetOrCreateWhatsAppChannelCommandOutput | GetSmsChannelIdCommandOutput | GetTelephonyChannelIdCommandOutput | GetTokenCommandOutput | GetUploadedFileInfoCommandOutput | GetWhatsAppChannelIdCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelMembersReadStatusCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | ListPinnedMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | QueryChannelsCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendActionTriggerResultCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput |
|
|
80
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetOrCreateSmsChannelCommandOutput | GetOrCreateTelephonyChannelCommandOutput | GetOrCreateWhatsAppChannelCommandOutput | GetSmsChannelIdCommandOutput | GetTelephonyChannelIdCommandOutput | GetTokenCommandOutput | GetUploadedFileInfoCommandOutput | GetWhatsAppChannelIdCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelMembersReadStatusCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | ListPinnedMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | QueryChannelsCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendActionTriggerResultCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | TriggerMessageActionCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
82
81
|
/**
|
|
83
82
|
* @public
|
|
84
83
|
*/
|
|
@@ -44,6 +44,17 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
44
44
|
* text: "STRING_VALUE",
|
|
45
45
|
* elements: [ // ElementsList
|
|
46
46
|
* { // Element Union: only one key present
|
|
47
|
+
* template: { // MessageTemplateConfig
|
|
48
|
+
* whatsapp: { // TemplateWithParameters
|
|
49
|
+
* name: "STRING_VALUE", // required
|
|
50
|
+
* parameters: [ // ListTemplateParameter // required
|
|
51
|
+
* { // TemplateParameter
|
|
52
|
+
* name: "STRING_VALUE", // required
|
|
53
|
+
* value: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
47
58
|
* actions: [ // ActionsElementsList
|
|
48
59
|
* { // ActionElement Union: only one key present
|
|
49
60
|
* button: { // ButtonElement
|
|
@@ -173,6 +184,17 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
173
184
|
* text: "STRING_VALUE",
|
|
174
185
|
* elements: [
|
|
175
186
|
* {// Union: only one key present
|
|
187
|
+
* template: {
|
|
188
|
+
* whatsapp: {
|
|
189
|
+
* name: "STRING_VALUE", // required
|
|
190
|
+
* parameters: [ // required
|
|
191
|
+
* {
|
|
192
|
+
* name: "STRING_VALUE", // required
|
|
193
|
+
* value: "STRING_VALUE", // required
|
|
194
|
+
* },
|
|
195
|
+
* ],
|
|
196
|
+
* },
|
|
197
|
+
* },
|
|
176
198
|
* actions: [
|
|
177
199
|
* {// Union: only one key present
|
|
178
200
|
* button: {
|
|
@@ -488,6 +488,17 @@ declare const DescribeEventCommand_base: {
|
|
|
488
488
|
* // text: "STRING_VALUE",
|
|
489
489
|
* // elements: [ // ElementsList
|
|
490
490
|
* // { // Element Union: only one key present
|
|
491
|
+
* // template: { // MessageTemplateConfig
|
|
492
|
+
* // whatsapp: { // TemplateWithParameters
|
|
493
|
+
* // name: "STRING_VALUE", // required
|
|
494
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
495
|
+
* // { // TemplateParameter
|
|
496
|
+
* // name: "STRING_VALUE", // required
|
|
497
|
+
* // value: "STRING_VALUE", // required
|
|
498
|
+
* // },
|
|
499
|
+
* // ],
|
|
500
|
+
* // },
|
|
501
|
+
* // },
|
|
491
502
|
* // actions: [ // ActionsElementsList
|
|
492
503
|
* // { // ActionElement Union: only one key present
|
|
493
504
|
* // button: { // ButtonElement
|
|
@@ -616,6 +627,17 @@ declare const DescribeEventCommand_base: {
|
|
|
616
627
|
* // text: "STRING_VALUE",
|
|
617
628
|
* // elements: [
|
|
618
629
|
* // {// Union: only one key present
|
|
630
|
+
* // template: {
|
|
631
|
+
* // whatsapp: {
|
|
632
|
+
* // name: "STRING_VALUE", // required
|
|
633
|
+
* // parameters: [ // required
|
|
634
|
+
* // {
|
|
635
|
+
* // name: "STRING_VALUE", // required
|
|
636
|
+
* // value: "STRING_VALUE", // required
|
|
637
|
+
* // },
|
|
638
|
+
* // ],
|
|
639
|
+
* // },
|
|
640
|
+
* // },
|
|
619
641
|
* // actions: [
|
|
620
642
|
* // {// Union: only one key present
|
|
621
643
|
* // button: {
|
|
@@ -742,6 +764,17 @@ declare const DescribeEventCommand_base: {
|
|
|
742
764
|
* // text: "STRING_VALUE",
|
|
743
765
|
* // elements: [
|
|
744
766
|
* // {// Union: only one key present
|
|
767
|
+
* // template: {
|
|
768
|
+
* // whatsapp: {
|
|
769
|
+
* // name: "STRING_VALUE", // required
|
|
770
|
+
* // parameters: [ // required
|
|
771
|
+
* // {
|
|
772
|
+
* // name: "STRING_VALUE", // required
|
|
773
|
+
* // value: "STRING_VALUE", // required
|
|
774
|
+
* // },
|
|
775
|
+
* // ],
|
|
776
|
+
* // },
|
|
777
|
+
* // },
|
|
745
778
|
* // actions: [
|
|
746
779
|
* // {// Union: only one key present
|
|
747
780
|
* // button: {
|
|
@@ -844,6 +877,17 @@ declare const DescribeEventCommand_base: {
|
|
|
844
877
|
* // text: "STRING_VALUE",
|
|
845
878
|
* // elements: [
|
|
846
879
|
* // {// Union: only one key present
|
|
880
|
+
* // template: {
|
|
881
|
+
* // whatsapp: {
|
|
882
|
+
* // name: "STRING_VALUE", // required
|
|
883
|
+
* // parameters: [ // required
|
|
884
|
+
* // {
|
|
885
|
+
* // name: "STRING_VALUE", // required
|
|
886
|
+
* // value: "STRING_VALUE", // required
|
|
887
|
+
* // },
|
|
888
|
+
* // ],
|
|
889
|
+
* // },
|
|
890
|
+
* // },
|
|
847
891
|
* // actions: [
|
|
848
892
|
* // {// Union: only one key present
|
|
849
893
|
* // button: {
|
|
@@ -928,6 +972,17 @@ declare const DescribeEventCommand_base: {
|
|
|
928
972
|
* // text: "STRING_VALUE",
|
|
929
973
|
* // elements: [
|
|
930
974
|
* // {// Union: only one key present
|
|
975
|
+
* // template: {
|
|
976
|
+
* // whatsapp: {
|
|
977
|
+
* // name: "STRING_VALUE", // required
|
|
978
|
+
* // parameters: [ // required
|
|
979
|
+
* // {
|
|
980
|
+
* // name: "STRING_VALUE", // required
|
|
981
|
+
* // value: "STRING_VALUE", // required
|
|
982
|
+
* // },
|
|
983
|
+
* // ],
|
|
984
|
+
* // },
|
|
985
|
+
* // },
|
|
931
986
|
* // actions: [
|
|
932
987
|
* // {// Union: only one key present
|
|
933
988
|
* // button: {
|
|
@@ -45,6 +45,17 @@ declare const GetMessageCommand_base: {
|
|
|
45
45
|
* // text: "STRING_VALUE",
|
|
46
46
|
* // elements: [ // ElementsList
|
|
47
47
|
* // { // Element Union: only one key present
|
|
48
|
+
* // template: { // MessageTemplateConfig
|
|
49
|
+
* // whatsapp: { // TemplateWithParameters
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
52
|
+
* // { // TemplateParameter
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // value: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
48
59
|
* // actions: [ // ActionsElementsList
|
|
49
60
|
* // { // ActionElement Union: only one key present
|
|
50
61
|
* // button: { // ButtonElement
|
|
@@ -47,6 +47,17 @@ declare const ListMessagesCommand_base: {
|
|
|
47
47
|
* // text: "STRING_VALUE",
|
|
48
48
|
* // elements: [ // ElementsList
|
|
49
49
|
* // { // Element Union: only one key present
|
|
50
|
+
* // template: { // MessageTemplateConfig
|
|
51
|
+
* // whatsapp: { // TemplateWithParameters
|
|
52
|
+
* // name: "STRING_VALUE", // required
|
|
53
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
54
|
+
* // { // TemplateParameter
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // value: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
50
61
|
* // actions: [ // ActionsElementsList
|
|
51
62
|
* // { // ActionElement Union: only one key present
|
|
52
63
|
* // button: { // ButtonElement
|
|
@@ -47,6 +47,17 @@ declare const ListPinnedMessagesCommand_base: {
|
|
|
47
47
|
* // text: "STRING_VALUE",
|
|
48
48
|
* // elements: [ // ElementsList
|
|
49
49
|
* // { // Element Union: only one key present
|
|
50
|
+
* // template: { // MessageTemplateConfig
|
|
51
|
+
* // whatsapp: { // TemplateWithParameters
|
|
52
|
+
* // name: "STRING_VALUE", // required
|
|
53
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
54
|
+
* // { // TemplateParameter
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // value: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
50
61
|
* // actions: [ // ActionsElementsList
|
|
51
62
|
* // { // ActionElement Union: only one key present
|
|
52
63
|
* // button: { // ButtonElement
|
|
@@ -42,6 +42,17 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
42
42
|
* text: "STRING_VALUE",
|
|
43
43
|
* elements: [ // ElementsList
|
|
44
44
|
* { // Element Union: only one key present
|
|
45
|
+
* template: { // MessageTemplateConfig
|
|
46
|
+
* whatsapp: { // TemplateWithParameters
|
|
47
|
+
* name: "STRING_VALUE", // required
|
|
48
|
+
* parameters: [ // ListTemplateParameter // required
|
|
49
|
+
* { // TemplateParameter
|
|
50
|
+
* name: "STRING_VALUE", // required
|
|
51
|
+
* value: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
45
56
|
* actions: [ // ActionsElementsList
|
|
46
57
|
* { // ActionElement Union: only one key present
|
|
47
58
|
* button: { // ButtonElement
|
|
@@ -176,6 +187,17 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
176
187
|
* // text: "STRING_VALUE",
|
|
177
188
|
* // elements: [ // ElementsList
|
|
178
189
|
* // { // Element Union: only one key present
|
|
190
|
+
* // template: { // MessageTemplateConfig
|
|
191
|
+
* // whatsapp: { // TemplateWithParameters
|
|
192
|
+
* // name: "STRING_VALUE", // required
|
|
193
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
194
|
+
* // { // TemplateParameter
|
|
195
|
+
* // name: "STRING_VALUE", // required
|
|
196
|
+
* // value: "STRING_VALUE", // required
|
|
197
|
+
* // },
|
|
198
|
+
* // ],
|
|
199
|
+
* // },
|
|
200
|
+
* // },
|
|
179
201
|
* // actions: [ // ActionsElementsList
|
|
180
202
|
* // { // ActionElement Union: only one key present
|
|
181
203
|
* // button: { // ButtonElement
|
|
@@ -53,6 +53,17 @@ declare const SendGiphyCommand_base: {
|
|
|
53
53
|
* // text: "STRING_VALUE",
|
|
54
54
|
* // elements: [ // ElementsList
|
|
55
55
|
* // { // Element Union: only one key present
|
|
56
|
+
* // template: { // MessageTemplateConfig
|
|
57
|
+
* // whatsapp: { // TemplateWithParameters
|
|
58
|
+
* // name: "STRING_VALUE", // required
|
|
59
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
60
|
+
* // { // TemplateParameter
|
|
61
|
+
* // name: "STRING_VALUE", // required
|
|
62
|
+
* // value: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
56
67
|
* // actions: [ // ActionsElementsList
|
|
57
68
|
* // { // ActionElement Union: only one key present
|
|
58
69
|
* // button: { // ButtonElement
|
|
@@ -38,6 +38,17 @@ declare const SendMessageCommand_base: {
|
|
|
38
38
|
* text: "STRING_VALUE",
|
|
39
39
|
* elements: [ // ElementsList
|
|
40
40
|
* { // Element Union: only one key present
|
|
41
|
+
* template: { // MessageTemplateConfig
|
|
42
|
+
* whatsapp: { // TemplateWithParameters
|
|
43
|
+
* name: "STRING_VALUE", // required
|
|
44
|
+
* parameters: [ // ListTemplateParameter // required
|
|
45
|
+
* { // TemplateParameter
|
|
46
|
+
* name: "STRING_VALUE", // required
|
|
47
|
+
* value: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
41
52
|
* actions: [ // ActionsElementsList
|
|
42
53
|
* { // ActionElement Union: only one key present
|
|
43
54
|
* button: { // ButtonElement
|
|
@@ -170,6 +181,17 @@ declare const SendMessageCommand_base: {
|
|
|
170
181
|
* // text: "STRING_VALUE",
|
|
171
182
|
* // elements: [ // ElementsList
|
|
172
183
|
* // { // Element Union: only one key present
|
|
184
|
+
* // template: { // MessageTemplateConfig
|
|
185
|
+
* // whatsapp: { // TemplateWithParameters
|
|
186
|
+
* // name: "STRING_VALUE", // required
|
|
187
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
188
|
+
* // { // TemplateParameter
|
|
189
|
+
* // name: "STRING_VALUE", // required
|
|
190
|
+
* // value: "STRING_VALUE", // required
|
|
191
|
+
* // },
|
|
192
|
+
* // ],
|
|
193
|
+
* // },
|
|
194
|
+
* // },
|
|
173
195
|
* // actions: [ // ActionsElementsList
|
|
174
196
|
* // { // ActionElement Union: only one key present
|
|
175
197
|
* // button: { // ButtonElement
|
|
@@ -38,6 +38,17 @@ declare const UpdateMessageCommand_base: {
|
|
|
38
38
|
* text: "STRING_VALUE",
|
|
39
39
|
* elements: [ // ElementsList
|
|
40
40
|
* { // Element Union: only one key present
|
|
41
|
+
* template: { // MessageTemplateConfig
|
|
42
|
+
* whatsapp: { // TemplateWithParameters
|
|
43
|
+
* name: "STRING_VALUE", // required
|
|
44
|
+
* parameters: [ // ListTemplateParameter // required
|
|
45
|
+
* { // TemplateParameter
|
|
46
|
+
* name: "STRING_VALUE", // required
|
|
47
|
+
* value: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
41
52
|
* actions: [ // ActionsElementsList
|
|
42
53
|
* { // ActionElement Union: only one key present
|
|
43
54
|
* button: { // ButtonElement
|
|
@@ -171,6 +182,17 @@ declare const UpdateMessageCommand_base: {
|
|
|
171
182
|
* // text: "STRING_VALUE",
|
|
172
183
|
* // elements: [ // ElementsList
|
|
173
184
|
* // { // Element Union: only one key present
|
|
185
|
+
* // template: { // MessageTemplateConfig
|
|
186
|
+
* // whatsapp: { // TemplateWithParameters
|
|
187
|
+
* // name: "STRING_VALUE", // required
|
|
188
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
189
|
+
* // { // TemplateParameter
|
|
190
|
+
* // name: "STRING_VALUE", // required
|
|
191
|
+
* // value: "STRING_VALUE", // required
|
|
192
|
+
* // },
|
|
193
|
+
* // ],
|
|
194
|
+
* // },
|
|
195
|
+
* // },
|
|
174
196
|
* // actions: [ // ActionsElementsList
|
|
175
197
|
* // { // ActionElement Union: only one key present
|
|
176
198
|
* // button: { // ButtonElement
|
|
@@ -50,7 +50,6 @@ export * from "./SendActionTriggerResultCommand";
|
|
|
50
50
|
export * from "./SendGiphyCommand";
|
|
51
51
|
export * from "./SendMessageCommand";
|
|
52
52
|
export * from "./SendMessageReactionCommand";
|
|
53
|
-
export * from "./SendTemplateMessageCommand";
|
|
54
53
|
export * from "./SendTypingStartCommand";
|
|
55
54
|
export * from "./SendTypingStopCommand";
|
|
56
55
|
export * from "./ShowChannelCommand";
|
|
@@ -855,12 +855,24 @@ export interface MessageAttachment {
|
|
|
855
855
|
/**
|
|
856
856
|
* @public
|
|
857
857
|
*/
|
|
858
|
-
export
|
|
858
|
+
export interface MessageTemplateConfig {
|
|
859
|
+
whatsapp?: TemplateWithParameters | undefined;
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* @public
|
|
863
|
+
*/
|
|
864
|
+
export type Element = Element.ActionsMember | Element.TemplateMember | Element.$UnknownMember;
|
|
859
865
|
/**
|
|
860
866
|
* @public
|
|
861
867
|
*/
|
|
862
868
|
export declare namespace Element {
|
|
869
|
+
interface TemplateMember {
|
|
870
|
+
template: MessageTemplateConfig;
|
|
871
|
+
actions?: never;
|
|
872
|
+
$unknown?: never;
|
|
873
|
+
}
|
|
863
874
|
interface ActionsMember {
|
|
875
|
+
template?: never;
|
|
864
876
|
actions: (ActionElement)[];
|
|
865
877
|
$unknown?: never;
|
|
866
878
|
}
|
|
@@ -868,10 +880,12 @@ export declare namespace Element {
|
|
|
868
880
|
* @public
|
|
869
881
|
*/
|
|
870
882
|
interface $UnknownMember {
|
|
883
|
+
template?: never;
|
|
871
884
|
actions?: never;
|
|
872
885
|
$unknown: [string, any];
|
|
873
886
|
}
|
|
874
887
|
interface Visitor<T> {
|
|
888
|
+
template: (value: MessageTemplateConfig) => T;
|
|
875
889
|
actions: (value: (ActionElement)[]) => T;
|
|
876
890
|
_: (name: string, value: any) => T;
|
|
877
891
|
}
|
|
@@ -2771,34 +2785,6 @@ export interface SendMessageReactionInput {
|
|
|
2771
2785
|
*/
|
|
2772
2786
|
export interface SendMessageReactionOutput {
|
|
2773
2787
|
}
|
|
2774
|
-
/**
|
|
2775
|
-
* @public
|
|
2776
|
-
*/
|
|
2777
|
-
export interface WhatsAppTemplateConfig {
|
|
2778
|
-
template: TemplateWithParameters;
|
|
2779
|
-
}
|
|
2780
|
-
/**
|
|
2781
|
-
* @public
|
|
2782
|
-
*/
|
|
2783
|
-
export interface SendTemplateMessageInput {
|
|
2784
|
-
/**
|
|
2785
|
-
* The unique identifier of the channel to which the template message is sent.
|
|
2786
|
-
* @public
|
|
2787
|
-
*/
|
|
2788
|
-
channelId: string;
|
|
2789
|
-
/**
|
|
2790
|
-
* The unique identifier of the user when a service token is used.
|
|
2791
|
-
* @public
|
|
2792
|
-
*/
|
|
2793
|
-
userId?: string | undefined;
|
|
2794
|
-
whatsapp: WhatsAppTemplateConfig;
|
|
2795
|
-
}
|
|
2796
|
-
/**
|
|
2797
|
-
* @public
|
|
2798
|
-
*/
|
|
2799
|
-
export interface SendTemplateMessageOutput {
|
|
2800
|
-
message: Message;
|
|
2801
|
-
}
|
|
2802
2788
|
/**
|
|
2803
2789
|
* @public
|
|
2804
2790
|
*/
|
|
@@ -50,7 +50,6 @@ import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutp
|
|
|
50
50
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "../commands/SendGiphyCommand";
|
|
51
51
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "../commands/SendMessageCommand";
|
|
52
52
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "../commands/SendMessageReactionCommand";
|
|
53
|
-
import { SendTemplateMessageCommandInput, SendTemplateMessageCommandOutput } from "../commands/SendTemplateMessageCommand";
|
|
54
53
|
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "../commands/SendTypingStartCommand";
|
|
55
54
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "../commands/SendTypingStopCommand";
|
|
56
55
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "../commands/ShowChannelCommand";
|
|
@@ -273,10 +272,6 @@ export declare const se_SendMessageCommand: (input: SendMessageCommandInput, con
|
|
|
273
272
|
* serializeAws_restJson1SendMessageReactionCommand
|
|
274
273
|
*/
|
|
275
274
|
export declare const se_SendMessageReactionCommand: (input: SendMessageReactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
276
|
-
/**
|
|
277
|
-
* serializeAws_restJson1SendTemplateMessageCommand
|
|
278
|
-
*/
|
|
279
|
-
export declare const se_SendTemplateMessageCommand: (input: SendTemplateMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
280
275
|
/**
|
|
281
276
|
* serializeAws_restJson1SendTypingStartCommand
|
|
282
277
|
*/
|
|
@@ -533,10 +528,6 @@ export declare const de_SendMessageCommand: (output: __HttpResponse, context: __
|
|
|
533
528
|
* deserializeAws_restJson1SendMessageReactionCommand
|
|
534
529
|
*/
|
|
535
530
|
export declare const de_SendMessageReactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendMessageReactionCommandOutput>;
|
|
536
|
-
/**
|
|
537
|
-
* deserializeAws_restJson1SendTemplateMessageCommand
|
|
538
|
-
*/
|
|
539
|
-
export declare const de_SendTemplateMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendTemplateMessageCommandOutput>;
|
|
540
531
|
/**
|
|
541
532
|
* deserializeAws_restJson1SendTypingStartCommand
|
|
542
533
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.19",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -1,21 +0,0 @@
|
|
|
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;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_SendTemplateMessageCommand, se_SendTemplateMessageCommand, } 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 SendTemplateMessageCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Conversations", "SendTemplateMessage", {})
|
|
12
|
-
.n("ConversationsClient", "SendTemplateMessageCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_SendTemplateMessageCommand)
|
|
15
|
-
.de(de_SendTemplateMessageCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
-
import { SendTemplateMessageInput, SendTemplateMessageOutput } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link SendTemplateMessageCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface SendTemplateMessageCommandInput extends SendTemplateMessageInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link SendTemplateMessageCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface SendTemplateMessageCommandOutput extends SendTemplateMessageOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const SendTemplateMessageCommand_base: {
|
|
25
|
-
new (input: SendTemplateMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendTemplateMessageCommandInput, SendTemplateMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: SendTemplateMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendTemplateMessageCommandInput, SendTemplateMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Sends a template message to a specified channel. This operation requires the channel to be accessible to the user.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ConversationsClient, SendTemplateMessageCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
-
* // const { ConversationsClient, SendTemplateMessageCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
-
* const client = new ConversationsClient(config);
|
|
37
|
-
* const input = { // SendTemplateMessageInput
|
|
38
|
-
* channelId: "STRING_VALUE", // required
|
|
39
|
-
* userId: "STRING_VALUE",
|
|
40
|
-
* whatsapp: { // WhatsAppTemplateConfig
|
|
41
|
-
* template: { // TemplateWithParameters
|
|
42
|
-
* name: "STRING_VALUE", // required
|
|
43
|
-
* parameters: [ // ListTemplateParameter // required
|
|
44
|
-
* { // TemplateParameter
|
|
45
|
-
* name: "STRING_VALUE", // required
|
|
46
|
-
* value: "STRING_VALUE", // required
|
|
47
|
-
* },
|
|
48
|
-
* ],
|
|
49
|
-
* },
|
|
50
|
-
* },
|
|
51
|
-
* };
|
|
52
|
-
* const command = new SendTemplateMessageCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* // { // SendTemplateMessageOutput
|
|
55
|
-
* // message: { // Message
|
|
56
|
-
* // text: "STRING_VALUE",
|
|
57
|
-
* // elements: [ // ElementsList
|
|
58
|
-
* // { // Element Union: only one key present
|
|
59
|
-
* // actions: [ // ActionsElementsList
|
|
60
|
-
* // { // ActionElement Union: only one key present
|
|
61
|
-
* // button: { // ButtonElement
|
|
62
|
-
* // text: "STRING_VALUE", // required
|
|
63
|
-
* // handler: { // ButtonHandler Union: only one key present
|
|
64
|
-
* // link: { // ButtonLinkHandler
|
|
65
|
-
* // url: "STRING_VALUE", // required
|
|
66
|
-
* // },
|
|
67
|
-
* // reply: { // ButtonReplyHandler
|
|
68
|
-
* // text: "STRING_VALUE",
|
|
69
|
-
* // },
|
|
70
|
-
* // action: { // ButtonActionHandler
|
|
71
|
-
* // id: "STRING_VALUE", // required
|
|
72
|
-
* // },
|
|
73
|
-
* // },
|
|
74
|
-
* // variant: "contained" || "outlined",
|
|
75
|
-
* // disabled: true || false,
|
|
76
|
-
* // },
|
|
77
|
-
* // },
|
|
78
|
-
* // ],
|
|
79
|
-
* // },
|
|
80
|
-
* // ],
|
|
81
|
-
* // attachments: [ // MessageAttachmentList
|
|
82
|
-
* // { // MessageAttachment
|
|
83
|
-
* // id: "STRING_VALUE", // required
|
|
84
|
-
* // fsId: "STRING_VALUE", // required
|
|
85
|
-
* // mime: "STRING_VALUE",
|
|
86
|
-
* // name: "STRING_VALUE", // required
|
|
87
|
-
* // size: Number("int"), // required
|
|
88
|
-
* // width: Number("int"),
|
|
89
|
-
* // height: Number("int"),
|
|
90
|
-
* // thumbnail: "STRING_VALUE",
|
|
91
|
-
* // },
|
|
92
|
-
* // ],
|
|
93
|
-
* // quote: { // MessageQuote
|
|
94
|
-
* // messageId: "STRING_VALUE", // required
|
|
95
|
-
* // channelId: "STRING_VALUE", // required
|
|
96
|
-
* // user: { // User
|
|
97
|
-
* // id: "STRING_VALUE", // required
|
|
98
|
-
* // name: "STRING_VALUE",
|
|
99
|
-
* // email: "STRING_VALUE",
|
|
100
|
-
* // phone: "STRING_VALUE",
|
|
101
|
-
* // picture: "STRING_VALUE",
|
|
102
|
-
* // locale: "STRING_VALUE",
|
|
103
|
-
* // timeZone: "STRING_VALUE",
|
|
104
|
-
* // company: "STRING_VALUE",
|
|
105
|
-
* // bot: true || false,
|
|
106
|
-
* // pbxDomain: "STRING_VALUE",
|
|
107
|
-
* // pbxPort: "STRING_VALUE",
|
|
108
|
-
* // pbxExtension: "STRING_VALUE",
|
|
109
|
-
* // pbxSerial: "STRING_VALUE",
|
|
110
|
-
* // pbxUserId: "STRING_VALUE",
|
|
111
|
-
* // createdAt: "STRING_VALUE",
|
|
112
|
-
* // updatedAt: "STRING_VALUE",
|
|
113
|
-
* // },
|
|
114
|
-
* // text: "STRING_VALUE",
|
|
115
|
-
* // attachments: [
|
|
116
|
-
* // {
|
|
117
|
-
* // id: "STRING_VALUE", // required
|
|
118
|
-
* // fsId: "STRING_VALUE", // required
|
|
119
|
-
* // mime: "STRING_VALUE",
|
|
120
|
-
* // name: "STRING_VALUE", // required
|
|
121
|
-
* // size: Number("int"), // required
|
|
122
|
-
* // width: Number("int"),
|
|
123
|
-
* // height: Number("int"),
|
|
124
|
-
* // thumbnail: "STRING_VALUE",
|
|
125
|
-
* // },
|
|
126
|
-
* // ],
|
|
127
|
-
* // forward: { // MessageForward
|
|
128
|
-
* // forwardCompany: "STRING_VALUE",
|
|
129
|
-
* // forwardDate: "STRING_VALUE", // required
|
|
130
|
-
* // forwardEmail: "STRING_VALUE",
|
|
131
|
-
* // forwardName: "STRING_VALUE",
|
|
132
|
-
* // messageId: "STRING_VALUE", // required
|
|
133
|
-
* // channelId: "STRING_VALUE", // required
|
|
134
|
-
* // },
|
|
135
|
-
* // mentions: [ // UsersList
|
|
136
|
-
* // {
|
|
137
|
-
* // id: "STRING_VALUE", // required
|
|
138
|
-
* // name: "STRING_VALUE",
|
|
139
|
-
* // email: "STRING_VALUE",
|
|
140
|
-
* // phone: "STRING_VALUE",
|
|
141
|
-
* // picture: "STRING_VALUE",
|
|
142
|
-
* // locale: "STRING_VALUE",
|
|
143
|
-
* // timeZone: "STRING_VALUE",
|
|
144
|
-
* // company: "STRING_VALUE",
|
|
145
|
-
* // bot: true || false,
|
|
146
|
-
* // pbxDomain: "STRING_VALUE",
|
|
147
|
-
* // pbxPort: "STRING_VALUE",
|
|
148
|
-
* // pbxExtension: "STRING_VALUE",
|
|
149
|
-
* // pbxSerial: "STRING_VALUE",
|
|
150
|
-
* // pbxUserId: "STRING_VALUE",
|
|
151
|
-
* // createdAt: "STRING_VALUE",
|
|
152
|
-
* // updatedAt: "STRING_VALUE",
|
|
153
|
-
* // },
|
|
154
|
-
* // ],
|
|
155
|
-
* // giphy: { // MessageGiphy
|
|
156
|
-
* // id: "STRING_VALUE", // required
|
|
157
|
-
* // size: "STRING_VALUE", // required
|
|
158
|
-
* // url: "STRING_VALUE", // required
|
|
159
|
-
* // height: "STRING_VALUE", // required
|
|
160
|
-
* // width: "STRING_VALUE", // required
|
|
161
|
-
* // },
|
|
162
|
-
* // createdAt: "STRING_VALUE", // required
|
|
163
|
-
* // updatedAt: "STRING_VALUE",
|
|
164
|
-
* // },
|
|
165
|
-
* // forward: {
|
|
166
|
-
* // forwardCompany: "STRING_VALUE",
|
|
167
|
-
* // forwardDate: "STRING_VALUE", // required
|
|
168
|
-
* // forwardEmail: "STRING_VALUE",
|
|
169
|
-
* // forwardName: "STRING_VALUE",
|
|
170
|
-
* // messageId: "STRING_VALUE", // required
|
|
171
|
-
* // channelId: "STRING_VALUE", // required
|
|
172
|
-
* // },
|
|
173
|
-
* // whatsapp: true || false,
|
|
174
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
175
|
-
* // sms: true || false,
|
|
176
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
177
|
-
* // type: "regular" || "system", // required
|
|
178
|
-
* // giphy: {
|
|
179
|
-
* // id: "STRING_VALUE", // required
|
|
180
|
-
* // size: "STRING_VALUE", // required
|
|
181
|
-
* // url: "STRING_VALUE", // required
|
|
182
|
-
* // height: "STRING_VALUE", // required
|
|
183
|
-
* // width: "STRING_VALUE", // required
|
|
184
|
-
* // },
|
|
185
|
-
* // silent: true || false,
|
|
186
|
-
* // event: "STRING_VALUE",
|
|
187
|
-
* // messageId: "STRING_VALUE", // required
|
|
188
|
-
* // channelId: "STRING_VALUE", // required
|
|
189
|
-
* // user: "<User>", // required
|
|
190
|
-
* // edit: true || false,
|
|
191
|
-
* // mentions: [
|
|
192
|
-
* // "<User>",
|
|
193
|
-
* // ],
|
|
194
|
-
* // latestReactions: [ // ReactionList
|
|
195
|
-
* // { // Reaction
|
|
196
|
-
* // type: "STRING_VALUE",
|
|
197
|
-
* // userId: "STRING_VALUE",
|
|
198
|
-
* // messageId: "STRING_VALUE",
|
|
199
|
-
* // user: "<User>",
|
|
200
|
-
* // },
|
|
201
|
-
* // ],
|
|
202
|
-
* // reactionCounts: { // ReactionCounts
|
|
203
|
-
* // "<keys>": Number("int"),
|
|
204
|
-
* // },
|
|
205
|
-
* // createdAt: "STRING_VALUE", // required
|
|
206
|
-
* // updatedAt: "STRING_VALUE",
|
|
207
|
-
* // },
|
|
208
|
-
* // };
|
|
209
|
-
*
|
|
210
|
-
* ```
|
|
211
|
-
*
|
|
212
|
-
* @param SendTemplateMessageCommandInput - {@link SendTemplateMessageCommandInput}
|
|
213
|
-
* @returns {@link SendTemplateMessageCommandOutput}
|
|
214
|
-
* @see {@link SendTemplateMessageCommandInput} for command's `input` shape.
|
|
215
|
-
* @see {@link SendTemplateMessageCommandOutput} for command's `response` shape.
|
|
216
|
-
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
217
|
-
*
|
|
218
|
-
* @throws {@link ChannelNotFoundException} (client fault)
|
|
219
|
-
*
|
|
220
|
-
* @throws {@link ValidationException} (client fault)
|
|
221
|
-
*
|
|
222
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
223
|
-
*
|
|
224
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
225
|
-
*
|
|
226
|
-
* @throws {@link ConversationsServiceException}
|
|
227
|
-
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* @public
|
|
231
|
-
*/
|
|
232
|
-
export declare class SendTemplateMessageCommand extends SendTemplateMessageCommand_base {
|
|
233
|
-
/** @internal type navigation helper, not in runtime. */
|
|
234
|
-
protected static __types: {
|
|
235
|
-
api: {
|
|
236
|
-
input: SendTemplateMessageInput;
|
|
237
|
-
output: SendTemplateMessageOutput;
|
|
238
|
-
};
|
|
239
|
-
sdk: {
|
|
240
|
-
input: SendTemplateMessageCommandInput;
|
|
241
|
-
output: SendTemplateMessageCommandOutput;
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
}
|