@wildix/xbees-conversations-client 1.0.55 → 1.0.57

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 (47) hide show
  1. package/dist-cjs/Conversations.js +22 -0
  2. package/dist-cjs/commands/CreateInboxTagCommand.js +21 -0
  3. package/dist-cjs/commands/DeleteInboxTagCommand.js +21 -0
  4. package/dist-cjs/commands/GetInboxStateCommand.js +21 -0
  5. package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +21 -0
  6. package/dist-cjs/commands/ListInboxTagsCommand.js +21 -0
  7. package/dist-cjs/commands/MarkUnreadCommand.js +21 -0
  8. package/dist-cjs/commands/PinChannelCommand.js +21 -0
  9. package/dist-cjs/commands/TagChannelCommand.js +21 -0
  10. package/dist-cjs/commands/UnpinChannelCommand.js +21 -0
  11. package/dist-cjs/commands/UntagChannelCommand.js +21 -0
  12. package/dist-cjs/commands/UpdateInboxTagCommand.js +21 -0
  13. package/dist-cjs/commands/index.js +11 -0
  14. package/dist-cjs/models/models_0.js +66 -1
  15. package/dist-cjs/protocols/Aws_restJson1.js +423 -2
  16. package/dist-es/Conversations.js +22 -0
  17. package/dist-es/commands/CreateInboxTagCommand.js +17 -0
  18. package/dist-es/commands/DeleteInboxTagCommand.js +17 -0
  19. package/dist-es/commands/GetInboxStateCommand.js +17 -0
  20. package/dist-es/commands/ListInboxTaggedChannelsCommand.js +17 -0
  21. package/dist-es/commands/ListInboxTagsCommand.js +17 -0
  22. package/dist-es/commands/MarkUnreadCommand.js +17 -0
  23. package/dist-es/commands/PinChannelCommand.js +17 -0
  24. package/dist-es/commands/TagChannelCommand.js +17 -0
  25. package/dist-es/commands/UnpinChannelCommand.js +17 -0
  26. package/dist-es/commands/UntagChannelCommand.js +17 -0
  27. package/dist-es/commands/UpdateInboxTagCommand.js +17 -0
  28. package/dist-es/commands/index.js +11 -0
  29. package/dist-es/models/models_0.js +60 -0
  30. package/dist-es/protocols/Aws_restJson1.js +400 -1
  31. package/dist-types/Conversations.d.ts +79 -0
  32. package/dist-types/ConversationsClient.d.ts +13 -2
  33. package/dist-types/commands/CreateInboxTagCommand.d.ts +73 -0
  34. package/dist-types/commands/DeleteInboxTagCommand.d.ts +65 -0
  35. package/dist-types/commands/GetInboxStateCommand.d.ts +92 -0
  36. package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +74 -0
  37. package/dist-types/commands/ListInboxTagsCommand.d.ts +71 -0
  38. package/dist-types/commands/MarkUnreadCommand.d.ts +76 -0
  39. package/dist-types/commands/PinChannelCommand.d.ts +75 -0
  40. package/dist-types/commands/TagChannelCommand.d.ts +76 -0
  41. package/dist-types/commands/UnpinChannelCommand.d.ts +67 -0
  42. package/dist-types/commands/UntagChannelCommand.d.ts +68 -0
  43. package/dist-types/commands/UpdateInboxTagCommand.d.ts +73 -0
  44. package/dist-types/commands/index.d.ts +11 -0
  45. package/dist-types/models/models_0.d.ts +352 -0
  46. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  47. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ import { de_CreateInboxTagCommand, se_CreateInboxTagCommand, } 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 CreateInboxTagCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "CreateInboxTag", {})
12
+ .n("ConversationsClient", "CreateInboxTagCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_CreateInboxTagCommand)
15
+ .de(de_CreateInboxTagCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_DeleteInboxTagCommand, se_DeleteInboxTagCommand, } 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 DeleteInboxTagCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "DeleteInboxTag", {})
12
+ .n("ConversationsClient", "DeleteInboxTagCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_DeleteInboxTagCommand)
15
+ .de(de_DeleteInboxTagCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_GetInboxStateCommand, se_GetInboxStateCommand, } 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 GetInboxStateCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "GetInboxState", {})
12
+ .n("ConversationsClient", "GetInboxStateCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetInboxStateCommand)
15
+ .de(de_GetInboxStateCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_ListInboxTaggedChannelsCommand, se_ListInboxTaggedChannelsCommand, } 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 ListInboxTaggedChannelsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "ListInboxTaggedChannels", {})
12
+ .n("ConversationsClient", "ListInboxTaggedChannelsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_ListInboxTaggedChannelsCommand)
15
+ .de(de_ListInboxTaggedChannelsCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_ListInboxTagsCommand, se_ListInboxTagsCommand, } 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 ListInboxTagsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "ListInboxTags", {})
12
+ .n("ConversationsClient", "ListInboxTagsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_ListInboxTagsCommand)
15
+ .de(de_ListInboxTagsCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_MarkUnreadCommand, se_MarkUnreadCommand, } 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 MarkUnreadCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "MarkUnread", {})
12
+ .n("ConversationsClient", "MarkUnreadCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_MarkUnreadCommand)
15
+ .de(de_MarkUnreadCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_PinChannelCommand, se_PinChannelCommand, } 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 PinChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "PinChannel", {})
12
+ .n("ConversationsClient", "PinChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_PinChannelCommand)
15
+ .de(de_PinChannelCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_TagChannelCommand, se_TagChannelCommand, } 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 TagChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "TagChannel", {})
12
+ .n("ConversationsClient", "TagChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_TagChannelCommand)
15
+ .de(de_TagChannelCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_UnpinChannelCommand, se_UnpinChannelCommand, } 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 UnpinChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "UnpinChannel", {})
12
+ .n("ConversationsClient", "UnpinChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_UnpinChannelCommand)
15
+ .de(de_UnpinChannelCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_UntagChannelCommand, se_UntagChannelCommand, } 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 UntagChannelCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "UntagChannel", {})
12
+ .n("ConversationsClient", "UntagChannelCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_UntagChannelCommand)
15
+ .de(de_UntagChannelCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_UpdateInboxTagCommand, se_UpdateInboxTagCommand, } 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 UpdateInboxTagCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Conversations", "UpdateInboxTag", {})
12
+ .n("ConversationsClient", "UpdateInboxTagCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_UpdateInboxTagCommand)
15
+ .de(de_UpdateInboxTagCommand)
16
+ .build() {
17
+ }
@@ -1,8 +1,10 @@
1
1
  export * from "./AddChannelMemberCommand";
2
2
  export * from "./AddChannelMembersCommand";
3
3
  export * from "./CreateGroupChannelCommand";
4
+ export * from "./CreateInboxTagCommand";
4
5
  export * from "./DeleteChannelCommand";
5
6
  export * from "./DeleteChannelMemberCommand";
7
+ export * from "./DeleteInboxTagCommand";
6
8
  export * from "./DeleteMessageCommand";
7
9
  export * from "./DeleteMessageReactionCommand";
8
10
  export * from "./DescribeEventCommand";
@@ -10,6 +12,7 @@ export * from "./GetChannelCommand";
10
12
  export * from "./GetChannelMemberCommand";
11
13
  export * from "./GetDirectChannelIdCommand";
12
14
  export * from "./GetFilePresignedDownloadUrlCommand";
15
+ export * from "./GetInboxStateCommand";
13
16
  export * from "./GetMessageCommand";
14
17
  export * from "./GetOrCreateDirectChannelCommand";
15
18
  export * from "./GetUploadedFileInfoCommand";
@@ -19,11 +22,15 @@ export * from "./JoinChannelCommand";
19
22
  export * from "./LeaveChannelCommand";
20
23
  export * from "./ListChannelMembersCommand";
21
24
  export * from "./ListChannelsCommand";
25
+ export * from "./ListInboxTaggedChannelsCommand";
26
+ export * from "./ListInboxTagsCommand";
22
27
  export * from "./ListMessageReactionsCommand";
23
28
  export * from "./ListMessagesCommand";
24
29
  export * from "./MarkReadCommand";
30
+ export * from "./MarkUnreadCommand";
25
31
  export * from "./PartialUpdateChannelCommand";
26
32
  export * from "./PartialUpdateMessageCommand";
33
+ export * from "./PinChannelCommand";
27
34
  export * from "./ScheduleExternalFlagAdjustmentJobCommand";
28
35
  export * from "./SendGiphyCommand";
29
36
  export * from "./SendMessageCommand";
@@ -31,6 +38,10 @@ export * from "./SendMessageReactionCommand";
31
38
  export * from "./SendTypingStartCommand";
32
39
  export * from "./SendTypingStopCommand";
33
40
  export * from "./ShowChannelCommand";
41
+ export * from "./TagChannelCommand";
42
+ export * from "./UnpinChannelCommand";
43
+ export * from "./UntagChannelCommand";
34
44
  export * from "./UpdateChannelCommand";
45
+ export * from "./UpdateInboxTagCommand";
35
46
  export * from "./UpdateMessageCommand";
36
47
  export * from "./UploadFileCommand";
@@ -103,6 +103,18 @@ export const ConversationFileCategory = {
103
103
  GENERAL: "channels",
104
104
  RECORDING: "recordings",
105
105
  };
106
+ export class TagsLimitReachedException extends __BaseException {
107
+ constructor(opts) {
108
+ super({
109
+ name: "TagsLimitReachedException",
110
+ $fault: "client",
111
+ ...opts
112
+ });
113
+ this.name = "TagsLimitReachedException";
114
+ this.$fault = "client";
115
+ Object.setPrototypeOf(this, TagsLimitReachedException.prototype);
116
+ }
117
+ }
106
118
  export class MemberNotFoundException extends __BaseException {
107
119
  constructor(opts) {
108
120
  super({
@@ -177,6 +189,30 @@ export class FileNotFoundException extends __BaseException {
177
189
  Object.setPrototypeOf(this, FileNotFoundException.prototype);
178
190
  }
179
191
  }
192
+ export class TagNotFoundException extends __BaseException {
193
+ constructor(opts) {
194
+ super({
195
+ name: "TagNotFoundException",
196
+ $fault: "client",
197
+ ...opts
198
+ });
199
+ this.name = "TagNotFoundException";
200
+ this.$fault = "client";
201
+ Object.setPrototypeOf(this, TagNotFoundException.prototype);
202
+ }
203
+ }
204
+ export class MarkUnreadChannelsLimitReachedException extends __BaseException {
205
+ constructor(opts) {
206
+ super({
207
+ name: "MarkUnreadChannelsLimitReachedException",
208
+ $fault: "client",
209
+ ...opts
210
+ });
211
+ this.name = "MarkUnreadChannelsLimitReachedException";
212
+ this.$fault = "client";
213
+ Object.setPrototypeOf(this, MarkUnreadChannelsLimitReachedException.prototype);
214
+ }
215
+ }
180
216
  export const GroupChannelUnsetOptions = {
181
217
  ACCESS: "access",
182
218
  BROADCAST: "broadcast",
@@ -191,6 +227,18 @@ export const MessageUnsetFields = {
191
227
  QUOTE: "quote",
192
228
  TEXT: "text",
193
229
  };
230
+ export class PinnedChannelsLimitReachedException extends __BaseException {
231
+ constructor(opts) {
232
+ super({
233
+ name: "PinnedChannelsLimitReachedException",
234
+ $fault: "client",
235
+ ...opts
236
+ });
237
+ this.name = "PinnedChannelsLimitReachedException";
238
+ this.$fault = "client";
239
+ Object.setPrototypeOf(this, PinnedChannelsLimitReachedException.prototype);
240
+ }
241
+ }
194
242
  export class ConversationsServiceException extends __BaseException {
195
243
  constructor(opts) {
196
244
  super({
@@ -203,3 +251,15 @@ export class ConversationsServiceException extends __BaseException {
203
251
  Object.setPrototypeOf(this, ConversationsServiceException.prototype);
204
252
  }
205
253
  }
254
+ export class TaggedChannelsLimitReachedException extends __BaseException {
255
+ constructor(opts) {
256
+ super({
257
+ name: "TaggedChannelsLimitReachedException",
258
+ $fault: "client",
259
+ ...opts
260
+ });
261
+ this.name = "TaggedChannelsLimitReachedException";
262
+ this.$fault = "client";
263
+ Object.setPrototypeOf(this, TaggedChannelsLimitReachedException.prototype);
264
+ }
265
+ }