@wildix/wilma-agents-client 1.0.1 → 1.0.2

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 +358 -539
  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 +356 -536
  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 +451 -324
  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 +237 -170
  33. package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
  34. package/dist-types/commands/GetAgentVersionCommand.d.ts +219 -158
  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 +8 -7
  38. package/dist-types/commands/ListAgentsCommand.d.ts +241 -174
  39. package/dist-types/commands/ListAgentsNamesCommand.d.ts +6 -8
  40. package/dist-types/commands/PublishAgentVersionCommand.d.ts +221 -159
  41. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
  42. package/dist-types/commands/UpdateAgentCommand.d.ts +451 -324
  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 +695 -741
  49. package/dist-types/schemas/schemas_0.d.ts +41 -61
  50. package/package.json +2 -2
  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
@@ -5,51 +5,43 @@ const client_1 = require("@smithy/core/client");
5
5
  const CompareAgentVersionsCommand_1 = require("./commands/CompareAgentVersionsCommand");
6
6
  const CreateAgentApiKeyCommand_1 = require("./commands/CreateAgentApiKeyCommand");
7
7
  const CreateAgentCommand_1 = require("./commands/CreateAgentCommand");
8
- const CreateGuardrailCommand_1 = require("./commands/CreateGuardrailCommand");
9
- const DeleteAgentAliasCommand_1 = require("./commands/DeleteAgentAliasCommand");
8
+ const CreateAgentDeploymentCommand_1 = require("./commands/CreateAgentDeploymentCommand");
10
9
  const DeleteAgentApiKeyCommand_1 = require("./commands/DeleteAgentApiKeyCommand");
11
10
  const DeleteAgentCommand_1 = require("./commands/DeleteAgentCommand");
12
- const DeleteGuardrailCommand_1 = require("./commands/DeleteGuardrailCommand");
13
- const ExecuteAgentCommand_1 = require("./commands/ExecuteAgentCommand");
11
+ const DeleteAgentDeploymentCommand_1 = require("./commands/DeleteAgentDeploymentCommand");
14
12
  const GetAgentCommand_1 = require("./commands/GetAgentCommand");
13
+ const GetAgentDeploymentCommand_1 = require("./commands/GetAgentDeploymentCommand");
15
14
  const GetAgentVersionCommand_1 = require("./commands/GetAgentVersionCommand");
16
- const GetGuardrailCommand_1 = require("./commands/GetGuardrailCommand");
17
- const ListAgentAliasesCommand_1 = require("./commands/ListAgentAliasesCommand");
18
15
  const ListAgentApiKeysCommand_1 = require("./commands/ListAgentApiKeysCommand");
16
+ const ListAgentDeploymentsCommand_1 = require("./commands/ListAgentDeploymentsCommand");
19
17
  const ListAgentsCommand_1 = require("./commands/ListAgentsCommand");
20
18
  const ListAgentsNamesCommand_1 = require("./commands/ListAgentsNamesCommand");
21
19
  const ListAgentVersionsCommand_1 = require("./commands/ListAgentVersionsCommand");
22
- const ListAuditRecordsCommand_1 = require("./commands/ListAuditRecordsCommand");
23
- const ListGuardrailsCommand_1 = require("./commands/ListGuardrailsCommand");
24
20
  const PublishAgentVersionCommand_1 = require("./commands/PublishAgentVersionCommand");
25
- const PutAgentAliasCommand_1 = require("./commands/PutAgentAliasCommand");
21
+ const RestoreAgentVersionToDraftCommand_1 = require("./commands/RestoreAgentVersionToDraftCommand");
26
22
  const UpdateAgentCommand_1 = require("./commands/UpdateAgentCommand");
27
- const UpdateGuardrailCommand_1 = require("./commands/UpdateGuardrailCommand");
23
+ const UpdateAgentDeploymentCommand_1 = require("./commands/UpdateAgentDeploymentCommand");
28
24
  const WilmaAgentsClient_1 = require("./WilmaAgentsClient");
29
25
  const commands = {
30
26
  CompareAgentVersionsCommand: CompareAgentVersionsCommand_1.CompareAgentVersionsCommand,
31
27
  CreateAgentCommand: CreateAgentCommand_1.CreateAgentCommand,
32
28
  CreateAgentApiKeyCommand: CreateAgentApiKeyCommand_1.CreateAgentApiKeyCommand,
33
- CreateGuardrailCommand: CreateGuardrailCommand_1.CreateGuardrailCommand,
29
+ CreateAgentDeploymentCommand: CreateAgentDeploymentCommand_1.CreateAgentDeploymentCommand,
34
30
  DeleteAgentCommand: DeleteAgentCommand_1.DeleteAgentCommand,
35
- DeleteAgentAliasCommand: DeleteAgentAliasCommand_1.DeleteAgentAliasCommand,
36
31
  DeleteAgentApiKeyCommand: DeleteAgentApiKeyCommand_1.DeleteAgentApiKeyCommand,
37
- DeleteGuardrailCommand: DeleteGuardrailCommand_1.DeleteGuardrailCommand,
38
- ExecuteAgentCommand: ExecuteAgentCommand_1.ExecuteAgentCommand,
32
+ DeleteAgentDeploymentCommand: DeleteAgentDeploymentCommand_1.DeleteAgentDeploymentCommand,
39
33
  GetAgentCommand: GetAgentCommand_1.GetAgentCommand,
34
+ GetAgentDeploymentCommand: GetAgentDeploymentCommand_1.GetAgentDeploymentCommand,
40
35
  GetAgentVersionCommand: GetAgentVersionCommand_1.GetAgentVersionCommand,
41
- GetGuardrailCommand: GetGuardrailCommand_1.GetGuardrailCommand,
42
- ListAgentAliasesCommand: ListAgentAliasesCommand_1.ListAgentAliasesCommand,
43
36
  ListAgentApiKeysCommand: ListAgentApiKeysCommand_1.ListAgentApiKeysCommand,
37
+ ListAgentDeploymentsCommand: ListAgentDeploymentsCommand_1.ListAgentDeploymentsCommand,
44
38
  ListAgentsCommand: ListAgentsCommand_1.ListAgentsCommand,
45
39
  ListAgentsNamesCommand: ListAgentsNamesCommand_1.ListAgentsNamesCommand,
46
40
  ListAgentVersionsCommand: ListAgentVersionsCommand_1.ListAgentVersionsCommand,
47
- ListAuditRecordsCommand: ListAuditRecordsCommand_1.ListAuditRecordsCommand,
48
- ListGuardrailsCommand: ListGuardrailsCommand_1.ListGuardrailsCommand,
49
41
  PublishAgentVersionCommand: PublishAgentVersionCommand_1.PublishAgentVersionCommand,
50
- PutAgentAliasCommand: PutAgentAliasCommand_1.PutAgentAliasCommand,
42
+ RestoreAgentVersionToDraftCommand: RestoreAgentVersionToDraftCommand_1.RestoreAgentVersionToDraftCommand,
51
43
  UpdateAgentCommand: UpdateAgentCommand_1.UpdateAgentCommand,
52
- UpdateGuardrailCommand: UpdateGuardrailCommand_1.UpdateGuardrailCommand,
44
+ UpdateAgentDeploymentCommand: UpdateAgentDeploymentCommand_1.UpdateAgentDeploymentCommand,
53
45
  };
54
46
  class WilmaAgents extends WilmaAgentsClient_1.WilmaAgentsClient {
55
47
  }
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteGuardrailCommand = exports.$Command = void 0;
3
+ exports.CreateAgentDeploymentCommand = exports.$Command = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
5
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
6
  const endpoints_1 = require("@smithy/core/endpoints");
7
7
  const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
8
  const schemas_0_1 = require("../schemas/schemas_0");
9
- class DeleteGuardrailCommand extends client_1.Command
9
+ class CreateAgentDeploymentCommand extends client_1.Command
10
10
  .classBuilder()
11
11
  .ep(EndpointParameters_1.commonParams)
12
12
  .m(function (Command, cs, config, o) {
13
13
  return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
14
  })
15
- .s("WilmaAgents", "DeleteGuardrail", {})
16
- .n("WilmaAgentsClient", "DeleteGuardrailCommand")
17
- .sc(schemas_0_1.DeleteGuardrail$)
15
+ .s("WilmaAgents", "CreateAgentDeployment", {})
16
+ .n("WilmaAgentsClient", "CreateAgentDeploymentCommand")
17
+ .sc(schemas_0_1.CreateAgentDeployment$)
18
18
  .build() {
19
19
  }
20
- exports.DeleteGuardrailCommand = DeleteGuardrailCommand;
20
+ exports.CreateAgentDeploymentCommand = CreateAgentDeploymentCommand;
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExecuteAgentCommand = exports.$Command = void 0;
3
+ exports.DeleteAgentDeploymentCommand = exports.$Command = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
5
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
6
  const endpoints_1 = require("@smithy/core/endpoints");
7
7
  const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
8
  const schemas_0_1 = require("../schemas/schemas_0");
9
- class ExecuteAgentCommand extends client_1.Command
9
+ class DeleteAgentDeploymentCommand extends client_1.Command
10
10
  .classBuilder()
11
11
  .ep(EndpointParameters_1.commonParams)
12
12
  .m(function (Command, cs, config, o) {
13
13
  return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
14
  })
15
- .s("WilmaAgents", "ExecuteAgent", {})
16
- .n("WilmaAgentsClient", "ExecuteAgentCommand")
17
- .sc(schemas_0_1.ExecuteAgent$)
15
+ .s("WilmaAgents", "DeleteAgentDeployment", {})
16
+ .n("WilmaAgentsClient", "DeleteAgentDeploymentCommand")
17
+ .sc(schemas_0_1.DeleteAgentDeployment$)
18
18
  .build() {
19
19
  }
20
- exports.ExecuteAgentCommand = ExecuteAgentCommand;
20
+ exports.DeleteAgentDeploymentCommand = DeleteAgentDeploymentCommand;
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateGuardrailCommand = exports.$Command = void 0;
3
+ exports.GetAgentDeploymentCommand = exports.$Command = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
5
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
6
  const endpoints_1 = require("@smithy/core/endpoints");
7
7
  const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
8
  const schemas_0_1 = require("../schemas/schemas_0");
9
- class CreateGuardrailCommand extends client_1.Command
9
+ class GetAgentDeploymentCommand extends client_1.Command
10
10
  .classBuilder()
11
11
  .ep(EndpointParameters_1.commonParams)
12
12
  .m(function (Command, cs, config, o) {
13
13
  return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
14
  })
15
- .s("WilmaAgents", "CreateGuardrail", {})
16
- .n("WilmaAgentsClient", "CreateGuardrailCommand")
17
- .sc(schemas_0_1.CreateGuardrail$)
15
+ .s("WilmaAgents", "GetAgentDeployment", {})
16
+ .n("WilmaAgentsClient", "GetAgentDeploymentCommand")
17
+ .sc(schemas_0_1.GetAgentDeployment$)
18
18
  .build() {
19
19
  }
20
- exports.CreateGuardrailCommand = CreateGuardrailCommand;
20
+ exports.GetAgentDeploymentCommand = GetAgentDeploymentCommand;
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteAgentAliasCommand = exports.$Command = void 0;
3
+ exports.ListAgentDeploymentsCommand = exports.$Command = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
5
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
6
  const endpoints_1 = require("@smithy/core/endpoints");
7
7
  const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
8
  const schemas_0_1 = require("../schemas/schemas_0");
9
- class DeleteAgentAliasCommand extends client_1.Command
9
+ class ListAgentDeploymentsCommand extends client_1.Command
10
10
  .classBuilder()
11
11
  .ep(EndpointParameters_1.commonParams)
12
12
  .m(function (Command, cs, config, o) {
13
13
  return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
14
  })
15
- .s("WilmaAgents", "DeleteAgentAlias", {})
16
- .n("WilmaAgentsClient", "DeleteAgentAliasCommand")
17
- .sc(schemas_0_1.DeleteAgentAlias$)
15
+ .s("WilmaAgents", "ListAgentDeployments", {})
16
+ .n("WilmaAgentsClient", "ListAgentDeploymentsCommand")
17
+ .sc(schemas_0_1.ListAgentDeployments$)
18
18
  .build() {
19
19
  }
20
- exports.DeleteAgentAliasCommand = DeleteAgentAliasCommand;
20
+ exports.ListAgentDeploymentsCommand = ListAgentDeploymentsCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RestoreAgentVersionToDraftCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class RestoreAgentVersionToDraftCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "RestoreAgentVersionToDraft", {})
16
+ .n("WilmaAgentsClient", "RestoreAgentVersionToDraftCommand")
17
+ .sc(schemas_0_1.RestoreAgentVersionToDraft$)
18
+ .build() {
19
+ }
20
+ exports.RestoreAgentVersionToDraftCommand = RestoreAgentVersionToDraftCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAgentDeploymentCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class UpdateAgentDeploymentCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaAgents", "UpdateAgentDeployment", {})
16
+ .n("WilmaAgentsClient", "UpdateAgentDeploymentCommand")
17
+ .sc(schemas_0_1.UpdateAgentDeployment$)
18
+ .build() {
19
+ }
20
+ exports.UpdateAgentDeploymentCommand = UpdateAgentDeploymentCommand;
@@ -4,23 +4,19 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./CompareAgentVersionsCommand"), exports);
5
5
  tslib_1.__exportStar(require("./CreateAgentApiKeyCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreateAgentCommand"), exports);
7
- tslib_1.__exportStar(require("./CreateGuardrailCommand"), exports);
8
- tslib_1.__exportStar(require("./DeleteAgentAliasCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateAgentDeploymentCommand"), exports);
9
8
  tslib_1.__exportStar(require("./DeleteAgentApiKeyCommand"), exports);
10
9
  tslib_1.__exportStar(require("./DeleteAgentCommand"), exports);
11
- tslib_1.__exportStar(require("./DeleteGuardrailCommand"), exports);
12
- tslib_1.__exportStar(require("./ExecuteAgentCommand"), exports);
10
+ tslib_1.__exportStar(require("./DeleteAgentDeploymentCommand"), exports);
13
11
  tslib_1.__exportStar(require("./GetAgentCommand"), exports);
12
+ tslib_1.__exportStar(require("./GetAgentDeploymentCommand"), exports);
14
13
  tslib_1.__exportStar(require("./GetAgentVersionCommand"), exports);
15
- tslib_1.__exportStar(require("./GetGuardrailCommand"), exports);
16
- tslib_1.__exportStar(require("./ListAgentAliasesCommand"), exports);
17
14
  tslib_1.__exportStar(require("./ListAgentApiKeysCommand"), exports);
15
+ tslib_1.__exportStar(require("./ListAgentDeploymentsCommand"), exports);
18
16
  tslib_1.__exportStar(require("./ListAgentVersionsCommand"), exports);
19
17
  tslib_1.__exportStar(require("./ListAgentsCommand"), exports);
20
18
  tslib_1.__exportStar(require("./ListAgentsNamesCommand"), exports);
21
- tslib_1.__exportStar(require("./ListAuditRecordsCommand"), exports);
22
- tslib_1.__exportStar(require("./ListGuardrailsCommand"), exports);
23
19
  tslib_1.__exportStar(require("./PublishAgentVersionCommand"), exports);
24
- tslib_1.__exportStar(require("./PutAgentAliasCommand"), exports);
20
+ tslib_1.__exportStar(require("./RestoreAgentVersionToDraftCommand"), exports);
25
21
  tslib_1.__exportStar(require("./UpdateAgentCommand"), exports);
26
- tslib_1.__exportStar(require("./UpdateGuardrailCommand"), exports);
22
+ tslib_1.__exportStar(require("./UpdateAgentDeploymentCommand"), exports);
@@ -1,36 +1,54 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GuardrailAction = exports.GuardrailPiiEntityType = exports.GuardrailPiiAction = exports.GuardrailFilterStrength = exports.GuardrailContentCategory = exports.AuditResourceType = exports.AuditAction = exports.ChannelType = exports.AgentFileScope = exports.AgentStatus = exports.AgentVariableType = exports.WebSearchContextSize = exports.SandboxNetworkAccess = exports.WebhookMethod = exports.SpeechProvider = exports.AgentVisibility = exports.AgentGrantPermission = exports.ActorType = void 0;
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;
4
+ exports.AgentVisibility = {
5
+ EXPLICIT: "explicit",
6
+ ORGANIZATION: "organization",
7
+ };
4
8
  exports.ActorType = {
5
9
  API_KEY: "api_key",
6
10
  SERVICE: "service",
7
11
  USER: "user",
8
12
  };
9
- exports.AgentGrantPermission = {
10
- EDIT: "edit",
11
- USE: "use",
12
- VIEW: "view",
13
+ exports.AgentDeploymentStatus = {
14
+ ACTIVE: "active",
15
+ PAUSED: "paused",
13
16
  };
14
- exports.AgentVisibility = {
15
- EXPLICIT: "explicit",
16
- ORGANIZATION: "organization",
17
+ exports.AgentHandoverPipelineType = {
18
+ HANDOVER: "handover",
19
+ REPLY_AND_HANDOVER: "reply_and_handover",
20
+ REPLY_INSTRUCTED_AND_HANDOVER: "reply_instructed_and_handover",
17
21
  };
18
- exports.SpeechProvider = {
19
- ELEVENLABS: "elevenlabs",
20
- GOOGLE: "google",
22
+ exports.AgentHandoverVariant = {
23
+ AGENT: "agent",
24
+ SERVICE: "service",
21
25
  };
22
- exports.WebhookMethod = {
23
- DELETE: "delete",
24
- GET: "get",
25
- PATCH: "patch",
26
- POST: "post",
27
- PUT: "put",
26
+ exports.AgentHangupPipelineType = {
27
+ HANGUP: "hangup",
28
+ REPLY_AND_HANGUP: "reply_and_hangup",
29
+ REPLY_INSTRUCTED_AND_HANGUP: "reply_instructed_and_hangup",
28
30
  };
29
31
  exports.SandboxNetworkAccess = {
30
32
  ALL: "allow-all",
31
33
  ALLOWLIST: "allowlist",
32
34
  NONE: "deny-all",
33
35
  };
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
+ exports.AgentTransferPipelineType = {
43
+ REPLY_AND_TRANSFER: "reply_and_transfer",
44
+ REPLY_INSTRUCTED_AND_TRANSFER: "reply_instructed_and_transfer",
45
+ TRANSFER: "transfer",
46
+ };
47
+ exports.AgentTransferVariant = {
48
+ DIRECTORY: "directory",
49
+ DYNAMIC: "dynamic",
50
+ PREDEFINED: "predefined",
51
+ };
34
52
  exports.WebSearchContextSize = {
35
53
  HIGH: "high",
36
54
  LOW: "low",
@@ -45,74 +63,11 @@ exports.AgentVariableType = {
45
63
  };
46
64
  exports.AgentStatus = {
47
65
  ACTIVE: "active",
48
- ARCHIVED: "archived",
49
66
  DRAFT: "draft",
50
67
  };
51
- exports.AgentFileScope = {
52
- AGENT: "agent",
53
- USER: "user",
54
- };
55
68
  exports.ChannelType = {
56
- API: "api",
57
69
  ASSISTANT: "assistant",
70
+ AUTONOMOUS: "autonomous",
58
71
  CHAT: "chat",
59
72
  VOICE: "voice",
60
73
  };
61
- exports.AuditAction = {
62
- ALIAS_DELETED: "alias_deleted",
63
- ALIAS_UPDATED: "alias_updated",
64
- API_KEY_CREATED: "api_key_created",
65
- API_KEY_DELETED: "api_key_deleted",
66
- ARCHIVED: "archived",
67
- CREATED: "created",
68
- DELETED: "deleted",
69
- EVALUATION_CANCELLED: "evaluation_cancelled",
70
- EVALUATION_STARTED: "evaluation_started",
71
- PUBLISHED: "published",
72
- UPDATED: "updated",
73
- };
74
- exports.AuditResourceType = {
75
- AGENT: "agent",
76
- AGENT_ALIAS: "agent_alias",
77
- AGENT_API_KEY: "agent_api_key",
78
- AGENT_VERSION: "agent_version",
79
- DATASET: "dataset",
80
- EVALUATION: "evaluation",
81
- EVALUATOR: "evaluator",
82
- GUARDRAIL: "guardrail",
83
- SKILL: "skill",
84
- TEST_CASE: "test_case",
85
- };
86
- exports.GuardrailContentCategory = {
87
- HATE: "hate",
88
- INSULTS: "insults",
89
- MISCONDUCT: "misconduct",
90
- PROMPT_ATTACK: "prompt_attack",
91
- SEXUAL: "sexual",
92
- VIOLENCE: "violence",
93
- };
94
- exports.GuardrailFilterStrength = {
95
- HIGH: "high",
96
- LOW: "low",
97
- MEDIUM: "medium",
98
- NONE: "none",
99
- };
100
- exports.GuardrailPiiAction = {
101
- ANONYMIZE: "anonymize",
102
- BLOCK: "block",
103
- };
104
- exports.GuardrailPiiEntityType = {
105
- ADDRESS: "address",
106
- CREDIT_CARD: "credit_card",
107
- CUSTOM: "custom",
108
- EMAIL: "email",
109
- IBAN: "iban",
110
- NAME: "name",
111
- NATIONAL_ID: "national_id",
112
- PASSWORD: "password",
113
- PHONE_NUMBER: "phone_number",
114
- };
115
- exports.GuardrailAction = {
116
- BLOCK: "block",
117
- DETECT: "detect",
118
- };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RevisionConflictException = exports.NothingToPublishException = exports.GuardrailNotFoundException = exports.GuardrailInUseException = exports.AgentVersionNotFoundException = exports.AgentNotFoundException = exports.AgentNonUniqueNameException = exports.AgentApiKeyNotFoundException = exports.AgentAliasNotFoundException = exports.ValidationException = void 0;
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;
4
4
  const WilmaAgentsServiceException_1 = require("./WilmaAgentsServiceException");
5
5
  class ValidationException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
6
6
  name = "ValidationException";
@@ -15,111 +15,126 @@ class ValidationException extends WilmaAgentsServiceException_1.WilmaAgentsServi
15
15
  }
16
16
  }
17
17
  exports.ValidationException = ValidationException;
18
- class AgentAliasNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
19
- name = "AgentAliasNotFoundException";
18
+ class AgentApiKeyNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
19
+ name = "AgentApiKeyNotFoundException";
20
20
  $fault = "client";
21
21
  type;
22
22
  constructor(opts) {
23
23
  super({
24
- name: "AgentAliasNotFoundException",
24
+ name: "AgentApiKeyNotFoundException",
25
25
  $fault: "client",
26
26
  ...opts,
27
27
  });
28
- Object.setPrototypeOf(this, AgentAliasNotFoundException.prototype);
28
+ Object.setPrototypeOf(this, AgentApiKeyNotFoundException.prototype);
29
29
  this.type = opts.type;
30
30
  }
31
31
  }
32
- exports.AgentAliasNotFoundException = AgentAliasNotFoundException;
33
- class AgentApiKeyNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
34
- name = "AgentApiKeyNotFoundException";
32
+ exports.AgentApiKeyNotFoundException = AgentApiKeyNotFoundException;
33
+ class AgentDeploymentInUseException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
34
+ name = "AgentDeploymentInUseException";
35
35
  $fault = "client";
36
36
  type;
37
37
  constructor(opts) {
38
38
  super({
39
- name: "AgentApiKeyNotFoundException",
39
+ name: "AgentDeploymentInUseException",
40
40
  $fault: "client",
41
41
  ...opts,
42
42
  });
43
- Object.setPrototypeOf(this, AgentApiKeyNotFoundException.prototype);
43
+ Object.setPrototypeOf(this, AgentDeploymentInUseException.prototype);
44
44
  this.type = opts.type;
45
45
  }
46
46
  }
47
- exports.AgentApiKeyNotFoundException = AgentApiKeyNotFoundException;
48
- class AgentNonUniqueNameException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
49
- name = "AgentNonUniqueNameException";
47
+ exports.AgentDeploymentInUseException = AgentDeploymentInUseException;
48
+ class AgentDeploymentNonUniqueNameException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
49
+ name = "AgentDeploymentNonUniqueNameException";
50
50
  $fault = "client";
51
51
  type;
52
52
  constructor(opts) {
53
53
  super({
54
- name: "AgentNonUniqueNameException",
54
+ name: "AgentDeploymentNonUniqueNameException",
55
55
  $fault: "client",
56
56
  ...opts,
57
57
  });
58
- Object.setPrototypeOf(this, AgentNonUniqueNameException.prototype);
58
+ Object.setPrototypeOf(this, AgentDeploymentNonUniqueNameException.prototype);
59
59
  this.type = opts.type;
60
60
  }
61
61
  }
62
- exports.AgentNonUniqueNameException = AgentNonUniqueNameException;
63
- class AgentNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
64
- name = "AgentNotFoundException";
62
+ exports.AgentDeploymentNonUniqueNameException = AgentDeploymentNonUniqueNameException;
63
+ class AgentDeploymentNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
64
+ name = "AgentDeploymentNotFoundException";
65
65
  $fault = "client";
66
66
  type;
67
67
  constructor(opts) {
68
68
  super({
69
- name: "AgentNotFoundException",
69
+ name: "AgentDeploymentNotFoundException",
70
70
  $fault: "client",
71
71
  ...opts,
72
72
  });
73
- Object.setPrototypeOf(this, AgentNotFoundException.prototype);
73
+ Object.setPrototypeOf(this, AgentDeploymentNotFoundException.prototype);
74
74
  this.type = opts.type;
75
75
  }
76
76
  }
77
- exports.AgentNotFoundException = AgentNotFoundException;
78
- class AgentVersionNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
79
- name = "AgentVersionNotFoundException";
77
+ exports.AgentDeploymentNotFoundException = AgentDeploymentNotFoundException;
78
+ class AgentInUseException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
79
+ name = "AgentInUseException";
80
80
  $fault = "client";
81
81
  type;
82
82
  constructor(opts) {
83
83
  super({
84
- name: "AgentVersionNotFoundException",
84
+ name: "AgentInUseException",
85
85
  $fault: "client",
86
86
  ...opts,
87
87
  });
88
- Object.setPrototypeOf(this, AgentVersionNotFoundException.prototype);
88
+ Object.setPrototypeOf(this, AgentInUseException.prototype);
89
89
  this.type = opts.type;
90
90
  }
91
91
  }
92
- exports.AgentVersionNotFoundException = AgentVersionNotFoundException;
93
- class GuardrailInUseException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
94
- name = "GuardrailInUseException";
92
+ exports.AgentInUseException = AgentInUseException;
93
+ class AgentNonUniqueNameException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
94
+ name = "AgentNonUniqueNameException";
95
95
  $fault = "client";
96
96
  type;
97
97
  constructor(opts) {
98
98
  super({
99
- name: "GuardrailInUseException",
99
+ name: "AgentNonUniqueNameException",
100
100
  $fault: "client",
101
101
  ...opts,
102
102
  });
103
- Object.setPrototypeOf(this, GuardrailInUseException.prototype);
103
+ Object.setPrototypeOf(this, AgentNonUniqueNameException.prototype);
104
104
  this.type = opts.type;
105
105
  }
106
106
  }
107
- exports.GuardrailInUseException = GuardrailInUseException;
108
- class GuardrailNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
109
- name = "GuardrailNotFoundException";
107
+ exports.AgentNonUniqueNameException = AgentNonUniqueNameException;
108
+ class AgentNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
109
+ name = "AgentNotFoundException";
110
110
  $fault = "client";
111
111
  type;
112
112
  constructor(opts) {
113
113
  super({
114
- name: "GuardrailNotFoundException",
114
+ name: "AgentNotFoundException",
115
115
  $fault: "client",
116
116
  ...opts,
117
117
  });
118
- Object.setPrototypeOf(this, GuardrailNotFoundException.prototype);
118
+ Object.setPrototypeOf(this, AgentNotFoundException.prototype);
119
119
  this.type = opts.type;
120
120
  }
121
121
  }
122
- exports.GuardrailNotFoundException = GuardrailNotFoundException;
122
+ exports.AgentNotFoundException = AgentNotFoundException;
123
+ class AgentVersionNotFoundException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
124
+ name = "AgentVersionNotFoundException";
125
+ $fault = "client";
126
+ type;
127
+ constructor(opts) {
128
+ super({
129
+ name: "AgentVersionNotFoundException",
130
+ $fault: "client",
131
+ ...opts,
132
+ });
133
+ Object.setPrototypeOf(this, AgentVersionNotFoundException.prototype);
134
+ this.type = opts.type;
135
+ }
136
+ }
137
+ exports.AgentVersionNotFoundException = AgentVersionNotFoundException;
123
138
  class NothingToPublishException extends WilmaAgentsServiceException_1.WilmaAgentsServiceException {
124
139
  name = "NothingToPublishException";
125
140
  $fault = "client";