@wildix/wilma-agents-client 1.0.28 → 1.0.30
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.
- package/dist-cjs/WilmaAgents.js +6 -0
- package/dist-cjs/commands/DeletePronunciationDictionaryCommand.js +20 -0
- package/dist-cjs/commands/ListPronunciationDictionariesCommand.js +20 -0
- package/dist-cjs/commands/PutPronunciationDictionaryCommand.js +20 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/enums.js +20 -7
- package/dist-cjs/schemas/schemas_0.js +231 -76
- package/dist-es/WilmaAgents.js +6 -0
- package/dist-es/commands/DeletePronunciationDictionaryCommand.js +16 -0
- package/dist-es/commands/ListPronunciationDictionariesCommand.js +16 -0
- package/dist-es/commands/PutPronunciationDictionaryCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +19 -6
- package/dist-es/schemas/schemas_0.js +228 -73
- package/dist-types/WilmaAgents.d.ts +25 -3
- package/dist-types/WilmaAgentsClient.d.ts +8 -5
- package/dist-types/commands/CreateAgentCommand.d.ts +212 -30
- package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
- package/dist-types/commands/GetAgentCommand.d.ts +106 -15
- package/dist-types/commands/GetAgentVersionCommand.d.ts +106 -15
- package/dist-types/commands/ListAgentsCommand.d.ts +106 -15
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +16 -0
- package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +103 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +106 -15
- package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +106 -15
- package/dist-types/commands/UpdateAgentCommand.d.ts +212 -30
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/enums.d.ts +72 -26
- package/dist-types/models/models_0.d.ts +620 -40
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/package.json +2 -2
package/dist-es/WilmaAgents.js
CHANGED
|
@@ -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";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1,12 +1,31 @@
|
|
|
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
|
+
WORKFLOW: "workflow",
|
|
28
|
+
};
|
|
10
29
|
export const AgentToolPipelineType = {
|
|
11
30
|
ASYNC_REQUEST: "async_request",
|
|
12
31
|
ASYNC_REQUEST_GUIDED: "async_request_guided",
|
|
@@ -115,9 +134,3 @@ export const AgentStatus = {
|
|
|
115
134
|
ACTIVE: "active",
|
|
116
135
|
DRAFT: "draft",
|
|
117
136
|
};
|
|
118
|
-
export const ChannelType = {
|
|
119
|
-
ASSISTANT: "assistant",
|
|
120
|
-
CHAT: "chat",
|
|
121
|
-
VOICE: "voice",
|
|
122
|
-
WORKFLOW: "workflow",
|
|
123
|
-
};
|