@wildix/xbees-conversations-client 1.0.28 → 1.0.30
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/Conversations.js +10 -0
- package/dist-cjs/commands/DeleteMessageCommand.js +41 -0
- package/dist-cjs/commands/ListChannelsCommand.js +41 -0
- package/dist-cjs/commands/ListMessagesCommand.js +41 -0
- package/dist-cjs/commands/PartialUpdateMessageCommand.js +41 -0
- package/dist-cjs/commands/UpdateMessageCommand.js +41 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +32 -11
- package/dist-cjs/protocols/Aws_restJson1.js +353 -3
- package/dist-es/Conversations.js +10 -0
- package/dist-es/commands/DeleteMessageCommand.js +37 -0
- package/dist-es/commands/ListChannelsCommand.js +37 -0
- package/dist-es/commands/ListMessagesCommand.js +37 -0
- package/dist-es/commands/PartialUpdateMessageCommand.js +37 -0
- package/dist-es/commands/UpdateMessageCommand.js +37 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +28 -8
- package/dist-es/protocols/Aws_restJson1.js +343 -3
- package/dist-types/Conversations.d.ts +35 -0
- package/dist-types/ConversationsClient.d.ts +7 -2
- package/dist-types/commands/CreateChannelCommand.d.ts +1 -0
- package/dist-types/commands/CreateMessageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMessageCommand.d.ts +76 -0
- package/dist-types/commands/GetMessageCommand.d.ts +1 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +139 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +211 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +1 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +365 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +1 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +362 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +124 -7
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/package.json +2 -2
|
@@ -5,25 +5,35 @@ const ConversationsClient_1 = require("./ConversationsClient");
|
|
|
5
5
|
const CreateChannelCommand_1 = require("./commands/CreateChannelCommand");
|
|
6
6
|
const CreateMessageCommand_1 = require("./commands/CreateMessageCommand");
|
|
7
7
|
const DeleteChannelCommand_1 = require("./commands/DeleteChannelCommand");
|
|
8
|
+
const DeleteMessageCommand_1 = require("./commands/DeleteMessageCommand");
|
|
8
9
|
const GetChannelCommand_1 = require("./commands/GetChannelCommand");
|
|
9
10
|
const GetChannelMemberCommand_1 = require("./commands/GetChannelMemberCommand");
|
|
10
11
|
const GetMessageCommand_1 = require("./commands/GetMessageCommand");
|
|
11
12
|
const JoinChannelCommand_1 = require("./commands/JoinChannelCommand");
|
|
13
|
+
const ListChannelsCommand_1 = require("./commands/ListChannelsCommand");
|
|
14
|
+
const ListMessagesCommand_1 = require("./commands/ListMessagesCommand");
|
|
12
15
|
const PartialUpdateChannelCommand_1 = require("./commands/PartialUpdateChannelCommand");
|
|
16
|
+
const PartialUpdateMessageCommand_1 = require("./commands/PartialUpdateMessageCommand");
|
|
13
17
|
const ScheduleExternalFlagAdjustmentJobCommand_1 = require("./commands/ScheduleExternalFlagAdjustmentJobCommand");
|
|
14
18
|
const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
|
|
19
|
+
const UpdateMessageCommand_1 = require("./commands/UpdateMessageCommand");
|
|
15
20
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
16
21
|
const commands = {
|
|
17
22
|
CreateChannelCommand: CreateChannelCommand_1.CreateChannelCommand,
|
|
18
23
|
CreateMessageCommand: CreateMessageCommand_1.CreateMessageCommand,
|
|
19
24
|
DeleteChannelCommand: DeleteChannelCommand_1.DeleteChannelCommand,
|
|
25
|
+
DeleteMessageCommand: DeleteMessageCommand_1.DeleteMessageCommand,
|
|
20
26
|
GetChannelCommand: GetChannelCommand_1.GetChannelCommand,
|
|
21
27
|
GetChannelMemberCommand: GetChannelMemberCommand_1.GetChannelMemberCommand,
|
|
22
28
|
GetMessageCommand: GetMessageCommand_1.GetMessageCommand,
|
|
23
29
|
JoinChannelCommand: JoinChannelCommand_1.JoinChannelCommand,
|
|
30
|
+
ListChannelsCommand: ListChannelsCommand_1.ListChannelsCommand,
|
|
31
|
+
ListMessagesCommand: ListMessagesCommand_1.ListMessagesCommand,
|
|
24
32
|
PartialUpdateChannelCommand: PartialUpdateChannelCommand_1.PartialUpdateChannelCommand,
|
|
33
|
+
PartialUpdateMessageCommand: PartialUpdateMessageCommand_1.PartialUpdateMessageCommand,
|
|
25
34
|
ScheduleExternalFlagAdjustmentJobCommand: ScheduleExternalFlagAdjustmentJobCommand_1.ScheduleExternalFlagAdjustmentJobCommand,
|
|
26
35
|
UpdateChannelCommand: UpdateChannelCommand_1.UpdateChannelCommand,
|
|
36
|
+
UpdateMessageCommand: UpdateMessageCommand_1.UpdateMessageCommand,
|
|
27
37
|
};
|
|
28
38
|
class Conversations extends ConversationsClient_1.ConversationsClient {
|
|
29
39
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteMessageCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
class DeleteMessageCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "ConversationsClient";
|
|
19
|
+
const commandName = "DeleteMessageCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "DeleteMessage",
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
35
|
+
return (0, Aws_restJson1_1.se_DeleteMessageCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_DeleteMessageCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.DeleteMessageCommand = DeleteMessageCommand;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListChannelsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
class ListChannelsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "ConversationsClient";
|
|
19
|
+
const commandName = "ListChannelsCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "ListChannels",
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
35
|
+
return (0, Aws_restJson1_1.se_ListChannelsCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_ListChannelsCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.ListChannelsCommand = ListChannelsCommand;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListMessagesCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
class ListMessagesCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "ConversationsClient";
|
|
19
|
+
const commandName = "ListMessagesCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "ListMessages",
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
35
|
+
return (0, Aws_restJson1_1.se_ListMessagesCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_ListMessagesCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.ListMessagesCommand = ListMessagesCommand;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PartialUpdateMessageCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
class PartialUpdateMessageCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "ConversationsClient";
|
|
19
|
+
const commandName = "PartialUpdateMessageCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "PartialUpdateMessage",
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
35
|
+
return (0, Aws_restJson1_1.se_PartialUpdateMessageCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_PartialUpdateMessageCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.PartialUpdateMessageCommand = PartialUpdateMessageCommand;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateMessageCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
class UpdateMessageCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "ConversationsClient";
|
|
19
|
+
const commandName = "UpdateMessageCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "UpdateMessage",
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
35
|
+
return (0, Aws_restJson1_1.se_UpdateMessageCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_UpdateMessageCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.UpdateMessageCommand = UpdateMessageCommand;
|
|
@@ -4,10 +4,15 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./CreateChannelCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./CreateMessageCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./DeleteMessageCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./GetChannelCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./GetChannelMemberCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./GetMessageCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./JoinChannelCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListMessagesCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./PartialUpdateChannelCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./PartialUpdateMessageCommand"), exports);
|
|
12
16
|
tslib_1.__exportStar(require("./ScheduleExternalFlagAdjustmentJobCommand"), exports);
|
|
13
17
|
tslib_1.__exportStar(require("./UpdateChannelCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./UpdateMessageCommand"), exports);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConversationsServiceException = exports.MemberNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.ChannelUnsetFields = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.ChannelType = exports.
|
|
3
|
+
exports.ConversationsServiceException = exports.MessageUnsetFields = exports.MemberNotFoundException = exports.MessageNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.ChannelUnsetFields = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.ChannelType = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
|
-
class
|
|
5
|
+
class ForbiddenException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
7
7
|
super({
|
|
8
|
-
name: "
|
|
8
|
+
name: "ForbiddenException",
|
|
9
9
|
$fault: "client",
|
|
10
10
|
...opts
|
|
11
11
|
});
|
|
12
|
-
this.name = "
|
|
12
|
+
this.name = "ForbiddenException";
|
|
13
13
|
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this,
|
|
14
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
18
|
-
class
|
|
17
|
+
exports.ForbiddenException = ForbiddenException;
|
|
18
|
+
class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
19
19
|
constructor(opts) {
|
|
20
20
|
super({
|
|
21
|
-
name: "
|
|
21
|
+
name: "ValidationException",
|
|
22
22
|
$fault: "client",
|
|
23
23
|
...opts
|
|
24
24
|
});
|
|
25
|
-
this.name = "
|
|
25
|
+
this.name = "ValidationException";
|
|
26
26
|
this.$fault = "client";
|
|
27
|
-
Object.setPrototypeOf(this,
|
|
27
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
exports.
|
|
30
|
+
exports.ValidationException = ValidationException;
|
|
31
31
|
exports.ChannelType = {
|
|
32
32
|
DIRECT: "direct",
|
|
33
33
|
GROUP: "group",
|
|
@@ -95,6 +95,19 @@ exports.MessageSmsStatus = {
|
|
|
95
95
|
exports.MessageType = {
|
|
96
96
|
REGULAR: "regular",
|
|
97
97
|
};
|
|
98
|
+
class MessageNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "MessageNotFoundException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts
|
|
104
|
+
});
|
|
105
|
+
this.name = "MessageNotFoundException";
|
|
106
|
+
this.$fault = "client";
|
|
107
|
+
Object.setPrototypeOf(this, MessageNotFoundException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.MessageNotFoundException = MessageNotFoundException;
|
|
98
111
|
class MemberNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
99
112
|
constructor(opts) {
|
|
100
113
|
super({
|
|
@@ -108,6 +121,14 @@ class MemberNotFoundException extends ConversationsServiceException_1.Conversati
|
|
|
108
121
|
}
|
|
109
122
|
}
|
|
110
123
|
exports.MemberNotFoundException = MemberNotFoundException;
|
|
124
|
+
exports.MessageUnsetFields = {
|
|
125
|
+
ATTACHMENTS: "attachments",
|
|
126
|
+
EVENT: "event",
|
|
127
|
+
FORWARD: "forward",
|
|
128
|
+
QUOTE: "quote",
|
|
129
|
+
SMS: "sms",
|
|
130
|
+
SMS_STATUS: "smsStatus",
|
|
131
|
+
};
|
|
111
132
|
class ConversationsServiceException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
112
133
|
constructor(opts) {
|
|
113
134
|
super({
|