@wildix/xbees-conversations-client 1.0.65 → 1.1.1
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/models/models_0.js +19 -29
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1
- package/dist-es/models/models_0.js +17 -27
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/commands/DescribeEventCommand.d.ts +10 -130
- package/dist-types/commands/GetMessageCommand.d.ts +23 -60
- package/dist-types/commands/ListMessagesCommand.d.ts +23 -60
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +23 -60
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +46 -120
- package/dist-types/commands/PinMessageCommand.d.ts +1 -1
- package/dist-types/commands/SendGiphyCommand.d.ts +23 -60
- package/dist-types/commands/SendMessageCommand.d.ts +46 -120
- package/dist-types/commands/UpdateMessageCommand.d.ts +46 -120
- package/dist-types/models/models_0.d.ts +30 -161
- package/package.json +2 -2
|
@@ -38,64 +38,6 @@ declare const SendMessageCommand_base: {
|
|
|
38
38
|
* text: "STRING_VALUE",
|
|
39
39
|
* elements: [ // ElementsList
|
|
40
40
|
* { // Element Union: only one key present
|
|
41
|
-
* text: { // TextElement
|
|
42
|
-
* value: "STRING_VALUE", // required
|
|
43
|
-
* style: { // TextStyle
|
|
44
|
-
* italic: true || false,
|
|
45
|
-
* bold: true || false,
|
|
46
|
-
* strike: true || false,
|
|
47
|
-
* code: true || false,
|
|
48
|
-
* },
|
|
49
|
-
* },
|
|
50
|
-
* link: { // LinkElement
|
|
51
|
-
* url: "STRING_VALUE", // required
|
|
52
|
-
* text: "STRING_VALUE",
|
|
53
|
-
* style: {
|
|
54
|
-
* italic: true || false,
|
|
55
|
-
* bold: true || false,
|
|
56
|
-
* strike: true || false,
|
|
57
|
-
* code: true || false,
|
|
58
|
-
* },
|
|
59
|
-
* },
|
|
60
|
-
* email: { // EmailElement
|
|
61
|
-
* value: "STRING_VALUE", // required
|
|
62
|
-
* style: {
|
|
63
|
-
* italic: true || false,
|
|
64
|
-
* bold: true || false,
|
|
65
|
-
* strike: true || false,
|
|
66
|
-
* code: true || false,
|
|
67
|
-
* },
|
|
68
|
-
* },
|
|
69
|
-
* phone: { // PhoneElement
|
|
70
|
-
* value: "STRING_VALUE", // required
|
|
71
|
-
* style: {
|
|
72
|
-
* italic: true || false,
|
|
73
|
-
* bold: true || false,
|
|
74
|
-
* strike: true || false,
|
|
75
|
-
* code: true || false,
|
|
76
|
-
* },
|
|
77
|
-
* },
|
|
78
|
-
* mention: { // MentionElement
|
|
79
|
-
* text: "STRING_VALUE", // required
|
|
80
|
-
* user: { // User
|
|
81
|
-
* id: "STRING_VALUE", // required
|
|
82
|
-
* name: "STRING_VALUE",
|
|
83
|
-
* email: "STRING_VALUE",
|
|
84
|
-
* phone: "STRING_VALUE",
|
|
85
|
-
* picture: "STRING_VALUE",
|
|
86
|
-
* locale: "STRING_VALUE",
|
|
87
|
-
* timeZone: "STRING_VALUE",
|
|
88
|
-
* company: "STRING_VALUE",
|
|
89
|
-
* bot: true || false,
|
|
90
|
-
* pbxDomain: "STRING_VALUE",
|
|
91
|
-
* pbxPort: "STRING_VALUE",
|
|
92
|
-
* pbxExtension: "STRING_VALUE",
|
|
93
|
-
* pbxSerial: "STRING_VALUE",
|
|
94
|
-
* pbxUserId: "STRING_VALUE",
|
|
95
|
-
* createdAt: "STRING_VALUE",
|
|
96
|
-
* updatedAt: "STRING_VALUE",
|
|
97
|
-
* },
|
|
98
|
-
* },
|
|
99
41
|
* actions: [ // ActionsElementsList
|
|
100
42
|
* { // ActionElement Union: only one key present
|
|
101
43
|
* button: { // ButtonElement
|
|
@@ -133,7 +75,7 @@ declare const SendMessageCommand_base: {
|
|
|
133
75
|
* quote: { // MessageQuote
|
|
134
76
|
* messageId: "STRING_VALUE", // required
|
|
135
77
|
* channelId: "STRING_VALUE", // required
|
|
136
|
-
* user: {
|
|
78
|
+
* user: { // User
|
|
137
79
|
* id: "STRING_VALUE", // required
|
|
138
80
|
* name: "STRING_VALUE",
|
|
139
81
|
* email: "STRING_VALUE",
|
|
@@ -169,9 +111,28 @@ declare const SendMessageCommand_base: {
|
|
|
169
111
|
* forwardDate: "STRING_VALUE", // required
|
|
170
112
|
* forwardEmail: "STRING_VALUE",
|
|
171
113
|
* forwardName: "STRING_VALUE",
|
|
114
|
+
* messageId: "STRING_VALUE", // required
|
|
115
|
+
* channelId: "STRING_VALUE", // required
|
|
172
116
|
* },
|
|
173
117
|
* mentions: [ // UsersList
|
|
174
|
-
*
|
|
118
|
+
* {
|
|
119
|
+
* id: "STRING_VALUE", // required
|
|
120
|
+
* name: "STRING_VALUE",
|
|
121
|
+
* email: "STRING_VALUE",
|
|
122
|
+
* phone: "STRING_VALUE",
|
|
123
|
+
* picture: "STRING_VALUE",
|
|
124
|
+
* locale: "STRING_VALUE",
|
|
125
|
+
* timeZone: "STRING_VALUE",
|
|
126
|
+
* company: "STRING_VALUE",
|
|
127
|
+
* bot: true || false,
|
|
128
|
+
* pbxDomain: "STRING_VALUE",
|
|
129
|
+
* pbxPort: "STRING_VALUE",
|
|
130
|
+
* pbxExtension: "STRING_VALUE",
|
|
131
|
+
* pbxSerial: "STRING_VALUE",
|
|
132
|
+
* pbxUserId: "STRING_VALUE",
|
|
133
|
+
* createdAt: "STRING_VALUE",
|
|
134
|
+
* updatedAt: "STRING_VALUE",
|
|
135
|
+
* },
|
|
175
136
|
* ],
|
|
176
137
|
* giphy: { // MessageGiphy
|
|
177
138
|
* id: "STRING_VALUE", // required
|
|
@@ -188,6 +149,8 @@ declare const SendMessageCommand_base: {
|
|
|
188
149
|
* forwardDate: "STRING_VALUE", // required
|
|
189
150
|
* forwardEmail: "STRING_VALUE",
|
|
190
151
|
* forwardName: "STRING_VALUE",
|
|
152
|
+
* messageId: "STRING_VALUE", // required
|
|
153
|
+
* channelId: "STRING_VALUE", // required
|
|
191
154
|
* },
|
|
192
155
|
* channelId: "STRING_VALUE", // required
|
|
193
156
|
* userId: "STRING_VALUE",
|
|
@@ -203,64 +166,6 @@ declare const SendMessageCommand_base: {
|
|
|
203
166
|
* // text: "STRING_VALUE",
|
|
204
167
|
* // elements: [ // ElementsList
|
|
205
168
|
* // { // Element Union: only one key present
|
|
206
|
-
* // text: { // TextElement
|
|
207
|
-
* // value: "STRING_VALUE", // required
|
|
208
|
-
* // style: { // TextStyle
|
|
209
|
-
* // italic: true || false,
|
|
210
|
-
* // bold: true || false,
|
|
211
|
-
* // strike: true || false,
|
|
212
|
-
* // code: true || false,
|
|
213
|
-
* // },
|
|
214
|
-
* // },
|
|
215
|
-
* // link: { // LinkElement
|
|
216
|
-
* // url: "STRING_VALUE", // required
|
|
217
|
-
* // text: "STRING_VALUE",
|
|
218
|
-
* // style: {
|
|
219
|
-
* // italic: true || false,
|
|
220
|
-
* // bold: true || false,
|
|
221
|
-
* // strike: true || false,
|
|
222
|
-
* // code: true || false,
|
|
223
|
-
* // },
|
|
224
|
-
* // },
|
|
225
|
-
* // email: { // EmailElement
|
|
226
|
-
* // value: "STRING_VALUE", // required
|
|
227
|
-
* // style: {
|
|
228
|
-
* // italic: true || false,
|
|
229
|
-
* // bold: true || false,
|
|
230
|
-
* // strike: true || false,
|
|
231
|
-
* // code: true || false,
|
|
232
|
-
* // },
|
|
233
|
-
* // },
|
|
234
|
-
* // phone: { // PhoneElement
|
|
235
|
-
* // value: "STRING_VALUE", // required
|
|
236
|
-
* // style: {
|
|
237
|
-
* // italic: true || false,
|
|
238
|
-
* // bold: true || false,
|
|
239
|
-
* // strike: true || false,
|
|
240
|
-
* // code: true || false,
|
|
241
|
-
* // },
|
|
242
|
-
* // },
|
|
243
|
-
* // mention: { // MentionElement
|
|
244
|
-
* // text: "STRING_VALUE", // required
|
|
245
|
-
* // user: { // User
|
|
246
|
-
* // id: "STRING_VALUE", // required
|
|
247
|
-
* // name: "STRING_VALUE",
|
|
248
|
-
* // email: "STRING_VALUE",
|
|
249
|
-
* // phone: "STRING_VALUE",
|
|
250
|
-
* // picture: "STRING_VALUE",
|
|
251
|
-
* // locale: "STRING_VALUE",
|
|
252
|
-
* // timeZone: "STRING_VALUE",
|
|
253
|
-
* // company: "STRING_VALUE",
|
|
254
|
-
* // bot: true || false,
|
|
255
|
-
* // pbxDomain: "STRING_VALUE",
|
|
256
|
-
* // pbxPort: "STRING_VALUE",
|
|
257
|
-
* // pbxExtension: "STRING_VALUE",
|
|
258
|
-
* // pbxSerial: "STRING_VALUE",
|
|
259
|
-
* // pbxUserId: "STRING_VALUE",
|
|
260
|
-
* // createdAt: "STRING_VALUE",
|
|
261
|
-
* // updatedAt: "STRING_VALUE",
|
|
262
|
-
* // },
|
|
263
|
-
* // },
|
|
264
169
|
* // actions: [ // ActionsElementsList
|
|
265
170
|
* // { // ActionElement Union: only one key present
|
|
266
171
|
* // button: { // ButtonElement
|
|
@@ -298,7 +203,7 @@ declare const SendMessageCommand_base: {
|
|
|
298
203
|
* // quote: { // MessageQuote
|
|
299
204
|
* // messageId: "STRING_VALUE", // required
|
|
300
205
|
* // channelId: "STRING_VALUE", // required
|
|
301
|
-
* // user: {
|
|
206
|
+
* // user: { // User
|
|
302
207
|
* // id: "STRING_VALUE", // required
|
|
303
208
|
* // name: "STRING_VALUE",
|
|
304
209
|
* // email: "STRING_VALUE",
|
|
@@ -334,9 +239,28 @@ declare const SendMessageCommand_base: {
|
|
|
334
239
|
* // forwardDate: "STRING_VALUE", // required
|
|
335
240
|
* // forwardEmail: "STRING_VALUE",
|
|
336
241
|
* // forwardName: "STRING_VALUE",
|
|
242
|
+
* // messageId: "STRING_VALUE", // required
|
|
243
|
+
* // channelId: "STRING_VALUE", // required
|
|
337
244
|
* // },
|
|
338
245
|
* // mentions: [ // UsersList
|
|
339
|
-
* //
|
|
246
|
+
* // {
|
|
247
|
+
* // id: "STRING_VALUE", // required
|
|
248
|
+
* // name: "STRING_VALUE",
|
|
249
|
+
* // email: "STRING_VALUE",
|
|
250
|
+
* // phone: "STRING_VALUE",
|
|
251
|
+
* // picture: "STRING_VALUE",
|
|
252
|
+
* // locale: "STRING_VALUE",
|
|
253
|
+
* // timeZone: "STRING_VALUE",
|
|
254
|
+
* // company: "STRING_VALUE",
|
|
255
|
+
* // bot: true || false,
|
|
256
|
+
* // pbxDomain: "STRING_VALUE",
|
|
257
|
+
* // pbxPort: "STRING_VALUE",
|
|
258
|
+
* // pbxExtension: "STRING_VALUE",
|
|
259
|
+
* // pbxSerial: "STRING_VALUE",
|
|
260
|
+
* // pbxUserId: "STRING_VALUE",
|
|
261
|
+
* // createdAt: "STRING_VALUE",
|
|
262
|
+
* // updatedAt: "STRING_VALUE",
|
|
263
|
+
* // },
|
|
340
264
|
* // ],
|
|
341
265
|
* // giphy: { // MessageGiphy
|
|
342
266
|
* // id: "STRING_VALUE", // required
|
|
@@ -353,6 +277,8 @@ declare const SendMessageCommand_base: {
|
|
|
353
277
|
* // forwardDate: "STRING_VALUE", // required
|
|
354
278
|
* // forwardEmail: "STRING_VALUE",
|
|
355
279
|
* // forwardName: "STRING_VALUE",
|
|
280
|
+
* // messageId: "STRING_VALUE", // required
|
|
281
|
+
* // channelId: "STRING_VALUE", // required
|
|
356
282
|
* // },
|
|
357
283
|
* // type: "regular" || "system", // required
|
|
358
284
|
* // giphy: {
|
|
@@ -38,64 +38,6 @@ declare const UpdateMessageCommand_base: {
|
|
|
38
38
|
* text: "STRING_VALUE",
|
|
39
39
|
* elements: [ // ElementsList
|
|
40
40
|
* { // Element Union: only one key present
|
|
41
|
-
* text: { // TextElement
|
|
42
|
-
* value: "STRING_VALUE", // required
|
|
43
|
-
* style: { // TextStyle
|
|
44
|
-
* italic: true || false,
|
|
45
|
-
* bold: true || false,
|
|
46
|
-
* strike: true || false,
|
|
47
|
-
* code: true || false,
|
|
48
|
-
* },
|
|
49
|
-
* },
|
|
50
|
-
* link: { // LinkElement
|
|
51
|
-
* url: "STRING_VALUE", // required
|
|
52
|
-
* text: "STRING_VALUE",
|
|
53
|
-
* style: {
|
|
54
|
-
* italic: true || false,
|
|
55
|
-
* bold: true || false,
|
|
56
|
-
* strike: true || false,
|
|
57
|
-
* code: true || false,
|
|
58
|
-
* },
|
|
59
|
-
* },
|
|
60
|
-
* email: { // EmailElement
|
|
61
|
-
* value: "STRING_VALUE", // required
|
|
62
|
-
* style: {
|
|
63
|
-
* italic: true || false,
|
|
64
|
-
* bold: true || false,
|
|
65
|
-
* strike: true || false,
|
|
66
|
-
* code: true || false,
|
|
67
|
-
* },
|
|
68
|
-
* },
|
|
69
|
-
* phone: { // PhoneElement
|
|
70
|
-
* value: "STRING_VALUE", // required
|
|
71
|
-
* style: {
|
|
72
|
-
* italic: true || false,
|
|
73
|
-
* bold: true || false,
|
|
74
|
-
* strike: true || false,
|
|
75
|
-
* code: true || false,
|
|
76
|
-
* },
|
|
77
|
-
* },
|
|
78
|
-
* mention: { // MentionElement
|
|
79
|
-
* text: "STRING_VALUE", // required
|
|
80
|
-
* user: { // User
|
|
81
|
-
* id: "STRING_VALUE", // required
|
|
82
|
-
* name: "STRING_VALUE",
|
|
83
|
-
* email: "STRING_VALUE",
|
|
84
|
-
* phone: "STRING_VALUE",
|
|
85
|
-
* picture: "STRING_VALUE",
|
|
86
|
-
* locale: "STRING_VALUE",
|
|
87
|
-
* timeZone: "STRING_VALUE",
|
|
88
|
-
* company: "STRING_VALUE",
|
|
89
|
-
* bot: true || false,
|
|
90
|
-
* pbxDomain: "STRING_VALUE",
|
|
91
|
-
* pbxPort: "STRING_VALUE",
|
|
92
|
-
* pbxExtension: "STRING_VALUE",
|
|
93
|
-
* pbxSerial: "STRING_VALUE",
|
|
94
|
-
* pbxUserId: "STRING_VALUE",
|
|
95
|
-
* createdAt: "STRING_VALUE",
|
|
96
|
-
* updatedAt: "STRING_VALUE",
|
|
97
|
-
* },
|
|
98
|
-
* },
|
|
99
41
|
* actions: [ // ActionsElementsList
|
|
100
42
|
* { // ActionElement Union: only one key present
|
|
101
43
|
* button: { // ButtonElement
|
|
@@ -133,7 +75,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
133
75
|
* quote: { // MessageQuote
|
|
134
76
|
* messageId: "STRING_VALUE", // required
|
|
135
77
|
* channelId: "STRING_VALUE", // required
|
|
136
|
-
* user: {
|
|
78
|
+
* user: { // User
|
|
137
79
|
* id: "STRING_VALUE", // required
|
|
138
80
|
* name: "STRING_VALUE",
|
|
139
81
|
* email: "STRING_VALUE",
|
|
@@ -169,9 +111,28 @@ declare const UpdateMessageCommand_base: {
|
|
|
169
111
|
* forwardDate: "STRING_VALUE", // required
|
|
170
112
|
* forwardEmail: "STRING_VALUE",
|
|
171
113
|
* forwardName: "STRING_VALUE",
|
|
114
|
+
* messageId: "STRING_VALUE", // required
|
|
115
|
+
* channelId: "STRING_VALUE", // required
|
|
172
116
|
* },
|
|
173
117
|
* mentions: [ // UsersList
|
|
174
|
-
*
|
|
118
|
+
* {
|
|
119
|
+
* id: "STRING_VALUE", // required
|
|
120
|
+
* name: "STRING_VALUE",
|
|
121
|
+
* email: "STRING_VALUE",
|
|
122
|
+
* phone: "STRING_VALUE",
|
|
123
|
+
* picture: "STRING_VALUE",
|
|
124
|
+
* locale: "STRING_VALUE",
|
|
125
|
+
* timeZone: "STRING_VALUE",
|
|
126
|
+
* company: "STRING_VALUE",
|
|
127
|
+
* bot: true || false,
|
|
128
|
+
* pbxDomain: "STRING_VALUE",
|
|
129
|
+
* pbxPort: "STRING_VALUE",
|
|
130
|
+
* pbxExtension: "STRING_VALUE",
|
|
131
|
+
* pbxSerial: "STRING_VALUE",
|
|
132
|
+
* pbxUserId: "STRING_VALUE",
|
|
133
|
+
* createdAt: "STRING_VALUE",
|
|
134
|
+
* updatedAt: "STRING_VALUE",
|
|
135
|
+
* },
|
|
175
136
|
* ],
|
|
176
137
|
* giphy: { // MessageGiphy
|
|
177
138
|
* id: "STRING_VALUE", // required
|
|
@@ -188,6 +149,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
188
149
|
* forwardDate: "STRING_VALUE", // required
|
|
189
150
|
* forwardEmail: "STRING_VALUE",
|
|
190
151
|
* forwardName: "STRING_VALUE",
|
|
152
|
+
* messageId: "STRING_VALUE", // required
|
|
153
|
+
* channelId: "STRING_VALUE", // required
|
|
191
154
|
* },
|
|
192
155
|
* channelId: "STRING_VALUE", // required
|
|
193
156
|
* messageId: "STRING_VALUE", // required
|
|
@@ -204,64 +167,6 @@ declare const UpdateMessageCommand_base: {
|
|
|
204
167
|
* // text: "STRING_VALUE",
|
|
205
168
|
* // elements: [ // ElementsList
|
|
206
169
|
* // { // Element Union: only one key present
|
|
207
|
-
* // text: { // TextElement
|
|
208
|
-
* // value: "STRING_VALUE", // required
|
|
209
|
-
* // style: { // TextStyle
|
|
210
|
-
* // italic: true || false,
|
|
211
|
-
* // bold: true || false,
|
|
212
|
-
* // strike: true || false,
|
|
213
|
-
* // code: true || false,
|
|
214
|
-
* // },
|
|
215
|
-
* // },
|
|
216
|
-
* // link: { // LinkElement
|
|
217
|
-
* // url: "STRING_VALUE", // required
|
|
218
|
-
* // text: "STRING_VALUE",
|
|
219
|
-
* // style: {
|
|
220
|
-
* // italic: true || false,
|
|
221
|
-
* // bold: true || false,
|
|
222
|
-
* // strike: true || false,
|
|
223
|
-
* // code: true || false,
|
|
224
|
-
* // },
|
|
225
|
-
* // },
|
|
226
|
-
* // email: { // EmailElement
|
|
227
|
-
* // value: "STRING_VALUE", // required
|
|
228
|
-
* // style: {
|
|
229
|
-
* // italic: true || false,
|
|
230
|
-
* // bold: true || false,
|
|
231
|
-
* // strike: true || false,
|
|
232
|
-
* // code: true || false,
|
|
233
|
-
* // },
|
|
234
|
-
* // },
|
|
235
|
-
* // phone: { // PhoneElement
|
|
236
|
-
* // value: "STRING_VALUE", // required
|
|
237
|
-
* // style: {
|
|
238
|
-
* // italic: true || false,
|
|
239
|
-
* // bold: true || false,
|
|
240
|
-
* // strike: true || false,
|
|
241
|
-
* // code: true || false,
|
|
242
|
-
* // },
|
|
243
|
-
* // },
|
|
244
|
-
* // mention: { // MentionElement
|
|
245
|
-
* // text: "STRING_VALUE", // required
|
|
246
|
-
* // user: { // User
|
|
247
|
-
* // id: "STRING_VALUE", // required
|
|
248
|
-
* // name: "STRING_VALUE",
|
|
249
|
-
* // email: "STRING_VALUE",
|
|
250
|
-
* // phone: "STRING_VALUE",
|
|
251
|
-
* // picture: "STRING_VALUE",
|
|
252
|
-
* // locale: "STRING_VALUE",
|
|
253
|
-
* // timeZone: "STRING_VALUE",
|
|
254
|
-
* // company: "STRING_VALUE",
|
|
255
|
-
* // bot: true || false,
|
|
256
|
-
* // pbxDomain: "STRING_VALUE",
|
|
257
|
-
* // pbxPort: "STRING_VALUE",
|
|
258
|
-
* // pbxExtension: "STRING_VALUE",
|
|
259
|
-
* // pbxSerial: "STRING_VALUE",
|
|
260
|
-
* // pbxUserId: "STRING_VALUE",
|
|
261
|
-
* // createdAt: "STRING_VALUE",
|
|
262
|
-
* // updatedAt: "STRING_VALUE",
|
|
263
|
-
* // },
|
|
264
|
-
* // },
|
|
265
170
|
* // actions: [ // ActionsElementsList
|
|
266
171
|
* // { // ActionElement Union: only one key present
|
|
267
172
|
* // button: { // ButtonElement
|
|
@@ -299,7 +204,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
299
204
|
* // quote: { // MessageQuote
|
|
300
205
|
* // messageId: "STRING_VALUE", // required
|
|
301
206
|
* // channelId: "STRING_VALUE", // required
|
|
302
|
-
* // user: {
|
|
207
|
+
* // user: { // User
|
|
303
208
|
* // id: "STRING_VALUE", // required
|
|
304
209
|
* // name: "STRING_VALUE",
|
|
305
210
|
* // email: "STRING_VALUE",
|
|
@@ -335,9 +240,28 @@ declare const UpdateMessageCommand_base: {
|
|
|
335
240
|
* // forwardDate: "STRING_VALUE", // required
|
|
336
241
|
* // forwardEmail: "STRING_VALUE",
|
|
337
242
|
* // forwardName: "STRING_VALUE",
|
|
243
|
+
* // messageId: "STRING_VALUE", // required
|
|
244
|
+
* // channelId: "STRING_VALUE", // required
|
|
338
245
|
* // },
|
|
339
246
|
* // mentions: [ // UsersList
|
|
340
|
-
* //
|
|
247
|
+
* // {
|
|
248
|
+
* // id: "STRING_VALUE", // required
|
|
249
|
+
* // name: "STRING_VALUE",
|
|
250
|
+
* // email: "STRING_VALUE",
|
|
251
|
+
* // phone: "STRING_VALUE",
|
|
252
|
+
* // picture: "STRING_VALUE",
|
|
253
|
+
* // locale: "STRING_VALUE",
|
|
254
|
+
* // timeZone: "STRING_VALUE",
|
|
255
|
+
* // company: "STRING_VALUE",
|
|
256
|
+
* // bot: true || false,
|
|
257
|
+
* // pbxDomain: "STRING_VALUE",
|
|
258
|
+
* // pbxPort: "STRING_VALUE",
|
|
259
|
+
* // pbxExtension: "STRING_VALUE",
|
|
260
|
+
* // pbxSerial: "STRING_VALUE",
|
|
261
|
+
* // pbxUserId: "STRING_VALUE",
|
|
262
|
+
* // createdAt: "STRING_VALUE",
|
|
263
|
+
* // updatedAt: "STRING_VALUE",
|
|
264
|
+
* // },
|
|
341
265
|
* // ],
|
|
342
266
|
* // giphy: { // MessageGiphy
|
|
343
267
|
* // id: "STRING_VALUE", // required
|
|
@@ -354,6 +278,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
354
278
|
* // forwardDate: "STRING_VALUE", // required
|
|
355
279
|
* // forwardEmail: "STRING_VALUE",
|
|
356
280
|
* // forwardName: "STRING_VALUE",
|
|
281
|
+
* // messageId: "STRING_VALUE", // required
|
|
282
|
+
* // channelId: "STRING_VALUE", // required
|
|
357
283
|
* // },
|
|
358
284
|
* // type: "regular" || "system", // required
|
|
359
285
|
* // giphy: {
|
|
@@ -53,6 +53,30 @@ export declare class RateLimitExceededException extends __BaseException {
|
|
|
53
53
|
*/
|
|
54
54
|
constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
* @enum
|
|
59
|
+
*/
|
|
60
|
+
export declare const ConversationFileCategory: {
|
|
61
|
+
readonly GENERAL: "channels";
|
|
62
|
+
readonly RECORDING: "recordings";
|
|
63
|
+
readonly WIZY_RECORDING: "wizyconfRecordings";
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type ConversationFileCategory = typeof ConversationFileCategory[keyof typeof ConversationFileCategory];
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class FileNotFoundException extends __BaseException {
|
|
73
|
+
readonly name: "FileNotFoundException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
constructor(opts: __ExceptionOptionType<FileNotFoundException, __BaseException>);
|
|
79
|
+
}
|
|
56
80
|
/**
|
|
57
81
|
* @public
|
|
58
82
|
*/
|
|
@@ -484,19 +508,6 @@ export declare class ChannelAlreadyExistException extends __BaseException {
|
|
|
484
508
|
*/
|
|
485
509
|
constructor(opts: __ExceptionOptionType<ChannelAlreadyExistException, __BaseException>);
|
|
486
510
|
}
|
|
487
|
-
/**
|
|
488
|
-
* @public
|
|
489
|
-
* @enum
|
|
490
|
-
*/
|
|
491
|
-
export declare const ConversationFileCategory: {
|
|
492
|
-
readonly GENERAL: "channels";
|
|
493
|
-
readonly RECORDING: "recordings";
|
|
494
|
-
readonly WIZY_RECORDING: "wizyconfRecordings";
|
|
495
|
-
};
|
|
496
|
-
/**
|
|
497
|
-
* @public
|
|
498
|
-
*/
|
|
499
|
-
export type ConversationFileCategory = typeof ConversationFileCategory[keyof typeof ConversationFileCategory];
|
|
500
511
|
/**
|
|
501
512
|
* @public
|
|
502
513
|
*/
|
|
@@ -788,135 +799,12 @@ export interface MessageAttachment {
|
|
|
788
799
|
/**
|
|
789
800
|
* @public
|
|
790
801
|
*/
|
|
791
|
-
export
|
|
792
|
-
italic?: boolean;
|
|
793
|
-
bold?: boolean;
|
|
794
|
-
strike?: boolean;
|
|
795
|
-
code?: boolean;
|
|
796
|
-
}
|
|
797
|
-
/**
|
|
798
|
-
* @public
|
|
799
|
-
*/
|
|
800
|
-
export interface EmailElement {
|
|
801
|
-
/**
|
|
802
|
-
* The email address.
|
|
803
|
-
* @public
|
|
804
|
-
*/
|
|
805
|
-
value: string;
|
|
806
|
-
/**
|
|
807
|
-
* Additional styling properties for the email.
|
|
808
|
-
* @public
|
|
809
|
-
*/
|
|
810
|
-
style?: TextStyle;
|
|
811
|
-
}
|
|
812
|
-
/**
|
|
813
|
-
* @public
|
|
814
|
-
*/
|
|
815
|
-
export interface LinkElement {
|
|
816
|
-
/**
|
|
817
|
-
* The link's url.
|
|
818
|
-
* @public
|
|
819
|
-
*/
|
|
820
|
-
url: string;
|
|
821
|
-
/**
|
|
822
|
-
* The text shown to the user (instead of the url). If no text is provided, the url is used.
|
|
823
|
-
* @public
|
|
824
|
-
*/
|
|
825
|
-
text?: string;
|
|
826
|
-
/**
|
|
827
|
-
* Additional styling properties for the link.
|
|
828
|
-
* @public
|
|
829
|
-
*/
|
|
830
|
-
style?: TextStyle;
|
|
831
|
-
}
|
|
832
|
-
/**
|
|
833
|
-
* @public
|
|
834
|
-
*/
|
|
835
|
-
export interface MentionElement {
|
|
836
|
-
text: string;
|
|
837
|
-
user: User;
|
|
838
|
-
}
|
|
839
|
-
/**
|
|
840
|
-
* @public
|
|
841
|
-
*/
|
|
842
|
-
export interface PhoneElement {
|
|
843
|
-
/**
|
|
844
|
-
* The phone number.
|
|
845
|
-
* @public
|
|
846
|
-
*/
|
|
847
|
-
value: string;
|
|
848
|
-
/**
|
|
849
|
-
* Additional styling properties for the phone number.
|
|
850
|
-
* @public
|
|
851
|
-
*/
|
|
852
|
-
style?: TextStyle;
|
|
853
|
-
}
|
|
854
|
-
/**
|
|
855
|
-
* @public
|
|
856
|
-
*/
|
|
857
|
-
export interface TextElement {
|
|
858
|
-
value: string;
|
|
859
|
-
style?: TextStyle;
|
|
860
|
-
}
|
|
861
|
-
/**
|
|
862
|
-
* @public
|
|
863
|
-
*/
|
|
864
|
-
export type Element = Element.ActionsMember | Element.EmailMember | Element.LinkMember | Element.MentionMember | Element.PhoneMember | Element.TextMember | Element.$UnknownMember;
|
|
802
|
+
export type Element = Element.ActionsMember | Element.$UnknownMember;
|
|
865
803
|
/**
|
|
866
804
|
* @public
|
|
867
805
|
*/
|
|
868
806
|
export declare namespace Element {
|
|
869
|
-
interface TextMember {
|
|
870
|
-
text: TextElement;
|
|
871
|
-
link?: never;
|
|
872
|
-
email?: never;
|
|
873
|
-
phone?: never;
|
|
874
|
-
mention?: never;
|
|
875
|
-
actions?: never;
|
|
876
|
-
$unknown?: never;
|
|
877
|
-
}
|
|
878
|
-
interface LinkMember {
|
|
879
|
-
text?: never;
|
|
880
|
-
link: LinkElement;
|
|
881
|
-
email?: never;
|
|
882
|
-
phone?: never;
|
|
883
|
-
mention?: never;
|
|
884
|
-
actions?: never;
|
|
885
|
-
$unknown?: never;
|
|
886
|
-
}
|
|
887
|
-
interface EmailMember {
|
|
888
|
-
text?: never;
|
|
889
|
-
link?: never;
|
|
890
|
-
email: EmailElement;
|
|
891
|
-
phone?: never;
|
|
892
|
-
mention?: never;
|
|
893
|
-
actions?: never;
|
|
894
|
-
$unknown?: never;
|
|
895
|
-
}
|
|
896
|
-
interface PhoneMember {
|
|
897
|
-
text?: never;
|
|
898
|
-
link?: never;
|
|
899
|
-
email?: never;
|
|
900
|
-
phone: PhoneElement;
|
|
901
|
-
mention?: never;
|
|
902
|
-
actions?: never;
|
|
903
|
-
$unknown?: never;
|
|
904
|
-
}
|
|
905
|
-
interface MentionMember {
|
|
906
|
-
text?: never;
|
|
907
|
-
link?: never;
|
|
908
|
-
email?: never;
|
|
909
|
-
phone?: never;
|
|
910
|
-
mention: MentionElement;
|
|
911
|
-
actions?: never;
|
|
912
|
-
$unknown?: never;
|
|
913
|
-
}
|
|
914
807
|
interface ActionsMember {
|
|
915
|
-
text?: never;
|
|
916
|
-
link?: never;
|
|
917
|
-
email?: never;
|
|
918
|
-
phone?: never;
|
|
919
|
-
mention?: never;
|
|
920
808
|
actions: (ActionElement)[];
|
|
921
809
|
$unknown?: never;
|
|
922
810
|
}
|
|
@@ -924,20 +812,10 @@ export declare namespace Element {
|
|
|
924
812
|
* @public
|
|
925
813
|
*/
|
|
926
814
|
interface $UnknownMember {
|
|
927
|
-
text?: never;
|
|
928
|
-
link?: never;
|
|
929
|
-
email?: never;
|
|
930
|
-
phone?: never;
|
|
931
|
-
mention?: never;
|
|
932
815
|
actions?: never;
|
|
933
816
|
$unknown: [string, any];
|
|
934
817
|
}
|
|
935
818
|
interface Visitor<T> {
|
|
936
|
-
text: (value: TextElement) => T;
|
|
937
|
-
link: (value: LinkElement) => T;
|
|
938
|
-
email: (value: EmailElement) => T;
|
|
939
|
-
phone: (value: PhoneElement) => T;
|
|
940
|
-
mention: (value: MentionElement) => T;
|
|
941
819
|
actions: (value: (ActionElement)[]) => T;
|
|
942
820
|
_: (name: string, value: any) => T;
|
|
943
821
|
}
|
|
@@ -951,6 +829,8 @@ export interface MessageForward {
|
|
|
951
829
|
forwardDate: string;
|
|
952
830
|
forwardEmail?: string;
|
|
953
831
|
forwardName?: string;
|
|
832
|
+
messageId: string;
|
|
833
|
+
channelId: string;
|
|
954
834
|
}
|
|
955
835
|
/**
|
|
956
836
|
* @public
|
|
@@ -1363,17 +1243,6 @@ export interface GetDirectChannelIdInput {
|
|
|
1363
1243
|
export interface GetDirectChannelIdOutput {
|
|
1364
1244
|
channelId: string;
|
|
1365
1245
|
}
|
|
1366
|
-
/**
|
|
1367
|
-
* @public
|
|
1368
|
-
*/
|
|
1369
|
-
export declare class FileNotFoundException extends __BaseException {
|
|
1370
|
-
readonly name: "FileNotFoundException";
|
|
1371
|
-
readonly $fault: "client";
|
|
1372
|
-
/**
|
|
1373
|
-
* @internal
|
|
1374
|
-
*/
|
|
1375
|
-
constructor(opts: __ExceptionOptionType<FileNotFoundException, __BaseException>);
|
|
1376
|
-
}
|
|
1377
1246
|
/**
|
|
1378
1247
|
* @public
|
|
1379
1248
|
*/
|
|
@@ -2109,15 +1978,15 @@ export interface PinMessageInput {
|
|
|
2109
1978
|
*/
|
|
2110
1979
|
userId?: string;
|
|
2111
1980
|
/**
|
|
2112
|
-
* The duration in seconds after which the pinned message will be automatically unpinned. If neither `expiresAfter` nor `
|
|
1981
|
+
* The duration in seconds after which the pinned message will be automatically unpinned. If neither `expiresAfter` nor `expiresAt` is provided, the message will remain pinned indefinitely. Providing both `expiresAfter` and `expiresAt` will result in a validation error.
|
|
2113
1982
|
* @public
|
|
2114
1983
|
*/
|
|
2115
1984
|
expiresAfter?: number;
|
|
2116
1985
|
/**
|
|
2117
|
-
* The specific date and time (in ISO 8601 format) when the pinned message will be automatically unpinned. If neither `expiresAfter` nor `
|
|
1986
|
+
* The specific date and time (in ISO 8601 format) when the pinned message will be automatically unpinned. If neither `expiresAfter` nor `expiresAt` is provided, the message will remain pinned indefinitely. Providing both `expiresAfter` and `expiresAt` will result in a validation error.
|
|
2118
1987
|
* @public
|
|
2119
1988
|
*/
|
|
2120
|
-
|
|
1989
|
+
expiresAt?: string;
|
|
2121
1990
|
/**
|
|
2122
1991
|
* Set to true to suppress system messages generated by this operation. Defaults to false.
|
|
2123
1992
|
* @public
|