@wildix/wilma-agents-client 1.0.18 → 1.0.22

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 +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 +13 -1
  7. package/dist-cjs/schemas/schemas_0.js +134 -9
  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 +12 -0
  14. package/dist-es/schemas/schemas_0.js +132 -7
  15. package/dist-types/WilmaAgents.d.ts +22 -0
  16. package/dist-types/WilmaAgentsClient.d.ts +5 -2
  17. package/dist-types/commands/CreateAgentCommand.d.ts +112 -6
  18. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +78 -0
  19. package/dist-types/commands/GetAgentCommand.d.ts +56 -3
  20. package/dist-types/commands/GetAgentVersionCommand.d.ts +56 -3
  21. package/dist-types/commands/ListAgentsCommand.d.ts +56 -3
  22. package/dist-types/commands/ListAgentsNamesCommand.d.ts +1 -0
  23. package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +96 -0
  24. package/dist-types/commands/PublishAgentVersionCommand.d.ts +56 -3
  25. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +108 -0
  26. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +56 -3
  27. package/dist-types/commands/UpdateAgentCommand.d.ts +112 -6
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/models/enums.d.ts +42 -0
  30. package/dist-types/models/models_0.d.ts +379 -13
  31. package/dist-types/schemas/schemas_0.d.ts +15 -0
  32. package/package.json +2 -2
@@ -0,0 +1,78 @@
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
+ }
@@ -51,6 +51,61 @@ declare const GetAgentCommand_base: {
51
51
  * // channels: { // AgentChannels
52
52
  * // voice: { // VoiceChannelSettings
53
53
  * // greeting: "STRING_VALUE",
54
+ * // backgroundSound: "STRING_VALUE",
55
+ * // speech: { // VoiceSpeechSettings
56
+ * // provider: "elevenlabs" || "google" || "amazon_polly", // required
57
+ * // languages: [ // VoiceLanguageList // required
58
+ * // { // VoiceLanguage
59
+ * // code: "STRING_VALUE", // required
60
+ * // provider: "elevenlabs" || "google" || "amazon_polly",
61
+ * // voice: "STRING_VALUE", // required
62
+ * // greeting: "STRING_VALUE",
63
+ * // isDefault: true || false,
64
+ * // instructions: "STRING_VALUE",
65
+ * // synthesis: { // VoiceSynthesisOptions
66
+ * // model: "STRING_VALUE",
67
+ * // speed: Number("float"),
68
+ * // stability: Number("float"),
69
+ * // similarity: Number("float"),
70
+ * // style: Number("float"),
71
+ * // speakerBoost: true || false,
72
+ * // pitch: Number("float"),
73
+ * // volumeGain: Number("float"),
74
+ * // },
75
+ * // credential: { // SecretRef
76
+ * // id: "STRING_VALUE", // required
77
+ * // },
78
+ * // pronunciations: [ // VoicePronunciationList
79
+ * // { // VoicePronunciation
80
+ * // phrase: "STRING_VALUE", // required
81
+ * // as: "STRING_VALUE", // required
82
+ * // encoding: "alias" || "ipa",
83
+ * // },
84
+ * // ],
85
+ * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
86
+ * // "STRING_VALUE",
87
+ * // ],
88
+ * // },
89
+ * // ],
90
+ * // autoDetect: true || false,
91
+ * // greetEveryLanguage: true || false,
92
+ * // transcription: { // VoiceTranscriptionSettings
93
+ * // vendor: "aws", // required
94
+ * // },
95
+ * // synthesis: {
96
+ * // model: "STRING_VALUE",
97
+ * // speed: Number("float"),
98
+ * // stability: Number("float"),
99
+ * // similarity: Number("float"),
100
+ * // style: Number("float"),
101
+ * // speakerBoost: true || false,
102
+ * // pitch: Number("float"),
103
+ * // volumeGain: Number("float"),
104
+ * // },
105
+ * // credential: {
106
+ * // id: "STRING_VALUE", // required
107
+ * // },
108
+ * // },
54
109
  * // interruptions: { // VoiceInterruptionSettings
55
110
  * // enabled: true || false, // required
56
111
  * // minWords: Number("int"),
@@ -377,9 +432,7 @@ declare const GetAgentCommand_base: {
377
432
  * // sqs: { // AgentSqsEngine
378
433
  * // url: "STRING_VALUE", // required
379
434
  * // key: "STRING_VALUE", // required
380
- * // secret: { // SecretRef
381
- * // id: "STRING_VALUE", // required
382
- * // },
435
+ * // secret: "<SecretRef>", // required
383
436
  * // },
384
437
  * // },
385
438
  * // settings: { // AgentSettings
@@ -58,6 +58,61 @@ declare const GetAgentVersionCommand_base: {
58
58
  * // channels: { // AgentChannels
59
59
  * // voice: { // VoiceChannelSettings
60
60
  * // greeting: "STRING_VALUE",
61
+ * // backgroundSound: "STRING_VALUE",
62
+ * // speech: { // VoiceSpeechSettings
63
+ * // provider: "elevenlabs" || "google" || "amazon_polly", // required
64
+ * // languages: [ // VoiceLanguageList // required
65
+ * // { // VoiceLanguage
66
+ * // code: "STRING_VALUE", // required
67
+ * // provider: "elevenlabs" || "google" || "amazon_polly",
68
+ * // voice: "STRING_VALUE", // required
69
+ * // greeting: "STRING_VALUE",
70
+ * // isDefault: true || false,
71
+ * // instructions: "STRING_VALUE",
72
+ * // synthesis: { // VoiceSynthesisOptions
73
+ * // model: "STRING_VALUE",
74
+ * // speed: Number("float"),
75
+ * // stability: Number("float"),
76
+ * // similarity: Number("float"),
77
+ * // style: Number("float"),
78
+ * // speakerBoost: true || false,
79
+ * // pitch: Number("float"),
80
+ * // volumeGain: Number("float"),
81
+ * // },
82
+ * // credential: { // SecretRef
83
+ * // id: "STRING_VALUE", // required
84
+ * // },
85
+ * // pronunciations: [ // VoicePronunciationList
86
+ * // { // VoicePronunciation
87
+ * // phrase: "STRING_VALUE", // required
88
+ * // as: "STRING_VALUE", // required
89
+ * // encoding: "alias" || "ipa",
90
+ * // },
91
+ * // ],
92
+ * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
93
+ * // "STRING_VALUE",
94
+ * // ],
95
+ * // },
96
+ * // ],
97
+ * // autoDetect: true || false,
98
+ * // greetEveryLanguage: true || false,
99
+ * // transcription: { // VoiceTranscriptionSettings
100
+ * // vendor: "aws", // required
101
+ * // },
102
+ * // synthesis: {
103
+ * // model: "STRING_VALUE",
104
+ * // speed: Number("float"),
105
+ * // stability: Number("float"),
106
+ * // similarity: Number("float"),
107
+ * // style: Number("float"),
108
+ * // speakerBoost: true || false,
109
+ * // pitch: Number("float"),
110
+ * // volumeGain: Number("float"),
111
+ * // },
112
+ * // credential: {
113
+ * // id: "STRING_VALUE", // required
114
+ * // },
115
+ * // },
61
116
  * // interruptions: { // VoiceInterruptionSettings
62
117
  * // enabled: true || false, // required
63
118
  * // minWords: Number("int"),
@@ -384,9 +439,7 @@ declare const GetAgentVersionCommand_base: {
384
439
  * // sqs: { // AgentSqsEngine
385
440
  * // url: "STRING_VALUE", // required
386
441
  * // key: "STRING_VALUE", // required
387
- * // secret: { // SecretRef
388
- * // id: "STRING_VALUE", // required
389
- * // },
442
+ * // secret: "<SecretRef>", // required
390
443
  * // },
391
444
  * // },
392
445
  * // settings: { // AgentSettings
@@ -56,6 +56,61 @@ declare const ListAgentsCommand_base: {
56
56
  * // channels: { // AgentChannels
57
57
  * // voice: { // VoiceChannelSettings
58
58
  * // greeting: "STRING_VALUE",
59
+ * // backgroundSound: "STRING_VALUE",
60
+ * // speech: { // VoiceSpeechSettings
61
+ * // provider: "elevenlabs" || "google" || "amazon_polly", // required
62
+ * // languages: [ // VoiceLanguageList // required
63
+ * // { // VoiceLanguage
64
+ * // code: "STRING_VALUE", // required
65
+ * // provider: "elevenlabs" || "google" || "amazon_polly",
66
+ * // voice: "STRING_VALUE", // required
67
+ * // greeting: "STRING_VALUE",
68
+ * // isDefault: true || false,
69
+ * // instructions: "STRING_VALUE",
70
+ * // synthesis: { // VoiceSynthesisOptions
71
+ * // model: "STRING_VALUE",
72
+ * // speed: Number("float"),
73
+ * // stability: Number("float"),
74
+ * // similarity: Number("float"),
75
+ * // style: Number("float"),
76
+ * // speakerBoost: true || false,
77
+ * // pitch: Number("float"),
78
+ * // volumeGain: Number("float"),
79
+ * // },
80
+ * // credential: { // SecretRef
81
+ * // id: "STRING_VALUE", // required
82
+ * // },
83
+ * // pronunciations: [ // VoicePronunciationList
84
+ * // { // VoicePronunciation
85
+ * // phrase: "STRING_VALUE", // required
86
+ * // as: "STRING_VALUE", // required
87
+ * // encoding: "alias" || "ipa",
88
+ * // },
89
+ * // ],
90
+ * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
91
+ * // "STRING_VALUE",
92
+ * // ],
93
+ * // },
94
+ * // ],
95
+ * // autoDetect: true || false,
96
+ * // greetEveryLanguage: true || false,
97
+ * // transcription: { // VoiceTranscriptionSettings
98
+ * // vendor: "aws", // required
99
+ * // },
100
+ * // synthesis: {
101
+ * // model: "STRING_VALUE",
102
+ * // speed: Number("float"),
103
+ * // stability: Number("float"),
104
+ * // similarity: Number("float"),
105
+ * // style: Number("float"),
106
+ * // speakerBoost: true || false,
107
+ * // pitch: Number("float"),
108
+ * // volumeGain: Number("float"),
109
+ * // },
110
+ * // credential: {
111
+ * // id: "STRING_VALUE", // required
112
+ * // },
113
+ * // },
59
114
  * // interruptions: { // VoiceInterruptionSettings
60
115
  * // enabled: true || false, // required
61
116
  * // minWords: Number("int"),
@@ -382,9 +437,7 @@ declare const ListAgentsCommand_base: {
382
437
  * // sqs: { // AgentSqsEngine
383
438
  * // url: "STRING_VALUE", // required
384
439
  * // key: "STRING_VALUE", // required
385
- * // secret: { // SecretRef
386
- * // id: "STRING_VALUE", // required
387
- * // },
440
+ * // secret: "<SecretRef>", // required
388
441
  * // },
389
442
  * // },
390
443
  * // settings: { // AgentSettings
@@ -52,6 +52,7 @@ declare const ListAgentsNamesCommand_base: {
52
52
  * // channels: [ // ChannelTypeList // required
53
53
  * // "voice" || "chat" || "assistant" || "workflow",
54
54
  * // ],
55
+ * // speechConfigured: true || false,
55
56
  * // latestVersion: Number("int"),
56
57
  * // },
57
58
  * // ],
@@ -0,0 +1,96 @@
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
+ }
@@ -60,6 +60,61 @@ declare const PublishAgentVersionCommand_base: {
60
60
  * // channels: { // AgentChannels
61
61
  * // voice: { // VoiceChannelSettings
62
62
  * // greeting: "STRING_VALUE",
63
+ * // backgroundSound: "STRING_VALUE",
64
+ * // speech: { // VoiceSpeechSettings
65
+ * // provider: "elevenlabs" || "google" || "amazon_polly", // required
66
+ * // languages: [ // VoiceLanguageList // required
67
+ * // { // VoiceLanguage
68
+ * // code: "STRING_VALUE", // required
69
+ * // provider: "elevenlabs" || "google" || "amazon_polly",
70
+ * // voice: "STRING_VALUE", // required
71
+ * // greeting: "STRING_VALUE",
72
+ * // isDefault: true || false,
73
+ * // instructions: "STRING_VALUE",
74
+ * // synthesis: { // VoiceSynthesisOptions
75
+ * // model: "STRING_VALUE",
76
+ * // speed: Number("float"),
77
+ * // stability: Number("float"),
78
+ * // similarity: Number("float"),
79
+ * // style: Number("float"),
80
+ * // speakerBoost: true || false,
81
+ * // pitch: Number("float"),
82
+ * // volumeGain: Number("float"),
83
+ * // },
84
+ * // credential: { // SecretRef
85
+ * // id: "STRING_VALUE", // required
86
+ * // },
87
+ * // pronunciations: [ // VoicePronunciationList
88
+ * // { // VoicePronunciation
89
+ * // phrase: "STRING_VALUE", // required
90
+ * // as: "STRING_VALUE", // required
91
+ * // encoding: "alias" || "ipa",
92
+ * // },
93
+ * // ],
94
+ * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
95
+ * // "STRING_VALUE",
96
+ * // ],
97
+ * // },
98
+ * // ],
99
+ * // autoDetect: true || false,
100
+ * // greetEveryLanguage: true || false,
101
+ * // transcription: { // VoiceTranscriptionSettings
102
+ * // vendor: "aws", // required
103
+ * // },
104
+ * // synthesis: {
105
+ * // model: "STRING_VALUE",
106
+ * // speed: Number("float"),
107
+ * // stability: Number("float"),
108
+ * // similarity: Number("float"),
109
+ * // style: Number("float"),
110
+ * // speakerBoost: true || false,
111
+ * // pitch: Number("float"),
112
+ * // volumeGain: Number("float"),
113
+ * // },
114
+ * // credential: {
115
+ * // id: "STRING_VALUE", // required
116
+ * // },
117
+ * // },
63
118
  * // interruptions: { // VoiceInterruptionSettings
64
119
  * // enabled: true || false, // required
65
120
  * // minWords: Number("int"),
@@ -386,9 +441,7 @@ declare const PublishAgentVersionCommand_base: {
386
441
  * // sqs: { // AgentSqsEngine
387
442
  * // url: "STRING_VALUE", // required
388
443
  * // key: "STRING_VALUE", // required
389
- * // secret: { // SecretRef
390
- * // id: "STRING_VALUE", // required
391
- * // },
444
+ * // secret: "<SecretRef>", // required
392
445
  * // },
393
446
  * // },
394
447
  * // settings: { // AgentSettings
@@ -0,0 +1,108 @@
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
+ }
@@ -53,6 +53,61 @@ declare const RestoreAgentVersionToDraftCommand_base: {
53
53
  * // channels: { // AgentChannels
54
54
  * // voice: { // VoiceChannelSettings
55
55
  * // greeting: "STRING_VALUE",
56
+ * // backgroundSound: "STRING_VALUE",
57
+ * // speech: { // VoiceSpeechSettings
58
+ * // provider: "elevenlabs" || "google" || "amazon_polly", // required
59
+ * // languages: [ // VoiceLanguageList // required
60
+ * // { // VoiceLanguage
61
+ * // code: "STRING_VALUE", // required
62
+ * // provider: "elevenlabs" || "google" || "amazon_polly",
63
+ * // voice: "STRING_VALUE", // required
64
+ * // greeting: "STRING_VALUE",
65
+ * // isDefault: true || false,
66
+ * // instructions: "STRING_VALUE",
67
+ * // synthesis: { // VoiceSynthesisOptions
68
+ * // model: "STRING_VALUE",
69
+ * // speed: Number("float"),
70
+ * // stability: Number("float"),
71
+ * // similarity: Number("float"),
72
+ * // style: Number("float"),
73
+ * // speakerBoost: true || false,
74
+ * // pitch: Number("float"),
75
+ * // volumeGain: Number("float"),
76
+ * // },
77
+ * // credential: { // SecretRef
78
+ * // id: "STRING_VALUE", // required
79
+ * // },
80
+ * // pronunciations: [ // VoicePronunciationList
81
+ * // { // VoicePronunciation
82
+ * // phrase: "STRING_VALUE", // required
83
+ * // as: "STRING_VALUE", // required
84
+ * // encoding: "alias" || "ipa",
85
+ * // },
86
+ * // ],
87
+ * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
88
+ * // "STRING_VALUE",
89
+ * // ],
90
+ * // },
91
+ * // ],
92
+ * // autoDetect: true || false,
93
+ * // greetEveryLanguage: true || false,
94
+ * // transcription: { // VoiceTranscriptionSettings
95
+ * // vendor: "aws", // required
96
+ * // },
97
+ * // synthesis: {
98
+ * // model: "STRING_VALUE",
99
+ * // speed: Number("float"),
100
+ * // stability: Number("float"),
101
+ * // similarity: Number("float"),
102
+ * // style: Number("float"),
103
+ * // speakerBoost: true || false,
104
+ * // pitch: Number("float"),
105
+ * // volumeGain: Number("float"),
106
+ * // },
107
+ * // credential: {
108
+ * // id: "STRING_VALUE", // required
109
+ * // },
110
+ * // },
56
111
  * // interruptions: { // VoiceInterruptionSettings
57
112
  * // enabled: true || false, // required
58
113
  * // minWords: Number("int"),
@@ -379,9 +434,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
379
434
  * // sqs: { // AgentSqsEngine
380
435
  * // url: "STRING_VALUE", // required
381
436
  * // key: "STRING_VALUE", // required
382
- * // secret: { // SecretRef
383
- * // id: "STRING_VALUE", // required
384
- * // },
437
+ * // secret: "<SecretRef>", // required
385
438
  * // },
386
439
  * // },
387
440
  * // settings: { // AgentSettings