@wildix/xbees-conversations-client 1.0.30 → 1.0.31
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 +36 -4
- package/dist-cjs/commands/AddChannelMemberCommand.js +41 -0
- package/dist-cjs/commands/AddChannelMembersCommand.js +41 -0
- package/dist-cjs/commands/CreateGroupChannelCommand.js +41 -0
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +41 -0
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +41 -0
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +41 -0
- package/dist-cjs/commands/GetMessageReactionsCommand.js +41 -0
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +41 -0
- package/dist-cjs/commands/InviteCommand.js +41 -0
- package/dist-cjs/commands/{CreateChannelCommand.js → LeaveChannelCommand.js} +7 -7
- package/dist-cjs/commands/ListChannelMembersCommand.js +41 -0
- package/dist-cjs/commands/MarkReadCommand.js +41 -0
- package/dist-cjs/commands/SendGiphyCommand.js +41 -0
- package/dist-cjs/commands/SendMessageCommand.js +41 -0
- package/dist-cjs/commands/SendMessageReactionCommand.js +41 -0
- package/dist-cjs/commands/SendSystemMessageCommand.js +41 -0
- package/dist-cjs/commands/SendTypingStartCommand.js +41 -0
- package/dist-cjs/commands/{CreateMessageCommand.js → SendTypingStopCommand.js} +7 -7
- package/dist-cjs/commands/index.js +18 -2
- package/dist-cjs/models/models_0.js +71 -52
- package/dist-cjs/protocols/Aws_restJson1.js +1204 -145
- package/dist-es/Conversations.js +36 -4
- package/dist-es/commands/AddChannelMemberCommand.js +37 -0
- package/dist-es/commands/AddChannelMembersCommand.js +37 -0
- package/dist-es/commands/CreateGroupChannelCommand.js +37 -0
- package/dist-es/commands/DeleteChannelMemberCommand.js +37 -0
- package/dist-es/commands/DeleteMessageReactionCommand.js +37 -0
- package/dist-es/commands/GetDirectChannelIdCommand.js +37 -0
- package/dist-es/commands/GetMessageReactionsCommand.js +37 -0
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +37 -0
- package/dist-es/commands/{CreateChannelCommand.js → InviteCommand.js} +6 -6
- package/dist-es/commands/{CreateMessageCommand.js → LeaveChannelCommand.js} +6 -6
- package/dist-es/commands/ListChannelMembersCommand.js +37 -0
- package/dist-es/commands/MarkReadCommand.js +37 -0
- package/dist-es/commands/SendGiphyCommand.js +37 -0
- package/dist-es/commands/SendMessageCommand.js +37 -0
- package/dist-es/commands/SendMessageReactionCommand.js +37 -0
- package/dist-es/commands/SendSystemMessageCommand.js +37 -0
- package/dist-es/commands/SendTypingStartCommand.js +37 -0
- package/dist-es/commands/SendTypingStopCommand.js +37 -0
- package/dist-es/commands/index.js +18 -2
- package/dist-es/models/models_0.js +67 -50
- package/dist-es/protocols/Aws_restJson1.js +1174 -148
- package/dist-types/Conversations.d.ts +122 -10
- package/dist-types/ConversationsClient.d.ts +20 -4
- package/dist-types/commands/AddChannelMemberCommand.d.ts +105 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +113 -0
- package/dist-types/commands/{CreateChannelCommand.d.ts → CreateGroupChannelCommand.d.ts} +37 -79
- package/dist-types/commands/DeleteChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +79 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +2 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +80 -0
- package/dist-types/commands/GetChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetChannelMemberCommand.d.ts +17 -0
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +82 -0
- package/dist-types/commands/GetMessageCommand.d.ts +23 -21
- package/dist-types/commands/GetMessageReactionsCommand.d.ts +101 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +144 -0
- package/dist-types/commands/InviteCommand.d.ts +98 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
- package/dist-types/commands/LeaveChannelCommand.d.ts +77 -0
- package/dist-types/commands/ListChannelMembersCommand.d.ts +102 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +23 -21
- package/dist-types/commands/MarkReadCommand.d.ts +76 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +5 -52
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +46 -54
- package/dist-types/commands/SendGiphyCommand.d.ts +220 -0
- package/dist-types/commands/{CreateMessageCommand.d.ts → SendMessageCommand.d.ts} +137 -143
- package/dist-types/commands/SendMessageReactionCommand.d.ts +78 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +213 -0
- package/dist-types/commands/SendTypingStartCommand.d.ts +76 -0
- package/dist-types/commands/SendTypingStopCommand.d.ts +76 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +8 -57
- package/dist-types/commands/UpdateMessageCommand.d.ts +118 -125
- package/dist-types/commands/index.d.ts +18 -2
- package/dist-types/models/models_0.d.ts +450 -172
- package/dist-types/protocols/Aws_restJson1.d.ts +154 -10
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendMessageCommand = 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 SendMessageCommand 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 = "SendMessageCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "SendMessage",
|
|
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_SendMessageCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_SendMessageCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.SendMessageCommand = SendMessageCommand;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendMessageReactionCommand = 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 SendMessageReactionCommand 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 = "SendMessageReactionCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "SendMessageReaction",
|
|
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_SendMessageReactionCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_SendMessageReactionCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.SendMessageReactionCommand = SendMessageReactionCommand;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendSystemMessageCommand = 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 SendSystemMessageCommand 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 = "SendSystemMessageCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "SendSystemMessage",
|
|
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_SendSystemMessageCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_SendSystemMessageCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.SendSystemMessageCommand = SendSystemMessageCommand;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendTypingStartCommand = 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 SendTypingStartCommand 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 = "SendTypingStartCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "SendTypingStart",
|
|
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_SendTypingStartCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_SendTypingStartCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.SendTypingStartCommand = SendTypingStartCommand;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.SendTypingStopCommand = exports.$Command = void 0;
|
|
4
4
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const types_1 = require("@smithy/types");
|
|
9
|
-
class
|
|
9
|
+
class SendTypingStopCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
@@ -16,7 +16,7 @@ class CreateMessageCommand extends smithy_client_1.Command {
|
|
|
16
16
|
const stack = clientStack.concat(this.middlewareStack);
|
|
17
17
|
const { logger } = configuration;
|
|
18
18
|
const clientName = "ConversationsClient";
|
|
19
|
-
const commandName = "
|
|
19
|
+
const commandName = "SendTypingStopCommand";
|
|
20
20
|
const handlerExecutionContext = {
|
|
21
21
|
logger,
|
|
22
22
|
clientName,
|
|
@@ -25,17 +25,17 @@ class CreateMessageCommand extends smithy_client_1.Command {
|
|
|
25
25
|
outputFilterSensitiveLog: (_) => _,
|
|
26
26
|
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
27
|
service: "Conversations",
|
|
28
|
-
operation: "
|
|
28
|
+
operation: "SendTypingStop",
|
|
29
29
|
},
|
|
30
30
|
};
|
|
31
31
|
const { requestHandler } = configuration;
|
|
32
32
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
33
|
}
|
|
34
34
|
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.
|
|
35
|
+
return (0, Aws_restJson1_1.se_SendTypingStopCommand)(input, context);
|
|
36
36
|
}
|
|
37
37
|
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.
|
|
38
|
+
return (0, Aws_restJson1_1.de_SendTypingStopCommand)(output, context);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
41
|
+
exports.SendTypingStopCommand = SendTypingStopCommand;
|
|
@@ -1,18 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./
|
|
5
|
-
tslib_1.__exportStar(require("./
|
|
4
|
+
tslib_1.__exportStar(require("./AddChannelMemberCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AddChannelMembersCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateGroupChannelCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DeleteChannelMemberCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./DeleteMessageCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteMessageReactionCommand"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./GetChannelCommand"), exports);
|
|
9
12
|
tslib_1.__exportStar(require("./GetChannelMemberCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./GetDirectChannelIdCommand"), exports);
|
|
10
14
|
tslib_1.__exportStar(require("./GetMessageCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetMessageReactionsCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetOrCreateDirectChannelCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./InviteCommand"), exports);
|
|
11
18
|
tslib_1.__exportStar(require("./JoinChannelCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./LeaveChannelCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListChannelMembersCommand"), exports);
|
|
12
21
|
tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
|
|
13
22
|
tslib_1.__exportStar(require("./ListMessagesCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./MarkReadCommand"), exports);
|
|
14
24
|
tslib_1.__exportStar(require("./PartialUpdateChannelCommand"), exports);
|
|
15
25
|
tslib_1.__exportStar(require("./PartialUpdateMessageCommand"), exports);
|
|
16
26
|
tslib_1.__exportStar(require("./ScheduleExternalFlagAdjustmentJobCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./SendGiphyCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./SendMessageCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./SendMessageReactionCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./SendSystemMessageCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./SendTypingStartCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./SendTypingStopCommand"), exports);
|
|
17
33
|
tslib_1.__exportStar(require("./UpdateChannelCommand"), exports);
|
|
18
34
|
tslib_1.__exportStar(require("./UpdateMessageCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConversationsServiceException = exports.MessageUnsetFields = exports.
|
|
3
|
+
exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MessageType = exports.MessageSmsStatus = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ChannelAlreadyExistException = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
5
|
class ForbiddenException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -32,19 +32,6 @@ exports.ChannelType = {
|
|
|
32
32
|
DIRECT: "direct",
|
|
33
33
|
GROUP: "group",
|
|
34
34
|
};
|
|
35
|
-
exports.ChannelAccess = {
|
|
36
|
-
PRIVATE: "private",
|
|
37
|
-
PUBLIC: "public",
|
|
38
|
-
};
|
|
39
|
-
exports.ChannelContextEventAttendeeStatus = {
|
|
40
|
-
ACCEPTED: "accepted",
|
|
41
|
-
DECLINED: "declined",
|
|
42
|
-
NONE: "none",
|
|
43
|
-
TENTATIVE: "tentative",
|
|
44
|
-
};
|
|
45
|
-
exports.ChannelContextSource = {
|
|
46
|
-
KITE: "kite",
|
|
47
|
-
};
|
|
48
35
|
exports.ChannelMemberRole = {
|
|
49
36
|
MEMBER: "member",
|
|
50
37
|
SUPERVISOR: "supervisor",
|
|
@@ -62,52 +49,45 @@ class ChannelNotFoundException extends ConversationsServiceException_1.Conversat
|
|
|
62
49
|
}
|
|
63
50
|
}
|
|
64
51
|
exports.ChannelNotFoundException = ChannelNotFoundException;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
PICTURE_COLOR: "pictureColor",
|
|
82
|
-
SERVICE: "service",
|
|
83
|
-
SERVICE_RECIPIENT: "serviceRecipient",
|
|
84
|
-
SERVICE_TITLE: "serviceTitle",
|
|
85
|
-
SMS: "sms",
|
|
86
|
-
SUBJECT: "subject",
|
|
87
|
-
TELEPHONY: "telephony",
|
|
52
|
+
class MemberAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "MemberAlreadyExistException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts
|
|
58
|
+
});
|
|
59
|
+
this.name = "MemberAlreadyExistException";
|
|
60
|
+
this.$fault = "client";
|
|
61
|
+
Object.setPrototypeOf(this, MemberAlreadyExistException.prototype);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.MemberAlreadyExistException = MemberAlreadyExistException;
|
|
65
|
+
exports.ChannelAccess = {
|
|
66
|
+
PRIVATE: "private",
|
|
67
|
+
PUBLIC: "public",
|
|
88
68
|
};
|
|
89
|
-
exports.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
69
|
+
exports.ChannelContextEventAttendeeStatus = {
|
|
70
|
+
ACCEPTED: "accepted",
|
|
71
|
+
DECLINED: "declined",
|
|
72
|
+
NONE: "none",
|
|
73
|
+
TENTATIVE: "tentative",
|
|
94
74
|
};
|
|
95
|
-
exports.
|
|
96
|
-
|
|
75
|
+
exports.ChannelContextSource = {
|
|
76
|
+
KITE: "kite",
|
|
97
77
|
};
|
|
98
|
-
class
|
|
78
|
+
class ChannelAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
99
79
|
constructor(opts) {
|
|
100
80
|
super({
|
|
101
|
-
name: "
|
|
81
|
+
name: "ChannelAlreadyExistException",
|
|
102
82
|
$fault: "client",
|
|
103
83
|
...opts
|
|
104
84
|
});
|
|
105
|
-
this.name = "
|
|
85
|
+
this.name = "ChannelAlreadyExistException";
|
|
106
86
|
this.$fault = "client";
|
|
107
|
-
Object.setPrototypeOf(this,
|
|
87
|
+
Object.setPrototypeOf(this, ChannelAlreadyExistException.prototype);
|
|
108
88
|
}
|
|
109
89
|
}
|
|
110
|
-
exports.
|
|
90
|
+
exports.ChannelAlreadyExistException = ChannelAlreadyExistException;
|
|
111
91
|
class MemberNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
112
92
|
constructor(opts) {
|
|
113
93
|
super({
|
|
@@ -121,13 +101,52 @@ class MemberNotFoundException extends ConversationsServiceException_1.Conversati
|
|
|
121
101
|
}
|
|
122
102
|
}
|
|
123
103
|
exports.MemberNotFoundException = MemberNotFoundException;
|
|
104
|
+
class MessageNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "MessageNotFoundException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts
|
|
110
|
+
});
|
|
111
|
+
this.name = "MessageNotFoundException";
|
|
112
|
+
this.$fault = "client";
|
|
113
|
+
Object.setPrototypeOf(this, MessageNotFoundException.prototype);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.MessageNotFoundException = MessageNotFoundException;
|
|
117
|
+
exports.ReactionType = {
|
|
118
|
+
CLAP: "clap",
|
|
119
|
+
CONFUSED: "confused",
|
|
120
|
+
EYES: "eyes",
|
|
121
|
+
HEART: "heart",
|
|
122
|
+
SLIGHTLY_SMILING_FACE: "slightly_smiling_face",
|
|
123
|
+
SMILEY: "smiley",
|
|
124
|
+
THUMBSDOWN: "thumbsdown",
|
|
125
|
+
THUMBSUP: "thumbsup",
|
|
126
|
+
WHITE_CHECK_MARK: "white_check_mark",
|
|
127
|
+
};
|
|
128
|
+
exports.MessageSmsStatus = {
|
|
129
|
+
DELIVERED: "delivered",
|
|
130
|
+
ERROR: "error",
|
|
131
|
+
SENT: "sent",
|
|
132
|
+
TRYING: "trying",
|
|
133
|
+
};
|
|
134
|
+
exports.MessageType = {
|
|
135
|
+
REGULAR: "regular",
|
|
136
|
+
};
|
|
137
|
+
exports.GroupChannelUnsetOptions = {
|
|
138
|
+
ACCESS: "access",
|
|
139
|
+
BROADCAST: "broadcast",
|
|
140
|
+
DESCRIPTION: "description",
|
|
141
|
+
PICTURE: "picture",
|
|
142
|
+
PICTURE_COLOR: "pictureColor",
|
|
143
|
+
SUBJECT: "subject",
|
|
144
|
+
};
|
|
124
145
|
exports.MessageUnsetFields = {
|
|
125
146
|
ATTACHMENTS: "attachments",
|
|
126
|
-
EVENT: "event",
|
|
127
147
|
FORWARD: "forward",
|
|
128
148
|
QUOTE: "quote",
|
|
129
|
-
|
|
130
|
-
SMS_STATUS: "smsStatus",
|
|
149
|
+
TEXT: "text",
|
|
131
150
|
};
|
|
132
151
|
class ConversationsServiceException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
133
152
|
constructor(opts) {
|