@wildix/wilma-agents-client 1.0.1 → 1.0.2
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 +358 -539
- 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 +356 -536
- 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 +451 -324
- 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 +237 -170
- package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +219 -158
- 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 +8 -7
- package/dist-types/commands/ListAgentsCommand.d.ts +241 -174
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +6 -8
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +221 -159
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +451 -324
- 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 +695 -741
- package/dist-types/schemas/schemas_0.d.ts +41 -61
- package/package.json +2 -2
- 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.
|
|
@@ -41,26 +39,97 @@ declare const GetAgentVersionCommand_base: {
|
|
|
41
39
|
* const input = { // GetAgentVersionInput
|
|
42
40
|
* company: "STRING_VALUE",
|
|
43
41
|
* agentId: "STRING_VALUE", // required
|
|
44
|
-
* version:
|
|
42
|
+
* version: "STRING_VALUE", // required
|
|
45
43
|
* };
|
|
46
44
|
* const command = new GetAgentVersionCommand(input);
|
|
47
45
|
* const response = await client.send(command);
|
|
48
46
|
* // { // GetAgentVersionOutput
|
|
49
47
|
* // version: { // AgentVersion
|
|
50
48
|
* // agentId: "STRING_VALUE", // required
|
|
51
|
-
* // version:
|
|
49
|
+
* // version: "STRING_VALUE", // required
|
|
50
|
+
* // sequence: Number("int"), // required
|
|
51
|
+
* // basedOnVersion: "STRING_VALUE",
|
|
52
|
+
* // name: "STRING_VALUE",
|
|
52
53
|
* // changelog: "STRING_VALUE",
|
|
53
54
|
* // definition: { // AgentDefinitionSnapshot
|
|
54
55
|
* // name: "STRING_VALUE", // required
|
|
55
56
|
* // description: "STRING_VALUE",
|
|
56
57
|
* // category: "STRING_VALUE",
|
|
57
58
|
* // picture: "STRING_VALUE",
|
|
59
|
+
* // channels: { // AgentChannels
|
|
60
|
+
* // voice: { // VoiceChannelSettings
|
|
61
|
+
* // greeting: "STRING_VALUE",
|
|
62
|
+
* // interruptions: { // VoiceInterruptionSettings
|
|
63
|
+
* // enabled: true || false, // required
|
|
64
|
+
* // minWords: Number("int"),
|
|
65
|
+
* // },
|
|
66
|
+
* // silenceTimeout: { // VoiceSilenceTimeoutSettings
|
|
67
|
+
* // seconds: Number("int"), // required
|
|
68
|
+
* // action: { // VoiceTerminateAction Union: only one key present
|
|
69
|
+
* // hangup: { // VoiceTerminateHangupAction
|
|
70
|
+
* // message: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // transfer: { // VoiceTransferTarget
|
|
73
|
+
* // name: "STRING_VALUE", // required
|
|
74
|
+
* // description: "STRING_VALUE",
|
|
75
|
+
* // context: "STRING_VALUE", // required
|
|
76
|
+
* // extension: "STRING_VALUE", // required
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // maxDuration: { // VoiceMaxDurationSettings
|
|
81
|
+
* // seconds: Number("int"), // required
|
|
82
|
+
* // action: {// Union: only one key present
|
|
83
|
+
* // hangup: {
|
|
84
|
+
* // message: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // transfer: {
|
|
87
|
+
* // name: "STRING_VALUE", // required
|
|
88
|
+
* // description: "STRING_VALUE",
|
|
89
|
+
* // context: "STRING_VALUE", // required
|
|
90
|
+
* // extension: "STRING_VALUE", // required
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // endCall: { // VoiceEndCallSettings
|
|
95
|
+
* // enabled: true || false, // required
|
|
96
|
+
* // phrases: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // callerMetadata: { // VoiceCallerMetadataSettings
|
|
99
|
+
* // callerName: true || false,
|
|
100
|
+
* // callerNumber: true || false,
|
|
101
|
+
* // callerEmail: true || false,
|
|
102
|
+
* // callerCompany: true || false,
|
|
103
|
+
* // time: true || false,
|
|
104
|
+
* // timeZone: "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // chat: { // ChatChannelSettings
|
|
108
|
+
* // discoverable: true || false,
|
|
109
|
+
* // },
|
|
110
|
+
* // assistant: { // AssistantChannelSettings
|
|
111
|
+
* // default: true || false,
|
|
112
|
+
* // },
|
|
113
|
+
* // autonomous: {},
|
|
114
|
+
* // },
|
|
58
115
|
* // engine: { // AgentEngine Union: only one key present
|
|
59
|
-
* //
|
|
116
|
+
* // ai: { // AgentAiEngine
|
|
60
117
|
* // instructions: "STRING_VALUE", // required
|
|
61
118
|
* // model: "STRING_VALUE",
|
|
62
119
|
* // skills: [ // AgentSkillsList
|
|
63
|
-
* //
|
|
120
|
+
* // { // AgentSkillReference
|
|
121
|
+
* // id: "STRING_VALUE", // required
|
|
122
|
+
* // skillVersion: "STRING_VALUE",
|
|
123
|
+
* // access: { // AgentAccess
|
|
124
|
+
* // visibility: "explicit" || "organization",
|
|
125
|
+
* // grants: [ // AgentGrantPrincipalList
|
|
126
|
+
* // { // AgentGrantPrincipal Union: only one key present
|
|
127
|
+
* // userId: "STRING_VALUE",
|
|
128
|
+
* // groupId: "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
64
133
|
* // ],
|
|
65
134
|
* // capabilities: [ // AgentCapabilitiesList
|
|
66
135
|
* // { // AgentCapability Union: only one key present
|
|
@@ -75,50 +144,55 @@ declare const GetAgentVersionCommand_base: {
|
|
|
75
144
|
* // description: "STRING_VALUE", // required
|
|
76
145
|
* // },
|
|
77
146
|
* // predefined: { // AgentToolVariablePredefinedHandler
|
|
78
|
-
* //
|
|
147
|
+
* // value: "STRING_VALUE", // required
|
|
79
148
|
* // },
|
|
80
149
|
* // },
|
|
81
150
|
* // },
|
|
82
151
|
* // ],
|
|
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
|
-
* // },
|
|
152
|
+
* // startMessage: "STRING_VALUE",
|
|
153
|
+
* // pipeline: { // AgentToolPipeline
|
|
154
|
+
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
155
|
+
* // instructions: "STRING_VALUE",
|
|
156
|
+
* // },
|
|
157
|
+
* // approval: { // AgentToolApproval
|
|
158
|
+
* // prompt: "STRING_VALUE",
|
|
159
|
+
* // },
|
|
160
|
+
* // annotations: [ // AgentToolAnnotationsList
|
|
161
|
+
* // { // AgentToolAnnotation Union: only one key present
|
|
162
|
+
* // tag: { // AgentToolTagAnnotation
|
|
163
|
+
* // value: "STRING_VALUE",
|
|
164
|
+
* // applyOnSuccess: true || false,
|
|
165
|
+
* // applyOnFailure: true || false,
|
|
107
166
|
* // },
|
|
108
|
-
* //
|
|
109
|
-
* //
|
|
110
|
-
* //
|
|
111
|
-
* //
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
114
|
-
* //
|
|
115
|
-
* // parameters: "DOCUMENT_VALUE",
|
|
167
|
+
* // comment: { // AgentToolCommentAnnotation
|
|
168
|
+
* // value: "STRING_VALUE",
|
|
169
|
+
* // applyOnSuccess: true || false,
|
|
170
|
+
* // applyOnFailure: true || false,
|
|
171
|
+
* // },
|
|
172
|
+
* // variables: {},
|
|
173
|
+
* // result: {},
|
|
116
174
|
* // },
|
|
117
|
-
* //
|
|
175
|
+
* // ],
|
|
118
176
|
* // },
|
|
119
177
|
* // kb: { // AgentKnowledgeBase
|
|
120
178
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
121
179
|
* // instructions: "STRING_VALUE",
|
|
180
|
+
* // annotations: [
|
|
181
|
+
* // {// Union: only one key present
|
|
182
|
+
* // tag: {
|
|
183
|
+
* // value: "STRING_VALUE",
|
|
184
|
+
* // applyOnSuccess: true || false,
|
|
185
|
+
* // applyOnFailure: true || false,
|
|
186
|
+
* // },
|
|
187
|
+
* // comment: {
|
|
188
|
+
* // value: "STRING_VALUE",
|
|
189
|
+
* // applyOnSuccess: true || false,
|
|
190
|
+
* // applyOnFailure: true || false,
|
|
191
|
+
* // },
|
|
192
|
+
* // variables: {},
|
|
193
|
+
* // result: {},
|
|
194
|
+
* // },
|
|
195
|
+
* // ],
|
|
122
196
|
* // },
|
|
123
197
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
124
198
|
* // vercel: { // AgentVercelSandboxOptions
|
|
@@ -156,6 +230,17 @@ declare const GetAgentVersionCommand_base: {
|
|
|
156
230
|
* // },
|
|
157
231
|
* // agent: { // AgentCallCapability
|
|
158
232
|
* // agentId: "STRING_VALUE", // required
|
|
233
|
+
* // agentVersion: "STRING_VALUE",
|
|
234
|
+
* // agentDeployment: "STRING_VALUE",
|
|
235
|
+
* // access: {
|
|
236
|
+
* // visibility: "explicit" || "organization",
|
|
237
|
+
* // grants: [
|
|
238
|
+
* // {// Union: only one key present
|
|
239
|
+
* // userId: "STRING_VALUE",
|
|
240
|
+
* // groupId: "STRING_VALUE",
|
|
241
|
+
* // },
|
|
242
|
+
* // ],
|
|
243
|
+
* // },
|
|
159
244
|
* // variables: [
|
|
160
245
|
* // {
|
|
161
246
|
* // name: "STRING_VALUE", // required
|
|
@@ -165,55 +250,111 @@ declare const GetAgentVersionCommand_base: {
|
|
|
165
250
|
* // description: "STRING_VALUE", // required
|
|
166
251
|
* // },
|
|
167
252
|
* // predefined: {
|
|
168
|
-
* //
|
|
253
|
+
* // value: "STRING_VALUE", // required
|
|
169
254
|
* // },
|
|
170
255
|
* // },
|
|
171
256
|
* // },
|
|
172
257
|
* // ],
|
|
173
258
|
* // },
|
|
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
|
-
* // },
|
|
259
|
+
* // handover: { // AgentHandoverCapability
|
|
260
|
+
* // name: "STRING_VALUE",
|
|
261
|
+
* // description: "STRING_VALUE",
|
|
262
|
+
* // variant: "agent" || "service",
|
|
263
|
+
* // agent: "STRING_VALUE",
|
|
264
|
+
* // agentVersion: "STRING_VALUE",
|
|
265
|
+
* // agentDeployment: "STRING_VALUE",
|
|
266
|
+
* // service: "STRING_VALUE",
|
|
267
|
+
* // silent: true || false,
|
|
268
|
+
* // pipeline: { // AgentHandoverPipeline
|
|
269
|
+
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
270
|
+
* // instructions: "STRING_VALUE",
|
|
190
271
|
* // },
|
|
191
|
-
* //
|
|
192
|
-
* //
|
|
272
|
+
* // annotations: [
|
|
273
|
+
* // {// Union: only one key present
|
|
274
|
+
* // tag: {
|
|
275
|
+
* // value: "STRING_VALUE",
|
|
276
|
+
* // applyOnSuccess: true || false,
|
|
277
|
+
* // applyOnFailure: true || false,
|
|
278
|
+
* // },
|
|
279
|
+
* // comment: {
|
|
280
|
+
* // value: "STRING_VALUE",
|
|
281
|
+
* // applyOnSuccess: true || false,
|
|
282
|
+
* // applyOnFailure: true || false,
|
|
283
|
+
* // },
|
|
284
|
+
* // variables: {},
|
|
285
|
+
* // result: {},
|
|
286
|
+
* // },
|
|
193
287
|
* // ],
|
|
194
288
|
* // },
|
|
195
|
-
* // handover: { // AgentHandoverCapability
|
|
196
|
-
* // instructions: "STRING_VALUE",
|
|
197
|
-
* // message: "STRING_VALUE",
|
|
198
|
-
* // },
|
|
199
289
|
* // delegation: { // AgentDelegationCapability
|
|
200
|
-
* //
|
|
201
|
-
* //
|
|
290
|
+
* // name: "STRING_VALUE",
|
|
291
|
+
* // description: "STRING_VALUE",
|
|
292
|
+
* // id: "STRING_VALUE", // required
|
|
293
|
+
* // agentVersion: "STRING_VALUE",
|
|
294
|
+
* // agentDeployment: "STRING_VALUE",
|
|
295
|
+
* // annotations: [
|
|
296
|
+
* // {// Union: only one key present
|
|
297
|
+
* // tag: {
|
|
298
|
+
* // value: "STRING_VALUE",
|
|
299
|
+
* // applyOnSuccess: true || false,
|
|
300
|
+
* // applyOnFailure: true || false,
|
|
301
|
+
* // },
|
|
302
|
+
* // comment: {
|
|
303
|
+
* // value: "STRING_VALUE",
|
|
304
|
+
* // applyOnSuccess: true || false,
|
|
305
|
+
* // applyOnFailure: true || false,
|
|
306
|
+
* // },
|
|
307
|
+
* // variables: {},
|
|
308
|
+
* // result: {},
|
|
309
|
+
* // },
|
|
202
310
|
* // ],
|
|
203
|
-
* // instructions: "STRING_VALUE",
|
|
204
311
|
* // },
|
|
205
312
|
* // transfer: { // AgentTransferCapability
|
|
206
|
-
* //
|
|
207
|
-
* //
|
|
208
|
-
* //
|
|
209
|
-
* //
|
|
210
|
-
* //
|
|
211
|
-
* //
|
|
313
|
+
* // name: "STRING_VALUE",
|
|
314
|
+
* // description: "STRING_VALUE",
|
|
315
|
+
* // variant: "predefined" || "dynamic" || "directory",
|
|
316
|
+
* // context: "STRING_VALUE",
|
|
317
|
+
* // extension: "STRING_VALUE",
|
|
318
|
+
* // pipeline: { // AgentTransferPipeline
|
|
319
|
+
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
320
|
+
* // instructions: "STRING_VALUE",
|
|
321
|
+
* // },
|
|
322
|
+
* // annotations: [
|
|
323
|
+
* // {// Union: only one key present
|
|
324
|
+
* // tag: {
|
|
325
|
+
* // value: "STRING_VALUE",
|
|
326
|
+
* // applyOnSuccess: true || false,
|
|
327
|
+
* // applyOnFailure: true || false,
|
|
328
|
+
* // },
|
|
329
|
+
* // comment: {
|
|
330
|
+
* // value: "STRING_VALUE",
|
|
331
|
+
* // applyOnSuccess: true || false,
|
|
332
|
+
* // applyOnFailure: true || false,
|
|
333
|
+
* // },
|
|
334
|
+
* // variables: {},
|
|
335
|
+
* // result: {},
|
|
212
336
|
* // },
|
|
213
337
|
* // ],
|
|
214
|
-
* // instructions: "STRING_VALUE",
|
|
215
338
|
* // },
|
|
216
|
-
* // suggestions: {
|
|
339
|
+
* // suggestions: { // AgentSuggestionsCapability
|
|
340
|
+
* // name: "STRING_VALUE",
|
|
341
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
342
|
+
* // },
|
|
343
|
+
* // hangup: { // AgentHangupCapability
|
|
344
|
+
* // name: "STRING_VALUE",
|
|
345
|
+
* // description: "STRING_VALUE",
|
|
346
|
+
* // pipeline: { // AgentHangupPipeline
|
|
347
|
+
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
348
|
+
* // instructions: "STRING_VALUE",
|
|
349
|
+
* // },
|
|
350
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
351
|
+
* // },
|
|
352
|
+
* // wait: { // AgentWaitCapability
|
|
353
|
+
* // name: "STRING_VALUE",
|
|
354
|
+
* // description: "STRING_VALUE",
|
|
355
|
+
* // message: "STRING_VALUE",
|
|
356
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
357
|
+
* // },
|
|
217
358
|
* // },
|
|
218
359
|
* // ],
|
|
219
360
|
* // variables: [ // AgentVariablesList
|
|
@@ -236,90 +377,10 @@ declare const GetAgentVersionCommand_base: {
|
|
|
236
377
|
* // secret: "STRING_VALUE", // required
|
|
237
378
|
* // },
|
|
238
379
|
* // },
|
|
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
|
-
* // ],
|
|
380
|
+
* // settings: { // AgentSettings
|
|
381
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
322
382
|
* // },
|
|
383
|
+
* // access: "<AgentAccess>",
|
|
323
384
|
* // },
|
|
324
385
|
* // publishedAt: "STRING_VALUE", // required
|
|
325
386
|
* // 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: "STRING_VALUE", // 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);
|
|
@@ -50,7 +48,10 @@ declare const ListAgentVersionsCommand_base: {
|
|
|
50
48
|
* // versions: [ // AgentVersionInfoList // required
|
|
51
49
|
* // { // AgentVersionInfo
|
|
52
50
|
* // agentId: "STRING_VALUE", // required
|
|
53
|
-
* // version:
|
|
51
|
+
* // version: "STRING_VALUE", // required
|
|
52
|
+
* // sequence: Number("int"), // required
|
|
53
|
+
* // basedOnVersion: "STRING_VALUE",
|
|
54
|
+
* // name: "STRING_VALUE",
|
|
54
55
|
* // changelog: "STRING_VALUE",
|
|
55
56
|
* // publishedAt: "STRING_VALUE", // required
|
|
56
57
|
* // publishedBy: { // Actor
|
|
@@ -58,12 +59,12 @@ declare const ListAgentVersionsCommand_base: {
|
|
|
58
59
|
* // id: "STRING_VALUE", // required
|
|
59
60
|
* // name: "STRING_VALUE",
|
|
60
61
|
* // },
|
|
61
|
-
* //
|
|
62
|
+
* // deployments: [ // AgentDeploymentNamesList
|
|
62
63
|
* // "STRING_VALUE",
|
|
63
64
|
* // ],
|
|
64
65
|
* // },
|
|
65
66
|
* // ],
|
|
66
|
-
* //
|
|
67
|
+
* // nextCursor: "STRING_VALUE",
|
|
67
68
|
* // };
|
|
68
69
|
*
|
|
69
70
|
* ```
|