@wildix/xbees-conversations-client 1.0.65 → 1.1.0
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 +0 -12
- package/dist-cjs/commands/index.js +0 -6
- package/dist-cjs/models/models_0.js +30 -105
- package/dist-cjs/protocols/Aws_restJson1.js +2 -230
- package/dist-es/Conversations.js +0 -12
- package/dist-es/commands/index.js +0 -6
- package/dist-es/models/models_0.js +28 -101
- package/dist-es/protocols/Aws_restJson1.js +1 -216
- package/dist-types/Conversations.d.ts +0 -42
- package/dist-types/ConversationsClient.d.ts +2 -8
- package/dist-types/commands/DescribeEventCommand.d.ts +19 -274
- package/dist-types/commands/GetMessageCommand.d.ts +23 -84
- package/dist-types/commands/ListMessagesCommand.d.ts +23 -84
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +47 -173
- package/dist-types/commands/SendGiphyCommand.d.ts +23 -84
- package/dist-types/commands/SendMessageCommand.d.ts +46 -168
- package/dist-types/commands/UpdateMessageCommand.d.ts +46 -169
- package/dist-types/commands/index.d.ts +0 -6
- package/dist-types/models/models_0.d.ts +91 -604
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -54
- package/dist-types/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/runtimeConfig.d.ts +0 -1
- package/dist-types/runtimeConfig.native.d.ts +0 -1
- package/package.json +1 -1
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +0 -21
- package/dist-cjs/commands/ListPinnedMessagesCommand.js +0 -21
- package/dist-cjs/commands/PinMessageCommand.js +0 -21
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +0 -21
- package/dist-cjs/commands/TriggerMessageActionCommand.js +0 -21
- package/dist-cjs/commands/UnpinMessageCommand.js +0 -21
- package/dist-es/commands/GetActionTriggerResultCommand.js +0 -17
- package/dist-es/commands/ListPinnedMessagesCommand.js +0 -17
- package/dist-es/commands/PinMessageCommand.js +0 -17
- package/dist-es/commands/SendActionTriggerResultCommand.js +0 -17
- package/dist-es/commands/TriggerMessageActionCommand.js +0 -17
- package/dist-es/commands/UnpinMessageCommand.js +0 -17
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +0 -70
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +0 -261
- package/dist-types/commands/PinMessageCommand.d.ts +0 -73
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +0 -68
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +0 -75
- package/dist-types/commands/UnpinMessageCommand.d.ts +0 -71
|
@@ -36,88 +36,6 @@ declare const SendMessageCommand_base: {
|
|
|
36
36
|
* const client = new ConversationsClient(config);
|
|
37
37
|
* const input = { // SendMessageInput
|
|
38
38
|
* text: "STRING_VALUE",
|
|
39
|
-
* elements: [ // ElementsList
|
|
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
|
-
* actions: [ // ActionsElementsList
|
|
100
|
-
* { // ActionElement Union: only one key present
|
|
101
|
-
* button: { // ButtonElement
|
|
102
|
-
* text: "STRING_VALUE", // required
|
|
103
|
-
* variant: "contained" || "outlined",
|
|
104
|
-
* disabled: true || false,
|
|
105
|
-
* handler: { // ButtonHandler Union: only one key present
|
|
106
|
-
* link: { // ButtonLinkHandler
|
|
107
|
-
* url: "STRING_VALUE", // required
|
|
108
|
-
* },
|
|
109
|
-
* reply: { // ButtonReplyHandler
|
|
110
|
-
* text: "STRING_VALUE",
|
|
111
|
-
* },
|
|
112
|
-
* action: { // ButtonActionHandler
|
|
113
|
-
* id: "STRING_VALUE", // required
|
|
114
|
-
* },
|
|
115
|
-
* },
|
|
116
|
-
* },
|
|
117
|
-
* },
|
|
118
|
-
* ],
|
|
119
|
-
* },
|
|
120
|
-
* ],
|
|
121
39
|
* attachments: [ // MessageAttachmentList
|
|
122
40
|
* { // MessageAttachment
|
|
123
41
|
* id: "STRING_VALUE", // required
|
|
@@ -133,7 +51,7 @@ declare const SendMessageCommand_base: {
|
|
|
133
51
|
* quote: { // MessageQuote
|
|
134
52
|
* messageId: "STRING_VALUE", // required
|
|
135
53
|
* channelId: "STRING_VALUE", // required
|
|
136
|
-
* user: {
|
|
54
|
+
* user: { // User
|
|
137
55
|
* id: "STRING_VALUE", // required
|
|
138
56
|
* name: "STRING_VALUE",
|
|
139
57
|
* email: "STRING_VALUE",
|
|
@@ -169,9 +87,28 @@ declare const SendMessageCommand_base: {
|
|
|
169
87
|
* forwardDate: "STRING_VALUE", // required
|
|
170
88
|
* forwardEmail: "STRING_VALUE",
|
|
171
89
|
* forwardName: "STRING_VALUE",
|
|
90
|
+
* messageId: "STRING_VALUE", // required
|
|
91
|
+
* channelId: "STRING_VALUE", // required
|
|
172
92
|
* },
|
|
173
93
|
* mentions: [ // UsersList
|
|
174
|
-
*
|
|
94
|
+
* {
|
|
95
|
+
* id: "STRING_VALUE", // required
|
|
96
|
+
* name: "STRING_VALUE",
|
|
97
|
+
* email: "STRING_VALUE",
|
|
98
|
+
* phone: "STRING_VALUE",
|
|
99
|
+
* picture: "STRING_VALUE",
|
|
100
|
+
* locale: "STRING_VALUE",
|
|
101
|
+
* timeZone: "STRING_VALUE",
|
|
102
|
+
* company: "STRING_VALUE",
|
|
103
|
+
* bot: true || false,
|
|
104
|
+
* pbxDomain: "STRING_VALUE",
|
|
105
|
+
* pbxPort: "STRING_VALUE",
|
|
106
|
+
* pbxExtension: "STRING_VALUE",
|
|
107
|
+
* pbxSerial: "STRING_VALUE",
|
|
108
|
+
* pbxUserId: "STRING_VALUE",
|
|
109
|
+
* createdAt: "STRING_VALUE",
|
|
110
|
+
* updatedAt: "STRING_VALUE",
|
|
111
|
+
* },
|
|
175
112
|
* ],
|
|
176
113
|
* giphy: { // MessageGiphy
|
|
177
114
|
* id: "STRING_VALUE", // required
|
|
@@ -188,6 +125,8 @@ declare const SendMessageCommand_base: {
|
|
|
188
125
|
* forwardDate: "STRING_VALUE", // required
|
|
189
126
|
* forwardEmail: "STRING_VALUE",
|
|
190
127
|
* forwardName: "STRING_VALUE",
|
|
128
|
+
* messageId: "STRING_VALUE", // required
|
|
129
|
+
* channelId: "STRING_VALUE", // required
|
|
191
130
|
* },
|
|
192
131
|
* channelId: "STRING_VALUE", // required
|
|
193
132
|
* userId: "STRING_VALUE",
|
|
@@ -201,88 +140,6 @@ declare const SendMessageCommand_base: {
|
|
|
201
140
|
* // { // SendMessageOutput
|
|
202
141
|
* // message: { // Message
|
|
203
142
|
* // text: "STRING_VALUE",
|
|
204
|
-
* // elements: [ // ElementsList
|
|
205
|
-
* // { // 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
|
-
* // actions: [ // ActionsElementsList
|
|
265
|
-
* // { // ActionElement Union: only one key present
|
|
266
|
-
* // button: { // ButtonElement
|
|
267
|
-
* // text: "STRING_VALUE", // required
|
|
268
|
-
* // variant: "contained" || "outlined",
|
|
269
|
-
* // disabled: true || false,
|
|
270
|
-
* // handler: { // ButtonHandler Union: only one key present
|
|
271
|
-
* // link: { // ButtonLinkHandler
|
|
272
|
-
* // url: "STRING_VALUE", // required
|
|
273
|
-
* // },
|
|
274
|
-
* // reply: { // ButtonReplyHandler
|
|
275
|
-
* // text: "STRING_VALUE",
|
|
276
|
-
* // },
|
|
277
|
-
* // action: { // ButtonActionHandler
|
|
278
|
-
* // id: "STRING_VALUE", // required
|
|
279
|
-
* // },
|
|
280
|
-
* // },
|
|
281
|
-
* // },
|
|
282
|
-
* // },
|
|
283
|
-
* // ],
|
|
284
|
-
* // },
|
|
285
|
-
* // ],
|
|
286
143
|
* // attachments: [ // MessageAttachmentList
|
|
287
144
|
* // { // MessageAttachment
|
|
288
145
|
* // id: "STRING_VALUE", // required
|
|
@@ -298,7 +155,7 @@ declare const SendMessageCommand_base: {
|
|
|
298
155
|
* // quote: { // MessageQuote
|
|
299
156
|
* // messageId: "STRING_VALUE", // required
|
|
300
157
|
* // channelId: "STRING_VALUE", // required
|
|
301
|
-
* // user: {
|
|
158
|
+
* // user: { // User
|
|
302
159
|
* // id: "STRING_VALUE", // required
|
|
303
160
|
* // name: "STRING_VALUE",
|
|
304
161
|
* // email: "STRING_VALUE",
|
|
@@ -334,9 +191,28 @@ declare const SendMessageCommand_base: {
|
|
|
334
191
|
* // forwardDate: "STRING_VALUE", // required
|
|
335
192
|
* // forwardEmail: "STRING_VALUE",
|
|
336
193
|
* // forwardName: "STRING_VALUE",
|
|
194
|
+
* // messageId: "STRING_VALUE", // required
|
|
195
|
+
* // channelId: "STRING_VALUE", // required
|
|
337
196
|
* // },
|
|
338
197
|
* // mentions: [ // UsersList
|
|
339
|
-
* //
|
|
198
|
+
* // {
|
|
199
|
+
* // id: "STRING_VALUE", // required
|
|
200
|
+
* // name: "STRING_VALUE",
|
|
201
|
+
* // email: "STRING_VALUE",
|
|
202
|
+
* // phone: "STRING_VALUE",
|
|
203
|
+
* // picture: "STRING_VALUE",
|
|
204
|
+
* // locale: "STRING_VALUE",
|
|
205
|
+
* // timeZone: "STRING_VALUE",
|
|
206
|
+
* // company: "STRING_VALUE",
|
|
207
|
+
* // bot: true || false,
|
|
208
|
+
* // pbxDomain: "STRING_VALUE",
|
|
209
|
+
* // pbxPort: "STRING_VALUE",
|
|
210
|
+
* // pbxExtension: "STRING_VALUE",
|
|
211
|
+
* // pbxSerial: "STRING_VALUE",
|
|
212
|
+
* // pbxUserId: "STRING_VALUE",
|
|
213
|
+
* // createdAt: "STRING_VALUE",
|
|
214
|
+
* // updatedAt: "STRING_VALUE",
|
|
215
|
+
* // },
|
|
340
216
|
* // ],
|
|
341
217
|
* // giphy: { // MessageGiphy
|
|
342
218
|
* // id: "STRING_VALUE", // required
|
|
@@ -353,6 +229,8 @@ declare const SendMessageCommand_base: {
|
|
|
353
229
|
* // forwardDate: "STRING_VALUE", // required
|
|
354
230
|
* // forwardEmail: "STRING_VALUE",
|
|
355
231
|
* // forwardName: "STRING_VALUE",
|
|
232
|
+
* // messageId: "STRING_VALUE", // required
|
|
233
|
+
* // channelId: "STRING_VALUE", // required
|
|
356
234
|
* // },
|
|
357
235
|
* // type: "regular" || "system", // required
|
|
358
236
|
* // giphy: {
|
|
@@ -36,88 +36,6 @@ declare const UpdateMessageCommand_base: {
|
|
|
36
36
|
* const client = new ConversationsClient(config);
|
|
37
37
|
* const input = { // UpdateMessageInput
|
|
38
38
|
* text: "STRING_VALUE",
|
|
39
|
-
* elements: [ // ElementsList
|
|
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
|
-
* actions: [ // ActionsElementsList
|
|
100
|
-
* { // ActionElement Union: only one key present
|
|
101
|
-
* button: { // ButtonElement
|
|
102
|
-
* text: "STRING_VALUE", // required
|
|
103
|
-
* variant: "contained" || "outlined",
|
|
104
|
-
* disabled: true || false,
|
|
105
|
-
* handler: { // ButtonHandler Union: only one key present
|
|
106
|
-
* link: { // ButtonLinkHandler
|
|
107
|
-
* url: "STRING_VALUE", // required
|
|
108
|
-
* },
|
|
109
|
-
* reply: { // ButtonReplyHandler
|
|
110
|
-
* text: "STRING_VALUE",
|
|
111
|
-
* },
|
|
112
|
-
* action: { // ButtonActionHandler
|
|
113
|
-
* id: "STRING_VALUE", // required
|
|
114
|
-
* },
|
|
115
|
-
* },
|
|
116
|
-
* },
|
|
117
|
-
* },
|
|
118
|
-
* ],
|
|
119
|
-
* },
|
|
120
|
-
* ],
|
|
121
39
|
* attachments: [ // MessageAttachmentList
|
|
122
40
|
* { // MessageAttachment
|
|
123
41
|
* id: "STRING_VALUE", // required
|
|
@@ -133,7 +51,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
133
51
|
* quote: { // MessageQuote
|
|
134
52
|
* messageId: "STRING_VALUE", // required
|
|
135
53
|
* channelId: "STRING_VALUE", // required
|
|
136
|
-
* user: {
|
|
54
|
+
* user: { // User
|
|
137
55
|
* id: "STRING_VALUE", // required
|
|
138
56
|
* name: "STRING_VALUE",
|
|
139
57
|
* email: "STRING_VALUE",
|
|
@@ -169,9 +87,28 @@ declare const UpdateMessageCommand_base: {
|
|
|
169
87
|
* forwardDate: "STRING_VALUE", // required
|
|
170
88
|
* forwardEmail: "STRING_VALUE",
|
|
171
89
|
* forwardName: "STRING_VALUE",
|
|
90
|
+
* messageId: "STRING_VALUE", // required
|
|
91
|
+
* channelId: "STRING_VALUE", // required
|
|
172
92
|
* },
|
|
173
93
|
* mentions: [ // UsersList
|
|
174
|
-
*
|
|
94
|
+
* {
|
|
95
|
+
* id: "STRING_VALUE", // required
|
|
96
|
+
* name: "STRING_VALUE",
|
|
97
|
+
* email: "STRING_VALUE",
|
|
98
|
+
* phone: "STRING_VALUE",
|
|
99
|
+
* picture: "STRING_VALUE",
|
|
100
|
+
* locale: "STRING_VALUE",
|
|
101
|
+
* timeZone: "STRING_VALUE",
|
|
102
|
+
* company: "STRING_VALUE",
|
|
103
|
+
* bot: true || false,
|
|
104
|
+
* pbxDomain: "STRING_VALUE",
|
|
105
|
+
* pbxPort: "STRING_VALUE",
|
|
106
|
+
* pbxExtension: "STRING_VALUE",
|
|
107
|
+
* pbxSerial: "STRING_VALUE",
|
|
108
|
+
* pbxUserId: "STRING_VALUE",
|
|
109
|
+
* createdAt: "STRING_VALUE",
|
|
110
|
+
* updatedAt: "STRING_VALUE",
|
|
111
|
+
* },
|
|
175
112
|
* ],
|
|
176
113
|
* giphy: { // MessageGiphy
|
|
177
114
|
* id: "STRING_VALUE", // required
|
|
@@ -188,6 +125,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
188
125
|
* forwardDate: "STRING_VALUE", // required
|
|
189
126
|
* forwardEmail: "STRING_VALUE",
|
|
190
127
|
* forwardName: "STRING_VALUE",
|
|
128
|
+
* messageId: "STRING_VALUE", // required
|
|
129
|
+
* channelId: "STRING_VALUE", // required
|
|
191
130
|
* },
|
|
192
131
|
* channelId: "STRING_VALUE", // required
|
|
193
132
|
* messageId: "STRING_VALUE", // required
|
|
@@ -195,95 +134,12 @@ declare const UpdateMessageCommand_base: {
|
|
|
195
134
|
* mentions: [ // UsersIdList
|
|
196
135
|
* "STRING_VALUE",
|
|
197
136
|
* ],
|
|
198
|
-
* silent: true || false,
|
|
199
137
|
* };
|
|
200
138
|
* const command = new UpdateMessageCommand(input);
|
|
201
139
|
* const response = await client.send(command);
|
|
202
140
|
* // { // UpdateMessageOutput
|
|
203
141
|
* // message: { // Message
|
|
204
142
|
* // text: "STRING_VALUE",
|
|
205
|
-
* // elements: [ // ElementsList
|
|
206
|
-
* // { // 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
|
-
* // actions: [ // ActionsElementsList
|
|
266
|
-
* // { // ActionElement Union: only one key present
|
|
267
|
-
* // button: { // ButtonElement
|
|
268
|
-
* // text: "STRING_VALUE", // required
|
|
269
|
-
* // variant: "contained" || "outlined",
|
|
270
|
-
* // disabled: true || false,
|
|
271
|
-
* // handler: { // ButtonHandler Union: only one key present
|
|
272
|
-
* // link: { // ButtonLinkHandler
|
|
273
|
-
* // url: "STRING_VALUE", // required
|
|
274
|
-
* // },
|
|
275
|
-
* // reply: { // ButtonReplyHandler
|
|
276
|
-
* // text: "STRING_VALUE",
|
|
277
|
-
* // },
|
|
278
|
-
* // action: { // ButtonActionHandler
|
|
279
|
-
* // id: "STRING_VALUE", // required
|
|
280
|
-
* // },
|
|
281
|
-
* // },
|
|
282
|
-
* // },
|
|
283
|
-
* // },
|
|
284
|
-
* // ],
|
|
285
|
-
* // },
|
|
286
|
-
* // ],
|
|
287
143
|
* // attachments: [ // MessageAttachmentList
|
|
288
144
|
* // { // MessageAttachment
|
|
289
145
|
* // id: "STRING_VALUE", // required
|
|
@@ -299,7 +155,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
299
155
|
* // quote: { // MessageQuote
|
|
300
156
|
* // messageId: "STRING_VALUE", // required
|
|
301
157
|
* // channelId: "STRING_VALUE", // required
|
|
302
|
-
* // user: {
|
|
158
|
+
* // user: { // User
|
|
303
159
|
* // id: "STRING_VALUE", // required
|
|
304
160
|
* // name: "STRING_VALUE",
|
|
305
161
|
* // email: "STRING_VALUE",
|
|
@@ -335,9 +191,28 @@ declare const UpdateMessageCommand_base: {
|
|
|
335
191
|
* // forwardDate: "STRING_VALUE", // required
|
|
336
192
|
* // forwardEmail: "STRING_VALUE",
|
|
337
193
|
* // forwardName: "STRING_VALUE",
|
|
194
|
+
* // messageId: "STRING_VALUE", // required
|
|
195
|
+
* // channelId: "STRING_VALUE", // required
|
|
338
196
|
* // },
|
|
339
197
|
* // mentions: [ // UsersList
|
|
340
|
-
* //
|
|
198
|
+
* // {
|
|
199
|
+
* // id: "STRING_VALUE", // required
|
|
200
|
+
* // name: "STRING_VALUE",
|
|
201
|
+
* // email: "STRING_VALUE",
|
|
202
|
+
* // phone: "STRING_VALUE",
|
|
203
|
+
* // picture: "STRING_VALUE",
|
|
204
|
+
* // locale: "STRING_VALUE",
|
|
205
|
+
* // timeZone: "STRING_VALUE",
|
|
206
|
+
* // company: "STRING_VALUE",
|
|
207
|
+
* // bot: true || false,
|
|
208
|
+
* // pbxDomain: "STRING_VALUE",
|
|
209
|
+
* // pbxPort: "STRING_VALUE",
|
|
210
|
+
* // pbxExtension: "STRING_VALUE",
|
|
211
|
+
* // pbxSerial: "STRING_VALUE",
|
|
212
|
+
* // pbxUserId: "STRING_VALUE",
|
|
213
|
+
* // createdAt: "STRING_VALUE",
|
|
214
|
+
* // updatedAt: "STRING_VALUE",
|
|
215
|
+
* // },
|
|
341
216
|
* // ],
|
|
342
217
|
* // giphy: { // MessageGiphy
|
|
343
218
|
* // id: "STRING_VALUE", // required
|
|
@@ -354,6 +229,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
354
229
|
* // forwardDate: "STRING_VALUE", // required
|
|
355
230
|
* // forwardEmail: "STRING_VALUE",
|
|
356
231
|
* // forwardName: "STRING_VALUE",
|
|
232
|
+
* // messageId: "STRING_VALUE", // required
|
|
233
|
+
* // channelId: "STRING_VALUE", // required
|
|
357
234
|
* // },
|
|
358
235
|
* // type: "regular" || "system", // required
|
|
359
236
|
* // giphy: {
|
|
@@ -8,7 +8,6 @@ export * from "./DeleteInboxTagCommand";
|
|
|
8
8
|
export * from "./DeleteMessageCommand";
|
|
9
9
|
export * from "./DeleteMessageReactionCommand";
|
|
10
10
|
export * from "./DescribeEventCommand";
|
|
11
|
-
export * from "./GetActionTriggerResultCommand";
|
|
12
11
|
export * from "./GetChannelCommand";
|
|
13
12
|
export * from "./GetChannelMemberCommand";
|
|
14
13
|
export * from "./GetDirectChannelIdCommand";
|
|
@@ -27,15 +26,12 @@ export * from "./ListInboxTaggedChannelsCommand";
|
|
|
27
26
|
export * from "./ListInboxTagsCommand";
|
|
28
27
|
export * from "./ListMessageReactionsCommand";
|
|
29
28
|
export * from "./ListMessagesCommand";
|
|
30
|
-
export * from "./ListPinnedMessagesCommand";
|
|
31
29
|
export * from "./MarkReadCommand";
|
|
32
30
|
export * from "./MarkUnreadCommand";
|
|
33
31
|
export * from "./PartialUpdateChannelCommand";
|
|
34
32
|
export * from "./PartialUpdateMessageCommand";
|
|
35
33
|
export * from "./PinChannelCommand";
|
|
36
|
-
export * from "./PinMessageCommand";
|
|
37
34
|
export * from "./ScheduleExternalFlagAdjustmentJobCommand";
|
|
38
|
-
export * from "./SendActionTriggerResultCommand";
|
|
39
35
|
export * from "./SendGiphyCommand";
|
|
40
36
|
export * from "./SendMessageCommand";
|
|
41
37
|
export * from "./SendMessageReactionCommand";
|
|
@@ -43,9 +39,7 @@ export * from "./SendTypingStartCommand";
|
|
|
43
39
|
export * from "./SendTypingStopCommand";
|
|
44
40
|
export * from "./ShowChannelCommand";
|
|
45
41
|
export * from "./TagChannelCommand";
|
|
46
|
-
export * from "./TriggerMessageActionCommand";
|
|
47
42
|
export * from "./UnpinChannelCommand";
|
|
48
|
-
export * from "./UnpinMessageCommand";
|
|
49
43
|
export * from "./UntagChannelCommand";
|
|
50
44
|
export * from "./UpdateChannelCommand";
|
|
51
45
|
export * from "./UpdateInboxTagCommand";
|