@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.
Files changed (32) hide show
  1. package/dist-cjs/WilmaAgents.js +0 -6
  2. package/dist-cjs/commands/index.js +0 -3
  3. package/dist-cjs/models/enums.js +25 -13
  4. package/dist-cjs/schemas/schemas_0.js +277 -144
  5. package/dist-es/WilmaAgents.js +0 -6
  6. package/dist-es/commands/index.js +0 -3
  7. package/dist-es/models/enums.js +24 -12
  8. package/dist-es/schemas/schemas_0.js +274 -142
  9. package/dist-types/WilmaAgents.d.ts +0 -22
  10. package/dist-types/WilmaAgentsClient.d.ts +2 -5
  11. package/dist-types/commands/CreateAgentCommand.d.ts +1222 -568
  12. package/dist-types/commands/GetAgentCommand.d.ts +611 -284
  13. package/dist-types/commands/GetAgentVersionCommand.d.ts +611 -284
  14. package/dist-types/commands/ListAgentsCommand.d.ts +611 -284
  15. package/dist-types/commands/ListAgentsNamesCommand.d.ts +0 -1
  16. package/dist-types/commands/PublishAgentVersionCommand.d.ts +611 -284
  17. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +611 -284
  18. package/dist-types/commands/UpdateAgentCommand.d.ts +1222 -568
  19. package/dist-types/commands/index.d.ts +0 -3
  20. package/dist-types/models/enums.d.ts +89 -42
  21. package/dist-types/models/models_0.d.ts +1146 -457
  22. package/dist-types/schemas/schemas_0.d.ts +34 -15
  23. package/package.json +1 -1
  24. package/dist-cjs/commands/DeletePronunciationDictionaryCommand.js +0 -20
  25. package/dist-cjs/commands/ListPronunciationDictionariesCommand.js +0 -20
  26. package/dist-cjs/commands/PutPronunciationDictionaryCommand.js +0 -20
  27. package/dist-es/commands/DeletePronunciationDictionaryCommand.js +0 -16
  28. package/dist-es/commands/ListPronunciationDictionariesCommand.js +0 -16
  29. package/dist-es/commands/PutPronunciationDictionaryCommand.js +0 -16
  30. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +0 -78
  31. package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +0 -96
  32. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +0 -108
@@ -57,6 +57,35 @@ export declare var AgentWaitCapability$: StaticStructureSchema;
57
57
  export declare var AgentWebFetchCapability$: StaticStructureSchema;
58
58
  export declare var AgentWebhookEngine$: StaticStructureSchema;
59
59
  export declare var AgentWebSearchCapability$: StaticStructureSchema;
60
+ export declare var AgentWorkflow$: StaticStructureSchema;
61
+ export declare var AgentWorkflowActionHandler$: StaticStructureSchema;
62
+ export declare var AgentWorkflowAlwaysCondition$: StaticStructureSchema;
63
+ export declare var AgentWorkflowAssignment$: StaticStructureSchema;
64
+ export declare var AgentWorkflowConversationChannelsSettings$: StaticStructureSchema;
65
+ export declare var AgentWorkflowConversationHandler$: StaticStructureSchema;
66
+ export declare var AgentWorkflowConversationVoiceSettings$: StaticStructureSchema;
67
+ export declare var AgentWorkflowEndHandler$: StaticStructureSchema;
68
+ export declare var AgentWorkflowExpressionCondition$: StaticStructureSchema;
69
+ export declare var AgentWorkflowFailureCondition$: StaticStructureSchema;
70
+ export declare var AgentWorkflowFallbackCondition$: StaticStructureSchema;
71
+ export declare var AgentWorkflowInvokeHandler$: StaticStructureSchema;
72
+ export declare var AgentWorkflowMessageButton$: StaticStructureSchema;
73
+ export declare var AgentWorkflowMessageButtonLinkHandler$: StaticStructureSchema;
74
+ export declare var AgentWorkflowMessageButtonReplyHandler$: StaticStructureSchema;
75
+ export declare var AgentWorkflowMessageChannelsSettings$: StaticStructureSchema;
76
+ export declare var AgentWorkflowMessageChatSettings$: StaticStructureSchema;
77
+ export declare var AgentWorkflowMessageGeneration$: StaticStructureSchema;
78
+ export declare var AgentWorkflowMessageHandler$: StaticStructureSchema;
79
+ export declare var AgentWorkflowMessageVoiceSettings$: StaticStructureSchema;
80
+ export declare var AgentWorkflowNested$: StaticStructureSchema;
81
+ export declare var AgentWorkflowPromptCondition$: StaticStructureSchema;
82
+ export declare var AgentWorkflowResultCondition$: StaticStructureSchema;
83
+ export declare var AgentWorkflowResultHandler$: StaticStructureSchema;
84
+ export declare var AgentWorkflowSettings$: StaticStructureSchema;
85
+ export declare var AgentWorkflowStep$: StaticStructureSchema;
86
+ export declare var AgentWorkflowStepPosition$: StaticStructureSchema;
87
+ export declare var AgentWorkflowTransition$: StaticStructureSchema;
88
+ export declare var AgentWorkflowVariablesHandler$: StaticStructureSchema;
60
89
  export declare var AssistantChannelSettings$: StaticStructureSchema;
61
90
  export declare var ChatChannelSettings$: StaticStructureSchema;
62
91
  export declare var CompareAgentVersionsInput$: StaticStructureSchema;
@@ -69,8 +98,6 @@ export declare var DeleteAgentApiKeyInput$: StaticStructureSchema;
69
98
  export declare var DeleteAgentApiKeyOutput$: StaticStructureSchema;
70
99
  export declare var DeleteAgentInput$: StaticStructureSchema;
71
100
  export declare var DeleteAgentOutput$: StaticStructureSchema;
72
- export declare var DeletePronunciationDictionaryInput$: StaticStructureSchema;
73
- export declare var DeletePronunciationDictionaryOutput$: StaticStructureSchema;
74
101
  export declare var GetAgentDeploymentInput$: StaticStructureSchema;
75
102
  export declare var GetAgentDeploymentOutput$: StaticStructureSchema;
76
103
  export declare var GetAgentInput$: StaticStructureSchema;
@@ -85,15 +112,10 @@ export declare var ListAgentsNamesOutput$: StaticStructureSchema;
85
112
  export declare var ListAgentsOutput$: StaticStructureSchema;
86
113
  export declare var ListAgentVersionsInput$: StaticStructureSchema;
87
114
  export declare var ListAgentVersionsOutput$: StaticStructureSchema;
88
- export declare var ListPronunciationDictionariesInput$: StaticStructureSchema;
89
- export declare var ListPronunciationDictionariesOutput$: StaticStructureSchema;
90
- export declare var PronunciationDictionary$: StaticStructureSchema;
91
115
  export declare var PublishAgentVersionInput$: StaticStructureSchema;
92
116
  export declare var PublishAgentVersionOutput$: StaticStructureSchema;
93
117
  export declare var PutAgentDeploymentInput$: StaticStructureSchema;
94
118
  export declare var PutAgentDeploymentOutput$: StaticStructureSchema;
95
- export declare var PutPronunciationDictionaryInput$: StaticStructureSchema;
96
- export declare var PutPronunciationDictionaryOutput$: StaticStructureSchema;
97
119
  export declare var ResetAgentDeploymentInput$: StaticStructureSchema;
98
120
  export declare var ResetAgentDeploymentOutput$: StaticStructureSchema;
99
121
  export declare var RestoreAgentVersionToDraftInput$: StaticStructureSchema;
@@ -104,14 +126,9 @@ export declare var VoiceCallerMetadataSettings$: StaticStructureSchema;
104
126
  export declare var VoiceChannelSettings$: StaticStructureSchema;
105
127
  export declare var VoiceEndCallSettings$: StaticStructureSchema;
106
128
  export declare var VoiceInterruptionSettings$: StaticStructureSchema;
107
- export declare var VoiceLanguage$: StaticStructureSchema;
108
129
  export declare var VoiceMaxDurationSettings$: StaticStructureSchema;
109
- export declare var VoicePronunciation$: StaticStructureSchema;
110
130
  export declare var VoiceSilenceTimeoutSettings$: StaticStructureSchema;
111
- export declare var VoiceSpeechSettings$: StaticStructureSchema;
112
- export declare var VoiceSynthesisOptions$: StaticStructureSchema;
113
131
  export declare var VoiceTerminateHangupAction$: StaticStructureSchema;
114
- export declare var VoiceTranscriptionSettings$: StaticStructureSchema;
115
132
  export declare var VoiceTransferTarget$: StaticStructureSchema;
116
133
  export declare var WebSearchUserLocation$: StaticStructureSchema;
117
134
  export declare var WorkflowChannelSettings$: StaticStructureSchema;
@@ -125,13 +142,17 @@ export declare var AgentSandboxCapability$: StaticUnionSchema;
125
142
  export declare var AgentToolAnnotation$: StaticUnionSchema;
126
143
  export declare var AgentToolFieldHandler$: StaticUnionSchema;
127
144
  export declare var AgentToolVariableHandler$: StaticUnionSchema;
145
+ export declare var AgentWorkflowAction$: StaticUnionSchema;
146
+ export declare var AgentWorkflowCondition$: StaticUnionSchema;
147
+ export declare var AgentWorkflowHandler$: StaticUnionSchema;
148
+ export declare var AgentWorkflowMessageButtonHandler$: StaticUnionSchema;
149
+ export declare var AgentWorkflowMessageContent$: StaticUnionSchema;
128
150
  export declare var VoiceTerminateAction$: StaticUnionSchema;
129
151
  export declare var CompareAgentVersions$: StaticOperationSchema;
130
152
  export declare var CreateAgent$: StaticOperationSchema;
131
153
  export declare var CreateAgentApiKey$: StaticOperationSchema;
132
154
  export declare var DeleteAgent$: StaticOperationSchema;
133
155
  export declare var DeleteAgentApiKey$: StaticOperationSchema;
134
- export declare var DeletePronunciationDictionary$: StaticOperationSchema;
135
156
  export declare var GetAgent$: StaticOperationSchema;
136
157
  export declare var GetAgentDeployment$: StaticOperationSchema;
137
158
  export declare var GetAgentVersion$: StaticOperationSchema;
@@ -139,10 +160,8 @@ export declare var ListAgentApiKeys$: StaticOperationSchema;
139
160
  export declare var ListAgents$: StaticOperationSchema;
140
161
  export declare var ListAgentsNames$: StaticOperationSchema;
141
162
  export declare var ListAgentVersions$: StaticOperationSchema;
142
- export declare var ListPronunciationDictionaries$: StaticOperationSchema;
143
163
  export declare var PublishAgentVersion$: StaticOperationSchema;
144
164
  export declare var PutAgentDeployment$: StaticOperationSchema;
145
- export declare var PutPronunciationDictionary$: StaticOperationSchema;
146
165
  export declare var ResetAgentDeployment$: StaticOperationSchema;
147
166
  export declare var RestoreAgentVersionToDraft$: StaticOperationSchema;
148
167
  export declare var UpdateAgent$: 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.24",
4
+ "version": "1.0.27",
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",
@@ -1,20 +0,0 @@
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;
@@ -1,20 +0,0 @@
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;
@@ -1,20 +0,0 @@
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;
@@ -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 { 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
- }
@@ -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 { 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
- }
@@ -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 { 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
- }
@@ -1,78 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DeletePronunciationDictionaryInput, DeletePronunciationDictionaryOutput } 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 DeletePronunciationDictionaryCommand}.
14
- */
15
- export interface DeletePronunciationDictionaryCommandInput extends DeletePronunciationDictionaryInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link DeletePronunciationDictionaryCommand}.
21
- */
22
- export interface DeletePronunciationDictionaryCommandOutput extends DeletePronunciationDictionaryOutput, __MetadataBearer {
23
- }
24
- declare const DeletePronunciationDictionaryCommand_base: {
25
- new (input: DeletePronunciationDictionaryCommandInput): import("@smithy/core/client").CommandImpl<DeletePronunciationDictionaryCommandInput, DeletePronunciationDictionaryCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeletePronunciationDictionaryCommandInput): import("@smithy/core/client").CommandImpl<DeletePronunciationDictionaryCommandInput, DeletePronunciationDictionaryCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Deletes the dictionary for one language. Agents keep their own rules, and their suppressions
31
- * become no-ops rather than errors — the two are edited independently.
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { WilmaAgentsClient, DeletePronunciationDictionaryCommand } from "@wildix/wilma-agents-client"; // ES Modules import
36
- * // const { WilmaAgentsClient, DeletePronunciationDictionaryCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
37
- * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
38
- * const config = {}; // type is WilmaAgentsClientConfig
39
- * const client = new WilmaAgentsClient(config);
40
- * const input = { // DeletePronunciationDictionaryInput
41
- * company: "STRING_VALUE",
42
- * code: "STRING_VALUE", // required
43
- * };
44
- * const command = new DeletePronunciationDictionaryCommand(input);
45
- * const response = await client.send(command);
46
- * // {};
47
- *
48
- * ```
49
- *
50
- * @param DeletePronunciationDictionaryCommandInput - {@link DeletePronunciationDictionaryCommandInput}
51
- * @returns {@link DeletePronunciationDictionaryCommandOutput}
52
- * @see {@link DeletePronunciationDictionaryCommandInput} for command's `input` shape.
53
- * @see {@link DeletePronunciationDictionaryCommandOutput} for command's `response` shape.
54
- * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
55
- *
56
- * @throws {@link NotFoundException} (client fault)
57
- *
58
- * @throws {@link ValidationException} (client fault)
59
- *
60
- * @throws {@link WilmaAgentsServiceException}
61
- * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
62
- *
63
- *
64
- * @public
65
- */
66
- export declare class DeletePronunciationDictionaryCommand extends DeletePronunciationDictionaryCommand_base {
67
- /** @internal type navigation helper, not in runtime. */
68
- protected static __types: {
69
- api: {
70
- input: DeletePronunciationDictionaryInput;
71
- output: {};
72
- };
73
- sdk: {
74
- input: DeletePronunciationDictionaryCommandInput;
75
- output: DeletePronunciationDictionaryCommandOutput;
76
- };
77
- };
78
- }
@@ -1,96 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ListPronunciationDictionariesInput, ListPronunciationDictionariesOutput } 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 ListPronunciationDictionariesCommand}.
14
- */
15
- export interface ListPronunciationDictionariesCommandInput extends ListPronunciationDictionariesInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ListPronunciationDictionariesCommand}.
21
- */
22
- export interface ListPronunciationDictionariesCommandOutput extends ListPronunciationDictionariesOutput, __MetadataBearer {
23
- }
24
- declare const ListPronunciationDictionariesCommand_base: {
25
- new (input: ListPronunciationDictionariesCommandInput): import("@smithy/core/client").CommandImpl<ListPronunciationDictionariesCommandInput, ListPronunciationDictionariesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListPronunciationDictionariesCommandInput]): import("@smithy/core/client").CommandImpl<ListPronunciationDictionariesCommandInput, ListPronunciationDictionariesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Lists every pronunciation dictionary of the company. Returns all languages at once: the
31
- * management surface shows them together and the set is bounded by the languages a company
32
- * actually configures.
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { WilmaAgentsClient, ListPronunciationDictionariesCommand } from "@wildix/wilma-agents-client"; // ES Modules import
37
- * // const { WilmaAgentsClient, ListPronunciationDictionariesCommand } = 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 = { // ListPronunciationDictionariesInput
42
- * company: "STRING_VALUE",
43
- * };
44
- * const command = new ListPronunciationDictionariesCommand(input);
45
- * const response = await client.send(command);
46
- * // { // ListPronunciationDictionariesOutput
47
- * // dictionaries: [ // PronunciationDictionaryList // required
48
- * // { // PronunciationDictionary
49
- * // id: "STRING_VALUE", // required
50
- * // code: "STRING_VALUE", // required
51
- * // rules: [ // VoicePronunciationList // required
52
- * // { // VoicePronunciation
53
- * // phrase: "STRING_VALUE", // required
54
- * // as: "STRING_VALUE", // required
55
- * // encoding: "alias" || "ipa",
56
- * // },
57
- * // ],
58
- * // updatedAt: "STRING_VALUE", // required
59
- * // updatedBy: { // Actor
60
- * // type: "user" || "api_key" || "service", // required
61
- * // id: "STRING_VALUE", // required
62
- * // name: "STRING_VALUE",
63
- * // },
64
- * // },
65
- * // ],
66
- * // };
67
- *
68
- * ```
69
- *
70
- * @param ListPronunciationDictionariesCommandInput - {@link ListPronunciationDictionariesCommandInput}
71
- * @returns {@link ListPronunciationDictionariesCommandOutput}
72
- * @see {@link ListPronunciationDictionariesCommandInput} for command's `input` shape.
73
- * @see {@link ListPronunciationDictionariesCommandOutput} for command's `response` shape.
74
- * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
75
- *
76
- * @throws {@link ValidationException} (client fault)
77
- *
78
- * @throws {@link WilmaAgentsServiceException}
79
- * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
80
- *
81
- *
82
- * @public
83
- */
84
- export declare class ListPronunciationDictionariesCommand extends ListPronunciationDictionariesCommand_base {
85
- /** @internal type navigation helper, not in runtime. */
86
- protected static __types: {
87
- api: {
88
- input: ListPronunciationDictionariesInput;
89
- output: ListPronunciationDictionariesOutput;
90
- };
91
- sdk: {
92
- input: ListPronunciationDictionariesCommandInput;
93
- output: ListPronunciationDictionariesCommandOutput;
94
- };
95
- };
96
- }
@@ -1,108 +0,0 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { PutPronunciationDictionaryInput, PutPronunciationDictionaryOutput } 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 PutPronunciationDictionaryCommand}.
14
- */
15
- export interface PutPronunciationDictionaryCommandInput extends PutPronunciationDictionaryInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link PutPronunciationDictionaryCommand}.
21
- */
22
- export interface PutPronunciationDictionaryCommandOutput extends PutPronunciationDictionaryOutput, __MetadataBearer {
23
- }
24
- declare const PutPronunciationDictionaryCommand_base: {
25
- new (input: PutPronunciationDictionaryCommandInput): import("@smithy/core/client").CommandImpl<PutPronunciationDictionaryCommandInput, PutPronunciationDictionaryCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutPronunciationDictionaryCommandInput): import("@smithy/core/client").CommandImpl<PutPronunciationDictionaryCommandInput, PutPronunciationDictionaryCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Creates or replaces the whole rule list for one language.
31
- *
32
- * REPLACE RATHER THAN PATCH: the editor holds the entire list anyway, and a patch protocol for
33
- * an unordered set of rules buys nothing but a second way to be wrong.
34
- *
35
- * REFUSES when the result would push any agent's merged list past the 200-rule limit, naming
36
- * the agents. The dictionary is shared, so a rule added here can overflow an agent nobody
37
- * editing it is looking at; truncating silently would drop rules from a running agent with no
38
- * signal anywhere.
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { WilmaAgentsClient, PutPronunciationDictionaryCommand } from "@wildix/wilma-agents-client"; // ES Modules import
43
- * // const { WilmaAgentsClient, PutPronunciationDictionaryCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
44
- * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
45
- * const config = {}; // type is WilmaAgentsClientConfig
46
- * const client = new WilmaAgentsClient(config);
47
- * const input = { // PutPronunciationDictionaryInput
48
- * company: "STRING_VALUE",
49
- * code: "STRING_VALUE", // required
50
- * rules: [ // VoicePronunciationList // required
51
- * { // VoicePronunciation
52
- * phrase: "STRING_VALUE", // required
53
- * as: "STRING_VALUE", // required
54
- * encoding: "alias" || "ipa",
55
- * },
56
- * ],
57
- * };
58
- * const command = new PutPronunciationDictionaryCommand(input);
59
- * const response = await client.send(command);
60
- * // { // PutPronunciationDictionaryOutput
61
- * // dictionary: { // PronunciationDictionary
62
- * // id: "STRING_VALUE", // required
63
- * // code: "STRING_VALUE", // required
64
- * // rules: [ // VoicePronunciationList // required
65
- * // { // VoicePronunciation
66
- * // phrase: "STRING_VALUE", // required
67
- * // as: "STRING_VALUE", // required
68
- * // encoding: "alias" || "ipa",
69
- * // },
70
- * // ],
71
- * // updatedAt: "STRING_VALUE", // required
72
- * // updatedBy: { // Actor
73
- * // type: "user" || "api_key" || "service", // required
74
- * // id: "STRING_VALUE", // required
75
- * // name: "STRING_VALUE",
76
- * // },
77
- * // },
78
- * // };
79
- *
80
- * ```
81
- *
82
- * @param PutPronunciationDictionaryCommandInput - {@link PutPronunciationDictionaryCommandInput}
83
- * @returns {@link PutPronunciationDictionaryCommandOutput}
84
- * @see {@link PutPronunciationDictionaryCommandInput} for command's `input` shape.
85
- * @see {@link PutPronunciationDictionaryCommandOutput} for command's `response` shape.
86
- * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
87
- *
88
- * @throws {@link ValidationException} (client fault)
89
- *
90
- * @throws {@link WilmaAgentsServiceException}
91
- * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
92
- *
93
- *
94
- * @public
95
- */
96
- export declare class PutPronunciationDictionaryCommand extends PutPronunciationDictionaryCommand_base {
97
- /** @internal type navigation helper, not in runtime. */
98
- protected static __types: {
99
- api: {
100
- input: PutPronunciationDictionaryInput;
101
- output: PutPronunciationDictionaryOutput;
102
- };
103
- sdk: {
104
- input: PutPronunciationDictionaryCommandInput;
105
- output: PutPronunciationDictionaryCommandOutput;
106
- };
107
- };
108
- }