@wildix/wilma-agents-client 1.0.15 → 1.0.16
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 +4 -8
- package/dist-cjs/commands/{CreateAgentDeploymentCommand.js → PutAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{ListAgentDeploymentsCommand.js → ResetAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/index.js +2 -4
- package/dist-cjs/models/enums.js +7 -5
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-cjs/schemas/schemas_0.js +66 -111
- package/dist-es/WilmaAgents.js +4 -8
- package/dist-es/commands/{ListAgentDeploymentsCommand.js → PutAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{CreateAgentDeploymentCommand.js → ResetAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/index.js +2 -4
- package/dist-es/models/enums.js +6 -4
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-es/schemas/schemas_0.js +63 -108
- package/dist-types/WilmaAgents.d.ts +19 -38
- package/dist-types/WilmaAgentsClient.d.ts +9 -16
- package/dist-types/commands/CreateAgentCommand.d.ts +13 -38
- package/dist-types/commands/DeleteAgentCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentCommand.d.ts +8 -31
- package/dist-types/commands/GetAgentDeploymentCommand.d.ts +6 -26
- package/dist-types/commands/GetAgentVersionCommand.d.ts +4 -6
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +0 -3
- package/dist-types/commands/ListAgentsCommand.d.ts +8 -31
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +5 -7
- package/dist-types/commands/PutAgentDeploymentCommand.d.ts +90 -0
- package/dist-types/commands/ResetAgentDeploymentCommand.d.ts +87 -0
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +9 -32
- package/dist-types/commands/UpdateAgentCommand.d.ts +12 -37
- package/dist-types/commands/index.d.ts +2 -4
- package/dist-types/index.d.ts +5 -10
- package/dist-types/models/enums.d.ts +27 -19
- package/dist-types/models/models_0.d.ts +91 -196
- package/dist-types/schemas/schemas_0.d.ts +6 -13
- package/package.json +1 -1
- package/dist-cjs/commands/DeleteAgentDeploymentCommand.js +0 -20
- package/dist-cjs/commands/UpdateAgentDeploymentCommand.js +0 -20
- package/dist-es/commands/DeleteAgentDeploymentCommand.js +0 -16
- package/dist-es/commands/UpdateAgentDeploymentCommand.js +0 -16
- package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +0 -115
- package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +0 -81
- package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +0 -105
- package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +0 -116
|
@@ -2,22 +2,20 @@ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
|
2
2
|
import { type CompareAgentVersionsCommandInput, type CompareAgentVersionsCommandOutput } from "./commands/CompareAgentVersionsCommand";
|
|
3
3
|
import { type CreateAgentApiKeyCommandInput, type CreateAgentApiKeyCommandOutput } from "./commands/CreateAgentApiKeyCommand";
|
|
4
4
|
import { type CreateAgentCommandInput, type CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
5
|
-
import { type CreateAgentDeploymentCommandInput, type CreateAgentDeploymentCommandOutput } from "./commands/CreateAgentDeploymentCommand";
|
|
6
5
|
import { type DeleteAgentApiKeyCommandInput, type DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
|
|
7
6
|
import { type DeleteAgentCommandInput, type DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
|
|
8
|
-
import { type DeleteAgentDeploymentCommandInput, type DeleteAgentDeploymentCommandOutput } from "./commands/DeleteAgentDeploymentCommand";
|
|
9
7
|
import { type GetAgentCommandInput, type GetAgentCommandOutput } from "./commands/GetAgentCommand";
|
|
10
8
|
import { type GetAgentDeploymentCommandInput, type GetAgentDeploymentCommandOutput } from "./commands/GetAgentDeploymentCommand";
|
|
11
9
|
import { type GetAgentVersionCommandInput, type GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
|
|
12
10
|
import { type ListAgentApiKeysCommandInput, type ListAgentApiKeysCommandOutput } from "./commands/ListAgentApiKeysCommand";
|
|
13
|
-
import { type ListAgentDeploymentsCommandInput, type ListAgentDeploymentsCommandOutput } from "./commands/ListAgentDeploymentsCommand";
|
|
14
11
|
import { type ListAgentsCommandInput, type ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
15
12
|
import { type ListAgentsNamesCommandInput, type ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
|
|
16
13
|
import { type ListAgentVersionsCommandInput, type ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
|
|
17
14
|
import { type PublishAgentVersionCommandInput, type PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
|
|
15
|
+
import { type PutAgentDeploymentCommandInput, type PutAgentDeploymentCommandOutput } from "./commands/PutAgentDeploymentCommand";
|
|
16
|
+
import { type ResetAgentDeploymentCommandInput, type ResetAgentDeploymentCommandOutput } from "./commands/ResetAgentDeploymentCommand";
|
|
18
17
|
import { type RestoreAgentVersionToDraftCommandInput, type RestoreAgentVersionToDraftCommandOutput } from "./commands/RestoreAgentVersionToDraftCommand";
|
|
19
18
|
import { type UpdateAgentCommandInput, type UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
20
|
-
import { type UpdateAgentDeploymentCommandInput, type UpdateAgentDeploymentCommandOutput } from "./commands/UpdateAgentDeploymentCommand";
|
|
21
19
|
import { WilmaAgentsClient } from "./WilmaAgentsClient";
|
|
22
20
|
export interface WilmaAgents {
|
|
23
21
|
/**
|
|
@@ -38,12 +36,6 @@ export interface WilmaAgents {
|
|
|
38
36
|
createAgentApiKey(args: CreateAgentApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateAgentApiKeyCommandOutput>;
|
|
39
37
|
createAgentApiKey(args: CreateAgentApiKeyCommandInput, cb: (err: any, data?: CreateAgentApiKeyCommandOutput) => void): void;
|
|
40
38
|
createAgentApiKey(args: CreateAgentApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentApiKeyCommandOutput) => void): void;
|
|
41
|
-
/**
|
|
42
|
-
* @see {@link CreateAgentDeploymentCommand}
|
|
43
|
-
*/
|
|
44
|
-
createAgentDeployment(args: CreateAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CreateAgentDeploymentCommandOutput>;
|
|
45
|
-
createAgentDeployment(args: CreateAgentDeploymentCommandInput, cb: (err: any, data?: CreateAgentDeploymentCommandOutput) => void): void;
|
|
46
|
-
createAgentDeployment(args: CreateAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentDeploymentCommandOutput) => void): void;
|
|
47
39
|
/**
|
|
48
40
|
* @see {@link DeleteAgentCommand}
|
|
49
41
|
*/
|
|
@@ -56,12 +48,6 @@ export interface WilmaAgents {
|
|
|
56
48
|
deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentApiKeyCommandOutput>;
|
|
57
49
|
deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
|
|
58
50
|
deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
|
|
59
|
-
/**
|
|
60
|
-
* @see {@link DeleteAgentDeploymentCommand}
|
|
61
|
-
*/
|
|
62
|
-
deleteAgentDeployment(args: DeleteAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentDeploymentCommandOutput>;
|
|
63
|
-
deleteAgentDeployment(args: DeleteAgentDeploymentCommandInput, cb: (err: any, data?: DeleteAgentDeploymentCommandOutput) => void): void;
|
|
64
|
-
deleteAgentDeployment(args: DeleteAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentDeploymentCommandOutput) => void): void;
|
|
65
51
|
/**
|
|
66
52
|
* @see {@link GetAgentCommand}
|
|
67
53
|
*/
|
|
@@ -86,12 +72,6 @@ export interface WilmaAgents {
|
|
|
86
72
|
listAgentApiKeys(args: ListAgentApiKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentApiKeysCommandOutput>;
|
|
87
73
|
listAgentApiKeys(args: ListAgentApiKeysCommandInput, cb: (err: any, data?: ListAgentApiKeysCommandOutput) => void): void;
|
|
88
74
|
listAgentApiKeys(args: ListAgentApiKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentApiKeysCommandOutput) => void): void;
|
|
89
|
-
/**
|
|
90
|
-
* @see {@link ListAgentDeploymentsCommand}
|
|
91
|
-
*/
|
|
92
|
-
listAgentDeployments(args: ListAgentDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentDeploymentsCommandOutput>;
|
|
93
|
-
listAgentDeployments(args: ListAgentDeploymentsCommandInput, cb: (err: any, data?: ListAgentDeploymentsCommandOutput) => void): void;
|
|
94
|
-
listAgentDeployments(args: ListAgentDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentDeploymentsCommandOutput) => void): void;
|
|
95
75
|
/**
|
|
96
76
|
* @see {@link ListAgentsCommand}
|
|
97
77
|
*/
|
|
@@ -118,6 +98,18 @@ export interface WilmaAgents {
|
|
|
118
98
|
publishAgentVersion(args: PublishAgentVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishAgentVersionCommandOutput>;
|
|
119
99
|
publishAgentVersion(args: PublishAgentVersionCommandInput, cb: (err: any, data?: PublishAgentVersionCommandOutput) => void): void;
|
|
120
100
|
publishAgentVersion(args: PublishAgentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishAgentVersionCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link PutAgentDeploymentCommand}
|
|
103
|
+
*/
|
|
104
|
+
putAgentDeployment(args: PutAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<PutAgentDeploymentCommandOutput>;
|
|
105
|
+
putAgentDeployment(args: PutAgentDeploymentCommandInput, cb: (err: any, data?: PutAgentDeploymentCommandOutput) => void): void;
|
|
106
|
+
putAgentDeployment(args: PutAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAgentDeploymentCommandOutput) => void): void;
|
|
107
|
+
/**
|
|
108
|
+
* @see {@link ResetAgentDeploymentCommand}
|
|
109
|
+
*/
|
|
110
|
+
resetAgentDeployment(args: ResetAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<ResetAgentDeploymentCommandOutput>;
|
|
111
|
+
resetAgentDeployment(args: ResetAgentDeploymentCommandInput, cb: (err: any, data?: ResetAgentDeploymentCommandOutput) => void): void;
|
|
112
|
+
resetAgentDeployment(args: ResetAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetAgentDeploymentCommandOutput) => void): void;
|
|
121
113
|
/**
|
|
122
114
|
* @see {@link RestoreAgentVersionToDraftCommand}
|
|
123
115
|
*/
|
|
@@ -130,24 +122,13 @@ export interface WilmaAgents {
|
|
|
130
122
|
updateAgent(args: UpdateAgentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAgentCommandOutput>;
|
|
131
123
|
updateAgent(args: UpdateAgentCommandInput, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
|
|
132
124
|
updateAgent(args: UpdateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
|
|
133
|
-
/**
|
|
134
|
-
* @see {@link UpdateAgentDeploymentCommand}
|
|
135
|
-
*/
|
|
136
|
-
updateAgentDeployment(args: UpdateAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAgentDeploymentCommandOutput>;
|
|
137
|
-
updateAgentDeployment(args: UpdateAgentDeploymentCommandInput, cb: (err: any, data?: UpdateAgentDeploymentCommandOutput) => void): void;
|
|
138
|
-
updateAgentDeployment(args: UpdateAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentDeploymentCommandOutput) => void): void;
|
|
139
125
|
}
|
|
140
126
|
/**
|
|
141
|
-
* Unified agent platform
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
* and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions,
|
|
147
|
-
* deployment traffic routing (rollback, canary) and API keys. The runtime lives in the
|
|
148
|
-
* per-channel services (wilma-assistant, wilma-chat, wilma-voice, wilma-workflows) and
|
|
149
|
-
* skills in wilma-skills. The company-wide audit trail lives in wilma-audit; evaluations
|
|
150
|
-
* in wilma-evaluations; observability in wilma-traces; analytics in wilma-analytics.
|
|
127
|
+
* Unified agent platform covering the agent lifecycle: draft editing, immutable
|
|
128
|
+
* published versions, deployment of new sessions across those versions and API keys.
|
|
129
|
+
* Each agent serves one or more channels (voice, chat, assistant or workflow) with
|
|
130
|
+
* per-channel settings; workflow agents have no delivery channel and run as
|
|
131
|
+
* background tasks — invoked by other agents, by automations or over the API.
|
|
151
132
|
* @public
|
|
152
133
|
*/
|
|
153
134
|
export declare class WilmaAgents extends WilmaAgentsClient implements WilmaAgents {
|
|
@@ -8,33 +8,31 @@ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } fro
|
|
|
8
8
|
import type { CompareAgentVersionsCommandInput, CompareAgentVersionsCommandOutput } from "./commands/CompareAgentVersionsCommand";
|
|
9
9
|
import type { CreateAgentApiKeyCommandInput, CreateAgentApiKeyCommandOutput } from "./commands/CreateAgentApiKeyCommand";
|
|
10
10
|
import type { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
11
|
-
import type { CreateAgentDeploymentCommandInput, CreateAgentDeploymentCommandOutput } from "./commands/CreateAgentDeploymentCommand";
|
|
12
11
|
import type { DeleteAgentApiKeyCommandInput, DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
|
|
13
12
|
import type { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
|
|
14
|
-
import type { DeleteAgentDeploymentCommandInput, DeleteAgentDeploymentCommandOutput } from "./commands/DeleteAgentDeploymentCommand";
|
|
15
13
|
import type { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
|
|
16
14
|
import type { GetAgentDeploymentCommandInput, GetAgentDeploymentCommandOutput } from "./commands/GetAgentDeploymentCommand";
|
|
17
15
|
import type { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
|
|
18
16
|
import type { ListAgentApiKeysCommandInput, ListAgentApiKeysCommandOutput } from "./commands/ListAgentApiKeysCommand";
|
|
19
|
-
import type { ListAgentDeploymentsCommandInput, ListAgentDeploymentsCommandOutput } from "./commands/ListAgentDeploymentsCommand";
|
|
20
17
|
import type { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
21
18
|
import type { ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
|
|
22
19
|
import type { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
|
|
23
20
|
import type { PublishAgentVersionCommandInput, PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
|
|
21
|
+
import type { PutAgentDeploymentCommandInput, PutAgentDeploymentCommandOutput } from "./commands/PutAgentDeploymentCommand";
|
|
22
|
+
import type { ResetAgentDeploymentCommandInput, ResetAgentDeploymentCommandOutput } from "./commands/ResetAgentDeploymentCommand";
|
|
24
23
|
import type { RestoreAgentVersionToDraftCommandInput, RestoreAgentVersionToDraftCommandOutput } from "./commands/RestoreAgentVersionToDraftCommand";
|
|
25
24
|
import type { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
26
|
-
import type { UpdateAgentDeploymentCommandInput, UpdateAgentDeploymentCommandOutput } from "./commands/UpdateAgentDeploymentCommand";
|
|
27
25
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
28
26
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
29
27
|
export { __Client };
|
|
30
28
|
/**
|
|
31
29
|
* @public
|
|
32
30
|
*/
|
|
33
|
-
export type ServiceInputTypes = CompareAgentVersionsCommandInput | CreateAgentApiKeyCommandInput | CreateAgentCommandInput |
|
|
31
|
+
export type ServiceInputTypes = CompareAgentVersionsCommandInput | CreateAgentApiKeyCommandInput | CreateAgentCommandInput | DeleteAgentApiKeyCommandInput | DeleteAgentCommandInput | GetAgentCommandInput | GetAgentDeploymentCommandInput | GetAgentVersionCommandInput | ListAgentApiKeysCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListAgentsNamesCommandInput | PublishAgentVersionCommandInput | PutAgentDeploymentCommandInput | ResetAgentDeploymentCommandInput | RestoreAgentVersionToDraftCommandInput | UpdateAgentCommandInput;
|
|
34
32
|
/**
|
|
35
33
|
* @public
|
|
36
34
|
*/
|
|
37
|
-
export type ServiceOutputTypes = CompareAgentVersionsCommandOutput | CreateAgentApiKeyCommandOutput | CreateAgentCommandOutput |
|
|
35
|
+
export type ServiceOutputTypes = CompareAgentVersionsCommandOutput | CreateAgentApiKeyCommandOutput | CreateAgentCommandOutput | DeleteAgentApiKeyCommandOutput | DeleteAgentCommandOutput | GetAgentCommandOutput | GetAgentDeploymentCommandOutput | GetAgentVersionCommandOutput | ListAgentApiKeysCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListAgentsNamesCommandOutput | PublishAgentVersionCommandOutput | PutAgentDeploymentCommandOutput | ResetAgentDeploymentCommandOutput | RestoreAgentVersionToDraftCommandOutput | UpdateAgentCommandOutput;
|
|
38
36
|
/**
|
|
39
37
|
* @public
|
|
40
38
|
*/
|
|
@@ -163,16 +161,11 @@ export type WilmaAgentsClientResolvedConfigType = __SmithyResolvedConfiguration<
|
|
|
163
161
|
export interface WilmaAgentsClientResolvedConfig extends WilmaAgentsClientResolvedConfigType {
|
|
164
162
|
}
|
|
165
163
|
/**
|
|
166
|
-
* Unified agent platform
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
* and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions,
|
|
172
|
-
* deployment traffic routing (rollback, canary) and API keys. The runtime lives in the
|
|
173
|
-
* per-channel services (wilma-assistant, wilma-chat, wilma-voice, wilma-workflows) and
|
|
174
|
-
* skills in wilma-skills. The company-wide audit trail lives in wilma-audit; evaluations
|
|
175
|
-
* in wilma-evaluations; observability in wilma-traces; analytics in wilma-analytics.
|
|
164
|
+
* Unified agent platform covering the agent lifecycle: draft editing, immutable
|
|
165
|
+
* published versions, deployment of new sessions across those versions and API keys.
|
|
166
|
+
* Each agent serves one or more channels (voice, chat, assistant or workflow) with
|
|
167
|
+
* per-channel settings; workflow agents have no delivery channel and run as
|
|
168
|
+
* background tasks — invoked by other agents, by automations or over the API.
|
|
176
169
|
* @public
|
|
177
170
|
*/
|
|
178
171
|
export declare class WilmaAgentsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ declare const CreateAgentCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Creates a new mutable agent draft. The agent serves no traffic until the draft is published and
|
|
30
|
+
* Creates a new mutable agent draft. The agent serves no traffic until the draft is published and PutAgentDeployment routes sessions to that version.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -86,12 +86,10 @@ declare const CreateAgentCommand_base: {
|
|
|
86
86
|
* callerEmail: true || false,
|
|
87
87
|
* callerCompany: true || false,
|
|
88
88
|
* time: true || false,
|
|
89
|
-
* timeZone: "STRING_VALUE",
|
|
90
89
|
* },
|
|
91
90
|
* },
|
|
92
91
|
* chat: { // ChatChannelSettings
|
|
93
92
|
* discoverable: true || false,
|
|
94
|
-
* artifacts: true || false,
|
|
95
93
|
* },
|
|
96
94
|
* assistant: { // AssistantChannelSettings
|
|
97
95
|
* default: true || false,
|
|
@@ -102,6 +100,8 @@ declare const CreateAgentCommand_base: {
|
|
|
102
100
|
* ai: { // AgentAiEngine
|
|
103
101
|
* instructions: "STRING_VALUE", // required
|
|
104
102
|
* model: "STRING_VALUE",
|
|
103
|
+
* timeZone: "STRING_VALUE",
|
|
104
|
+
* artifacts: true || false,
|
|
105
105
|
* skills: [ // AgentSkillsList
|
|
106
106
|
* { // AgentSkillReference
|
|
107
107
|
* id: "STRING_VALUE", // required
|
|
@@ -121,6 +121,7 @@ declare const CreateAgentCommand_base: {
|
|
|
121
121
|
* { // AgentCapability Union: only one key present
|
|
122
122
|
* tool: { // AgentTool
|
|
123
123
|
* id: "STRING_VALUE", // required
|
|
124
|
+
* toolVersion: Number("int"),
|
|
124
125
|
* description: "STRING_VALUE",
|
|
125
126
|
* fields: [ // AgentToolFieldsList
|
|
126
127
|
* { // AgentToolField
|
|
@@ -221,7 +222,7 @@ declare const CreateAgentCommand_base: {
|
|
|
221
222
|
* allowedDomains: [
|
|
222
223
|
* "STRING_VALUE",
|
|
223
224
|
* ],
|
|
224
|
-
*
|
|
225
|
+
* size: "min" || "small" || "large" || "max",
|
|
225
226
|
* },
|
|
226
227
|
* },
|
|
227
228
|
* webSearch: { // AgentWebSearchCapability
|
|
@@ -244,7 +245,6 @@ declare const CreateAgentCommand_base: {
|
|
|
244
245
|
* agent: { // AgentCallCapability
|
|
245
246
|
* agentId: "STRING_VALUE", // required
|
|
246
247
|
* agentVersion: Number("int"),
|
|
247
|
-
* agentDeployment: "STRING_VALUE",
|
|
248
248
|
* access: {
|
|
249
249
|
* visibility: "explicit" || "organization",
|
|
250
250
|
* grants: [
|
|
@@ -275,7 +275,6 @@ declare const CreateAgentCommand_base: {
|
|
|
275
275
|
* variant: "agent" || "service",
|
|
276
276
|
* agent: "STRING_VALUE",
|
|
277
277
|
* agentVersion: Number("int"),
|
|
278
|
-
* agentDeployment: "STRING_VALUE",
|
|
279
278
|
* service: "STRING_VALUE",
|
|
280
279
|
* silent: true || false,
|
|
281
280
|
* pipeline: { // AgentHandoverPipeline
|
|
@@ -304,7 +303,6 @@ declare const CreateAgentCommand_base: {
|
|
|
304
303
|
* description: "STRING_VALUE",
|
|
305
304
|
* id: "STRING_VALUE", // required
|
|
306
305
|
* agentVersion: Number("int"),
|
|
307
|
-
* agentDeployment: "STRING_VALUE",
|
|
308
306
|
* annotations: [
|
|
309
307
|
* {// Union: only one key present
|
|
310
308
|
* tag: {
|
|
@@ -436,12 +434,10 @@ declare const CreateAgentCommand_base: {
|
|
|
436
434
|
* // callerEmail: true || false,
|
|
437
435
|
* // callerCompany: true || false,
|
|
438
436
|
* // time: true || false,
|
|
439
|
-
* // timeZone: "STRING_VALUE",
|
|
440
437
|
* // },
|
|
441
438
|
* // },
|
|
442
439
|
* // chat: { // ChatChannelSettings
|
|
443
440
|
* // discoverable: true || false,
|
|
444
|
-
* // artifacts: true || false,
|
|
445
441
|
* // },
|
|
446
442
|
* // assistant: { // AssistantChannelSettings
|
|
447
443
|
* // default: true || false,
|
|
@@ -452,6 +448,8 @@ declare const CreateAgentCommand_base: {
|
|
|
452
448
|
* // ai: { // AgentAiEngine
|
|
453
449
|
* // instructions: "STRING_VALUE", // required
|
|
454
450
|
* // model: "STRING_VALUE",
|
|
451
|
+
* // timeZone: "STRING_VALUE",
|
|
452
|
+
* // artifacts: true || false,
|
|
455
453
|
* // skills: [ // AgentSkillsList
|
|
456
454
|
* // { // AgentSkillReference
|
|
457
455
|
* // id: "STRING_VALUE", // required
|
|
@@ -471,6 +469,7 @@ declare const CreateAgentCommand_base: {
|
|
|
471
469
|
* // { // AgentCapability Union: only one key present
|
|
472
470
|
* // tool: { // AgentTool
|
|
473
471
|
* // id: "STRING_VALUE", // required
|
|
472
|
+
* // toolVersion: Number("int"),
|
|
474
473
|
* // description: "STRING_VALUE",
|
|
475
474
|
* // fields: [ // AgentToolFieldsList
|
|
476
475
|
* // { // AgentToolField
|
|
@@ -571,7 +570,7 @@ declare const CreateAgentCommand_base: {
|
|
|
571
570
|
* // allowedDomains: [
|
|
572
571
|
* // "STRING_VALUE",
|
|
573
572
|
* // ],
|
|
574
|
-
* //
|
|
573
|
+
* // size: "min" || "small" || "large" || "max",
|
|
575
574
|
* // },
|
|
576
575
|
* // },
|
|
577
576
|
* // webSearch: { // AgentWebSearchCapability
|
|
@@ -594,7 +593,6 @@ declare const CreateAgentCommand_base: {
|
|
|
594
593
|
* // agent: { // AgentCallCapability
|
|
595
594
|
* // agentId: "STRING_VALUE", // required
|
|
596
595
|
* // agentVersion: Number("int"),
|
|
597
|
-
* // agentDeployment: "STRING_VALUE",
|
|
598
596
|
* // access: {
|
|
599
597
|
* // visibility: "explicit" || "organization",
|
|
600
598
|
* // grants: [
|
|
@@ -625,7 +623,6 @@ declare const CreateAgentCommand_base: {
|
|
|
625
623
|
* // variant: "agent" || "service",
|
|
626
624
|
* // agent: "STRING_VALUE",
|
|
627
625
|
* // agentVersion: Number("int"),
|
|
628
|
-
* // agentDeployment: "STRING_VALUE",
|
|
629
626
|
* // service: "STRING_VALUE",
|
|
630
627
|
* // silent: true || false,
|
|
631
628
|
* // pipeline: { // AgentHandoverPipeline
|
|
@@ -654,7 +651,6 @@ declare const CreateAgentCommand_base: {
|
|
|
654
651
|
* // description: "STRING_VALUE",
|
|
655
652
|
* // id: "STRING_VALUE", // required
|
|
656
653
|
* // agentVersion: Number("int"),
|
|
657
|
-
* // agentDeployment: "STRING_VALUE",
|
|
658
654
|
* // annotations: [
|
|
659
655
|
* // {// Union: only one key present
|
|
660
656
|
* // tag: {
|
|
@@ -748,31 +744,10 @@ declare const CreateAgentCommand_base: {
|
|
|
748
744
|
* // revision: Number("int"), // required
|
|
749
745
|
* // latestVersion: Number("int"),
|
|
750
746
|
* // draftBaseVersion: Number("int"),
|
|
751
|
-
* //
|
|
752
|
-
* // { //
|
|
753
|
-
* //
|
|
754
|
-
* //
|
|
755
|
-
* // type: "user" || "api_key" || "service", // required
|
|
756
|
-
* // id: "STRING_VALUE", // required
|
|
757
|
-
* // name: "STRING_VALUE",
|
|
758
|
-
* // },
|
|
759
|
-
* // updatedAt: "STRING_VALUE",
|
|
760
|
-
* // updatedBy: {
|
|
761
|
-
* // type: "user" || "api_key" || "service", // required
|
|
762
|
-
* // id: "STRING_VALUE", // required
|
|
763
|
-
* // name: "STRING_VALUE",
|
|
764
|
-
* // },
|
|
765
|
-
* // agentId: "STRING_VALUE", // required
|
|
766
|
-
* // name: "STRING_VALUE", // required
|
|
767
|
-
* // description: "STRING_VALUE",
|
|
768
|
-
* // status: "active" || "paused", // required
|
|
769
|
-
* // routing: [ // AgentDeploymentRoutesList // required
|
|
770
|
-
* // { // AgentDeploymentRoute
|
|
771
|
-
* // version: Number("int"), // required
|
|
772
|
-
* // percentage: Number("int"), // required
|
|
773
|
-
* // },
|
|
774
|
-
* // ],
|
|
775
|
-
* // revision: Number("int"), // required
|
|
747
|
+
* // deployment: [ // AgentDeploymentRoutesList
|
|
748
|
+
* // { // AgentDeploymentRoute
|
|
749
|
+
* // version: Number("int"), // required
|
|
750
|
+
* // percentage: Number("int"), // required
|
|
776
751
|
* // },
|
|
777
752
|
* // ],
|
|
778
753
|
* // },
|
|
@@ -27,7 +27,7 @@ declare const DeleteAgentCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Deletes an agent, its draft, versions
|
|
30
|
+
* Deletes an agent, its draft, versions and API keys. Fails with ConflictException while the agent has active sessions or is referenced by other agents.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -93,12 +93,10 @@ declare const GetAgentCommand_base: {
|
|
|
93
93
|
* // callerEmail: true || false,
|
|
94
94
|
* // callerCompany: true || false,
|
|
95
95
|
* // time: true || false,
|
|
96
|
-
* // timeZone: "STRING_VALUE",
|
|
97
96
|
* // },
|
|
98
97
|
* // },
|
|
99
98
|
* // chat: { // ChatChannelSettings
|
|
100
99
|
* // discoverable: true || false,
|
|
101
|
-
* // artifacts: true || false,
|
|
102
100
|
* // },
|
|
103
101
|
* // assistant: { // AssistantChannelSettings
|
|
104
102
|
* // default: true || false,
|
|
@@ -109,6 +107,8 @@ declare const GetAgentCommand_base: {
|
|
|
109
107
|
* // ai: { // AgentAiEngine
|
|
110
108
|
* // instructions: "STRING_VALUE", // required
|
|
111
109
|
* // model: "STRING_VALUE",
|
|
110
|
+
* // timeZone: "STRING_VALUE",
|
|
111
|
+
* // artifacts: true || false,
|
|
112
112
|
* // skills: [ // AgentSkillsList
|
|
113
113
|
* // { // AgentSkillReference
|
|
114
114
|
* // id: "STRING_VALUE", // required
|
|
@@ -128,6 +128,7 @@ declare const GetAgentCommand_base: {
|
|
|
128
128
|
* // { // AgentCapability Union: only one key present
|
|
129
129
|
* // tool: { // AgentTool
|
|
130
130
|
* // id: "STRING_VALUE", // required
|
|
131
|
+
* // toolVersion: Number("int"),
|
|
131
132
|
* // description: "STRING_VALUE",
|
|
132
133
|
* // fields: [ // AgentToolFieldsList
|
|
133
134
|
* // { // AgentToolField
|
|
@@ -228,7 +229,7 @@ declare const GetAgentCommand_base: {
|
|
|
228
229
|
* // allowedDomains: [
|
|
229
230
|
* // "STRING_VALUE",
|
|
230
231
|
* // ],
|
|
231
|
-
* //
|
|
232
|
+
* // size: "min" || "small" || "large" || "max",
|
|
232
233
|
* // },
|
|
233
234
|
* // },
|
|
234
235
|
* // webSearch: { // AgentWebSearchCapability
|
|
@@ -251,7 +252,6 @@ declare const GetAgentCommand_base: {
|
|
|
251
252
|
* // agent: { // AgentCallCapability
|
|
252
253
|
* // agentId: "STRING_VALUE", // required
|
|
253
254
|
* // agentVersion: Number("int"),
|
|
254
|
-
* // agentDeployment: "STRING_VALUE",
|
|
255
255
|
* // access: {
|
|
256
256
|
* // visibility: "explicit" || "organization",
|
|
257
257
|
* // grants: [
|
|
@@ -282,7 +282,6 @@ declare const GetAgentCommand_base: {
|
|
|
282
282
|
* // variant: "agent" || "service",
|
|
283
283
|
* // agent: "STRING_VALUE",
|
|
284
284
|
* // agentVersion: Number("int"),
|
|
285
|
-
* // agentDeployment: "STRING_VALUE",
|
|
286
285
|
* // service: "STRING_VALUE",
|
|
287
286
|
* // silent: true || false,
|
|
288
287
|
* // pipeline: { // AgentHandoverPipeline
|
|
@@ -311,7 +310,6 @@ declare const GetAgentCommand_base: {
|
|
|
311
310
|
* // description: "STRING_VALUE",
|
|
312
311
|
* // id: "STRING_VALUE", // required
|
|
313
312
|
* // agentVersion: Number("int"),
|
|
314
|
-
* // agentDeployment: "STRING_VALUE",
|
|
315
313
|
* // annotations: [
|
|
316
314
|
* // {// Union: only one key present
|
|
317
315
|
* // tag: {
|
|
@@ -405,31 +403,10 @@ declare const GetAgentCommand_base: {
|
|
|
405
403
|
* // revision: Number("int"), // required
|
|
406
404
|
* // latestVersion: Number("int"),
|
|
407
405
|
* // draftBaseVersion: Number("int"),
|
|
408
|
-
* //
|
|
409
|
-
* // { //
|
|
410
|
-
* //
|
|
411
|
-
* //
|
|
412
|
-
* // type: "user" || "api_key" || "service", // required
|
|
413
|
-
* // id: "STRING_VALUE", // required
|
|
414
|
-
* // name: "STRING_VALUE",
|
|
415
|
-
* // },
|
|
416
|
-
* // updatedAt: "STRING_VALUE",
|
|
417
|
-
* // updatedBy: {
|
|
418
|
-
* // type: "user" || "api_key" || "service", // required
|
|
419
|
-
* // id: "STRING_VALUE", // required
|
|
420
|
-
* // name: "STRING_VALUE",
|
|
421
|
-
* // },
|
|
422
|
-
* // agentId: "STRING_VALUE", // required
|
|
423
|
-
* // name: "STRING_VALUE", // required
|
|
424
|
-
* // description: "STRING_VALUE",
|
|
425
|
-
* // status: "active" || "paused", // required
|
|
426
|
-
* // routing: [ // AgentDeploymentRoutesList // required
|
|
427
|
-
* // { // AgentDeploymentRoute
|
|
428
|
-
* // version: Number("int"), // required
|
|
429
|
-
* // percentage: Number("int"), // required
|
|
430
|
-
* // },
|
|
431
|
-
* // ],
|
|
432
|
-
* // revision: Number("int"), // required
|
|
406
|
+
* // deployment: [ // AgentDeploymentRoutesList
|
|
407
|
+
* // { // AgentDeploymentRoute
|
|
408
|
+
* // version: Number("int"), // required
|
|
409
|
+
* // percentage: Number("int"), // required
|
|
433
410
|
* // },
|
|
434
411
|
* // ],
|
|
435
412
|
* // },
|
|
@@ -27,7 +27,7 @@ declare const GetAgentDeploymentCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Retrieves
|
|
30
|
+
* Retrieves how new sessions are currently split across the agent's published versions.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -39,36 +39,16 @@ declare const GetAgentDeploymentCommand_base: {
|
|
|
39
39
|
* const input = { // GetAgentDeploymentInput
|
|
40
40
|
* company: "STRING_VALUE",
|
|
41
41
|
* agentId: "STRING_VALUE", // required
|
|
42
|
-
* deploymentName: "STRING_VALUE", // required
|
|
43
42
|
* };
|
|
44
43
|
* const command = new GetAgentDeploymentCommand(input);
|
|
45
44
|
* const response = await client.send(command);
|
|
46
45
|
* // { // GetAgentDeploymentOutput
|
|
47
|
-
* // deployment:
|
|
48
|
-
* //
|
|
49
|
-
* //
|
|
50
|
-
* //
|
|
51
|
-
* // id: "STRING_VALUE", // required
|
|
52
|
-
* // name: "STRING_VALUE",
|
|
46
|
+
* // deployment: [ // AgentDeploymentRoutesList
|
|
47
|
+
* // { // AgentDeploymentRoute
|
|
48
|
+
* // version: Number("int"), // required
|
|
49
|
+
* // percentage: Number("int"), // required
|
|
53
50
|
* // },
|
|
54
|
-
* //
|
|
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
|
-
* // },
|
|
51
|
+
* // ],
|
|
72
52
|
* // };
|
|
73
53
|
*
|
|
74
54
|
* ```
|
|
@@ -100,12 +100,10 @@ declare const GetAgentVersionCommand_base: {
|
|
|
100
100
|
* // callerEmail: true || false,
|
|
101
101
|
* // callerCompany: true || false,
|
|
102
102
|
* // time: true || false,
|
|
103
|
-
* // timeZone: "STRING_VALUE",
|
|
104
103
|
* // },
|
|
105
104
|
* // },
|
|
106
105
|
* // chat: { // ChatChannelSettings
|
|
107
106
|
* // discoverable: true || false,
|
|
108
|
-
* // artifacts: true || false,
|
|
109
107
|
* // },
|
|
110
108
|
* // assistant: { // AssistantChannelSettings
|
|
111
109
|
* // default: true || false,
|
|
@@ -116,6 +114,8 @@ declare const GetAgentVersionCommand_base: {
|
|
|
116
114
|
* // ai: { // AgentAiEngine
|
|
117
115
|
* // instructions: "STRING_VALUE", // required
|
|
118
116
|
* // model: "STRING_VALUE",
|
|
117
|
+
* // timeZone: "STRING_VALUE",
|
|
118
|
+
* // artifacts: true || false,
|
|
119
119
|
* // skills: [ // AgentSkillsList
|
|
120
120
|
* // { // AgentSkillReference
|
|
121
121
|
* // id: "STRING_VALUE", // required
|
|
@@ -135,6 +135,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
135
135
|
* // { // AgentCapability Union: only one key present
|
|
136
136
|
* // tool: { // AgentTool
|
|
137
137
|
* // id: "STRING_VALUE", // required
|
|
138
|
+
* // toolVersion: Number("int"),
|
|
138
139
|
* // description: "STRING_VALUE",
|
|
139
140
|
* // fields: [ // AgentToolFieldsList
|
|
140
141
|
* // { // AgentToolField
|
|
@@ -235,7 +236,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
235
236
|
* // allowedDomains: [
|
|
236
237
|
* // "STRING_VALUE",
|
|
237
238
|
* // ],
|
|
238
|
-
* //
|
|
239
|
+
* // size: "min" || "small" || "large" || "max",
|
|
239
240
|
* // },
|
|
240
241
|
* // },
|
|
241
242
|
* // webSearch: { // AgentWebSearchCapability
|
|
@@ -258,7 +259,6 @@ declare const GetAgentVersionCommand_base: {
|
|
|
258
259
|
* // agent: { // AgentCallCapability
|
|
259
260
|
* // agentId: "STRING_VALUE", // required
|
|
260
261
|
* // agentVersion: Number("int"),
|
|
261
|
-
* // agentDeployment: "STRING_VALUE",
|
|
262
262
|
* // access: {
|
|
263
263
|
* // visibility: "explicit" || "organization",
|
|
264
264
|
* // grants: [
|
|
@@ -289,7 +289,6 @@ declare const GetAgentVersionCommand_base: {
|
|
|
289
289
|
* // variant: "agent" || "service",
|
|
290
290
|
* // agent: "STRING_VALUE",
|
|
291
291
|
* // agentVersion: Number("int"),
|
|
292
|
-
* // agentDeployment: "STRING_VALUE",
|
|
293
292
|
* // service: "STRING_VALUE",
|
|
294
293
|
* // silent: true || false,
|
|
295
294
|
* // pipeline: { // AgentHandoverPipeline
|
|
@@ -318,7 +317,6 @@ declare const GetAgentVersionCommand_base: {
|
|
|
318
317
|
* // description: "STRING_VALUE",
|
|
319
318
|
* // id: "STRING_VALUE", // required
|
|
320
319
|
* // agentVersion: Number("int"),
|
|
321
|
-
* // agentDeployment: "STRING_VALUE",
|
|
322
320
|
* // annotations: [
|
|
323
321
|
* // {// Union: only one key present
|
|
324
322
|
* // tag: {
|
|
@@ -58,9 +58,6 @@ declare const ListAgentVersionsCommand_base: {
|
|
|
58
58
|
* // id: "STRING_VALUE", // required
|
|
59
59
|
* // name: "STRING_VALUE",
|
|
60
60
|
* // },
|
|
61
|
-
* // deployments: [ // AgentDeploymentNamesList
|
|
62
|
-
* // "STRING_VALUE",
|
|
63
|
-
* // ],
|
|
64
61
|
* // },
|
|
65
62
|
* // ],
|
|
66
63
|
* // nextCursor: "STRING_VALUE",
|