@wildix/xbees-conversations-client 1.1.13 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/ConversationsClient.js +4 -5
- package/dist-cjs/models/models_0.js +48 -43
- package/dist-cjs/protocols/Aws_restJson1.js +101 -150
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeExtensions.js +2 -10
- package/dist-es/ConversationsClient.js +4 -5
- package/dist-es/models/models_0.js +43 -38
- package/dist-es/protocols/Aws_restJson1.js +5 -54
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +5 -4
- package/dist-es/runtimeExtensions.js +2 -10
- package/dist-types/ConversationsClient.d.ts +1 -1
- package/dist-types/commands/AddChannelMemberCommand.d.ts +13 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +13 -0
- package/dist-types/commands/AssignChannelCommand.d.ts +12 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +12 -0
- package/dist-types/commands/CreateInboxTagCommand.d.ts +12 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +12 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +12 -0
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +12 -0
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +12 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +12 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +12 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +12 -0
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +12 -0
- package/dist-types/commands/GetChannelCommand.d.ts +12 -0
- package/dist-types/commands/GetChannelMemberCommand.d.ts +12 -0
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +12 -0
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +12 -0
- package/dist-types/commands/GetInboxStateCommand.d.ts +12 -0
- package/dist-types/commands/GetMessageCommand.d.ts +12 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +12 -0
- package/dist-types/commands/GetTokenCommand.d.ts +12 -0
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +12 -0
- package/dist-types/commands/HideChannelCommand.d.ts +12 -0
- package/dist-types/commands/InviteCommand.d.ts +12 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +12 -0
- package/dist-types/commands/LeaveChannelCommand.d.ts +12 -0
- package/dist-types/commands/ListChannelMembersCommand.d.ts +12 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +12 -0
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +12 -0
- package/dist-types/commands/ListInboxTagsCommand.d.ts +12 -0
- package/dist-types/commands/ListMessageReactionsCommand.d.ts +12 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +12 -0
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +12 -0
- package/dist-types/commands/MarkReadCommand.d.ts +12 -0
- package/dist-types/commands/MarkUnreadCommand.d.ts +12 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +12 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +12 -0
- package/dist-types/commands/PinChannelCommand.d.ts +12 -0
- package/dist-types/commands/PinMessageCommand.d.ts +12 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +12 -0
- package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +12 -0
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +12 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +12 -0
- package/dist-types/commands/SendMessageCommand.d.ts +12 -0
- package/dist-types/commands/SendMessageReactionCommand.d.ts +12 -0
- package/dist-types/commands/SendTypingStartCommand.d.ts +12 -0
- package/dist-types/commands/SendTypingStopCommand.d.ts +12 -0
- package/dist-types/commands/ShowChannelCommand.d.ts +12 -0
- package/dist-types/commands/TagChannelCommand.d.ts +12 -0
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +12 -0
- package/dist-types/commands/UnpinChannelCommand.d.ts +12 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +12 -0
- package/dist-types/commands/UntagChannelCommand.d.ts +12 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +12 -0
- package/dist-types/commands/UpdateInboxTagCommand.d.ts +12 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +12 -0
- package/dist-types/commands/UploadFileCommand.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +301 -291
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +3 -2
- package/dist-types/runtimeConfig.native.d.ts +3 -2
- package/package.json +38 -34
|
@@ -10,8 +10,11 @@ const smithy_client_1 = require("@smithy/smithy-client");
|
|
|
10
10
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
11
11
|
const smithy_utils_1 = require("@wildix/smithy-utils");
|
|
12
12
|
class ConversationsClient extends smithy_client_1.Client {
|
|
13
|
+
config;
|
|
13
14
|
constructor(...[configuration]) {
|
|
14
15
|
let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
16
|
+
super(_config_0);
|
|
17
|
+
this.initConfig = _config_0;
|
|
15
18
|
let _config_1 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_0);
|
|
16
19
|
let _config_2 = (0, middleware_retry_1.resolveRetryConfig)(_config_1);
|
|
17
20
|
let _config_3 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_2, configuration?.extensions || []);
|
|
@@ -24,11 +27,7 @@ class ConversationsClient extends smithy_client_1.Client {
|
|
|
24
27
|
path: ''
|
|
25
28
|
};
|
|
26
29
|
};
|
|
27
|
-
const config = {
|
|
28
|
-
..._config_3,
|
|
29
|
-
endpoint,
|
|
30
|
-
};
|
|
31
|
-
super(config);
|
|
30
|
+
const config = { ..._config_3, endpoint };
|
|
32
31
|
this.config = config;
|
|
33
32
|
this.middlewareStack.add(smithy_utils_1.authorizationMiddleware.bind(this, configuration.token), { step: "build" });
|
|
34
33
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
@@ -3,40 +3,44 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MessageActionNotFoundException = exports.TaggedChannelsLimitReachedException = exports.ConversationsServiceException = exports.PinnedChannelsLimitReachedException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MarkUnreadChannelsLimitReachedException = exports.TagNotFoundException = exports.TriggerNotFoundException = exports.WebhookEventType = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.TargetNotFoundException = exports.TargetNotEligibleException = exports.TargetNotEligibleReason = exports.Element = exports.TagsLimitReachedException = exports.ChannelAlreadyExistException = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.AssignChannelVariant = exports.AssignChannelServiceRequest = exports.AssignChannelAssigneeRequest = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ActionTriggerStatus = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChannelType = exports.FileNotFoundException = exports.ConversationFileCategory = exports.RateLimitExceededException = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
5
|
class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
|
+
name = "ValidationException";
|
|
7
|
+
$fault = "client";
|
|
6
8
|
constructor(opts) {
|
|
7
9
|
super({
|
|
8
10
|
name: "ValidationException",
|
|
9
11
|
$fault: "client",
|
|
10
12
|
...opts
|
|
11
13
|
});
|
|
12
|
-
this.name = "ValidationException";
|
|
13
|
-
this.$fault = "client";
|
|
14
14
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.ValidationException = ValidationException;
|
|
18
18
|
class ForbiddenException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
19
|
+
name = "ForbiddenException";
|
|
20
|
+
$fault = "client";
|
|
19
21
|
constructor(opts) {
|
|
20
22
|
super({
|
|
21
23
|
name: "ForbiddenException",
|
|
22
24
|
$fault: "client",
|
|
23
25
|
...opts
|
|
24
26
|
});
|
|
25
|
-
this.name = "ForbiddenException";
|
|
26
|
-
this.$fault = "client";
|
|
27
27
|
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
exports.ForbiddenException = ForbiddenException;
|
|
31
31
|
class RateLimitExceededException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
32
|
+
name = "RateLimitExceededException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
rateLimit;
|
|
35
|
+
rateLimitRemaining;
|
|
36
|
+
rateLimitReset;
|
|
37
|
+
retryAfter;
|
|
32
38
|
constructor(opts) {
|
|
33
39
|
super({
|
|
34
40
|
name: "RateLimitExceededException",
|
|
35
41
|
$fault: "client",
|
|
36
42
|
...opts
|
|
37
43
|
});
|
|
38
|
-
this.name = "RateLimitExceededException";
|
|
39
|
-
this.$fault = "client";
|
|
40
44
|
Object.setPrototypeOf(this, RateLimitExceededException.prototype);
|
|
41
45
|
this.rateLimit = opts.rateLimit;
|
|
42
46
|
this.rateLimitRemaining = opts.rateLimitRemaining;
|
|
@@ -51,14 +55,14 @@ exports.ConversationFileCategory = {
|
|
|
51
55
|
WIZY_RECORDING: "wizyconfRecordings",
|
|
52
56
|
};
|
|
53
57
|
class FileNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
58
|
+
name = "FileNotFoundException";
|
|
59
|
+
$fault = "client";
|
|
54
60
|
constructor(opts) {
|
|
55
61
|
super({
|
|
56
62
|
name: "FileNotFoundException",
|
|
57
63
|
$fault: "client",
|
|
58
64
|
...opts
|
|
59
65
|
});
|
|
60
|
-
this.name = "FileNotFoundException";
|
|
61
|
-
this.$fault = "client";
|
|
62
66
|
Object.setPrototypeOf(this, FileNotFoundException.prototype);
|
|
63
67
|
}
|
|
64
68
|
}
|
|
@@ -78,7 +82,7 @@ var ButtonHandler;
|
|
|
78
82
|
return visitor.action(value.action);
|
|
79
83
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
80
84
|
};
|
|
81
|
-
})(ButtonHandler
|
|
85
|
+
})(ButtonHandler || (exports.ButtonHandler = ButtonHandler = {}));
|
|
82
86
|
exports.ButtonVariant = {
|
|
83
87
|
CONTAINED: "contained",
|
|
84
88
|
OUTLINED: "outlined",
|
|
@@ -90,7 +94,7 @@ var ActionElement;
|
|
|
90
94
|
return visitor.button(value.button);
|
|
91
95
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
92
96
|
};
|
|
93
|
-
})(ActionElement
|
|
97
|
+
})(ActionElement || (exports.ActionElement = ActionElement = {}));
|
|
94
98
|
exports.ActionTriggerStatus = {
|
|
95
99
|
COMPLETED: "completed",
|
|
96
100
|
PENDING: "pending",
|
|
@@ -100,27 +104,27 @@ exports.ChannelMemberRole = {
|
|
|
100
104
|
SUPERVISOR: "supervisor",
|
|
101
105
|
};
|
|
102
106
|
class ChannelNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
107
|
+
name = "ChannelNotFoundException";
|
|
108
|
+
$fault = "client";
|
|
103
109
|
constructor(opts) {
|
|
104
110
|
super({
|
|
105
111
|
name: "ChannelNotFoundException",
|
|
106
112
|
$fault: "client",
|
|
107
113
|
...opts
|
|
108
114
|
});
|
|
109
|
-
this.name = "ChannelNotFoundException";
|
|
110
|
-
this.$fault = "client";
|
|
111
115
|
Object.setPrototypeOf(this, ChannelNotFoundException.prototype);
|
|
112
116
|
}
|
|
113
117
|
}
|
|
114
118
|
exports.ChannelNotFoundException = ChannelNotFoundException;
|
|
115
119
|
class MemberAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
120
|
+
name = "MemberAlreadyExistException";
|
|
121
|
+
$fault = "client";
|
|
116
122
|
constructor(opts) {
|
|
117
123
|
super({
|
|
118
124
|
name: "MemberAlreadyExistException",
|
|
119
125
|
$fault: "client",
|
|
120
126
|
...opts
|
|
121
127
|
});
|
|
122
|
-
this.name = "MemberAlreadyExistException";
|
|
123
|
-
this.$fault = "client";
|
|
124
128
|
Object.setPrototypeOf(this, MemberAlreadyExistException.prototype);
|
|
125
129
|
}
|
|
126
130
|
}
|
|
@@ -134,7 +138,7 @@ var AssignChannelAssigneeRequest;
|
|
|
134
138
|
return visitor.email(value.email);
|
|
135
139
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
136
140
|
};
|
|
137
|
-
})(AssignChannelAssigneeRequest
|
|
141
|
+
})(AssignChannelAssigneeRequest || (exports.AssignChannelAssigneeRequest = AssignChannelAssigneeRequest = {}));
|
|
138
142
|
var AssignChannelServiceRequest;
|
|
139
143
|
(function (AssignChannelServiceRequest) {
|
|
140
144
|
AssignChannelServiceRequest.visit = (value, visitor) => {
|
|
@@ -142,7 +146,7 @@ var AssignChannelServiceRequest;
|
|
|
142
146
|
return visitor.uri(value.uri);
|
|
143
147
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
144
148
|
};
|
|
145
|
-
})(AssignChannelServiceRequest
|
|
149
|
+
})(AssignChannelServiceRequest || (exports.AssignChannelServiceRequest = AssignChannelServiceRequest = {}));
|
|
146
150
|
exports.AssignChannelVariant = {
|
|
147
151
|
ADAPTIVE: "ADAPTIVE",
|
|
148
152
|
EVERYBODY: "EVERYBODY",
|
|
@@ -166,27 +170,27 @@ exports.ChannelWhatsAppStatus = {
|
|
|
166
170
|
CHANNEL_CLOSED: "24h_channel_closed",
|
|
167
171
|
};
|
|
168
172
|
class ChannelAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
173
|
+
name = "ChannelAlreadyExistException";
|
|
174
|
+
$fault = "client";
|
|
169
175
|
constructor(opts) {
|
|
170
176
|
super({
|
|
171
177
|
name: "ChannelAlreadyExistException",
|
|
172
178
|
$fault: "client",
|
|
173
179
|
...opts
|
|
174
180
|
});
|
|
175
|
-
this.name = "ChannelAlreadyExistException";
|
|
176
|
-
this.$fault = "client";
|
|
177
181
|
Object.setPrototypeOf(this, ChannelAlreadyExistException.prototype);
|
|
178
182
|
}
|
|
179
183
|
}
|
|
180
184
|
exports.ChannelAlreadyExistException = ChannelAlreadyExistException;
|
|
181
185
|
class TagsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
186
|
+
name = "TagsLimitReachedException";
|
|
187
|
+
$fault = "client";
|
|
182
188
|
constructor(opts) {
|
|
183
189
|
super({
|
|
184
190
|
name: "TagsLimitReachedException",
|
|
185
191
|
$fault: "client",
|
|
186
192
|
...opts
|
|
187
193
|
});
|
|
188
|
-
this.name = "TagsLimitReachedException";
|
|
189
|
-
this.$fault = "client";
|
|
190
194
|
Object.setPrototypeOf(this, TagsLimitReachedException.prototype);
|
|
191
195
|
}
|
|
192
196
|
}
|
|
@@ -198,59 +202,60 @@ var Element;
|
|
|
198
202
|
return visitor.actions(value.actions);
|
|
199
203
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
200
204
|
};
|
|
201
|
-
})(Element
|
|
205
|
+
})(Element || (exports.Element = Element = {}));
|
|
202
206
|
exports.TargetNotEligibleReason = {
|
|
203
207
|
NO_LICENSE: "no_license",
|
|
204
208
|
};
|
|
205
209
|
class TargetNotEligibleException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
210
|
+
name = "TargetNotEligibleException";
|
|
211
|
+
$fault = "client";
|
|
212
|
+
reason;
|
|
206
213
|
constructor(opts) {
|
|
207
214
|
super({
|
|
208
215
|
name: "TargetNotEligibleException",
|
|
209
216
|
$fault: "client",
|
|
210
217
|
...opts
|
|
211
218
|
});
|
|
212
|
-
this.name = "TargetNotEligibleException";
|
|
213
|
-
this.$fault = "client";
|
|
214
219
|
Object.setPrototypeOf(this, TargetNotEligibleException.prototype);
|
|
215
220
|
this.reason = opts.reason;
|
|
216
221
|
}
|
|
217
222
|
}
|
|
218
223
|
exports.TargetNotEligibleException = TargetNotEligibleException;
|
|
219
224
|
class TargetNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
225
|
+
name = "TargetNotFoundException";
|
|
226
|
+
$fault = "client";
|
|
220
227
|
constructor(opts) {
|
|
221
228
|
super({
|
|
222
229
|
name: "TargetNotFoundException",
|
|
223
230
|
$fault: "client",
|
|
224
231
|
...opts
|
|
225
232
|
});
|
|
226
|
-
this.name = "TargetNotFoundException";
|
|
227
|
-
this.$fault = "client";
|
|
228
233
|
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
229
234
|
}
|
|
230
235
|
}
|
|
231
236
|
exports.TargetNotFoundException = TargetNotFoundException;
|
|
232
237
|
class MemberNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
238
|
+
name = "MemberNotFoundException";
|
|
239
|
+
$fault = "client";
|
|
233
240
|
constructor(opts) {
|
|
234
241
|
super({
|
|
235
242
|
name: "MemberNotFoundException",
|
|
236
243
|
$fault: "client",
|
|
237
244
|
...opts
|
|
238
245
|
});
|
|
239
|
-
this.name = "MemberNotFoundException";
|
|
240
|
-
this.$fault = "client";
|
|
241
246
|
Object.setPrototypeOf(this, MemberNotFoundException.prototype);
|
|
242
247
|
}
|
|
243
248
|
}
|
|
244
249
|
exports.MemberNotFoundException = MemberNotFoundException;
|
|
245
250
|
class MessageNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
251
|
+
name = "MessageNotFoundException";
|
|
252
|
+
$fault = "client";
|
|
246
253
|
constructor(opts) {
|
|
247
254
|
super({
|
|
248
255
|
name: "MessageNotFoundException",
|
|
249
256
|
$fault: "client",
|
|
250
257
|
...opts
|
|
251
258
|
});
|
|
252
|
-
this.name = "MessageNotFoundException";
|
|
253
|
-
this.$fault = "client";
|
|
254
259
|
Object.setPrototypeOf(this, MessageNotFoundException.prototype);
|
|
255
260
|
}
|
|
256
261
|
}
|
|
@@ -295,40 +300,40 @@ exports.WebhookEventType = {
|
|
|
295
300
|
REACTION_NEW: "chat:reaction:new",
|
|
296
301
|
};
|
|
297
302
|
class TriggerNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
303
|
+
name = "TriggerNotFoundException";
|
|
304
|
+
$fault = "client";
|
|
298
305
|
constructor(opts) {
|
|
299
306
|
super({
|
|
300
307
|
name: "TriggerNotFoundException",
|
|
301
308
|
$fault: "client",
|
|
302
309
|
...opts
|
|
303
310
|
});
|
|
304
|
-
this.name = "TriggerNotFoundException";
|
|
305
|
-
this.$fault = "client";
|
|
306
311
|
Object.setPrototypeOf(this, TriggerNotFoundException.prototype);
|
|
307
312
|
}
|
|
308
313
|
}
|
|
309
314
|
exports.TriggerNotFoundException = TriggerNotFoundException;
|
|
310
315
|
class TagNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
316
|
+
name = "TagNotFoundException";
|
|
317
|
+
$fault = "client";
|
|
311
318
|
constructor(opts) {
|
|
312
319
|
super({
|
|
313
320
|
name: "TagNotFoundException",
|
|
314
321
|
$fault: "client",
|
|
315
322
|
...opts
|
|
316
323
|
});
|
|
317
|
-
this.name = "TagNotFoundException";
|
|
318
|
-
this.$fault = "client";
|
|
319
324
|
Object.setPrototypeOf(this, TagNotFoundException.prototype);
|
|
320
325
|
}
|
|
321
326
|
}
|
|
322
327
|
exports.TagNotFoundException = TagNotFoundException;
|
|
323
328
|
class MarkUnreadChannelsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
329
|
+
name = "MarkUnreadChannelsLimitReachedException";
|
|
330
|
+
$fault = "client";
|
|
324
331
|
constructor(opts) {
|
|
325
332
|
super({
|
|
326
333
|
name: "MarkUnreadChannelsLimitReachedException",
|
|
327
334
|
$fault: "client",
|
|
328
335
|
...opts
|
|
329
336
|
});
|
|
330
|
-
this.name = "MarkUnreadChannelsLimitReachedException";
|
|
331
|
-
this.$fault = "client";
|
|
332
337
|
Object.setPrototypeOf(this, MarkUnreadChannelsLimitReachedException.prototype);
|
|
333
338
|
}
|
|
334
339
|
}
|
|
@@ -353,53 +358,53 @@ exports.MessageUnsetFields = {
|
|
|
353
358
|
TEXT: "text",
|
|
354
359
|
};
|
|
355
360
|
class PinnedChannelsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
361
|
+
name = "PinnedChannelsLimitReachedException";
|
|
362
|
+
$fault = "client";
|
|
356
363
|
constructor(opts) {
|
|
357
364
|
super({
|
|
358
365
|
name: "PinnedChannelsLimitReachedException",
|
|
359
366
|
$fault: "client",
|
|
360
367
|
...opts
|
|
361
368
|
});
|
|
362
|
-
this.name = "PinnedChannelsLimitReachedException";
|
|
363
|
-
this.$fault = "client";
|
|
364
369
|
Object.setPrototypeOf(this, PinnedChannelsLimitReachedException.prototype);
|
|
365
370
|
}
|
|
366
371
|
}
|
|
367
372
|
exports.PinnedChannelsLimitReachedException = PinnedChannelsLimitReachedException;
|
|
368
373
|
class ConversationsServiceException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
374
|
+
name = "ConversationsServiceException";
|
|
375
|
+
$fault = "server";
|
|
369
376
|
constructor(opts) {
|
|
370
377
|
super({
|
|
371
378
|
name: "ConversationsServiceException",
|
|
372
379
|
$fault: "server",
|
|
373
380
|
...opts
|
|
374
381
|
});
|
|
375
|
-
this.name = "ConversationsServiceException";
|
|
376
|
-
this.$fault = "server";
|
|
377
382
|
Object.setPrototypeOf(this, ConversationsServiceException.prototype);
|
|
378
383
|
}
|
|
379
384
|
}
|
|
380
385
|
exports.ConversationsServiceException = ConversationsServiceException;
|
|
381
386
|
class TaggedChannelsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
387
|
+
name = "TaggedChannelsLimitReachedException";
|
|
388
|
+
$fault = "client";
|
|
382
389
|
constructor(opts) {
|
|
383
390
|
super({
|
|
384
391
|
name: "TaggedChannelsLimitReachedException",
|
|
385
392
|
$fault: "client",
|
|
386
393
|
...opts
|
|
387
394
|
});
|
|
388
|
-
this.name = "TaggedChannelsLimitReachedException";
|
|
389
|
-
this.$fault = "client";
|
|
390
395
|
Object.setPrototypeOf(this, TaggedChannelsLimitReachedException.prototype);
|
|
391
396
|
}
|
|
392
397
|
}
|
|
393
398
|
exports.TaggedChannelsLimitReachedException = TaggedChannelsLimitReachedException;
|
|
394
399
|
class MessageActionNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
400
|
+
name = "MessageActionNotFoundException";
|
|
401
|
+
$fault = "client";
|
|
395
402
|
constructor(opts) {
|
|
396
403
|
super({
|
|
397
404
|
name: "MessageActionNotFoundException",
|
|
398
405
|
$fault: "client",
|
|
399
406
|
...opts
|
|
400
407
|
});
|
|
401
|
-
this.name = "MessageActionNotFoundException";
|
|
402
|
-
this.$fault = "client";
|
|
403
408
|
Object.setPrototypeOf(this, MessageActionNotFoundException.prototype);
|
|
404
409
|
}
|
|
405
410
|
}
|