@wildix/xbees-conversations-client 1.0.32 → 1.0.34

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.
Files changed (30) hide show
  1. package/dist-cjs/Conversations.js +6 -4
  2. package/dist-cjs/commands/{SendSystemMessageCommand.js → HideChannelCommand.js} +7 -7
  3. package/dist-cjs/commands/ListMessageReactionsCommand.js +41 -0
  4. package/dist-cjs/commands/{GetMessageReactionsCommand.js → ShowChannelCommand.js} +7 -7
  5. package/dist-cjs/commands/index.js +3 -2
  6. package/dist-cjs/protocols/Aws_restJson1.js +138 -135
  7. package/dist-es/Conversations.js +6 -4
  8. package/dist-es/commands/{SendSystemMessageCommand.js → HideChannelCommand.js} +6 -6
  9. package/dist-es/commands/ListMessageReactionsCommand.js +37 -0
  10. package/dist-es/commands/{GetMessageReactionsCommand.js → ShowChannelCommand.js} +6 -6
  11. package/dist-es/commands/index.js +3 -2
  12. package/dist-es/protocols/Aws_restJson1.js +125 -124
  13. package/dist-types/Conversations.d.ts +21 -14
  14. package/dist-types/ConversationsClient.d.ts +5 -4
  15. package/dist-types/commands/AddChannelMemberCommand.d.ts +1 -0
  16. package/dist-types/commands/AddChannelMembersCommand.d.ts +1 -0
  17. package/dist-types/commands/GetMessageCommand.d.ts +29 -47
  18. package/dist-types/commands/HideChannelCommand.d.ts +140 -0
  19. package/dist-types/commands/{GetMessageReactionsCommand.d.ts → ListMessageReactionsCommand.d.ts} +18 -18
  20. package/dist-types/commands/ListMessagesCommand.d.ts +31 -47
  21. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +65 -138
  22. package/dist-types/commands/SendGiphyCommand.d.ts +29 -47
  23. package/dist-types/commands/SendMessageCommand.d.ts +65 -138
  24. package/dist-types/commands/ShowChannelCommand.d.ts +140 -0
  25. package/dist-types/commands/UpdateMessageCommand.d.ts +65 -138
  26. package/dist-types/commands/index.d.ts +3 -2
  27. package/dist-types/models/models_0.d.ts +150 -119
  28. package/dist-types/protocols/Aws_restJson1.d.ts +27 -18
  29. package/package.json +1 -1
  30. package/dist-types/commands/SendSystemMessageCommand.d.ts +0 -213
@@ -10,13 +10,14 @@ import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetC
10
10
  import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
11
11
  import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
12
12
  import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
13
- import { GetMessageReactionsCommandInput, GetMessageReactionsCommandOutput } from "./commands/GetMessageReactionsCommand";
14
13
  import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
14
+ import { HideChannelCommandInput, HideChannelCommandOutput } from "./commands/HideChannelCommand";
15
15
  import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
16
16
  import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/JoinChannelCommand";
17
17
  import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
18
18
  import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
19
19
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
20
+ import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
20
21
  import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
21
22
  import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
22
23
  import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
@@ -25,9 +26,9 @@ import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdju
25
26
  import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
26
27
  import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
27
28
  import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
28
- import { SendSystemMessageCommandInput, SendSystemMessageCommandOutput } from "./commands/SendSystemMessageCommand";
29
29
  import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
30
30
  import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
31
+ import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
31
32
  import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
32
33
  import { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
33
34
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
@@ -98,18 +99,18 @@ export interface Conversations {
98
99
  getMessage(args: GetMessageCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageCommandOutput>;
99
100
  getMessage(args: GetMessageCommandInput, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
100
101
  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
102
  /**
108
103
  * @see {@link GetOrCreateDirectChannelCommand}
109
104
  */
110
105
  getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetOrCreateDirectChannelCommandOutput>;
111
106
  getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
112
107
  getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
108
+ /**
109
+ * @see {@link HideChannelCommand}
110
+ */
111
+ hideChannel(args: HideChannelCommandInput, options?: __HttpHandlerOptions): Promise<HideChannelCommandOutput>;
112
+ hideChannel(args: HideChannelCommandInput, cb: (err: any, data?: HideChannelCommandOutput) => void): void;
113
+ hideChannel(args: HideChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: HideChannelCommandOutput) => void): void;
113
114
  /**
114
115
  * @see {@link InviteCommand}
115
116
  */
@@ -140,6 +141,12 @@ export interface Conversations {
140
141
  listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
141
142
  listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
142
143
  listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
144
+ /**
145
+ * @see {@link ListMessageReactionsCommand}
146
+ */
147
+ listMessageReactions(args: ListMessageReactionsCommandInput, options?: __HttpHandlerOptions): Promise<ListMessageReactionsCommandOutput>;
148
+ listMessageReactions(args: ListMessageReactionsCommandInput, cb: (err: any, data?: ListMessageReactionsCommandOutput) => void): void;
149
+ listMessageReactions(args: ListMessageReactionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessageReactionsCommandOutput) => void): void;
143
150
  /**
144
151
  * @see {@link ListMessagesCommand}
145
152
  */
@@ -188,12 +195,6 @@ export interface Conversations {
188
195
  sendMessageReaction(args: SendMessageReactionCommandInput, options?: __HttpHandlerOptions): Promise<SendMessageReactionCommandOutput>;
189
196
  sendMessageReaction(args: SendMessageReactionCommandInput, cb: (err: any, data?: SendMessageReactionCommandOutput) => void): void;
190
197
  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
  /**
198
199
  * @see {@link SendTypingStartCommand}
199
200
  */
@@ -206,6 +207,12 @@ export interface Conversations {
206
207
  sendTypingStop(args: SendTypingStopCommandInput, options?: __HttpHandlerOptions): Promise<SendTypingStopCommandOutput>;
207
208
  sendTypingStop(args: SendTypingStopCommandInput, cb: (err: any, data?: SendTypingStopCommandOutput) => void): void;
208
209
  sendTypingStop(args: SendTypingStopCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendTypingStopCommandOutput) => void): void;
210
+ /**
211
+ * @see {@link ShowChannelCommand}
212
+ */
213
+ showChannel(args: ShowChannelCommandInput, options?: __HttpHandlerOptions): Promise<ShowChannelCommandOutput>;
214
+ showChannel(args: ShowChannelCommandInput, cb: (err: any, data?: ShowChannelCommandOutput) => void): void;
215
+ showChannel(args: ShowChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ShowChannelCommandOutput) => void): void;
209
216
  /**
210
217
  * @see {@link UpdateChannelCommand}
211
218
  */
@@ -9,13 +9,14 @@ import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetC
9
9
  import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
10
10
  import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
11
11
  import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
12
- import { GetMessageReactionsCommandInput, GetMessageReactionsCommandOutput } from "./commands/GetMessageReactionsCommand";
13
12
  import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
13
+ import { HideChannelCommandInput, HideChannelCommandOutput } from "./commands/HideChannelCommand";
14
14
  import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
15
15
  import { JoinChannelCommandInput, JoinChannelCommandOutput } from "./commands/JoinChannelCommand";
16
16
  import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "./commands/LeaveChannelCommand";
17
17
  import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "./commands/ListChannelMembersCommand";
18
18
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
19
+ import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
19
20
  import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
20
21
  import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
21
22
  import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
@@ -24,9 +25,9 @@ import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdju
24
25
  import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
25
26
  import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
26
27
  import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
27
- import { SendSystemMessageCommandInput, SendSystemMessageCommandOutput } from "./commands/SendSystemMessageCommand";
28
28
  import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./commands/SendTypingStartCommand";
29
29
  import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
30
+ import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
30
31
  import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
31
32
  import { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./commands/UpdateMessageCommand";
32
33
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -38,11 +39,11 @@ export { __Client };
38
39
  /**
39
40
  * @public
40
41
  */
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;
42
+ export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | UpdateChannelCommandInput | UpdateMessageCommandInput;
42
43
  /**
43
44
  * @public
44
45
  */
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;
46
+ export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | UpdateChannelCommandOutput | UpdateMessageCommandOutput;
46
47
  /**
47
48
  * @public
48
49
  */
@@ -31,6 +31,7 @@ export interface AddChannelMemberCommandOutput extends AddChannelMemberOutput, _
31
31
  * const client = new ConversationsClient(config);
32
32
  * const input = { // AddChannelMemberInput
33
33
  * channelId: "STRING_VALUE", // required
34
+ * silent: true || false,
34
35
  * memberId: "STRING_VALUE",
35
36
  * memberToInvite: { // UserToInvite
36
37
  * email: "STRING_VALUE",
@@ -31,6 +31,7 @@ export interface AddChannelMembersCommandOutput extends AddChannelMembersOutput,
31
31
  * const client = new ConversationsClient(config);
32
32
  * const input = { // AddChannelMembersInput
33
33
  * channelId: "STRING_VALUE", // required
34
+ * silent: true || false,
34
35
  * members: [ // UsersIdList
35
36
  * "STRING_VALUE",
36
37
  * ],
@@ -43,64 +43,50 @@ export interface GetMessageCommandOutput extends GetMessageOutput, __MetadataBea
43
43
  * // id: "STRING_VALUE", // required
44
44
  * // fsId: "STRING_VALUE", // required
45
45
  * // mime: "STRING_VALUE",
46
- * // name: "STRING_VALUE",
46
+ * // name: "STRING_VALUE", // required
47
47
  * // size: Number("int"), // required
48
48
  * // width: Number("int"),
49
49
  * // height: Number("int"),
50
50
  * // thumbnail: "STRING_VALUE",
51
51
  * // },
52
52
  * // ],
53
- * // quote: {
53
+ * // quote: { // MessageQuote
54
+ * // messageId: "STRING_VALUE", // required
55
+ * // channelId: "STRING_VALUE", // required
56
+ * // user: { // User
57
+ * // id: "STRING_VALUE", // required
58
+ * // name: "STRING_VALUE",
59
+ * // email: "STRING_VALUE",
60
+ * // phone: "STRING_VALUE",
61
+ * // picture: "STRING_VALUE",
62
+ * // company: "STRING_VALUE",
63
+ * // pbxDomain: "STRING_VALUE",
64
+ * // pbxPort: "STRING_VALUE",
65
+ * // pbxExtension: "STRING_VALUE",
66
+ * // pbxSerial: "STRING_VALUE",
67
+ * // pbxUserId: "STRING_VALUE",
68
+ * // createdAt: "STRING_VALUE",
69
+ * // updatedAt: "STRING_VALUE",
70
+ * // },
54
71
  * // text: "STRING_VALUE",
55
72
  * // attachments: [
56
73
  * // {
57
74
  * // id: "STRING_VALUE", // required
58
75
  * // fsId: "STRING_VALUE", // required
59
76
  * // mime: "STRING_VALUE",
60
- * // name: "STRING_VALUE",
77
+ * // name: "STRING_VALUE", // required
61
78
  * // size: Number("int"), // required
62
79
  * // width: Number("int"),
63
80
  * // height: Number("int"),
64
81
  * // thumbnail: "STRING_VALUE",
65
82
  * // },
66
83
  * // ],
67
- * // quote: "<Message>",
68
84
  * // forward: { // MessageForward
69
85
  * // forwardCompany: "STRING_VALUE",
70
86
  * // forwardDate: "STRING_VALUE", // required
71
87
  * // forwardEmail: "STRING_VALUE",
72
88
  * // forwardName: "STRING_VALUE",
73
89
  * // },
74
- * // type: "regular", // required
75
- * // giphy: { // MessageGiphy
76
- * // id: "STRING_VALUE",
77
- * // size: "STRING_VALUE",
78
- * // url: "STRING_VALUE",
79
- * // height: "STRING_VALUE",
80
- * // width: "STRING_VALUE",
81
- * // },
82
- * // silent: true || false,
83
- * // event: "STRING_VALUE",
84
- * // sms: true || false,
85
- * // smsStatus: "sent" || "delivered" || "trying" || "error",
86
- * // messageId: "STRING_VALUE", // required
87
- * // channelId: "STRING_VALUE", // required
88
- * // user: { // User
89
- * // id: "STRING_VALUE", // required
90
- * // name: "STRING_VALUE",
91
- * // email: "STRING_VALUE",
92
- * // phone: "STRING_VALUE",
93
- * // picture: "STRING_VALUE",
94
- * // company: "STRING_VALUE",
95
- * // pbxDomain: "STRING_VALUE",
96
- * // pbxPort: "STRING_VALUE",
97
- * // pbxExtension: "STRING_VALUE",
98
- * // pbxSerial: "STRING_VALUE",
99
- * // pbxUserId: "STRING_VALUE",
100
- * // createdAt: "STRING_VALUE",
101
- * // updatedAt: "STRING_VALUE",
102
- * // },
103
- * // edit: true || false,
104
90
  * // mentions: [ // UsersList
105
91
  * // {
106
92
  * // id: "STRING_VALUE", // required
@@ -118,16 +104,12 @@ export interface GetMessageCommandOutput extends GetMessageOutput, __MetadataBea
118
104
  * // updatedAt: "STRING_VALUE",
119
105
  * // },
120
106
  * // ],
121
- * // latestReactions: [ // ReactionList
122
- * // { // Reaction
123
- * // type: "STRING_VALUE",
124
- * // userId: "STRING_VALUE",
125
- * // messageId: "STRING_VALUE",
126
- * // user: "<User>",
127
- * // },
128
- * // ],
129
- * // reactionCounts: { // ReactionCounts
130
- * // "<keys>": Number("int"),
107
+ * // giphy: { // MessageGiphy
108
+ * // id: "STRING_VALUE",
109
+ * // size: "STRING_VALUE",
110
+ * // url: "STRING_VALUE",
111
+ * // height: "STRING_VALUE",
112
+ * // width: "STRING_VALUE",
131
113
  * // },
132
114
  * // createdAt: "STRING_VALUE", // required
133
115
  * // updatedAt: "STRING_VALUE",
@@ -157,15 +139,15 @@ export interface GetMessageCommandOutput extends GetMessageOutput, __MetadataBea
157
139
  * // mentions: [
158
140
  * // "<User>",
159
141
  * // ],
160
- * // latestReactions: [
161
- * // {
142
+ * // latestReactions: [ // ReactionList
143
+ * // { // Reaction
162
144
  * // type: "STRING_VALUE",
163
145
  * // userId: "STRING_VALUE",
164
146
  * // messageId: "STRING_VALUE",
165
147
  * // user: "<User>",
166
148
  * // },
167
149
  * // ],
168
- * // reactionCounts: {
150
+ * // reactionCounts: { // ReactionCounts
169
151
  * // "<keys>": Number("int"),
170
152
  * // },
171
153
  * // createdAt: "STRING_VALUE", // required
@@ -0,0 +1,140 @@
1
+ import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
+ import { HideChannelInput, HideChannelOutput } 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 HideChannelCommand}.
13
+ */
14
+ export interface HideChannelCommandInput extends HideChannelInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link HideChannelCommand}.
20
+ */
21
+ export interface HideChannelCommandOutput extends HideChannelOutput, __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, HideChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
30
+ * // const { ConversationsClient, HideChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
31
+ * const client = new ConversationsClient(config);
32
+ * const input = { // HideChannelInput
33
+ * channelId: "STRING_VALUE", // required
34
+ * userId: "STRING_VALUE",
35
+ * };
36
+ * const command = new HideChannelCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // HideChannelOutput
39
+ * // channel: { // Channel
40
+ * // subject: "STRING_VALUE",
41
+ * // description: "STRING_VALUE",
42
+ * // picture: "STRING_VALUE",
43
+ * // pictureColor: "STRING_VALUE",
44
+ * // access: "private" || "public",
45
+ * // company: "STRING_VALUE",
46
+ * // context: { // ChannelContext
47
+ * // source: "kite",
48
+ * // target: "STRING_VALUE",
49
+ * // events: [ // ChannelContextEventList
50
+ * // { // ChannelContextEvent
51
+ * // id: "STRING_VALUE",
52
+ * // owner: "STRING_VALUE",
53
+ * // start: "STRING_VALUE",
54
+ * // end: "STRING_VALUE",
55
+ * // summary: "STRING_VALUE",
56
+ * // attendees: [ // ChannelContextEventAttendeeList
57
+ * // { // ChannelContextEventAttendee
58
+ * // email: "STRING_VALUE", // required
59
+ * // name: "STRING_VALUE",
60
+ * // status: "accepted" || "tentative" || "declined" || "none", // required
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // ],
65
+ * // },
66
+ * // kite: true || false,
67
+ * // kiteTarget: "STRING_VALUE",
68
+ * // kiteVariant: "STRING_VALUE",
69
+ * // kiteAssign: "STRING_VALUE",
70
+ * // kiteServiceName: "STRING_VALUE",
71
+ * // kiteDefaultSubject: "STRING_VALUE",
72
+ * // service: "STRING_VALUE",
73
+ * // serviceTitle: "STRING_VALUE",
74
+ * // serviceRecipient: "STRING_VALUE",
75
+ * // assignee: { // User
76
+ * // id: "STRING_VALUE", // required
77
+ * // name: "STRING_VALUE",
78
+ * // email: "STRING_VALUE",
79
+ * // phone: "STRING_VALUE",
80
+ * // picture: "STRING_VALUE",
81
+ * // company: "STRING_VALUE",
82
+ * // pbxDomain: "STRING_VALUE",
83
+ * // pbxPort: "STRING_VALUE",
84
+ * // pbxExtension: "STRING_VALUE",
85
+ * // pbxSerial: "STRING_VALUE",
86
+ * // pbxUserId: "STRING_VALUE",
87
+ * // createdAt: "STRING_VALUE",
88
+ * // updatedAt: "STRING_VALUE",
89
+ * // },
90
+ * // telephony: true || false,
91
+ * // sms: true || false,
92
+ * // mms: true || false,
93
+ * // broadcast: true || false,
94
+ * // external: true || false,
95
+ * // channelId: "STRING_VALUE", // required
96
+ * // channelType: "direct" || "group", // required
97
+ * // memberCount: Number("int"), // required
98
+ * // createdAt: "STRING_VALUE", // required
99
+ * // createdBy: "STRING_VALUE", // required
100
+ * // updatedAt: "STRING_VALUE",
101
+ * // },
102
+ * // };
103
+ *
104
+ * ```
105
+ *
106
+ * @param HideChannelCommandInput - {@link HideChannelCommandInput}
107
+ * @returns {@link HideChannelCommandOutput}
108
+ * @see {@link HideChannelCommandInput} for command's `input` shape.
109
+ * @see {@link HideChannelCommandOutput} for command's `response` shape.
110
+ * @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
111
+ *
112
+ * @throws {@link ChannelNotFoundException} (client fault)
113
+ *
114
+ * @throws {@link ForbiddenException} (client fault)
115
+ *
116
+ * @throws {@link ValidationException} (client fault)
117
+ *
118
+ * @throws {@link ConversationsServiceException}
119
+ * <p>Base exception class for all service exceptions from Conversations service.</p>
120
+ *
121
+ */
122
+ export declare class HideChannelCommand extends $Command<HideChannelCommandInput, HideChannelCommandOutput, ConversationsClientResolvedConfig> {
123
+ readonly input: HideChannelCommandInput;
124
+ /**
125
+ * @public
126
+ */
127
+ constructor(input: HideChannelCommandInput);
128
+ /**
129
+ * @internal
130
+ */
131
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<HideChannelCommandInput, HideChannelCommandOutput>;
132
+ /**
133
+ * @internal
134
+ */
135
+ private serialize;
136
+ /**
137
+ * @internal
138
+ */
139
+ private deserialize;
140
+ }
@@ -1,5 +1,5 @@
1
1
  import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
2
- import { GetMessageReactionsInput, GetMessageReactionsOutput } from "../models/models_0";
2
+ import { ListMessageReactionsInput, ListMessageReactionsOutput } 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 GetMessageReactionsCommand}.
12
+ * The input for {@link ListMessageReactionsCommand}.
13
13
  */
14
- export interface GetMessageReactionsCommandInput extends GetMessageReactionsInput {
14
+ export interface ListMessageReactionsCommandInput extends ListMessageReactionsInput {
15
15
  }
16
16
  /**
17
17
  * @public
18
18
  *
19
- * The output of {@link GetMessageReactionsCommand}.
19
+ * The output of {@link ListMessageReactionsCommand}.
20
20
  */
21
- export interface GetMessageReactionsCommandOutput extends GetMessageReactionsOutput, __MetadataBearer {
21
+ export interface ListMessageReactionsCommandOutput extends ListMessageReactionsOutput, __MetadataBearer {
22
22
  }
23
23
  /**
24
24
  * @public
@@ -26,18 +26,18 @@ export interface GetMessageReactionsCommandOutput extends GetMessageReactionsOut
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, GetMessageReactionsCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
30
- * // const { ConversationsClient, GetMessageReactionsCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
29
+ * import { ConversationsClient, ListMessageReactionsCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
30
+ * // const { ConversationsClient, ListMessageReactionsCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
31
31
  * const client = new ConversationsClient(config);
32
- * const input = { // GetMessageReactionsInput
32
+ * const input = { // ListMessageReactionsInput
33
33
  * channelId: "STRING_VALUE", // required
34
34
  * messageId: "STRING_VALUE", // required
35
35
  * limit: Number("int"),
36
36
  * offset: Number("int"),
37
37
  * };
38
- * const command = new GetMessageReactionsCommand(input);
38
+ * const command = new ListMessageReactionsCommand(input);
39
39
  * const response = await client.send(command);
40
- * // { // GetMessageReactionsOutput
40
+ * // { // ListMessageReactionsOutput
41
41
  * // reactions: [ // ReactionList // required
42
42
  * // { // Reaction
43
43
  * // type: "STRING_VALUE",
@@ -64,10 +64,10 @@ export interface GetMessageReactionsCommandOutput extends GetMessageReactionsOut
64
64
  *
65
65
  * ```
66
66
  *
67
- * @param GetMessageReactionsCommandInput - {@link GetMessageReactionsCommandInput}
68
- * @returns {@link GetMessageReactionsCommandOutput}
69
- * @see {@link GetMessageReactionsCommandInput} for command's `input` shape.
70
- * @see {@link GetMessageReactionsCommandOutput} for command's `response` shape.
67
+ * @param ListMessageReactionsCommandInput - {@link ListMessageReactionsCommandInput}
68
+ * @returns {@link ListMessageReactionsCommandOutput}
69
+ * @see {@link ListMessageReactionsCommandInput} for command's `input` shape.
70
+ * @see {@link ListMessageReactionsCommandOutput} for command's `response` shape.
71
71
  * @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
72
72
  *
73
73
  * @throws {@link ChannelNotFoundException} (client fault)
@@ -80,16 +80,16 @@ export interface GetMessageReactionsCommandOutput extends GetMessageReactionsOut
80
80
  * <p>Base exception class for all service exceptions from Conversations service.</p>
81
81
  *
82
82
  */
83
- export declare class GetMessageReactionsCommand extends $Command<GetMessageReactionsCommandInput, GetMessageReactionsCommandOutput, ConversationsClientResolvedConfig> {
84
- readonly input: GetMessageReactionsCommandInput;
83
+ export declare class ListMessageReactionsCommand extends $Command<ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput, ConversationsClientResolvedConfig> {
84
+ readonly input: ListMessageReactionsCommandInput;
85
85
  /**
86
86
  * @public
87
87
  */
88
- constructor(input: GetMessageReactionsCommandInput);
88
+ constructor(input: ListMessageReactionsCommandInput);
89
89
  /**
90
90
  * @internal
91
91
  */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMessageReactionsCommandInput, GetMessageReactionsCommandOutput>;
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput>;
93
93
  /**
94
94
  * @internal
95
95
  */
@@ -31,6 +31,8 @@ export interface ListMessagesCommandOutput extends ListMessagesOutput, __Metadat
31
31
  * const client = new ConversationsClient(config);
32
32
  * const input = { // ListMessagesInput
33
33
  * channelId: "STRING_VALUE", // required
34
+ * limit: Number("int"),
35
+ * offset: Number("int"),
34
36
  * };
35
37
  * const command = new ListMessagesCommand(input);
36
38
  * const response = await client.send(command);
@@ -43,64 +45,50 @@ export interface ListMessagesCommandOutput extends ListMessagesOutput, __Metadat
43
45
  * // id: "STRING_VALUE", // required
44
46
  * // fsId: "STRING_VALUE", // required
45
47
  * // mime: "STRING_VALUE",
46
- * // name: "STRING_VALUE",
48
+ * // name: "STRING_VALUE", // required
47
49
  * // size: Number("int"), // required
48
50
  * // width: Number("int"),
49
51
  * // height: Number("int"),
50
52
  * // thumbnail: "STRING_VALUE",
51
53
  * // },
52
54
  * // ],
53
- * // quote: {
55
+ * // quote: { // MessageQuote
56
+ * // messageId: "STRING_VALUE", // required
57
+ * // channelId: "STRING_VALUE", // required
58
+ * // user: { // User
59
+ * // id: "STRING_VALUE", // required
60
+ * // name: "STRING_VALUE",
61
+ * // email: "STRING_VALUE",
62
+ * // phone: "STRING_VALUE",
63
+ * // picture: "STRING_VALUE",
64
+ * // company: "STRING_VALUE",
65
+ * // pbxDomain: "STRING_VALUE",
66
+ * // pbxPort: "STRING_VALUE",
67
+ * // pbxExtension: "STRING_VALUE",
68
+ * // pbxSerial: "STRING_VALUE",
69
+ * // pbxUserId: "STRING_VALUE",
70
+ * // createdAt: "STRING_VALUE",
71
+ * // updatedAt: "STRING_VALUE",
72
+ * // },
54
73
  * // text: "STRING_VALUE",
55
74
  * // attachments: [
56
75
  * // {
57
76
  * // id: "STRING_VALUE", // required
58
77
  * // fsId: "STRING_VALUE", // required
59
78
  * // mime: "STRING_VALUE",
60
- * // name: "STRING_VALUE",
79
+ * // name: "STRING_VALUE", // required
61
80
  * // size: Number("int"), // required
62
81
  * // width: Number("int"),
63
82
  * // height: Number("int"),
64
83
  * // thumbnail: "STRING_VALUE",
65
84
  * // },
66
85
  * // ],
67
- * // quote: "<Message>",
68
86
  * // forward: { // MessageForward
69
87
  * // forwardCompany: "STRING_VALUE",
70
88
  * // forwardDate: "STRING_VALUE", // required
71
89
  * // forwardEmail: "STRING_VALUE",
72
90
  * // forwardName: "STRING_VALUE",
73
91
  * // },
74
- * // type: "regular", // required
75
- * // giphy: { // MessageGiphy
76
- * // id: "STRING_VALUE",
77
- * // size: "STRING_VALUE",
78
- * // url: "STRING_VALUE",
79
- * // height: "STRING_VALUE",
80
- * // width: "STRING_VALUE",
81
- * // },
82
- * // silent: true || false,
83
- * // event: "STRING_VALUE",
84
- * // sms: true || false,
85
- * // smsStatus: "sent" || "delivered" || "trying" || "error",
86
- * // messageId: "STRING_VALUE", // required
87
- * // channelId: "STRING_VALUE", // required
88
- * // user: { // User
89
- * // id: "STRING_VALUE", // required
90
- * // name: "STRING_VALUE",
91
- * // email: "STRING_VALUE",
92
- * // phone: "STRING_VALUE",
93
- * // picture: "STRING_VALUE",
94
- * // company: "STRING_VALUE",
95
- * // pbxDomain: "STRING_VALUE",
96
- * // pbxPort: "STRING_VALUE",
97
- * // pbxExtension: "STRING_VALUE",
98
- * // pbxSerial: "STRING_VALUE",
99
- * // pbxUserId: "STRING_VALUE",
100
- * // createdAt: "STRING_VALUE",
101
- * // updatedAt: "STRING_VALUE",
102
- * // },
103
- * // edit: true || false,
104
92
  * // mentions: [ // UsersList
105
93
  * // {
106
94
  * // id: "STRING_VALUE", // required
@@ -118,16 +106,12 @@ export interface ListMessagesCommandOutput extends ListMessagesOutput, __Metadat
118
106
  * // updatedAt: "STRING_VALUE",
119
107
  * // },
120
108
  * // ],
121
- * // latestReactions: [ // ReactionList
122
- * // { // Reaction
123
- * // type: "STRING_VALUE",
124
- * // userId: "STRING_VALUE",
125
- * // messageId: "STRING_VALUE",
126
- * // user: "<User>",
127
- * // },
128
- * // ],
129
- * // reactionCounts: { // ReactionCounts
130
- * // "<keys>": Number("int"),
109
+ * // giphy: { // MessageGiphy
110
+ * // id: "STRING_VALUE",
111
+ * // size: "STRING_VALUE",
112
+ * // url: "STRING_VALUE",
113
+ * // height: "STRING_VALUE",
114
+ * // width: "STRING_VALUE",
131
115
  * // },
132
116
  * // createdAt: "STRING_VALUE", // required
133
117
  * // updatedAt: "STRING_VALUE",
@@ -157,15 +141,15 @@ export interface ListMessagesCommandOutput extends ListMessagesOutput, __Metadat
157
141
  * // mentions: [
158
142
  * // "<User>",
159
143
  * // ],
160
- * // latestReactions: [
161
- * // {
144
+ * // latestReactions: [ // ReactionList
145
+ * // { // Reaction
162
146
  * // type: "STRING_VALUE",
163
147
  * // userId: "STRING_VALUE",
164
148
  * // messageId: "STRING_VALUE",
165
149
  * // user: "<User>",
166
150
  * // },
167
151
  * // ],
168
- * // reactionCounts: {
152
+ * // reactionCounts: { // ReactionCounts
169
153
  * // "<keys>": Number("int"),
170
154
  * // },
171
155
  * // createdAt: "STRING_VALUE", // required