@wildix/wilma-agents-client 1.0.1 → 1.0.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/WilmaAgents.js +12 -20
- package/dist-cjs/commands/{DeleteGuardrailCommand.js → CreateAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{DeleteAgentAliasCommand.js → ListAgentDeploymentsCommand.js} +6 -6
- package/dist-cjs/commands/RestoreAgentVersionToDraftCommand.js +20 -0
- package/dist-cjs/commands/UpdateAgentDeploymentCommand.js +20 -0
- package/dist-cjs/commands/index.js +6 -10
- package/dist-cjs/models/enums.js +36 -81
- package/dist-cjs/models/errors.js +51 -36
- package/dist-cjs/schemas/schemas_0.js +356 -538
- package/dist-es/WilmaAgents.js +12 -20
- package/dist-es/commands/{DeleteAgentAliasCommand.js → CreateAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{DeleteGuardrailCommand.js → ListAgentDeploymentsCommand.js} +5 -5
- package/dist-es/commands/RestoreAgentVersionToDraftCommand.js +16 -0
- package/dist-es/commands/UpdateAgentDeploymentCommand.js +16 -0
- package/dist-es/commands/index.js +6 -10
- package/dist-es/models/enums.js +35 -80
- package/dist-es/models/errors.js +42 -28
- package/dist-es/schemas/schemas_0.js +354 -535
- package/dist-types/WilmaAgents.d.ts +42 -71
- package/dist-types/WilmaAgentsClient.d.ts +16 -19
- package/dist-types/commands/CompareAgentVersionsCommand.d.ts +5 -5
- package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -3
- package/dist-types/commands/CreateAgentCommand.d.ts +450 -323
- package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +116 -0
- package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
- package/dist-types/commands/DeleteAgentCommand.d.ts +5 -4
- package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +83 -0
- package/dist-types/commands/GetAgentCommand.d.ts +236 -169
- package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +216 -156
- package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -3
- package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +105 -0
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +6 -6
- package/dist-types/commands/ListAgentsCommand.d.ts +240 -173
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +5 -7
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +219 -158
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +450 -323
- package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +6 -10
- package/dist-types/index.d.ts +8 -7
- package/dist-types/models/enums.d.ts +126 -161
- package/dist-types/models/errors.d.ts +35 -22
- package/dist-types/models/models_0.d.ts +689 -741
- package/dist-types/schemas/schemas_0.d.ts +41 -61
- package/package.json +1 -1
- package/dist-cjs/commands/GetGuardrailCommand.js +0 -20
- package/dist-cjs/commands/ListAgentAliasesCommand.js +0 -20
- package/dist-cjs/commands/ListAuditRecordsCommand.js +0 -20
- package/dist-cjs/commands/ListGuardrailsCommand.js +0 -20
- package/dist-cjs/commands/PutAgentAliasCommand.js +0 -20
- package/dist-cjs/commands/UpdateGuardrailCommand.js +0 -20
- package/dist-es/commands/GetGuardrailCommand.js +0 -16
- package/dist-es/commands/ListAgentAliasesCommand.js +0 -16
- package/dist-es/commands/ListAuditRecordsCommand.js +0 -16
- package/dist-es/commands/ListGuardrailsCommand.js +0 -16
- package/dist-es/commands/PutAgentAliasCommand.js +0 -16
- package/dist-es/commands/UpdateGuardrailCommand.js +0 -16
- package/dist-types/commands/CreateGuardrailCommand.d.ts +0 -172
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +0 -82
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +0 -80
- package/dist-types/commands/ExecuteAgentCommand.d.ts +0 -112
- package/dist-types/commands/GetGuardrailCommand.d.ts +0 -135
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +0 -99
- package/dist-types/commands/ListAuditRecordsCommand.d.ts +0 -109
- package/dist-types/commands/ListGuardrailsCommand.d.ts +0 -137
- package/dist-types/commands/PutAgentAliasCommand.d.ts +0 -107
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +0 -175
|
@@ -24,9 +24,7 @@ export interface GetAgentVersionCommandOutput extends GetAgentVersionOutput, __M
|
|
|
24
24
|
declare const GetAgentVersionCommand_base: {
|
|
25
25
|
new (input: GetAgentVersionCommandInput): import("@smithy/core/client").CommandImpl<GetAgentVersionCommandInput, GetAgentVersionCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: GetAgentVersionCommandInput): import("@smithy/core/client").CommandImpl<GetAgentVersionCommandInput, GetAgentVersionCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Retrieves a published version, including its full immutable definition snapshot.
|
|
@@ -49,18 +47,88 @@ declare const GetAgentVersionCommand_base: {
|
|
|
49
47
|
* // version: { // AgentVersion
|
|
50
48
|
* // agentId: "STRING_VALUE", // required
|
|
51
49
|
* // version: Number("int"), // required
|
|
50
|
+
* // basedOnVersion: Number("int"),
|
|
51
|
+
* // name: "STRING_VALUE",
|
|
52
52
|
* // changelog: "STRING_VALUE",
|
|
53
53
|
* // definition: { // AgentDefinitionSnapshot
|
|
54
54
|
* // name: "STRING_VALUE", // required
|
|
55
55
|
* // description: "STRING_VALUE",
|
|
56
56
|
* // category: "STRING_VALUE",
|
|
57
57
|
* // picture: "STRING_VALUE",
|
|
58
|
+
* // channels: { // AgentChannels
|
|
59
|
+
* // voice: { // VoiceChannelSettings
|
|
60
|
+
* // greeting: "STRING_VALUE",
|
|
61
|
+
* // interruptions: { // VoiceInterruptionSettings
|
|
62
|
+
* // enabled: true || false, // required
|
|
63
|
+
* // minWords: Number("int"),
|
|
64
|
+
* // },
|
|
65
|
+
* // silenceTimeout: { // VoiceSilenceTimeoutSettings
|
|
66
|
+
* // seconds: Number("int"), // required
|
|
67
|
+
* // action: { // VoiceTerminateAction Union: only one key present
|
|
68
|
+
* // hangup: { // VoiceTerminateHangupAction
|
|
69
|
+
* // message: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // transfer: { // VoiceTransferTarget
|
|
72
|
+
* // name: "STRING_VALUE", // required
|
|
73
|
+
* // description: "STRING_VALUE",
|
|
74
|
+
* // context: "STRING_VALUE", // required
|
|
75
|
+
* // extension: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // maxDuration: { // VoiceMaxDurationSettings
|
|
80
|
+
* // seconds: Number("int"), // required
|
|
81
|
+
* // action: {// Union: only one key present
|
|
82
|
+
* // hangup: {
|
|
83
|
+
* // message: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // transfer: {
|
|
86
|
+
* // name: "STRING_VALUE", // required
|
|
87
|
+
* // description: "STRING_VALUE",
|
|
88
|
+
* // context: "STRING_VALUE", // required
|
|
89
|
+
* // extension: "STRING_VALUE", // required
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // endCall: { // VoiceEndCallSettings
|
|
94
|
+
* // enabled: true || false, // required
|
|
95
|
+
* // phrases: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // callerMetadata: { // VoiceCallerMetadataSettings
|
|
98
|
+
* // callerName: true || false,
|
|
99
|
+
* // callerNumber: true || false,
|
|
100
|
+
* // callerEmail: true || false,
|
|
101
|
+
* // callerCompany: true || false,
|
|
102
|
+
* // time: true || false,
|
|
103
|
+
* // timeZone: "STRING_VALUE",
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // chat: { // ChatChannelSettings
|
|
107
|
+
* // discoverable: true || false,
|
|
108
|
+
* // },
|
|
109
|
+
* // assistant: { // AssistantChannelSettings
|
|
110
|
+
* // default: true || false,
|
|
111
|
+
* // },
|
|
112
|
+
* // autonomous: {},
|
|
113
|
+
* // },
|
|
58
114
|
* // engine: { // AgentEngine Union: only one key present
|
|
59
|
-
* //
|
|
115
|
+
* // ai: { // AgentAiEngine
|
|
60
116
|
* // instructions: "STRING_VALUE", // required
|
|
61
117
|
* // model: "STRING_VALUE",
|
|
62
118
|
* // skills: [ // AgentSkillsList
|
|
63
|
-
* //
|
|
119
|
+
* // { // AgentSkillReference
|
|
120
|
+
* // id: "STRING_VALUE", // required
|
|
121
|
+
* // skillVersion: Number("int"),
|
|
122
|
+
* // access: { // AgentAccess
|
|
123
|
+
* // visibility: "explicit" || "organization",
|
|
124
|
+
* // grants: [ // AgentGrantPrincipalList
|
|
125
|
+
* // { // AgentGrantPrincipal Union: only one key present
|
|
126
|
+
* // userId: "STRING_VALUE",
|
|
127
|
+
* // groupId: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
64
132
|
* // ],
|
|
65
133
|
* // capabilities: [ // AgentCapabilitiesList
|
|
66
134
|
* // { // AgentCapability Union: only one key present
|
|
@@ -75,50 +143,55 @@ declare const GetAgentVersionCommand_base: {
|
|
|
75
143
|
* // description: "STRING_VALUE", // required
|
|
76
144
|
* // },
|
|
77
145
|
* // predefined: { // AgentToolVariablePredefinedHandler
|
|
78
|
-
* //
|
|
146
|
+
* // value: "STRING_VALUE", // required
|
|
79
147
|
* // },
|
|
80
148
|
* // },
|
|
81
149
|
* // },
|
|
82
150
|
* // ],
|
|
83
|
-
* //
|
|
84
|
-
* //
|
|
85
|
-
* //
|
|
86
|
-
* //
|
|
87
|
-
* //
|
|
88
|
-
* //
|
|
89
|
-
* //
|
|
90
|
-
* //
|
|
91
|
-
* //
|
|
92
|
-
* //
|
|
93
|
-
* //
|
|
94
|
-
* //
|
|
95
|
-
* //
|
|
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
|
-
* // },
|
|
151
|
+
* // startMessage: "STRING_VALUE",
|
|
152
|
+
* // pipeline: { // AgentToolPipeline
|
|
153
|
+
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
154
|
+
* // instructions: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // approval: { // AgentToolApproval
|
|
157
|
+
* // prompt: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // annotations: [ // AgentToolAnnotationsList
|
|
160
|
+
* // { // AgentToolAnnotation Union: only one key present
|
|
161
|
+
* // tag: { // AgentToolTagAnnotation
|
|
162
|
+
* // value: "STRING_VALUE",
|
|
163
|
+
* // applyOnSuccess: true || false,
|
|
164
|
+
* // applyOnFailure: true || false,
|
|
107
165
|
* // },
|
|
108
|
-
* //
|
|
109
|
-
* //
|
|
110
|
-
* //
|
|
111
|
-
* //
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
114
|
-
* //
|
|
115
|
-
* // parameters: "DOCUMENT_VALUE",
|
|
166
|
+
* // comment: { // AgentToolCommentAnnotation
|
|
167
|
+
* // value: "STRING_VALUE",
|
|
168
|
+
* // applyOnSuccess: true || false,
|
|
169
|
+
* // applyOnFailure: true || false,
|
|
170
|
+
* // },
|
|
171
|
+
* // variables: {},
|
|
172
|
+
* // result: {},
|
|
116
173
|
* // },
|
|
117
|
-
* //
|
|
174
|
+
* // ],
|
|
118
175
|
* // },
|
|
119
176
|
* // kb: { // AgentKnowledgeBase
|
|
120
177
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
121
178
|
* // instructions: "STRING_VALUE",
|
|
179
|
+
* // annotations: [
|
|
180
|
+
* // {// Union: only one key present
|
|
181
|
+
* // tag: {
|
|
182
|
+
* // value: "STRING_VALUE",
|
|
183
|
+
* // applyOnSuccess: true || false,
|
|
184
|
+
* // applyOnFailure: true || false,
|
|
185
|
+
* // },
|
|
186
|
+
* // comment: {
|
|
187
|
+
* // value: "STRING_VALUE",
|
|
188
|
+
* // applyOnSuccess: true || false,
|
|
189
|
+
* // applyOnFailure: true || false,
|
|
190
|
+
* // },
|
|
191
|
+
* // variables: {},
|
|
192
|
+
* // result: {},
|
|
193
|
+
* // },
|
|
194
|
+
* // ],
|
|
122
195
|
* // },
|
|
123
196
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
124
197
|
* // vercel: { // AgentVercelSandboxOptions
|
|
@@ -156,6 +229,17 @@ declare const GetAgentVersionCommand_base: {
|
|
|
156
229
|
* // },
|
|
157
230
|
* // agent: { // AgentCallCapability
|
|
158
231
|
* // agentId: "STRING_VALUE", // required
|
|
232
|
+
* // agentVersion: Number("int"),
|
|
233
|
+
* // agentDeployment: "STRING_VALUE",
|
|
234
|
+
* // access: {
|
|
235
|
+
* // visibility: "explicit" || "organization",
|
|
236
|
+
* // grants: [
|
|
237
|
+
* // {// Union: only one key present
|
|
238
|
+
* // userId: "STRING_VALUE",
|
|
239
|
+
* // groupId: "STRING_VALUE",
|
|
240
|
+
* // },
|
|
241
|
+
* // ],
|
|
242
|
+
* // },
|
|
159
243
|
* // variables: [
|
|
160
244
|
* // {
|
|
161
245
|
* // name: "STRING_VALUE", // required
|
|
@@ -165,55 +249,111 @@ declare const GetAgentVersionCommand_base: {
|
|
|
165
249
|
* // description: "STRING_VALUE", // required
|
|
166
250
|
* // },
|
|
167
251
|
* // predefined: {
|
|
168
|
-
* //
|
|
252
|
+
* // value: "STRING_VALUE", // required
|
|
169
253
|
* // },
|
|
170
254
|
* // },
|
|
171
255
|
* // },
|
|
172
256
|
* // ],
|
|
173
257
|
* // },
|
|
174
|
-
* //
|
|
175
|
-
* //
|
|
176
|
-
* //
|
|
177
|
-
* //
|
|
178
|
-
* //
|
|
179
|
-
* //
|
|
180
|
-
* //
|
|
181
|
-
* //
|
|
182
|
-
* //
|
|
183
|
-
* //
|
|
184
|
-
* //
|
|
185
|
-
* //
|
|
186
|
-
* // clientSecret: "STRING_VALUE", // required
|
|
187
|
-
* // endpointUrl: "STRING_VALUE", // required
|
|
188
|
-
* // scope: "STRING_VALUE",
|
|
189
|
-
* // },
|
|
258
|
+
* // handover: { // AgentHandoverCapability
|
|
259
|
+
* // name: "STRING_VALUE",
|
|
260
|
+
* // description: "STRING_VALUE",
|
|
261
|
+
* // variant: "agent" || "service",
|
|
262
|
+
* // agent: "STRING_VALUE",
|
|
263
|
+
* // agentVersion: Number("int"),
|
|
264
|
+
* // agentDeployment: "STRING_VALUE",
|
|
265
|
+
* // service: "STRING_VALUE",
|
|
266
|
+
* // silent: true || false,
|
|
267
|
+
* // pipeline: { // AgentHandoverPipeline
|
|
268
|
+
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
269
|
+
* // instructions: "STRING_VALUE",
|
|
190
270
|
* // },
|
|
191
|
-
* //
|
|
192
|
-
* //
|
|
271
|
+
* // annotations: [
|
|
272
|
+
* // {// Union: only one key present
|
|
273
|
+
* // tag: {
|
|
274
|
+
* // value: "STRING_VALUE",
|
|
275
|
+
* // applyOnSuccess: true || false,
|
|
276
|
+
* // applyOnFailure: true || false,
|
|
277
|
+
* // },
|
|
278
|
+
* // comment: {
|
|
279
|
+
* // value: "STRING_VALUE",
|
|
280
|
+
* // applyOnSuccess: true || false,
|
|
281
|
+
* // applyOnFailure: true || false,
|
|
282
|
+
* // },
|
|
283
|
+
* // variables: {},
|
|
284
|
+
* // result: {},
|
|
285
|
+
* // },
|
|
193
286
|
* // ],
|
|
194
287
|
* // },
|
|
195
|
-
* // handover: { // AgentHandoverCapability
|
|
196
|
-
* // instructions: "STRING_VALUE",
|
|
197
|
-
* // message: "STRING_VALUE",
|
|
198
|
-
* // },
|
|
199
288
|
* // delegation: { // AgentDelegationCapability
|
|
200
|
-
* //
|
|
201
|
-
* //
|
|
289
|
+
* // name: "STRING_VALUE",
|
|
290
|
+
* // description: "STRING_VALUE",
|
|
291
|
+
* // id: "STRING_VALUE", // required
|
|
292
|
+
* // agentVersion: Number("int"),
|
|
293
|
+
* // agentDeployment: "STRING_VALUE",
|
|
294
|
+
* // annotations: [
|
|
295
|
+
* // {// Union: only one key present
|
|
296
|
+
* // tag: {
|
|
297
|
+
* // value: "STRING_VALUE",
|
|
298
|
+
* // applyOnSuccess: true || false,
|
|
299
|
+
* // applyOnFailure: true || false,
|
|
300
|
+
* // },
|
|
301
|
+
* // comment: {
|
|
302
|
+
* // value: "STRING_VALUE",
|
|
303
|
+
* // applyOnSuccess: true || false,
|
|
304
|
+
* // applyOnFailure: true || false,
|
|
305
|
+
* // },
|
|
306
|
+
* // variables: {},
|
|
307
|
+
* // result: {},
|
|
308
|
+
* // },
|
|
202
309
|
* // ],
|
|
203
|
-
* // instructions: "STRING_VALUE",
|
|
204
310
|
* // },
|
|
205
311
|
* // transfer: { // AgentTransferCapability
|
|
206
|
-
* //
|
|
207
|
-
* //
|
|
208
|
-
* //
|
|
209
|
-
* //
|
|
210
|
-
* //
|
|
211
|
-
* //
|
|
312
|
+
* // name: "STRING_VALUE",
|
|
313
|
+
* // description: "STRING_VALUE",
|
|
314
|
+
* // variant: "predefined" || "dynamic" || "directory",
|
|
315
|
+
* // context: "STRING_VALUE",
|
|
316
|
+
* // extension: "STRING_VALUE",
|
|
317
|
+
* // pipeline: { // AgentTransferPipeline
|
|
318
|
+
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
319
|
+
* // instructions: "STRING_VALUE",
|
|
320
|
+
* // },
|
|
321
|
+
* // annotations: [
|
|
322
|
+
* // {// Union: only one key present
|
|
323
|
+
* // tag: {
|
|
324
|
+
* // value: "STRING_VALUE",
|
|
325
|
+
* // applyOnSuccess: true || false,
|
|
326
|
+
* // applyOnFailure: true || false,
|
|
327
|
+
* // },
|
|
328
|
+
* // comment: {
|
|
329
|
+
* // value: "STRING_VALUE",
|
|
330
|
+
* // applyOnSuccess: true || false,
|
|
331
|
+
* // applyOnFailure: true || false,
|
|
332
|
+
* // },
|
|
333
|
+
* // variables: {},
|
|
334
|
+
* // result: {},
|
|
212
335
|
* // },
|
|
213
336
|
* // ],
|
|
214
|
-
* // instructions: "STRING_VALUE",
|
|
215
337
|
* // },
|
|
216
|
-
* // suggestions: {
|
|
338
|
+
* // suggestions: { // AgentSuggestionsCapability
|
|
339
|
+
* // name: "STRING_VALUE",
|
|
340
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
341
|
+
* // },
|
|
342
|
+
* // hangup: { // AgentHangupCapability
|
|
343
|
+
* // name: "STRING_VALUE",
|
|
344
|
+
* // description: "STRING_VALUE",
|
|
345
|
+
* // pipeline: { // AgentHangupPipeline
|
|
346
|
+
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
347
|
+
* // instructions: "STRING_VALUE",
|
|
348
|
+
* // },
|
|
349
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
350
|
+
* // },
|
|
351
|
+
* // wait: { // AgentWaitCapability
|
|
352
|
+
* // name: "STRING_VALUE",
|
|
353
|
+
* // description: "STRING_VALUE",
|
|
354
|
+
* // message: "STRING_VALUE",
|
|
355
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
356
|
+
* // },
|
|
217
357
|
* // },
|
|
218
358
|
* // ],
|
|
219
359
|
* // variables: [ // AgentVariablesList
|
|
@@ -236,90 +376,10 @@ declare const GetAgentVersionCommand_base: {
|
|
|
236
376
|
* // secret: "STRING_VALUE", // required
|
|
237
377
|
* // },
|
|
238
378
|
* // },
|
|
239
|
-
* //
|
|
240
|
-
* //
|
|
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
|
-
* // ],
|
|
379
|
+
* // settings: { // AgentSettings
|
|
380
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
322
381
|
* // },
|
|
382
|
+
* // access: "<AgentAccess>",
|
|
323
383
|
* // },
|
|
324
384
|
* // publishedAt: "STRING_VALUE", // required
|
|
325
385
|
* // publishedBy: { // Actor
|
|
@@ -24,9 +24,7 @@ export interface ListAgentApiKeysCommandOutput extends ListAgentApiKeysOutput, _
|
|
|
24
24
|
declare const ListAgentApiKeysCommand_base: {
|
|
25
25
|
new (input: ListAgentApiKeysCommandInput): import("@smithy/core/client").CommandImpl<ListAgentApiKeysCommandInput, ListAgentApiKeysCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: ListAgentApiKeysCommandInput): import("@smithy/core/client").CommandImpl<ListAgentApiKeysCommandInput, ListAgentApiKeysCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Lists the API keys of an agent. Secrets are never returned.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListAgentDeploymentsInput, ListAgentDeploymentsOutput } 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 ListAgentDeploymentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAgentDeploymentsCommandInput extends ListAgentDeploymentsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAgentDeploymentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAgentDeploymentsCommandOutput extends ListAgentDeploymentsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAgentDeploymentsCommand_base: {
|
|
25
|
+
new (input: ListAgentDeploymentsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentDeploymentsCommandInput, ListAgentDeploymentsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListAgentDeploymentsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentDeploymentsCommandInput, ListAgentDeploymentsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists the named deployment configurations of an agent.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WilmaAgentsClient, ListAgentDeploymentsCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
35
|
+
* // const { WilmaAgentsClient, ListAgentDeploymentsCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
36
|
+
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
37
|
+
* const config = {}; // type is WilmaAgentsClientConfig
|
|
38
|
+
* const client = new WilmaAgentsClient(config);
|
|
39
|
+
* const input = { // ListAgentDeploymentsInput
|
|
40
|
+
* company: "STRING_VALUE",
|
|
41
|
+
* agentId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListAgentDeploymentsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListAgentDeploymentsOutput
|
|
46
|
+
* // deployments: [ // AgentDeploymentsList // required
|
|
47
|
+
* // { // AgentDeployment
|
|
48
|
+
* // createdAt: "STRING_VALUE", // required
|
|
49
|
+
* // createdBy: { // Actor
|
|
50
|
+
* // type: "user" || "api_key" || "service", // required
|
|
51
|
+
* // id: "STRING_VALUE", // required
|
|
52
|
+
* // name: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // updatedAt: "STRING_VALUE",
|
|
55
|
+
* // updatedBy: {
|
|
56
|
+
* // type: "user" || "api_key" || "service", // required
|
|
57
|
+
* // id: "STRING_VALUE", // required
|
|
58
|
+
* // name: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // agentId: "STRING_VALUE", // required
|
|
61
|
+
* // name: "STRING_VALUE", // required
|
|
62
|
+
* // description: "STRING_VALUE",
|
|
63
|
+
* // status: "active" || "paused", // required
|
|
64
|
+
* // routing: [ // AgentDeploymentRoutesList // required
|
|
65
|
+
* // { // AgentDeploymentRoute
|
|
66
|
+
* // version: Number("int"), // required
|
|
67
|
+
* // percentage: Number("int"), // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // revision: Number("int"), // required
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param ListAgentDeploymentsCommandInput - {@link ListAgentDeploymentsCommandInput}
|
|
78
|
+
* @returns {@link ListAgentDeploymentsCommandOutput}
|
|
79
|
+
* @see {@link ListAgentDeploymentsCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link ListAgentDeploymentsCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AgentNotFoundException} (client fault)
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link WilmaAgentsServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListAgentDeploymentsCommand extends ListAgentDeploymentsCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: ListAgentDeploymentsInput;
|
|
98
|
+
output: ListAgentDeploymentsOutput;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: ListAgentDeploymentsCommandInput;
|
|
102
|
+
output: ListAgentDeploymentsCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -24,9 +24,7 @@ export interface ListAgentVersionsCommandOutput extends ListAgentVersionsOutput,
|
|
|
24
24
|
declare const ListAgentVersionsCommand_base: {
|
|
25
25
|
new (input: ListAgentVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: ListAgentVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Lists the published versions of an agent, newest first.
|
|
@@ -42,7 +40,7 @@ declare const ListAgentVersionsCommand_base: {
|
|
|
42
40
|
* company: "STRING_VALUE",
|
|
43
41
|
* agentId: "STRING_VALUE", // required
|
|
44
42
|
* limit: Number("int"),
|
|
45
|
-
*
|
|
43
|
+
* cursor: "STRING_VALUE",
|
|
46
44
|
* };
|
|
47
45
|
* const command = new ListAgentVersionsCommand(input);
|
|
48
46
|
* const response = await client.send(command);
|
|
@@ -51,6 +49,8 @@ declare const ListAgentVersionsCommand_base: {
|
|
|
51
49
|
* // { // AgentVersionInfo
|
|
52
50
|
* // agentId: "STRING_VALUE", // required
|
|
53
51
|
* // version: Number("int"), // required
|
|
52
|
+
* // basedOnVersion: Number("int"),
|
|
53
|
+
* // name: "STRING_VALUE",
|
|
54
54
|
* // changelog: "STRING_VALUE",
|
|
55
55
|
* // publishedAt: "STRING_VALUE", // required
|
|
56
56
|
* // publishedBy: { // Actor
|
|
@@ -58,12 +58,12 @@ declare const ListAgentVersionsCommand_base: {
|
|
|
58
58
|
* // id: "STRING_VALUE", // required
|
|
59
59
|
* // name: "STRING_VALUE",
|
|
60
60
|
* // },
|
|
61
|
-
* //
|
|
61
|
+
* // deployments: [ // AgentDeploymentNamesList
|
|
62
62
|
* // "STRING_VALUE",
|
|
63
63
|
* // ],
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
66
|
-
* //
|
|
66
|
+
* // nextCursor: "STRING_VALUE",
|
|
67
67
|
* // };
|
|
68
68
|
*
|
|
69
69
|
* ```
|