@wildix/wilma-agents-client 1.0.28 → 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.
- 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 +19 -7
- package/dist-cjs/schemas/schemas_0.js +233 -84
- 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 +18 -6
- package/dist-es/schemas/schemas_0.js +230 -81
- package/dist-types/WilmaAgents.d.ts +25 -3
- package/dist-types/WilmaAgentsClient.d.ts +8 -5
- package/dist-types/commands/CreateAgentCommand.d.ts +212 -32
- package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
- package/dist-types/commands/GetAgentCommand.d.ts +106 -16
- package/dist-types/commands/GetAgentVersionCommand.d.ts +106 -16
- package/dist-types/commands/ListAgentsCommand.d.ts +107 -17
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +18 -2
- package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +103 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +106 -16
- package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +106 -16
- package/dist-types/commands/UpdateAgentCommand.d.ts +212 -32
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/enums.d.ts +68 -26
- package/dist-types/models/models_0.d.ts +618 -49
- package/dist-types/schemas/schemas_0.d.ts +18 -1
- package/package.json +2 -2
package/dist-cjs/WilmaAgents.js
CHANGED
|
@@ -7,6 +7,7 @@ const CreateAgentApiKeyCommand_1 = require("./commands/CreateAgentApiKeyCommand"
|
|
|
7
7
|
const CreateAgentCommand_1 = require("./commands/CreateAgentCommand");
|
|
8
8
|
const DeleteAgentApiKeyCommand_1 = require("./commands/DeleteAgentApiKeyCommand");
|
|
9
9
|
const DeleteAgentCommand_1 = require("./commands/DeleteAgentCommand");
|
|
10
|
+
const DeletePronunciationDictionaryCommand_1 = require("./commands/DeletePronunciationDictionaryCommand");
|
|
10
11
|
const GetAgentCommand_1 = require("./commands/GetAgentCommand");
|
|
11
12
|
const GetAgentDeploymentCommand_1 = require("./commands/GetAgentDeploymentCommand");
|
|
12
13
|
const GetAgentVersionCommand_1 = require("./commands/GetAgentVersionCommand");
|
|
@@ -14,8 +15,10 @@ const ListAgentApiKeysCommand_1 = require("./commands/ListAgentApiKeysCommand");
|
|
|
14
15
|
const ListAgentsCommand_1 = require("./commands/ListAgentsCommand");
|
|
15
16
|
const ListAgentsNamesCommand_1 = require("./commands/ListAgentsNamesCommand");
|
|
16
17
|
const ListAgentVersionsCommand_1 = require("./commands/ListAgentVersionsCommand");
|
|
18
|
+
const ListPronunciationDictionariesCommand_1 = require("./commands/ListPronunciationDictionariesCommand");
|
|
17
19
|
const PublishAgentVersionCommand_1 = require("./commands/PublishAgentVersionCommand");
|
|
18
20
|
const PutAgentDeploymentCommand_1 = require("./commands/PutAgentDeploymentCommand");
|
|
21
|
+
const PutPronunciationDictionaryCommand_1 = require("./commands/PutPronunciationDictionaryCommand");
|
|
19
22
|
const ResetAgentDeploymentCommand_1 = require("./commands/ResetAgentDeploymentCommand");
|
|
20
23
|
const RestoreAgentVersionToDraftCommand_1 = require("./commands/RestoreAgentVersionToDraftCommand");
|
|
21
24
|
const UpdateAgentCommand_1 = require("./commands/UpdateAgentCommand");
|
|
@@ -26,6 +29,7 @@ const commands = {
|
|
|
26
29
|
CreateAgentApiKeyCommand: CreateAgentApiKeyCommand_1.CreateAgentApiKeyCommand,
|
|
27
30
|
DeleteAgentCommand: DeleteAgentCommand_1.DeleteAgentCommand,
|
|
28
31
|
DeleteAgentApiKeyCommand: DeleteAgentApiKeyCommand_1.DeleteAgentApiKeyCommand,
|
|
32
|
+
DeletePronunciationDictionaryCommand: DeletePronunciationDictionaryCommand_1.DeletePronunciationDictionaryCommand,
|
|
29
33
|
GetAgentCommand: GetAgentCommand_1.GetAgentCommand,
|
|
30
34
|
GetAgentDeploymentCommand: GetAgentDeploymentCommand_1.GetAgentDeploymentCommand,
|
|
31
35
|
GetAgentVersionCommand: GetAgentVersionCommand_1.GetAgentVersionCommand,
|
|
@@ -33,8 +37,10 @@ const commands = {
|
|
|
33
37
|
ListAgentsCommand: ListAgentsCommand_1.ListAgentsCommand,
|
|
34
38
|
ListAgentsNamesCommand: ListAgentsNamesCommand_1.ListAgentsNamesCommand,
|
|
35
39
|
ListAgentVersionsCommand: ListAgentVersionsCommand_1.ListAgentVersionsCommand,
|
|
40
|
+
ListPronunciationDictionariesCommand: ListPronunciationDictionariesCommand_1.ListPronunciationDictionariesCommand,
|
|
36
41
|
PublishAgentVersionCommand: PublishAgentVersionCommand_1.PublishAgentVersionCommand,
|
|
37
42
|
PutAgentDeploymentCommand: PutAgentDeploymentCommand_1.PutAgentDeploymentCommand,
|
|
43
|
+
PutPronunciationDictionaryCommand: PutPronunciationDictionaryCommand_1.PutPronunciationDictionaryCommand,
|
|
38
44
|
ResetAgentDeploymentCommand: ResetAgentDeploymentCommand_1.ResetAgentDeploymentCommand,
|
|
39
45
|
RestoreAgentVersionToDraftCommand: RestoreAgentVersionToDraftCommand_1.RestoreAgentVersionToDraftCommand,
|
|
40
46
|
UpdateAgentCommand: UpdateAgentCommand_1.UpdateAgentCommand,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeletePronunciationDictionaryCommand = 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 DeletePronunciationDictionaryCommand 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", "DeletePronunciationDictionary", {})
|
|
16
|
+
.n("WilmaAgentsClient", "DeletePronunciationDictionaryCommand")
|
|
17
|
+
.sc(schemas_0_1.DeletePronunciationDictionary$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.DeletePronunciationDictionaryCommand = DeletePronunciationDictionaryCommand;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListPronunciationDictionariesCommand = 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 ListPronunciationDictionariesCommand 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", "ListPronunciationDictionaries", {})
|
|
16
|
+
.n("WilmaAgentsClient", "ListPronunciationDictionariesCommand")
|
|
17
|
+
.sc(schemas_0_1.ListPronunciationDictionaries$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.ListPronunciationDictionariesCommand = ListPronunciationDictionariesCommand;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutPronunciationDictionaryCommand = 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 PutPronunciationDictionaryCommand 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", "PutPronunciationDictionary", {})
|
|
16
|
+
.n("WilmaAgentsClient", "PutPronunciationDictionaryCommand")
|
|
17
|
+
.sc(schemas_0_1.PutPronunciationDictionary$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.PutPronunciationDictionaryCommand = PutPronunciationDictionaryCommand;
|
|
@@ -6,6 +6,7 @@ tslib_1.__exportStar(require("./CreateAgentApiKeyCommand"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./CreateAgentCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./DeleteAgentApiKeyCommand"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./DeleteAgentCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DeletePronunciationDictionaryCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./GetAgentCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./GetAgentDeploymentCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./GetAgentVersionCommand"), exports);
|
|
@@ -13,8 +14,10 @@ tslib_1.__exportStar(require("./ListAgentApiKeysCommand"), exports);
|
|
|
13
14
|
tslib_1.__exportStar(require("./ListAgentVersionsCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./ListAgentsCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./ListAgentsNamesCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListPronunciationDictionariesCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./PublishAgentVersionCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./PutAgentDeploymentCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./PutPronunciationDictionaryCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./ResetAgentDeploymentCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./RestoreAgentVersionToDraftCommand"), exports);
|
|
20
23
|
tslib_1.__exportStar(require("./UpdateAgentCommand"), exports);
|
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,15 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AgentStatus = exports.AgentWorkflowLayout = exports.AgentWorkflowFailureKind = exports.AgentWorkflowMessageButtonVariant = exports.AgentWorkflowEntryBehavior = exports.AgentVariableType = exports.AgentGuardrailWindow = exports.AgentGuardrailMode = exports.AgentGuardrailErrorMode = exports.AgentGuardrailSensitivity = exports.AgentGuardrailPreset = exports.WebSearchContextSize = exports.AgentTransferVariant = exports.AgentTransferPipelineType = exports.SandboxSize = exports.SandboxNetworkAccess = exports.AgentHangupPipelineType = exports.AgentHandoverVariant = exports.AgentHandoverPipelineType = exports.AgentToolPipelineType = exports.ChannelType = exports.ActorType = exports.VoiceTranscriptionVendor = exports.VoiceSpeechProvider = exports.VoicePronunciationEncoding = exports.AgentVisibility = void 0;
|
|
4
4
|
exports.AgentVisibility = {
|
|
5
5
|
EXPLICIT: "explicit",
|
|
6
6
|
ORGANIZATION: "organization",
|
|
7
|
+
PUBLIC: "public",
|
|
8
|
+
};
|
|
9
|
+
exports.VoicePronunciationEncoding = {
|
|
10
|
+
ALIAS: "alias",
|
|
11
|
+
IPA: "ipa",
|
|
12
|
+
};
|
|
13
|
+
exports.VoiceSpeechProvider = {
|
|
14
|
+
AMAZON_POLLY: "amazon_polly",
|
|
15
|
+
ELEVENLABS: "elevenlabs",
|
|
16
|
+
GOOGLE: "google",
|
|
17
|
+
};
|
|
18
|
+
exports.VoiceTranscriptionVendor = {
|
|
19
|
+
AWS: "aws",
|
|
7
20
|
};
|
|
8
21
|
exports.ActorType = {
|
|
9
22
|
API_KEY: "api_key",
|
|
10
23
|
SERVICE: "service",
|
|
11
24
|
USER: "user",
|
|
12
25
|
};
|
|
26
|
+
exports.ChannelType = {
|
|
27
|
+
ASSISTANT: "assistant",
|
|
28
|
+
CHAT: "chat",
|
|
29
|
+
VOICE: "voice",
|
|
30
|
+
};
|
|
13
31
|
exports.AgentToolPipelineType = {
|
|
14
32
|
ASYNC_REQUEST: "async_request",
|
|
15
33
|
ASYNC_REQUEST_GUIDED: "async_request_guided",
|
|
@@ -118,9 +136,3 @@ exports.AgentStatus = {
|
|
|
118
136
|
ACTIVE: "active",
|
|
119
137
|
DRAFT: "draft",
|
|
120
138
|
};
|
|
121
|
-
exports.ChannelType = {
|
|
122
|
-
ASSISTANT: "assistant",
|
|
123
|
-
CHAT: "chat",
|
|
124
|
-
VOICE: "voice",
|
|
125
|
-
WORKFLOW: "workflow",
|
|
126
|
-
};
|