@wildix/xbees-conversations-client 1.0.56 → 1.0.58

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 (56) hide show
  1. package/dist-cjs/Conversations.js +22 -2
  2. package/dist-cjs/commands/{CreateKiteChannelCommand.js → CreateInboxTagCommand.js} +7 -7
  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 -1
  14. package/dist-cjs/models/models_0.js +74 -39
  15. package/dist-cjs/protocols/Aws_restJson1.js +373 -26
  16. package/dist-es/Conversations.js +22 -2
  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 -1
  29. package/dist-es/models/models_0.js +68 -36
  30. package/dist-es/protocols/Aws_restJson1.js +350 -23
  31. package/dist-types/Conversations.d.ts +77 -5
  32. package/dist-types/ConversationsClient.d.ts +13 -3
  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/DescribeEventCommand.d.ts +0 -30
  36. package/dist-types/commands/GetInboxStateCommand.d.ts +92 -0
  37. package/dist-types/commands/GetMessageCommand.d.ts +0 -6
  38. package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +74 -0
  39. package/dist-types/commands/ListInboxTagsCommand.d.ts +71 -0
  40. package/dist-types/commands/ListMessagesCommand.d.ts +0 -6
  41. package/dist-types/commands/MarkUnreadCommand.d.ts +76 -0
  42. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +0 -12
  43. package/dist-types/commands/PinChannelCommand.d.ts +75 -0
  44. package/dist-types/commands/SendGiphyCommand.d.ts +0 -6
  45. package/dist-types/commands/SendMessageCommand.d.ts +0 -12
  46. package/dist-types/commands/TagChannelCommand.d.ts +76 -0
  47. package/dist-types/commands/UnpinChannelCommand.d.ts +67 -0
  48. package/dist-types/commands/UntagChannelCommand.d.ts +68 -0
  49. package/dist-types/commands/UpdateInboxTagCommand.d.ts +73 -0
  50. package/dist-types/commands/UpdateMessageCommand.d.ts +0 -12
  51. package/dist-types/commands/index.d.ts +11 -1
  52. package/dist-types/models/models_0.d.ts +412 -217
  53. package/dist-types/protocols/Aws_restJson1.d.ts +95 -5
  54. package/package.json +4 -3
  55. package/dist-es/commands/CreateKiteChannelCommand.js +0 -17
  56. package/dist-types/commands/CreateKiteChannelCommand.d.ts +0 -300
@@ -2,9 +2,10 @@ import { ConversationsClient, } from "./ConversationsClient";
2
2
  import { AddChannelMemberCommand, } from "./commands/AddChannelMemberCommand";
3
3
  import { AddChannelMembersCommand, } from "./commands/AddChannelMembersCommand";
4
4
  import { CreateGroupChannelCommand, } from "./commands/CreateGroupChannelCommand";
5
- import { CreateKiteChannelCommand, } from "./commands/CreateKiteChannelCommand";
5
+ import { CreateInboxTagCommand, } from "./commands/CreateInboxTagCommand";
6
6
  import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
7
7
  import { DeleteChannelMemberCommand, } from "./commands/DeleteChannelMemberCommand";
8
+ import { DeleteInboxTagCommand, } from "./commands/DeleteInboxTagCommand";
8
9
  import { DeleteMessageCommand, } from "./commands/DeleteMessageCommand";
9
10
  import { DeleteMessageReactionCommand, } from "./commands/DeleteMessageReactionCommand";
10
11
  import { DescribeEventCommand, } from "./commands/DescribeEventCommand";
@@ -12,6 +13,7 @@ import { GetChannelCommand, } from "./commands/GetChannelCommand";
12
13
  import { GetChannelMemberCommand, } from "./commands/GetChannelMemberCommand";
13
14
  import { GetDirectChannelIdCommand, } from "./commands/GetDirectChannelIdCommand";
14
15
  import { GetFilePresignedDownloadUrlCommand, } from "./commands/GetFilePresignedDownloadUrlCommand";
16
+ import { GetInboxStateCommand, } from "./commands/GetInboxStateCommand";
15
17
  import { GetMessageCommand, } from "./commands/GetMessageCommand";
16
18
  import { GetOrCreateDirectChannelCommand, } from "./commands/GetOrCreateDirectChannelCommand";
17
19
  import { GetUploadedFileInfoCommand, } from "./commands/GetUploadedFileInfoCommand";
@@ -21,11 +23,15 @@ import { JoinChannelCommand, } from "./commands/JoinChannelCommand";
21
23
  import { LeaveChannelCommand, } from "./commands/LeaveChannelCommand";
22
24
  import { ListChannelMembersCommand, } from "./commands/ListChannelMembersCommand";
23
25
  import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
26
+ import { ListInboxTaggedChannelsCommand, } from "./commands/ListInboxTaggedChannelsCommand";
27
+ import { ListInboxTagsCommand, } from "./commands/ListInboxTagsCommand";
24
28
  import { ListMessageReactionsCommand, } from "./commands/ListMessageReactionsCommand";
25
29
  import { ListMessagesCommand, } from "./commands/ListMessagesCommand";
26
30
  import { MarkReadCommand, } from "./commands/MarkReadCommand";
31
+ import { MarkUnreadCommand, } from "./commands/MarkUnreadCommand";
27
32
  import { PartialUpdateChannelCommand, } from "./commands/PartialUpdateChannelCommand";
28
33
  import { PartialUpdateMessageCommand, } from "./commands/PartialUpdateMessageCommand";
34
+ import { PinChannelCommand, } from "./commands/PinChannelCommand";
29
35
  import { ScheduleExternalFlagAdjustmentJobCommand, } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
30
36
  import { SendGiphyCommand, } from "./commands/SendGiphyCommand";
31
37
  import { SendMessageCommand, } from "./commands/SendMessageCommand";
@@ -33,7 +39,11 @@ import { SendMessageReactionCommand, } from "./commands/SendMessageReactionComma
33
39
  import { SendTypingStartCommand, } from "./commands/SendTypingStartCommand";
34
40
  import { SendTypingStopCommand, } from "./commands/SendTypingStopCommand";
35
41
  import { ShowChannelCommand, } from "./commands/ShowChannelCommand";
42
+ import { TagChannelCommand, } from "./commands/TagChannelCommand";
43
+ import { UnpinChannelCommand, } from "./commands/UnpinChannelCommand";
44
+ import { UntagChannelCommand, } from "./commands/UntagChannelCommand";
36
45
  import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
46
+ import { UpdateInboxTagCommand, } from "./commands/UpdateInboxTagCommand";
37
47
  import { UpdateMessageCommand, } from "./commands/UpdateMessageCommand";
38
48
  import { UploadFileCommand, } from "./commands/UploadFileCommand";
39
49
  import { createAggregatedClient } from "@smithy/smithy-client";
@@ -41,9 +51,10 @@ const commands = {
41
51
  AddChannelMemberCommand,
42
52
  AddChannelMembersCommand,
43
53
  CreateGroupChannelCommand,
44
- CreateKiteChannelCommand,
54
+ CreateInboxTagCommand,
45
55
  DeleteChannelCommand,
46
56
  DeleteChannelMemberCommand,
57
+ DeleteInboxTagCommand,
47
58
  DeleteMessageCommand,
48
59
  DeleteMessageReactionCommand,
49
60
  DescribeEventCommand,
@@ -51,6 +62,7 @@ const commands = {
51
62
  GetChannelMemberCommand,
52
63
  GetDirectChannelIdCommand,
53
64
  GetFilePresignedDownloadUrlCommand,
65
+ GetInboxStateCommand,
54
66
  GetMessageCommand,
55
67
  GetOrCreateDirectChannelCommand,
56
68
  GetUploadedFileInfoCommand,
@@ -60,11 +72,15 @@ const commands = {
60
72
  LeaveChannelCommand,
61
73
  ListChannelMembersCommand,
62
74
  ListChannelsCommand,
75
+ ListInboxTaggedChannelsCommand,
76
+ ListInboxTagsCommand,
63
77
  ListMessageReactionsCommand,
64
78
  ListMessagesCommand,
65
79
  MarkReadCommand,
80
+ MarkUnreadCommand,
66
81
  PartialUpdateChannelCommand,
67
82
  PartialUpdateMessageCommand,
83
+ PinChannelCommand,
68
84
  ScheduleExternalFlagAdjustmentJobCommand,
69
85
  SendGiphyCommand,
70
86
  SendMessageCommand,
@@ -72,7 +88,11 @@ const commands = {
72
88
  SendTypingStartCommand,
73
89
  SendTypingStopCommand,
74
90
  ShowChannelCommand,
91
+ TagChannelCommand,
92
+ UnpinChannelCommand,
93
+ UntagChannelCommand,
75
94
  UpdateChannelCommand,
95
+ UpdateInboxTagCommand,
76
96
  UpdateMessageCommand,
77
97
  UploadFileCommand,
78
98
  };
@@ -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,9 +1,10 @@
1
1
  export * from "./AddChannelMemberCommand";
2
2
  export * from "./AddChannelMembersCommand";
3
3
  export * from "./CreateGroupChannelCommand";
4
- export * from "./CreateKiteChannelCommand";
4
+ export * from "./CreateInboxTagCommand";
5
5
  export * from "./DeleteChannelCommand";
6
6
  export * from "./DeleteChannelMemberCommand";
7
+ export * from "./DeleteInboxTagCommand";
7
8
  export * from "./DeleteMessageCommand";
8
9
  export * from "./DeleteMessageReactionCommand";
9
10
  export * from "./DescribeEventCommand";
@@ -11,6 +12,7 @@ export * from "./GetChannelCommand";
11
12
  export * from "./GetChannelMemberCommand";
12
13
  export * from "./GetDirectChannelIdCommand";
13
14
  export * from "./GetFilePresignedDownloadUrlCommand";
15
+ export * from "./GetInboxStateCommand";
14
16
  export * from "./GetMessageCommand";
15
17
  export * from "./GetOrCreateDirectChannelCommand";
16
18
  export * from "./GetUploadedFileInfoCommand";
@@ -20,11 +22,15 @@ export * from "./JoinChannelCommand";
20
22
  export * from "./LeaveChannelCommand";
21
23
  export * from "./ListChannelMembersCommand";
22
24
  export * from "./ListChannelsCommand";
25
+ export * from "./ListInboxTaggedChannelsCommand";
26
+ export * from "./ListInboxTagsCommand";
23
27
  export * from "./ListMessageReactionsCommand";
24
28
  export * from "./ListMessagesCommand";
25
29
  export * from "./MarkReadCommand";
30
+ export * from "./MarkUnreadCommand";
26
31
  export * from "./PartialUpdateChannelCommand";
27
32
  export * from "./PartialUpdateMessageCommand";
33
+ export * from "./PinChannelCommand";
28
34
  export * from "./ScheduleExternalFlagAdjustmentJobCommand";
29
35
  export * from "./SendGiphyCommand";
30
36
  export * from "./SendMessageCommand";
@@ -32,6 +38,10 @@ export * from "./SendMessageReactionCommand";
32
38
  export * from "./SendTypingStartCommand";
33
39
  export * from "./SendTypingStopCommand";
34
40
  export * from "./ShowChannelCommand";
41
+ export * from "./TagChannelCommand";
42
+ export * from "./UnpinChannelCommand";
43
+ export * from "./UntagChannelCommand";
35
44
  export * from "./UpdateChannelCommand";
45
+ export * from "./UpdateInboxTagCommand";
36
46
  export * from "./UpdateMessageCommand";
37
47
  export * from "./UploadFileCommand";
@@ -103,48 +103,16 @@ export const ConversationFileCategory = {
103
103
  GENERAL: "channels",
104
104
  RECORDING: "recordings",
105
105
  };
106
- export const MessageSmsStatus = {
107
- DELIVERED: "delivered",
108
- ERROR: "error",
109
- SENT: "sent",
110
- TRYING: "trying",
111
- };
112
- export const MessageType = {
113
- REGULAR: "regular",
114
- SYSTEM: "system",
115
- };
116
- export const MessageWhatsAppStatus = {
117
- DELIVERED: "delivered",
118
- ERROR: "error",
119
- SENT: "sent",
120
- TRYING: "trying",
121
- };
122
- export const TargetNotEligibleReason = {
123
- NO_LICENSE: "no_license",
124
- };
125
- export class TargetNotEligibleException extends __BaseException {
106
+ export class TagsLimitReachedException extends __BaseException {
126
107
  constructor(opts) {
127
108
  super({
128
- name: "TargetNotEligibleException",
109
+ name: "TagsLimitReachedException",
129
110
  $fault: "client",
130
111
  ...opts
131
112
  });
132
- this.name = "TargetNotEligibleException";
113
+ this.name = "TagsLimitReachedException";
133
114
  this.$fault = "client";
134
- Object.setPrototypeOf(this, TargetNotEligibleException.prototype);
135
- this.reason = opts.reason;
136
- }
137
- }
138
- export class TargetNotFoundException extends __BaseException {
139
- constructor(opts) {
140
- super({
141
- name: "TargetNotFoundException",
142
- $fault: "client",
143
- ...opts
144
- });
145
- this.name = "TargetNotFoundException";
146
- this.$fault = "client";
147
- Object.setPrototypeOf(this, TargetNotFoundException.prototype);
115
+ Object.setPrototypeOf(this, TagsLimitReachedException.prototype);
148
116
  }
149
117
  }
150
118
  export class MemberNotFoundException extends __BaseException {
@@ -193,6 +161,22 @@ export const WebhookEventType = {
193
161
  REACTION_DELETED: "chat:reaction:deleted",
194
162
  REACTION_NEW: "chat:reaction:new",
195
163
  };
164
+ export const MessageSmsStatus = {
165
+ DELIVERED: "delivered",
166
+ ERROR: "error",
167
+ SENT: "sent",
168
+ TRYING: "trying",
169
+ };
170
+ export const MessageType = {
171
+ REGULAR: "regular",
172
+ SYSTEM: "system",
173
+ };
174
+ export const MessageWhatsAppStatus = {
175
+ DELIVERED: "delivered",
176
+ ERROR: "error",
177
+ SENT: "sent",
178
+ TRYING: "trying",
179
+ };
196
180
  export class FileNotFoundException extends __BaseException {
197
181
  constructor(opts) {
198
182
  super({
@@ -205,6 +189,30 @@ export class FileNotFoundException extends __BaseException {
205
189
  Object.setPrototypeOf(this, FileNotFoundException.prototype);
206
190
  }
207
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
+ }
208
216
  export const GroupChannelUnsetOptions = {
209
217
  ACCESS: "access",
210
218
  BROADCAST: "broadcast",
@@ -219,6 +227,18 @@ export const MessageUnsetFields = {
219
227
  QUOTE: "quote",
220
228
  TEXT: "text",
221
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
+ }
222
242
  export class ConversationsServiceException extends __BaseException {
223
243
  constructor(opts) {
224
244
  super({
@@ -231,3 +251,15 @@ export class ConversationsServiceException extends __BaseException {
231
251
  Object.setPrototypeOf(this, ConversationsServiceException.prototype);
232
252
  }
233
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
+ }