@wildix/xbees-users-client 1.1.0 → 1.2.3
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/Users.js +20 -0
- package/dist-cjs/commands/AddIdentityCommand.js +21 -0
- package/dist-cjs/commands/GetAccountCommand.js +21 -0
- package/dist-cjs/commands/InviteCommand.js +21 -0
- package/dist-cjs/commands/ListAccountIdentitiesCommand.js +21 -0
- package/dist-cjs/commands/ListWorkspacesCommand.js +21 -0
- package/dist-cjs/commands/RemoveIdentityCommand.js +21 -0
- package/dist-cjs/commands/UnbindWorkspaceCommand.js +21 -0
- package/dist-cjs/commands/UpdateAccountCommand.js +21 -0
- package/dist-cjs/commands/UpdateWorkspaceCommand.js +21 -0
- package/dist-cjs/commands/VerifyAddIdentityCommand.js +21 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +84 -1
- package/dist-cjs/protocols/Aws_restJson1.js +398 -2
- package/dist-es/Users.js +20 -0
- package/dist-es/commands/AddIdentityCommand.js +17 -0
- package/dist-es/commands/GetAccountCommand.js +17 -0
- package/dist-es/commands/InviteCommand.js +17 -0
- package/dist-es/commands/ListAccountIdentitiesCommand.js +17 -0
- package/dist-es/commands/ListWorkspacesCommand.js +17 -0
- package/dist-es/commands/RemoveIdentityCommand.js +17 -0
- package/dist-es/commands/UnbindWorkspaceCommand.js +17 -0
- package/dist-es/commands/UpdateAccountCommand.js +17 -0
- package/dist-es/commands/UpdateWorkspaceCommand.js +17 -0
- package/dist-es/commands/VerifyAddIdentityCommand.js +17 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +77 -0
- package/dist-es/protocols/Aws_restJson1.js +377 -1
- package/dist-types/Users.d.ts +70 -0
- package/dist-types/UsersClient.d.ts +12 -2
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +420 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/package.json +3 -3
- package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -98
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -83
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -134
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -134
- package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -88
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -96
- package/dist-types/commands/CreateBotCommand.d.ts +0 -198
- package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -78
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -80
- package/dist-types/commands/DeleteBotCommand.d.ts +0 -77
- package/dist-types/commands/GetAppVersionCommand.d.ts +0 -76
- package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -184
- package/dist-types/commands/GetBotCommand.d.ts +0 -90
- package/dist-types/commands/GetUserCommand.d.ts +0 -96
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -81
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -132
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -79
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -79
- package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -85
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -83
- package/dist-types/commands/ListBotsCommand.d.ts +0 -89
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
- package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -152
- package/dist-types/commands/QueryUserCommand.d.ts +0 -105
- package/dist-types/commands/QueryUsersCommand.d.ts +0 -105
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -75
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -75
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -288
- package/dist-types/commands/UpdateBotCommand.d.ts +0 -93
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
- package/dist-types/commands/UploadPictureCommand.d.ts +0 -76
- package/dist-types/commands/UploadPictureV1Command.d.ts +0 -78
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -80
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -80
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UpdateBotCallbackInput, UpdateBotCallbackOutput } 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 UpdateBotCallbackCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UpdateBotCallbackCommandInput extends UpdateBotCallbackInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UpdateBotCallbackCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UpdateBotCallbackCommandOutput extends UpdateBotCallbackOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UpdateBotCallbackCommand_base: {
|
|
25
|
-
new (input: UpdateBotCallbackCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UpdateBotCallbackCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Updates the callback configuration for a specific bot.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, UpdateBotCallbackCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, UpdateBotCallbackCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // UpdateBotCallbackInput
|
|
38
|
-
* company: "STRING_VALUE",
|
|
39
|
-
* botId: "STRING_VALUE", // required
|
|
40
|
-
* callback: { // BotCallback
|
|
41
|
-
* endpoint: { // BotEndpoint Union: only one key present
|
|
42
|
-
* llm: { // BotLlmEndpoint
|
|
43
|
-
* prompt: "STRING_VALUE", // required
|
|
44
|
-
* guidelines: [ // AgentGuidelinesList
|
|
45
|
-
* "STRING_VALUE",
|
|
46
|
-
* ],
|
|
47
|
-
* model: "STRING_VALUE",
|
|
48
|
-
* embeddedTools: [ // BotLlmEmbeddedToolsList
|
|
49
|
-
* { // BotLlmEmbeddedTool
|
|
50
|
-
* type: "HANDOVER" || "DELEGATE" || "SUGGESTIONS", // required
|
|
51
|
-
* name: "STRING_VALUE", // required
|
|
52
|
-
* parameters: "DOCUMENT_VALUE",
|
|
53
|
-
* },
|
|
54
|
-
* ],
|
|
55
|
-
* tools: [ // BotLlmToolsList
|
|
56
|
-
* { // BotLlmTool
|
|
57
|
-
* type: "function", // required
|
|
58
|
-
* function: { // BotLlmFunctionDefinition
|
|
59
|
-
* name: "STRING_VALUE", // required
|
|
60
|
-
* description: "STRING_VALUE",
|
|
61
|
-
* parameters: "DOCUMENT_VALUE",
|
|
62
|
-
* integration: { // BotLlmFunctionIntegration Union: only one key present
|
|
63
|
-
* webhook: { // BotLlmFunctionIntegrationWebhook
|
|
64
|
-
* url: "STRING_VALUE", // required
|
|
65
|
-
* method: "get" || "post" || "put" || "delete" || "patch",
|
|
66
|
-
* async: true || false,
|
|
67
|
-
* authorization: { // BotLlmFunctionIntegrationWebhookAuthorization Union: only one key present
|
|
68
|
-
* bearer: { // BotLlmFunctionIntegrationWebhookAuthorizationBearer
|
|
69
|
-
* token: "STRING_VALUE", // required
|
|
70
|
-
* },
|
|
71
|
-
* basic: { // BotLlmFunctionIntegrationWebhookAuthorizationBasic
|
|
72
|
-
* username: "STRING_VALUE", // required
|
|
73
|
-
* password: "STRING_VALUE", // required
|
|
74
|
-
* },
|
|
75
|
-
* oauth: { // BotLlmFunctionIntegrationWebhookAuthorizationOAuth
|
|
76
|
-
* clientId: "STRING_VALUE", // required
|
|
77
|
-
* clientSecret: "STRING_VALUE", // required
|
|
78
|
-
* endpointUrl: "STRING_VALUE", // required
|
|
79
|
-
* scope: "STRING_VALUE",
|
|
80
|
-
* },
|
|
81
|
-
* },
|
|
82
|
-
* headers: [ // BotLlmFunctionIntegrationWebhookHeadersList
|
|
83
|
-
* { // BotLlmFunctionIntegrationWebhookHeader
|
|
84
|
-
* key: "STRING_VALUE", // required
|
|
85
|
-
* value: "STRING_VALUE", // required
|
|
86
|
-
* },
|
|
87
|
-
* ],
|
|
88
|
-
* timeout: Number("int"),
|
|
89
|
-
* parameters: "DOCUMENT_VALUE",
|
|
90
|
-
* },
|
|
91
|
-
* },
|
|
92
|
-
* },
|
|
93
|
-
* },
|
|
94
|
-
* ],
|
|
95
|
-
* capabilities: [ // BotCapabilitiesList
|
|
96
|
-
* { // BotCapability Union: only one key present
|
|
97
|
-
* tool: { // BotCapabilityTool
|
|
98
|
-
* id: "STRING_VALUE", // required
|
|
99
|
-
* variables: [ // BotToolVariablesList
|
|
100
|
-
* { // BotToolVariable
|
|
101
|
-
* name: "STRING_VALUE", // required
|
|
102
|
-
* handler: { // BotToolVariableHandler Union: only one key present
|
|
103
|
-
* auto: {},
|
|
104
|
-
* guided: { // BotToolVariableGuidedHandler
|
|
105
|
-
* description: "STRING_VALUE", // required
|
|
106
|
-
* },
|
|
107
|
-
* predefined: { // BotToolVariablePredefinedHandler
|
|
108
|
-
* description: "STRING_VALUE", // required
|
|
109
|
-
* },
|
|
110
|
-
* },
|
|
111
|
-
* },
|
|
112
|
-
* ],
|
|
113
|
-
* pipeline: { // BotCapabilityToolPipeline
|
|
114
|
-
* type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
115
|
-
* instructions: "STRING_VALUE",
|
|
116
|
-
* },
|
|
117
|
-
* },
|
|
118
|
-
* kb: { // BotKnowledgeBase
|
|
119
|
-
* knowledgeBaseId: "STRING_VALUE",
|
|
120
|
-
* instructions: "STRING_VALUE",
|
|
121
|
-
* },
|
|
122
|
-
* },
|
|
123
|
-
* ],
|
|
124
|
-
* },
|
|
125
|
-
* dialogflowCx: { // BotDialogflowCxEndpoint
|
|
126
|
-
* credentials: "DOCUMENT_VALUE", // required
|
|
127
|
-
* agent: "STRING_VALUE", // required
|
|
128
|
-
* location: "STRING_VALUE", // required
|
|
129
|
-
* language: "STRING_VALUE", // required
|
|
130
|
-
* },
|
|
131
|
-
* openAiAssistant: { // BotOpenAiAssistantEndpoint
|
|
132
|
-
* key: "STRING_VALUE", // required
|
|
133
|
-
* assistantId: "STRING_VALUE", // required
|
|
134
|
-
* },
|
|
135
|
-
* webhook: { // BotWebhookEndpoint
|
|
136
|
-
* url: "STRING_VALUE", // required
|
|
137
|
-
* secret: "STRING_VALUE", // required
|
|
138
|
-
* },
|
|
139
|
-
* sqs: { // BotSqsEndpoint
|
|
140
|
-
* url: "STRING_VALUE", // required
|
|
141
|
-
* key: "STRING_VALUE", // required
|
|
142
|
-
* secret: "STRING_VALUE", // required
|
|
143
|
-
* },
|
|
144
|
-
* },
|
|
145
|
-
* },
|
|
146
|
-
* };
|
|
147
|
-
* const command = new UpdateBotCallbackCommand(input);
|
|
148
|
-
* const response = await client.send(command);
|
|
149
|
-
* // { // UpdateBotCallbackOutput
|
|
150
|
-
* // callback: { // BotCallback
|
|
151
|
-
* // endpoint: { // BotEndpoint Union: only one key present
|
|
152
|
-
* // llm: { // BotLlmEndpoint
|
|
153
|
-
* // prompt: "STRING_VALUE", // required
|
|
154
|
-
* // guidelines: [ // AgentGuidelinesList
|
|
155
|
-
* // "STRING_VALUE",
|
|
156
|
-
* // ],
|
|
157
|
-
* // model: "STRING_VALUE",
|
|
158
|
-
* // embeddedTools: [ // BotLlmEmbeddedToolsList
|
|
159
|
-
* // { // BotLlmEmbeddedTool
|
|
160
|
-
* // type: "HANDOVER" || "DELEGATE" || "SUGGESTIONS", // required
|
|
161
|
-
* // name: "STRING_VALUE", // required
|
|
162
|
-
* // parameters: "DOCUMENT_VALUE",
|
|
163
|
-
* // },
|
|
164
|
-
* // ],
|
|
165
|
-
* // tools: [ // BotLlmToolsList
|
|
166
|
-
* // { // BotLlmTool
|
|
167
|
-
* // type: "function", // required
|
|
168
|
-
* // function: { // BotLlmFunctionDefinition
|
|
169
|
-
* // name: "STRING_VALUE", // required
|
|
170
|
-
* // description: "STRING_VALUE",
|
|
171
|
-
* // parameters: "DOCUMENT_VALUE",
|
|
172
|
-
* // integration: { // BotLlmFunctionIntegration Union: only one key present
|
|
173
|
-
* // webhook: { // BotLlmFunctionIntegrationWebhook
|
|
174
|
-
* // url: "STRING_VALUE", // required
|
|
175
|
-
* // method: "get" || "post" || "put" || "delete" || "patch",
|
|
176
|
-
* // async: true || false,
|
|
177
|
-
* // authorization: { // BotLlmFunctionIntegrationWebhookAuthorization Union: only one key present
|
|
178
|
-
* // bearer: { // BotLlmFunctionIntegrationWebhookAuthorizationBearer
|
|
179
|
-
* // token: "STRING_VALUE", // required
|
|
180
|
-
* // },
|
|
181
|
-
* // basic: { // BotLlmFunctionIntegrationWebhookAuthorizationBasic
|
|
182
|
-
* // username: "STRING_VALUE", // required
|
|
183
|
-
* // password: "STRING_VALUE", // required
|
|
184
|
-
* // },
|
|
185
|
-
* // oauth: { // BotLlmFunctionIntegrationWebhookAuthorizationOAuth
|
|
186
|
-
* // clientId: "STRING_VALUE", // required
|
|
187
|
-
* // clientSecret: "STRING_VALUE", // required
|
|
188
|
-
* // endpointUrl: "STRING_VALUE", // required
|
|
189
|
-
* // scope: "STRING_VALUE",
|
|
190
|
-
* // },
|
|
191
|
-
* // },
|
|
192
|
-
* // headers: [ // BotLlmFunctionIntegrationWebhookHeadersList
|
|
193
|
-
* // { // BotLlmFunctionIntegrationWebhookHeader
|
|
194
|
-
* // key: "STRING_VALUE", // required
|
|
195
|
-
* // value: "STRING_VALUE", // required
|
|
196
|
-
* // },
|
|
197
|
-
* // ],
|
|
198
|
-
* // timeout: Number("int"),
|
|
199
|
-
* // parameters: "DOCUMENT_VALUE",
|
|
200
|
-
* // },
|
|
201
|
-
* // },
|
|
202
|
-
* // },
|
|
203
|
-
* // },
|
|
204
|
-
* // ],
|
|
205
|
-
* // capabilities: [ // BotCapabilitiesList
|
|
206
|
-
* // { // BotCapability Union: only one key present
|
|
207
|
-
* // tool: { // BotCapabilityTool
|
|
208
|
-
* // id: "STRING_VALUE", // required
|
|
209
|
-
* // variables: [ // BotToolVariablesList
|
|
210
|
-
* // { // BotToolVariable
|
|
211
|
-
* // name: "STRING_VALUE", // required
|
|
212
|
-
* // handler: { // BotToolVariableHandler Union: only one key present
|
|
213
|
-
* // auto: {},
|
|
214
|
-
* // guided: { // BotToolVariableGuidedHandler
|
|
215
|
-
* // description: "STRING_VALUE", // required
|
|
216
|
-
* // },
|
|
217
|
-
* // predefined: { // BotToolVariablePredefinedHandler
|
|
218
|
-
* // description: "STRING_VALUE", // required
|
|
219
|
-
* // },
|
|
220
|
-
* // },
|
|
221
|
-
* // },
|
|
222
|
-
* // ],
|
|
223
|
-
* // pipeline: { // BotCapabilityToolPipeline
|
|
224
|
-
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
225
|
-
* // instructions: "STRING_VALUE",
|
|
226
|
-
* // },
|
|
227
|
-
* // },
|
|
228
|
-
* // kb: { // BotKnowledgeBase
|
|
229
|
-
* // knowledgeBaseId: "STRING_VALUE",
|
|
230
|
-
* // instructions: "STRING_VALUE",
|
|
231
|
-
* // },
|
|
232
|
-
* // },
|
|
233
|
-
* // ],
|
|
234
|
-
* // },
|
|
235
|
-
* // dialogflowCx: { // BotDialogflowCxEndpoint
|
|
236
|
-
* // credentials: "DOCUMENT_VALUE", // required
|
|
237
|
-
* // agent: "STRING_VALUE", // required
|
|
238
|
-
* // location: "STRING_VALUE", // required
|
|
239
|
-
* // language: "STRING_VALUE", // required
|
|
240
|
-
* // },
|
|
241
|
-
* // openAiAssistant: { // BotOpenAiAssistantEndpoint
|
|
242
|
-
* // key: "STRING_VALUE", // required
|
|
243
|
-
* // assistantId: "STRING_VALUE", // required
|
|
244
|
-
* // },
|
|
245
|
-
* // webhook: { // BotWebhookEndpoint
|
|
246
|
-
* // url: "STRING_VALUE", // required
|
|
247
|
-
* // secret: "STRING_VALUE", // required
|
|
248
|
-
* // },
|
|
249
|
-
* // sqs: { // BotSqsEndpoint
|
|
250
|
-
* // url: "STRING_VALUE", // required
|
|
251
|
-
* // key: "STRING_VALUE", // required
|
|
252
|
-
* // secret: "STRING_VALUE", // required
|
|
253
|
-
* // },
|
|
254
|
-
* // },
|
|
255
|
-
* // },
|
|
256
|
-
* // };
|
|
257
|
-
*
|
|
258
|
-
* ```
|
|
259
|
-
*
|
|
260
|
-
* @param UpdateBotCallbackCommandInput - {@link UpdateBotCallbackCommandInput}
|
|
261
|
-
* @returns {@link UpdateBotCallbackCommandOutput}
|
|
262
|
-
* @see {@link UpdateBotCallbackCommandInput} for command's `input` shape.
|
|
263
|
-
* @see {@link UpdateBotCallbackCommandOutput} for command's `response` shape.
|
|
264
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
265
|
-
*
|
|
266
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
267
|
-
*
|
|
268
|
-
* @throws {@link ValidationException} (client fault)
|
|
269
|
-
*
|
|
270
|
-
* @throws {@link UsersServiceException}
|
|
271
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
* @public
|
|
275
|
-
*/
|
|
276
|
-
export declare class UpdateBotCallbackCommand extends UpdateBotCallbackCommand_base {
|
|
277
|
-
/** @internal type navigation helper, not in runtime. */
|
|
278
|
-
protected static __types: {
|
|
279
|
-
api: {
|
|
280
|
-
input: UpdateBotCallbackInput;
|
|
281
|
-
output: UpdateBotCallbackOutput;
|
|
282
|
-
};
|
|
283
|
-
sdk: {
|
|
284
|
-
input: UpdateBotCallbackCommandInput;
|
|
285
|
-
output: UpdateBotCallbackCommandOutput;
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UpdateBotInput, UpdateBotOutput } 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 UpdateBotCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UpdateBotCommandInput extends UpdateBotInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UpdateBotCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UpdateBotCommandOutput extends UpdateBotOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UpdateBotCommand_base: {
|
|
25
|
-
new (input: UpdateBotCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBotCommandInput, UpdateBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UpdateBotCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBotCommandInput, UpdateBotCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Updates the configuration of an existing bot.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, UpdateBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, UpdateBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // UpdateBotInput
|
|
38
|
-
* name: "STRING_VALUE", // required
|
|
39
|
-
* category: "STRING_VALUE",
|
|
40
|
-
* picture: "STRING_VALUE",
|
|
41
|
-
* searchable: true || false,
|
|
42
|
-
* access: "EVERYBODY" || "ORGANIZATION",
|
|
43
|
-
* company: "STRING_VALUE",
|
|
44
|
-
* botId: "STRING_VALUE", // required
|
|
45
|
-
* };
|
|
46
|
-
* const command = new UpdateBotCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* // { // UpdateBotOutput
|
|
49
|
-
* // bot: { // Bot
|
|
50
|
-
* // name: "STRING_VALUE", // required
|
|
51
|
-
* // category: "STRING_VALUE",
|
|
52
|
-
* // picture: "STRING_VALUE",
|
|
53
|
-
* // searchable: true || false,
|
|
54
|
-
* // access: "EVERYBODY" || "ORGANIZATION",
|
|
55
|
-
* // id: "STRING_VALUE", // required
|
|
56
|
-
* // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
|
|
57
|
-
* // integrationApiKeysCount: Number("int"), // required
|
|
58
|
-
* // createdAt: "STRING_VALUE", // required
|
|
59
|
-
* // updated: "STRING_VALUE",
|
|
60
|
-
* // },
|
|
61
|
-
* // };
|
|
62
|
-
*
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @param UpdateBotCommandInput - {@link UpdateBotCommandInput}
|
|
66
|
-
* @returns {@link UpdateBotCommandOutput}
|
|
67
|
-
* @see {@link UpdateBotCommandInput} for command's `input` shape.
|
|
68
|
-
* @see {@link UpdateBotCommandOutput} for command's `response` shape.
|
|
69
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link ValidationException} (client fault)
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link UsersServiceException}
|
|
76
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
export declare class UpdateBotCommand extends UpdateBotCommand_base {
|
|
82
|
-
/** @internal type navigation helper, not in runtime. */
|
|
83
|
-
protected static __types: {
|
|
84
|
-
api: {
|
|
85
|
-
input: UpdateBotInput;
|
|
86
|
-
output: UpdateBotOutput;
|
|
87
|
-
};
|
|
88
|
-
sdk: {
|
|
89
|
-
input: UpdateBotCommandInput;
|
|
90
|
-
output: UpdateBotCommandOutput;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UpdateUserEmailNotificationsSettingsInput, UpdateUserEmailNotificationsSettingsOutput } 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 UpdateUserEmailNotificationsSettingsCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UpdateUserEmailNotificationsSettingsCommandInput extends UpdateUserEmailNotificationsSettingsInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UpdateUserEmailNotificationsSettingsCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UpdateUserEmailNotificationsSettingsCommandOutput extends UpdateUserEmailNotificationsSettingsOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UpdateUserEmailNotificationsSettingsCommand_base: {
|
|
25
|
-
new (input: UpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UpdateUserEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Update user email notifications settings
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, UpdateUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, UpdateUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // UpdateUserEmailNotificationsSettingsInput
|
|
38
|
-
* unread: true || false,
|
|
39
|
-
* transcription: true || false,
|
|
40
|
-
* userId: "STRING_VALUE", // required
|
|
41
|
-
* };
|
|
42
|
-
* const command = new UpdateUserEmailNotificationsSettingsCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* // { // UpdateUserEmailNotificationsSettingsOutput
|
|
45
|
-
* // notifications: { // UserEmailNotificationsSettings
|
|
46
|
-
* // unread: true || false, // required
|
|
47
|
-
* // transcription: true || false, // required
|
|
48
|
-
* // },
|
|
49
|
-
* // };
|
|
50
|
-
*
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @param UpdateUserEmailNotificationsSettingsCommandInput - {@link UpdateUserEmailNotificationsSettingsCommandInput}
|
|
54
|
-
* @returns {@link UpdateUserEmailNotificationsSettingsCommandOutput}
|
|
55
|
-
* @see {@link UpdateUserEmailNotificationsSettingsCommandInput} for command's `input` shape.
|
|
56
|
-
* @see {@link UpdateUserEmailNotificationsSettingsCommandOutput} for command's `response` shape.
|
|
57
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
58
|
-
*
|
|
59
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link ValidationException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link UsersServiceException}
|
|
64
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
export declare class UpdateUserEmailNotificationsSettingsCommand extends UpdateUserEmailNotificationsSettingsCommand_base {
|
|
70
|
-
/** @internal type navigation helper, not in runtime. */
|
|
71
|
-
protected static __types: {
|
|
72
|
-
api: {
|
|
73
|
-
input: UpdateUserEmailNotificationsSettingsInput;
|
|
74
|
-
output: UpdateUserEmailNotificationsSettingsOutput;
|
|
75
|
-
};
|
|
76
|
-
sdk: {
|
|
77
|
-
input: UpdateUserEmailNotificationsSettingsCommandInput;
|
|
78
|
-
output: UpdateUserEmailNotificationsSettingsCommandOutput;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UploadPictureInput, UploadPictureOutput } 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 UploadPictureCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UploadPictureCommandInput extends UploadPictureInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UploadPictureCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UploadPictureCommandOutput extends UploadPictureOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UploadPictureCommand_base: {
|
|
25
|
-
new (input: UploadPictureCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureCommandInput, UploadPictureCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UploadPictureCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureCommandInput, UploadPictureCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Uploads a user profile picture in base64 format and returns the URL where it can be accessed.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { UsersClient, UploadPictureCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
-
* // const { UsersClient, UploadPictureCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
-
* const client = new UsersClient(config);
|
|
37
|
-
* const input = { // UploadPictureInput
|
|
38
|
-
* picture: "STRING_VALUE", // required
|
|
39
|
-
* };
|
|
40
|
-
* const command = new UploadPictureCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* // { // UploadPictureOutput
|
|
43
|
-
* // url: "STRING_VALUE", // required
|
|
44
|
-
* // };
|
|
45
|
-
*
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @param UploadPictureCommandInput - {@link UploadPictureCommandInput}
|
|
49
|
-
* @returns {@link UploadPictureCommandOutput}
|
|
50
|
-
* @see {@link UploadPictureCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link UploadPictureCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
53
|
-
*
|
|
54
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link ValidationException} (client fault)
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link UsersServiceException}
|
|
59
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* @public
|
|
63
|
-
*/
|
|
64
|
-
export declare class UploadPictureCommand extends UploadPictureCommand_base {
|
|
65
|
-
/** @internal type navigation helper, not in runtime. */
|
|
66
|
-
protected static __types: {
|
|
67
|
-
api: {
|
|
68
|
-
input: UploadPictureInput;
|
|
69
|
-
output: UploadPictureOutput;
|
|
70
|
-
};
|
|
71
|
-
sdk: {
|
|
72
|
-
input: UploadPictureCommandInput;
|
|
73
|
-
output: UploadPictureCommandOutput;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
-
import { UploadPictureV1Input, UploadPictureV1Output } 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 UploadPictureV1Command}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UploadPictureV1CommandInput extends UploadPictureV1Input {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UploadPictureV1Command}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UploadPictureV1CommandOutput extends UploadPictureV1Output, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UploadPictureV1Command_base: {
|
|
25
|
-
new (input: UploadPictureV1CommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureV1CommandInput, UploadPictureV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: UploadPictureV1CommandInput): import("@smithy/smithy-client").CommandImpl<UploadPictureV1CommandInput, UploadPictureV1CommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Uploads a user profile picture in base64 format and returns the URL where it can be accessed. This is a deprecated operation - use UploadPicture instead.
|
|
31
|
-
*
|
|
32
|
-
* @deprecated
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { UsersClient, UploadPictureV1Command } from "@wildix/xbees-users-client"; // ES Modules import
|
|
37
|
-
* // const { UsersClient, UploadPictureV1Command } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
38
|
-
* const client = new UsersClient(config);
|
|
39
|
-
* const input = { // UploadPictureV1Input
|
|
40
|
-
* picture: "STRING_VALUE", // required
|
|
41
|
-
* };
|
|
42
|
-
* const command = new UploadPictureV1Command(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* // { // UploadPictureV1Output
|
|
45
|
-
* // url: "STRING_VALUE", // required
|
|
46
|
-
* // };
|
|
47
|
-
*
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @param UploadPictureV1CommandInput - {@link UploadPictureV1CommandInput}
|
|
51
|
-
* @returns {@link UploadPictureV1CommandOutput}
|
|
52
|
-
* @see {@link UploadPictureV1CommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link UploadPictureV1CommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link ValidationException} (client fault)
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link UsersServiceException}
|
|
61
|
-
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* @public
|
|
65
|
-
*/
|
|
66
|
-
export declare class UploadPictureV1Command extends UploadPictureV1Command_base {
|
|
67
|
-
/** @internal type navigation helper, not in runtime. */
|
|
68
|
-
protected static __types: {
|
|
69
|
-
api: {
|
|
70
|
-
input: UploadPictureV1Input;
|
|
71
|
-
output: UploadPictureV1Output;
|
|
72
|
-
};
|
|
73
|
-
sdk: {
|
|
74
|
-
input: UploadPictureV1CommandInput;
|
|
75
|
-
output: UploadPictureV1CommandOutput;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
}
|