@wildix/wilma-agents-client 1.0.1
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/WilmaAgents.js +57 -0
- package/dist-cjs/WilmaAgentsClient.js +49 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/CompareAgentVersionsCommand.js +20 -0
- package/dist-cjs/commands/CreateAgentApiKeyCommand.js +20 -0
- package/dist-cjs/commands/CreateAgentCommand.js +20 -0
- package/dist-cjs/commands/CreateGuardrailCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentAliasCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentApiKeyCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentCommand.js +20 -0
- package/dist-cjs/commands/DeleteGuardrailCommand.js +20 -0
- package/dist-cjs/commands/ExecuteAgentCommand.js +20 -0
- package/dist-cjs/commands/GetAgentCommand.js +20 -0
- package/dist-cjs/commands/GetAgentVersionCommand.js +20 -0
- package/dist-cjs/commands/GetGuardrailCommand.js +20 -0
- package/dist-cjs/commands/ListAgentAliasesCommand.js +20 -0
- package/dist-cjs/commands/ListAgentApiKeysCommand.js +20 -0
- package/dist-cjs/commands/ListAgentVersionsCommand.js +20 -0
- package/dist-cjs/commands/ListAgentsCommand.js +20 -0
- package/dist-cjs/commands/ListAgentsNamesCommand.js +20 -0
- package/dist-cjs/commands/ListAuditRecordsCommand.js +20 -0
- package/dist-cjs/commands/ListGuardrailsCommand.js +20 -0
- package/dist-cjs/commands/PublishAgentVersionCommand.js +20 -0
- package/dist-cjs/commands/PutAgentAliasCommand.js +20 -0
- package/dist-cjs/commands/UpdateAgentCommand.js +20 -0
- package/dist-cjs/commands/UpdateGuardrailCommand.js +20 -0
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +13 -0
- package/dist-cjs/models/WilmaAgentsServiceException.js +12 -0
- package/dist-cjs/models/enums.js +118 -0
- package/dist-cjs/models/errors.js +154 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +41 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +41 -0
- package/dist-cjs/runtimeExtensions.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +1168 -0
- package/dist-es/WilmaAgents.js +53 -0
- package/dist-es/WilmaAgentsClient.js +45 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/CompareAgentVersionsCommand.js +16 -0
- package/dist-es/commands/CreateAgentApiKeyCommand.js +16 -0
- package/dist-es/commands/CreateAgentCommand.js +16 -0
- package/dist-es/commands/CreateGuardrailCommand.js +16 -0
- package/dist-es/commands/DeleteAgentAliasCommand.js +16 -0
- package/dist-es/commands/DeleteAgentApiKeyCommand.js +16 -0
- package/dist-es/commands/DeleteAgentCommand.js +16 -0
- package/dist-es/commands/DeleteGuardrailCommand.js +16 -0
- package/dist-es/commands/ExecuteAgentCommand.js +16 -0
- package/dist-es/commands/GetAgentCommand.js +16 -0
- package/dist-es/commands/GetAgentVersionCommand.js +16 -0
- package/dist-es/commands/GetGuardrailCommand.js +16 -0
- package/dist-es/commands/ListAgentAliasesCommand.js +16 -0
- package/dist-es/commands/ListAgentApiKeysCommand.js +16 -0
- package/dist-es/commands/ListAgentVersionsCommand.js +16 -0
- package/dist-es/commands/ListAgentsCommand.js +16 -0
- package/dist-es/commands/ListAgentsNamesCommand.js +16 -0
- package/dist-es/commands/ListAuditRecordsCommand.js +16 -0
- package/dist-es/commands/ListGuardrailsCommand.js +16 -0
- package/dist-es/commands/PublishAgentVersionCommand.js +16 -0
- package/dist-es/commands/PutAgentAliasCommand.js +16 -0
- package/dist-es/commands/UpdateAgentCommand.js +16 -0
- package/dist-es/commands/UpdateGuardrailCommand.js +16 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +8 -0
- package/dist-es/models/WilmaAgentsServiceException.js +8 -0
- package/dist-es/models/enums.js +115 -0
- package/dist-es/models/errors.js +141 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +36 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +37 -0
- package/dist-es/runtimeExtensions.js +8 -0
- package/dist-es/schemas/schemas_0.js +1162 -0
- package/dist-types/WilmaAgents.d.ts +182 -0
- package/dist-types/WilmaAgentsClient.d.ts +192 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/CompareAgentVersionsCommand.d.ts +91 -0
- package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +96 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +654 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +172 -0
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAgentCommand.d.ts +77 -0
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +80 -0
- package/dist-types/commands/ExecuteAgentCommand.d.ts +112 -0
- package/dist-types/commands/GetAgentCommand.d.ts +386 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +365 -0
- package/dist-types/commands/GetGuardrailCommand.d.ts +135 -0
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +99 -0
- package/dist-types/commands/ListAgentApiKeysCommand.d.ts +95 -0
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +99 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +391 -0
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +90 -0
- package/dist-types/commands/ListAuditRecordsCommand.d.ts +109 -0
- package/dist-types/commands/ListGuardrailsCommand.d.ts +137 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +370 -0
- package/dist-types/commands/PutAgentAliasCommand.d.ts +107 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +661 -0
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +175 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +23 -0
- package/dist-types/models/WilmaAgentsServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +301 -0
- package/dist-types/models/errors.d.ts +129 -0
- package/dist-types/models/models_0.d.ts +2186 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +160 -0
- package/package.json +57 -0
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetAgentVersionInput, GetAgentVersionOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAgentVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAgentVersionCommandInput extends GetAgentVersionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAgentVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAgentVersionCommandOutput extends GetAgentVersionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAgentVersionCommand_base: {
|
|
25
|
+
new (input: GetAgentVersionCommandInput): import("@smithy/core/client").CommandImpl<GetAgentVersionCommandInput, GetAgentVersionCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAgentVersionCommandInput): import("@smithy/core/client").CommandImpl<GetAgentVersionCommandInput, GetAgentVersionCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves a published version, including its full immutable definition snapshot.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaAgentsClient, GetAgentVersionCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaAgentsClient, GetAgentVersionCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
39
|
+
* const config = {}; // type is WilmaAgentsClientConfig
|
|
40
|
+
* const client = new WilmaAgentsClient(config);
|
|
41
|
+
* const input = { // GetAgentVersionInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* agentId: "STRING_VALUE", // required
|
|
44
|
+
* version: Number("int"), // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new GetAgentVersionCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // GetAgentVersionOutput
|
|
49
|
+
* // version: { // AgentVersion
|
|
50
|
+
* // agentId: "STRING_VALUE", // required
|
|
51
|
+
* // version: Number("int"), // required
|
|
52
|
+
* // changelog: "STRING_VALUE",
|
|
53
|
+
* // definition: { // AgentDefinitionSnapshot
|
|
54
|
+
* // name: "STRING_VALUE", // required
|
|
55
|
+
* // description: "STRING_VALUE",
|
|
56
|
+
* // category: "STRING_VALUE",
|
|
57
|
+
* // picture: "STRING_VALUE",
|
|
58
|
+
* // engine: { // AgentEngine Union: only one key present
|
|
59
|
+
* // llm: { // AgentLlmEngine
|
|
60
|
+
* // instructions: "STRING_VALUE", // required
|
|
61
|
+
* // model: "STRING_VALUE",
|
|
62
|
+
* // skills: [ // AgentSkillsList
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // capabilities: [ // AgentCapabilitiesList
|
|
66
|
+
* // { // AgentCapability Union: only one key present
|
|
67
|
+
* // tool: { // AgentTool
|
|
68
|
+
* // id: "STRING_VALUE", // required
|
|
69
|
+
* // variables: [ // AgentToolVariablesList
|
|
70
|
+
* // { // AgentToolVariable
|
|
71
|
+
* // name: "STRING_VALUE", // required
|
|
72
|
+
* // handler: { // AgentToolVariableHandler Union: only one key present
|
|
73
|
+
* // auto: {},
|
|
74
|
+
* // guided: { // AgentToolVariableGuidedHandler
|
|
75
|
+
* // description: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // predefined: { // AgentToolVariablePredefinedHandler
|
|
78
|
+
* // description: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // },
|
|
84
|
+
* // function: { // AgentFunctionTool
|
|
85
|
+
* // name: "STRING_VALUE", // required
|
|
86
|
+
* // description: "STRING_VALUE",
|
|
87
|
+
* // parameters: "DOCUMENT_VALUE",
|
|
88
|
+
* // integration: { // FunctionIntegration Union: only one key present
|
|
89
|
+
* // webhook: { // FunctionWebhookIntegration
|
|
90
|
+
* // url: "STRING_VALUE", // required
|
|
91
|
+
* // method: "get" || "post" || "put" || "delete" || "patch",
|
|
92
|
+
* // async: true || false,
|
|
93
|
+
* // authorization: { // WebhookAuthorization Union: only one key present
|
|
94
|
+
* // bearer: { // WebhookAuthorizationBearer
|
|
95
|
+
* // token: "STRING_VALUE", // required
|
|
96
|
+
* // },
|
|
97
|
+
* // basic: { // WebhookAuthorizationBasic
|
|
98
|
+
* // username: "STRING_VALUE", // required
|
|
99
|
+
* // password: "STRING_VALUE", // required
|
|
100
|
+
* // },
|
|
101
|
+
* // oauth: { // WebhookAuthorizationOAuth
|
|
102
|
+
* // clientId: "STRING_VALUE", // required
|
|
103
|
+
* // clientSecret: "STRING_VALUE", // required
|
|
104
|
+
* // endpointUrl: "STRING_VALUE", // required
|
|
105
|
+
* // scope: "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // headers: [ // WebhookHeadersList
|
|
109
|
+
* // { // WebhookHeader
|
|
110
|
+
* // name: "STRING_VALUE", // required
|
|
111
|
+
* // value: "STRING_VALUE", // required
|
|
112
|
+
* // },
|
|
113
|
+
* // ],
|
|
114
|
+
* // timeout: Number("int"),
|
|
115
|
+
* // parameters: "DOCUMENT_VALUE",
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // kb: { // AgentKnowledgeBase
|
|
120
|
+
* // knowledgeBaseId: "STRING_VALUE",
|
|
121
|
+
* // instructions: "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
124
|
+
* // vercel: { // AgentVercelSandboxOptions
|
|
125
|
+
* // vcpus: Number("int"),
|
|
126
|
+
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
127
|
+
* // allowedDomains: [ // DomainNameList
|
|
128
|
+
* // "STRING_VALUE",
|
|
129
|
+
* // ],
|
|
130
|
+
* // },
|
|
131
|
+
* // snapshot: { // AgentSnapshotSandboxOptions
|
|
132
|
+
* // snapshotId: "STRING_VALUE", // required
|
|
133
|
+
* // network: "allow-all" || "deny-all" || "allowlist",
|
|
134
|
+
* // allowedDomains: [
|
|
135
|
+
* // "STRING_VALUE",
|
|
136
|
+
* // ],
|
|
137
|
+
* // vcpus: Number("int"),
|
|
138
|
+
* // },
|
|
139
|
+
* // },
|
|
140
|
+
* // webSearch: { // AgentWebSearchCapability
|
|
141
|
+
* // contextSize: "low" || "medium" || "high",
|
|
142
|
+
* // allowedDomains: [
|
|
143
|
+
* // "STRING_VALUE",
|
|
144
|
+
* // ],
|
|
145
|
+
* // userLocation: { // WebSearchUserLocation
|
|
146
|
+
* // country: "STRING_VALUE",
|
|
147
|
+
* // region: "STRING_VALUE",
|
|
148
|
+
* // city: "STRING_VALUE",
|
|
149
|
+
* // timezone: "STRING_VALUE",
|
|
150
|
+
* // },
|
|
151
|
+
* // },
|
|
152
|
+
* // webFetch: { // AgentWebFetchCapability
|
|
153
|
+
* // allowedDomains: [
|
|
154
|
+
* // "STRING_VALUE",
|
|
155
|
+
* // ],
|
|
156
|
+
* // },
|
|
157
|
+
* // agent: { // AgentCallCapability
|
|
158
|
+
* // agentId: "STRING_VALUE", // required
|
|
159
|
+
* // variables: [
|
|
160
|
+
* // {
|
|
161
|
+
* // name: "STRING_VALUE", // required
|
|
162
|
+
* // handler: {// Union: only one key present
|
|
163
|
+
* // auto: {},
|
|
164
|
+
* // guided: {
|
|
165
|
+
* // description: "STRING_VALUE", // required
|
|
166
|
+
* // },
|
|
167
|
+
* // predefined: {
|
|
168
|
+
* // description: "STRING_VALUE", // required
|
|
169
|
+
* // },
|
|
170
|
+
* // },
|
|
171
|
+
* // },
|
|
172
|
+
* // ],
|
|
173
|
+
* // },
|
|
174
|
+
* // mcp: { // AgentMcpServerCapability
|
|
175
|
+
* // url: "STRING_VALUE", // required
|
|
176
|
+
* // authorization: {// Union: only one key present
|
|
177
|
+
* // bearer: {
|
|
178
|
+
* // token: "STRING_VALUE", // required
|
|
179
|
+
* // },
|
|
180
|
+
* // basic: {
|
|
181
|
+
* // username: "STRING_VALUE", // required
|
|
182
|
+
* // password: "STRING_VALUE", // required
|
|
183
|
+
* // },
|
|
184
|
+
* // oauth: {
|
|
185
|
+
* // clientId: "STRING_VALUE", // required
|
|
186
|
+
* // clientSecret: "STRING_VALUE", // required
|
|
187
|
+
* // endpointUrl: "STRING_VALUE", // required
|
|
188
|
+
* // scope: "STRING_VALUE",
|
|
189
|
+
* // },
|
|
190
|
+
* // },
|
|
191
|
+
* // allowedTools: [ // FunctionNameList
|
|
192
|
+
* // "STRING_VALUE",
|
|
193
|
+
* // ],
|
|
194
|
+
* // },
|
|
195
|
+
* // handover: { // AgentHandoverCapability
|
|
196
|
+
* // instructions: "STRING_VALUE",
|
|
197
|
+
* // message: "STRING_VALUE",
|
|
198
|
+
* // },
|
|
199
|
+
* // delegation: { // AgentDelegationCapability
|
|
200
|
+
* // agents: [ // AgentIdList
|
|
201
|
+
* // "STRING_VALUE",
|
|
202
|
+
* // ],
|
|
203
|
+
* // instructions: "STRING_VALUE",
|
|
204
|
+
* // },
|
|
205
|
+
* // transfer: { // AgentTransferCapability
|
|
206
|
+
* // targets: [ // VoiceTransferTargetsList // required
|
|
207
|
+
* // { // VoiceTransferTarget
|
|
208
|
+
* // name: "STRING_VALUE", // required
|
|
209
|
+
* // description: "STRING_VALUE",
|
|
210
|
+
* // context: "STRING_VALUE", // required
|
|
211
|
+
* // extension: "STRING_VALUE", // required
|
|
212
|
+
* // },
|
|
213
|
+
* // ],
|
|
214
|
+
* // instructions: "STRING_VALUE",
|
|
215
|
+
* // },
|
|
216
|
+
* // suggestions: {},
|
|
217
|
+
* // },
|
|
218
|
+
* // ],
|
|
219
|
+
* // variables: [ // AgentVariablesList
|
|
220
|
+
* // { // AgentVariable
|
|
221
|
+
* // name: "STRING_VALUE", // required
|
|
222
|
+
* // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
|
|
223
|
+
* // optional: true || false, // required
|
|
224
|
+
* // description: "STRING_VALUE",
|
|
225
|
+
* // },
|
|
226
|
+
* // ],
|
|
227
|
+
* // },
|
|
228
|
+
* // webhook: { // AgentWebhookEngine
|
|
229
|
+
* // url: "STRING_VALUE", // required
|
|
230
|
+
* // secret: "STRING_VALUE", // required
|
|
231
|
+
* // timeout: Number("int"),
|
|
232
|
+
* // },
|
|
233
|
+
* // sqs: { // AgentSqsEngine
|
|
234
|
+
* // url: "STRING_VALUE", // required
|
|
235
|
+
* // key: "STRING_VALUE", // required
|
|
236
|
+
* // secret: "STRING_VALUE", // required
|
|
237
|
+
* // },
|
|
238
|
+
* // },
|
|
239
|
+
* // channels: { // AgentChannels
|
|
240
|
+
* // assistant: { // AssistantChannelSettings
|
|
241
|
+
* // enabled: true || false, // required
|
|
242
|
+
* // default: true || false,
|
|
243
|
+
* // },
|
|
244
|
+
* // chat: { // ChatChannelSettings
|
|
245
|
+
* // enabled: true || false, // required
|
|
246
|
+
* // discoverable: true || false,
|
|
247
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
248
|
+
* // welcomeMessage: "STRING_VALUE",
|
|
249
|
+
* // },
|
|
250
|
+
* // voice: { // VoiceChannelSettings
|
|
251
|
+
* // enabled: true || false, // required
|
|
252
|
+
* // language: "STRING_VALUE", // required
|
|
253
|
+
* // synthesis: { // VoiceSynthesisSettings
|
|
254
|
+
* // provider: "elevenlabs" || "google", // required
|
|
255
|
+
* // voiceId: "STRING_VALUE", // required
|
|
256
|
+
* // speed: Number("float"),
|
|
257
|
+
* // },
|
|
258
|
+
* // greeting: "STRING_VALUE",
|
|
259
|
+
* // interruptions: { // VoiceInterruptionSettings
|
|
260
|
+
* // enabled: true || false, // required
|
|
261
|
+
* // minWords: Number("int"),
|
|
262
|
+
* // },
|
|
263
|
+
* // silenceTimeout: { // VoiceSilenceTimeoutSettings
|
|
264
|
+
* // seconds: Number("int"), // required
|
|
265
|
+
* // action: { // VoiceTerminateAction Union: only one key present
|
|
266
|
+
* // hangup: { // VoiceTerminateHangupAction
|
|
267
|
+
* // message: "STRING_VALUE",
|
|
268
|
+
* // },
|
|
269
|
+
* // transfer: {
|
|
270
|
+
* // name: "STRING_VALUE", // required
|
|
271
|
+
* // description: "STRING_VALUE",
|
|
272
|
+
* // context: "STRING_VALUE", // required
|
|
273
|
+
* // extension: "STRING_VALUE", // required
|
|
274
|
+
* // },
|
|
275
|
+
* // },
|
|
276
|
+
* // },
|
|
277
|
+
* // maxDuration: { // VoiceMaxDurationSettings
|
|
278
|
+
* // seconds: Number("int"), // required
|
|
279
|
+
* // action: {// Union: only one key present
|
|
280
|
+
* // hangup: {
|
|
281
|
+
* // message: "STRING_VALUE",
|
|
282
|
+
* // },
|
|
283
|
+
* // transfer: {
|
|
284
|
+
* // name: "STRING_VALUE", // required
|
|
285
|
+
* // description: "STRING_VALUE",
|
|
286
|
+
* // context: "STRING_VALUE", // required
|
|
287
|
+
* // extension: "STRING_VALUE", // required
|
|
288
|
+
* // },
|
|
289
|
+
* // },
|
|
290
|
+
* // },
|
|
291
|
+
* // endCall: { // VoiceEndCallSettings
|
|
292
|
+
* // enabled: true || false, // required
|
|
293
|
+
* // phrases: "STRING_VALUE",
|
|
294
|
+
* // },
|
|
295
|
+
* // callerMetadata: { // VoiceCallerMetadataSettings
|
|
296
|
+
* // callerName: true || false,
|
|
297
|
+
* // callerNumber: true || false,
|
|
298
|
+
* // callerEmail: true || false,
|
|
299
|
+
* // callerCompany: true || false,
|
|
300
|
+
* // time: true || false,
|
|
301
|
+
* // timeZone: "STRING_VALUE",
|
|
302
|
+
* // },
|
|
303
|
+
* // },
|
|
304
|
+
* // api: { // ApiChannelSettings
|
|
305
|
+
* // enabled: true || false, // required
|
|
306
|
+
* // },
|
|
307
|
+
* // },
|
|
308
|
+
* // guardrails: [ // GuardrailIdList
|
|
309
|
+
* // "STRING_VALUE",
|
|
310
|
+
* // ],
|
|
311
|
+
* // access: { // AgentAccess
|
|
312
|
+
* // visibility: "explicit" || "organization",
|
|
313
|
+
* // grants: [ // AgentGrantList
|
|
314
|
+
* // { // AgentGrant
|
|
315
|
+
* // permission: "view" || "edit" || "use", // required
|
|
316
|
+
* // principal: { // AgentGrantPrincipal Union: only one key present
|
|
317
|
+
* // userId: "STRING_VALUE",
|
|
318
|
+
* // groupId: "STRING_VALUE",
|
|
319
|
+
* // },
|
|
320
|
+
* // },
|
|
321
|
+
* // ],
|
|
322
|
+
* // },
|
|
323
|
+
* // },
|
|
324
|
+
* // publishedAt: "STRING_VALUE", // required
|
|
325
|
+
* // publishedBy: { // Actor
|
|
326
|
+
* // type: "user" || "api_key" || "service", // required
|
|
327
|
+
* // id: "STRING_VALUE", // required
|
|
328
|
+
* // name: "STRING_VALUE",
|
|
329
|
+
* // },
|
|
330
|
+
* // },
|
|
331
|
+
* // };
|
|
332
|
+
*
|
|
333
|
+
* ```
|
|
334
|
+
*
|
|
335
|
+
* @param GetAgentVersionCommandInput - {@link GetAgentVersionCommandInput}
|
|
336
|
+
* @returns {@link GetAgentVersionCommandOutput}
|
|
337
|
+
* @see {@link GetAgentVersionCommandInput} for command's `input` shape.
|
|
338
|
+
* @see {@link GetAgentVersionCommandOutput} for command's `response` shape.
|
|
339
|
+
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
340
|
+
*
|
|
341
|
+
* @throws {@link AgentNotFoundException} (client fault)
|
|
342
|
+
*
|
|
343
|
+
* @throws {@link AgentVersionNotFoundException} (client fault)
|
|
344
|
+
*
|
|
345
|
+
* @throws {@link ValidationException} (client fault)
|
|
346
|
+
*
|
|
347
|
+
* @throws {@link WilmaAgentsServiceException}
|
|
348
|
+
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
349
|
+
*
|
|
350
|
+
*
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
export declare class GetAgentVersionCommand extends GetAgentVersionCommand_base {
|
|
354
|
+
/** @internal type navigation helper, not in runtime. */
|
|
355
|
+
protected static __types: {
|
|
356
|
+
api: {
|
|
357
|
+
input: GetAgentVersionInput;
|
|
358
|
+
output: GetAgentVersionOutput;
|
|
359
|
+
};
|
|
360
|
+
sdk: {
|
|
361
|
+
input: GetAgentVersionCommandInput;
|
|
362
|
+
output: GetAgentVersionCommandOutput;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetGuardrailInput, GetGuardrailOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetGuardrailCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetGuardrailCommandInput extends GetGuardrailInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetGuardrailCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetGuardrailCommandOutput extends GetGuardrailOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetGuardrailCommand_base: {
|
|
25
|
+
new (input: GetGuardrailCommandInput): import("@smithy/core/client").CommandImpl<GetGuardrailCommandInput, GetGuardrailCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetGuardrailCommandInput): import("@smithy/core/client").CommandImpl<GetGuardrailCommandInput, GetGuardrailCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves a guardrail.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaAgentsClient, GetGuardrailCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaAgentsClient, GetGuardrailCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
39
|
+
* const config = {}; // type is WilmaAgentsClientConfig
|
|
40
|
+
* const client = new WilmaAgentsClient(config);
|
|
41
|
+
* const input = { // GetGuardrailInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* guardrailId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetGuardrailCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetGuardrailOutput
|
|
48
|
+
* // guardrail: { // Guardrail
|
|
49
|
+
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // description: "STRING_VALUE",
|
|
51
|
+
* // topicPolicy: { // GuardrailTopicPolicy
|
|
52
|
+
* // topics: [ // GuardrailTopicsList // required
|
|
53
|
+
* // { // GuardrailTopic
|
|
54
|
+
* // name: "STRING_VALUE", // required
|
|
55
|
+
* // definition: "STRING_VALUE", // required
|
|
56
|
+
* // examples: [ // GuardrailPhrasesList
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // action: "block" || "detect", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // contentPolicy: { // GuardrailContentPolicy
|
|
64
|
+
* // filters: [ // GuardrailContentFiltersList // required
|
|
65
|
+
* // { // GuardrailContentFilter
|
|
66
|
+
* // category: "hate" || "insults" || "sexual" || "violence" || "misconduct" || "prompt_attack", // required
|
|
67
|
+
* // inputStrength: "none" || "low" || "medium" || "high",
|
|
68
|
+
* // outputStrength: "none" || "low" || "medium" || "high",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // wordPolicy: { // GuardrailWordPolicy
|
|
73
|
+
* // blockedWords: [
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // profanity: true || false,
|
|
77
|
+
* // },
|
|
78
|
+
* // piiPolicy: { // GuardrailPiiPolicy
|
|
79
|
+
* // entities: [ // GuardrailPiiEntitiesList // required
|
|
80
|
+
* // { // GuardrailPiiEntity
|
|
81
|
+
* // entityType: "email" || "phone_number" || "name" || "address" || "credit_card" || "iban" || "national_id" || "password" || "custom", // required
|
|
82
|
+
* // pattern: "STRING_VALUE",
|
|
83
|
+
* // action: "block" || "anonymize", // required
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // blockedInputMessage: "STRING_VALUE",
|
|
88
|
+
* // blockedOutputMessage: "STRING_VALUE",
|
|
89
|
+
* // createdAt: "STRING_VALUE", // required
|
|
90
|
+
* // createdBy: { // Actor
|
|
91
|
+
* // type: "user" || "api_key" || "service", // required
|
|
92
|
+
* // id: "STRING_VALUE", // required
|
|
93
|
+
* // name: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // updatedAt: "STRING_VALUE",
|
|
96
|
+
* // updatedBy: {
|
|
97
|
+
* // type: "user" || "api_key" || "service", // required
|
|
98
|
+
* // id: "STRING_VALUE", // required
|
|
99
|
+
* // name: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // id: "STRING_VALUE", // required
|
|
102
|
+
* // },
|
|
103
|
+
* // };
|
|
104
|
+
*
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* @param GetGuardrailCommandInput - {@link GetGuardrailCommandInput}
|
|
108
|
+
* @returns {@link GetGuardrailCommandOutput}
|
|
109
|
+
* @see {@link GetGuardrailCommandInput} for command's `input` shape.
|
|
110
|
+
* @see {@link GetGuardrailCommandOutput} for command's `response` shape.
|
|
111
|
+
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link GuardrailNotFoundException} (client fault)
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ValidationException} (client fault)
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link WilmaAgentsServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export declare class GetGuardrailCommand extends GetGuardrailCommand_base {
|
|
124
|
+
/** @internal type navigation helper, not in runtime. */
|
|
125
|
+
protected static __types: {
|
|
126
|
+
api: {
|
|
127
|
+
input: GetGuardrailInput;
|
|
128
|
+
output: GetGuardrailOutput;
|
|
129
|
+
};
|
|
130
|
+
sdk: {
|
|
131
|
+
input: GetGuardrailCommandInput;
|
|
132
|
+
output: GetGuardrailCommandOutput;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListAgentAliasesInput, ListAgentAliasesOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAgentAliasesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAgentAliasesCommandInput extends ListAgentAliasesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAgentAliasesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAgentAliasesCommandOutput extends ListAgentAliasesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAgentAliasesCommand_base: {
|
|
25
|
+
new (input: ListAgentAliasesCommandInput): import("@smithy/core/client").CommandImpl<ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListAgentAliasesCommandInput): import("@smithy/core/client").CommandImpl<ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Lists the aliases of an agent with their version routing.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaAgentsClient, ListAgentAliasesCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaAgentsClient, ListAgentAliasesCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
39
|
+
* const config = {}; // type is WilmaAgentsClientConfig
|
|
40
|
+
* const client = new WilmaAgentsClient(config);
|
|
41
|
+
* const input = { // ListAgentAliasesInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* agentId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListAgentAliasesCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListAgentAliasesOutput
|
|
48
|
+
* // aliases: [ // AgentAliasesList // required
|
|
49
|
+
* // { // AgentAlias
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // agentId: "STRING_VALUE", // required
|
|
52
|
+
* // description: "STRING_VALUE",
|
|
53
|
+
* // routing: [ // AgentAliasRoutesList // required
|
|
54
|
+
* // { // AgentAliasRoute
|
|
55
|
+
* // version: Number("int"), // required
|
|
56
|
+
* // weight: Number("int"), // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // updatedAt: "STRING_VALUE", // required
|
|
60
|
+
* // updatedBy: { // Actor
|
|
61
|
+
* // type: "user" || "api_key" || "service", // required
|
|
62
|
+
* // id: "STRING_VALUE", // required
|
|
63
|
+
* // name: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param ListAgentAliasesCommandInput - {@link ListAgentAliasesCommandInput}
|
|
72
|
+
* @returns {@link ListAgentAliasesCommandOutput}
|
|
73
|
+
* @see {@link ListAgentAliasesCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link ListAgentAliasesCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AgentNotFoundException} (client fault)
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link WilmaAgentsServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListAgentAliasesCommand extends ListAgentAliasesCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: ListAgentAliasesInput;
|
|
92
|
+
output: ListAgentAliasesOutput;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: ListAgentAliasesCommandInput;
|
|
96
|
+
output: ListAgentAliasesCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|