@wildix/wilma-agents-client 1.0.12 → 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
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChannelType = exports.AgentStatus = exports.AgentVariableType = exports.WebSearchContextSize = exports.AgentTransferVariant = exports.AgentTransferPipelineType = exports.AgentToolPipelineType = exports.SandboxNetworkAccess = exports.AgentHangupPipelineType = exports.AgentHandoverVariant = exports.AgentHandoverPipelineType = exports.AgentDeploymentStatus = exports.ActorType = exports.AgentVisibility = void 0;
3
+ exports.ChannelType = exports.AgentStatus = exports.AgentVariableType = exports.WebSearchContextSize = exports.AgentTransferVariant = exports.AgentTransferPipelineType = exports.SandboxNetworkAccess = exports.AgentHangupPipelineType = exports.AgentHandoverVariant = exports.AgentHandoverPipelineType = exports.AgentToolPipelineType = exports.AgentDeploymentStatus = exports.ActorType = exports.AgentVisibility = void 0;
4
4
  exports.AgentVisibility = {
5
5
  EXPLICIT: "explicit",
6
6
  ORGANIZATION: "organization",
@@ -14,6 +14,12 @@ exports.AgentDeploymentStatus = {
14
14
  ACTIVE: "active",
15
15
  PAUSED: "paused",
16
16
  };
17
+ exports.AgentToolPipelineType = {
18
+ ASYNC_REQUEST: "async_request",
19
+ ASYNC_REQUEST_GUIDED: "async_request_guided",
20
+ BLOCKING_REQUEST: "blocking_request",
21
+ BLOCKING_REQUEST_GUIDED: "blocking_request_guided",
22
+ };
17
23
  exports.AgentHandoverPipelineType = {
18
24
  HANDOVER: "handover",
19
25
  REPLY_AND_HANDOVER: "reply_and_handover",
@@ -33,12 +39,6 @@ exports.SandboxNetworkAccess = {
33
39
  ALLOWLIST: "allowlist",
34
40
  NONE: "deny-all",
35
41
  };
36
- exports.AgentToolPipelineType = {
37
- ASYNC_REQUEST: "async_request",
38
- ASYNC_REQUEST_GUIDED: "async_request_guided",
39
- BLOCKING_REQUEST: "blocking_request",
40
- BLOCKING_REQUEST_GUIDED: "blocking_request_guided",
41
- };
42
42
  exports.AgentTransferPipelineType = {
43
43
  REPLY_AND_TRANSFER: "reply_and_transfer",
44
44
  REPLY_INSTRUCTED_AND_TRANSFER: "reply_instructed_and_transfer",
@@ -1,140 +1,46 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RevisionConflictException = exports.NothingToPublishException = exports.AgentVersionNotFoundException = exports.AgentNotFoundException = exports.AgentNonUniqueNameException = exports.AgentInUseException = exports.AgentDeploymentNotFoundException = exports.AgentDeploymentNonUniqueNameException = exports.AgentDeploymentInUseException = exports.AgentApiKeyNotFoundException = exports.ValidationException = void 0;
3
+ exports.RevisionConflictException = exports.NothingToPublishException = exports.ValidationException = exports.NotFoundException = exports.ConflictException = void 0;
4
4
  const WilmaAgentsServiceException_1 = require("./WilmaAgentsServiceException");
5
- class ValidationException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
6
- name = "ValidationException";
7
- $fault = "client";
8
- constructor(opts) {
9
- super({
10
- name: "ValidationException",
11
- $fault: "client",
12
- ...opts,
13
- });
14
- Object.setPrototypeOf(this, ValidationException.prototype);
15
- }
16
- }
17
- exports.ValidationException = ValidationException;
18
- class AgentApiKeyNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
19
- name = "AgentApiKeyNotFoundException";
20
- $fault = "client";
21
- type;
22
- constructor(opts) {
23
- super({
24
- name: "AgentApiKeyNotFoundException",
25
- $fault: "client",
26
- ...opts,
27
- });
28
- Object.setPrototypeOf(this, AgentApiKeyNotFoundException.prototype);
29
- this.type = opts.type;
30
- }
31
- }
32
- exports.AgentApiKeyNotFoundException = AgentApiKeyNotFoundException;
33
- class AgentDeploymentInUseException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
34
- name = "AgentDeploymentInUseException";
35
- $fault = "client";
36
- type;
37
- constructor(opts) {
38
- super({
39
- name: "AgentDeploymentInUseException",
40
- $fault: "client",
41
- ...opts,
42
- });
43
- Object.setPrototypeOf(this, AgentDeploymentInUseException.prototype);
44
- this.type = opts.type;
45
- }
46
- }
47
- exports.AgentDeploymentInUseException = AgentDeploymentInUseException;
48
- class AgentDeploymentNonUniqueNameException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
49
- name = "AgentDeploymentNonUniqueNameException";
50
- $fault = "client";
51
- type;
52
- constructor(opts) {
53
- super({
54
- name: "AgentDeploymentNonUniqueNameException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- Object.setPrototypeOf(this, AgentDeploymentNonUniqueNameException.prototype);
59
- this.type = opts.type;
60
- }
61
- }
62
- exports.AgentDeploymentNonUniqueNameException = AgentDeploymentNonUniqueNameException;
63
- class AgentDeploymentNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
64
- name = "AgentDeploymentNotFoundException";
5
+ class ConflictException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
6
+ name = "ConflictException";
65
7
  $fault = "client";
66
- type;
67
8
  constructor(opts) {
68
9
  super({
69
- name: "AgentDeploymentNotFoundException",
10
+ name: "ConflictException",
70
11
  $fault: "client",
71
12
  ...opts,
72
13
  });
73
- Object.setPrototypeOf(this, AgentDeploymentNotFoundException.prototype);
74
- this.type = opts.type;
14
+ Object.setPrototypeOf(this, ConflictException.prototype);
75
15
  }
76
16
  }
77
- exports.AgentDeploymentNotFoundException = AgentDeploymentNotFoundException;
78
- class AgentInUseException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
79
- name = "AgentInUseException";
17
+ exports.ConflictException = ConflictException;
18
+ class NotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
19
+ name = "NotFoundException";
80
20
  $fault = "client";
81
- type;
82
21
  constructor(opts) {
83
22
  super({
84
- name: "AgentInUseException",
23
+ name: "NotFoundException",
85
24
  $fault: "client",
86
25
  ...opts,
87
26
  });
88
- Object.setPrototypeOf(this, AgentInUseException.prototype);
89
- this.type = opts.type;
27
+ Object.setPrototypeOf(this, NotFoundException.prototype);
90
28
  }
91
29
  }
92
- exports.AgentInUseException = AgentInUseException;
93
- class AgentNonUniqueNameException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
94
- name = "AgentNonUniqueNameException";
95
- $fault = "client";
96
- type;
97
- constructor(opts) {
98
- super({
99
- name: "AgentNonUniqueNameException",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- Object.setPrototypeOf(this, AgentNonUniqueNameException.prototype);
104
- this.type = opts.type;
105
- }
106
- }
107
- exports.AgentNonUniqueNameException = AgentNonUniqueNameException;
108
- class AgentNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
109
- name = "AgentNotFoundException";
110
- $fault = "client";
111
- type;
112
- constructor(opts) {
113
- super({
114
- name: "AgentNotFoundException",
115
- $fault: "client",
116
- ...opts,
117
- });
118
- Object.setPrototypeOf(this, AgentNotFoundException.prototype);
119
- this.type = opts.type;
120
- }
121
- }
122
- exports.AgentNotFoundException = AgentNotFoundException;
123
- class AgentVersionNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
124
- name = "AgentVersionNotFoundException";
30
+ exports.NotFoundException = NotFoundException;
31
+ class ValidationException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
32
+ name = "ValidationException";
125
33
  $fault = "client";
126
- type;
127
34
  constructor(opts) {
128
35
  super({
129
- name: "AgentVersionNotFoundException",
36
+ name: "ValidationException",
130
37
  $fault: "client",
131
38
  ...opts,
132
39
  });
133
- Object.setPrototypeOf(this, AgentVersionNotFoundException.prototype);
134
- this.type = opts.type;
40
+ Object.setPrototypeOf(this, ValidationException.prototype);
135
41
  }
136
42
  }
137
- exports.AgentVersionNotFoundException = AgentVersionNotFoundException;
43
+ exports.ValidationException = ValidationException;
138
44
  class NothingToPublishException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
139
45
  name = "NothingToPublishException";
140
46
  $fault = "client";