@wildix/wilma-agents-client 1.0.13 → 1.0.14

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 (29) hide show
  1. package/dist-cjs/models/enums.js +7 -7
  2. package/dist-cjs/models/errors.js +16 -110
  3. package/dist-cjs/schemas/schemas_0.js +208 -209
  4. package/dist-es/models/enums.js +6 -6
  5. package/dist-es/models/errors.js +12 -100
  6. package/dist-es/schemas/schemas_0.js +206 -207
  7. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +1 -3
  8. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateAgentCommand.d.ts +90 -61
  10. package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +3 -4
  11. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
  12. package/dist-types/commands/DeleteAgentCommand.d.ts +3 -3
  13. package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +3 -5
  14. package/dist-types/commands/GetAgentCommand.d.ts +45 -31
  15. package/dist-types/commands/GetAgentDeploymentCommand.d.ts +1 -3
  16. package/dist-types/commands/GetAgentVersionCommand.d.ts +45 -33
  17. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -1
  18. package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListAgentVersionsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListAgentsCommand.d.ts +44 -30
  21. package/dist-types/commands/PublishAgentVersionCommand.d.ts +45 -31
  22. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +45 -33
  23. package/dist-types/commands/UpdateAgentCommand.d.ts +91 -62
  24. package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +1 -5
  25. package/dist-types/models/enums.d.ts +26 -26
  26. package/dist-types/models/errors.d.ts +10 -85
  27. package/dist-types/models/models_0.d.ts +177 -15
  28. package/dist-types/schemas/schemas_0.d.ts +8 -8
  29. package/package.json +1 -1
@@ -11,6 +11,12 @@ export const AgentDeploymentStatus = {
11
11
  ACTIVE: "active",
12
12
  PAUSED: "paused",
13
13
  };
14
+ export const AgentToolPipelineType = {
15
+ ASYNC_REQUEST: "async_request",
16
+ ASYNC_REQUEST_GUIDED: "async_request_guided",
17
+ BLOCKING_REQUEST: "blocking_request",
18
+ BLOCKING_REQUEST_GUIDED: "blocking_request_guided",
19
+ };
14
20
  export const AgentHandoverPipelineType = {
15
21
  HANDOVER: "handover",
16
22
  REPLY_AND_HANDOVER: "reply_and_handover",
@@ -30,12 +36,6 @@ export const SandboxNetworkAccess = {
30
36
  ALLOWLIST: "allowlist",
31
37
  NONE: "deny-all",
32
38
  };
33
- export const AgentToolPipelineType = {
34
- ASYNC_REQUEST: "async_request",
35
- ASYNC_REQUEST_GUIDED: "async_request_guided",
36
- BLOCKING_REQUEST: "blocking_request",
37
- BLOCKING_REQUEST_GUIDED: "blocking_request_guided",
38
- };
39
39
  export const AgentTransferPipelineType = {
40
40
  REPLY_AND_TRANSFER: "reply_and_transfer",
41
41
  REPLY_INSTRUCTED_AND_TRANSFER: "reply_instructed_and_transfer",
@@ -1,126 +1,38 @@
1
1
  import { WilmaAgentsServiceException as __BaseException } from "./WilmaAgentsServiceException";
2
- export class ValidationException extends __BaseException {
3
- name = "ValidationException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "ValidationException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, ValidationException.prototype);
12
- }
13
- }
14
- export class AgentApiKeyNotFoundException extends __BaseException {
15
- name = "AgentApiKeyNotFoundException";
16
- $fault = "client";
17
- type;
18
- constructor(opts) {
19
- super({
20
- name: "AgentApiKeyNotFoundException",
21
- $fault: "client",
22
- ...opts,
23
- });
24
- Object.setPrototypeOf(this, AgentApiKeyNotFoundException.prototype);
25
- this.type = opts.type;
26
- }
27
- }
28
- export class AgentDeploymentInUseException extends __BaseException {
29
- name = "AgentDeploymentInUseException";
30
- $fault = "client";
31
- type;
32
- constructor(opts) {
33
- super({
34
- name: "AgentDeploymentInUseException",
35
- $fault: "client",
36
- ...opts,
37
- });
38
- Object.setPrototypeOf(this, AgentDeploymentInUseException.prototype);
39
- this.type = opts.type;
40
- }
41
- }
42
- export class AgentDeploymentNonUniqueNameException extends __BaseException {
43
- name = "AgentDeploymentNonUniqueNameException";
44
- $fault = "client";
45
- type;
46
- constructor(opts) {
47
- super({
48
- name: "AgentDeploymentNonUniqueNameException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- Object.setPrototypeOf(this, AgentDeploymentNonUniqueNameException.prototype);
53
- this.type = opts.type;
54
- }
55
- }
56
- export class AgentDeploymentNotFoundException extends __BaseException {
57
- name = "AgentDeploymentNotFoundException";
58
- $fault = "client";
59
- type;
60
- constructor(opts) {
61
- super({
62
- name: "AgentDeploymentNotFoundException",
63
- $fault: "client",
64
- ...opts,
65
- });
66
- Object.setPrototypeOf(this, AgentDeploymentNotFoundException.prototype);
67
- this.type = opts.type;
68
- }
69
- }
70
- export class AgentInUseException extends __BaseException {
71
- name = "AgentInUseException";
72
- $fault = "client";
73
- type;
74
- constructor(opts) {
75
- super({
76
- name: "AgentInUseException",
77
- $fault: "client",
78
- ...opts,
79
- });
80
- Object.setPrototypeOf(this, AgentInUseException.prototype);
81
- this.type = opts.type;
82
- }
83
- }
84
- export class AgentNonUniqueNameException extends __BaseException {
85
- name = "AgentNonUniqueNameException";
2
+ export class ConflictException extends __BaseException {
3
+ name = "ConflictException";
86
4
  $fault = "client";
87
- type;
88
5
  constructor(opts) {
89
6
  super({
90
- name: "AgentNonUniqueNameException",
7
+ name: "ConflictException",
91
8
  $fault: "client",
92
9
  ...opts,
93
10
  });
94
- Object.setPrototypeOf(this, AgentNonUniqueNameException.prototype);
95
- this.type = opts.type;
11
+ Object.setPrototypeOf(this, ConflictException.prototype);
96
12
  }
97
13
  }
98
- export class AgentNotFoundException extends __BaseException {
99
- name = "AgentNotFoundException";
14
+ export class NotFoundException extends __BaseException {
15
+ name = "NotFoundException";
100
16
  $fault = "client";
101
- type;
102
17
  constructor(opts) {
103
18
  super({
104
- name: "AgentNotFoundException",
19
+ name: "NotFoundException",
105
20
  $fault: "client",
106
21
  ...opts,
107
22
  });
108
- Object.setPrototypeOf(this, AgentNotFoundException.prototype);
109
- this.type = opts.type;
23
+ Object.setPrototypeOf(this, NotFoundException.prototype);
110
24
  }
111
25
  }
112
- export class AgentVersionNotFoundException extends __BaseException {
113
- name = "AgentVersionNotFoundException";
26
+ export class ValidationException extends __BaseException {
27
+ name = "ValidationException";
114
28
  $fault = "client";
115
- type;
116
29
  constructor(opts) {
117
30
  super({
118
- name: "AgentVersionNotFoundException",
31
+ name: "ValidationException",
119
32
  $fault: "client",
120
33
  ...opts,
121
34
  });
122
- Object.setPrototypeOf(this, AgentVersionNotFoundException.prototype);
123
- this.type = opts.type;
35
+ Object.setPrototypeOf(this, ValidationException.prototype);
124
36
  }
125
37
  }
126
38
  export class NothingToPublishException extends __BaseException {