@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 ListAgentsCommandOutput extends ListAgentsOutput, __MetadataBea
|
|
|
24
24
|
declare const ListAgentsCommand_base: {
|
|
25
25
|
new (input: ListAgentsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentsCommandInput, ListAgentsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (...[input]: [] | [ListAgentsCommandInput]): import("@smithy/core/client").CommandImpl<ListAgentsCommandInput, ListAgentsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Retrieves a paginated list of agents for the specified company.
|
|
@@ -40,11 +38,11 @@ declare const ListAgentsCommand_base: {
|
|
|
40
38
|
* const client = new WilmaAgentsClient(config);
|
|
41
39
|
* const input = { // ListAgentsInput
|
|
42
40
|
* company: "STRING_VALUE",
|
|
43
|
-
* channel: "
|
|
44
|
-
* status: "draft" || "active"
|
|
41
|
+
* channel: "voice" || "chat" || "assistant" || "autonomous",
|
|
42
|
+
* status: "draft" || "active",
|
|
45
43
|
* search: "STRING_VALUE",
|
|
46
44
|
* limit: Number("int"),
|
|
47
|
-
*
|
|
45
|
+
* cursor: "STRING_VALUE",
|
|
48
46
|
* };
|
|
49
47
|
* const command = new ListAgentsCommand(input);
|
|
50
48
|
* const response = await client.send(command);
|
|
@@ -55,12 +53,80 @@ declare const ListAgentsCommand_base: {
|
|
|
55
53
|
* // description: "STRING_VALUE",
|
|
56
54
|
* // category: "STRING_VALUE",
|
|
57
55
|
* // picture: "STRING_VALUE",
|
|
56
|
+
* // channels: { // AgentChannels
|
|
57
|
+
* // voice: { // VoiceChannelSettings
|
|
58
|
+
* // greeting: "STRING_VALUE",
|
|
59
|
+
* // interruptions: { // VoiceInterruptionSettings
|
|
60
|
+
* // enabled: true || false, // required
|
|
61
|
+
* // minWords: Number("int"),
|
|
62
|
+
* // },
|
|
63
|
+
* // silenceTimeout: { // VoiceSilenceTimeoutSettings
|
|
64
|
+
* // seconds: Number("int"), // required
|
|
65
|
+
* // action: { // VoiceTerminateAction Union: only one key present
|
|
66
|
+
* // hangup: { // VoiceTerminateHangupAction
|
|
67
|
+
* // message: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // transfer: { // VoiceTransferTarget
|
|
70
|
+
* // name: "STRING_VALUE", // required
|
|
71
|
+
* // description: "STRING_VALUE",
|
|
72
|
+
* // context: "STRING_VALUE", // required
|
|
73
|
+
* // extension: "STRING_VALUE", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // maxDuration: { // VoiceMaxDurationSettings
|
|
78
|
+
* // seconds: Number("int"), // required
|
|
79
|
+
* // action: {// Union: only one key present
|
|
80
|
+
* // hangup: {
|
|
81
|
+
* // message: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // transfer: {
|
|
84
|
+
* // name: "STRING_VALUE", // required
|
|
85
|
+
* // description: "STRING_VALUE",
|
|
86
|
+
* // context: "STRING_VALUE", // required
|
|
87
|
+
* // extension: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // endCall: { // VoiceEndCallSettings
|
|
92
|
+
* // enabled: true || false, // required
|
|
93
|
+
* // phrases: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // callerMetadata: { // VoiceCallerMetadataSettings
|
|
96
|
+
* // callerName: true || false,
|
|
97
|
+
* // callerNumber: true || false,
|
|
98
|
+
* // callerEmail: true || false,
|
|
99
|
+
* // callerCompany: true || false,
|
|
100
|
+
* // time: true || false,
|
|
101
|
+
* // timeZone: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // },
|
|
104
|
+
* // chat: { // ChatChannelSettings
|
|
105
|
+
* // discoverable: true || false,
|
|
106
|
+
* // },
|
|
107
|
+
* // assistant: { // AssistantChannelSettings
|
|
108
|
+
* // default: true || false,
|
|
109
|
+
* // },
|
|
110
|
+
* // autonomous: {},
|
|
111
|
+
* // },
|
|
58
112
|
* // engine: { // AgentEngine Union: only one key present
|
|
59
|
-
* //
|
|
113
|
+
* // ai: { // AgentAiEngine
|
|
60
114
|
* // instructions: "STRING_VALUE", // required
|
|
61
115
|
* // model: "STRING_VALUE",
|
|
62
116
|
* // skills: [ // AgentSkillsList
|
|
63
|
-
* //
|
|
117
|
+
* // { // AgentSkillReference
|
|
118
|
+
* // id: "STRING_VALUE", // required
|
|
119
|
+
* // skillVersion: "STRING_VALUE",
|
|
120
|
+
* // access: { // AgentAccess
|
|
121
|
+
* // visibility: "explicit" || "organization",
|
|
122
|
+
* // grants: [ // AgentGrantPrincipalList
|
|
123
|
+
* // { // AgentGrantPrincipal Union: only one key present
|
|
124
|
+
* // userId: "STRING_VALUE",
|
|
125
|
+
* // groupId: "STRING_VALUE",
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
128
|
+
* // },
|
|
129
|
+
* // },
|
|
64
130
|
* // ],
|
|
65
131
|
* // capabilities: [ // AgentCapabilitiesList
|
|
66
132
|
* // { // AgentCapability Union: only one key present
|
|
@@ -75,50 +141,55 @@ declare const ListAgentsCommand_base: {
|
|
|
75
141
|
* // description: "STRING_VALUE", // required
|
|
76
142
|
* // },
|
|
77
143
|
* // predefined: { // AgentToolVariablePredefinedHandler
|
|
78
|
-
* //
|
|
144
|
+
* // value: "STRING_VALUE", // required
|
|
79
145
|
* // },
|
|
80
146
|
* // },
|
|
81
147
|
* // },
|
|
82
148
|
* // ],
|
|
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
|
-
* // },
|
|
149
|
+
* // startMessage: "STRING_VALUE",
|
|
150
|
+
* // pipeline: { // AgentToolPipeline
|
|
151
|
+
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
152
|
+
* // instructions: "STRING_VALUE",
|
|
153
|
+
* // },
|
|
154
|
+
* // approval: { // AgentToolApproval
|
|
155
|
+
* // prompt: "STRING_VALUE",
|
|
156
|
+
* // },
|
|
157
|
+
* // annotations: [ // AgentToolAnnotationsList
|
|
158
|
+
* // { // AgentToolAnnotation Union: only one key present
|
|
159
|
+
* // tag: { // AgentToolTagAnnotation
|
|
160
|
+
* // value: "STRING_VALUE",
|
|
161
|
+
* // applyOnSuccess: true || false,
|
|
162
|
+
* // applyOnFailure: true || false,
|
|
107
163
|
* // },
|
|
108
|
-
* //
|
|
109
|
-
* //
|
|
110
|
-
* //
|
|
111
|
-
* //
|
|
112
|
-
* //
|
|
113
|
-
* //
|
|
114
|
-
* //
|
|
115
|
-
* // parameters: "DOCUMENT_VALUE",
|
|
164
|
+
* // comment: { // AgentToolCommentAnnotation
|
|
165
|
+
* // value: "STRING_VALUE",
|
|
166
|
+
* // applyOnSuccess: true || false,
|
|
167
|
+
* // applyOnFailure: true || false,
|
|
168
|
+
* // },
|
|
169
|
+
* // variables: {},
|
|
170
|
+
* // result: {},
|
|
116
171
|
* // },
|
|
117
|
-
* //
|
|
172
|
+
* // ],
|
|
118
173
|
* // },
|
|
119
174
|
* // kb: { // AgentKnowledgeBase
|
|
120
175
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
121
176
|
* // instructions: "STRING_VALUE",
|
|
177
|
+
* // annotations: [
|
|
178
|
+
* // {// Union: only one key present
|
|
179
|
+
* // tag: {
|
|
180
|
+
* // value: "STRING_VALUE",
|
|
181
|
+
* // applyOnSuccess: true || false,
|
|
182
|
+
* // applyOnFailure: true || false,
|
|
183
|
+
* // },
|
|
184
|
+
* // comment: {
|
|
185
|
+
* // value: "STRING_VALUE",
|
|
186
|
+
* // applyOnSuccess: true || false,
|
|
187
|
+
* // applyOnFailure: true || false,
|
|
188
|
+
* // },
|
|
189
|
+
* // variables: {},
|
|
190
|
+
* // result: {},
|
|
191
|
+
* // },
|
|
192
|
+
* // ],
|
|
122
193
|
* // },
|
|
123
194
|
* // sandbox: { // AgentSandboxCapability Union: only one key present
|
|
124
195
|
* // vercel: { // AgentVercelSandboxOptions
|
|
@@ -156,6 +227,17 @@ declare const ListAgentsCommand_base: {
|
|
|
156
227
|
* // },
|
|
157
228
|
* // agent: { // AgentCallCapability
|
|
158
229
|
* // agentId: "STRING_VALUE", // required
|
|
230
|
+
* // agentVersion: "STRING_VALUE",
|
|
231
|
+
* // agentDeployment: "STRING_VALUE",
|
|
232
|
+
* // access: {
|
|
233
|
+
* // visibility: "explicit" || "organization",
|
|
234
|
+
* // grants: [
|
|
235
|
+
* // {// Union: only one key present
|
|
236
|
+
* // userId: "STRING_VALUE",
|
|
237
|
+
* // groupId: "STRING_VALUE",
|
|
238
|
+
* // },
|
|
239
|
+
* // ],
|
|
240
|
+
* // },
|
|
159
241
|
* // variables: [
|
|
160
242
|
* // {
|
|
161
243
|
* // name: "STRING_VALUE", // required
|
|
@@ -165,55 +247,111 @@ declare const ListAgentsCommand_base: {
|
|
|
165
247
|
* // description: "STRING_VALUE", // required
|
|
166
248
|
* // },
|
|
167
249
|
* // predefined: {
|
|
168
|
-
* //
|
|
250
|
+
* // value: "STRING_VALUE", // required
|
|
169
251
|
* // },
|
|
170
252
|
* // },
|
|
171
253
|
* // },
|
|
172
254
|
* // ],
|
|
173
255
|
* // },
|
|
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
|
-
* // },
|
|
256
|
+
* // handover: { // AgentHandoverCapability
|
|
257
|
+
* // name: "STRING_VALUE",
|
|
258
|
+
* // description: "STRING_VALUE",
|
|
259
|
+
* // variant: "agent" || "service",
|
|
260
|
+
* // agent: "STRING_VALUE",
|
|
261
|
+
* // agentVersion: "STRING_VALUE",
|
|
262
|
+
* // agentDeployment: "STRING_VALUE",
|
|
263
|
+
* // service: "STRING_VALUE",
|
|
264
|
+
* // silent: true || false,
|
|
265
|
+
* // pipeline: { // AgentHandoverPipeline
|
|
266
|
+
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
267
|
+
* // instructions: "STRING_VALUE",
|
|
190
268
|
* // },
|
|
191
|
-
* //
|
|
192
|
-
* //
|
|
269
|
+
* // annotations: [
|
|
270
|
+
* // {// Union: only one key present
|
|
271
|
+
* // tag: {
|
|
272
|
+
* // value: "STRING_VALUE",
|
|
273
|
+
* // applyOnSuccess: true || false,
|
|
274
|
+
* // applyOnFailure: true || false,
|
|
275
|
+
* // },
|
|
276
|
+
* // comment: {
|
|
277
|
+
* // value: "STRING_VALUE",
|
|
278
|
+
* // applyOnSuccess: true || false,
|
|
279
|
+
* // applyOnFailure: true || false,
|
|
280
|
+
* // },
|
|
281
|
+
* // variables: {},
|
|
282
|
+
* // result: {},
|
|
283
|
+
* // },
|
|
193
284
|
* // ],
|
|
194
285
|
* // },
|
|
195
|
-
* // handover: { // AgentHandoverCapability
|
|
196
|
-
* // instructions: "STRING_VALUE",
|
|
197
|
-
* // message: "STRING_VALUE",
|
|
198
|
-
* // },
|
|
199
286
|
* // delegation: { // AgentDelegationCapability
|
|
200
|
-
* //
|
|
201
|
-
* //
|
|
287
|
+
* // name: "STRING_VALUE",
|
|
288
|
+
* // description: "STRING_VALUE",
|
|
289
|
+
* // id: "STRING_VALUE", // required
|
|
290
|
+
* // agentVersion: "STRING_VALUE",
|
|
291
|
+
* // agentDeployment: "STRING_VALUE",
|
|
292
|
+
* // annotations: [
|
|
293
|
+
* // {// Union: only one key present
|
|
294
|
+
* // tag: {
|
|
295
|
+
* // value: "STRING_VALUE",
|
|
296
|
+
* // applyOnSuccess: true || false,
|
|
297
|
+
* // applyOnFailure: true || false,
|
|
298
|
+
* // },
|
|
299
|
+
* // comment: {
|
|
300
|
+
* // value: "STRING_VALUE",
|
|
301
|
+
* // applyOnSuccess: true || false,
|
|
302
|
+
* // applyOnFailure: true || false,
|
|
303
|
+
* // },
|
|
304
|
+
* // variables: {},
|
|
305
|
+
* // result: {},
|
|
306
|
+
* // },
|
|
202
307
|
* // ],
|
|
203
|
-
* // instructions: "STRING_VALUE",
|
|
204
308
|
* // },
|
|
205
309
|
* // transfer: { // AgentTransferCapability
|
|
206
|
-
* //
|
|
207
|
-
* //
|
|
208
|
-
* //
|
|
209
|
-
* //
|
|
210
|
-
* //
|
|
211
|
-
* //
|
|
310
|
+
* // name: "STRING_VALUE",
|
|
311
|
+
* // description: "STRING_VALUE",
|
|
312
|
+
* // variant: "predefined" || "dynamic" || "directory",
|
|
313
|
+
* // context: "STRING_VALUE",
|
|
314
|
+
* // extension: "STRING_VALUE",
|
|
315
|
+
* // pipeline: { // AgentTransferPipeline
|
|
316
|
+
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
317
|
+
* // instructions: "STRING_VALUE",
|
|
318
|
+
* // },
|
|
319
|
+
* // annotations: [
|
|
320
|
+
* // {// Union: only one key present
|
|
321
|
+
* // tag: {
|
|
322
|
+
* // value: "STRING_VALUE",
|
|
323
|
+
* // applyOnSuccess: true || false,
|
|
324
|
+
* // applyOnFailure: true || false,
|
|
325
|
+
* // },
|
|
326
|
+
* // comment: {
|
|
327
|
+
* // value: "STRING_VALUE",
|
|
328
|
+
* // applyOnSuccess: true || false,
|
|
329
|
+
* // applyOnFailure: true || false,
|
|
330
|
+
* // },
|
|
331
|
+
* // variables: {},
|
|
332
|
+
* // result: {},
|
|
212
333
|
* // },
|
|
213
334
|
* // ],
|
|
214
|
-
* // instructions: "STRING_VALUE",
|
|
215
335
|
* // },
|
|
216
|
-
* // suggestions: {
|
|
336
|
+
* // suggestions: { // AgentSuggestionsCapability
|
|
337
|
+
* // name: "STRING_VALUE",
|
|
338
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
339
|
+
* // },
|
|
340
|
+
* // hangup: { // AgentHangupCapability
|
|
341
|
+
* // name: "STRING_VALUE",
|
|
342
|
+
* // description: "STRING_VALUE",
|
|
343
|
+
* // pipeline: { // AgentHangupPipeline
|
|
344
|
+
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
345
|
+
* // instructions: "STRING_VALUE",
|
|
346
|
+
* // },
|
|
347
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
348
|
+
* // },
|
|
349
|
+
* // wait: { // AgentWaitCapability
|
|
350
|
+
* // name: "STRING_VALUE",
|
|
351
|
+
* // description: "STRING_VALUE",
|
|
352
|
+
* // message: "STRING_VALUE",
|
|
353
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
354
|
+
* // },
|
|
217
355
|
* // },
|
|
218
356
|
* // ],
|
|
219
357
|
* // variables: [ // AgentVariablesList
|
|
@@ -236,90 +374,10 @@ declare const ListAgentsCommand_base: {
|
|
|
236
374
|
* // secret: "STRING_VALUE", // required
|
|
237
375
|
* // },
|
|
238
376
|
* // },
|
|
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
|
-
* // ],
|
|
377
|
+
* // settings: { // AgentSettings
|
|
378
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
322
379
|
* // },
|
|
380
|
+
* // access: "<AgentAccess>",
|
|
323
381
|
* // createdAt: "STRING_VALUE", // required
|
|
324
382
|
* // createdBy: { // Actor
|
|
325
383
|
* // type: "user" || "api_key" || "service", // required
|
|
@@ -333,31 +391,40 @@ declare const ListAgentsCommand_base: {
|
|
|
333
391
|
* // name: "STRING_VALUE",
|
|
334
392
|
* // },
|
|
335
393
|
* // id: "STRING_VALUE", // required
|
|
336
|
-
* // status: "draft" || "active"
|
|
394
|
+
* // status: "draft" || "active", // required
|
|
337
395
|
* // revision: Number("int"), // required
|
|
338
|
-
* // latestVersion:
|
|
339
|
-
* //
|
|
340
|
-
* //
|
|
341
|
-
* //
|
|
342
|
-
* //
|
|
343
|
-
* //
|
|
344
|
-
* //
|
|
345
|
-
* //
|
|
346
|
-
* //
|
|
347
|
-
* //
|
|
348
|
-
* //
|
|
349
|
-
* // ],
|
|
350
|
-
* // updatedAt: "STRING_VALUE", // required
|
|
396
|
+
* // latestVersion: "STRING_VALUE",
|
|
397
|
+
* // draftBaseVersion: "STRING_VALUE",
|
|
398
|
+
* // deployments: [ // AgentDeploymentsList
|
|
399
|
+
* // { // AgentDeployment
|
|
400
|
+
* // createdAt: "STRING_VALUE", // required
|
|
401
|
+
* // createdBy: {
|
|
402
|
+
* // type: "user" || "api_key" || "service", // required
|
|
403
|
+
* // id: "STRING_VALUE", // required
|
|
404
|
+
* // name: "STRING_VALUE",
|
|
405
|
+
* // },
|
|
406
|
+
* // updatedAt: "STRING_VALUE",
|
|
351
407
|
* // updatedBy: {
|
|
352
408
|
* // type: "user" || "api_key" || "service", // required
|
|
353
409
|
* // id: "STRING_VALUE", // required
|
|
354
410
|
* // name: "STRING_VALUE",
|
|
355
411
|
* // },
|
|
412
|
+
* // agentId: "STRING_VALUE", // required
|
|
413
|
+
* // name: "STRING_VALUE", // required
|
|
414
|
+
* // description: "STRING_VALUE",
|
|
415
|
+
* // status: "active" || "paused", // required
|
|
416
|
+
* // routing: [ // AgentDeploymentRoutesList // required
|
|
417
|
+
* // { // AgentDeploymentRoute
|
|
418
|
+
* // version: "STRING_VALUE", // required
|
|
419
|
+
* // percentage: Number("int"), // required
|
|
420
|
+
* // },
|
|
421
|
+
* // ],
|
|
422
|
+
* // revision: Number("int"), // required
|
|
356
423
|
* // },
|
|
357
424
|
* // ],
|
|
358
425
|
* // },
|
|
359
426
|
* // ],
|
|
360
|
-
* //
|
|
427
|
+
* // nextCursor: "STRING_VALUE",
|
|
361
428
|
* // };
|
|
362
429
|
*
|
|
363
430
|
* ```
|
|
@@ -24,9 +24,7 @@ export interface ListAgentsNamesCommandOutput extends ListAgentsNamesOutput, __M
|
|
|
24
24
|
declare const ListAgentsNamesCommand_base: {
|
|
25
25
|
new (input: ListAgentsNamesCommandInput): import("@smithy/core/client").CommandImpl<ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (...[input]: [] | [ListAgentsNamesCommandInput]): import("@smithy/core/client").CommandImpl<ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Retrieves a lightweight list of agent names and basic information for the specified company.
|
|
@@ -40,7 +38,7 @@ declare const ListAgentsNamesCommand_base: {
|
|
|
40
38
|
* const client = new WilmaAgentsClient(config);
|
|
41
39
|
* const input = { // ListAgentsNamesInput
|
|
42
40
|
* company: "STRING_VALUE",
|
|
43
|
-
* channel: "
|
|
41
|
+
* channel: "voice" || "chat" || "assistant" || "autonomous",
|
|
44
42
|
* };
|
|
45
43
|
* const command = new ListAgentsNamesCommand(input);
|
|
46
44
|
* const response = await client.send(command);
|
|
@@ -50,11 +48,11 @@ declare const ListAgentsNamesCommand_base: {
|
|
|
50
48
|
* // id: "STRING_VALUE", // required
|
|
51
49
|
* // name: "STRING_VALUE", // required
|
|
52
50
|
* // category: "STRING_VALUE",
|
|
53
|
-
* // status: "draft" || "active"
|
|
54
|
-
* // channels: [ // ChannelTypeList
|
|
55
|
-
* // "
|
|
51
|
+
* // status: "draft" || "active", // required
|
|
52
|
+
* // channels: [ // ChannelTypeList // required
|
|
53
|
+
* // "voice" || "chat" || "assistant" || "autonomous",
|
|
56
54
|
* // ],
|
|
57
|
-
* // latestVersion:
|
|
55
|
+
* // latestVersion: "STRING_VALUE",
|
|
58
56
|
* // },
|
|
59
57
|
* // ],
|
|
60
58
|
* // };
|