@wildix/xbees-conversations-client 1.0.59 → 1.0.60

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 (36) hide show
  1. package/dist-cjs/Conversations.js +6 -0
  2. package/dist-cjs/commands/GetActionTriggerResultCommand.js +21 -0
  3. package/dist-cjs/commands/SendActionTriggerResultCommand.js +21 -0
  4. package/dist-cjs/commands/TriggerMessageActionCommand.js +21 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/models/models_0.js +74 -2
  7. package/dist-cjs/protocols/Aws_restJson1.js +135 -4
  8. package/dist-es/Conversations.js +6 -0
  9. package/dist-es/commands/GetActionTriggerResultCommand.js +17 -0
  10. package/dist-es/commands/SendActionTriggerResultCommand.js +17 -0
  11. package/dist-es/commands/TriggerMessageActionCommand.js +17 -0
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/models/models_0.js +71 -1
  14. package/dist-es/protocols/Aws_restJson1.js +128 -3
  15. package/dist-types/Conversations.d.ts +21 -0
  16. package/dist-types/ConversationsClient.d.ts +5 -2
  17. package/dist-types/commands/DescribeEventCommand.d.ts +259 -9
  18. package/dist-types/commands/GetActionTriggerResultCommand.d.ts +70 -0
  19. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +1 -2
  20. package/dist-types/commands/GetMessageCommand.d.ts +84 -19
  21. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +1 -1
  22. package/dist-types/commands/ListMessagesCommand.d.ts +84 -19
  23. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +168 -38
  24. package/dist-types/commands/SendActionTriggerResultCommand.d.ts +68 -0
  25. package/dist-types/commands/SendGiphyCommand.d.ts +84 -19
  26. package/dist-types/commands/SendMessageCommand.d.ts +168 -38
  27. package/dist-types/commands/TriggerMessageActionCommand.d.ts +227 -0
  28. package/dist-types/commands/UpdateMessageCommand.d.ts +168 -38
  29. package/dist-types/commands/UploadFileCommand.d.ts +1 -1
  30. package/dist-types/commands/index.d.ts +3 -0
  31. package/dist-types/models/models_0.d.ts +387 -6
  32. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  34. package/dist-types/runtimeConfig.d.ts +1 -0
  35. package/dist-types/runtimeConfig.native.d.ts +1 -0
  36. package/package.json +1 -1
@@ -36,6 +36,88 @@ 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
+ * ],
39
121
  * attachments: [ // MessageAttachmentList
40
122
  * { // MessageAttachment
41
123
  * id: "STRING_VALUE", // required
@@ -51,7 +133,7 @@ declare const UpdateMessageCommand_base: {
51
133
  * quote: { // MessageQuote
52
134
  * messageId: "STRING_VALUE", // required
53
135
  * channelId: "STRING_VALUE", // required
54
- * user: { // User
136
+ * user: {
55
137
  * id: "STRING_VALUE", // required
56
138
  * name: "STRING_VALUE",
57
139
  * email: "STRING_VALUE",
@@ -89,24 +171,7 @@ declare const UpdateMessageCommand_base: {
89
171
  * forwardName: "STRING_VALUE",
90
172
  * },
91
173
  * mentions: [ // UsersList
92
- * {
93
- * id: "STRING_VALUE", // required
94
- * name: "STRING_VALUE",
95
- * email: "STRING_VALUE",
96
- * phone: "STRING_VALUE",
97
- * picture: "STRING_VALUE",
98
- * locale: "STRING_VALUE",
99
- * timeZone: "STRING_VALUE",
100
- * company: "STRING_VALUE",
101
- * bot: true || false,
102
- * pbxDomain: "STRING_VALUE",
103
- * pbxPort: "STRING_VALUE",
104
- * pbxExtension: "STRING_VALUE",
105
- * pbxSerial: "STRING_VALUE",
106
- * pbxUserId: "STRING_VALUE",
107
- * createdAt: "STRING_VALUE",
108
- * updatedAt: "STRING_VALUE",
109
- * },
174
+ * "<User>",
110
175
  * ],
111
176
  * giphy: { // MessageGiphy
112
177
  * id: "STRING_VALUE", // required
@@ -136,6 +201,88 @@ declare const UpdateMessageCommand_base: {
136
201
  * // { // UpdateMessageOutput
137
202
  * // message: { // Message
138
203
  * // 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
+ * // ],
139
286
  * // attachments: [ // MessageAttachmentList
140
287
  * // { // MessageAttachment
141
288
  * // id: "STRING_VALUE", // required
@@ -151,7 +298,7 @@ declare const UpdateMessageCommand_base: {
151
298
  * // quote: { // MessageQuote
152
299
  * // messageId: "STRING_VALUE", // required
153
300
  * // channelId: "STRING_VALUE", // required
154
- * // user: { // User
301
+ * // user: {
155
302
  * // id: "STRING_VALUE", // required
156
303
  * // name: "STRING_VALUE",
157
304
  * // email: "STRING_VALUE",
@@ -189,24 +336,7 @@ declare const UpdateMessageCommand_base: {
189
336
  * // forwardName: "STRING_VALUE",
190
337
  * // },
191
338
  * // mentions: [ // UsersList
192
- * // {
193
- * // id: "STRING_VALUE", // required
194
- * // name: "STRING_VALUE",
195
- * // email: "STRING_VALUE",
196
- * // phone: "STRING_VALUE",
197
- * // picture: "STRING_VALUE",
198
- * // locale: "STRING_VALUE",
199
- * // timeZone: "STRING_VALUE",
200
- * // company: "STRING_VALUE",
201
- * // bot: true || false,
202
- * // pbxDomain: "STRING_VALUE",
203
- * // pbxPort: "STRING_VALUE",
204
- * // pbxExtension: "STRING_VALUE",
205
- * // pbxSerial: "STRING_VALUE",
206
- * // pbxUserId: "STRING_VALUE",
207
- * // createdAt: "STRING_VALUE",
208
- * // updatedAt: "STRING_VALUE",
209
- * // },
339
+ * // "<User>",
210
340
  * // ],
211
341
  * // giphy: { // MessageGiphy
212
342
  * // id: "STRING_VALUE", // required
@@ -39,7 +39,7 @@ declare const UploadFileCommand_base: {
39
39
  * name: "STRING_VALUE", // required
40
40
  * userId: "STRING_VALUE",
41
41
  * options: { // UploadFileOptions
42
- * category: "channels" || "recordings" || "wizyconfRecordings",
42
+ * category: "channels" || "recordings",
43
43
  * region: "STRING_VALUE",
44
44
  * },
45
45
  * };
@@ -8,6 +8,7 @@ export * from "./DeleteInboxTagCommand";
8
8
  export * from "./DeleteMessageCommand";
9
9
  export * from "./DeleteMessageReactionCommand";
10
10
  export * from "./DescribeEventCommand";
11
+ export * from "./GetActionTriggerResultCommand";
11
12
  export * from "./GetChannelCommand";
12
13
  export * from "./GetChannelMemberCommand";
13
14
  export * from "./GetDirectChannelIdCommand";
@@ -32,6 +33,7 @@ export * from "./PartialUpdateChannelCommand";
32
33
  export * from "./PartialUpdateMessageCommand";
33
34
  export * from "./PinChannelCommand";
34
35
  export * from "./ScheduleExternalFlagAdjustmentJobCommand";
36
+ export * from "./SendActionTriggerResultCommand";
35
37
  export * from "./SendGiphyCommand";
36
38
  export * from "./SendMessageCommand";
37
39
  export * from "./SendMessageReactionCommand";
@@ -39,6 +41,7 @@ export * from "./SendTypingStartCommand";
39
41
  export * from "./SendTypingStopCommand";
40
42
  export * from "./ShowChannelCommand";
41
43
  export * from "./TagChannelCommand";
44
+ export * from "./TriggerMessageActionCommand";
42
45
  export * from "./UnpinChannelCommand";
43
46
  export * from "./UntagChannelCommand";
44
47
  export * from "./UpdateChannelCommand";