@wildix/wilma-agents-client 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/WilmaAgents.js +12 -20
- package/dist-cjs/commands/{DeleteGuardrailCommand.js → CreateAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{DeleteAgentAliasCommand.js → ListAgentDeploymentsCommand.js} +6 -6
- package/dist-cjs/commands/RestoreAgentVersionToDraftCommand.js +20 -0
- package/dist-cjs/commands/UpdateAgentDeploymentCommand.js +20 -0
- package/dist-cjs/commands/index.js +6 -10
- package/dist-cjs/models/enums.js +36 -81
- package/dist-cjs/models/errors.js +51 -36
- package/dist-cjs/schemas/schemas_0.js +356 -538
- package/dist-es/WilmaAgents.js +12 -20
- package/dist-es/commands/{DeleteAgentAliasCommand.js → CreateAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{DeleteGuardrailCommand.js → ListAgentDeploymentsCommand.js} +5 -5
- package/dist-es/commands/RestoreAgentVersionToDraftCommand.js +16 -0
- package/dist-es/commands/UpdateAgentDeploymentCommand.js +16 -0
- package/dist-es/commands/index.js +6 -10
- package/dist-es/models/enums.js +35 -80
- package/dist-es/models/errors.js +42 -28
- package/dist-es/schemas/schemas_0.js +354 -535
- package/dist-types/WilmaAgents.d.ts +42 -71
- package/dist-types/WilmaAgentsClient.d.ts +16 -19
- package/dist-types/commands/CompareAgentVersionsCommand.d.ts +5 -5
- package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -3
- package/dist-types/commands/CreateAgentCommand.d.ts +450 -323
- package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +116 -0
- package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
- package/dist-types/commands/DeleteAgentCommand.d.ts +5 -4
- package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +83 -0
- package/dist-types/commands/GetAgentCommand.d.ts +236 -169
- package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +216 -156
- package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -3
- package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +105 -0
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +6 -6
- package/dist-types/commands/ListAgentsCommand.d.ts +240 -173
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +5 -7
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +219 -158
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +450 -323
- package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +6 -10
- package/dist-types/index.d.ts +8 -7
- package/dist-types/models/enums.d.ts +126 -161
- package/dist-types/models/errors.d.ts +35 -22
- package/dist-types/models/models_0.d.ts +689 -741
- package/dist-types/schemas/schemas_0.d.ts +41 -61
- package/package.json +1 -1
- package/dist-cjs/commands/GetGuardrailCommand.js +0 -20
- package/dist-cjs/commands/ListAgentAliasesCommand.js +0 -20
- package/dist-cjs/commands/ListAuditRecordsCommand.js +0 -20
- package/dist-cjs/commands/ListGuardrailsCommand.js +0 -20
- package/dist-cjs/commands/PutAgentAliasCommand.js +0 -20
- package/dist-cjs/commands/UpdateGuardrailCommand.js +0 -20
- package/dist-es/commands/GetGuardrailCommand.js +0 -16
- package/dist-es/commands/ListAgentAliasesCommand.js +0 -16
- package/dist-es/commands/ListAuditRecordsCommand.js +0 -16
- package/dist-es/commands/ListGuardrailsCommand.js +0 -16
- package/dist-es/commands/PutAgentAliasCommand.js +0 -16
- package/dist-es/commands/UpdateGuardrailCommand.js +0 -16
- package/dist-types/commands/CreateGuardrailCommand.d.ts +0 -172
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +0 -82
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +0 -80
- package/dist-types/commands/ExecuteAgentCommand.d.ts +0 -112
- package/dist-types/commands/GetGuardrailCommand.d.ts +0 -135
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +0 -99
- package/dist-types/commands/ListAuditRecordsCommand.d.ts +0 -109
- package/dist-types/commands/ListGuardrailsCommand.d.ts +0 -137
- package/dist-types/commands/PutAgentAliasCommand.d.ts +0 -107
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +0 -175
|
@@ -14,87 +14,100 @@ export declare class ValidationException extends __BaseException {
|
|
|
14
14
|
/**
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export declare class
|
|
18
|
-
readonly name: "
|
|
17
|
+
export declare class AgentApiKeyNotFoundException extends __BaseException {
|
|
18
|
+
readonly name: "AgentApiKeyNotFoundException";
|
|
19
19
|
readonly $fault: "client";
|
|
20
20
|
type?: string | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
|
-
constructor(opts: __ExceptionOptionType<
|
|
24
|
+
constructor(opts: __ExceptionOptionType<AgentApiKeyNotFoundException, __BaseException>);
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
+
* The deployment cannot be deleted because it is the agent's required 'production' deployment or is referenced by another agent capability.
|
|
27
28
|
* @public
|
|
28
29
|
*/
|
|
29
|
-
export declare class
|
|
30
|
-
readonly name: "
|
|
30
|
+
export declare class AgentDeploymentInUseException extends __BaseException {
|
|
31
|
+
readonly name: "AgentDeploymentInUseException";
|
|
31
32
|
readonly $fault: "client";
|
|
32
33
|
type?: string | undefined;
|
|
33
34
|
/**
|
|
34
35
|
* @internal
|
|
35
36
|
*/
|
|
36
|
-
constructor(opts: __ExceptionOptionType<
|
|
37
|
+
constructor(opts: __ExceptionOptionType<AgentDeploymentInUseException, __BaseException>);
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
40
|
* @public
|
|
40
41
|
*/
|
|
41
|
-
export declare class
|
|
42
|
-
readonly name: "
|
|
42
|
+
export declare class AgentDeploymentNonUniqueNameException extends __BaseException {
|
|
43
|
+
readonly name: "AgentDeploymentNonUniqueNameException";
|
|
43
44
|
readonly $fault: "client";
|
|
44
45
|
type?: string | undefined;
|
|
45
46
|
/**
|
|
46
47
|
* @internal
|
|
47
48
|
*/
|
|
48
|
-
constructor(opts: __ExceptionOptionType<
|
|
49
|
+
constructor(opts: __ExceptionOptionType<AgentDeploymentNonUniqueNameException, __BaseException>);
|
|
49
50
|
}
|
|
50
51
|
/**
|
|
51
52
|
* @public
|
|
52
53
|
*/
|
|
53
|
-
export declare class
|
|
54
|
-
readonly name: "
|
|
54
|
+
export declare class AgentDeploymentNotFoundException extends __BaseException {
|
|
55
|
+
readonly name: "AgentDeploymentNotFoundException";
|
|
55
56
|
readonly $fault: "client";
|
|
56
57
|
type?: string | undefined;
|
|
57
58
|
/**
|
|
58
59
|
* @internal
|
|
59
60
|
*/
|
|
60
|
-
constructor(opts: __ExceptionOptionType<
|
|
61
|
+
constructor(opts: __ExceptionOptionType<AgentDeploymentNotFoundException, __BaseException>);
|
|
61
62
|
}
|
|
62
63
|
/**
|
|
64
|
+
* The agent cannot be deleted because it has active sessions or is referenced by other agents (delegation, handover or agent-call capabilities). Recent invocations can be inspected via the wilma-traces QueryUsage operation filtered by agent.id.
|
|
63
65
|
* @public
|
|
64
66
|
*/
|
|
65
|
-
export declare class
|
|
66
|
-
readonly name: "
|
|
67
|
+
export declare class AgentInUseException extends __BaseException {
|
|
68
|
+
readonly name: "AgentInUseException";
|
|
67
69
|
readonly $fault: "client";
|
|
68
70
|
type?: string | undefined;
|
|
69
71
|
/**
|
|
70
72
|
* @internal
|
|
71
73
|
*/
|
|
72
|
-
constructor(opts: __ExceptionOptionType<
|
|
74
|
+
constructor(opts: __ExceptionOptionType<AgentInUseException, __BaseException>);
|
|
73
75
|
}
|
|
74
76
|
/**
|
|
75
|
-
* The guardrail is referenced by at least one agent and cannot be deleted.
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
|
-
export declare class
|
|
79
|
-
readonly name: "
|
|
79
|
+
export declare class AgentNonUniqueNameException extends __BaseException {
|
|
80
|
+
readonly name: "AgentNonUniqueNameException";
|
|
80
81
|
readonly $fault: "client";
|
|
81
82
|
type?: string | undefined;
|
|
82
83
|
/**
|
|
83
84
|
* @internal
|
|
84
85
|
*/
|
|
85
|
-
constructor(opts: __ExceptionOptionType<
|
|
86
|
+
constructor(opts: __ExceptionOptionType<AgentNonUniqueNameException, __BaseException>);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class AgentNotFoundException extends __BaseException {
|
|
92
|
+
readonly name: "AgentNotFoundException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
type?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
constructor(opts: __ExceptionOptionType<AgentNotFoundException, __BaseException>);
|
|
86
99
|
}
|
|
87
100
|
/**
|
|
88
101
|
* @public
|
|
89
102
|
*/
|
|
90
|
-
export declare class
|
|
91
|
-
readonly name: "
|
|
103
|
+
export declare class AgentVersionNotFoundException extends __BaseException {
|
|
104
|
+
readonly name: "AgentVersionNotFoundException";
|
|
92
105
|
readonly $fault: "client";
|
|
93
106
|
type?: string | undefined;
|
|
94
107
|
/**
|
|
95
108
|
* @internal
|
|
96
109
|
*/
|
|
97
|
-
constructor(opts: __ExceptionOptionType<
|
|
110
|
+
constructor(opts: __ExceptionOptionType<AgentVersionNotFoundException, __BaseException>);
|
|
98
111
|
}
|
|
99
112
|
/**
|
|
100
113
|
* The draft has not changed since the last published version; there is nothing to publish.
|