@wildix/xbees-conversations-client 1.0.59 → 1.0.60

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 (36) hide show
  1. package/dist-cjs/Conversations.js +6 -0
  2. package/dist-cjs/commands/GetActionTriggerResultCommand.js +21 -0
  3. package/dist-cjs/commands/SendActionTriggerResultCommand.js +21 -0
  4. package/dist-cjs/commands/TriggerMessageActionCommand.js +21 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/models/models_0.js +74 -2
  7. package/dist-cjs/protocols/Aws_restJson1.js +135 -4
  8. package/dist-es/Conversations.js +6 -0
  9. package/dist-es/commands/GetActionTriggerResultCommand.js +17 -0
  10. package/dist-es/commands/SendActionTriggerResultCommand.js +17 -0
  11. package/dist-es/commands/TriggerMessageActionCommand.js +17 -0
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/models/models_0.js +71 -1
  14. package/dist-es/protocols/Aws_restJson1.js +128 -3
  15. package/dist-types/Conversations.d.ts +21 -0
  16. package/dist-types/ConversationsClient.d.ts +5 -2
  17. package/dist-types/commands/DescribeEventCommand.d.ts +259 -9
  18. package/dist-types/commands/GetActionTriggerResultCommand.d.ts +70 -0
  19. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +1 -2
  20. package/dist-types/commands/GetMessageCommand.d.ts +84 -19
  21. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +1 -1
  22. package/dist-types/commands/ListMessagesCommand.d.ts +84 -19
  23. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +168 -38
  24. package/dist-types/commands/SendActionTriggerResultCommand.d.ts +68 -0
  25. package/dist-types/commands/SendGiphyCommand.d.ts +84 -19
  26. package/dist-types/commands/SendMessageCommand.d.ts +168 -38
  27. package/dist-types/commands/TriggerMessageActionCommand.d.ts +227 -0
  28. package/dist-types/commands/UpdateMessageCommand.d.ts +168 -38
  29. package/dist-types/commands/UploadFileCommand.d.ts +1 -1
  30. package/dist-types/commands/index.d.ts +3 -0
  31. package/dist-types/models/models_0.d.ts +387 -6
  32. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  34. package/dist-types/runtimeConfig.d.ts +1 -0
  35. package/dist-types/runtimeConfig.native.d.ts +1 -0
  36. package/package.json +1 -1
@@ -43,6 +43,34 @@ export const ChannelType = {
43
43
  DIRECT: "direct",
44
44
  GROUP: "group",
45
45
  };
46
+ export var ButtonHandler;
47
+ (function (ButtonHandler) {
48
+ ButtonHandler.visit = (value, visitor) => {
49
+ if (value.link !== undefined)
50
+ return visitor.link(value.link);
51
+ if (value.reply !== undefined)
52
+ return visitor.reply(value.reply);
53
+ if (value.action !== undefined)
54
+ return visitor.action(value.action);
55
+ return visitor._(value.$unknown[0], value.$unknown[1]);
56
+ };
57
+ })(ButtonHandler || (ButtonHandler = {}));
58
+ export const ButtonVariant = {
59
+ CONTAINED: "contained",
60
+ OUTLINED: "outlined",
61
+ };
62
+ export var ActionElement;
63
+ (function (ActionElement) {
64
+ ActionElement.visit = (value, visitor) => {
65
+ if (value.button !== undefined)
66
+ return visitor.button(value.button);
67
+ return visitor._(value.$unknown[0], value.$unknown[1]);
68
+ };
69
+ })(ActionElement || (ActionElement = {}));
70
+ export const ActionTriggerStatus = {
71
+ COMPLETED: "completed",
72
+ PENDING: "pending",
73
+ };
46
74
  export const ChannelMemberRole = {
47
75
  MEMBER: "member",
48
76
  SUPERVISOR: "supervisor",
@@ -102,7 +130,6 @@ export class ChannelAlreadyExistException extends __BaseException {
102
130
  export const ConversationFileCategory = {
103
131
  GENERAL: "channels",
104
132
  RECORDING: "recordings",
105
- WIZY_RECORDING: "wizyconfRecordings",
106
133
  };
107
134
  export class TagsLimitReachedException extends __BaseException {
108
135
  constructor(opts) {
@@ -152,6 +179,7 @@ export const ReactionType = {
152
179
  WHITE_CHECK_MARK: "white_check_mark",
153
180
  };
154
181
  export const WebhookEventType = {
182
+ ACTION_TRIGGERED: "chat:action:triggered",
155
183
  CHANNEL_CREATED: "chat:channel:created",
156
184
  CHANNEL_UPDATED: "chat:channel:updated",
157
185
  MEMBER_ADDED: "chat:member:added",
@@ -162,6 +190,24 @@ export const WebhookEventType = {
162
190
  REACTION_DELETED: "chat:reaction:deleted",
163
191
  REACTION_NEW: "chat:reaction:new",
164
192
  };
193
+ export var Element;
194
+ (function (Element) {
195
+ Element.visit = (value, visitor) => {
196
+ if (value.text !== undefined)
197
+ return visitor.text(value.text);
198
+ if (value.link !== undefined)
199
+ return visitor.link(value.link);
200
+ if (value.email !== undefined)
201
+ return visitor.email(value.email);
202
+ if (value.phone !== undefined)
203
+ return visitor.phone(value.phone);
204
+ if (value.mention !== undefined)
205
+ return visitor.mention(value.mention);
206
+ if (value.actions !== undefined)
207
+ return visitor.actions(value.actions);
208
+ return visitor._(value.$unknown[0], value.$unknown[1]);
209
+ };
210
+ })(Element || (Element = {}));
165
211
  export const MessageSmsStatus = {
166
212
  DELIVERED: "delivered",
167
213
  ERROR: "error",
@@ -178,6 +224,18 @@ export const MessageWhatsAppStatus = {
178
224
  SENT: "sent",
179
225
  TRYING: "trying",
180
226
  };
227
+ export class TriggerNotFoundException extends __BaseException {
228
+ constructor(opts) {
229
+ super({
230
+ name: "TriggerNotFoundException",
231
+ $fault: "client",
232
+ ...opts
233
+ });
234
+ this.name = "TriggerNotFoundException";
235
+ this.$fault = "client";
236
+ Object.setPrototypeOf(this, TriggerNotFoundException.prototype);
237
+ }
238
+ }
181
239
  export class FileNotFoundException extends __BaseException {
182
240
  constructor(opts) {
183
241
  super({
@@ -264,3 +322,15 @@ export class TaggedChannelsLimitReachedException extends __BaseException {
264
322
  Object.setPrototypeOf(this, TaggedChannelsLimitReachedException.prototype);
265
323
  }
266
324
  }
325
+ export class MessageActionNotFoundException extends __BaseException {
326
+ constructor(opts) {
327
+ super({
328
+ name: "MessageActionNotFoundException",
329
+ $fault: "client",
330
+ ...opts
331
+ });
332
+ this.name = "MessageActionNotFoundException";
333
+ this.$fault = "client";
334
+ Object.setPrototypeOf(this, MessageActionNotFoundException.prototype);
335
+ }
336
+ }
@@ -1,5 +1,5 @@
1
1
  import { ConversationsServiceException as __BaseException } from "../models/ConversationsServiceException";
2
- import { ChannelAlreadyExistException, ChannelNotFoundException, ConversationsServiceException, FileNotFoundException, ForbiddenException, MarkUnreadChannelsLimitReachedException, MemberAlreadyExistException, MemberNotFoundException, MessageNotFoundException, PinnedChannelsLimitReachedException, RateLimitExceededException, TagNotFoundException, TaggedChannelsLimitReachedException, TagsLimitReachedException, ValidationException, } from "../models/models_0";
2
+ import { ChannelAlreadyExistException, ChannelNotFoundException, ConversationsServiceException, FileNotFoundException, ForbiddenException, MarkUnreadChannelsLimitReachedException, MemberAlreadyExistException, MemberNotFoundException, MessageActionNotFoundException, MessageNotFoundException, PinnedChannelsLimitReachedException, RateLimitExceededException, TagNotFoundException, TaggedChannelsLimitReachedException, TagsLimitReachedException, TriggerNotFoundException, ValidationException, } from "../models/models_0";
3
3
  import { requestBuilder as rb } from "@smithy/core";
4
4
  import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
5
5
  export const se_AddChannelMemberCommand = async (input, context) => {
@@ -182,6 +182,21 @@ export const se_DescribeEventCommand = async (input, context) => {
182
182
  .b(body);
183
183
  return b.build();
184
184
  };
185
+ export const se_GetActionTriggerResultCommand = async (input, context) => {
186
+ const b = rb(input, context);
187
+ const headers = {};
188
+ b.bp("/v2/conversations/triggers/{triggerId}/result");
189
+ b.p('triggerId', () => input.triggerId, '{triggerId}', false);
190
+ const query = map({
191
+ [_u]: [, input[_uI]],
192
+ });
193
+ let body;
194
+ b.m("GET")
195
+ .h(headers)
196
+ .q(query)
197
+ .b(body);
198
+ return b.build();
199
+ };
185
200
  export const se_GetChannelCommand = async (input, context) => {
186
201
  const b = rb(input, context);
187
202
  const headers = {};
@@ -234,7 +249,6 @@ export const se_GetFilePresignedDownloadUrlCommand = async (input, context) => {
234
249
  b.p('fileId', () => input.fileId, '{fileId}', false);
235
250
  const query = map({
236
251
  [_c]: [, input[_c]],
237
- [_d]: [() => input.download !== void 0, () => (input[_d].toString())],
238
252
  });
239
253
  let body;
240
254
  b.m("GET")
@@ -580,6 +594,23 @@ export const se_ScheduleExternalFlagAdjustmentJobCommand = async (input, context
580
594
  .b(body);
581
595
  return b.build();
582
596
  };
597
+ export const se_SendActionTriggerResultCommand = async (input, context) => {
598
+ const b = rb(input, context);
599
+ const headers = {
600
+ 'content-type': 'application/json',
601
+ };
602
+ b.bp("/v2/conversations/triggers/{triggerId}/result");
603
+ b.p('triggerId', () => input.triggerId, '{triggerId}', false);
604
+ let body;
605
+ body = JSON.stringify(take(input, {
606
+ 'result': _ => _json(_),
607
+ 'status': [],
608
+ }));
609
+ b.m("POST")
610
+ .h(headers)
611
+ .b(body);
612
+ return b.build();
613
+ };
583
614
  export const se_SendGiphyCommand = async (input, context) => {
584
615
  const b = rb(input, context);
585
616
  const headers = {
@@ -614,6 +645,7 @@ export const se_SendMessageCommand = async (input, context) => {
614
645
  let body;
615
646
  body = JSON.stringify(take(input, {
616
647
  'attachments': _ => _json(_),
648
+ 'elements': _ => _json(_),
617
649
  'forward': _ => _json(_),
618
650
  'mentions': _ => _json(_),
619
651
  'messageId': [],
@@ -709,6 +741,32 @@ export const se_TagChannelCommand = async (input, context) => {
709
741
  .b(body);
710
742
  return b.build();
711
743
  };
744
+ export const se_TriggerMessageActionCommand = async (input, context) => {
745
+ const b = rb(input, context);
746
+ const headers = {
747
+ 'content-type': 'application/json',
748
+ };
749
+ b.bp("/v2/conversations/channels/{channelId}/messages/{messageId}/actions/{actionId}/trigger");
750
+ b.p('channelId', () => input.channelId, '{channelId}', false);
751
+ b.p('messageId', () => input.messageId, '{messageId}', false);
752
+ b.p('actionId', () => input.actionId, '{actionId}', false);
753
+ const query = map({
754
+ [_u]: [, input[_uI]],
755
+ });
756
+ let body;
757
+ body = JSON.stringify(take(input, {
758
+ 'attachments': _ => _json(_),
759
+ 'elements': _ => _json(_),
760
+ 'forward': _ => _json(_),
761
+ 'quote': _ => _json(_),
762
+ 'text': [],
763
+ }));
764
+ b.m("POST")
765
+ .h(headers)
766
+ .q(query)
767
+ .b(body);
768
+ return b.build();
769
+ };
712
770
  export const se_UnpinChannelCommand = async (input, context) => {
713
771
  const b = rb(input, context);
714
772
  const headers = {};
@@ -804,6 +862,7 @@ export const se_UpdateMessageCommand = async (input, context) => {
804
862
  let body;
805
863
  body = JSON.stringify(take(input, {
806
864
  'attachments': _ => _json(_),
865
+ 'elements': _ => _json(_),
807
866
  'forward': _ => _json(_),
808
867
  'mentions': _ => _json(_),
809
868
  'quote': _ => _json(_),
@@ -966,6 +1025,21 @@ export const de_DescribeEventCommand = async (output, context) => {
966
1025
  Object.assign(contents, doc);
967
1026
  return contents;
968
1027
  };
1028
+ export const de_GetActionTriggerResultCommand = async (output, context) => {
1029
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1030
+ return de_CommandError(output, context);
1031
+ }
1032
+ const contents = map({
1033
+ $metadata: deserializeMetadata(output),
1034
+ });
1035
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1036
+ const doc = take(data, {
1037
+ 'result': _json,
1038
+ 'status': __expectString,
1039
+ });
1040
+ Object.assign(contents, doc);
1041
+ return contents;
1042
+ };
969
1043
  export const de_GetChannelCommand = async (output, context) => {
970
1044
  if (output.statusCode !== 200 && output.statusCode >= 300) {
971
1045
  return de_CommandError(output, context);
@@ -1281,6 +1355,16 @@ export const de_ScheduleExternalFlagAdjustmentJobCommand = async (output, contex
1281
1355
  await collectBody(output.body, context);
1282
1356
  return contents;
1283
1357
  };
1358
+ export const de_SendActionTriggerResultCommand = async (output, context) => {
1359
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1360
+ return de_CommandError(output, context);
1361
+ }
1362
+ const contents = map({
1363
+ $metadata: deserializeMetadata(output),
1364
+ });
1365
+ await collectBody(output.body, context);
1366
+ return contents;
1367
+ };
1284
1368
  export const de_SendGiphyCommand = async (output, context) => {
1285
1369
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1286
1370
  return de_CommandError(output, context);
@@ -1359,6 +1443,16 @@ export const de_TagChannelCommand = async (output, context) => {
1359
1443
  await collectBody(output.body, context);
1360
1444
  return contents;
1361
1445
  };
1446
+ export const de_TriggerMessageActionCommand = async (output, context) => {
1447
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1448
+ return de_CommandError(output, context);
1449
+ }
1450
+ const contents = map({
1451
+ $metadata: deserializeMetadata(output),
1452
+ });
1453
+ await collectBody(output.body, context);
1454
+ return contents;
1455
+ };
1362
1456
  export const de_UnpinChannelCommand = async (output, context) => {
1363
1457
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1364
1458
  return de_CommandError(output, context);
@@ -1470,6 +1564,9 @@ const de_CommandError = async (output, context) => {
1470
1564
  case "MessageNotFoundException":
1471
1565
  case "wildix.xbees.conversations#MessageNotFoundException":
1472
1566
  throw await de_MessageNotFoundExceptionRes(parsedOutput, context);
1567
+ case "TriggerNotFoundException":
1568
+ case "wildix.xbees.conversations#TriggerNotFoundException":
1569
+ throw await de_TriggerNotFoundExceptionRes(parsedOutput, context);
1473
1570
  case "FileNotFoundException":
1474
1571
  case "wildix.xbees.conversations#FileNotFoundException":
1475
1572
  throw await de_FileNotFoundExceptionRes(parsedOutput, context);
@@ -1488,6 +1585,9 @@ const de_CommandError = async (output, context) => {
1488
1585
  case "TaggedChannelsLimitReachedException":
1489
1586
  case "wildix.xbees.conversations#TaggedChannelsLimitReachedException":
1490
1587
  throw await de_TaggedChannelsLimitReachedExceptionRes(parsedOutput, context);
1588
+ case "MessageActionNotFoundException":
1589
+ case "wildix.xbees.conversations#MessageActionNotFoundException":
1590
+ throw await de_MessageActionNotFoundExceptionRes(parsedOutput, context);
1491
1591
  default:
1492
1592
  const parsedBody = parsedOutput.body;
1493
1593
  return throwDefaultError({
@@ -1633,6 +1733,19 @@ const de_MemberNotFoundExceptionRes = async (parsedOutput, context) => {
1633
1733
  });
1634
1734
  return __decorateServiceException(exception, parsedOutput.body);
1635
1735
  };
1736
+ const de_MessageActionNotFoundExceptionRes = async (parsedOutput, context) => {
1737
+ const contents = map({});
1738
+ const data = parsedOutput.body;
1739
+ const doc = take(data, {
1740
+ 'message': __expectString,
1741
+ });
1742
+ Object.assign(contents, doc);
1743
+ const exception = new MessageActionNotFoundException({
1744
+ $metadata: deserializeMetadata(parsedOutput),
1745
+ ...contents
1746
+ });
1747
+ return __decorateServiceException(exception, parsedOutput.body);
1748
+ };
1636
1749
  const de_MessageNotFoundExceptionRes = async (parsedOutput, context) => {
1637
1750
  const contents = map({});
1638
1751
  const data = parsedOutput.body;
@@ -1698,6 +1811,19 @@ const de_TagsLimitReachedExceptionRes = async (parsedOutput, context) => {
1698
1811
  });
1699
1812
  return __decorateServiceException(exception, parsedOutput.body);
1700
1813
  };
1814
+ const de_TriggerNotFoundExceptionRes = async (parsedOutput, context) => {
1815
+ const contents = map({});
1816
+ const data = parsedOutput.body;
1817
+ const doc = take(data, {
1818
+ 'message': __expectString,
1819
+ });
1820
+ Object.assign(contents, doc);
1821
+ const exception = new TriggerNotFoundException({
1822
+ $metadata: deserializeMetadata(parsedOutput),
1823
+ ...contents
1824
+ });
1825
+ return __decorateServiceException(exception, parsedOutput.body);
1826
+ };
1701
1827
  const deserializeMetadata = (output) => ({
1702
1828
  httpStatusCode: output.statusCode,
1703
1829
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -1712,7 +1838,6 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1712
1838
  value.length != 0) &&
1713
1839
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1714
1840
  const _c = "category";
1715
- const _d = "download";
1716
1841
  const _f = "force";
1717
1842
  const _l = "limit";
1718
1843
  const _o = "offset";
@@ -9,6 +9,7 @@ import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "./comma
9
9
  import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
10
10
  import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
11
11
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
12
+ import { GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput } from "./commands/GetActionTriggerResultCommand";
12
13
  import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
13
14
  import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
14
15
  import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
@@ -33,6 +34,7 @@ import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } f
33
34
  import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
34
35
  import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
35
36
  import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
37
+ import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "./commands/SendActionTriggerResultCommand";
36
38
  import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
37
39
  import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
38
40
  import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
@@ -40,6 +42,7 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./com
40
42
  import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
41
43
  import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
42
44
  import { TagChannelCommandInput, TagChannelCommandOutput } from "./commands/TagChannelCommand";
45
+ import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "./commands/TriggerMessageActionCommand";
43
46
  import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "./commands/UnpinChannelCommand";
44
47
  import { UntagChannelCommandInput, UntagChannelCommandOutput } from "./commands/UntagChannelCommand";
45
48
  import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
@@ -110,6 +113,12 @@ export interface Conversations {
110
113
  describeEvent(args: DescribeEventCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventCommandOutput>;
111
114
  describeEvent(args: DescribeEventCommandInput, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
112
115
  describeEvent(args: DescribeEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
116
+ /**
117
+ * @see {@link GetActionTriggerResultCommand}
118
+ */
119
+ getActionTriggerResult(args: GetActionTriggerResultCommandInput, options?: __HttpHandlerOptions): Promise<GetActionTriggerResultCommandOutput>;
120
+ getActionTriggerResult(args: GetActionTriggerResultCommandInput, cb: (err: any, data?: GetActionTriggerResultCommandOutput) => void): void;
121
+ getActionTriggerResult(args: GetActionTriggerResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetActionTriggerResultCommandOutput) => void): void;
113
122
  /**
114
123
  * @see {@link GetChannelCommand}
115
124
  */
@@ -259,6 +268,12 @@ export interface Conversations {
259
268
  scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, options?: __HttpHandlerOptions): Promise<ScheduleExternalFlagAdjustmentJobCommandOutput>;
260
269
  scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, cb: (err: any, data?: ScheduleExternalFlagAdjustmentJobCommandOutput) => void): void;
261
270
  scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScheduleExternalFlagAdjustmentJobCommandOutput) => void): void;
271
+ /**
272
+ * @see {@link SendActionTriggerResultCommand}
273
+ */
274
+ sendActionTriggerResult(args: SendActionTriggerResultCommandInput, options?: __HttpHandlerOptions): Promise<SendActionTriggerResultCommandOutput>;
275
+ sendActionTriggerResult(args: SendActionTriggerResultCommandInput, cb: (err: any, data?: SendActionTriggerResultCommandOutput) => void): void;
276
+ sendActionTriggerResult(args: SendActionTriggerResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendActionTriggerResultCommandOutput) => void): void;
262
277
  /**
263
278
  * @see {@link SendGiphyCommand}
264
279
  */
@@ -301,6 +316,12 @@ export interface Conversations {
301
316
  tagChannel(args: TagChannelCommandInput, options?: __HttpHandlerOptions): Promise<TagChannelCommandOutput>;
302
317
  tagChannel(args: TagChannelCommandInput, cb: (err: any, data?: TagChannelCommandOutput) => void): void;
303
318
  tagChannel(args: TagChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagChannelCommandOutput) => void): void;
319
+ /**
320
+ * @see {@link TriggerMessageActionCommand}
321
+ */
322
+ triggerMessageAction(args: TriggerMessageActionCommandInput, options?: __HttpHandlerOptions): Promise<TriggerMessageActionCommandOutput>;
323
+ triggerMessageAction(args: TriggerMessageActionCommandInput, cb: (err: any, data?: TriggerMessageActionCommandOutput) => void): void;
324
+ triggerMessageAction(args: TriggerMessageActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TriggerMessageActionCommandOutput) => void): void;
304
325
  /**
305
326
  * @see {@link UnpinChannelCommand}
306
327
  */
@@ -8,6 +8,7 @@ import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "./comma
8
8
  import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
9
9
  import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
10
10
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
11
+ import { GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput } from "./commands/GetActionTriggerResultCommand";
11
12
  import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
12
13
  import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
13
14
  import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
@@ -32,6 +33,7 @@ import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } f
32
33
  import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
33
34
  import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
34
35
  import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
36
+ import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "./commands/SendActionTriggerResultCommand";
35
37
  import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
36
38
  import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
37
39
  import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
@@ -39,6 +41,7 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./com
39
41
  import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
40
42
  import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
41
43
  import { TagChannelCommandInput, TagChannelCommandOutput } from "./commands/TagChannelCommand";
44
+ import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "./commands/TriggerMessageActionCommand";
42
45
  import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "./commands/UnpinChannelCommand";
43
46
  import { UntagChannelCommandInput, UntagChannelCommandOutput } from "./commands/UntagChannelCommand";
44
47
  import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
@@ -56,11 +59,11 @@ export { __Client };
56
59
  /**
57
60
  * @public
58
61
  */
59
- export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | UnpinChannelCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
62
+ export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendActionTriggerResultCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | TriggerMessageActionCommandInput | UnpinChannelCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
60
63
  /**
61
64
  * @public
62
65
  */
63
- export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | UnpinChannelCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
66
+ export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendActionTriggerResultCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | TriggerMessageActionCommandOutput | UnpinChannelCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
64
67
  /**
65
68
  * @public
66
69
  */