@wildix/xbees-conversations-client 1.0.59 → 1.0.61
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 -0
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/TriggerMessageActionCommand.js +21 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +74 -2
- package/dist-cjs/protocols/Aws_restJson1.js +126 -4
- package/dist-es/Conversations.js +6 -0
- package/dist-es/commands/GetActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/SendActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/TriggerMessageActionCommand.js +17 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +71 -1
- package/dist-es/protocols/Aws_restJson1.js +119 -3
- package/dist-types/Conversations.d.ts +21 -0
- package/dist-types/ConversationsClient.d.ts +5 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +259 -9
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +70 -0
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +1 -2
- package/dist-types/commands/GetMessageCommand.d.ts +84 -19
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +1 -1
- package/dist-types/commands/ListMessagesCommand.d.ts +84 -19
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +168 -38
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +68 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +84 -19
- package/dist-types/commands/SendMessageCommand.d.ts +168 -38
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +73 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +168 -38
- package/dist-types/commands/UploadFileCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +382 -6
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +1 -1
|
@@ -45,6 +45,88 @@ declare const ListMessagesCommand_base: {
|
|
|
45
45
|
* // messages: [ // MessagesList // required
|
|
46
46
|
* // { // Message
|
|
47
47
|
* // text: "STRING_VALUE",
|
|
48
|
+
* // elements: [ // ElementsList
|
|
49
|
+
* // { // Element Union: only one key present
|
|
50
|
+
* // text: { // TextElement
|
|
51
|
+
* // value: "STRING_VALUE", // required
|
|
52
|
+
* // style: { // TextStyle
|
|
53
|
+
* // italic: true || false,
|
|
54
|
+
* // bold: true || false,
|
|
55
|
+
* // strike: true || false,
|
|
56
|
+
* // code: true || false,
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // link: { // LinkElement
|
|
60
|
+
* // url: "STRING_VALUE", // required
|
|
61
|
+
* // text: "STRING_VALUE",
|
|
62
|
+
* // style: {
|
|
63
|
+
* // italic: true || false,
|
|
64
|
+
* // bold: true || false,
|
|
65
|
+
* // strike: true || false,
|
|
66
|
+
* // code: true || false,
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // email: { // EmailElement
|
|
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
|
+
* // phone: { // PhoneElement
|
|
79
|
+
* // value: "STRING_VALUE", // required
|
|
80
|
+
* // style: {
|
|
81
|
+
* // italic: true || false,
|
|
82
|
+
* // bold: true || false,
|
|
83
|
+
* // strike: true || false,
|
|
84
|
+
* // code: true || false,
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
87
|
+
* // mention: { // MentionElement
|
|
88
|
+
* // text: "STRING_VALUE", // required
|
|
89
|
+
* // user: { // User
|
|
90
|
+
* // id: "STRING_VALUE", // required
|
|
91
|
+
* // name: "STRING_VALUE",
|
|
92
|
+
* // email: "STRING_VALUE",
|
|
93
|
+
* // phone: "STRING_VALUE",
|
|
94
|
+
* // picture: "STRING_VALUE",
|
|
95
|
+
* // locale: "STRING_VALUE",
|
|
96
|
+
* // timeZone: "STRING_VALUE",
|
|
97
|
+
* // company: "STRING_VALUE",
|
|
98
|
+
* // bot: true || false,
|
|
99
|
+
* // pbxDomain: "STRING_VALUE",
|
|
100
|
+
* // pbxPort: "STRING_VALUE",
|
|
101
|
+
* // pbxExtension: "STRING_VALUE",
|
|
102
|
+
* // pbxSerial: "STRING_VALUE",
|
|
103
|
+
* // pbxUserId: "STRING_VALUE",
|
|
104
|
+
* // createdAt: "STRING_VALUE",
|
|
105
|
+
* // updatedAt: "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // actions: [ // ActionsElementsList
|
|
109
|
+
* // { // ActionElement Union: only one key present
|
|
110
|
+
* // button: { // ButtonElement
|
|
111
|
+
* // text: "STRING_VALUE", // required
|
|
112
|
+
* // variant: "contained" || "outlined",
|
|
113
|
+
* // disabled: true || false,
|
|
114
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
115
|
+
* // link: { // ButtonLinkHandler
|
|
116
|
+
* // url: "STRING_VALUE", // required
|
|
117
|
+
* // },
|
|
118
|
+
* // reply: { // ButtonReplyHandler
|
|
119
|
+
* // text: "STRING_VALUE",
|
|
120
|
+
* // },
|
|
121
|
+
* // action: { // ButtonActionHandler
|
|
122
|
+
* // id: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // },
|
|
125
|
+
* // },
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
48
130
|
* // attachments: [ // MessageAttachmentList
|
|
49
131
|
* // { // MessageAttachment
|
|
50
132
|
* // id: "STRING_VALUE", // required
|
|
@@ -60,7 +142,7 @@ declare const ListMessagesCommand_base: {
|
|
|
60
142
|
* // quote: { // MessageQuote
|
|
61
143
|
* // messageId: "STRING_VALUE", // required
|
|
62
144
|
* // channelId: "STRING_VALUE", // required
|
|
63
|
-
* // user: {
|
|
145
|
+
* // user: {
|
|
64
146
|
* // id: "STRING_VALUE", // required
|
|
65
147
|
* // name: "STRING_VALUE",
|
|
66
148
|
* // email: "STRING_VALUE",
|
|
@@ -98,24 +180,7 @@ declare const ListMessagesCommand_base: {
|
|
|
98
180
|
* // forwardName: "STRING_VALUE",
|
|
99
181
|
* // },
|
|
100
182
|
* // mentions: [ // UsersList
|
|
101
|
-
* //
|
|
102
|
-
* // id: "STRING_VALUE", // required
|
|
103
|
-
* // name: "STRING_VALUE",
|
|
104
|
-
* // email: "STRING_VALUE",
|
|
105
|
-
* // phone: "STRING_VALUE",
|
|
106
|
-
* // picture: "STRING_VALUE",
|
|
107
|
-
* // locale: "STRING_VALUE",
|
|
108
|
-
* // timeZone: "STRING_VALUE",
|
|
109
|
-
* // company: "STRING_VALUE",
|
|
110
|
-
* // bot: true || false,
|
|
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
|
-
* // },
|
|
183
|
+
* // "<User>",
|
|
119
184
|
* // ],
|
|
120
185
|
* // giphy: { // MessageGiphy
|
|
121
186
|
* // id: "STRING_VALUE", // required
|
|
@@ -40,6 +40,88 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
40
40
|
* userId: "STRING_VALUE",
|
|
41
41
|
* set: { // PartialUpdateMessageSetInput
|
|
42
42
|
* text: "STRING_VALUE",
|
|
43
|
+
* elements: [ // ElementsList
|
|
44
|
+
* { // Element Union: only one key present
|
|
45
|
+
* text: { // TextElement
|
|
46
|
+
* value: "STRING_VALUE", // required
|
|
47
|
+
* style: { // TextStyle
|
|
48
|
+
* italic: true || false,
|
|
49
|
+
* bold: true || false,
|
|
50
|
+
* strike: true || false,
|
|
51
|
+
* code: true || false,
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* link: { // LinkElement
|
|
55
|
+
* url: "STRING_VALUE", // required
|
|
56
|
+
* text: "STRING_VALUE",
|
|
57
|
+
* style: {
|
|
58
|
+
* italic: true || false,
|
|
59
|
+
* bold: true || false,
|
|
60
|
+
* strike: true || false,
|
|
61
|
+
* code: true || false,
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* email: { // EmailElement
|
|
65
|
+
* value: "STRING_VALUE", // required
|
|
66
|
+
* style: {
|
|
67
|
+
* italic: true || false,
|
|
68
|
+
* bold: true || false,
|
|
69
|
+
* strike: true || false,
|
|
70
|
+
* code: true || false,
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* phone: { // PhoneElement
|
|
74
|
+
* value: "STRING_VALUE", // required
|
|
75
|
+
* style: {
|
|
76
|
+
* italic: true || false,
|
|
77
|
+
* bold: true || false,
|
|
78
|
+
* strike: true || false,
|
|
79
|
+
* code: true || false,
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* mention: { // MentionElement
|
|
83
|
+
* text: "STRING_VALUE", // required
|
|
84
|
+
* user: { // User
|
|
85
|
+
* id: "STRING_VALUE", // required
|
|
86
|
+
* name: "STRING_VALUE",
|
|
87
|
+
* email: "STRING_VALUE",
|
|
88
|
+
* phone: "STRING_VALUE",
|
|
89
|
+
* picture: "STRING_VALUE",
|
|
90
|
+
* locale: "STRING_VALUE",
|
|
91
|
+
* timeZone: "STRING_VALUE",
|
|
92
|
+
* company: "STRING_VALUE",
|
|
93
|
+
* bot: true || false,
|
|
94
|
+
* pbxDomain: "STRING_VALUE",
|
|
95
|
+
* pbxPort: "STRING_VALUE",
|
|
96
|
+
* pbxExtension: "STRING_VALUE",
|
|
97
|
+
* pbxSerial: "STRING_VALUE",
|
|
98
|
+
* pbxUserId: "STRING_VALUE",
|
|
99
|
+
* createdAt: "STRING_VALUE",
|
|
100
|
+
* updatedAt: "STRING_VALUE",
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* actions: [ // ActionsElementsList
|
|
104
|
+
* { // ActionElement Union: only one key present
|
|
105
|
+
* button: { // ButtonElement
|
|
106
|
+
* text: "STRING_VALUE", // required
|
|
107
|
+
* variant: "contained" || "outlined",
|
|
108
|
+
* disabled: true || false,
|
|
109
|
+
* handler: { // ButtonHandler Union: only one key present
|
|
110
|
+
* link: { // ButtonLinkHandler
|
|
111
|
+
* url: "STRING_VALUE", // required
|
|
112
|
+
* },
|
|
113
|
+
* reply: { // ButtonReplyHandler
|
|
114
|
+
* text: "STRING_VALUE",
|
|
115
|
+
* },
|
|
116
|
+
* action: { // ButtonActionHandler
|
|
117
|
+
* id: "STRING_VALUE", // required
|
|
118
|
+
* },
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* ],
|
|
123
|
+
* },
|
|
124
|
+
* ],
|
|
43
125
|
* attachments: [ // MessageAttachmentList
|
|
44
126
|
* { // MessageAttachment
|
|
45
127
|
* id: "STRING_VALUE", // required
|
|
@@ -55,7 +137,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
55
137
|
* quote: { // MessageQuote
|
|
56
138
|
* messageId: "STRING_VALUE", // required
|
|
57
139
|
* channelId: "STRING_VALUE", // required
|
|
58
|
-
* user: {
|
|
140
|
+
* user: {
|
|
59
141
|
* id: "STRING_VALUE", // required
|
|
60
142
|
* name: "STRING_VALUE",
|
|
61
143
|
* email: "STRING_VALUE",
|
|
@@ -93,24 +175,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
93
175
|
* forwardName: "STRING_VALUE",
|
|
94
176
|
* },
|
|
95
177
|
* mentions: [ // UsersList
|
|
96
|
-
*
|
|
97
|
-
* id: "STRING_VALUE", // required
|
|
98
|
-
* name: "STRING_VALUE",
|
|
99
|
-
* email: "STRING_VALUE",
|
|
100
|
-
* phone: "STRING_VALUE",
|
|
101
|
-
* picture: "STRING_VALUE",
|
|
102
|
-
* locale: "STRING_VALUE",
|
|
103
|
-
* timeZone: "STRING_VALUE",
|
|
104
|
-
* company: "STRING_VALUE",
|
|
105
|
-
* bot: true || false,
|
|
106
|
-
* pbxDomain: "STRING_VALUE",
|
|
107
|
-
* pbxPort: "STRING_VALUE",
|
|
108
|
-
* pbxExtension: "STRING_VALUE",
|
|
109
|
-
* pbxSerial: "STRING_VALUE",
|
|
110
|
-
* pbxUserId: "STRING_VALUE",
|
|
111
|
-
* createdAt: "STRING_VALUE",
|
|
112
|
-
* updatedAt: "STRING_VALUE",
|
|
113
|
-
* },
|
|
178
|
+
* "<User>",
|
|
114
179
|
* ],
|
|
115
180
|
* giphy: { // MessageGiphy
|
|
116
181
|
* id: "STRING_VALUE", // required
|
|
@@ -138,6 +203,88 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
138
203
|
* // { // PartialUpdateMessageOutput
|
|
139
204
|
* // message: { // Message
|
|
140
205
|
* // text: "STRING_VALUE",
|
|
206
|
+
* // elements: [ // ElementsList
|
|
207
|
+
* // { // Element Union: only one key present
|
|
208
|
+
* // text: { // TextElement
|
|
209
|
+
* // value: "STRING_VALUE", // required
|
|
210
|
+
* // style: { // TextStyle
|
|
211
|
+
* // italic: true || false,
|
|
212
|
+
* // bold: true || false,
|
|
213
|
+
* // strike: true || false,
|
|
214
|
+
* // code: true || false,
|
|
215
|
+
* // },
|
|
216
|
+
* // },
|
|
217
|
+
* // link: { // LinkElement
|
|
218
|
+
* // url: "STRING_VALUE", // required
|
|
219
|
+
* // text: "STRING_VALUE",
|
|
220
|
+
* // style: {
|
|
221
|
+
* // italic: true || false,
|
|
222
|
+
* // bold: true || false,
|
|
223
|
+
* // strike: true || false,
|
|
224
|
+
* // code: true || false,
|
|
225
|
+
* // },
|
|
226
|
+
* // },
|
|
227
|
+
* // email: { // EmailElement
|
|
228
|
+
* // value: "STRING_VALUE", // required
|
|
229
|
+
* // style: {
|
|
230
|
+
* // italic: true || false,
|
|
231
|
+
* // bold: true || false,
|
|
232
|
+
* // strike: true || false,
|
|
233
|
+
* // code: true || false,
|
|
234
|
+
* // },
|
|
235
|
+
* // },
|
|
236
|
+
* // phone: { // PhoneElement
|
|
237
|
+
* // value: "STRING_VALUE", // required
|
|
238
|
+
* // style: {
|
|
239
|
+
* // italic: true || false,
|
|
240
|
+
* // bold: true || false,
|
|
241
|
+
* // strike: true || false,
|
|
242
|
+
* // code: true || false,
|
|
243
|
+
* // },
|
|
244
|
+
* // },
|
|
245
|
+
* // mention: { // MentionElement
|
|
246
|
+
* // text: "STRING_VALUE", // required
|
|
247
|
+
* // user: { // User
|
|
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
|
+
* // },
|
|
265
|
+
* // },
|
|
266
|
+
* // actions: [ // ActionsElementsList
|
|
267
|
+
* // { // ActionElement Union: only one key present
|
|
268
|
+
* // button: { // ButtonElement
|
|
269
|
+
* // text: "STRING_VALUE", // required
|
|
270
|
+
* // variant: "contained" || "outlined",
|
|
271
|
+
* // disabled: true || false,
|
|
272
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
273
|
+
* // link: { // ButtonLinkHandler
|
|
274
|
+
* // url: "STRING_VALUE", // required
|
|
275
|
+
* // },
|
|
276
|
+
* // reply: { // ButtonReplyHandler
|
|
277
|
+
* // text: "STRING_VALUE",
|
|
278
|
+
* // },
|
|
279
|
+
* // action: { // ButtonActionHandler
|
|
280
|
+
* // id: "STRING_VALUE", // required
|
|
281
|
+
* // },
|
|
282
|
+
* // },
|
|
283
|
+
* // },
|
|
284
|
+
* // },
|
|
285
|
+
* // ],
|
|
286
|
+
* // },
|
|
287
|
+
* // ],
|
|
141
288
|
* // attachments: [ // MessageAttachmentList
|
|
142
289
|
* // { // MessageAttachment
|
|
143
290
|
* // id: "STRING_VALUE", // required
|
|
@@ -153,7 +300,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
153
300
|
* // quote: { // MessageQuote
|
|
154
301
|
* // messageId: "STRING_VALUE", // required
|
|
155
302
|
* // channelId: "STRING_VALUE", // required
|
|
156
|
-
* // user: {
|
|
303
|
+
* // user: {
|
|
157
304
|
* // id: "STRING_VALUE", // required
|
|
158
305
|
* // name: "STRING_VALUE",
|
|
159
306
|
* // email: "STRING_VALUE",
|
|
@@ -191,24 +338,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
191
338
|
* // forwardName: "STRING_VALUE",
|
|
192
339
|
* // },
|
|
193
340
|
* // mentions: [ // UsersList
|
|
194
|
-
* //
|
|
195
|
-
* // id: "STRING_VALUE", // required
|
|
196
|
-
* // name: "STRING_VALUE",
|
|
197
|
-
* // email: "STRING_VALUE",
|
|
198
|
-
* // phone: "STRING_VALUE",
|
|
199
|
-
* // picture: "STRING_VALUE",
|
|
200
|
-
* // locale: "STRING_VALUE",
|
|
201
|
-
* // timeZone: "STRING_VALUE",
|
|
202
|
-
* // company: "STRING_VALUE",
|
|
203
|
-
* // bot: true || false,
|
|
204
|
-
* // pbxDomain: "STRING_VALUE",
|
|
205
|
-
* // pbxPort: "STRING_VALUE",
|
|
206
|
-
* // pbxExtension: "STRING_VALUE",
|
|
207
|
-
* // pbxSerial: "STRING_VALUE",
|
|
208
|
-
* // pbxUserId: "STRING_VALUE",
|
|
209
|
-
* // createdAt: "STRING_VALUE",
|
|
210
|
-
* // updatedAt: "STRING_VALUE",
|
|
211
|
-
* // },
|
|
341
|
+
* // "<User>",
|
|
212
342
|
* // ],
|
|
213
343
|
* // giphy: { // MessageGiphy
|
|
214
344
|
* // id: "STRING_VALUE", // required
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { SendActionTriggerResultInput, SendActionTriggerResultOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendActionTriggerResultCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendActionTriggerResultCommandInput extends SendActionTriggerResultInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendActionTriggerResultCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendActionTriggerResultCommandOutput extends SendActionTriggerResultOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendActionTriggerResultCommand_base: {
|
|
25
|
+
new (input: SendActionTriggerResultCommandInput): import("@smithy/smithy-client").CommandImpl<SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SendActionTriggerResultCommandInput): import("@smithy/smithy-client").CommandImpl<SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Send result of the triggered action.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, SendActionTriggerResultCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, SendActionTriggerResultCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // SendActionTriggerResultInput
|
|
38
|
+
* triggerId: "STRING_VALUE", // required
|
|
39
|
+
* status: "completed" || "pending", // required
|
|
40
|
+
* result: {},
|
|
41
|
+
* };
|
|
42
|
+
* const command = new SendActionTriggerResultCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param SendActionTriggerResultCommandInput - {@link SendActionTriggerResultCommandInput}
|
|
49
|
+
* @returns {@link SendActionTriggerResultCommandOutput}
|
|
50
|
+
* @see {@link SendActionTriggerResultCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link SendActionTriggerResultCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link TriggerNotFoundException} (client fault)
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ValidationException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConversationsServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class SendActionTriggerResultCommand extends SendActionTriggerResultCommand_base {
|
|
68
|
+
}
|
|
@@ -51,6 +51,88 @@ declare const SendGiphyCommand_base: {
|
|
|
51
51
|
* // { // SendGiphyOutput
|
|
52
52
|
* // message: { // Message
|
|
53
53
|
* // text: "STRING_VALUE",
|
|
54
|
+
* // elements: [ // ElementsList
|
|
55
|
+
* // { // Element Union: only one key present
|
|
56
|
+
* // text: { // TextElement
|
|
57
|
+
* // value: "STRING_VALUE", // required
|
|
58
|
+
* // style: { // TextStyle
|
|
59
|
+
* // italic: true || false,
|
|
60
|
+
* // bold: true || false,
|
|
61
|
+
* // strike: true || false,
|
|
62
|
+
* // code: true || false,
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // link: { // LinkElement
|
|
66
|
+
* // url: "STRING_VALUE", // required
|
|
67
|
+
* // text: "STRING_VALUE",
|
|
68
|
+
* // style: {
|
|
69
|
+
* // italic: true || false,
|
|
70
|
+
* // bold: true || false,
|
|
71
|
+
* // strike: true || false,
|
|
72
|
+
* // code: true || false,
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // email: { // EmailElement
|
|
76
|
+
* // value: "STRING_VALUE", // required
|
|
77
|
+
* // style: {
|
|
78
|
+
* // italic: true || false,
|
|
79
|
+
* // bold: true || false,
|
|
80
|
+
* // strike: true || false,
|
|
81
|
+
* // code: true || false,
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // phone: { // PhoneElement
|
|
85
|
+
* // value: "STRING_VALUE", // required
|
|
86
|
+
* // style: {
|
|
87
|
+
* // italic: true || false,
|
|
88
|
+
* // bold: true || false,
|
|
89
|
+
* // strike: true || false,
|
|
90
|
+
* // code: true || false,
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // mention: { // MentionElement
|
|
94
|
+
* // text: "STRING_VALUE", // required
|
|
95
|
+
* // user: { // User
|
|
96
|
+
* // id: "STRING_VALUE", // required
|
|
97
|
+
* // name: "STRING_VALUE",
|
|
98
|
+
* // email: "STRING_VALUE",
|
|
99
|
+
* // phone: "STRING_VALUE",
|
|
100
|
+
* // picture: "STRING_VALUE",
|
|
101
|
+
* // locale: "STRING_VALUE",
|
|
102
|
+
* // timeZone: "STRING_VALUE",
|
|
103
|
+
* // company: "STRING_VALUE",
|
|
104
|
+
* // bot: true || false,
|
|
105
|
+
* // pbxDomain: "STRING_VALUE",
|
|
106
|
+
* // pbxPort: "STRING_VALUE",
|
|
107
|
+
* // pbxExtension: "STRING_VALUE",
|
|
108
|
+
* // pbxSerial: "STRING_VALUE",
|
|
109
|
+
* // pbxUserId: "STRING_VALUE",
|
|
110
|
+
* // createdAt: "STRING_VALUE",
|
|
111
|
+
* // updatedAt: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
114
|
+
* // actions: [ // ActionsElementsList
|
|
115
|
+
* // { // ActionElement Union: only one key present
|
|
116
|
+
* // button: { // ButtonElement
|
|
117
|
+
* // text: "STRING_VALUE", // required
|
|
118
|
+
* // variant: "contained" || "outlined",
|
|
119
|
+
* // disabled: true || false,
|
|
120
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
121
|
+
* // link: { // ButtonLinkHandler
|
|
122
|
+
* // url: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // reply: { // ButtonReplyHandler
|
|
125
|
+
* // text: "STRING_VALUE",
|
|
126
|
+
* // },
|
|
127
|
+
* // action: { // ButtonActionHandler
|
|
128
|
+
* // id: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
54
136
|
* // attachments: [ // MessageAttachmentList
|
|
55
137
|
* // { // MessageAttachment
|
|
56
138
|
* // id: "STRING_VALUE", // required
|
|
@@ -66,7 +148,7 @@ declare const SendGiphyCommand_base: {
|
|
|
66
148
|
* // quote: { // MessageQuote
|
|
67
149
|
* // messageId: "STRING_VALUE", // required
|
|
68
150
|
* // channelId: "STRING_VALUE", // required
|
|
69
|
-
* // user: {
|
|
151
|
+
* // user: {
|
|
70
152
|
* // id: "STRING_VALUE", // required
|
|
71
153
|
* // name: "STRING_VALUE",
|
|
72
154
|
* // email: "STRING_VALUE",
|
|
@@ -104,24 +186,7 @@ declare const SendGiphyCommand_base: {
|
|
|
104
186
|
* // forwardName: "STRING_VALUE",
|
|
105
187
|
* // },
|
|
106
188
|
* // mentions: [ // UsersList
|
|
107
|
-
* //
|
|
108
|
-
* // id: "STRING_VALUE", // required
|
|
109
|
-
* // name: "STRING_VALUE",
|
|
110
|
-
* // email: "STRING_VALUE",
|
|
111
|
-
* // phone: "STRING_VALUE",
|
|
112
|
-
* // picture: "STRING_VALUE",
|
|
113
|
-
* // locale: "STRING_VALUE",
|
|
114
|
-
* // timeZone: "STRING_VALUE",
|
|
115
|
-
* // company: "STRING_VALUE",
|
|
116
|
-
* // bot: true || false,
|
|
117
|
-
* // pbxDomain: "STRING_VALUE",
|
|
118
|
-
* // pbxPort: "STRING_VALUE",
|
|
119
|
-
* // pbxExtension: "STRING_VALUE",
|
|
120
|
-
* // pbxSerial: "STRING_VALUE",
|
|
121
|
-
* // pbxUserId: "STRING_VALUE",
|
|
122
|
-
* // createdAt: "STRING_VALUE",
|
|
123
|
-
* // updatedAt: "STRING_VALUE",
|
|
124
|
-
* // },
|
|
189
|
+
* // "<User>",
|
|
125
190
|
* // ],
|
|
126
191
|
* // giphy: { // MessageGiphy
|
|
127
192
|
* // id: "STRING_VALUE", // required
|