@wildix/xbees-conversations-client 1.0.64 → 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 -103
- 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 -99
- 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 +46 -169
- 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 -597
- 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
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
-
import { ListPinnedMessagesInput, ListPinnedMessagesOutput } 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 ListPinnedMessagesCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface ListPinnedMessagesCommandInput extends ListPinnedMessagesInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link ListPinnedMessagesCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface ListPinnedMessagesCommandOutput extends ListPinnedMessagesOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const ListPinnedMessagesCommand_base: {
|
|
25
|
-
new (input: ListPinnedMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: ListPinnedMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Retrieves a list of pinned messages from a specified channel. Supports pagination through limit and offset parameters.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ConversationsClient, ListPinnedMessagesCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
-
* // const { ConversationsClient, ListPinnedMessagesCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
-
* const client = new ConversationsClient(config);
|
|
37
|
-
* const input = { // ListPinnedMessagesInput
|
|
38
|
-
* channelId: "STRING_VALUE", // required
|
|
39
|
-
* limit: Number("int"),
|
|
40
|
-
* offset: Number("int"),
|
|
41
|
-
* };
|
|
42
|
-
* const command = new ListPinnedMessagesCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* // { // ListPinnedMessagesOutput
|
|
45
|
-
* // messages: [ // MessagesList // required
|
|
46
|
-
* // { // Message
|
|
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
|
-
* // ],
|
|
130
|
-
* // attachments: [ // MessageAttachmentList
|
|
131
|
-
* // { // MessageAttachment
|
|
132
|
-
* // id: "STRING_VALUE", // required
|
|
133
|
-
* // fsId: "STRING_VALUE", // required
|
|
134
|
-
* // mime: "STRING_VALUE",
|
|
135
|
-
* // name: "STRING_VALUE", // required
|
|
136
|
-
* // size: Number("int"), // required
|
|
137
|
-
* // width: Number("int"),
|
|
138
|
-
* // height: Number("int"),
|
|
139
|
-
* // thumbnail: "STRING_VALUE",
|
|
140
|
-
* // },
|
|
141
|
-
* // ],
|
|
142
|
-
* // quote: { // MessageQuote
|
|
143
|
-
* // messageId: "STRING_VALUE", // required
|
|
144
|
-
* // channelId: "STRING_VALUE", // required
|
|
145
|
-
* // user: {
|
|
146
|
-
* // id: "STRING_VALUE", // required
|
|
147
|
-
* // name: "STRING_VALUE",
|
|
148
|
-
* // email: "STRING_VALUE",
|
|
149
|
-
* // phone: "STRING_VALUE",
|
|
150
|
-
* // picture: "STRING_VALUE",
|
|
151
|
-
* // locale: "STRING_VALUE",
|
|
152
|
-
* // timeZone: "STRING_VALUE",
|
|
153
|
-
* // company: "STRING_VALUE",
|
|
154
|
-
* // bot: true || false,
|
|
155
|
-
* // pbxDomain: "STRING_VALUE",
|
|
156
|
-
* // pbxPort: "STRING_VALUE",
|
|
157
|
-
* // pbxExtension: "STRING_VALUE",
|
|
158
|
-
* // pbxSerial: "STRING_VALUE",
|
|
159
|
-
* // pbxUserId: "STRING_VALUE",
|
|
160
|
-
* // createdAt: "STRING_VALUE",
|
|
161
|
-
* // updatedAt: "STRING_VALUE",
|
|
162
|
-
* // },
|
|
163
|
-
* // text: "STRING_VALUE",
|
|
164
|
-
* // attachments: [
|
|
165
|
-
* // {
|
|
166
|
-
* // id: "STRING_VALUE", // required
|
|
167
|
-
* // fsId: "STRING_VALUE", // required
|
|
168
|
-
* // mime: "STRING_VALUE",
|
|
169
|
-
* // name: "STRING_VALUE", // required
|
|
170
|
-
* // size: Number("int"), // required
|
|
171
|
-
* // width: Number("int"),
|
|
172
|
-
* // height: Number("int"),
|
|
173
|
-
* // thumbnail: "STRING_VALUE",
|
|
174
|
-
* // },
|
|
175
|
-
* // ],
|
|
176
|
-
* // forward: { // MessageForward
|
|
177
|
-
* // forwardCompany: "STRING_VALUE",
|
|
178
|
-
* // forwardDate: "STRING_VALUE", // required
|
|
179
|
-
* // forwardEmail: "STRING_VALUE",
|
|
180
|
-
* // forwardName: "STRING_VALUE",
|
|
181
|
-
* // },
|
|
182
|
-
* // mentions: [ // UsersList
|
|
183
|
-
* // "<User>",
|
|
184
|
-
* // ],
|
|
185
|
-
* // giphy: { // MessageGiphy
|
|
186
|
-
* // id: "STRING_VALUE", // required
|
|
187
|
-
* // size: "STRING_VALUE", // required
|
|
188
|
-
* // url: "STRING_VALUE", // required
|
|
189
|
-
* // height: "STRING_VALUE", // required
|
|
190
|
-
* // width: "STRING_VALUE", // required
|
|
191
|
-
* // },
|
|
192
|
-
* // createdAt: "STRING_VALUE", // required
|
|
193
|
-
* // updatedAt: "STRING_VALUE",
|
|
194
|
-
* // },
|
|
195
|
-
* // forward: {
|
|
196
|
-
* // forwardCompany: "STRING_VALUE",
|
|
197
|
-
* // forwardDate: "STRING_VALUE", // required
|
|
198
|
-
* // forwardEmail: "STRING_VALUE",
|
|
199
|
-
* // forwardName: "STRING_VALUE",
|
|
200
|
-
* // },
|
|
201
|
-
* // type: "regular" || "system", // required
|
|
202
|
-
* // giphy: {
|
|
203
|
-
* // id: "STRING_VALUE", // required
|
|
204
|
-
* // size: "STRING_VALUE", // required
|
|
205
|
-
* // url: "STRING_VALUE", // required
|
|
206
|
-
* // height: "STRING_VALUE", // required
|
|
207
|
-
* // width: "STRING_VALUE", // required
|
|
208
|
-
* // },
|
|
209
|
-
* // silent: true || false,
|
|
210
|
-
* // event: "STRING_VALUE",
|
|
211
|
-
* // sms: true || false,
|
|
212
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
213
|
-
* // whatsapp: true || false,
|
|
214
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
215
|
-
* // messageId: "STRING_VALUE", // required
|
|
216
|
-
* // channelId: "STRING_VALUE", // required
|
|
217
|
-
* // user: "<User>", // required
|
|
218
|
-
* // edit: true || false,
|
|
219
|
-
* // mentions: [
|
|
220
|
-
* // "<User>",
|
|
221
|
-
* // ],
|
|
222
|
-
* // latestReactions: [ // ReactionList
|
|
223
|
-
* // { // Reaction
|
|
224
|
-
* // type: "STRING_VALUE",
|
|
225
|
-
* // userId: "STRING_VALUE",
|
|
226
|
-
* // messageId: "STRING_VALUE",
|
|
227
|
-
* // user: "<User>",
|
|
228
|
-
* // },
|
|
229
|
-
* // ],
|
|
230
|
-
* // reactionCounts: { // ReactionCounts
|
|
231
|
-
* // "<keys>": Number("int"),
|
|
232
|
-
* // },
|
|
233
|
-
* // createdAt: "STRING_VALUE", // required
|
|
234
|
-
* // updatedAt: "STRING_VALUE",
|
|
235
|
-
* // },
|
|
236
|
-
* // ],
|
|
237
|
-
* // };
|
|
238
|
-
*
|
|
239
|
-
* ```
|
|
240
|
-
*
|
|
241
|
-
* @param ListPinnedMessagesCommandInput - {@link ListPinnedMessagesCommandInput}
|
|
242
|
-
* @returns {@link ListPinnedMessagesCommandOutput}
|
|
243
|
-
* @see {@link ListPinnedMessagesCommandInput} for command's `input` shape.
|
|
244
|
-
* @see {@link ListPinnedMessagesCommandOutput} for command's `response` shape.
|
|
245
|
-
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
246
|
-
*
|
|
247
|
-
* @throws {@link ChannelNotFoundException} (client fault)
|
|
248
|
-
*
|
|
249
|
-
* @throws {@link ValidationException} (client fault)
|
|
250
|
-
*
|
|
251
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
252
|
-
*
|
|
253
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
254
|
-
*
|
|
255
|
-
* @throws {@link ConversationsServiceException}
|
|
256
|
-
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
257
|
-
*
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
export declare class ListPinnedMessagesCommand extends ListPinnedMessagesCommand_base {
|
|
261
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
-
import { PinMessageInput, PinMessageOutput } 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 PinMessageCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface PinMessageCommandInput extends PinMessageInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link PinMessageCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface PinMessageCommandOutput extends PinMessageOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const PinMessageCommand_base: {
|
|
25
|
-
new (input: PinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<PinMessageCommandInput, PinMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: PinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<PinMessageCommandInput, PinMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Pins specified message in the message. This operation is idempotent, meaning that if the message is already pinned, no error will be thrown.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ConversationsClient, PinMessageCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
-
* // const { ConversationsClient, PinMessageCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
-
* const client = new ConversationsClient(config);
|
|
37
|
-
* const input = { // PinMessageInput
|
|
38
|
-
* channelId: "STRING_VALUE", // required
|
|
39
|
-
* messageId: "STRING_VALUE", // required
|
|
40
|
-
* userId: "STRING_VALUE",
|
|
41
|
-
* expiresAfter: Number("int"),
|
|
42
|
-
* expiresTill: "STRING_VALUE",
|
|
43
|
-
* silent: true || false,
|
|
44
|
-
* };
|
|
45
|
-
* const command = new PinMessageCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* // {};
|
|
48
|
-
*
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @param PinMessageCommandInput - {@link PinMessageCommandInput}
|
|
52
|
-
* @returns {@link PinMessageCommandOutput}
|
|
53
|
-
* @see {@link PinMessageCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link PinMessageCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
56
|
-
*
|
|
57
|
-
* @throws {@link ChannelNotFoundException} (client fault)
|
|
58
|
-
*
|
|
59
|
-
* @throws {@link MessageNotFoundException} (client fault)
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link ValidationException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link ConversationsServiceException}
|
|
68
|
-
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
69
|
-
*
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
export declare class PinMessageCommand extends PinMessageCommand_base {
|
|
73
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
-
import { TriggerMessageActionInput, TriggerMessageActionOutput } 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 TriggerMessageActionCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface TriggerMessageActionCommandInput extends TriggerMessageActionInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link TriggerMessageActionCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface TriggerMessageActionCommandOutput extends TriggerMessageActionOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const TriggerMessageActionCommand_base: {
|
|
25
|
-
new (input: TriggerMessageActionCommandInput): import("@smithy/smithy-client").CommandImpl<TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: TriggerMessageActionCommandInput): import("@smithy/smithy-client").CommandImpl<TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Sends a trigger for specific action for specified message. This operation requires the message to be accessible to the user.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ConversationsClient, TriggerMessageActionCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
-
* // const { ConversationsClient, TriggerMessageActionCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
-
* const client = new ConversationsClient(config);
|
|
37
|
-
* const input = { // TriggerMessageActionInput
|
|
38
|
-
* channelId: "STRING_VALUE", // required
|
|
39
|
-
* messageId: "STRING_VALUE", // required
|
|
40
|
-
* actionId: "STRING_VALUE", // required
|
|
41
|
-
* userId: "STRING_VALUE",
|
|
42
|
-
* };
|
|
43
|
-
* const command = new TriggerMessageActionCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* // { // TriggerMessageActionOutput
|
|
46
|
-
* // triggerId: "STRING_VALUE", // required
|
|
47
|
-
* // };
|
|
48
|
-
*
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @param TriggerMessageActionCommandInput - {@link TriggerMessageActionCommandInput}
|
|
52
|
-
* @returns {@link TriggerMessageActionCommandOutput}
|
|
53
|
-
* @see {@link TriggerMessageActionCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link TriggerMessageActionCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
56
|
-
*
|
|
57
|
-
* @throws {@link ChannelNotFoundException} (client fault)
|
|
58
|
-
*
|
|
59
|
-
* @throws {@link MessageNotFoundException} (client fault)
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link MessageActionNotFoundException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link ValidationException} (client fault)
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link ConversationsServiceException}
|
|
70
|
-
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
71
|
-
*
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
export declare class TriggerMessageActionCommand extends TriggerMessageActionCommand_base {
|
|
75
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
-
import { UnpinMessageInput, UnpinMessageOutput } 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 UnpinMessageCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UnpinMessageCommandInput extends UnpinMessageInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UnpinMessageCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UnpinMessageCommandOutput extends UnpinMessageOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UnpinMessageCommand_base: {
|
|
25
|
-
new (input: UnpinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UnpinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Unpins the message that was previously pinned. This operation is idempotent, meaning that if the message is not pinned, no error will be thrown.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ConversationsClient, UnpinMessageCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
-
* // const { ConversationsClient, UnpinMessageCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
-
* const client = new ConversationsClient(config);
|
|
37
|
-
* const input = { // UnpinMessageInput
|
|
38
|
-
* channelId: "STRING_VALUE", // required
|
|
39
|
-
* messageId: "STRING_VALUE", // required
|
|
40
|
-
* userId: "STRING_VALUE",
|
|
41
|
-
* silent: true || false,
|
|
42
|
-
* };
|
|
43
|
-
* const command = new UnpinMessageCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* // {};
|
|
46
|
-
*
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @param UnpinMessageCommandInput - {@link UnpinMessageCommandInput}
|
|
50
|
-
* @returns {@link UnpinMessageCommandOutput}
|
|
51
|
-
* @see {@link UnpinMessageCommandInput} for command's `input` shape.
|
|
52
|
-
* @see {@link UnpinMessageCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
54
|
-
*
|
|
55
|
-
* @throws {@link ChannelNotFoundException} (client fault)
|
|
56
|
-
*
|
|
57
|
-
* @throws {@link MessageNotFoundException} (client fault)
|
|
58
|
-
*
|
|
59
|
-
* @throws {@link ValidationException} (client fault)
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link ConversationsServiceException}
|
|
66
|
-
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
67
|
-
*
|
|
68
|
-
* @public
|
|
69
|
-
*/
|
|
70
|
-
export declare class UnpinMessageCommand extends UnpinMessageCommand_base {
|
|
71
|
-
}
|