@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
@@ -2,13 +2,14 @@ import { TypeRegistry } from "@smithy/core/schema";
2
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
3
  export declare var WilmaAgentsServiceException$: StaticErrorSchema;
4
4
  export declare var ValidationException$: StaticErrorSchema;
5
- export declare var AgentAliasNotFoundException$: StaticErrorSchema;
6
5
  export declare var AgentApiKeyNotFoundException$: StaticErrorSchema;
6
+ export declare var AgentDeploymentInUseException$: StaticErrorSchema;
7
+ export declare var AgentDeploymentNonUniqueNameException$: StaticErrorSchema;
8
+ export declare var AgentDeploymentNotFoundException$: StaticErrorSchema;
9
+ export declare var AgentInUseException$: StaticErrorSchema;
7
10
  export declare var AgentNonUniqueNameException$: StaticErrorSchema;
8
11
  export declare var AgentNotFoundException$: StaticErrorSchema;
9
12
  export declare var AgentVersionNotFoundException$: StaticErrorSchema;
10
- export declare var GuardrailInUseException$: StaticErrorSchema;
11
- export declare var GuardrailNotFoundException$: StaticErrorSchema;
12
13
  export declare var NothingToPublishException$: StaticErrorSchema;
13
14
  export declare var RevisionConflictException$: StaticErrorSchema;
14
15
  /**
@@ -17,144 +18,123 @@ export declare var RevisionConflictException$: StaticErrorSchema;
17
18
  *
18
19
  */
19
20
  export declare const errorTypeRegistries: TypeRegistry[];
20
- export declare var Actor$: StaticStructureSchema;
21
21
  export declare var Agent$: StaticStructureSchema;
22
22
  export declare var AgentAccess$: StaticStructureSchema;
23
- export declare var AgentAlias$: StaticStructureSchema;
24
- export declare var AgentAliasRoute$: StaticStructureSchema;
23
+ export declare var AgentAiEngine$: StaticStructureSchema;
25
24
  export declare var AgentApiKey$: StaticStructureSchema;
26
25
  export declare var AgentCallCapability$: StaticStructureSchema;
27
26
  export declare var AgentChannels$: StaticStructureSchema;
28
27
  export declare var AgentDefinitionSnapshot$: StaticStructureSchema;
29
28
  export declare var AgentDelegationCapability$: StaticStructureSchema;
30
- export declare var AgentExecutionError$: StaticStructureSchema;
31
- export declare var AgentExecutionResult$: StaticStructureSchema;
32
- export declare var AgentFunctionTool$: StaticStructureSchema;
33
- export declare var AgentGrant$: StaticStructureSchema;
29
+ export declare var AgentDeployment$: StaticStructureSchema;
30
+ export declare var AgentDeploymentRoute$: StaticStructureSchema;
34
31
  export declare var AgentHandoverCapability$: StaticStructureSchema;
32
+ export declare var AgentHandoverPipeline$: StaticStructureSchema;
33
+ export declare var AgentHangupCapability$: StaticStructureSchema;
34
+ export declare var AgentHangupPipeline$: StaticStructureSchema;
35
35
  export declare var AgentInfo$: StaticStructureSchema;
36
36
  export declare var AgentKnowledgeBase$: StaticStructureSchema;
37
- export declare var AgentLlmEngine$: StaticStructureSchema;
38
- export declare var AgentMcpServerCapability$: StaticStructureSchema;
37
+ export declare var AgentSettings$: StaticStructureSchema;
39
38
  export declare var AgentSnapshotSandboxOptions$: StaticStructureSchema;
40
39
  export declare var AgentSqsEngine$: StaticStructureSchema;
41
40
  export declare var AgentSuggestionsCapability$: StaticStructureSchema;
42
41
  export declare var AgentTool$: StaticStructureSchema;
42
+ export declare var AgentToolApproval$: StaticStructureSchema;
43
+ export declare var AgentToolCommentAnnotation$: StaticStructureSchema;
44
+ export declare var AgentToolPipeline$: StaticStructureSchema;
45
+ export declare var AgentToolResultAnnotation$: StaticStructureSchema;
46
+ export declare var AgentToolTagAnnotation$: StaticStructureSchema;
43
47
  export declare var AgentToolVariable$: StaticStructureSchema;
44
48
  export declare var AgentToolVariableAutoHandler$: StaticStructureSchema;
45
49
  export declare var AgentToolVariableGuidedHandler$: StaticStructureSchema;
46
50
  export declare var AgentToolVariablePredefinedHandler$: StaticStructureSchema;
51
+ export declare var AgentToolVariablesAnnotation$: StaticStructureSchema;
47
52
  export declare var AgentTransferCapability$: StaticStructureSchema;
53
+ export declare var AgentTransferPipeline$: StaticStructureSchema;
48
54
  export declare var AgentVariable$: StaticStructureSchema;
49
55
  export declare var AgentVercelSandboxOptions$: StaticStructureSchema;
50
56
  export declare var AgentVersion$: StaticStructureSchema;
51
57
  export declare var AgentVersionChange$: StaticStructureSchema;
52
58
  export declare var AgentVersionInfo$: StaticStructureSchema;
59
+ export declare var AgentWaitCapability$: StaticStructureSchema;
53
60
  export declare var AgentWebFetchCapability$: StaticStructureSchema;
54
61
  export declare var AgentWebhookEngine$: StaticStructureSchema;
55
62
  export declare var AgentWebSearchCapability$: StaticStructureSchema;
56
- export declare var ApiChannelSettings$: StaticStructureSchema;
57
63
  export declare var AssistantChannelSettings$: StaticStructureSchema;
58
- export declare var AuditRecord$: StaticStructureSchema;
64
+ export declare var AutonomousChannelSettings$: StaticStructureSchema;
59
65
  export declare var ChatChannelSettings$: StaticStructureSchema;
60
66
  export declare var CompareAgentVersionsInput$: StaticStructureSchema;
61
67
  export declare var CompareAgentVersionsOutput$: StaticStructureSchema;
62
68
  export declare var CreateAgentApiKeyInput$: StaticStructureSchema;
63
69
  export declare var CreateAgentApiKeyOutput$: StaticStructureSchema;
70
+ export declare var CreateAgentDeploymentInput$: StaticStructureSchema;
71
+ export declare var CreateAgentDeploymentOutput$: StaticStructureSchema;
64
72
  export declare var CreateAgentInput$: StaticStructureSchema;
65
73
  export declare var CreateAgentOutput$: StaticStructureSchema;
66
- export declare var CreateGuardrailInput$: StaticStructureSchema;
67
- export declare var CreateGuardrailOutput$: StaticStructureSchema;
68
- export declare var DeleteAgentAliasInput$: StaticStructureSchema;
69
- export declare var DeleteAgentAliasOutput$: StaticStructureSchema;
70
74
  export declare var DeleteAgentApiKeyInput$: StaticStructureSchema;
71
75
  export declare var DeleteAgentApiKeyOutput$: StaticStructureSchema;
76
+ export declare var DeleteAgentDeploymentInput$: StaticStructureSchema;
77
+ export declare var DeleteAgentDeploymentOutput$: StaticStructureSchema;
72
78
  export declare var DeleteAgentInput$: StaticStructureSchema;
73
79
  export declare var DeleteAgentOutput$: StaticStructureSchema;
74
- export declare var DeleteGuardrailInput$: StaticStructureSchema;
75
- export declare var DeleteGuardrailOutput$: StaticStructureSchema;
76
- export declare var ExecuteAgentInput$: StaticStructureSchema;
77
- export declare var ExecuteAgentOutput$: StaticStructureSchema;
78
- export declare var FunctionWebhookIntegration$: StaticStructureSchema;
80
+ export declare var GetAgentDeploymentInput$: StaticStructureSchema;
81
+ export declare var GetAgentDeploymentOutput$: StaticStructureSchema;
79
82
  export declare var GetAgentInput$: StaticStructureSchema;
80
83
  export declare var GetAgentOutput$: StaticStructureSchema;
81
84
  export declare var GetAgentVersionInput$: StaticStructureSchema;
82
85
  export declare var GetAgentVersionOutput$: StaticStructureSchema;
83
- export declare var GetGuardrailInput$: StaticStructureSchema;
84
- export declare var GetGuardrailOutput$: StaticStructureSchema;
85
- export declare var Guardrail$: StaticStructureSchema;
86
- export declare var GuardrailContentFilter$: StaticStructureSchema;
87
- export declare var GuardrailContentPolicy$: StaticStructureSchema;
88
- export declare var GuardrailPiiEntity$: StaticStructureSchema;
89
- export declare var GuardrailPiiPolicy$: StaticStructureSchema;
90
- export declare var GuardrailTopic$: StaticStructureSchema;
91
- export declare var GuardrailTopicPolicy$: StaticStructureSchema;
92
- export declare var GuardrailWordPolicy$: StaticStructureSchema;
93
- export declare var ListAgentAliasesInput$: StaticStructureSchema;
94
- export declare var ListAgentAliasesOutput$: StaticStructureSchema;
95
86
  export declare var ListAgentApiKeysInput$: StaticStructureSchema;
96
87
  export declare var ListAgentApiKeysOutput$: StaticStructureSchema;
88
+ export declare var ListAgentDeploymentsInput$: StaticStructureSchema;
89
+ export declare var ListAgentDeploymentsOutput$: StaticStructureSchema;
97
90
  export declare var ListAgentsInput$: StaticStructureSchema;
98
91
  export declare var ListAgentsNamesInput$: StaticStructureSchema;
99
92
  export declare var ListAgentsNamesOutput$: StaticStructureSchema;
100
93
  export declare var ListAgentsOutput$: StaticStructureSchema;
101
94
  export declare var ListAgentVersionsInput$: StaticStructureSchema;
102
95
  export declare var ListAgentVersionsOutput$: StaticStructureSchema;
103
- export declare var ListAuditRecordsInput$: StaticStructureSchema;
104
- export declare var ListAuditRecordsOutput$: StaticStructureSchema;
105
- export declare var ListGuardrailsInput$: StaticStructureSchema;
106
- export declare var ListGuardrailsOutput$: StaticStructureSchema;
107
96
  export declare var PublishAgentVersionInput$: StaticStructureSchema;
108
97
  export declare var PublishAgentVersionOutput$: StaticStructureSchema;
109
- export declare var PutAgentAliasInput$: StaticStructureSchema;
110
- export declare var PutAgentAliasOutput$: StaticStructureSchema;
98
+ export declare var RestoreAgentVersionToDraftInput$: StaticStructureSchema;
99
+ export declare var RestoreAgentVersionToDraftOutput$: StaticStructureSchema;
100
+ export declare var UpdateAgentDeploymentInput$: StaticStructureSchema;
101
+ export declare var UpdateAgentDeploymentOutput$: StaticStructureSchema;
111
102
  export declare var UpdateAgentInput$: StaticStructureSchema;
112
103
  export declare var UpdateAgentOutput$: StaticStructureSchema;
113
- export declare var UpdateGuardrailInput$: StaticStructureSchema;
114
- export declare var UpdateGuardrailOutput$: StaticStructureSchema;
115
104
  export declare var VoiceCallerMetadataSettings$: StaticStructureSchema;
116
105
  export declare var VoiceChannelSettings$: StaticStructureSchema;
117
106
  export declare var VoiceEndCallSettings$: StaticStructureSchema;
118
107
  export declare var VoiceInterruptionSettings$: StaticStructureSchema;
119
108
  export declare var VoiceMaxDurationSettings$: StaticStructureSchema;
120
109
  export declare var VoiceSilenceTimeoutSettings$: StaticStructureSchema;
121
- export declare var VoiceSynthesisSettings$: StaticStructureSchema;
122
110
  export declare var VoiceTerminateHangupAction$: StaticStructureSchema;
123
111
  export declare var VoiceTransferTarget$: StaticStructureSchema;
124
- export declare var WebhookAuthorizationBasic$: StaticStructureSchema;
125
- export declare var WebhookAuthorizationBearer$: StaticStructureSchema;
126
- export declare var WebhookAuthorizationOAuth$: StaticStructureSchema;
127
- export declare var WebhookHeader$: StaticStructureSchema;
128
112
  export declare var WebSearchUserLocation$: StaticStructureSchema;
129
- export declare var AgentFile$: StaticStructureSchema;
113
+ export declare var Actor$: StaticStructureSchema;
114
+ export declare var AgentSkillReference$: StaticStructureSchema;
130
115
  export declare var AgentCapability$: StaticUnionSchema;
131
116
  export declare var AgentEngine$: StaticUnionSchema;
132
117
  export declare var AgentGrantPrincipal$: StaticUnionSchema;
133
118
  export declare var AgentSandboxCapability$: StaticUnionSchema;
119
+ export declare var AgentToolAnnotation$: StaticUnionSchema;
134
120
  export declare var AgentToolVariableHandler$: StaticUnionSchema;
135
- export declare var FunctionIntegration$: StaticUnionSchema;
136
121
  export declare var VoiceTerminateAction$: StaticUnionSchema;
137
- export declare var WebhookAuthorization$: StaticUnionSchema;
138
122
  export declare var CompareAgentVersions$: StaticOperationSchema;
139
123
  export declare var CreateAgent$: StaticOperationSchema;
140
124
  export declare var CreateAgentApiKey$: StaticOperationSchema;
141
- export declare var CreateGuardrail$: StaticOperationSchema;
125
+ export declare var CreateAgentDeployment$: StaticOperationSchema;
142
126
  export declare var DeleteAgent$: StaticOperationSchema;
143
- export declare var DeleteAgentAlias$: StaticOperationSchema;
144
127
  export declare var DeleteAgentApiKey$: StaticOperationSchema;
145
- export declare var DeleteGuardrail$: StaticOperationSchema;
146
- export declare var ExecuteAgent$: StaticOperationSchema;
128
+ export declare var DeleteAgentDeployment$: StaticOperationSchema;
147
129
  export declare var GetAgent$: StaticOperationSchema;
130
+ export declare var GetAgentDeployment$: StaticOperationSchema;
148
131
  export declare var GetAgentVersion$: StaticOperationSchema;
149
- export declare var GetGuardrail$: StaticOperationSchema;
150
- export declare var ListAgentAliases$: StaticOperationSchema;
151
132
  export declare var ListAgentApiKeys$: StaticOperationSchema;
133
+ export declare var ListAgentDeployments$: StaticOperationSchema;
152
134
  export declare var ListAgents$: StaticOperationSchema;
153
135
  export declare var ListAgentsNames$: StaticOperationSchema;
154
136
  export declare var ListAgentVersions$: StaticOperationSchema;
155
- export declare var ListAuditRecords$: StaticOperationSchema;
156
- export declare var ListGuardrails$: StaticOperationSchema;
157
137
  export declare var PublishAgentVersion$: StaticOperationSchema;
158
- export declare var PutAgentAlias$: StaticOperationSchema;
138
+ export declare var RestoreAgentVersionToDraft$: StaticOperationSchema;
159
139
  export declare var UpdateAgent$: StaticOperationSchema;
160
- export declare var UpdateGuardrail$: StaticOperationSchema;
140
+ export declare var UpdateAgentDeployment$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wilma-agents-client",
3
3
  "description": "@wildix/wilma-agents-client client",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -54,4 +54,4 @@
54
54
  "react-native": {
55
55
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
56
56
  }
57
- }
57
+ }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetGuardrailCommand = 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 GetGuardrailCommand 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", "GetGuardrail", {})
16
- .n("WilmaAgentsClient", "GetGuardrailCommand")
17
- .sc(schemas_0_1.GetGuardrail$)
18
- .build() {
19
- }
20
- exports.GetGuardrailCommand = GetGuardrailCommand;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListAgentAliasesCommand = 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 ListAgentAliasesCommand 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", "ListAgentAliases", {})
16
- .n("WilmaAgentsClient", "ListAgentAliasesCommand")
17
- .sc(schemas_0_1.ListAgentAliases$)
18
- .build() {
19
- }
20
- exports.ListAgentAliasesCommand = ListAgentAliasesCommand;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListAuditRecordsCommand = 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 ListAuditRecordsCommand 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", "ListAuditRecords", {})
16
- .n("WilmaAgentsClient", "ListAuditRecordsCommand")
17
- .sc(schemas_0_1.ListAuditRecords$)
18
- .build() {
19
- }
20
- exports.ListAuditRecordsCommand = ListAuditRecordsCommand;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListGuardrailsCommand = 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 ListGuardrailsCommand 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", "ListGuardrails", {})
16
- .n("WilmaAgentsClient", "ListGuardrailsCommand")
17
- .sc(schemas_0_1.ListGuardrails$)
18
- .build() {
19
- }
20
- exports.ListGuardrailsCommand = ListGuardrailsCommand;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutAgentAliasCommand = 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 PutAgentAliasCommand 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", "PutAgentAlias", {})
16
- .n("WilmaAgentsClient", "PutAgentAliasCommand")
17
- .sc(schemas_0_1.PutAgentAlias$)
18
- .build() {
19
- }
20
- exports.PutAgentAliasCommand = PutAgentAliasCommand;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateGuardrailCommand = 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 UpdateGuardrailCommand 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", "UpdateGuardrail", {})
16
- .n("WilmaAgentsClient", "UpdateGuardrailCommand")
17
- .sc(schemas_0_1.UpdateGuardrail$)
18
- .build() {
19
- }
20
- exports.UpdateGuardrailCommand = UpdateGuardrailCommand;
@@ -1,16 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetGuardrail$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetGuardrailCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WilmaAgents", "GetGuardrail", {})
13
- .n("WilmaAgentsClient", "GetGuardrailCommand")
14
- .sc(GetGuardrail$)
15
- .build() {
16
- }
@@ -1,16 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAgentAliases$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAgentAliasesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WilmaAgents", "ListAgentAliases", {})
13
- .n("WilmaAgentsClient", "ListAgentAliasesCommand")
14
- .sc(ListAgentAliases$)
15
- .build() {
16
- }
@@ -1,16 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAuditRecords$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAuditRecordsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WilmaAgents", "ListAuditRecords", {})
13
- .n("WilmaAgentsClient", "ListAuditRecordsCommand")
14
- .sc(ListAuditRecords$)
15
- .build() {
16
- }
@@ -1,16 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListGuardrails$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListGuardrailsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WilmaAgents", "ListGuardrails", {})
13
- .n("WilmaAgentsClient", "ListGuardrailsCommand")
14
- .sc(ListGuardrails$)
15
- .build() {
16
- }
@@ -1,16 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutAgentAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutAgentAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WilmaAgents", "PutAgentAlias", {})
13
- .n("WilmaAgentsClient", "PutAgentAliasCommand")
14
- .sc(PutAgentAlias$)
15
- .build() {
16
- }
@@ -1,16 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateGuardrail$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateGuardrailCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WilmaAgents", "UpdateGuardrail", {})
13
- .n("WilmaAgentsClient", "UpdateGuardrailCommand")
14
- .sc(UpdateGuardrail$)
15
- .build() {
16
- }
@@ -1,172 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CreateGuardrailInput, CreateGuardrailOutput } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link CreateGuardrailCommand}.
14
- */
15
- export interface CreateGuardrailCommandInput extends CreateGuardrailInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link CreateGuardrailCommand}.
21
- */
22
- export interface CreateGuardrailCommandOutput extends CreateGuardrailOutput, __MetadataBearer {
23
- }
24
- declare const CreateGuardrailCommand_base: {
25
- new (input: CreateGuardrailCommandInput): import("@smithy/core/client").CommandImpl<CreateGuardrailCommandInput, CreateGuardrailCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateGuardrailCommandInput): import("@smithy/core/client").CommandImpl<CreateGuardrailCommandInput, CreateGuardrailCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
30
- };
31
- /**
32
- * Creates a reusable guardrail policy that agents can reference.
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { WilmaAgentsClient, CreateGuardrailCommand } from "@wildix/wilma-agents-client"; // ES Modules import
37
- * // const { WilmaAgentsClient, CreateGuardrailCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
38
- * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
39
- * const config = {}; // type is WilmaAgentsClientConfig
40
- * const client = new WilmaAgentsClient(config);
41
- * const input = { // CreateGuardrailInput
42
- * name: "STRING_VALUE", // required
43
- * description: "STRING_VALUE",
44
- * topicPolicy: { // GuardrailTopicPolicy
45
- * topics: [ // GuardrailTopicsList // required
46
- * { // GuardrailTopic
47
- * name: "STRING_VALUE", // required
48
- * definition: "STRING_VALUE", // required
49
- * examples: [ // GuardrailPhrasesList
50
- * "STRING_VALUE",
51
- * ],
52
- * action: "block" || "detect", // required
53
- * },
54
- * ],
55
- * },
56
- * contentPolicy: { // GuardrailContentPolicy
57
- * filters: [ // GuardrailContentFiltersList // required
58
- * { // GuardrailContentFilter
59
- * category: "hate" || "insults" || "sexual" || "violence" || "misconduct" || "prompt_attack", // required
60
- * inputStrength: "none" || "low" || "medium" || "high",
61
- * outputStrength: "none" || "low" || "medium" || "high",
62
- * },
63
- * ],
64
- * },
65
- * wordPolicy: { // GuardrailWordPolicy
66
- * blockedWords: [
67
- * "STRING_VALUE",
68
- * ],
69
- * profanity: true || false,
70
- * },
71
- * piiPolicy: { // GuardrailPiiPolicy
72
- * entities: [ // GuardrailPiiEntitiesList // required
73
- * { // GuardrailPiiEntity
74
- * entityType: "email" || "phone_number" || "name" || "address" || "credit_card" || "iban" || "national_id" || "password" || "custom", // required
75
- * pattern: "STRING_VALUE",
76
- * action: "block" || "anonymize", // required
77
- * },
78
- * ],
79
- * },
80
- * blockedInputMessage: "STRING_VALUE",
81
- * blockedOutputMessage: "STRING_VALUE",
82
- * company: "STRING_VALUE",
83
- * };
84
- * const command = new CreateGuardrailCommand(input);
85
- * const response = await client.send(command);
86
- * // { // CreateGuardrailOutput
87
- * // guardrail: { // Guardrail
88
- * // name: "STRING_VALUE", // required
89
- * // description: "STRING_VALUE",
90
- * // topicPolicy: { // GuardrailTopicPolicy
91
- * // topics: [ // GuardrailTopicsList // required
92
- * // { // GuardrailTopic
93
- * // name: "STRING_VALUE", // required
94
- * // definition: "STRING_VALUE", // required
95
- * // examples: [ // GuardrailPhrasesList
96
- * // "STRING_VALUE",
97
- * // ],
98
- * // action: "block" || "detect", // required
99
- * // },
100
- * // ],
101
- * // },
102
- * // contentPolicy: { // GuardrailContentPolicy
103
- * // filters: [ // GuardrailContentFiltersList // required
104
- * // { // GuardrailContentFilter
105
- * // category: "hate" || "insults" || "sexual" || "violence" || "misconduct" || "prompt_attack", // required
106
- * // inputStrength: "none" || "low" || "medium" || "high",
107
- * // outputStrength: "none" || "low" || "medium" || "high",
108
- * // },
109
- * // ],
110
- * // },
111
- * // wordPolicy: { // GuardrailWordPolicy
112
- * // blockedWords: [
113
- * // "STRING_VALUE",
114
- * // ],
115
- * // profanity: true || false,
116
- * // },
117
- * // piiPolicy: { // GuardrailPiiPolicy
118
- * // entities: [ // GuardrailPiiEntitiesList // required
119
- * // { // GuardrailPiiEntity
120
- * // entityType: "email" || "phone_number" || "name" || "address" || "credit_card" || "iban" || "national_id" || "password" || "custom", // required
121
- * // pattern: "STRING_VALUE",
122
- * // action: "block" || "anonymize", // required
123
- * // },
124
- * // ],
125
- * // },
126
- * // blockedInputMessage: "STRING_VALUE",
127
- * // blockedOutputMessage: "STRING_VALUE",
128
- * // createdAt: "STRING_VALUE", // required
129
- * // createdBy: { // Actor
130
- * // type: "user" || "api_key" || "service", // required
131
- * // id: "STRING_VALUE", // required
132
- * // name: "STRING_VALUE",
133
- * // },
134
- * // updatedAt: "STRING_VALUE",
135
- * // updatedBy: {
136
- * // type: "user" || "api_key" || "service", // required
137
- * // id: "STRING_VALUE", // required
138
- * // name: "STRING_VALUE",
139
- * // },
140
- * // id: "STRING_VALUE", // required
141
- * // },
142
- * // };
143
- *
144
- * ```
145
- *
146
- * @param CreateGuardrailCommandInput - {@link CreateGuardrailCommandInput}
147
- * @returns {@link CreateGuardrailCommandOutput}
148
- * @see {@link CreateGuardrailCommandInput} for command's `input` shape.
149
- * @see {@link CreateGuardrailCommandOutput} for command's `response` shape.
150
- * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
151
- *
152
- * @throws {@link ValidationException} (client fault)
153
- *
154
- * @throws {@link WilmaAgentsServiceException}
155
- * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
156
- *
157
- *
158
- * @public
159
- */
160
- export declare class CreateGuardrailCommand extends CreateGuardrailCommand_base {
161
- /** @internal type navigation helper, not in runtime. */
162
- protected static __types: {
163
- api: {
164
- input: CreateGuardrailInput;
165
- output: CreateGuardrailOutput;
166
- };
167
- sdk: {
168
- input: CreateGuardrailCommandInput;
169
- output: CreateGuardrailCommandOutput;
170
- };
171
- };
172
- }