@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.
- package/dist-cjs/Conversations.js +6 -4
- package/dist-cjs/commands/{SendSystemMessageCommand.js → HideChannelCommand.js} +7 -7
- package/dist-cjs/commands/ListMessageReactionsCommand.js +41 -0
- package/dist-cjs/commands/{GetMessageReactionsCommand.js → ShowChannelCommand.js} +7 -7
- package/dist-cjs/commands/index.js +3 -2
- package/dist-cjs/protocols/Aws_restJson1.js +138 -135
- package/dist-es/Conversations.js +6 -4
- package/dist-es/commands/{SendSystemMessageCommand.js → HideChannelCommand.js} +6 -6
- package/dist-es/commands/ListMessageReactionsCommand.js +37 -0
- package/dist-es/commands/{GetMessageReactionsCommand.js → ShowChannelCommand.js} +6 -6
- package/dist-es/commands/index.js +3 -2
- package/dist-es/protocols/Aws_restJson1.js +125 -124
- package/dist-types/Conversations.d.ts +21 -14
- package/dist-types/ConversationsClient.d.ts +5 -4
- package/dist-types/commands/AddChannelMemberCommand.d.ts +1 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +1 -0
- package/dist-types/commands/GetMessageCommand.d.ts +29 -47
- package/dist-types/commands/HideChannelCommand.d.ts +140 -0
- package/dist-types/commands/{GetMessageReactionsCommand.d.ts → ListMessageReactionsCommand.d.ts} +18 -18
- package/dist-types/commands/ListMessagesCommand.d.ts +31 -47
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +65 -138
- package/dist-types/commands/SendGiphyCommand.d.ts +29 -47
- package/dist-types/commands/SendMessageCommand.d.ts +65 -138
- package/dist-types/commands/ShowChannelCommand.d.ts +140 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +65 -138
- package/dist-types/commands/index.d.ts +3 -2
- package/dist-types/models/models_0.d.ts +150 -119
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -18
- package/package.json +1 -1
- package/dist-types/commands/SendSystemMessageCommand.d.ts +0 -213
|
@@ -36,52 +36,52 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
36
36
|
* id: "STRING_VALUE", // required
|
|
37
37
|
* fsId: "STRING_VALUE", // required
|
|
38
38
|
* mime: "STRING_VALUE",
|
|
39
|
-
* name: "STRING_VALUE",
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
40
|
* size: Number("int"), // required
|
|
41
41
|
* width: Number("int"),
|
|
42
42
|
* height: Number("int"),
|
|
43
43
|
* thumbnail: "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
|
-
* quote: { //
|
|
46
|
+
* quote: { // MessageQuote
|
|
47
|
+
* messageId: "STRING_VALUE", // required
|
|
48
|
+
* channelId: "STRING_VALUE", // required
|
|
49
|
+
* user: { // User
|
|
50
|
+
* id: "STRING_VALUE", // required
|
|
51
|
+
* name: "STRING_VALUE",
|
|
52
|
+
* email: "STRING_VALUE",
|
|
53
|
+
* phone: "STRING_VALUE",
|
|
54
|
+
* picture: "STRING_VALUE",
|
|
55
|
+
* company: "STRING_VALUE",
|
|
56
|
+
* pbxDomain: "STRING_VALUE",
|
|
57
|
+
* pbxPort: "STRING_VALUE",
|
|
58
|
+
* pbxExtension: "STRING_VALUE",
|
|
59
|
+
* pbxSerial: "STRING_VALUE",
|
|
60
|
+
* pbxUserId: "STRING_VALUE",
|
|
61
|
+
* createdAt: "STRING_VALUE",
|
|
62
|
+
* updatedAt: "STRING_VALUE",
|
|
63
|
+
* },
|
|
47
64
|
* text: "STRING_VALUE",
|
|
48
65
|
* attachments: [
|
|
49
66
|
* {
|
|
50
67
|
* id: "STRING_VALUE", // required
|
|
51
68
|
* fsId: "STRING_VALUE", // required
|
|
52
69
|
* mime: "STRING_VALUE",
|
|
53
|
-
* name: "STRING_VALUE",
|
|
70
|
+
* name: "STRING_VALUE", // required
|
|
54
71
|
* size: Number("int"), // required
|
|
55
72
|
* width: Number("int"),
|
|
56
73
|
* height: Number("int"),
|
|
57
74
|
* thumbnail: "STRING_VALUE",
|
|
58
75
|
* },
|
|
59
76
|
* ],
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* forwardName: "STRING_VALUE",
|
|
69
|
-
* },
|
|
70
|
-
* type: "regular", // required
|
|
71
|
-
* giphy: { // MessageGiphy
|
|
72
|
-
* id: "STRING_VALUE",
|
|
73
|
-
* size: "STRING_VALUE",
|
|
74
|
-
* url: "STRING_VALUE",
|
|
75
|
-
* height: "STRING_VALUE",
|
|
76
|
-
* width: "STRING_VALUE",
|
|
77
|
-
* },
|
|
78
|
-
* silent: true || false,
|
|
79
|
-
* event: "STRING_VALUE",
|
|
80
|
-
* sms: true || false,
|
|
81
|
-
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
82
|
-
* messageId: "STRING_VALUE", // required
|
|
83
|
-
* channelId: "STRING_VALUE", // required
|
|
84
|
-
* user: { // User
|
|
77
|
+
* forward: { // MessageForward
|
|
78
|
+
* forwardCompany: "STRING_VALUE",
|
|
79
|
+
* forwardDate: "STRING_VALUE", // required
|
|
80
|
+
* forwardEmail: "STRING_VALUE",
|
|
81
|
+
* forwardName: "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* mentions: [ // UsersList
|
|
84
|
+
* {
|
|
85
85
|
* id: "STRING_VALUE", // required
|
|
86
86
|
* name: "STRING_VALUE",
|
|
87
87
|
* email: "STRING_VALUE",
|
|
@@ -96,78 +96,23 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
96
96
|
* createdAt: "STRING_VALUE",
|
|
97
97
|
* updatedAt: "STRING_VALUE",
|
|
98
98
|
* },
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
* {
|
|
102
|
-
* id: "STRING_VALUE", // required
|
|
103
|
-
* name: "STRING_VALUE",
|
|
104
|
-
* email: "STRING_VALUE",
|
|
105
|
-
* phone: "STRING_VALUE",
|
|
106
|
-
* picture: "STRING_VALUE",
|
|
107
|
-
* company: "STRING_VALUE",
|
|
108
|
-
* pbxDomain: "STRING_VALUE",
|
|
109
|
-
* pbxPort: "STRING_VALUE",
|
|
110
|
-
* pbxExtension: "STRING_VALUE",
|
|
111
|
-
* pbxSerial: "STRING_VALUE",
|
|
112
|
-
* pbxUserId: "STRING_VALUE",
|
|
113
|
-
* createdAt: "STRING_VALUE",
|
|
114
|
-
* updatedAt: "STRING_VALUE",
|
|
115
|
-
* },
|
|
116
|
-
* ],
|
|
117
|
-
* latestReactions: [ // ReactionList
|
|
118
|
-
* { // Reaction
|
|
119
|
-
* type: "STRING_VALUE",
|
|
120
|
-
* userId: "STRING_VALUE",
|
|
121
|
-
* messageId: "STRING_VALUE",
|
|
122
|
-
* user: "<User>",
|
|
123
|
-
* },
|
|
124
|
-
* ],
|
|
125
|
-
* reactionCounts: { // ReactionCounts
|
|
126
|
-
* "<keys>": Number("int"),
|
|
127
|
-
* },
|
|
128
|
-
* createdAt: "STRING_VALUE", // required
|
|
129
|
-
* updatedAt: "STRING_VALUE",
|
|
130
|
-
* },
|
|
131
|
-
* forward: {
|
|
132
|
-
* forwardCompany: "STRING_VALUE",
|
|
133
|
-
* forwardDate: "STRING_VALUE", // required
|
|
134
|
-
* forwardEmail: "STRING_VALUE",
|
|
135
|
-
* forwardName: "STRING_VALUE",
|
|
136
|
-
* },
|
|
137
|
-
* type: "regular", // required
|
|
138
|
-
* giphy: {
|
|
99
|
+
* ],
|
|
100
|
+
* giphy: { // MessageGiphy
|
|
139
101
|
* id: "STRING_VALUE",
|
|
140
102
|
* size: "STRING_VALUE",
|
|
141
103
|
* url: "STRING_VALUE",
|
|
142
104
|
* height: "STRING_VALUE",
|
|
143
105
|
* width: "STRING_VALUE",
|
|
144
106
|
* },
|
|
145
|
-
* silent: true || false,
|
|
146
|
-
* event: "STRING_VALUE",
|
|
147
|
-
* sms: true || false,
|
|
148
|
-
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
149
|
-
* messageId: "STRING_VALUE", // required
|
|
150
|
-
* channelId: "STRING_VALUE", // required
|
|
151
|
-
* user: "<User>", // required
|
|
152
|
-
* edit: true || false,
|
|
153
|
-
* mentions: [
|
|
154
|
-
* "<User>",
|
|
155
|
-
* ],
|
|
156
|
-
* latestReactions: [
|
|
157
|
-
* {
|
|
158
|
-
* type: "STRING_VALUE",
|
|
159
|
-
* userId: "STRING_VALUE",
|
|
160
|
-
* messageId: "STRING_VALUE",
|
|
161
|
-
* user: "<User>",
|
|
162
|
-
* },
|
|
163
|
-
* ],
|
|
164
|
-
* reactionCounts: {
|
|
165
|
-
* "<keys>": Number("int"),
|
|
166
|
-
* },
|
|
167
107
|
* createdAt: "STRING_VALUE", // required
|
|
168
108
|
* updatedAt: "STRING_VALUE",
|
|
169
109
|
* },
|
|
170
|
-
* forward:
|
|
110
|
+
* forward: {
|
|
111
|
+
* forwardCompany: "STRING_VALUE",
|
|
112
|
+
* forwardDate: "STRING_VALUE", // required
|
|
113
|
+
* forwardEmail: "STRING_VALUE",
|
|
114
|
+
* forwardName: "STRING_VALUE",
|
|
115
|
+
* },
|
|
171
116
|
* channelId: "STRING_VALUE", // required
|
|
172
117
|
* messageId: "STRING_VALUE", // required
|
|
173
118
|
* mentions: [ // UsersIdList
|
|
@@ -184,64 +129,50 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
184
129
|
* // id: "STRING_VALUE", // required
|
|
185
130
|
* // fsId: "STRING_VALUE", // required
|
|
186
131
|
* // mime: "STRING_VALUE",
|
|
187
|
-
* // name: "STRING_VALUE",
|
|
132
|
+
* // name: "STRING_VALUE", // required
|
|
188
133
|
* // size: Number("int"), // required
|
|
189
134
|
* // width: Number("int"),
|
|
190
135
|
* // height: Number("int"),
|
|
191
136
|
* // thumbnail: "STRING_VALUE",
|
|
192
137
|
* // },
|
|
193
138
|
* // ],
|
|
194
|
-
* // quote: {
|
|
139
|
+
* // quote: { // MessageQuote
|
|
140
|
+
* // messageId: "STRING_VALUE", // required
|
|
141
|
+
* // channelId: "STRING_VALUE", // required
|
|
142
|
+
* // user: { // User
|
|
143
|
+
* // id: "STRING_VALUE", // required
|
|
144
|
+
* // name: "STRING_VALUE",
|
|
145
|
+
* // email: "STRING_VALUE",
|
|
146
|
+
* // phone: "STRING_VALUE",
|
|
147
|
+
* // picture: "STRING_VALUE",
|
|
148
|
+
* // company: "STRING_VALUE",
|
|
149
|
+
* // pbxDomain: "STRING_VALUE",
|
|
150
|
+
* // pbxPort: "STRING_VALUE",
|
|
151
|
+
* // pbxExtension: "STRING_VALUE",
|
|
152
|
+
* // pbxSerial: "STRING_VALUE",
|
|
153
|
+
* // pbxUserId: "STRING_VALUE",
|
|
154
|
+
* // createdAt: "STRING_VALUE",
|
|
155
|
+
* // updatedAt: "STRING_VALUE",
|
|
156
|
+
* // },
|
|
195
157
|
* // text: "STRING_VALUE",
|
|
196
158
|
* // attachments: [
|
|
197
159
|
* // {
|
|
198
160
|
* // id: "STRING_VALUE", // required
|
|
199
161
|
* // fsId: "STRING_VALUE", // required
|
|
200
162
|
* // mime: "STRING_VALUE",
|
|
201
|
-
* // name: "STRING_VALUE",
|
|
163
|
+
* // name: "STRING_VALUE", // required
|
|
202
164
|
* // size: Number("int"), // required
|
|
203
165
|
* // width: Number("int"),
|
|
204
166
|
* // height: Number("int"),
|
|
205
167
|
* // thumbnail: "STRING_VALUE",
|
|
206
168
|
* // },
|
|
207
169
|
* // ],
|
|
208
|
-
* // quote: "<Message>",
|
|
209
170
|
* // forward: { // MessageForward
|
|
210
171
|
* // forwardCompany: "STRING_VALUE",
|
|
211
172
|
* // forwardDate: "STRING_VALUE", // required
|
|
212
173
|
* // forwardEmail: "STRING_VALUE",
|
|
213
174
|
* // forwardName: "STRING_VALUE",
|
|
214
175
|
* // },
|
|
215
|
-
* // type: "regular", // required
|
|
216
|
-
* // giphy: { // MessageGiphy
|
|
217
|
-
* // id: "STRING_VALUE",
|
|
218
|
-
* // size: "STRING_VALUE",
|
|
219
|
-
* // url: "STRING_VALUE",
|
|
220
|
-
* // height: "STRING_VALUE",
|
|
221
|
-
* // width: "STRING_VALUE",
|
|
222
|
-
* // },
|
|
223
|
-
* // silent: true || false,
|
|
224
|
-
* // event: "STRING_VALUE",
|
|
225
|
-
* // sms: true || false,
|
|
226
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
227
|
-
* // messageId: "STRING_VALUE", // required
|
|
228
|
-
* // channelId: "STRING_VALUE", // required
|
|
229
|
-
* // user: { // User
|
|
230
|
-
* // id: "STRING_VALUE", // required
|
|
231
|
-
* // name: "STRING_VALUE",
|
|
232
|
-
* // email: "STRING_VALUE",
|
|
233
|
-
* // phone: "STRING_VALUE",
|
|
234
|
-
* // picture: "STRING_VALUE",
|
|
235
|
-
* // company: "STRING_VALUE",
|
|
236
|
-
* // pbxDomain: "STRING_VALUE",
|
|
237
|
-
* // pbxPort: "STRING_VALUE",
|
|
238
|
-
* // pbxExtension: "STRING_VALUE",
|
|
239
|
-
* // pbxSerial: "STRING_VALUE",
|
|
240
|
-
* // pbxUserId: "STRING_VALUE",
|
|
241
|
-
* // createdAt: "STRING_VALUE",
|
|
242
|
-
* // updatedAt: "STRING_VALUE",
|
|
243
|
-
* // },
|
|
244
|
-
* // edit: true || false,
|
|
245
176
|
* // mentions: [ // UsersList
|
|
246
177
|
* // {
|
|
247
178
|
* // id: "STRING_VALUE", // required
|
|
@@ -259,16 +190,12 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
259
190
|
* // updatedAt: "STRING_VALUE",
|
|
260
191
|
* // },
|
|
261
192
|
* // ],
|
|
262
|
-
* //
|
|
263
|
-
* //
|
|
264
|
-
* //
|
|
265
|
-
* //
|
|
266
|
-
* //
|
|
267
|
-
* //
|
|
268
|
-
* // },
|
|
269
|
-
* // ],
|
|
270
|
-
* // reactionCounts: { // ReactionCounts
|
|
271
|
-
* // "<keys>": Number("int"),
|
|
193
|
+
* // giphy: { // MessageGiphy
|
|
194
|
+
* // id: "STRING_VALUE",
|
|
195
|
+
* // size: "STRING_VALUE",
|
|
196
|
+
* // url: "STRING_VALUE",
|
|
197
|
+
* // height: "STRING_VALUE",
|
|
198
|
+
* // width: "STRING_VALUE",
|
|
272
199
|
* // },
|
|
273
200
|
* // createdAt: "STRING_VALUE", // required
|
|
274
201
|
* // updatedAt: "STRING_VALUE",
|
|
@@ -298,15 +225,15 @@ export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __Metad
|
|
|
298
225
|
* // mentions: [
|
|
299
226
|
* // "<User>",
|
|
300
227
|
* // ],
|
|
301
|
-
* // latestReactions: [
|
|
302
|
-
* // {
|
|
228
|
+
* // latestReactions: [ // ReactionList
|
|
229
|
+
* // { // Reaction
|
|
303
230
|
* // type: "STRING_VALUE",
|
|
304
231
|
* // userId: "STRING_VALUE",
|
|
305
232
|
* // messageId: "STRING_VALUE",
|
|
306
233
|
* // user: "<User>",
|
|
307
234
|
* // },
|
|
308
235
|
* // ],
|
|
309
|
-
* // reactionCounts: {
|
|
236
|
+
* // reactionCounts: { // ReactionCounts
|
|
310
237
|
* // "<keys>": Number("int"),
|
|
311
238
|
* // },
|
|
312
239
|
* // createdAt: "STRING_VALUE", // required
|
|
@@ -9,13 +9,14 @@ export * from "./GetChannelCommand";
|
|
|
9
9
|
export * from "./GetChannelMemberCommand";
|
|
10
10
|
export * from "./GetDirectChannelIdCommand";
|
|
11
11
|
export * from "./GetMessageCommand";
|
|
12
|
-
export * from "./GetMessageReactionsCommand";
|
|
13
12
|
export * from "./GetOrCreateDirectChannelCommand";
|
|
13
|
+
export * from "./HideChannelCommand";
|
|
14
14
|
export * from "./InviteCommand";
|
|
15
15
|
export * from "./JoinChannelCommand";
|
|
16
16
|
export * from "./LeaveChannelCommand";
|
|
17
17
|
export * from "./ListChannelMembersCommand";
|
|
18
18
|
export * from "./ListChannelsCommand";
|
|
19
|
+
export * from "./ListMessageReactionsCommand";
|
|
19
20
|
export * from "./ListMessagesCommand";
|
|
20
21
|
export * from "./MarkReadCommand";
|
|
21
22
|
export * from "./PartialUpdateChannelCommand";
|
|
@@ -24,8 +25,8 @@ export * from "./ScheduleExternalFlagAdjustmentJobCommand";
|
|
|
24
25
|
export * from "./SendGiphyCommand";
|
|
25
26
|
export * from "./SendMessageCommand";
|
|
26
27
|
export * from "./SendMessageReactionCommand";
|
|
27
|
-
export * from "./SendSystemMessageCommand";
|
|
28
28
|
export * from "./SendTypingStartCommand";
|
|
29
29
|
export * from "./SendTypingStopCommand";
|
|
30
|
+
export * from "./ShowChannelCommand";
|
|
30
31
|
export * from "./UpdateChannelCommand";
|
|
31
32
|
export * from "./UpdateMessageCommand";
|