@wildix/wilma-agents-client 1.0.24 → 1.0.27
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 +0 -6
- package/dist-cjs/commands/index.js +0 -3
- package/dist-cjs/models/enums.js +25 -13
- package/dist-cjs/schemas/schemas_0.js +277 -144
- package/dist-es/WilmaAgents.js +0 -6
- package/dist-es/commands/index.js +0 -3
- package/dist-es/models/enums.js +24 -12
- package/dist-es/schemas/schemas_0.js +274 -142
- package/dist-types/WilmaAgents.d.ts +0 -22
- package/dist-types/WilmaAgentsClient.d.ts +2 -5
- package/dist-types/commands/CreateAgentCommand.d.ts +1222 -568
- package/dist-types/commands/GetAgentCommand.d.ts +611 -284
- package/dist-types/commands/GetAgentVersionCommand.d.ts +611 -284
- package/dist-types/commands/ListAgentsCommand.d.ts +611 -284
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +0 -1
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +611 -284
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +611 -284
- package/dist-types/commands/UpdateAgentCommand.d.ts +1222 -568
- package/dist-types/commands/index.d.ts +0 -3
- package/dist-types/models/enums.d.ts +89 -42
- package/dist-types/models/models_0.d.ts +1146 -457
- package/dist-types/schemas/schemas_0.d.ts +34 -15
- package/package.json +1 -1
- package/dist-cjs/commands/DeletePronunciationDictionaryCommand.js +0 -20
- package/dist-cjs/commands/ListPronunciationDictionariesCommand.js +0 -20
- package/dist-cjs/commands/PutPronunciationDictionaryCommand.js +0 -20
- package/dist-es/commands/DeletePronunciationDictionaryCommand.js +0 -16
- package/dist-es/commands/ListPronunciationDictionariesCommand.js +0 -16
- package/dist-es/commands/PutPronunciationDictionaryCommand.js +0 -16
- package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +0 -78
- package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +0 -96
- package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +0 -108
package/dist-es/WilmaAgents.js
CHANGED
|
@@ -4,7 +4,6 @@ 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";
|
|
8
7
|
import { GetAgentCommand } from "./commands/GetAgentCommand";
|
|
9
8
|
import { GetAgentDeploymentCommand, } from "./commands/GetAgentDeploymentCommand";
|
|
10
9
|
import { GetAgentVersionCommand, } from "./commands/GetAgentVersionCommand";
|
|
@@ -12,10 +11,8 @@ import { ListAgentApiKeysCommand, } from "./commands/ListAgentApiKeysCommand";
|
|
|
12
11
|
import { ListAgentsCommand, } from "./commands/ListAgentsCommand";
|
|
13
12
|
import { ListAgentsNamesCommand, } from "./commands/ListAgentsNamesCommand";
|
|
14
13
|
import { ListAgentVersionsCommand, } from "./commands/ListAgentVersionsCommand";
|
|
15
|
-
import { ListPronunciationDictionariesCommand, } from "./commands/ListPronunciationDictionariesCommand";
|
|
16
14
|
import { PublishAgentVersionCommand, } from "./commands/PublishAgentVersionCommand";
|
|
17
15
|
import { PutAgentDeploymentCommand, } from "./commands/PutAgentDeploymentCommand";
|
|
18
|
-
import { PutPronunciationDictionaryCommand, } from "./commands/PutPronunciationDictionaryCommand";
|
|
19
16
|
import { ResetAgentDeploymentCommand, } from "./commands/ResetAgentDeploymentCommand";
|
|
20
17
|
import { RestoreAgentVersionToDraftCommand, } from "./commands/RestoreAgentVersionToDraftCommand";
|
|
21
18
|
import { UpdateAgentCommand, } from "./commands/UpdateAgentCommand";
|
|
@@ -26,7 +23,6 @@ const commands = {
|
|
|
26
23
|
CreateAgentApiKeyCommand,
|
|
27
24
|
DeleteAgentCommand,
|
|
28
25
|
DeleteAgentApiKeyCommand,
|
|
29
|
-
DeletePronunciationDictionaryCommand,
|
|
30
26
|
GetAgentCommand,
|
|
31
27
|
GetAgentDeploymentCommand,
|
|
32
28
|
GetAgentVersionCommand,
|
|
@@ -34,10 +30,8 @@ const commands = {
|
|
|
34
30
|
ListAgentsCommand,
|
|
35
31
|
ListAgentsNamesCommand,
|
|
36
32
|
ListAgentVersionsCommand,
|
|
37
|
-
ListPronunciationDictionariesCommand,
|
|
38
33
|
PublishAgentVersionCommand,
|
|
39
34
|
PutAgentDeploymentCommand,
|
|
40
|
-
PutPronunciationDictionaryCommand,
|
|
41
35
|
ResetAgentDeploymentCommand,
|
|
42
36
|
RestoreAgentVersionToDraftCommand,
|
|
43
37
|
UpdateAgentCommand,
|
|
@@ -3,7 +3,6 @@ export * from "./CreateAgentApiKeyCommand";
|
|
|
3
3
|
export * from "./CreateAgentCommand";
|
|
4
4
|
export * from "./DeleteAgentApiKeyCommand";
|
|
5
5
|
export * from "./DeleteAgentCommand";
|
|
6
|
-
export * from "./DeletePronunciationDictionaryCommand";
|
|
7
6
|
export * from "./GetAgentCommand";
|
|
8
7
|
export * from "./GetAgentDeploymentCommand";
|
|
9
8
|
export * from "./GetAgentVersionCommand";
|
|
@@ -11,10 +10,8 @@ export * from "./ListAgentApiKeysCommand";
|
|
|
11
10
|
export * from "./ListAgentVersionsCommand";
|
|
12
11
|
export * from "./ListAgentsCommand";
|
|
13
12
|
export * from "./ListAgentsNamesCommand";
|
|
14
|
-
export * from "./ListPronunciationDictionariesCommand";
|
|
15
13
|
export * from "./PublishAgentVersionCommand";
|
|
16
14
|
export * from "./PutAgentDeploymentCommand";
|
|
17
|
-
export * from "./PutPronunciationDictionaryCommand";
|
|
18
15
|
export * from "./ResetAgentDeploymentCommand";
|
|
19
16
|
export * from "./RestoreAgentVersionToDraftCommand";
|
|
20
17
|
export * from "./UpdateAgentCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -2,18 +2,6 @@ export const AgentVisibility = {
|
|
|
2
2
|
EXPLICIT: "explicit",
|
|
3
3
|
ORGANIZATION: "organization",
|
|
4
4
|
};
|
|
5
|
-
export const VoicePronunciationEncoding = {
|
|
6
|
-
ALIAS: "alias",
|
|
7
|
-
IPA: "ipa",
|
|
8
|
-
};
|
|
9
|
-
export const VoiceSpeechProvider = {
|
|
10
|
-
AMAZON_POLLY: "amazon_polly",
|
|
11
|
-
ELEVENLABS: "elevenlabs",
|
|
12
|
-
GOOGLE: "google",
|
|
13
|
-
};
|
|
14
|
-
export const VoiceTranscriptionVendor = {
|
|
15
|
-
AWS: "aws",
|
|
16
|
-
};
|
|
17
5
|
export const ActorType = {
|
|
18
6
|
API_KEY: "api_key",
|
|
19
7
|
SERVICE: "service",
|
|
@@ -72,6 +60,30 @@ export const AgentVariableType = {
|
|
|
72
60
|
STRING: "string",
|
|
73
61
|
STRING_ARRAY: "string_array",
|
|
74
62
|
};
|
|
63
|
+
export const AgentWorkflowEntryBehavior = {
|
|
64
|
+
AUTO: "auto",
|
|
65
|
+
LISTEN_FIRST: "listen_first",
|
|
66
|
+
SPEAK_FIRST: "speak_first",
|
|
67
|
+
};
|
|
68
|
+
export const AgentWorkflowMessageButtonVariant = {
|
|
69
|
+
CONTAINED: "contained",
|
|
70
|
+
OUTLINED: "outlined",
|
|
71
|
+
};
|
|
72
|
+
export const AgentWorkflowFailureKind = {
|
|
73
|
+
DENIED: "denied",
|
|
74
|
+
ERROR: "error",
|
|
75
|
+
INVALID_INPUT: "invalid_input",
|
|
76
|
+
NOT_FOUND: "not_found",
|
|
77
|
+
RATE_LIMITED: "rate_limited",
|
|
78
|
+
TIMEOUT: "timeout",
|
|
79
|
+
UNAUTHORIZED: "unauthorized",
|
|
80
|
+
UNAVAILABLE: "unavailable",
|
|
81
|
+
};
|
|
82
|
+
export const AgentWorkflowLayout = {
|
|
83
|
+
COMPACT: "compact",
|
|
84
|
+
FLOW: "flow",
|
|
85
|
+
STAGES: "stages",
|
|
86
|
+
};
|
|
75
87
|
export const AgentStatus = {
|
|
76
88
|
ACTIVE: "active",
|
|
77
89
|
DRAFT: "draft",
|