@wildix/wilma-agents-client 1.0.27 → 1.0.29

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 (33) hide show
  1. package/dist-cjs/WilmaAgents.js +6 -0
  2. package/dist-cjs/commands/DeletePronunciationDictionaryCommand.js +20 -0
  3. package/dist-cjs/commands/ListPronunciationDictionariesCommand.js +20 -0
  4. package/dist-cjs/commands/PutPronunciationDictionaryCommand.js +20 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/models/enums.js +46 -7
  7. package/dist-cjs/schemas/schemas_0.js +333 -99
  8. package/dist-es/WilmaAgents.js +6 -0
  9. package/dist-es/commands/DeletePronunciationDictionaryCommand.js +16 -0
  10. package/dist-es/commands/ListPronunciationDictionariesCommand.js +16 -0
  11. package/dist-es/commands/PutPronunciationDictionaryCommand.js +16 -0
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/models/enums.js +45 -6
  14. package/dist-es/schemas/schemas_0.js +329 -95
  15. package/dist-types/WilmaAgents.d.ts +25 -3
  16. package/dist-types/WilmaAgentsClient.d.ts +8 -5
  17. package/dist-types/commands/CreateAgentCommand.d.ts +286 -16
  18. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
  19. package/dist-types/commands/GetAgentCommand.d.ts +143 -8
  20. package/dist-types/commands/GetAgentVersionCommand.d.ts +143 -8
  21. package/dist-types/commands/ListAgentsCommand.d.ts +144 -9
  22. package/dist-types/commands/ListAgentsNamesCommand.d.ts +18 -2
  23. package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +103 -0
  24. package/dist-types/commands/PublishAgentVersionCommand.d.ts +143 -8
  25. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
  26. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +143 -8
  27. package/dist-types/commands/UpdateAgentCommand.d.ts +286 -16
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/index.d.ts +3 -3
  30. package/dist-types/models/enums.d.ts +159 -26
  31. package/dist-types/models/models_0.d.ts +913 -49
  32. package/dist-types/schemas/schemas_0.d.ts +29 -1
  33. package/package.json +2 -2
@@ -4,6 +4,7 @@ import { CreateAgentApiKeyCommand, } from "./commands/CreateAgentApiKeyCommand";
4
4
  import { CreateAgentCommand, } from "./commands/CreateAgentCommand";
5
5
  import { DeleteAgentApiKeyCommand, } from "./commands/DeleteAgentApiKeyCommand";
6
6
  import { DeleteAgentCommand, } from "./commands/DeleteAgentCommand";
7
+ import { DeletePronunciationDictionaryCommand, } from "./commands/DeletePronunciationDictionaryCommand";
7
8
  import { GetAgentCommand } from "./commands/GetAgentCommand";
8
9
  import { GetAgentDeploymentCommand, } from "./commands/GetAgentDeploymentCommand";
9
10
  import { GetAgentVersionCommand, } from "./commands/GetAgentVersionCommand";
@@ -11,8 +12,10 @@ import { ListAgentApiKeysCommand, } from "./commands/ListAgentApiKeysCommand";
11
12
  import { ListAgentsCommand, } from "./commands/ListAgentsCommand";
12
13
  import { ListAgentsNamesCommand, } from "./commands/ListAgentsNamesCommand";
13
14
  import { ListAgentVersionsCommand, } from "./commands/ListAgentVersionsCommand";
15
+ import { ListPronunciationDictionariesCommand, } from "./commands/ListPronunciationDictionariesCommand";
14
16
  import { PublishAgentVersionCommand, } from "./commands/PublishAgentVersionCommand";
15
17
  import { PutAgentDeploymentCommand, } from "./commands/PutAgentDeploymentCommand";
18
+ import { PutPronunciationDictionaryCommand, } from "./commands/PutPronunciationDictionaryCommand";
16
19
  import { ResetAgentDeploymentCommand, } from "./commands/ResetAgentDeploymentCommand";
17
20
  import { RestoreAgentVersionToDraftCommand, } from "./commands/RestoreAgentVersionToDraftCommand";
18
21
  import { UpdateAgentCommand, } from "./commands/UpdateAgentCommand";
@@ -23,6 +26,7 @@ const commands = {
23
26
  CreateAgentApiKeyCommand,
24
27
  DeleteAgentCommand,
25
28
  DeleteAgentApiKeyCommand,
29
+ DeletePronunciationDictionaryCommand,
26
30
  GetAgentCommand,
27
31
  GetAgentDeploymentCommand,
28
32
  GetAgentVersionCommand,
@@ -30,8 +34,10 @@ const commands = {
30
34
  ListAgentsCommand,
31
35
  ListAgentsNamesCommand,
32
36
  ListAgentVersionsCommand,
37
+ ListPronunciationDictionariesCommand,
33
38
  PublishAgentVersionCommand,
34
39
  PutAgentDeploymentCommand,
40
+ PutPronunciationDictionaryCommand,
35
41
  ResetAgentDeploymentCommand,
36
42
  RestoreAgentVersionToDraftCommand,
37
43
  UpdateAgentCommand,
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeletePronunciationDictionary$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeletePronunciationDictionaryCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaAgents", "DeletePronunciationDictionary", {})
13
+ .n("WilmaAgentsClient", "DeletePronunciationDictionaryCommand")
14
+ .sc(DeletePronunciationDictionary$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListPronunciationDictionaries$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListPronunciationDictionariesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaAgents", "ListPronunciationDictionaries", {})
13
+ .n("WilmaAgentsClient", "ListPronunciationDictionariesCommand")
14
+ .sc(ListPronunciationDictionaries$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { PutPronunciationDictionary$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class PutPronunciationDictionaryCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaAgents", "PutPronunciationDictionary", {})
13
+ .n("WilmaAgentsClient", "PutPronunciationDictionaryCommand")
14
+ .sc(PutPronunciationDictionary$)
15
+ .build() {
16
+ }
@@ -3,6 +3,7 @@ export * from "./CreateAgentApiKeyCommand";
3
3
  export * from "./CreateAgentCommand";
4
4
  export * from "./DeleteAgentApiKeyCommand";
5
5
  export * from "./DeleteAgentCommand";
6
+ export * from "./DeletePronunciationDictionaryCommand";
6
7
  export * from "./GetAgentCommand";
7
8
  export * from "./GetAgentDeploymentCommand";
8
9
  export * from "./GetAgentVersionCommand";
@@ -10,8 +11,10 @@ export * from "./ListAgentApiKeysCommand";
10
11
  export * from "./ListAgentVersionsCommand";
11
12
  export * from "./ListAgentsCommand";
12
13
  export * from "./ListAgentsNamesCommand";
14
+ export * from "./ListPronunciationDictionariesCommand";
13
15
  export * from "./PublishAgentVersionCommand";
14
16
  export * from "./PutAgentDeploymentCommand";
17
+ export * from "./PutPronunciationDictionaryCommand";
15
18
  export * from "./ResetAgentDeploymentCommand";
16
19
  export * from "./RestoreAgentVersionToDraftCommand";
17
20
  export * from "./UpdateAgentCommand";
@@ -1,12 +1,30 @@
1
1
  export const AgentVisibility = {
2
2
  EXPLICIT: "explicit",
3
3
  ORGANIZATION: "organization",
4
+ PUBLIC: "public",
5
+ };
6
+ export const VoicePronunciationEncoding = {
7
+ ALIAS: "alias",
8
+ IPA: "ipa",
9
+ };
10
+ export const VoiceSpeechProvider = {
11
+ AMAZON_POLLY: "amazon_polly",
12
+ ELEVENLABS: "elevenlabs",
13
+ GOOGLE: "google",
14
+ };
15
+ export const VoiceTranscriptionVendor = {
16
+ AWS: "aws",
4
17
  };
5
18
  export const ActorType = {
6
19
  API_KEY: "api_key",
7
20
  SERVICE: "service",
8
21
  USER: "user",
9
22
  };
23
+ export const ChannelType = {
24
+ ASSISTANT: "assistant",
25
+ CHAT: "chat",
26
+ VOICE: "voice",
27
+ };
10
28
  export const AgentToolPipelineType = {
11
29
  ASYNC_REQUEST: "async_request",
12
30
  ASYNC_REQUEST_GUIDED: "async_request_guided",
@@ -53,6 +71,33 @@ export const WebSearchContextSize = {
53
71
  LOW: "low",
54
72
  MEDIUM: "medium",
55
73
  };
74
+ export const AgentGuardrailPreset = {
75
+ ABUSE: "abuse",
76
+ HARMFUL: "harmful",
77
+ JAILBREAK: "jailbreak",
78
+ OFF_TOPIC: "offTopic",
79
+ PII: "pii",
80
+ REGULATED_ADVICE: "regulatedAdvice",
81
+ SECRETS: "secrets",
82
+ SELF_HARM: "selfHarm",
83
+ };
84
+ export const AgentGuardrailSensitivity = {
85
+ HIGH: "high",
86
+ LOW: "low",
87
+ MEDIUM: "medium",
88
+ };
89
+ export const AgentGuardrailErrorMode = {
90
+ CLOSED: "closed",
91
+ OPEN: "open",
92
+ };
93
+ export const AgentGuardrailMode = {
94
+ BLOCKING: "blocking",
95
+ PARALLEL: "parallel",
96
+ };
97
+ export const AgentGuardrailWindow = {
98
+ LAST_MESSAGE: "lastMessage",
99
+ LAST_WITH_PRIOR: "lastWithPrior",
100
+ };
56
101
  export const AgentVariableType = {
57
102
  BOOLEAN: "boolean",
58
103
  NUMBER: "number",
@@ -88,9 +133,3 @@ export const AgentStatus = {
88
133
  ACTIVE: "active",
89
134
  DRAFT: "draft",
90
135
  };
91
- export const ChannelType = {
92
- ASSISTANT: "assistant",
93
- CHAT: "chat",
94
- VOICE: "voice",
95
- WORKFLOW: "workflow",
96
- };