@wildix/xbees-conversations-client 1.0.47 → 1.0.49

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 (55) hide show
  1. package/dist-cjs/Conversations.js +0 -2
  2. package/dist-cjs/commands/index.js +0 -1
  3. package/dist-cjs/models/models_0.js +27 -23
  4. package/dist-cjs/protocols/Aws_restJson1.js +31 -42
  5. package/dist-es/Conversations.js +0 -2
  6. package/dist-es/commands/index.js +0 -1
  7. package/dist-es/models/models_0.js +25 -22
  8. package/dist-es/protocols/Aws_restJson1.js +31 -40
  9. package/dist-types/Conversations.d.ts +0 -7
  10. package/dist-types/ConversationsClient.d.ts +2 -3
  11. package/dist-types/commands/AddChannelMemberCommand.d.ts +6 -3
  12. package/dist-types/commands/AddChannelMembersCommand.d.ts +6 -3
  13. package/dist-types/commands/CreateGroupChannelCommand.d.ts +8 -3
  14. package/dist-types/commands/DeleteChannelCommand.d.ts +6 -5
  15. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +6 -3
  16. package/dist-types/commands/DeleteMessageCommand.d.ts +6 -3
  17. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +6 -3
  18. package/dist-types/commands/DescribeEventCommand.d.ts +24 -1
  19. package/dist-types/commands/GetChannelCommand.d.ts +8 -3
  20. package/dist-types/commands/GetChannelMemberCommand.d.ts +6 -3
  21. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +6 -3
  22. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +5 -2
  23. package/dist-types/commands/GetMessageCommand.d.ts +8 -3
  24. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +8 -3
  25. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +5 -2
  26. package/dist-types/commands/HideChannelCommand.d.ts +6 -3
  27. package/dist-types/commands/InviteCommand.d.ts +6 -3
  28. package/dist-types/commands/JoinChannelCommand.d.ts +8 -3
  29. package/dist-types/commands/LeaveChannelCommand.d.ts +6 -3
  30. package/dist-types/commands/ListChannelMembersCommand.d.ts +6 -3
  31. package/dist-types/commands/ListChannelsCommand.d.ts +8 -3
  32. package/dist-types/commands/ListMessageReactionsCommand.d.ts +6 -3
  33. package/dist-types/commands/ListMessagesCommand.d.ts +8 -3
  34. package/dist-types/commands/MarkReadCommand.d.ts +6 -3
  35. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +8 -3
  36. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +8 -3
  37. package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +5 -2
  38. package/dist-types/commands/SendGiphyCommand.d.ts +8 -3
  39. package/dist-types/commands/SendMessageCommand.d.ts +8 -3
  40. package/dist-types/commands/SendMessageReactionCommand.d.ts +6 -3
  41. package/dist-types/commands/SendTypingStartCommand.d.ts +6 -3
  42. package/dist-types/commands/SendTypingStopCommand.d.ts +6 -3
  43. package/dist-types/commands/ShowChannelCommand.d.ts +6 -3
  44. package/dist-types/commands/UpdateChannelCommand.d.ts +8 -3
  45. package/dist-types/commands/UpdateMessageCommand.d.ts +8 -3
  46. package/dist-types/commands/UploadFileCommand.d.ts +5 -2
  47. package/dist-types/commands/index.d.ts +0 -1
  48. package/dist-types/index.d.ts +2 -2
  49. package/dist-types/models/ConversationsServiceException.d.ts +2 -1
  50. package/dist-types/models/models_0.d.ts +478 -170
  51. package/dist-types/protocols/Aws_restJson1.d.ts +0 -9
  52. package/package.json +9 -9
  53. package/dist-cjs/commands/AssignChannelCommand.js +0 -21
  54. package/dist-es/commands/AssignChannelCommand.js +0 -17
  55. package/dist-types/commands/AssignChannelCommand.d.ts +0 -101
@@ -4,7 +4,6 @@ exports.Conversations = void 0;
4
4
  const ConversationsClient_1 = require("./ConversationsClient");
5
5
  const AddChannelMemberCommand_1 = require("./commands/AddChannelMemberCommand");
6
6
  const AddChannelMembersCommand_1 = require("./commands/AddChannelMembersCommand");
7
- const AssignChannelCommand_1 = require("./commands/AssignChannelCommand");
8
7
  const CreateGroupChannelCommand_1 = require("./commands/CreateGroupChannelCommand");
9
8
  const DeleteChannelCommand_1 = require("./commands/DeleteChannelCommand");
10
9
  const DeleteChannelMemberCommand_1 = require("./commands/DeleteChannelMemberCommand");
@@ -43,7 +42,6 @@ const smithy_client_1 = require("@smithy/smithy-client");
43
42
  const commands = {
44
43
  AddChannelMemberCommand: AddChannelMemberCommand_1.AddChannelMemberCommand,
45
44
  AddChannelMembersCommand: AddChannelMembersCommand_1.AddChannelMembersCommand,
46
- AssignChannelCommand: AssignChannelCommand_1.AssignChannelCommand,
47
45
  CreateGroupChannelCommand: CreateGroupChannelCommand_1.CreateGroupChannelCommand,
48
46
  DeleteChannelCommand: DeleteChannelCommand_1.DeleteChannelCommand,
49
47
  DeleteChannelMemberCommand: DeleteChannelMemberCommand_1.DeleteChannelMemberCommand,
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./AddChannelMemberCommand"), exports);
5
5
  tslib_1.__exportStar(require("./AddChannelMembersCommand"), exports);
6
- tslib_1.__exportStar(require("./AssignChannelCommand"), exports);
7
6
  tslib_1.__exportStar(require("./CreateGroupChannelCommand"), exports);
8
7
  tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
9
8
  tslib_1.__exportStar(require("./DeleteChannelMemberCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.FileNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ConversationFileCategory = exports.ChannelAlreadyExistException = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.AssignChannelServiceRequest = exports.AssignChannelAssigneeRequest = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.ForbiddenException = exports.ValidationException = void 0;
3
+ exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.FileNotFoundException = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ConversationFileCategory = exports.ChannelAlreadyExistException = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.LimitExceededException = exports.ForbiddenException = exports.ValidationException = void 0;
4
4
  const ConversationsServiceException_1 = require("./ConversationsServiceException");
5
5
  class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
6
6
  constructor(opts) {
@@ -28,6 +28,23 @@ class ForbiddenException extends ConversationsServiceException_1.ConversationsSe
28
28
  }
29
29
  }
30
30
  exports.ForbiddenException = ForbiddenException;
31
+ class LimitExceededException extends ConversationsServiceException_1.ConversationsServiceException {
32
+ constructor(opts) {
33
+ super({
34
+ name: "LimitExceededException",
35
+ $fault: "client",
36
+ ...opts
37
+ });
38
+ this.name = "LimitExceededException";
39
+ this.$fault = "client";
40
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
41
+ this.rateLimit = opts.rateLimit;
42
+ this.rateLimitRemaining = opts.rateLimitRemaining;
43
+ this.rateLimitReset = opts.rateLimitReset;
44
+ this.retryAfter = opts.retryAfter;
45
+ }
46
+ }
47
+ exports.LimitExceededException = LimitExceededException;
31
48
  exports.ChannelType = {
32
49
  DIRECT: "direct",
33
50
  GROUP: "group",
@@ -62,28 +79,6 @@ class MemberAlreadyExistException extends ConversationsServiceException_1.Conver
62
79
  }
63
80
  }
64
81
  exports.MemberAlreadyExistException = MemberAlreadyExistException;
65
- var AssignChannelAssigneeRequest;
66
- (function (AssignChannelAssigneeRequest) {
67
- AssignChannelAssigneeRequest.visit = (value, visitor) => {
68
- if (value.id !== undefined)
69
- return visitor.id(value.id);
70
- if (value.email !== undefined)
71
- return visitor.email(value.email);
72
- return visitor._(value.$unknown[0], value.$unknown[1]);
73
- };
74
- })(AssignChannelAssigneeRequest = exports.AssignChannelAssigneeRequest || (exports.AssignChannelAssigneeRequest = {}));
75
- var AssignChannelServiceRequest;
76
- (function (AssignChannelServiceRequest) {
77
- AssignChannelServiceRequest.visit = (value, visitor) => {
78
- if (value.uri !== undefined)
79
- return visitor.uri(value.uri);
80
- if (value.id !== undefined)
81
- return visitor.id(value.id);
82
- if (value.name !== undefined)
83
- return visitor.name(value.name);
84
- return visitor._(value.$unknown[0], value.$unknown[1]);
85
- };
86
- })(AssignChannelServiceRequest = exports.AssignChannelServiceRequest || (exports.AssignChannelServiceRequest = {}));
87
82
  exports.ChannelAccess = {
88
83
  PRIVATE: "private",
89
84
  PUBLIC: "public",
@@ -97,6 +92,9 @@ exports.ChannelContextEventAttendeeStatus = {
97
92
  exports.ChannelContextSource = {
98
93
  KITE: "kite",
99
94
  };
95
+ exports.ChannelWhatsAppStatus = {
96
+ CHANNEL_CLOSED: "24h_channel_closed",
97
+ };
100
98
  class ChannelAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
101
99
  constructor(opts) {
102
100
  super({
@@ -172,6 +170,12 @@ exports.MessageType = {
172
170
  REGULAR: "regular",
173
171
  SYSTEM: "system",
174
172
  };
173
+ exports.MessageWhatsAppStatus = {
174
+ DELIVERED: "delivered",
175
+ ERROR: "error",
176
+ SENT: "sent",
177
+ TRYING: "trying",
178
+ };
175
179
  class FileNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
176
180
  constructor(opts) {
177
181
  super({
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_DescribeEventCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateGroupChannelCommand = exports.de_AssignChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UploadFileCommand = exports.se_UpdateMessageCommand = exports.se_UpdateChannelCommand = exports.se_ShowChannelCommand = exports.se_SendTypingStopCommand = exports.se_SendTypingStartCommand = exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = exports.se_SendGiphyCommand = exports.se_ScheduleExternalFlagAdjustmentJobCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MarkReadCommand = exports.se_ListMessagesCommand = exports.se_ListMessageReactionsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_InviteCommand = exports.se_HideChannelCommand = exports.se_GetUploadedFileInfoCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetFilePresignedDownloadUrlCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_DescribeEventCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateGroupChannelCommand = exports.se_AssignChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
4
- exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkReadCommand = exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_HideChannelCommand = exports.de_GetUploadedFileInfoCommand = exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = void 0;
3
+ exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_DescribeEventCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateGroupChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UploadFileCommand = exports.se_UpdateMessageCommand = exports.se_UpdateChannelCommand = exports.se_ShowChannelCommand = exports.se_SendTypingStopCommand = exports.se_SendTypingStartCommand = exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = exports.se_SendGiphyCommand = exports.se_ScheduleExternalFlagAdjustmentJobCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MarkReadCommand = exports.se_ListMessagesCommand = exports.se_ListMessageReactionsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_InviteCommand = exports.se_HideChannelCommand = exports.se_GetUploadedFileInfoCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetFilePresignedDownloadUrlCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_DescribeEventCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateGroupChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
4
+ exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkReadCommand = exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_HideChannelCommand = exports.de_GetUploadedFileInfoCommand = void 0;
5
5
  const ConversationsServiceException_1 = require("../models/ConversationsServiceException");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const core_1 = require("@smithy/core");
@@ -52,30 +52,6 @@ const se_AddChannelMembersCommand = async (input, context) => {
52
52
  return b.build();
53
53
  };
54
54
  exports.se_AddChannelMembersCommand = se_AddChannelMembersCommand;
55
- const se_AssignChannelCommand = async (input, context) => {
56
- const b = (0, core_1.requestBuilder)(input, context);
57
- const headers = {
58
- 'content-type': 'application/json',
59
- };
60
- b.bp("/v2/conversations/channels/{channelId}/assign");
61
- b.p('channelId', () => input.channelId, '{channelId}', false);
62
- const query = (0, smithy_client_1.map)({
63
- [_u]: [, input[_uI]],
64
- });
65
- let body;
66
- body = JSON.stringify((0, smithy_client_1.take)(input, {
67
- 'assignee': _ => (0, smithy_client_1._json)(_),
68
- 'options': _ => (0, smithy_client_1._json)(_),
69
- 'service': _ => (0, smithy_client_1._json)(_),
70
- 'silent': [],
71
- }));
72
- b.m("POST")
73
- .h(headers)
74
- .q(query)
75
- .b(body);
76
- return b.build();
77
- };
78
- exports.se_AssignChannelCommand = se_AssignChannelCommand;
79
55
  const se_CreateGroupChannelCommand = async (input, context) => {
80
56
  const b = (0, core_1.requestBuilder)(input, context);
81
57
  const headers = {
@@ -732,22 +708,6 @@ const de_AddChannelMembersCommand = async (output, context) => {
732
708
  return contents;
733
709
  };
734
710
  exports.de_AddChannelMembersCommand = de_AddChannelMembersCommand;
735
- const de_AssignChannelCommand = async (output, context) => {
736
- if (output.statusCode !== 200 && output.statusCode >= 300) {
737
- return de_CommandError(output, context);
738
- }
739
- const contents = (0, smithy_client_1.map)({
740
- $metadata: deserializeMetadata(output),
741
- });
742
- const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
743
- const doc = (0, smithy_client_1.take)(data, {
744
- 'assignee': smithy_client_1._json,
745
- 'service': smithy_client_1._json,
746
- });
747
- Object.assign(contents, doc);
748
- return contents;
749
- };
750
- exports.de_AssignChannelCommand = de_AssignChannelCommand;
751
711
  const de_CreateGroupChannelCommand = async (output, context) => {
752
712
  if (output.statusCode !== 200 && output.statusCode >= 300) {
753
713
  return de_CommandError(output, context);
@@ -1234,6 +1194,9 @@ const de_CommandError = async (output, context) => {
1234
1194
  case "ForbiddenException":
1235
1195
  case "smithy.framework#ForbiddenException":
1236
1196
  throw await de_ForbiddenExceptionRes(parsedOutput, context);
1197
+ case "LimitExceededException":
1198
+ case "smithy.framework#LimitExceededException":
1199
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1237
1200
  case "MemberAlreadyExistException":
1238
1201
  case "wildix.xbees.conversations#MemberAlreadyExistException":
1239
1202
  throw await de_MemberAlreadyExistExceptionRes(parsedOutput, context);
@@ -1278,6 +1241,24 @@ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
1278
1241
  });
1279
1242
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1280
1243
  };
1244
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1245
+ const contents = (0, smithy_client_1.map)({
1246
+ [_rL]: [, parsedOutput.headers[_xrl]],
1247
+ [_rLR]: [() => void 0 !== parsedOutput.headers[_xrr], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_xrr])],
1248
+ [_rLRa]: [() => void 0 !== parsedOutput.headers[_xrr_], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_xrr_])],
1249
+ [_rA]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_ra])],
1250
+ });
1251
+ const data = parsedOutput.body;
1252
+ const doc = (0, smithy_client_1.take)(data, {
1253
+ 'message': smithy_client_1.expectString,
1254
+ });
1255
+ Object.assign(contents, doc);
1256
+ const exception = new models_0_1.LimitExceededException({
1257
+ $metadata: deserializeMetadata(parsedOutput),
1258
+ ...contents
1259
+ });
1260
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1261
+ };
1281
1262
  const de_ValidationExceptionRes = async (parsedOutput, context) => {
1282
1263
  const contents = (0, smithy_client_1.map)({});
1283
1264
  const data = parsedOutput.body;
@@ -1398,9 +1379,17 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1398
1379
  const _c = "category";
1399
1380
  const _l = "limit";
1400
1381
  const _o = "offset";
1382
+ const _rA = "retryAfter";
1383
+ const _rL = "rateLimit";
1384
+ const _rLR = "rateLimitRemaining";
1385
+ const _rLRa = "rateLimitReset";
1386
+ const _ra = "retry-after";
1401
1387
  const _s = "silent";
1402
1388
  const _u = "user";
1403
1389
  const _uI = "userId";
1390
+ const _xrl = "x-ratelimit-limit";
1391
+ const _xrr = "x-ratelimit-remaining";
1392
+ const _xrr_ = "x-ratelimit-reset";
1404
1393
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
1405
1394
  if (encoded.length) {
1406
1395
  return JSON.parse(encoded);
@@ -1,7 +1,6 @@
1
1
  import { ConversationsClient, } from "./ConversationsClient";
2
2
  import { AddChannelMemberCommand, } from "./commands/AddChannelMemberCommand";
3
3
  import { AddChannelMembersCommand, } from "./commands/AddChannelMembersCommand";
4
- import { AssignChannelCommand, } from "./commands/AssignChannelCommand";
5
4
  import { CreateGroupChannelCommand, } from "./commands/CreateGroupChannelCommand";
6
5
  import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
7
6
  import { DeleteChannelMemberCommand, } from "./commands/DeleteChannelMemberCommand";
@@ -40,7 +39,6 @@ import { createAggregatedClient } from "@smithy/smithy-client";
40
39
  const commands = {
41
40
  AddChannelMemberCommand,
42
41
  AddChannelMembersCommand,
43
- AssignChannelCommand,
44
42
  CreateGroupChannelCommand,
45
43
  DeleteChannelCommand,
46
44
  DeleteChannelMemberCommand,
@@ -1,6 +1,5 @@
1
1
  export * from "./AddChannelMemberCommand";
2
2
  export * from "./AddChannelMembersCommand";
3
- export * from "./AssignChannelCommand";
4
3
  export * from "./CreateGroupChannelCommand";
5
4
  export * from "./DeleteChannelCommand";
6
5
  export * from "./DeleteChannelMemberCommand";
@@ -23,6 +23,22 @@ export class ForbiddenException extends __BaseException {
23
23
  Object.setPrototypeOf(this, ForbiddenException.prototype);
24
24
  }
25
25
  }
26
+ export class LimitExceededException extends __BaseException {
27
+ constructor(opts) {
28
+ super({
29
+ name: "LimitExceededException",
30
+ $fault: "client",
31
+ ...opts
32
+ });
33
+ this.name = "LimitExceededException";
34
+ this.$fault = "client";
35
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
36
+ this.rateLimit = opts.rateLimit;
37
+ this.rateLimitRemaining = opts.rateLimitRemaining;
38
+ this.rateLimitReset = opts.rateLimitReset;
39
+ this.retryAfter = opts.retryAfter;
40
+ }
41
+ }
26
42
  export const ChannelType = {
27
43
  DIRECT: "direct",
28
44
  GROUP: "group",
@@ -55,28 +71,6 @@ export class MemberAlreadyExistException extends __BaseException {
55
71
  Object.setPrototypeOf(this, MemberAlreadyExistException.prototype);
56
72
  }
57
73
  }
58
- export var AssignChannelAssigneeRequest;
59
- (function (AssignChannelAssigneeRequest) {
60
- AssignChannelAssigneeRequest.visit = (value, visitor) => {
61
- if (value.id !== undefined)
62
- return visitor.id(value.id);
63
- if (value.email !== undefined)
64
- return visitor.email(value.email);
65
- return visitor._(value.$unknown[0], value.$unknown[1]);
66
- };
67
- })(AssignChannelAssigneeRequest || (AssignChannelAssigneeRequest = {}));
68
- export var AssignChannelServiceRequest;
69
- (function (AssignChannelServiceRequest) {
70
- AssignChannelServiceRequest.visit = (value, visitor) => {
71
- if (value.uri !== undefined)
72
- return visitor.uri(value.uri);
73
- if (value.id !== undefined)
74
- return visitor.id(value.id);
75
- if (value.name !== undefined)
76
- return visitor.name(value.name);
77
- return visitor._(value.$unknown[0], value.$unknown[1]);
78
- };
79
- })(AssignChannelServiceRequest || (AssignChannelServiceRequest = {}));
80
74
  export const ChannelAccess = {
81
75
  PRIVATE: "private",
82
76
  PUBLIC: "public",
@@ -90,6 +84,9 @@ export const ChannelContextEventAttendeeStatus = {
90
84
  export const ChannelContextSource = {
91
85
  KITE: "kite",
92
86
  };
87
+ export const ChannelWhatsAppStatus = {
88
+ CHANNEL_CLOSED: "24h_channel_closed",
89
+ };
93
90
  export class ChannelAlreadyExistException extends __BaseException {
94
91
  constructor(opts) {
95
92
  super({
@@ -162,6 +159,12 @@ export const MessageType = {
162
159
  REGULAR: "regular",
163
160
  SYSTEM: "system",
164
161
  };
162
+ export const MessageWhatsAppStatus = {
163
+ DELIVERED: "delivered",
164
+ ERROR: "error",
165
+ SENT: "sent",
166
+ TRYING: "trying",
167
+ };
165
168
  export class FileNotFoundException extends __BaseException {
166
169
  constructor(opts) {
167
170
  super({
@@ -1,7 +1,7 @@
1
1
  import { ConversationsServiceException as __BaseException } from "../models/ConversationsServiceException";
2
- import { ChannelAlreadyExistException, ChannelNotFoundException, ConversationsServiceException, FileNotFoundException, ForbiddenException, MemberAlreadyExistException, MemberNotFoundException, MessageNotFoundException, ValidationException, } from "../models/models_0";
2
+ import { ChannelAlreadyExistException, ChannelNotFoundException, ConversationsServiceException, FileNotFoundException, ForbiddenException, LimitExceededException, MemberAlreadyExistException, MemberNotFoundException, MessageNotFoundException, ValidationException, } from "../models/models_0";
3
3
  import { requestBuilder as rb } from "@smithy/core";
4
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
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) => {
6
6
  const b = rb(input, context);
7
7
  const headers = {
@@ -46,29 +46,6 @@ export const se_AddChannelMembersCommand = async (input, context) => {
46
46
  .b(body);
47
47
  return b.build();
48
48
  };
49
- export const se_AssignChannelCommand = async (input, context) => {
50
- const b = rb(input, context);
51
- const headers = {
52
- 'content-type': 'application/json',
53
- };
54
- b.bp("/v2/conversations/channels/{channelId}/assign");
55
- b.p('channelId', () => input.channelId, '{channelId}', false);
56
- const query = map({
57
- [_u]: [, input[_uI]],
58
- });
59
- let body;
60
- body = JSON.stringify(take(input, {
61
- 'assignee': _ => _json(_),
62
- 'options': _ => _json(_),
63
- 'service': _ => _json(_),
64
- 'silent': [],
65
- }));
66
- b.m("POST")
67
- .h(headers)
68
- .q(query)
69
- .b(body);
70
- return b.build();
71
- };
72
49
  export const se_CreateGroupChannelCommand = async (input, context) => {
73
50
  const b = rb(input, context);
74
51
  const headers = {
@@ -689,21 +666,6 @@ export const de_AddChannelMembersCommand = async (output, context) => {
689
666
  Object.assign(contents, doc);
690
667
  return contents;
691
668
  };
692
- export const de_AssignChannelCommand = async (output, context) => {
693
- if (output.statusCode !== 200 && output.statusCode >= 300) {
694
- return de_CommandError(output, context);
695
- }
696
- const contents = map({
697
- $metadata: deserializeMetadata(output),
698
- });
699
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
700
- const doc = take(data, {
701
- 'assignee': _json,
702
- 'service': _json,
703
- });
704
- Object.assign(contents, doc);
705
- return contents;
706
- };
707
669
  export const de_CreateGroupChannelCommand = async (output, context) => {
708
670
  if (output.statusCode !== 200 && output.statusCode >= 300) {
709
671
  return de_CommandError(output, context);
@@ -1156,6 +1118,9 @@ const de_CommandError = async (output, context) => {
1156
1118
  case "ForbiddenException":
1157
1119
  case "smithy.framework#ForbiddenException":
1158
1120
  throw await de_ForbiddenExceptionRes(parsedOutput, context);
1121
+ case "LimitExceededException":
1122
+ case "smithy.framework#LimitExceededException":
1123
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1159
1124
  case "MemberAlreadyExistException":
1160
1125
  case "wildix.xbees.conversations#MemberAlreadyExistException":
1161
1126
  throw await de_MemberAlreadyExistExceptionRes(parsedOutput, context);
@@ -1200,6 +1165,24 @@ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
1200
1165
  });
1201
1166
  return __decorateServiceException(exception, parsedOutput.body);
1202
1167
  };
1168
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1169
+ const contents = map({
1170
+ [_rL]: [, parsedOutput.headers[_xrl]],
1171
+ [_rLR]: [() => void 0 !== parsedOutput.headers[_xrr], () => __strictParseInt32(parsedOutput.headers[_xrr])],
1172
+ [_rLRa]: [() => void 0 !== parsedOutput.headers[_xrr_], () => __strictParseInt32(parsedOutput.headers[_xrr_])],
1173
+ [_rA]: [() => void 0 !== parsedOutput.headers[_ra], () => __strictParseInt32(parsedOutput.headers[_ra])],
1174
+ });
1175
+ const data = parsedOutput.body;
1176
+ const doc = take(data, {
1177
+ 'message': __expectString,
1178
+ });
1179
+ Object.assign(contents, doc);
1180
+ const exception = new LimitExceededException({
1181
+ $metadata: deserializeMetadata(parsedOutput),
1182
+ ...contents
1183
+ });
1184
+ return __decorateServiceException(exception, parsedOutput.body);
1185
+ };
1203
1186
  const de_ValidationExceptionRes = async (parsedOutput, context) => {
1204
1187
  const contents = map({});
1205
1188
  const data = parsedOutput.body;
@@ -1320,9 +1303,17 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1320
1303
  const _c = "category";
1321
1304
  const _l = "limit";
1322
1305
  const _o = "offset";
1306
+ const _rA = "retryAfter";
1307
+ const _rL = "rateLimit";
1308
+ const _rLR = "rateLimitRemaining";
1309
+ const _rLRa = "rateLimitReset";
1310
+ const _ra = "retry-after";
1323
1311
  const _s = "silent";
1324
1312
  const _u = "user";
1325
1313
  const _uI = "userId";
1314
+ const _xrl = "x-ratelimit-limit";
1315
+ const _xrr = "x-ratelimit-remaining";
1316
+ const _xrr_ = "x-ratelimit-reset";
1326
1317
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
1327
1318
  if (encoded.length) {
1328
1319
  return JSON.parse(encoded);
@@ -1,7 +1,6 @@
1
1
  import { ConversationsClient } from "./ConversationsClient";
2
2
  import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./commands/AddChannelMemberCommand";
3
3
  import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
4
- import { AssignChannelCommandInput, AssignChannelCommandOutput } from "./commands/AssignChannelCommand";
5
4
  import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
6
5
  import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
7
6
  import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
@@ -50,12 +49,6 @@ export interface Conversations {
50
49
  addChannelMembers(args: AddChannelMembersCommandInput, options?: __HttpHandlerOptions): Promise<AddChannelMembersCommandOutput>;
51
50
  addChannelMembers(args: AddChannelMembersCommandInput, cb: (err: any, data?: AddChannelMembersCommandOutput) => void): void;
52
51
  addChannelMembers(args: AddChannelMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddChannelMembersCommandOutput) => void): void;
53
- /**
54
- * @see {@link AssignChannelCommand}
55
- */
56
- assignChannel(args: AssignChannelCommandInput, options?: __HttpHandlerOptions): Promise<AssignChannelCommandOutput>;
57
- assignChannel(args: AssignChannelCommandInput, cb: (err: any, data?: AssignChannelCommandOutput) => void): void;
58
- assignChannel(args: AssignChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssignChannelCommandOutput) => void): void;
59
52
  /**
60
53
  * @see {@link CreateGroupChannelCommand}
61
54
  */
@@ -1,6 +1,5 @@
1
1
  import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./commands/AddChannelMemberCommand";
2
2
  import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
3
- import { AssignChannelCommandInput, AssignChannelCommandOutput } from "./commands/AssignChannelCommand";
4
3
  import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
5
4
  import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
6
5
  import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
@@ -45,11 +44,11 @@ export { __Client };
45
44
  /**
46
45
  * @public
47
46
  */
48
- export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
47
+ export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
49
48
  /**
50
49
  * @public
51
50
  */
52
- export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
51
+ export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
53
52
  /**
54
53
  * @public
55
54
  */
@@ -5,7 +5,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -26,8 +27,7 @@ declare const AddChannelMemberCommand_base: {
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
- *
30
+ * Adds a single member to an existing channel. This operation will either add an existing user or invite a new user to the channel. This operation is idempotent, meaning that if the member already exists, the operation will still return a successful response.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -90,9 +90,12 @@ declare const AddChannelMemberCommand_base: {
90
90
  *
91
91
  * @throws {@link ForbiddenException} (client fault)
92
92
  *
93
+ * @throws {@link LimitExceededException} (client fault)
94
+ *
93
95
  * @throws {@link ConversationsServiceException}
94
96
  * <p>Base exception class for all service exceptions from Conversations service.</p>
95
97
  *
98
+ * @public
96
99
  */
97
100
  export declare class AddChannelMemberCommand extends AddChannelMemberCommand_base {
98
101
  }
@@ -5,7 +5,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -26,8 +27,7 @@ declare const AddChannelMembersCommand_base: {
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
- *
30
+ * Adds members to an existing channel. This operation is idempotent, meaning that if a member already exists in the channel, the operation will still return a successful response.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -98,9 +98,12 @@ declare const AddChannelMembersCommand_base: {
98
98
  *
99
99
  * @throws {@link ForbiddenException} (client fault)
100
100
  *
101
+ * @throws {@link LimitExceededException} (client fault)
102
+ *
101
103
  * @throws {@link ConversationsServiceException}
102
104
  * <p>Base exception class for all service exceptions from Conversations service.</p>
103
105
  *
106
+ * @public
104
107
  */
105
108
  export declare class AddChannelMembersCommand extends AddChannelMembersCommand_base {
106
109
  }
@@ -5,7 +5,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -26,8 +27,7 @@ declare const CreateGroupChannelCommand_base: {
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
- *
30
+ * Creates a new group channel with specified members and members to invite.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -115,6 +115,8 @@ declare const CreateGroupChannelCommand_base: {
115
115
  * // telephony: true || false,
116
116
  * // sms: true || false,
117
117
  * // mms: true || false,
118
+ * // whatsapp: true || false,
119
+ * // whatsappStatus: "24h_channel_closed",
118
120
  * // broadcast: true || false,
119
121
  * // external: true || false,
120
122
  * // channelId: "STRING_VALUE", // required
@@ -140,9 +142,12 @@ declare const CreateGroupChannelCommand_base: {
140
142
  *
141
143
  * @throws {@link ForbiddenException} (client fault)
142
144
  *
145
+ * @throws {@link LimitExceededException} (client fault)
146
+ *
143
147
  * @throws {@link ConversationsServiceException}
144
148
  * <p>Base exception class for all service exceptions from Conversations service.</p>
145
149
  *
150
+ * @public
146
151
  */
147
152
  export declare class CreateGroupChannelCommand extends CreateGroupChannelCommand_base {
148
153
  }
@@ -5,7 +5,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -26,8 +27,7 @@ declare const DeleteChannelCommand_base: {
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
- *
30
+ * Deletes an existing channel. This operation is idempotent, meaning that if the channel does not exist, the operation will still return a successful response.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -49,15 +49,16 @@ declare const DeleteChannelCommand_base: {
49
49
  * @see {@link DeleteChannelCommandOutput} for command's `response` shape.
50
50
  * @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
51
51
  *
52
- * @throws {@link ChannelNotFoundException} (client fault)
53
- *
54
52
  * @throws {@link ValidationException} (client fault)
55
53
  *
56
54
  * @throws {@link ForbiddenException} (client fault)
57
55
  *
56
+ * @throws {@link LimitExceededException} (client fault)
57
+ *
58
58
  * @throws {@link ConversationsServiceException}
59
59
  * <p>Base exception class for all service exceptions from Conversations service.</p>
60
60
  *
61
+ * @public
61
62
  */
62
63
  export declare class DeleteChannelCommand extends DeleteChannelCommand_base {
63
64
  }