@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.
Files changed (130) hide show
  1. package/dist-cjs/WilmaAgents.js +57 -0
  2. package/dist-cjs/WilmaAgentsClient.js +49 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/CompareAgentVersionsCommand.js +20 -0
  6. package/dist-cjs/commands/CreateAgentApiKeyCommand.js +20 -0
  7. package/dist-cjs/commands/CreateAgentCommand.js +20 -0
  8. package/dist-cjs/commands/CreateGuardrailCommand.js +20 -0
  9. package/dist-cjs/commands/DeleteAgentAliasCommand.js +20 -0
  10. package/dist-cjs/commands/DeleteAgentApiKeyCommand.js +20 -0
  11. package/dist-cjs/commands/DeleteAgentCommand.js +20 -0
  12. package/dist-cjs/commands/DeleteGuardrailCommand.js +20 -0
  13. package/dist-cjs/commands/ExecuteAgentCommand.js +20 -0
  14. package/dist-cjs/commands/GetAgentCommand.js +20 -0
  15. package/dist-cjs/commands/GetAgentVersionCommand.js +20 -0
  16. package/dist-cjs/commands/GetGuardrailCommand.js +20 -0
  17. package/dist-cjs/commands/ListAgentAliasesCommand.js +20 -0
  18. package/dist-cjs/commands/ListAgentApiKeysCommand.js +20 -0
  19. package/dist-cjs/commands/ListAgentVersionsCommand.js +20 -0
  20. package/dist-cjs/commands/ListAgentsCommand.js +20 -0
  21. package/dist-cjs/commands/ListAgentsNamesCommand.js +20 -0
  22. package/dist-cjs/commands/ListAuditRecordsCommand.js +20 -0
  23. package/dist-cjs/commands/ListGuardrailsCommand.js +20 -0
  24. package/dist-cjs/commands/PublishAgentVersionCommand.js +20 -0
  25. package/dist-cjs/commands/PutAgentAliasCommand.js +20 -0
  26. package/dist-cjs/commands/UpdateAgentCommand.js +20 -0
  27. package/dist-cjs/commands/UpdateGuardrailCommand.js +20 -0
  28. package/dist-cjs/commands/index.js +26 -0
  29. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  30. package/dist-cjs/endpoint/bdd.js +28 -0
  31. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  32. package/dist-cjs/extensionConfiguration.js +2 -0
  33. package/dist-cjs/index.js +13 -0
  34. package/dist-cjs/models/WilmaAgentsServiceException.js +12 -0
  35. package/dist-cjs/models/enums.js +118 -0
  36. package/dist-cjs/models/errors.js +154 -0
  37. package/dist-cjs/models/models_0.js +2 -0
  38. package/dist-cjs/runtimeConfig.browser.js +32 -0
  39. package/dist-cjs/runtimeConfig.js +41 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +41 -0
  42. package/dist-cjs/runtimeExtensions.js +12 -0
  43. package/dist-cjs/schemas/schemas_0.js +1168 -0
  44. package/dist-es/WilmaAgents.js +53 -0
  45. package/dist-es/WilmaAgentsClient.js +45 -0
  46. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  47. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  48. package/dist-es/commands/CompareAgentVersionsCommand.js +16 -0
  49. package/dist-es/commands/CreateAgentApiKeyCommand.js +16 -0
  50. package/dist-es/commands/CreateAgentCommand.js +16 -0
  51. package/dist-es/commands/CreateGuardrailCommand.js +16 -0
  52. package/dist-es/commands/DeleteAgentAliasCommand.js +16 -0
  53. package/dist-es/commands/DeleteAgentApiKeyCommand.js +16 -0
  54. package/dist-es/commands/DeleteAgentCommand.js +16 -0
  55. package/dist-es/commands/DeleteGuardrailCommand.js +16 -0
  56. package/dist-es/commands/ExecuteAgentCommand.js +16 -0
  57. package/dist-es/commands/GetAgentCommand.js +16 -0
  58. package/dist-es/commands/GetAgentVersionCommand.js +16 -0
  59. package/dist-es/commands/GetGuardrailCommand.js +16 -0
  60. package/dist-es/commands/ListAgentAliasesCommand.js +16 -0
  61. package/dist-es/commands/ListAgentApiKeysCommand.js +16 -0
  62. package/dist-es/commands/ListAgentVersionsCommand.js +16 -0
  63. package/dist-es/commands/ListAgentsCommand.js +16 -0
  64. package/dist-es/commands/ListAgentsNamesCommand.js +16 -0
  65. package/dist-es/commands/ListAuditRecordsCommand.js +16 -0
  66. package/dist-es/commands/ListGuardrailsCommand.js +16 -0
  67. package/dist-es/commands/PublishAgentVersionCommand.js +16 -0
  68. package/dist-es/commands/PutAgentAliasCommand.js +16 -0
  69. package/dist-es/commands/UpdateAgentCommand.js +16 -0
  70. package/dist-es/commands/UpdateGuardrailCommand.js +16 -0
  71. package/dist-es/commands/index.js +23 -0
  72. package/dist-es/endpoint/EndpointParameters.js +12 -0
  73. package/dist-es/endpoint/bdd.js +25 -0
  74. package/dist-es/endpoint/endpointResolver.js +12 -0
  75. package/dist-es/extensionConfiguration.js +1 -0
  76. package/dist-es/index.js +8 -0
  77. package/dist-es/models/WilmaAgentsServiceException.js +8 -0
  78. package/dist-es/models/enums.js +115 -0
  79. package/dist-es/models/errors.js +141 -0
  80. package/dist-es/models/models_0.js +1 -0
  81. package/dist-es/runtimeConfig.browser.js +27 -0
  82. package/dist-es/runtimeConfig.js +36 -0
  83. package/dist-es/runtimeConfig.native.js +11 -0
  84. package/dist-es/runtimeConfig.shared.js +37 -0
  85. package/dist-es/runtimeExtensions.js +8 -0
  86. package/dist-es/schemas/schemas_0.js +1162 -0
  87. package/dist-types/WilmaAgents.d.ts +182 -0
  88. package/dist-types/WilmaAgentsClient.d.ts +192 -0
  89. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  90. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  91. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +91 -0
  92. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +96 -0
  93. package/dist-types/commands/CreateAgentCommand.d.ts +654 -0
  94. package/dist-types/commands/CreateGuardrailCommand.d.ts +172 -0
  95. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +82 -0
  96. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +82 -0
  97. package/dist-types/commands/DeleteAgentCommand.d.ts +77 -0
  98. package/dist-types/commands/DeleteGuardrailCommand.d.ts +80 -0
  99. package/dist-types/commands/ExecuteAgentCommand.d.ts +112 -0
  100. package/dist-types/commands/GetAgentCommand.d.ts +386 -0
  101. package/dist-types/commands/GetAgentVersionCommand.d.ts +365 -0
  102. package/dist-types/commands/GetGuardrailCommand.d.ts +135 -0
  103. package/dist-types/commands/ListAgentAliasesCommand.d.ts +99 -0
  104. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +95 -0
  105. package/dist-types/commands/ListAgentVersionsCommand.d.ts +99 -0
  106. package/dist-types/commands/ListAgentsCommand.d.ts +391 -0
  107. package/dist-types/commands/ListAgentsNamesCommand.d.ts +90 -0
  108. package/dist-types/commands/ListAuditRecordsCommand.d.ts +109 -0
  109. package/dist-types/commands/ListGuardrailsCommand.d.ts +137 -0
  110. package/dist-types/commands/PublishAgentVersionCommand.d.ts +370 -0
  111. package/dist-types/commands/PutAgentAliasCommand.d.ts +107 -0
  112. package/dist-types/commands/UpdateAgentCommand.d.ts +661 -0
  113. package/dist-types/commands/UpdateGuardrailCommand.d.ts +175 -0
  114. package/dist-types/commands/index.d.ts +23 -0
  115. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  116. package/dist-types/endpoint/bdd.d.ts +2 -0
  117. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  118. package/dist-types/extensionConfiguration.d.ts +8 -0
  119. package/dist-types/index.d.ts +23 -0
  120. package/dist-types/models/WilmaAgentsServiceException.d.ts +14 -0
  121. package/dist-types/models/enums.d.ts +301 -0
  122. package/dist-types/models/errors.d.ts +129 -0
  123. package/dist-types/models/models_0.d.ts +2186 -0
  124. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  125. package/dist-types/runtimeConfig.d.ts +55 -0
  126. package/dist-types/runtimeConfig.native.d.ts +54 -0
  127. package/dist-types/runtimeConfig.shared.d.ts +32 -0
  128. package/dist-types/runtimeExtensions.d.ts +17 -0
  129. package/dist-types/schemas/schemas_0.d.ts +160 -0
  130. package/package.json +57 -0
@@ -0,0 +1,654 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateAgentInput, CreateAgentOutput } 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 CreateAgentCommand}.
14
+ */
15
+ export interface CreateAgentCommandInput extends CreateAgentInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAgentCommand}.
21
+ */
22
+ export interface CreateAgentCommandOutput extends CreateAgentOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateAgentCommand_base: {
25
+ new (input: CreateAgentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentCommandInput, CreateAgentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAgentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentCommandInput, CreateAgentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Creates a new agent draft with the specified configuration. The agent serves no traffic until its first version is published.
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WilmaAgentsClient, CreateAgentCommand } from "@wildix/wilma-agents-client"; // ES Modules import
37
+ * // const { WilmaAgentsClient, CreateAgentCommand } = 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 = { // CreateAgentInput
42
+ * name: "STRING_VALUE", // required
43
+ * description: "STRING_VALUE",
44
+ * category: "STRING_VALUE",
45
+ * picture: "STRING_VALUE",
46
+ * engine: { // AgentEngine Union: only one key present
47
+ * llm: { // AgentLlmEngine
48
+ * instructions: "STRING_VALUE", // required
49
+ * model: "STRING_VALUE",
50
+ * skills: [ // AgentSkillsList
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * capabilities: [ // AgentCapabilitiesList
54
+ * { // AgentCapability Union: only one key present
55
+ * tool: { // AgentTool
56
+ * id: "STRING_VALUE", // required
57
+ * variables: [ // AgentToolVariablesList
58
+ * { // AgentToolVariable
59
+ * name: "STRING_VALUE", // required
60
+ * handler: { // AgentToolVariableHandler Union: only one key present
61
+ * auto: {},
62
+ * guided: { // AgentToolVariableGuidedHandler
63
+ * description: "STRING_VALUE", // required
64
+ * },
65
+ * predefined: { // AgentToolVariablePredefinedHandler
66
+ * description: "STRING_VALUE", // required
67
+ * },
68
+ * },
69
+ * },
70
+ * ],
71
+ * },
72
+ * function: { // AgentFunctionTool
73
+ * name: "STRING_VALUE", // required
74
+ * description: "STRING_VALUE",
75
+ * parameters: "DOCUMENT_VALUE",
76
+ * integration: { // FunctionIntegration Union: only one key present
77
+ * webhook: { // FunctionWebhookIntegration
78
+ * url: "STRING_VALUE", // required
79
+ * method: "get" || "post" || "put" || "delete" || "patch",
80
+ * async: true || false,
81
+ * authorization: { // WebhookAuthorization Union: only one key present
82
+ * bearer: { // WebhookAuthorizationBearer
83
+ * token: "STRING_VALUE", // required
84
+ * },
85
+ * basic: { // WebhookAuthorizationBasic
86
+ * username: "STRING_VALUE", // required
87
+ * password: "STRING_VALUE", // required
88
+ * },
89
+ * oauth: { // WebhookAuthorizationOAuth
90
+ * clientId: "STRING_VALUE", // required
91
+ * clientSecret: "STRING_VALUE", // required
92
+ * endpointUrl: "STRING_VALUE", // required
93
+ * scope: "STRING_VALUE",
94
+ * },
95
+ * },
96
+ * headers: [ // WebhookHeadersList
97
+ * { // WebhookHeader
98
+ * name: "STRING_VALUE", // required
99
+ * value: "STRING_VALUE", // required
100
+ * },
101
+ * ],
102
+ * timeout: Number("int"),
103
+ * parameters: "DOCUMENT_VALUE",
104
+ * },
105
+ * },
106
+ * },
107
+ * kb: { // AgentKnowledgeBase
108
+ * knowledgeBaseId: "STRING_VALUE",
109
+ * instructions: "STRING_VALUE",
110
+ * },
111
+ * sandbox: { // AgentSandboxCapability Union: only one key present
112
+ * vercel: { // AgentVercelSandboxOptions
113
+ * vcpus: Number("int"),
114
+ * network: "allow-all" || "deny-all" || "allowlist",
115
+ * allowedDomains: [ // DomainNameList
116
+ * "STRING_VALUE",
117
+ * ],
118
+ * },
119
+ * snapshot: { // AgentSnapshotSandboxOptions
120
+ * snapshotId: "STRING_VALUE", // required
121
+ * network: "allow-all" || "deny-all" || "allowlist",
122
+ * allowedDomains: [
123
+ * "STRING_VALUE",
124
+ * ],
125
+ * vcpus: Number("int"),
126
+ * },
127
+ * },
128
+ * webSearch: { // AgentWebSearchCapability
129
+ * contextSize: "low" || "medium" || "high",
130
+ * allowedDomains: [
131
+ * "STRING_VALUE",
132
+ * ],
133
+ * userLocation: { // WebSearchUserLocation
134
+ * country: "STRING_VALUE",
135
+ * region: "STRING_VALUE",
136
+ * city: "STRING_VALUE",
137
+ * timezone: "STRING_VALUE",
138
+ * },
139
+ * },
140
+ * webFetch: { // AgentWebFetchCapability
141
+ * allowedDomains: [
142
+ * "STRING_VALUE",
143
+ * ],
144
+ * },
145
+ * agent: { // AgentCallCapability
146
+ * agentId: "STRING_VALUE", // required
147
+ * variables: [
148
+ * {
149
+ * name: "STRING_VALUE", // required
150
+ * handler: {// Union: only one key present
151
+ * auto: {},
152
+ * guided: {
153
+ * description: "STRING_VALUE", // required
154
+ * },
155
+ * predefined: {
156
+ * description: "STRING_VALUE", // required
157
+ * },
158
+ * },
159
+ * },
160
+ * ],
161
+ * },
162
+ * mcp: { // AgentMcpServerCapability
163
+ * url: "STRING_VALUE", // required
164
+ * authorization: {// Union: only one key present
165
+ * bearer: {
166
+ * token: "STRING_VALUE", // required
167
+ * },
168
+ * basic: {
169
+ * username: "STRING_VALUE", // required
170
+ * password: "STRING_VALUE", // required
171
+ * },
172
+ * oauth: {
173
+ * clientId: "STRING_VALUE", // required
174
+ * clientSecret: "STRING_VALUE", // required
175
+ * endpointUrl: "STRING_VALUE", // required
176
+ * scope: "STRING_VALUE",
177
+ * },
178
+ * },
179
+ * allowedTools: [ // FunctionNameList
180
+ * "STRING_VALUE",
181
+ * ],
182
+ * },
183
+ * handover: { // AgentHandoverCapability
184
+ * instructions: "STRING_VALUE",
185
+ * message: "STRING_VALUE",
186
+ * },
187
+ * delegation: { // AgentDelegationCapability
188
+ * agents: [ // AgentIdList
189
+ * "STRING_VALUE",
190
+ * ],
191
+ * instructions: "STRING_VALUE",
192
+ * },
193
+ * transfer: { // AgentTransferCapability
194
+ * targets: [ // VoiceTransferTargetsList // required
195
+ * { // VoiceTransferTarget
196
+ * name: "STRING_VALUE", // required
197
+ * description: "STRING_VALUE",
198
+ * context: "STRING_VALUE", // required
199
+ * extension: "STRING_VALUE", // required
200
+ * },
201
+ * ],
202
+ * instructions: "STRING_VALUE",
203
+ * },
204
+ * suggestions: {},
205
+ * },
206
+ * ],
207
+ * variables: [ // AgentVariablesList
208
+ * { // AgentVariable
209
+ * name: "STRING_VALUE", // required
210
+ * type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
211
+ * optional: true || false, // required
212
+ * description: "STRING_VALUE",
213
+ * },
214
+ * ],
215
+ * },
216
+ * webhook: { // AgentWebhookEngine
217
+ * url: "STRING_VALUE", // required
218
+ * secret: "STRING_VALUE", // required
219
+ * timeout: Number("int"),
220
+ * },
221
+ * sqs: { // AgentSqsEngine
222
+ * url: "STRING_VALUE", // required
223
+ * key: "STRING_VALUE", // required
224
+ * secret: "STRING_VALUE", // required
225
+ * },
226
+ * },
227
+ * channels: { // AgentChannels
228
+ * assistant: { // AssistantChannelSettings
229
+ * enabled: true || false, // required
230
+ * default: true || false,
231
+ * },
232
+ * chat: { // ChatChannelSettings
233
+ * enabled: true || false, // required
234
+ * discoverable: true || false,
235
+ * pbxGroupId: "STRING_VALUE",
236
+ * welcomeMessage: "STRING_VALUE",
237
+ * },
238
+ * voice: { // VoiceChannelSettings
239
+ * enabled: true || false, // required
240
+ * language: "STRING_VALUE", // required
241
+ * synthesis: { // VoiceSynthesisSettings
242
+ * provider: "elevenlabs" || "google", // required
243
+ * voiceId: "STRING_VALUE", // required
244
+ * speed: Number("float"),
245
+ * },
246
+ * greeting: "STRING_VALUE",
247
+ * interruptions: { // VoiceInterruptionSettings
248
+ * enabled: true || false, // required
249
+ * minWords: Number("int"),
250
+ * },
251
+ * silenceTimeout: { // VoiceSilenceTimeoutSettings
252
+ * seconds: Number("int"), // required
253
+ * action: { // VoiceTerminateAction Union: only one key present
254
+ * hangup: { // VoiceTerminateHangupAction
255
+ * message: "STRING_VALUE",
256
+ * },
257
+ * transfer: {
258
+ * name: "STRING_VALUE", // required
259
+ * description: "STRING_VALUE",
260
+ * context: "STRING_VALUE", // required
261
+ * extension: "STRING_VALUE", // required
262
+ * },
263
+ * },
264
+ * },
265
+ * maxDuration: { // VoiceMaxDurationSettings
266
+ * seconds: Number("int"), // required
267
+ * action: {// Union: only one key present
268
+ * hangup: {
269
+ * message: "STRING_VALUE",
270
+ * },
271
+ * transfer: {
272
+ * name: "STRING_VALUE", // required
273
+ * description: "STRING_VALUE",
274
+ * context: "STRING_VALUE", // required
275
+ * extension: "STRING_VALUE", // required
276
+ * },
277
+ * },
278
+ * },
279
+ * endCall: { // VoiceEndCallSettings
280
+ * enabled: true || false, // required
281
+ * phrases: "STRING_VALUE",
282
+ * },
283
+ * callerMetadata: { // VoiceCallerMetadataSettings
284
+ * callerName: true || false,
285
+ * callerNumber: true || false,
286
+ * callerEmail: true || false,
287
+ * callerCompany: true || false,
288
+ * time: true || false,
289
+ * timeZone: "STRING_VALUE",
290
+ * },
291
+ * },
292
+ * api: { // ApiChannelSettings
293
+ * enabled: true || false, // required
294
+ * },
295
+ * },
296
+ * guardrails: [ // GuardrailIdList
297
+ * "STRING_VALUE",
298
+ * ],
299
+ * access: { // AgentAccess
300
+ * visibility: "explicit" || "organization",
301
+ * grants: [ // AgentGrantList
302
+ * { // AgentGrant
303
+ * permission: "view" || "edit" || "use", // required
304
+ * principal: { // AgentGrantPrincipal Union: only one key present
305
+ * userId: "STRING_VALUE",
306
+ * groupId: "STRING_VALUE",
307
+ * },
308
+ * },
309
+ * ],
310
+ * },
311
+ * company: "STRING_VALUE",
312
+ * };
313
+ * const command = new CreateAgentCommand(input);
314
+ * const response = await client.send(command);
315
+ * // { // CreateAgentOutput
316
+ * // agent: { // Agent
317
+ * // name: "STRING_VALUE", // required
318
+ * // description: "STRING_VALUE",
319
+ * // category: "STRING_VALUE",
320
+ * // picture: "STRING_VALUE",
321
+ * // engine: { // AgentEngine Union: only one key present
322
+ * // llm: { // AgentLlmEngine
323
+ * // instructions: "STRING_VALUE", // required
324
+ * // model: "STRING_VALUE",
325
+ * // skills: [ // AgentSkillsList
326
+ * // "STRING_VALUE",
327
+ * // ],
328
+ * // capabilities: [ // AgentCapabilitiesList
329
+ * // { // AgentCapability Union: only one key present
330
+ * // tool: { // AgentTool
331
+ * // id: "STRING_VALUE", // required
332
+ * // variables: [ // AgentToolVariablesList
333
+ * // { // AgentToolVariable
334
+ * // name: "STRING_VALUE", // required
335
+ * // handler: { // AgentToolVariableHandler Union: only one key present
336
+ * // auto: {},
337
+ * // guided: { // AgentToolVariableGuidedHandler
338
+ * // description: "STRING_VALUE", // required
339
+ * // },
340
+ * // predefined: { // AgentToolVariablePredefinedHandler
341
+ * // description: "STRING_VALUE", // required
342
+ * // },
343
+ * // },
344
+ * // },
345
+ * // ],
346
+ * // },
347
+ * // function: { // AgentFunctionTool
348
+ * // name: "STRING_VALUE", // required
349
+ * // description: "STRING_VALUE",
350
+ * // parameters: "DOCUMENT_VALUE",
351
+ * // integration: { // FunctionIntegration Union: only one key present
352
+ * // webhook: { // FunctionWebhookIntegration
353
+ * // url: "STRING_VALUE", // required
354
+ * // method: "get" || "post" || "put" || "delete" || "patch",
355
+ * // async: true || false,
356
+ * // authorization: { // WebhookAuthorization Union: only one key present
357
+ * // bearer: { // WebhookAuthorizationBearer
358
+ * // token: "STRING_VALUE", // required
359
+ * // },
360
+ * // basic: { // WebhookAuthorizationBasic
361
+ * // username: "STRING_VALUE", // required
362
+ * // password: "STRING_VALUE", // required
363
+ * // },
364
+ * // oauth: { // WebhookAuthorizationOAuth
365
+ * // clientId: "STRING_VALUE", // required
366
+ * // clientSecret: "STRING_VALUE", // required
367
+ * // endpointUrl: "STRING_VALUE", // required
368
+ * // scope: "STRING_VALUE",
369
+ * // },
370
+ * // },
371
+ * // headers: [ // WebhookHeadersList
372
+ * // { // WebhookHeader
373
+ * // name: "STRING_VALUE", // required
374
+ * // value: "STRING_VALUE", // required
375
+ * // },
376
+ * // ],
377
+ * // timeout: Number("int"),
378
+ * // parameters: "DOCUMENT_VALUE",
379
+ * // },
380
+ * // },
381
+ * // },
382
+ * // kb: { // AgentKnowledgeBase
383
+ * // knowledgeBaseId: "STRING_VALUE",
384
+ * // instructions: "STRING_VALUE",
385
+ * // },
386
+ * // sandbox: { // AgentSandboxCapability Union: only one key present
387
+ * // vercel: { // AgentVercelSandboxOptions
388
+ * // vcpus: Number("int"),
389
+ * // network: "allow-all" || "deny-all" || "allowlist",
390
+ * // allowedDomains: [ // DomainNameList
391
+ * // "STRING_VALUE",
392
+ * // ],
393
+ * // },
394
+ * // snapshot: { // AgentSnapshotSandboxOptions
395
+ * // snapshotId: "STRING_VALUE", // required
396
+ * // network: "allow-all" || "deny-all" || "allowlist",
397
+ * // allowedDomains: [
398
+ * // "STRING_VALUE",
399
+ * // ],
400
+ * // vcpus: Number("int"),
401
+ * // },
402
+ * // },
403
+ * // webSearch: { // AgentWebSearchCapability
404
+ * // contextSize: "low" || "medium" || "high",
405
+ * // allowedDomains: [
406
+ * // "STRING_VALUE",
407
+ * // ],
408
+ * // userLocation: { // WebSearchUserLocation
409
+ * // country: "STRING_VALUE",
410
+ * // region: "STRING_VALUE",
411
+ * // city: "STRING_VALUE",
412
+ * // timezone: "STRING_VALUE",
413
+ * // },
414
+ * // },
415
+ * // webFetch: { // AgentWebFetchCapability
416
+ * // allowedDomains: [
417
+ * // "STRING_VALUE",
418
+ * // ],
419
+ * // },
420
+ * // agent: { // AgentCallCapability
421
+ * // agentId: "STRING_VALUE", // required
422
+ * // variables: [
423
+ * // {
424
+ * // name: "STRING_VALUE", // required
425
+ * // handler: {// Union: only one key present
426
+ * // auto: {},
427
+ * // guided: {
428
+ * // description: "STRING_VALUE", // required
429
+ * // },
430
+ * // predefined: {
431
+ * // description: "STRING_VALUE", // required
432
+ * // },
433
+ * // },
434
+ * // },
435
+ * // ],
436
+ * // },
437
+ * // mcp: { // AgentMcpServerCapability
438
+ * // url: "STRING_VALUE", // required
439
+ * // authorization: {// Union: only one key present
440
+ * // bearer: {
441
+ * // token: "STRING_VALUE", // required
442
+ * // },
443
+ * // basic: {
444
+ * // username: "STRING_VALUE", // required
445
+ * // password: "STRING_VALUE", // required
446
+ * // },
447
+ * // oauth: {
448
+ * // clientId: "STRING_VALUE", // required
449
+ * // clientSecret: "STRING_VALUE", // required
450
+ * // endpointUrl: "STRING_VALUE", // required
451
+ * // scope: "STRING_VALUE",
452
+ * // },
453
+ * // },
454
+ * // allowedTools: [ // FunctionNameList
455
+ * // "STRING_VALUE",
456
+ * // ],
457
+ * // },
458
+ * // handover: { // AgentHandoverCapability
459
+ * // instructions: "STRING_VALUE",
460
+ * // message: "STRING_VALUE",
461
+ * // },
462
+ * // delegation: { // AgentDelegationCapability
463
+ * // agents: [ // AgentIdList
464
+ * // "STRING_VALUE",
465
+ * // ],
466
+ * // instructions: "STRING_VALUE",
467
+ * // },
468
+ * // transfer: { // AgentTransferCapability
469
+ * // targets: [ // VoiceTransferTargetsList // required
470
+ * // { // VoiceTransferTarget
471
+ * // name: "STRING_VALUE", // required
472
+ * // description: "STRING_VALUE",
473
+ * // context: "STRING_VALUE", // required
474
+ * // extension: "STRING_VALUE", // required
475
+ * // },
476
+ * // ],
477
+ * // instructions: "STRING_VALUE",
478
+ * // },
479
+ * // suggestions: {},
480
+ * // },
481
+ * // ],
482
+ * // variables: [ // AgentVariablesList
483
+ * // { // AgentVariable
484
+ * // name: "STRING_VALUE", // required
485
+ * // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
486
+ * // optional: true || false, // required
487
+ * // description: "STRING_VALUE",
488
+ * // },
489
+ * // ],
490
+ * // },
491
+ * // webhook: { // AgentWebhookEngine
492
+ * // url: "STRING_VALUE", // required
493
+ * // secret: "STRING_VALUE", // required
494
+ * // timeout: Number("int"),
495
+ * // },
496
+ * // sqs: { // AgentSqsEngine
497
+ * // url: "STRING_VALUE", // required
498
+ * // key: "STRING_VALUE", // required
499
+ * // secret: "STRING_VALUE", // required
500
+ * // },
501
+ * // },
502
+ * // channels: { // AgentChannels
503
+ * // assistant: { // AssistantChannelSettings
504
+ * // enabled: true || false, // required
505
+ * // default: true || false,
506
+ * // },
507
+ * // chat: { // ChatChannelSettings
508
+ * // enabled: true || false, // required
509
+ * // discoverable: true || false,
510
+ * // pbxGroupId: "STRING_VALUE",
511
+ * // welcomeMessage: "STRING_VALUE",
512
+ * // },
513
+ * // voice: { // VoiceChannelSettings
514
+ * // enabled: true || false, // required
515
+ * // language: "STRING_VALUE", // required
516
+ * // synthesis: { // VoiceSynthesisSettings
517
+ * // provider: "elevenlabs" || "google", // required
518
+ * // voiceId: "STRING_VALUE", // required
519
+ * // speed: Number("float"),
520
+ * // },
521
+ * // greeting: "STRING_VALUE",
522
+ * // interruptions: { // VoiceInterruptionSettings
523
+ * // enabled: true || false, // required
524
+ * // minWords: Number("int"),
525
+ * // },
526
+ * // silenceTimeout: { // VoiceSilenceTimeoutSettings
527
+ * // seconds: Number("int"), // required
528
+ * // action: { // VoiceTerminateAction Union: only one key present
529
+ * // hangup: { // VoiceTerminateHangupAction
530
+ * // message: "STRING_VALUE",
531
+ * // },
532
+ * // transfer: {
533
+ * // name: "STRING_VALUE", // required
534
+ * // description: "STRING_VALUE",
535
+ * // context: "STRING_VALUE", // required
536
+ * // extension: "STRING_VALUE", // required
537
+ * // },
538
+ * // },
539
+ * // },
540
+ * // maxDuration: { // VoiceMaxDurationSettings
541
+ * // seconds: Number("int"), // required
542
+ * // action: {// Union: only one key present
543
+ * // hangup: {
544
+ * // message: "STRING_VALUE",
545
+ * // },
546
+ * // transfer: {
547
+ * // name: "STRING_VALUE", // required
548
+ * // description: "STRING_VALUE",
549
+ * // context: "STRING_VALUE", // required
550
+ * // extension: "STRING_VALUE", // required
551
+ * // },
552
+ * // },
553
+ * // },
554
+ * // endCall: { // VoiceEndCallSettings
555
+ * // enabled: true || false, // required
556
+ * // phrases: "STRING_VALUE",
557
+ * // },
558
+ * // callerMetadata: { // VoiceCallerMetadataSettings
559
+ * // callerName: true || false,
560
+ * // callerNumber: true || false,
561
+ * // callerEmail: true || false,
562
+ * // callerCompany: true || false,
563
+ * // time: true || false,
564
+ * // timeZone: "STRING_VALUE",
565
+ * // },
566
+ * // },
567
+ * // api: { // ApiChannelSettings
568
+ * // enabled: true || false, // required
569
+ * // },
570
+ * // },
571
+ * // guardrails: [ // GuardrailIdList
572
+ * // "STRING_VALUE",
573
+ * // ],
574
+ * // access: { // AgentAccess
575
+ * // visibility: "explicit" || "organization",
576
+ * // grants: [ // AgentGrantList
577
+ * // { // AgentGrant
578
+ * // permission: "view" || "edit" || "use", // required
579
+ * // principal: { // AgentGrantPrincipal Union: only one key present
580
+ * // userId: "STRING_VALUE",
581
+ * // groupId: "STRING_VALUE",
582
+ * // },
583
+ * // },
584
+ * // ],
585
+ * // },
586
+ * // createdAt: "STRING_VALUE", // required
587
+ * // createdBy: { // Actor
588
+ * // type: "user" || "api_key" || "service", // required
589
+ * // id: "STRING_VALUE", // required
590
+ * // name: "STRING_VALUE",
591
+ * // },
592
+ * // updatedAt: "STRING_VALUE",
593
+ * // updatedBy: {
594
+ * // type: "user" || "api_key" || "service", // required
595
+ * // id: "STRING_VALUE", // required
596
+ * // name: "STRING_VALUE",
597
+ * // },
598
+ * // id: "STRING_VALUE", // required
599
+ * // status: "draft" || "active" || "archived", // required
600
+ * // revision: Number("int"), // required
601
+ * // latestVersion: Number("int"),
602
+ * // aliases: [ // AgentAliasesList
603
+ * // { // AgentAlias
604
+ * // name: "STRING_VALUE", // required
605
+ * // agentId: "STRING_VALUE", // required
606
+ * // description: "STRING_VALUE",
607
+ * // routing: [ // AgentAliasRoutesList // required
608
+ * // { // AgentAliasRoute
609
+ * // version: Number("int"), // required
610
+ * // weight: Number("int"), // required
611
+ * // },
612
+ * // ],
613
+ * // updatedAt: "STRING_VALUE", // required
614
+ * // updatedBy: {
615
+ * // type: "user" || "api_key" || "service", // required
616
+ * // id: "STRING_VALUE", // required
617
+ * // name: "STRING_VALUE",
618
+ * // },
619
+ * // },
620
+ * // ],
621
+ * // },
622
+ * // };
623
+ *
624
+ * ```
625
+ *
626
+ * @param CreateAgentCommandInput - {@link CreateAgentCommandInput}
627
+ * @returns {@link CreateAgentCommandOutput}
628
+ * @see {@link CreateAgentCommandInput} for command's `input` shape.
629
+ * @see {@link CreateAgentCommandOutput} for command's `response` shape.
630
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
631
+ *
632
+ * @throws {@link AgentNonUniqueNameException} (client fault)
633
+ *
634
+ * @throws {@link ValidationException} (client fault)
635
+ *
636
+ * @throws {@link WilmaAgentsServiceException}
637
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
638
+ *
639
+ *
640
+ * @public
641
+ */
642
+ export declare class CreateAgentCommand extends CreateAgentCommand_base {
643
+ /** @internal type navigation helper, not in runtime. */
644
+ protected static __types: {
645
+ api: {
646
+ input: CreateAgentInput;
647
+ output: CreateAgentOutput;
648
+ };
649
+ sdk: {
650
+ input: CreateAgentCommandInput;
651
+ output: CreateAgentCommandOutput;
652
+ };
653
+ };
654
+ }