@wildix/xbees-conversations-client 1.0.30 → 1.0.32
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 +1208 -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 +1178 -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 +3 -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 +455 -172
- package/dist-types/protocols/Aws_restJson1.d.ts +154 -10
- package/package.json +1 -1
|
@@ -1,45 +1,79 @@
|
|
|
1
1
|
import { ConversationsClient } from "./ConversationsClient";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./commands/AddChannelMemberCommand";
|
|
3
|
+
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
|
|
4
|
+
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
4
5
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
6
|
+
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
5
7
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
8
|
+
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
6
9
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
7
10
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
11
|
+
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
8
12
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
13
|
+
import { GetMessageReactionsCommandInput, GetMessageReactionsCommandOutput } from "./commands/GetMessageReactionsCommand";
|
|
14
|
+
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
15
|
+
import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
|
|
9
16
|
import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/JoinChannelCommand";
|
|
17
|
+
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
|
|
18
|
+
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
|
|
10
19
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
11
20
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
21
|
+
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
12
22
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
13
23
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
14
24
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
25
|
+
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
26
|
+
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
27
|
+
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
28
|
+
import { SendSystemMessageCommandInput, SendSystemMessageCommandOutput } from "./commands/SendSystemMessageCommand";
|
|
29
|
+
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
30
|
+
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
15
31
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
16
32
|
import { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
|
|
17
33
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
18
34
|
export interface Conversations {
|
|
19
35
|
/**
|
|
20
|
-
* @see {@link
|
|
36
|
+
* @see {@link AddChannelMemberCommand}
|
|
21
37
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
38
|
+
addChannelMember(args: AddChannelMemberCommandInput, options?: __HttpHandlerOptions): Promise<AddChannelMemberCommandOutput>;
|
|
39
|
+
addChannelMember(args: AddChannelMemberCommandInput, cb: (err: any, data?: AddChannelMemberCommandOutput) => void): void;
|
|
40
|
+
addChannelMember(args: AddChannelMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddChannelMemberCommandOutput) => void): void;
|
|
25
41
|
/**
|
|
26
|
-
* @see {@link
|
|
42
|
+
* @see {@link AddChannelMembersCommand}
|
|
27
43
|
*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
44
|
+
addChannelMembers(args: AddChannelMembersCommandInput, options?: __HttpHandlerOptions): Promise<AddChannelMembersCommandOutput>;
|
|
45
|
+
addChannelMembers(args: AddChannelMembersCommandInput, cb: (err: any, data?: AddChannelMembersCommandOutput) => void): void;
|
|
46
|
+
addChannelMembers(args: AddChannelMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddChannelMembersCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link CreateGroupChannelCommand}
|
|
49
|
+
*/
|
|
50
|
+
createGroupChannel(args: CreateGroupChannelCommandInput, options?: __HttpHandlerOptions): Promise<CreateGroupChannelCommandOutput>;
|
|
51
|
+
createGroupChannel(args: CreateGroupChannelCommandInput, cb: (err: any, data?: CreateGroupChannelCommandOutput) => void): void;
|
|
52
|
+
createGroupChannel(args: CreateGroupChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGroupChannelCommandOutput) => void): void;
|
|
31
53
|
/**
|
|
32
54
|
* @see {@link DeleteChannelCommand}
|
|
33
55
|
*/
|
|
34
56
|
deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelCommandOutput>;
|
|
35
57
|
deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
36
58
|
deleteChannel(args: DeleteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link DeleteChannelMemberCommand}
|
|
61
|
+
*/
|
|
62
|
+
deleteChannelMember(args: DeleteChannelMemberCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelMemberCommandOutput>;
|
|
63
|
+
deleteChannelMember(args: DeleteChannelMemberCommandInput, cb: (err: any, data?: DeleteChannelMemberCommandOutput) => void): void;
|
|
64
|
+
deleteChannelMember(args: DeleteChannelMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelMemberCommandOutput) => void): void;
|
|
37
65
|
/**
|
|
38
66
|
* @see {@link DeleteMessageCommand}
|
|
39
67
|
*/
|
|
40
68
|
deleteMessage(args: DeleteMessageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMessageCommandOutput>;
|
|
41
69
|
deleteMessage(args: DeleteMessageCommandInput, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void;
|
|
42
70
|
deleteMessage(args: DeleteMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link DeleteMessageReactionCommand}
|
|
73
|
+
*/
|
|
74
|
+
deleteMessageReaction(args: DeleteMessageReactionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMessageReactionCommandOutput>;
|
|
75
|
+
deleteMessageReaction(args: DeleteMessageReactionCommandInput, cb: (err: any, data?: DeleteMessageReactionCommandOutput) => void): void;
|
|
76
|
+
deleteMessageReaction(args: DeleteMessageReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageReactionCommandOutput) => void): void;
|
|
43
77
|
/**
|
|
44
78
|
* @see {@link GetChannelCommand}
|
|
45
79
|
*/
|
|
@@ -52,18 +86,54 @@ export interface Conversations {
|
|
|
52
86
|
getChannelMember(args: GetChannelMemberCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelMemberCommandOutput>;
|
|
53
87
|
getChannelMember(args: GetChannelMemberCommandInput, cb: (err: any, data?: GetChannelMemberCommandOutput) => void): void;
|
|
54
88
|
getChannelMember(args: GetChannelMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelMemberCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* @see {@link GetDirectChannelIdCommand}
|
|
91
|
+
*/
|
|
92
|
+
getDirectChannelId(args: GetDirectChannelIdCommandInput, options?: __HttpHandlerOptions): Promise<GetDirectChannelIdCommandOutput>;
|
|
93
|
+
getDirectChannelId(args: GetDirectChannelIdCommandInput, cb: (err: any, data?: GetDirectChannelIdCommandOutput) => void): void;
|
|
94
|
+
getDirectChannelId(args: GetDirectChannelIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDirectChannelIdCommandOutput) => void): void;
|
|
55
95
|
/**
|
|
56
96
|
* @see {@link GetMessageCommand}
|
|
57
97
|
*/
|
|
58
98
|
getMessage(args: GetMessageCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageCommandOutput>;
|
|
59
99
|
getMessage(args: GetMessageCommandInput, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
|
|
60
100
|
getMessage(args: GetMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link GetMessageReactionsCommand}
|
|
103
|
+
*/
|
|
104
|
+
getMessageReactions(args: GetMessageReactionsCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageReactionsCommandOutput>;
|
|
105
|
+
getMessageReactions(args: GetMessageReactionsCommandInput, cb: (err: any, data?: GetMessageReactionsCommandOutput) => void): void;
|
|
106
|
+
getMessageReactions(args: GetMessageReactionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageReactionsCommandOutput) => void): void;
|
|
107
|
+
/**
|
|
108
|
+
* @see {@link GetOrCreateDirectChannelCommand}
|
|
109
|
+
*/
|
|
110
|
+
getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetOrCreateDirectChannelCommandOutput>;
|
|
111
|
+
getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
|
|
112
|
+
getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
|
|
113
|
+
/**
|
|
114
|
+
* @see {@link InviteCommand}
|
|
115
|
+
*/
|
|
116
|
+
invite(args: InviteCommandInput, options?: __HttpHandlerOptions): Promise<InviteCommandOutput>;
|
|
117
|
+
invite(args: InviteCommandInput, cb: (err: any, data?: InviteCommandOutput) => void): void;
|
|
118
|
+
invite(args: InviteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InviteCommandOutput) => void): void;
|
|
61
119
|
/**
|
|
62
120
|
* @see {@link JoinChannelCommand}
|
|
63
121
|
*/
|
|
64
122
|
joinChannel(args: JoinChannelCommandInput, options?: __HttpHandlerOptions): Promise<JoinChannelCommandOutput>;
|
|
65
123
|
joinChannel(args: JoinChannelCommandInput, cb: (err: any, data?: JoinChannelCommandOutput) => void): void;
|
|
66
124
|
joinChannel(args: JoinChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: JoinChannelCommandOutput) => void): void;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link LeaveChannelCommand}
|
|
127
|
+
*/
|
|
128
|
+
leaveChannel(args: LeaveChannelCommandInput, options?: __HttpHandlerOptions): Promise<LeaveChannelCommandOutput>;
|
|
129
|
+
leaveChannel(args: LeaveChannelCommandInput, cb: (err: any, data?: LeaveChannelCommandOutput) => void): void;
|
|
130
|
+
leaveChannel(args: LeaveChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LeaveChannelCommandOutput) => void): void;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link ListChannelMembersCommand}
|
|
133
|
+
*/
|
|
134
|
+
listChannelMembers(args: ListChannelMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelMembersCommandOutput>;
|
|
135
|
+
listChannelMembers(args: ListChannelMembersCommandInput, cb: (err: any, data?: ListChannelMembersCommandOutput) => void): void;
|
|
136
|
+
listChannelMembers(args: ListChannelMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelMembersCommandOutput) => void): void;
|
|
67
137
|
/**
|
|
68
138
|
* @see {@link ListChannelsCommand}
|
|
69
139
|
*/
|
|
@@ -76,6 +146,12 @@ export interface Conversations {
|
|
|
76
146
|
listMessages(args: ListMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListMessagesCommandOutput>;
|
|
77
147
|
listMessages(args: ListMessagesCommandInput, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
78
148
|
listMessages(args: ListMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link MarkReadCommand}
|
|
151
|
+
*/
|
|
152
|
+
markRead(args: MarkReadCommandInput, options?: __HttpHandlerOptions): Promise<MarkReadCommandOutput>;
|
|
153
|
+
markRead(args: MarkReadCommandInput, cb: (err: any, data?: MarkReadCommandOutput) => void): void;
|
|
154
|
+
markRead(args: MarkReadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MarkReadCommandOutput) => void): void;
|
|
79
155
|
/**
|
|
80
156
|
* @see {@link PartialUpdateChannelCommand}
|
|
81
157
|
*/
|
|
@@ -94,6 +170,42 @@ export interface Conversations {
|
|
|
94
170
|
scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, options?: __HttpHandlerOptions): Promise<ScheduleExternalFlagAdjustmentJobCommandOutput>;
|
|
95
171
|
scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, cb: (err: any, data?: ScheduleExternalFlagAdjustmentJobCommandOutput) => void): void;
|
|
96
172
|
scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScheduleExternalFlagAdjustmentJobCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link SendGiphyCommand}
|
|
175
|
+
*/
|
|
176
|
+
sendGiphy(args: SendGiphyCommandInput, options?: __HttpHandlerOptions): Promise<SendGiphyCommandOutput>;
|
|
177
|
+
sendGiphy(args: SendGiphyCommandInput, cb: (err: any, data?: SendGiphyCommandOutput) => void): void;
|
|
178
|
+
sendGiphy(args: SendGiphyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendGiphyCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link SendMessageCommand}
|
|
181
|
+
*/
|
|
182
|
+
sendMessage(args: SendMessageCommandInput, options?: __HttpHandlerOptions): Promise<SendMessageCommandOutput>;
|
|
183
|
+
sendMessage(args: SendMessageCommandInput, cb: (err: any, data?: SendMessageCommandOutput) => void): void;
|
|
184
|
+
sendMessage(args: SendMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessageCommandOutput) => void): void;
|
|
185
|
+
/**
|
|
186
|
+
* @see {@link SendMessageReactionCommand}
|
|
187
|
+
*/
|
|
188
|
+
sendMessageReaction(args: SendMessageReactionCommandInput, options?: __HttpHandlerOptions): Promise<SendMessageReactionCommandOutput>;
|
|
189
|
+
sendMessageReaction(args: SendMessageReactionCommandInput, cb: (err: any, data?: SendMessageReactionCommandOutput) => void): void;
|
|
190
|
+
sendMessageReaction(args: SendMessageReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessageReactionCommandOutput) => void): void;
|
|
191
|
+
/**
|
|
192
|
+
* @see {@link SendSystemMessageCommand}
|
|
193
|
+
*/
|
|
194
|
+
sendSystemMessage(args: SendSystemMessageCommandInput, options?: __HttpHandlerOptions): Promise<SendSystemMessageCommandOutput>;
|
|
195
|
+
sendSystemMessage(args: SendSystemMessageCommandInput, cb: (err: any, data?: SendSystemMessageCommandOutput) => void): void;
|
|
196
|
+
sendSystemMessage(args: SendSystemMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendSystemMessageCommandOutput) => void): void;
|
|
197
|
+
/**
|
|
198
|
+
* @see {@link SendTypingStartCommand}
|
|
199
|
+
*/
|
|
200
|
+
sendTypingStart(args: SendTypingStartCommandInput, options?: __HttpHandlerOptions): Promise<SendTypingStartCommandOutput>;
|
|
201
|
+
sendTypingStart(args: SendTypingStartCommandInput, cb: (err: any, data?: SendTypingStartCommandOutput) => void): void;
|
|
202
|
+
sendTypingStart(args: SendTypingStartCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendTypingStartCommandOutput) => void): void;
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link SendTypingStopCommand}
|
|
205
|
+
*/
|
|
206
|
+
sendTypingStop(args: SendTypingStopCommandInput, options?: __HttpHandlerOptions): Promise<SendTypingStopCommandOutput>;
|
|
207
|
+
sendTypingStop(args: SendTypingStopCommandInput, cb: (err: any, data?: SendTypingStopCommandOutput) => void): void;
|
|
208
|
+
sendTypingStop(args: SendTypingStopCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendTypingStopCommandOutput) => void): void;
|
|
97
209
|
/**
|
|
98
210
|
* @see {@link UpdateChannelCommand}
|
|
99
211
|
*/
|
|
@@ -1,16 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "./commands/AddChannelMemberCommand";
|
|
2
|
+
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "./commands/AddChannelMembersCommand";
|
|
3
|
+
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "./commands/CreateGroupChannelCommand";
|
|
3
4
|
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
5
|
+
import { DeleteChannelMemberCommandInput, DeleteChannelMemberCommandOutput } from "./commands/DeleteChannelMemberCommand";
|
|
4
6
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
7
|
+
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
5
8
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
6
9
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
10
|
+
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
7
11
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
12
|
+
import { GetMessageReactionsCommandInput, GetMessageReactionsCommandOutput } from "./commands/GetMessageReactionsCommand";
|
|
13
|
+
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
14
|
+
import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
|
|
8
15
|
import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/JoinChannelCommand";
|
|
16
|
+
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
|
|
17
|
+
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
|
|
9
18
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
10
19
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
20
|
+
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
11
21
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
12
22
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
13
23
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
24
|
+
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
25
|
+
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
26
|
+
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
27
|
+
import { SendSystemMessageCommandInput, SendSystemMessageCommandOutput } from "./commands/SendSystemMessageCommand";
|
|
28
|
+
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
|
|
29
|
+
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
14
30
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
15
31
|
import { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
|
|
16
32
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -22,11 +38,11 @@ export { __Client };
|
|
|
22
38
|
/**
|
|
23
39
|
* @public
|
|
24
40
|
*/
|
|
25
|
-
export type ServiceInputTypes =
|
|
41
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetMessageCommandInput | GetMessageReactionsCommandInput | GetOrCreateDirectChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendSystemMessageCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput;
|
|
26
42
|
/**
|
|
27
43
|
* @public
|
|
28
44
|
*/
|
|
29
|
-
export type ServiceOutputTypes =
|
|
45
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetMessageCommandOutput | GetMessageReactionsCommandOutput | GetOrCreateDirectChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendSystemMessageCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput;
|
|
30
46
|
/**
|
|
31
47
|
* @public
|
|
32
48
|
*/
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { AddChannelMemberInput, AddChannelMemberOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link AddChannelMemberCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface AddChannelMemberCommandInput extends AddChannelMemberInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link AddChannelMemberCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface AddChannelMemberCommandOutput extends AddChannelMemberOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ConversationsClient, AddChannelMemberCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
30
|
+
* // const { ConversationsClient, AddChannelMemberCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
31
|
+
* const client = new ConversationsClient(config);
|
|
32
|
+
* const input = { // AddChannelMemberInput
|
|
33
|
+
* channelId: "STRING_VALUE", // required
|
|
34
|
+
* memberId: "STRING_VALUE",
|
|
35
|
+
* memberToInvite: { // UserToInvite
|
|
36
|
+
* email: "STRING_VALUE",
|
|
37
|
+
* phone: "STRING_VALUE",
|
|
38
|
+
* name: "STRING_VALUE",
|
|
39
|
+
* colleague: true || false,
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
42
|
+
* const command = new AddChannelMemberCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // AddChannelMemberOutput
|
|
45
|
+
* // member: { // ChannelMember
|
|
46
|
+
* // id: "STRING_VALUE", // required
|
|
47
|
+
* // createdAt: "STRING_VALUE", // required
|
|
48
|
+
* // role: "member" || "supervisor", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // user: { // User
|
|
51
|
+
* // id: "STRING_VALUE", // required
|
|
52
|
+
* // name: "STRING_VALUE",
|
|
53
|
+
* // email: "STRING_VALUE",
|
|
54
|
+
* // phone: "STRING_VALUE",
|
|
55
|
+
* // picture: "STRING_VALUE",
|
|
56
|
+
* // company: "STRING_VALUE",
|
|
57
|
+
* // pbxDomain: "STRING_VALUE",
|
|
58
|
+
* // pbxPort: "STRING_VALUE",
|
|
59
|
+
* // pbxExtension: "STRING_VALUE",
|
|
60
|
+
* // pbxSerial: "STRING_VALUE",
|
|
61
|
+
* // pbxUserId: "STRING_VALUE",
|
|
62
|
+
* // createdAt: "STRING_VALUE",
|
|
63
|
+
* // updatedAt: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param AddChannelMemberCommandInput - {@link AddChannelMemberCommandInput}
|
|
70
|
+
* @returns {@link AddChannelMemberCommandOutput}
|
|
71
|
+
* @see {@link AddChannelMemberCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link AddChannelMemberCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link MemberAlreadyExistException} (client fault)
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ConversationsServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
export declare class AddChannelMemberCommand extends $Command<AddChannelMemberCommandInput, AddChannelMemberCommandOutput, ConversationsClientResolvedConfig> {
|
|
88
|
+
readonly input: AddChannelMemberCommandInput;
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
constructor(input: AddChannelMemberCommandInput);
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddChannelMemberCommandInput, AddChannelMemberCommandOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private serialize;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private deserialize;
|
|
105
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { AddChannelMembersInput, AddChannelMembersOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link AddChannelMembersCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface AddChannelMembersCommandInput extends AddChannelMembersInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link AddChannelMembersCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface AddChannelMembersCommandOutput extends AddChannelMembersOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ConversationsClient, AddChannelMembersCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
30
|
+
* // const { ConversationsClient, AddChannelMembersCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
31
|
+
* const client = new ConversationsClient(config);
|
|
32
|
+
* const input = { // AddChannelMembersInput
|
|
33
|
+
* channelId: "STRING_VALUE", // required
|
|
34
|
+
* members: [ // UsersIdList
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* membersToInvite: [ // UsersToInviteList
|
|
38
|
+
* { // UserToInvite
|
|
39
|
+
* email: "STRING_VALUE",
|
|
40
|
+
* phone: "STRING_VALUE",
|
|
41
|
+
* name: "STRING_VALUE",
|
|
42
|
+
* colleague: true || false,
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
46
|
+
* const command = new AddChannelMembersCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // AddChannelMembersOutput
|
|
49
|
+
* // members: [ // ChannelMembersList // required
|
|
50
|
+
* // { // ChannelMember
|
|
51
|
+
* // id: "STRING_VALUE", // required
|
|
52
|
+
* // createdAt: "STRING_VALUE", // required
|
|
53
|
+
* // role: "member" || "supervisor", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // users: [ // UsersList // required
|
|
57
|
+
* // { // User
|
|
58
|
+
* // id: "STRING_VALUE", // required
|
|
59
|
+
* // name: "STRING_VALUE",
|
|
60
|
+
* // email: "STRING_VALUE",
|
|
61
|
+
* // phone: "STRING_VALUE",
|
|
62
|
+
* // picture: "STRING_VALUE",
|
|
63
|
+
* // company: "STRING_VALUE",
|
|
64
|
+
* // pbxDomain: "STRING_VALUE",
|
|
65
|
+
* // pbxPort: "STRING_VALUE",
|
|
66
|
+
* // pbxExtension: "STRING_VALUE",
|
|
67
|
+
* // pbxSerial: "STRING_VALUE",
|
|
68
|
+
* // pbxUserId: "STRING_VALUE",
|
|
69
|
+
* // createdAt: "STRING_VALUE",
|
|
70
|
+
* // updatedAt: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param AddChannelMembersCommandInput - {@link AddChannelMembersCommandInput}
|
|
78
|
+
* @returns {@link AddChannelMembersCommandOutput}
|
|
79
|
+
* @see {@link AddChannelMembersCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link AddChannelMembersCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link MemberAlreadyExistException} (client fault)
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ConversationsServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
export declare class AddChannelMembersCommand extends $Command<AddChannelMembersCommandInput, AddChannelMembersCommandOutput, ConversationsClientResolvedConfig> {
|
|
96
|
+
readonly input: AddChannelMembersCommandInput;
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
constructor(input: AddChannelMembersCommandInput);
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddChannelMembersCommandInput, AddChannelMembersCommandOutput>;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private serialize;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
private deserialize;
|
|
113
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
-
import {
|
|
2
|
+
import { CreateGroupChannelInput, CreateGroupChannelOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
@@ -9,16 +9,16 @@ export { __MetadataBearer, $Command };
|
|
|
9
9
|
/**
|
|
10
10
|
* @public
|
|
11
11
|
*
|
|
12
|
-
* The input for {@link
|
|
12
|
+
* The input for {@link CreateGroupChannelCommand}.
|
|
13
13
|
*/
|
|
14
|
-
export interface
|
|
14
|
+
export interface CreateGroupChannelCommandInput extends CreateGroupChannelInput {
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* @public
|
|
18
18
|
*
|
|
19
|
-
* The output of {@link
|
|
19
|
+
* The output of {@link CreateGroupChannelCommand}.
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface CreateGroupChannelCommandOutput extends CreateGroupChannelOutput, __MetadataBearer {
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
@@ -26,77 +26,33 @@ export interface CreateChannelCommandOutput extends CreateChannelOutput, __Metad
|
|
|
26
26
|
* @example
|
|
27
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
28
28
|
* ```javascript
|
|
29
|
-
* import { ConversationsClient,
|
|
30
|
-
* // const { ConversationsClient,
|
|
29
|
+
* import { ConversationsClient, CreateGroupChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
30
|
+
* // const { ConversationsClient, CreateGroupChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
31
31
|
* const client = new ConversationsClient(config);
|
|
32
|
-
* const input = { //
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* owner: "STRING_VALUE",
|
|
47
|
-
* start: "STRING_VALUE",
|
|
48
|
-
* end: "STRING_VALUE",
|
|
49
|
-
* summary: "STRING_VALUE",
|
|
50
|
-
* attendees: [ // ChannelContextEventAttendeeList
|
|
51
|
-
* { // ChannelContextEventAttendee
|
|
52
|
-
* email: "STRING_VALUE", // required
|
|
53
|
-
* name: "STRING_VALUE",
|
|
54
|
-
* status: "accepted" || "tentative" || "declined" || "none", // required
|
|
55
|
-
* },
|
|
56
|
-
* ],
|
|
57
|
-
* },
|
|
58
|
-
* ],
|
|
59
|
-
* },
|
|
60
|
-
* kite: true || false,
|
|
61
|
-
* kiteTarget: "STRING_VALUE",
|
|
62
|
-
* kiteVariant: "STRING_VALUE",
|
|
63
|
-
* kiteAssign: "STRING_VALUE",
|
|
64
|
-
* kiteServiceName: "STRING_VALUE",
|
|
65
|
-
* kiteDefaultSubject: "STRING_VALUE",
|
|
66
|
-
* service: "STRING_VALUE",
|
|
67
|
-
* serviceTitle: "STRING_VALUE",
|
|
68
|
-
* serviceRecipient: "STRING_VALUE",
|
|
69
|
-
* assignee: { // User
|
|
70
|
-
* id: "STRING_VALUE", // required
|
|
71
|
-
* name: "STRING_VALUE",
|
|
32
|
+
* const input = { // CreateGroupChannelInput
|
|
33
|
+
* subject: "STRING_VALUE",
|
|
34
|
+
* description: "STRING_VALUE",
|
|
35
|
+
* picture: "STRING_VALUE",
|
|
36
|
+
* pictureColor: "STRING_VALUE",
|
|
37
|
+
* access: "private" || "public",
|
|
38
|
+
* broadcast: true || false,
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE",
|
|
41
|
+
* members: [ // UsersIdList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* membersToInvite: [ // UsersToInviteList
|
|
45
|
+
* { // UserToInvite
|
|
72
46
|
* email: "STRING_VALUE",
|
|
73
47
|
* phone: "STRING_VALUE",
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* pbxDomain: "STRING_VALUE",
|
|
77
|
-
* pbxPort: "STRING_VALUE",
|
|
78
|
-
* pbxExtension: "STRING_VALUE",
|
|
79
|
-
* pbxSerial: "STRING_VALUE",
|
|
80
|
-
* pbxUserId: "STRING_VALUE",
|
|
81
|
-
* createdAt: "STRING_VALUE",
|
|
82
|
-
* updatedAt: "STRING_VALUE",
|
|
48
|
+
* name: "STRING_VALUE",
|
|
49
|
+
* colleague: true || false,
|
|
83
50
|
* },
|
|
84
|
-
*
|
|
85
|
-
* sms: true || false,
|
|
86
|
-
* mms: true || false,
|
|
87
|
-
* broadcast: true || false,
|
|
88
|
-
* external: true || false,
|
|
89
|
-
* channelId: "STRING_VALUE",
|
|
90
|
-
* channelType: "direct" || "group", // required
|
|
91
|
-
* members: [ // ChannelCreateFieldsMembersList
|
|
92
|
-
* "STRING_VALUE",
|
|
93
|
-
* ],
|
|
94
|
-
* },
|
|
95
|
-
* userId: "STRING_VALUE",
|
|
51
|
+
* ],
|
|
96
52
|
* };
|
|
97
|
-
* const command = new
|
|
53
|
+
* const command = new CreateGroupChannelCommand(input);
|
|
98
54
|
* const response = await client.send(command);
|
|
99
|
-
* // { //
|
|
55
|
+
* // { // CreateGroupChannelOutput
|
|
100
56
|
* // channel: { // Channel
|
|
101
57
|
* // subject: "STRING_VALUE",
|
|
102
58
|
* // description: "STRING_VALUE",
|
|
@@ -164,30 +120,32 @@ export interface CreateChannelCommandOutput extends CreateChannelOutput, __Metad
|
|
|
164
120
|
*
|
|
165
121
|
* ```
|
|
166
122
|
*
|
|
167
|
-
* @param
|
|
168
|
-
* @returns {@link
|
|
169
|
-
* @see {@link
|
|
170
|
-
* @see {@link
|
|
123
|
+
* @param CreateGroupChannelCommandInput - {@link CreateGroupChannelCommandInput}
|
|
124
|
+
* @returns {@link CreateGroupChannelCommandOutput}
|
|
125
|
+
* @see {@link CreateGroupChannelCommandInput} for command's `input` shape.
|
|
126
|
+
* @see {@link CreateGroupChannelCommandOutput} for command's `response` shape.
|
|
171
127
|
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
172
128
|
*
|
|
173
|
-
* @throws {@link
|
|
129
|
+
* @throws {@link ChannelAlreadyExistException} (client fault)
|
|
174
130
|
*
|
|
175
131
|
* @throws {@link ValidationException} (client fault)
|
|
176
132
|
*
|
|
133
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
134
|
+
*
|
|
177
135
|
* @throws {@link ConversationsServiceException}
|
|
178
136
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
179
137
|
*
|
|
180
138
|
*/
|
|
181
|
-
export declare class
|
|
182
|
-
readonly input:
|
|
139
|
+
export declare class CreateGroupChannelCommand extends $Command<CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput, ConversationsClientResolvedConfig> {
|
|
140
|
+
readonly input: CreateGroupChannelCommandInput;
|
|
183
141
|
/**
|
|
184
142
|
* @public
|
|
185
143
|
*/
|
|
186
|
-
constructor(input:
|
|
144
|
+
constructor(input: CreateGroupChannelCommandInput);
|
|
187
145
|
/**
|
|
188
146
|
* @internal
|
|
189
147
|
*/
|
|
190
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<
|
|
148
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput>;
|
|
191
149
|
/**
|
|
192
150
|
* @internal
|
|
193
151
|
*/
|