@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.
Files changed (72) hide show
  1. package/dist-cjs/WilmaAgents.js +12 -20
  2. package/dist-cjs/commands/{DeleteGuardrailCommand.js → CreateAgentDeploymentCommand.js} +6 -6
  3. package/dist-cjs/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +6 -6
  4. package/dist-cjs/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +6 -6
  5. package/dist-cjs/commands/{DeleteAgentAliasCommand.js → ListAgentDeploymentsCommand.js} +6 -6
  6. package/dist-cjs/commands/RestoreAgentVersionToDraftCommand.js +20 -0
  7. package/dist-cjs/commands/UpdateAgentDeploymentCommand.js +20 -0
  8. package/dist-cjs/commands/index.js +6 -10
  9. package/dist-cjs/models/enums.js +36 -81
  10. package/dist-cjs/models/errors.js +51 -36
  11. package/dist-cjs/schemas/schemas_0.js +356 -538
  12. package/dist-es/WilmaAgents.js +12 -20
  13. package/dist-es/commands/{DeleteAgentAliasCommand.js → CreateAgentDeploymentCommand.js} +5 -5
  14. package/dist-es/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +5 -5
  15. package/dist-es/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +5 -5
  16. package/dist-es/commands/{DeleteGuardrailCommand.js → ListAgentDeploymentsCommand.js} +5 -5
  17. package/dist-es/commands/RestoreAgentVersionToDraftCommand.js +16 -0
  18. package/dist-es/commands/UpdateAgentDeploymentCommand.js +16 -0
  19. package/dist-es/commands/index.js +6 -10
  20. package/dist-es/models/enums.js +35 -80
  21. package/dist-es/models/errors.js +42 -28
  22. package/dist-es/schemas/schemas_0.js +354 -535
  23. package/dist-types/WilmaAgents.d.ts +42 -71
  24. package/dist-types/WilmaAgentsClient.d.ts +16 -19
  25. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +5 -5
  26. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -3
  27. package/dist-types/commands/CreateAgentCommand.d.ts +450 -323
  28. package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +116 -0
  29. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
  30. package/dist-types/commands/DeleteAgentCommand.d.ts +5 -4
  31. package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +83 -0
  32. package/dist-types/commands/GetAgentCommand.d.ts +236 -169
  33. package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
  34. package/dist-types/commands/GetAgentVersionCommand.d.ts +216 -156
  35. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -3
  36. package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +105 -0
  37. package/dist-types/commands/ListAgentVersionsCommand.d.ts +6 -6
  38. package/dist-types/commands/ListAgentsCommand.d.ts +240 -173
  39. package/dist-types/commands/ListAgentsNamesCommand.d.ts +5 -7
  40. package/dist-types/commands/PublishAgentVersionCommand.d.ts +219 -158
  41. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
  42. package/dist-types/commands/UpdateAgentCommand.d.ts +450 -323
  43. package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +120 -0
  44. package/dist-types/commands/index.d.ts +6 -10
  45. package/dist-types/index.d.ts +8 -7
  46. package/dist-types/models/enums.d.ts +126 -161
  47. package/dist-types/models/errors.d.ts +35 -22
  48. package/dist-types/models/models_0.d.ts +689 -741
  49. package/dist-types/schemas/schemas_0.d.ts +41 -61
  50. package/package.json +1 -1
  51. package/dist-cjs/commands/GetGuardrailCommand.js +0 -20
  52. package/dist-cjs/commands/ListAgentAliasesCommand.js +0 -20
  53. package/dist-cjs/commands/ListAuditRecordsCommand.js +0 -20
  54. package/dist-cjs/commands/ListGuardrailsCommand.js +0 -20
  55. package/dist-cjs/commands/PutAgentAliasCommand.js +0 -20
  56. package/dist-cjs/commands/UpdateGuardrailCommand.js +0 -20
  57. package/dist-es/commands/GetGuardrailCommand.js +0 -16
  58. package/dist-es/commands/ListAgentAliasesCommand.js +0 -16
  59. package/dist-es/commands/ListAuditRecordsCommand.js +0 -16
  60. package/dist-es/commands/ListGuardrailsCommand.js +0 -16
  61. package/dist-es/commands/PutAgentAliasCommand.js +0 -16
  62. package/dist-es/commands/UpdateGuardrailCommand.js +0 -16
  63. package/dist-types/commands/CreateGuardrailCommand.d.ts +0 -172
  64. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +0 -82
  65. package/dist-types/commands/DeleteGuardrailCommand.d.ts +0 -80
  66. package/dist-types/commands/ExecuteAgentCommand.d.ts +0 -112
  67. package/dist-types/commands/GetGuardrailCommand.d.ts +0 -135
  68. package/dist-types/commands/ListAgentAliasesCommand.d.ts +0 -99
  69. package/dist-types/commands/ListAuditRecordsCommand.d.ts +0 -109
  70. package/dist-types/commands/ListGuardrailsCommand.d.ts +0 -137
  71. package/dist-types/commands/PutAgentAliasCommand.d.ts +0 -107
  72. 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 AgentAliasNotFoundException extends __BaseException {
18
- readonly name: "AgentAliasNotFoundException";
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<AgentAliasNotFoundException, __BaseException>);
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 AgentApiKeyNotFoundException extends __BaseException {
30
- readonly name: "AgentApiKeyNotFoundException";
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<AgentApiKeyNotFoundException, __BaseException>);
37
+ constructor(opts: __ExceptionOptionType<AgentDeploymentInUseException, __BaseException>);
37
38
  }
38
39
  /**
39
40
  * @public
40
41
  */
41
- export declare class AgentNonUniqueNameException extends __BaseException {
42
- readonly name: "AgentNonUniqueNameException";
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<AgentNonUniqueNameException, __BaseException>);
49
+ constructor(opts: __ExceptionOptionType<AgentDeploymentNonUniqueNameException, __BaseException>);
49
50
  }
50
51
  /**
51
52
  * @public
52
53
  */
53
- export declare class AgentNotFoundException extends __BaseException {
54
- readonly name: "AgentNotFoundException";
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<AgentNotFoundException, __BaseException>);
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 AgentVersionNotFoundException extends __BaseException {
66
- readonly name: "AgentVersionNotFoundException";
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<AgentVersionNotFoundException, __BaseException>);
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 GuardrailInUseException extends __BaseException {
79
- readonly name: "GuardrailInUseException";
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<GuardrailInUseException, __BaseException>);
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 GuardrailNotFoundException extends __BaseException {
91
- readonly name: "GuardrailNotFoundException";
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<GuardrailNotFoundException, __BaseException>);
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.