@wildix/xbees-conversations-client 1.0.47 → 1.0.48
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 +0 -2
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/models/models_0.js +10 -23
- package/dist-cjs/protocols/Aws_restJson1.js +2 -42
- package/dist-es/Conversations.js +0 -2
- package/dist-es/commands/index.js +0 -1
- package/dist-es/models/models_0.js +9 -22
- package/dist-es/protocols/Aws_restJson1.js +0 -38
- package/dist-types/Conversations.d.ts +0 -7
- package/dist-types/ConversationsClient.d.ts +2 -3
- package/dist-types/commands/AddChannelMemberCommand.d.ts +2 -2
- package/dist-types/commands/AddChannelMembersCommand.d.ts +2 -2
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +4 -2
- package/dist-types/commands/DeleteChannelCommand.d.ts +2 -4
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +2 -2
- package/dist-types/commands/DeleteMessageCommand.d.ts +2 -2
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +20 -0
- package/dist-types/commands/GetChannelCommand.d.ts +4 -2
- package/dist-types/commands/GetChannelMemberCommand.d.ts +2 -2
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +2 -2
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +1 -1
- package/dist-types/commands/GetMessageCommand.d.ts +4 -2
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -2
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +1 -1
- package/dist-types/commands/HideChannelCommand.d.ts +2 -2
- package/dist-types/commands/InviteCommand.d.ts +2 -2
- package/dist-types/commands/JoinChannelCommand.d.ts +4 -2
- package/dist-types/commands/LeaveChannelCommand.d.ts +2 -2
- package/dist-types/commands/ListChannelMembersCommand.d.ts +2 -2
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -2
- package/dist-types/commands/ListMessageReactionsCommand.d.ts +2 -2
- package/dist-types/commands/ListMessagesCommand.d.ts +4 -2
- package/dist-types/commands/MarkReadCommand.d.ts +2 -2
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +4 -2
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -2
- package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +1 -1
- package/dist-types/commands/SendGiphyCommand.d.ts +4 -2
- package/dist-types/commands/SendMessageCommand.d.ts +4 -2
- package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -2
- package/dist-types/commands/SendTypingStartCommand.d.ts +2 -2
- package/dist-types/commands/SendTypingStopCommand.d.ts +2 -2
- package/dist-types/commands/ShowChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateChannelCommand.d.ts +4 -2
- package/dist-types/commands/UpdateMessageCommand.d.ts +4 -2
- package/dist-types/commands/UploadFileCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +447 -170
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -9
- package/package.json +1 -1
- package/dist-cjs/commands/AssignChannelCommand.js +0 -21
- package/dist-es/commands/AssignChannelCommand.js +0 -17
- package/dist-types/commands/AssignChannelCommand.d.ts +0 -101
|
@@ -4,7 +4,6 @@ exports.Conversations = void 0;
|
|
|
4
4
|
const ConversationsClient_1 = require("./ConversationsClient");
|
|
5
5
|
const AddChannelMemberCommand_1 = require("./commands/AddChannelMemberCommand");
|
|
6
6
|
const AddChannelMembersCommand_1 = require("./commands/AddChannelMembersCommand");
|
|
7
|
-
const AssignChannelCommand_1 = require("./commands/AssignChannelCommand");
|
|
8
7
|
const CreateGroupChannelCommand_1 = require("./commands/CreateGroupChannelCommand");
|
|
9
8
|
const DeleteChannelCommand_1 = require("./commands/DeleteChannelCommand");
|
|
10
9
|
const DeleteChannelMemberCommand_1 = require("./commands/DeleteChannelMemberCommand");
|
|
@@ -43,7 +42,6 @@ const smithy_client_1 = require("@smithy/smithy-client");
|
|
|
43
42
|
const commands = {
|
|
44
43
|
AddChannelMemberCommand: AddChannelMemberCommand_1.AddChannelMemberCommand,
|
|
45
44
|
AddChannelMembersCommand: AddChannelMembersCommand_1.AddChannelMembersCommand,
|
|
46
|
-
AssignChannelCommand: AssignChannelCommand_1.AssignChannelCommand,
|
|
47
45
|
CreateGroupChannelCommand: CreateGroupChannelCommand_1.CreateGroupChannelCommand,
|
|
48
46
|
DeleteChannelCommand: DeleteChannelCommand_1.DeleteChannelCommand,
|
|
49
47
|
DeleteChannelMemberCommand: DeleteChannelMemberCommand_1.DeleteChannelMemberCommand,
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AddChannelMemberCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./AddChannelMembersCommand"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./AssignChannelCommand"), exports);
|
|
7
6
|
tslib_1.__exportStar(require("./CreateGroupChannelCommand"), exports);
|
|
8
7
|
tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./DeleteChannelMemberCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.FileNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ConversationFileCategory = exports.ChannelAlreadyExistException = exports.
|
|
3
|
+
exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.FileNotFoundException = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ConversationFileCategory = exports.ChannelAlreadyExistException = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
5
|
class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -62,28 +62,6 @@ class MemberAlreadyExistException extends ConversationsServiceException_1.Conver
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
exports.MemberAlreadyExistException = MemberAlreadyExistException;
|
|
65
|
-
var AssignChannelAssigneeRequest;
|
|
66
|
-
(function (AssignChannelAssigneeRequest) {
|
|
67
|
-
AssignChannelAssigneeRequest.visit = (value, visitor) => {
|
|
68
|
-
if (value.id !== undefined)
|
|
69
|
-
return visitor.id(value.id);
|
|
70
|
-
if (value.email !== undefined)
|
|
71
|
-
return visitor.email(value.email);
|
|
72
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
73
|
-
};
|
|
74
|
-
})(AssignChannelAssigneeRequest = exports.AssignChannelAssigneeRequest || (exports.AssignChannelAssigneeRequest = {}));
|
|
75
|
-
var AssignChannelServiceRequest;
|
|
76
|
-
(function (AssignChannelServiceRequest) {
|
|
77
|
-
AssignChannelServiceRequest.visit = (value, visitor) => {
|
|
78
|
-
if (value.uri !== undefined)
|
|
79
|
-
return visitor.uri(value.uri);
|
|
80
|
-
if (value.id !== undefined)
|
|
81
|
-
return visitor.id(value.id);
|
|
82
|
-
if (value.name !== undefined)
|
|
83
|
-
return visitor.name(value.name);
|
|
84
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
85
|
-
};
|
|
86
|
-
})(AssignChannelServiceRequest = exports.AssignChannelServiceRequest || (exports.AssignChannelServiceRequest = {}));
|
|
87
65
|
exports.ChannelAccess = {
|
|
88
66
|
PRIVATE: "private",
|
|
89
67
|
PUBLIC: "public",
|
|
@@ -97,6 +75,9 @@ exports.ChannelContextEventAttendeeStatus = {
|
|
|
97
75
|
exports.ChannelContextSource = {
|
|
98
76
|
KITE: "kite",
|
|
99
77
|
};
|
|
78
|
+
exports.ChannelWhatsAppStatus = {
|
|
79
|
+
CHANNEL_CLOSED: "24h_channel_closed",
|
|
80
|
+
};
|
|
100
81
|
class ChannelAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
101
82
|
constructor(opts) {
|
|
102
83
|
super({
|
|
@@ -172,6 +153,12 @@ exports.MessageType = {
|
|
|
172
153
|
REGULAR: "regular",
|
|
173
154
|
SYSTEM: "system",
|
|
174
155
|
};
|
|
156
|
+
exports.MessageWhatsAppStatus = {
|
|
157
|
+
DELIVERED: "delivered",
|
|
158
|
+
ERROR: "error",
|
|
159
|
+
SENT: "sent",
|
|
160
|
+
TRYING: "trying",
|
|
161
|
+
};
|
|
175
162
|
class FileNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
176
163
|
constructor(opts) {
|
|
177
164
|
super({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_DescribeEventCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateGroupChannelCommand = exports.
|
|
4
|
-
exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkReadCommand = exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_HideChannelCommand = exports.de_GetUploadedFileInfoCommand =
|
|
3
|
+
exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_DescribeEventCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateGroupChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UploadFileCommand = exports.se_UpdateMessageCommand = exports.se_UpdateChannelCommand = exports.se_ShowChannelCommand = exports.se_SendTypingStopCommand = exports.se_SendTypingStartCommand = exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = exports.se_SendGiphyCommand = exports.se_ScheduleExternalFlagAdjustmentJobCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MarkReadCommand = exports.se_ListMessagesCommand = exports.se_ListMessageReactionsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_InviteCommand = exports.se_HideChannelCommand = exports.se_GetUploadedFileInfoCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetFilePresignedDownloadUrlCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_DescribeEventCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateGroupChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
|
|
4
|
+
exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkReadCommand = exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_HideChannelCommand = exports.de_GetUploadedFileInfoCommand = void 0;
|
|
5
5
|
const ConversationsServiceException_1 = require("../models/ConversationsServiceException");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const core_1 = require("@smithy/core");
|
|
@@ -52,30 +52,6 @@ const se_AddChannelMembersCommand = async (input, context) => {
|
|
|
52
52
|
return b.build();
|
|
53
53
|
};
|
|
54
54
|
exports.se_AddChannelMembersCommand = se_AddChannelMembersCommand;
|
|
55
|
-
const se_AssignChannelCommand = async (input, context) => {
|
|
56
|
-
const b = (0, core_1.requestBuilder)(input, context);
|
|
57
|
-
const headers = {
|
|
58
|
-
'content-type': 'application/json',
|
|
59
|
-
};
|
|
60
|
-
b.bp("/v2/conversations/channels/{channelId}/assign");
|
|
61
|
-
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
62
|
-
const query = (0, smithy_client_1.map)({
|
|
63
|
-
[_u]: [, input[_uI]],
|
|
64
|
-
});
|
|
65
|
-
let body;
|
|
66
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
67
|
-
'assignee': _ => (0, smithy_client_1._json)(_),
|
|
68
|
-
'options': _ => (0, smithy_client_1._json)(_),
|
|
69
|
-
'service': _ => (0, smithy_client_1._json)(_),
|
|
70
|
-
'silent': [],
|
|
71
|
-
}));
|
|
72
|
-
b.m("POST")
|
|
73
|
-
.h(headers)
|
|
74
|
-
.q(query)
|
|
75
|
-
.b(body);
|
|
76
|
-
return b.build();
|
|
77
|
-
};
|
|
78
|
-
exports.se_AssignChannelCommand = se_AssignChannelCommand;
|
|
79
55
|
const se_CreateGroupChannelCommand = async (input, context) => {
|
|
80
56
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
81
57
|
const headers = {
|
|
@@ -732,22 +708,6 @@ const de_AddChannelMembersCommand = async (output, context) => {
|
|
|
732
708
|
return contents;
|
|
733
709
|
};
|
|
734
710
|
exports.de_AddChannelMembersCommand = de_AddChannelMembersCommand;
|
|
735
|
-
const de_AssignChannelCommand = async (output, context) => {
|
|
736
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
737
|
-
return de_CommandError(output, context);
|
|
738
|
-
}
|
|
739
|
-
const contents = (0, smithy_client_1.map)({
|
|
740
|
-
$metadata: deserializeMetadata(output),
|
|
741
|
-
});
|
|
742
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
743
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
744
|
-
'assignee': smithy_client_1._json,
|
|
745
|
-
'service': smithy_client_1._json,
|
|
746
|
-
});
|
|
747
|
-
Object.assign(contents, doc);
|
|
748
|
-
return contents;
|
|
749
|
-
};
|
|
750
|
-
exports.de_AssignChannelCommand = de_AssignChannelCommand;
|
|
751
711
|
const de_CreateGroupChannelCommand = async (output, context) => {
|
|
752
712
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
753
713
|
return de_CommandError(output, context);
|
package/dist-es/Conversations.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ConversationsClient, } from "./ConversationsClient";
|
|
2
2
|
import { AddChannelMemberCommand, } from "./commands/AddChannelMemberCommand";
|
|
3
3
|
import { AddChannelMembersCommand, } from "./commands/AddChannelMembersCommand";
|
|
4
|
-
import { AssignChannelCommand, } from "./commands/AssignChannelCommand";
|
|
5
4
|
import { CreateGroupChannelCommand, } from "./commands/CreateGroupChannelCommand";
|
|
6
5
|
import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
|
|
7
6
|
import { DeleteChannelMemberCommand, } from "./commands/DeleteChannelMemberCommand";
|
|
@@ -40,7 +39,6 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
40
39
|
const commands = {
|
|
41
40
|
AddChannelMemberCommand,
|
|
42
41
|
AddChannelMembersCommand,
|
|
43
|
-
AssignChannelCommand,
|
|
44
42
|
CreateGroupChannelCommand,
|
|
45
43
|
DeleteChannelCommand,
|
|
46
44
|
DeleteChannelMemberCommand,
|
|
@@ -55,28 +55,6 @@ export class MemberAlreadyExistException extends __BaseException {
|
|
|
55
55
|
Object.setPrototypeOf(this, MemberAlreadyExistException.prototype);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
export var AssignChannelAssigneeRequest;
|
|
59
|
-
(function (AssignChannelAssigneeRequest) {
|
|
60
|
-
AssignChannelAssigneeRequest.visit = (value, visitor) => {
|
|
61
|
-
if (value.id !== undefined)
|
|
62
|
-
return visitor.id(value.id);
|
|
63
|
-
if (value.email !== undefined)
|
|
64
|
-
return visitor.email(value.email);
|
|
65
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
66
|
-
};
|
|
67
|
-
})(AssignChannelAssigneeRequest || (AssignChannelAssigneeRequest = {}));
|
|
68
|
-
export var AssignChannelServiceRequest;
|
|
69
|
-
(function (AssignChannelServiceRequest) {
|
|
70
|
-
AssignChannelServiceRequest.visit = (value, visitor) => {
|
|
71
|
-
if (value.uri !== undefined)
|
|
72
|
-
return visitor.uri(value.uri);
|
|
73
|
-
if (value.id !== undefined)
|
|
74
|
-
return visitor.id(value.id);
|
|
75
|
-
if (value.name !== undefined)
|
|
76
|
-
return visitor.name(value.name);
|
|
77
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
78
|
-
};
|
|
79
|
-
})(AssignChannelServiceRequest || (AssignChannelServiceRequest = {}));
|
|
80
58
|
export const ChannelAccess = {
|
|
81
59
|
PRIVATE: "private",
|
|
82
60
|
PUBLIC: "public",
|
|
@@ -90,6 +68,9 @@ export const ChannelContextEventAttendeeStatus = {
|
|
|
90
68
|
export const ChannelContextSource = {
|
|
91
69
|
KITE: "kite",
|
|
92
70
|
};
|
|
71
|
+
export const ChannelWhatsAppStatus = {
|
|
72
|
+
CHANNEL_CLOSED: "24h_channel_closed",
|
|
73
|
+
};
|
|
93
74
|
export class ChannelAlreadyExistException extends __BaseException {
|
|
94
75
|
constructor(opts) {
|
|
95
76
|
super({
|
|
@@ -162,6 +143,12 @@ export const MessageType = {
|
|
|
162
143
|
REGULAR: "regular",
|
|
163
144
|
SYSTEM: "system",
|
|
164
145
|
};
|
|
146
|
+
export const MessageWhatsAppStatus = {
|
|
147
|
+
DELIVERED: "delivered",
|
|
148
|
+
ERROR: "error",
|
|
149
|
+
SENT: "sent",
|
|
150
|
+
TRYING: "trying",
|
|
151
|
+
};
|
|
165
152
|
export class FileNotFoundException extends __BaseException {
|
|
166
153
|
constructor(opts) {
|
|
167
154
|
super({
|
|
@@ -46,29 +46,6 @@ export const se_AddChannelMembersCommand = async (input, context) => {
|
|
|
46
46
|
.b(body);
|
|
47
47
|
return b.build();
|
|
48
48
|
};
|
|
49
|
-
export const se_AssignChannelCommand = async (input, context) => {
|
|
50
|
-
const b = rb(input, context);
|
|
51
|
-
const headers = {
|
|
52
|
-
'content-type': 'application/json',
|
|
53
|
-
};
|
|
54
|
-
b.bp("/v2/conversations/channels/{channelId}/assign");
|
|
55
|
-
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
56
|
-
const query = map({
|
|
57
|
-
[_u]: [, input[_uI]],
|
|
58
|
-
});
|
|
59
|
-
let body;
|
|
60
|
-
body = JSON.stringify(take(input, {
|
|
61
|
-
'assignee': _ => _json(_),
|
|
62
|
-
'options': _ => _json(_),
|
|
63
|
-
'service': _ => _json(_),
|
|
64
|
-
'silent': [],
|
|
65
|
-
}));
|
|
66
|
-
b.m("POST")
|
|
67
|
-
.h(headers)
|
|
68
|
-
.q(query)
|
|
69
|
-
.b(body);
|
|
70
|
-
return b.build();
|
|
71
|
-
};
|
|
72
49
|
export const se_CreateGroupChannelCommand = async (input, context) => {
|
|
73
50
|
const b = rb(input, context);
|
|
74
51
|
const headers = {
|
|
@@ -689,21 +666,6 @@ export const de_AddChannelMembersCommand = async (output, context) => {
|
|
|
689
666
|
Object.assign(contents, doc);
|
|
690
667
|
return contents;
|
|
691
668
|
};
|
|
692
|
-
export const de_AssignChannelCommand = async (output, context) => {
|
|
693
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
694
|
-
return de_CommandError(output, context);
|
|
695
|
-
}
|
|
696
|
-
const contents = map({
|
|
697
|
-
$metadata: deserializeMetadata(output),
|
|
698
|
-
});
|
|
699
|
-
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
700
|
-
const doc = take(data, {
|
|
701
|
-
'assignee': _json,
|
|
702
|
-
'service': _json,
|
|
703
|
-
});
|
|
704
|
-
Object.assign(contents, doc);
|
|
705
|
-
return contents;
|
|
706
|
-
};
|
|
707
669
|
export const de_CreateGroupChannelCommand = async (output, context) => {
|
|
708
670
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
709
671
|
return de_CommandError(output, context);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ConversationsClient } from "./ConversationsClient";
|
|
2
2
|
import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./commands/AddChannelMemberCommand";
|
|
3
3
|
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
|
|
4
|
-
import { AssignChannelCommandInput, AssignChannelCommandOutput } from "./commands/AssignChannelCommand";
|
|
5
4
|
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
6
5
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
7
6
|
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
@@ -50,12 +49,6 @@ export interface Conversations {
|
|
|
50
49
|
addChannelMembers(args: AddChannelMembersCommandInput, options?: __HttpHandlerOptions): Promise<AddChannelMembersCommandOutput>;
|
|
51
50
|
addChannelMembers(args: AddChannelMembersCommandInput, cb: (err: any, data?: AddChannelMembersCommandOutput) => void): void;
|
|
52
51
|
addChannelMembers(args: AddChannelMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddChannelMembersCommandOutput) => void): void;
|
|
53
|
-
/**
|
|
54
|
-
* @see {@link AssignChannelCommand}
|
|
55
|
-
*/
|
|
56
|
-
assignChannel(args: AssignChannelCommandInput, options?: __HttpHandlerOptions): Promise<AssignChannelCommandOutput>;
|
|
57
|
-
assignChannel(args: AssignChannelCommandInput, cb: (err: any, data?: AssignChannelCommandOutput) => void): void;
|
|
58
|
-
assignChannel(args: AssignChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssignChannelCommandOutput) => void): void;
|
|
59
52
|
/**
|
|
60
53
|
* @see {@link CreateGroupChannelCommand}
|
|
61
54
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./commands/AddChannelMemberCommand";
|
|
2
2
|
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
|
|
3
|
-
import { AssignChannelCommandInput, AssignChannelCommandOutput } from "./commands/AssignChannelCommand";
|
|
4
3
|
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
5
4
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
6
5
|
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
@@ -45,11 +44,11 @@ export { __Client };
|
|
|
45
44
|
/**
|
|
46
45
|
* @public
|
|
47
46
|
*/
|
|
48
|
-
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput |
|
|
47
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
49
48
|
/**
|
|
50
49
|
* @public
|
|
51
50
|
*/
|
|
52
|
-
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput |
|
|
51
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
53
52
|
/**
|
|
54
53
|
* @public
|
|
55
54
|
*/
|
|
@@ -26,8 +26,7 @@ declare const AddChannelMemberCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Adds a single member to an existing channel. This operation will either add an existing user or invite a new user to the channel. This operation is idempotent, meaning that if the member already exists, the operation will still return a successful response.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -93,6 +92,7 @@ declare const AddChannelMemberCommand_base: {
|
|
|
93
92
|
* @throws {@link ConversationsServiceException}
|
|
94
93
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
95
94
|
*
|
|
95
|
+
* @public
|
|
96
96
|
*/
|
|
97
97
|
export declare class AddChannelMemberCommand extends AddChannelMemberCommand_base {
|
|
98
98
|
}
|
|
@@ -26,8 +26,7 @@ declare const AddChannelMembersCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Adds members to an existing channel. This operation is idempotent, meaning that if a member already exists in the channel, the operation will still return a successful response.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -101,6 +100,7 @@ declare const AddChannelMembersCommand_base: {
|
|
|
101
100
|
* @throws {@link ConversationsServiceException}
|
|
102
101
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
103
102
|
*
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
export declare class AddChannelMembersCommand extends AddChannelMembersCommand_base {
|
|
106
106
|
}
|
|
@@ -26,8 +26,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Creates a new group channel with specified members and members to invite.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -115,6 +114,8 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
115
114
|
* // telephony: true || false,
|
|
116
115
|
* // sms: true || false,
|
|
117
116
|
* // mms: true || false,
|
|
117
|
+
* // whatsapp: true || false,
|
|
118
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
118
119
|
* // broadcast: true || false,
|
|
119
120
|
* // external: true || false,
|
|
120
121
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -143,6 +144,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
143
144
|
* @throws {@link ConversationsServiceException}
|
|
144
145
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
145
146
|
*
|
|
147
|
+
* @public
|
|
146
148
|
*/
|
|
147
149
|
export declare class CreateGroupChannelCommand extends CreateGroupChannelCommand_base {
|
|
148
150
|
}
|
|
@@ -26,8 +26,7 @@ declare const DeleteChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Deletes an existing channel. This operation is idempotent, meaning that if the channel does not exist, the operation will still return a successful response.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -49,8 +48,6 @@ declare const DeleteChannelCommand_base: {
|
|
|
49
48
|
* @see {@link DeleteChannelCommandOutput} for command's `response` shape.
|
|
50
49
|
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
51
50
|
*
|
|
52
|
-
* @throws {@link ChannelNotFoundException} (client fault)
|
|
53
|
-
*
|
|
54
51
|
* @throws {@link ValidationException} (client fault)
|
|
55
52
|
*
|
|
56
53
|
* @throws {@link ForbiddenException} (client fault)
|
|
@@ -58,6 +55,7 @@ declare const DeleteChannelCommand_base: {
|
|
|
58
55
|
* @throws {@link ConversationsServiceException}
|
|
59
56
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
60
57
|
*
|
|
58
|
+
* @public
|
|
61
59
|
*/
|
|
62
60
|
export declare class DeleteChannelCommand extends DeleteChannelCommand_base {
|
|
63
61
|
}
|
|
@@ -26,8 +26,7 @@ declare const DeleteChannelMemberCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Deletes a specific member from a channel. This operation is idempotent, meaning that if the member does not exist, the operation will still return a successful response.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -63,6 +62,7 @@ declare const DeleteChannelMemberCommand_base: {
|
|
|
63
62
|
* @throws {@link ConversationsServiceException}
|
|
64
63
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
65
64
|
*
|
|
65
|
+
* @public
|
|
66
66
|
*/
|
|
67
67
|
export declare class DeleteChannelMemberCommand extends DeleteChannelMemberCommand_base {
|
|
68
68
|
}
|
|
@@ -26,8 +26,7 @@ declare const DeleteMessageCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Deletes an existing message in a specified channel. This operation is idempotent and requires the channel and message to be accessible to the user.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -62,6 +61,7 @@ declare const DeleteMessageCommand_base: {
|
|
|
62
61
|
* @throws {@link ConversationsServiceException}
|
|
63
62
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
64
63
|
*
|
|
64
|
+
* @public
|
|
65
65
|
*/
|
|
66
66
|
export declare class DeleteMessageCommand extends DeleteMessageCommand_base {
|
|
67
67
|
}
|
|
@@ -26,8 +26,7 @@ declare const DeleteMessageReactionCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Deletes a reaction from a specific message in a specified channel. This operation is idempotent and requires the channel and message to be accessible to the user.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -63,6 +62,7 @@ declare const DeleteMessageReactionCommand_base: {
|
|
|
63
62
|
* @throws {@link ConversationsServiceException}
|
|
64
63
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
65
64
|
*
|
|
65
|
+
* @public
|
|
66
66
|
*/
|
|
67
67
|
export declare class DeleteMessageReactionCommand extends DeleteMessageReactionCommand_base {
|
|
68
68
|
}
|
|
@@ -103,6 +103,8 @@ declare const DescribeEventCommand_base: {
|
|
|
103
103
|
* // telephony: true || false,
|
|
104
104
|
* // sms: true || false,
|
|
105
105
|
* // mms: true || false,
|
|
106
|
+
* // whatsapp: true || false,
|
|
107
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
106
108
|
* // broadcast: true || false,
|
|
107
109
|
* // external: true || false,
|
|
108
110
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -206,6 +208,8 @@ declare const DescribeEventCommand_base: {
|
|
|
206
208
|
* // telephony: true || false,
|
|
207
209
|
* // sms: true || false,
|
|
208
210
|
* // mms: true || false,
|
|
211
|
+
* // whatsapp: true || false,
|
|
212
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
209
213
|
* // broadcast: true || false,
|
|
210
214
|
* // external: true || false,
|
|
211
215
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -309,6 +313,8 @@ declare const DescribeEventCommand_base: {
|
|
|
309
313
|
* // telephony: true || false,
|
|
310
314
|
* // sms: true || false,
|
|
311
315
|
* // mms: true || false,
|
|
316
|
+
* // whatsapp: true || false,
|
|
317
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
312
318
|
* // broadcast: true || false,
|
|
313
319
|
* // external: true || false,
|
|
314
320
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -374,6 +380,8 @@ declare const DescribeEventCommand_base: {
|
|
|
374
380
|
* // telephony: true || false,
|
|
375
381
|
* // sms: true || false,
|
|
376
382
|
* // mms: true || false,
|
|
383
|
+
* // whatsapp: true || false,
|
|
384
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
377
385
|
* // broadcast: true || false,
|
|
378
386
|
* // external: true || false,
|
|
379
387
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -439,6 +447,8 @@ declare const DescribeEventCommand_base: {
|
|
|
439
447
|
* // telephony: true || false,
|
|
440
448
|
* // sms: true || false,
|
|
441
449
|
* // mms: true || false,
|
|
450
|
+
* // whatsapp: true || false,
|
|
451
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
442
452
|
* // broadcast: true || false,
|
|
443
453
|
* // external: true || false,
|
|
444
454
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -526,6 +536,8 @@ declare const DescribeEventCommand_base: {
|
|
|
526
536
|
* // event: "STRING_VALUE",
|
|
527
537
|
* // sms: true || false,
|
|
528
538
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
539
|
+
* // whatsapp: true || false,
|
|
540
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
529
541
|
* // messageId: "STRING_VALUE", // required
|
|
530
542
|
* // channelId: "STRING_VALUE", // required
|
|
531
543
|
* // user: "<User>", // required
|
|
@@ -622,6 +634,8 @@ declare const DescribeEventCommand_base: {
|
|
|
622
634
|
* // event: "STRING_VALUE",
|
|
623
635
|
* // sms: true || false,
|
|
624
636
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
637
|
+
* // whatsapp: true || false,
|
|
638
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
625
639
|
* // messageId: "STRING_VALUE", // required
|
|
626
640
|
* // channelId: "STRING_VALUE", // required
|
|
627
641
|
* // user: "<User>", // required
|
|
@@ -696,6 +710,8 @@ declare const DescribeEventCommand_base: {
|
|
|
696
710
|
* // event: "STRING_VALUE",
|
|
697
711
|
* // sms: true || false,
|
|
698
712
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
713
|
+
* // whatsapp: true || false,
|
|
714
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
699
715
|
* // messageId: "STRING_VALUE", // required
|
|
700
716
|
* // channelId: "STRING_VALUE", // required
|
|
701
717
|
* // user: "<User>", // required
|
|
@@ -748,6 +764,8 @@ declare const DescribeEventCommand_base: {
|
|
|
748
764
|
* // event: "STRING_VALUE",
|
|
749
765
|
* // sms: true || false,
|
|
750
766
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
767
|
+
* // whatsapp: true || false,
|
|
768
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
751
769
|
* // messageId: "STRING_VALUE", // required
|
|
752
770
|
* // channelId: "STRING_VALUE", // required
|
|
753
771
|
* // user: "<User>", // required
|
|
@@ -806,6 +824,8 @@ declare const DescribeEventCommand_base: {
|
|
|
806
824
|
* // event: "STRING_VALUE",
|
|
807
825
|
* // sms: true || false,
|
|
808
826
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
827
|
+
* // whatsapp: true || false,
|
|
828
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
809
829
|
* // messageId: "STRING_VALUE", // required
|
|
810
830
|
* // channelId: "STRING_VALUE", // required
|
|
811
831
|
* // user: "<User>", // required
|
|
@@ -26,8 +26,7 @@ declare const GetChannelCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves details of a specific channel by its unique identifier.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -97,6 +96,8 @@ declare const GetChannelCommand_base: {
|
|
|
97
96
|
* // telephony: true || false,
|
|
98
97
|
* // sms: true || false,
|
|
99
98
|
* // mms: true || false,
|
|
99
|
+
* // whatsapp: true || false,
|
|
100
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
100
101
|
* // broadcast: true || false,
|
|
101
102
|
* // external: true || false,
|
|
102
103
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -125,6 +126,7 @@ declare const GetChannelCommand_base: {
|
|
|
125
126
|
* @throws {@link ConversationsServiceException}
|
|
126
127
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
127
128
|
*
|
|
129
|
+
* @public
|
|
128
130
|
*/
|
|
129
131
|
export declare class GetChannelCommand extends GetChannelCommand_base {
|
|
130
132
|
}
|
|
@@ -26,8 +26,7 @@ declare const GetChannelMemberCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Retrieves details of a specific member in a channel. This includes the member's role and user information.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -85,6 +84,7 @@ declare const GetChannelMemberCommand_base: {
|
|
|
85
84
|
* @throws {@link ConversationsServiceException}
|
|
86
85
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
87
86
|
*
|
|
87
|
+
* @public
|
|
88
88
|
*/
|
|
89
89
|
export declare class GetChannelMemberCommand extends GetChannelMemberCommand_base {
|
|
90
90
|
}
|
|
@@ -26,8 +26,7 @@ declare const GetDirectChannelIdCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Gets the channel ID of an existing or non-existing direct channel between the specified user and another member.
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -65,6 +64,7 @@ declare const GetDirectChannelIdCommand_base: {
|
|
|
65
64
|
* @throws {@link ConversationsServiceException}
|
|
66
65
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
67
66
|
*
|
|
67
|
+
* @public
|
|
68
68
|
*/
|
|
69
69
|
export declare class GetDirectChannelIdCommand extends GetDirectChannelIdCommand_base {
|
|
70
70
|
}
|
|
@@ -26,7 +26,7 @@ declare const GetFilePresignedDownloadUrlCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Retrieves a presigned URL for downloading a specific file from a message in a specified channel.
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|