@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
@@ -39,52 +39,52 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
39
39
  * id: "STRING_VALUE", // required
40
40
  * fsId: "STRING_VALUE", // required
41
41
  * mime: "STRING_VALUE",
42
- * name: "STRING_VALUE",
42
+ * name: "STRING_VALUE", // required
43
43
  * size: Number("int"), // required
44
44
  * width: Number("int"),
45
45
  * height: Number("int"),
46
46
  * thumbnail: "STRING_VALUE",
47
47
  * },
48
48
  * ],
49
- * quote: { // Message
49
+ * quote: { // MessageQuote
50
+ * messageId: "STRING_VALUE", // required
51
+ * channelId: "STRING_VALUE", // required
52
+ * user: { // User
53
+ * id: "STRING_VALUE", // required
54
+ * name: "STRING_VALUE",
55
+ * email: "STRING_VALUE",
56
+ * phone: "STRING_VALUE",
57
+ * picture: "STRING_VALUE",
58
+ * company: "STRING_VALUE",
59
+ * pbxDomain: "STRING_VALUE",
60
+ * pbxPort: "STRING_VALUE",
61
+ * pbxExtension: "STRING_VALUE",
62
+ * pbxSerial: "STRING_VALUE",
63
+ * pbxUserId: "STRING_VALUE",
64
+ * createdAt: "STRING_VALUE",
65
+ * updatedAt: "STRING_VALUE",
66
+ * },
50
67
  * text: "STRING_VALUE",
51
68
  * attachments: [
52
69
  * {
53
70
  * id: "STRING_VALUE", // required
54
71
  * fsId: "STRING_VALUE", // required
55
72
  * mime: "STRING_VALUE",
56
- * name: "STRING_VALUE",
73
+ * name: "STRING_VALUE", // required
57
74
  * size: Number("int"), // required
58
75
  * width: Number("int"),
59
76
  * height: Number("int"),
60
77
  * thumbnail: "STRING_VALUE",
61
78
  * },
62
79
  * ],
63
- * quote: {
64
- * text: "STRING_VALUE",
65
- * attachments: "<MessageAttachmentList>",
66
- * quote: "<Message>",
67
- * forward: { // MessageForward
68
- * forwardCompany: "STRING_VALUE",
69
- * forwardDate: "STRING_VALUE", // required
70
- * forwardEmail: "STRING_VALUE",
71
- * forwardName: "STRING_VALUE",
72
- * },
73
- * type: "regular", // required
74
- * giphy: { // MessageGiphy
75
- * id: "STRING_VALUE",
76
- * size: "STRING_VALUE",
77
- * url: "STRING_VALUE",
78
- * height: "STRING_VALUE",
79
- * width: "STRING_VALUE",
80
- * },
81
- * silent: true || false,
82
- * event: "STRING_VALUE",
83
- * sms: true || false,
84
- * smsStatus: "sent" || "delivered" || "trying" || "error",
85
- * messageId: "STRING_VALUE", // required
86
- * channelId: "STRING_VALUE", // required
87
- * user: { // User
80
+ * forward: { // MessageForward
81
+ * forwardCompany: "STRING_VALUE",
82
+ * forwardDate: "STRING_VALUE", // required
83
+ * forwardEmail: "STRING_VALUE",
84
+ * forwardName: "STRING_VALUE",
85
+ * },
86
+ * mentions: [ // UsersList
87
+ * {
88
88
  * id: "STRING_VALUE", // required
89
89
  * name: "STRING_VALUE",
90
90
  * email: "STRING_VALUE",
@@ -99,78 +99,23 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
99
99
  * createdAt: "STRING_VALUE",
100
100
  * updatedAt: "STRING_VALUE",
101
101
  * },
102
- * edit: true || false,
103
- * mentions: [ // UsersList
104
- * {
105
- * id: "STRING_VALUE", // required
106
- * name: "STRING_VALUE",
107
- * email: "STRING_VALUE",
108
- * phone: "STRING_VALUE",
109
- * picture: "STRING_VALUE",
110
- * company: "STRING_VALUE",
111
- * pbxDomain: "STRING_VALUE",
112
- * pbxPort: "STRING_VALUE",
113
- * pbxExtension: "STRING_VALUE",
114
- * pbxSerial: "STRING_VALUE",
115
- * pbxUserId: "STRING_VALUE",
116
- * createdAt: "STRING_VALUE",
117
- * updatedAt: "STRING_VALUE",
118
- * },
119
- * ],
120
- * latestReactions: [ // ReactionList
121
- * { // Reaction
122
- * type: "STRING_VALUE",
123
- * userId: "STRING_VALUE",
124
- * messageId: "STRING_VALUE",
125
- * user: "<User>",
126
- * },
127
- * ],
128
- * reactionCounts: { // ReactionCounts
129
- * "<keys>": Number("int"),
130
- * },
131
- * createdAt: "STRING_VALUE", // required
132
- * updatedAt: "STRING_VALUE",
133
- * },
134
- * forward: {
135
- * forwardCompany: "STRING_VALUE",
136
- * forwardDate: "STRING_VALUE", // required
137
- * forwardEmail: "STRING_VALUE",
138
- * forwardName: "STRING_VALUE",
139
- * },
140
- * type: "regular", // required
141
- * giphy: {
102
+ * ],
103
+ * giphy: { // MessageGiphy
142
104
  * id: "STRING_VALUE",
143
105
  * size: "STRING_VALUE",
144
106
  * url: "STRING_VALUE",
145
107
  * height: "STRING_VALUE",
146
108
  * width: "STRING_VALUE",
147
109
  * },
148
- * silent: true || false,
149
- * event: "STRING_VALUE",
150
- * sms: true || false,
151
- * smsStatus: "sent" || "delivered" || "trying" || "error",
152
- * messageId: "STRING_VALUE", // required
153
- * channelId: "STRING_VALUE", // required
154
- * user: "<User>", // required
155
- * edit: true || false,
156
- * mentions: [
157
- * "<User>",
158
- * ],
159
- * latestReactions: [
160
- * {
161
- * type: "STRING_VALUE",
162
- * userId: "STRING_VALUE",
163
- * messageId: "STRING_VALUE",
164
- * user: "<User>",
165
- * },
166
- * ],
167
- * reactionCounts: {
168
- * "<keys>": Number("int"),
169
- * },
170
110
  * createdAt: "STRING_VALUE", // required
171
111
  * updatedAt: "STRING_VALUE",
172
112
  * },
173
- * forward: "<MessageForward>",
113
+ * forward: {
114
+ * forwardCompany: "STRING_VALUE",
115
+ * forwardDate: "STRING_VALUE", // required
116
+ * forwardEmail: "STRING_VALUE",
117
+ * forwardName: "STRING_VALUE",
118
+ * },
174
119
  * },
175
120
  * unset: [ // MessageUnsetFieldsList
176
121
  * "text" || "attachments" || "quote" || "forward",
@@ -186,64 +131,50 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
186
131
  * // id: "STRING_VALUE", // required
187
132
  * // fsId: "STRING_VALUE", // required
188
133
  * // mime: "STRING_VALUE",
189
- * // name: "STRING_VALUE",
134
+ * // name: "STRING_VALUE", // required
190
135
  * // size: Number("int"), // required
191
136
  * // width: Number("int"),
192
137
  * // height: Number("int"),
193
138
  * // thumbnail: "STRING_VALUE",
194
139
  * // },
195
140
  * // ],
196
- * // quote: {
141
+ * // quote: { // MessageQuote
142
+ * // messageId: "STRING_VALUE", // required
143
+ * // channelId: "STRING_VALUE", // required
144
+ * // user: { // User
145
+ * // id: "STRING_VALUE", // required
146
+ * // name: "STRING_VALUE",
147
+ * // email: "STRING_VALUE",
148
+ * // phone: "STRING_VALUE",
149
+ * // picture: "STRING_VALUE",
150
+ * // company: "STRING_VALUE",
151
+ * // pbxDomain: "STRING_VALUE",
152
+ * // pbxPort: "STRING_VALUE",
153
+ * // pbxExtension: "STRING_VALUE",
154
+ * // pbxSerial: "STRING_VALUE",
155
+ * // pbxUserId: "STRING_VALUE",
156
+ * // createdAt: "STRING_VALUE",
157
+ * // updatedAt: "STRING_VALUE",
158
+ * // },
197
159
  * // text: "STRING_VALUE",
198
160
  * // attachments: [
199
161
  * // {
200
162
  * // id: "STRING_VALUE", // required
201
163
  * // fsId: "STRING_VALUE", // required
202
164
  * // mime: "STRING_VALUE",
203
- * // name: "STRING_VALUE",
165
+ * // name: "STRING_VALUE", // required
204
166
  * // size: Number("int"), // required
205
167
  * // width: Number("int"),
206
168
  * // height: Number("int"),
207
169
  * // thumbnail: "STRING_VALUE",
208
170
  * // },
209
171
  * // ],
210
- * // quote: "<Message>",
211
172
  * // forward: { // MessageForward
212
173
  * // forwardCompany: "STRING_VALUE",
213
174
  * // forwardDate: "STRING_VALUE", // required
214
175
  * // forwardEmail: "STRING_VALUE",
215
176
  * // forwardName: "STRING_VALUE",
216
177
  * // },
217
- * // type: "regular", // required
218
- * // giphy: { // MessageGiphy
219
- * // id: "STRING_VALUE",
220
- * // size: "STRING_VALUE",
221
- * // url: "STRING_VALUE",
222
- * // height: "STRING_VALUE",
223
- * // width: "STRING_VALUE",
224
- * // },
225
- * // silent: true || false,
226
- * // event: "STRING_VALUE",
227
- * // sms: true || false,
228
- * // smsStatus: "sent" || "delivered" || "trying" || "error",
229
- * // messageId: "STRING_VALUE", // required
230
- * // channelId: "STRING_VALUE", // required
231
- * // user: { // User
232
- * // id: "STRING_VALUE", // required
233
- * // name: "STRING_VALUE",
234
- * // email: "STRING_VALUE",
235
- * // phone: "STRING_VALUE",
236
- * // picture: "STRING_VALUE",
237
- * // company: "STRING_VALUE",
238
- * // pbxDomain: "STRING_VALUE",
239
- * // pbxPort: "STRING_VALUE",
240
- * // pbxExtension: "STRING_VALUE",
241
- * // pbxSerial: "STRING_VALUE",
242
- * // pbxUserId: "STRING_VALUE",
243
- * // createdAt: "STRING_VALUE",
244
- * // updatedAt: "STRING_VALUE",
245
- * // },
246
- * // edit: true || false,
247
178
  * // mentions: [ // UsersList
248
179
  * // {
249
180
  * // id: "STRING_VALUE", // required
@@ -261,16 +192,12 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
261
192
  * // updatedAt: "STRING_VALUE",
262
193
  * // },
263
194
  * // ],
264
- * // latestReactions: [ // ReactionList
265
- * // { // Reaction
266
- * // type: "STRING_VALUE",
267
- * // userId: "STRING_VALUE",
268
- * // messageId: "STRING_VALUE",
269
- * // user: "<User>",
270
- * // },
271
- * // ],
272
- * // reactionCounts: { // ReactionCounts
273
- * // "<keys>": Number("int"),
195
+ * // giphy: { // MessageGiphy
196
+ * // id: "STRING_VALUE",
197
+ * // size: "STRING_VALUE",
198
+ * // url: "STRING_VALUE",
199
+ * // height: "STRING_VALUE",
200
+ * // width: "STRING_VALUE",
274
201
  * // },
275
202
  * // createdAt: "STRING_VALUE", // required
276
203
  * // updatedAt: "STRING_VALUE",
@@ -300,15 +227,15 @@ export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageO
300
227
  * // mentions: [
301
228
  * // "<User>",
302
229
  * // ],
303
- * // latestReactions: [
304
- * // {
230
+ * // latestReactions: [ // ReactionList
231
+ * // { // Reaction
305
232
  * // type: "STRING_VALUE",
306
233
  * // userId: "STRING_VALUE",
307
234
  * // messageId: "STRING_VALUE",
308
235
  * // user: "<User>",
309
236
  * // },
310
237
  * // ],
311
- * // reactionCounts: {
238
+ * // reactionCounts: { // ReactionCounts
312
239
  * // "<keys>": Number("int"),
313
240
  * // },
314
241
  * // createdAt: "STRING_VALUE", // required
@@ -51,64 +51,50 @@ export interface SendGiphyCommandOutput extends SendGiphyOutput, __MetadataBeare
51
51
  * // id: "STRING_VALUE", // required
52
52
  * // fsId: "STRING_VALUE", // required
53
53
  * // mime: "STRING_VALUE",
54
- * // name: "STRING_VALUE",
54
+ * // name: "STRING_VALUE", // required
55
55
  * // size: Number("int"), // required
56
56
  * // width: Number("int"),
57
57
  * // height: Number("int"),
58
58
  * // thumbnail: "STRING_VALUE",
59
59
  * // },
60
60
  * // ],
61
- * // quote: {
61
+ * // quote: { // MessageQuote
62
+ * // messageId: "STRING_VALUE", // required
63
+ * // channelId: "STRING_VALUE", // required
64
+ * // user: { // User
65
+ * // id: "STRING_VALUE", // required
66
+ * // name: "STRING_VALUE",
67
+ * // email: "STRING_VALUE",
68
+ * // phone: "STRING_VALUE",
69
+ * // picture: "STRING_VALUE",
70
+ * // company: "STRING_VALUE",
71
+ * // pbxDomain: "STRING_VALUE",
72
+ * // pbxPort: "STRING_VALUE",
73
+ * // pbxExtension: "STRING_VALUE",
74
+ * // pbxSerial: "STRING_VALUE",
75
+ * // pbxUserId: "STRING_VALUE",
76
+ * // createdAt: "STRING_VALUE",
77
+ * // updatedAt: "STRING_VALUE",
78
+ * // },
62
79
  * // text: "STRING_VALUE",
63
80
  * // attachments: [
64
81
  * // {
65
82
  * // id: "STRING_VALUE", // required
66
83
  * // fsId: "STRING_VALUE", // required
67
84
  * // mime: "STRING_VALUE",
68
- * // name: "STRING_VALUE",
85
+ * // name: "STRING_VALUE", // required
69
86
  * // size: Number("int"), // required
70
87
  * // width: Number("int"),
71
88
  * // height: Number("int"),
72
89
  * // thumbnail: "STRING_VALUE",
73
90
  * // },
74
91
  * // ],
75
- * // quote: "<Message>",
76
92
  * // forward: { // MessageForward
77
93
  * // forwardCompany: "STRING_VALUE",
78
94
  * // forwardDate: "STRING_VALUE", // required
79
95
  * // forwardEmail: "STRING_VALUE",
80
96
  * // forwardName: "STRING_VALUE",
81
97
  * // },
82
- * // type: "regular", // required
83
- * // giphy: { // MessageGiphy
84
- * // id: "STRING_VALUE",
85
- * // size: "STRING_VALUE",
86
- * // url: "STRING_VALUE",
87
- * // height: "STRING_VALUE",
88
- * // width: "STRING_VALUE",
89
- * // },
90
- * // silent: true || false,
91
- * // event: "STRING_VALUE",
92
- * // sms: true || false,
93
- * // smsStatus: "sent" || "delivered" || "trying" || "error",
94
- * // messageId: "STRING_VALUE", // required
95
- * // channelId: "STRING_VALUE", // required
96
- * // user: { // User
97
- * // id: "STRING_VALUE", // required
98
- * // name: "STRING_VALUE",
99
- * // email: "STRING_VALUE",
100
- * // phone: "STRING_VALUE",
101
- * // picture: "STRING_VALUE",
102
- * // company: "STRING_VALUE",
103
- * // pbxDomain: "STRING_VALUE",
104
- * // pbxPort: "STRING_VALUE",
105
- * // pbxExtension: "STRING_VALUE",
106
- * // pbxSerial: "STRING_VALUE",
107
- * // pbxUserId: "STRING_VALUE",
108
- * // createdAt: "STRING_VALUE",
109
- * // updatedAt: "STRING_VALUE",
110
- * // },
111
- * // edit: true || false,
112
98
  * // mentions: [ // UsersList
113
99
  * // {
114
100
  * // id: "STRING_VALUE", // required
@@ -126,16 +112,12 @@ export interface SendGiphyCommandOutput extends SendGiphyOutput, __MetadataBeare
126
112
  * // updatedAt: "STRING_VALUE",
127
113
  * // },
128
114
  * // ],
129
- * // latestReactions: [ // ReactionList
130
- * // { // Reaction
131
- * // type: "STRING_VALUE",
132
- * // userId: "STRING_VALUE",
133
- * // messageId: "STRING_VALUE",
134
- * // user: "<User>",
135
- * // },
136
- * // ],
137
- * // reactionCounts: { // ReactionCounts
138
- * // "<keys>": Number("int"),
115
+ * // giphy: { // MessageGiphy
116
+ * // id: "STRING_VALUE",
117
+ * // size: "STRING_VALUE",
118
+ * // url: "STRING_VALUE",
119
+ * // height: "STRING_VALUE",
120
+ * // width: "STRING_VALUE",
139
121
  * // },
140
122
  * // createdAt: "STRING_VALUE", // required
141
123
  * // updatedAt: "STRING_VALUE",
@@ -165,15 +147,15 @@ export interface SendGiphyCommandOutput extends SendGiphyOutput, __MetadataBeare
165
147
  * // mentions: [
166
148
  * // "<User>",
167
149
  * // ],
168
- * // latestReactions: [
169
- * // {
150
+ * // latestReactions: [ // ReactionList
151
+ * // { // Reaction
170
152
  * // type: "STRING_VALUE",
171
153
  * // userId: "STRING_VALUE",
172
154
  * // messageId: "STRING_VALUE",
173
155
  * // user: "<User>",
174
156
  * // },
175
157
  * // ],
176
- * // reactionCounts: {
158
+ * // reactionCounts: { // ReactionCounts
177
159
  * // "<keys>": Number("int"),
178
160
  * // },
179
161
  * // createdAt: "STRING_VALUE", // required