@wildix/wilma-agents-client 1.0.18 → 1.0.24

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 +385 -13
  31. package/dist-types/schemas/schemas_0.d.ts +15 -0
  32. package/package.json +1 -1
@@ -2,6 +2,18 @@ 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
+ };
5
17
  export const ActorType = {
6
18
  API_KEY: "api_key",
7
19
  SERVICE: "service",
@@ -83,6 +83,9 @@ const _DAAKI = "DeleteAgentApiKeyInput";
83
83
  const _DAAKO = "DeleteAgentApiKeyOutput";
84
84
  const _DAI = "DeleteAgentInput";
85
85
  const _DAO = "DeleteAgentOutput";
86
+ const _DPD = "DeletePronunciationDictionary";
87
+ const _DPDI = "DeletePronunciationDictionaryInput";
88
+ const _DPDO = "DeletePronunciationDictionaryOutput";
86
89
  const _GA = "GetAgent";
87
90
  const _GAD = "GetAgentDeployment";
88
91
  const _GADI = "GetAgentDeploymentInput";
@@ -104,6 +107,9 @@ const _LAO = "ListAgentsOutput";
104
107
  const _LAV = "ListAgentVersions";
105
108
  const _LAVI = "ListAgentVersionsInput";
106
109
  const _LAVO = "ListAgentVersionsOutput";
110
+ const _LPD = "ListPronunciationDictionaries";
111
+ const _LPDI = "ListPronunciationDictionariesInput";
112
+ const _LPDO = "ListPronunciationDictionariesOutput";
107
113
  const _NFE = "NotFoundException";
108
114
  const _NTPE = "NothingToPublishException";
109
115
  const _PAD = "PutAgentDeployment";
@@ -112,6 +118,11 @@ const _PADO = "PutAgentDeploymentOutput";
112
118
  const _PAV = "PublishAgentVersion";
113
119
  const _PAVI = "PublishAgentVersionInput";
114
120
  const _PAVO = "PublishAgentVersionOutput";
121
+ const _PD = "PronunciationDictionary";
122
+ const _PDL = "PronunciationDictionaryList";
123
+ const _PPD = "PutPronunciationDictionary";
124
+ const _PPDI = "PutPronunciationDictionaryInput";
125
+ const _PPDO = "PutPronunciationDictionaryOutput";
115
126
  const _RAD = "ResetAgentDeployment";
116
127
  const _RADI = "ResetAgentDeploymentInput";
117
128
  const _RADO = "ResetAgentDeploymentOutput";
@@ -128,15 +139,23 @@ const _VCS = "VoiceChannelSettings";
128
139
  const _VE = "ValidationException";
129
140
  const _VECS = "VoiceEndCallSettings";
130
141
  const _VIS = "VoiceInterruptionSettings";
142
+ const _VL = "VoiceLanguage";
143
+ const _VLL = "VoiceLanguageList";
131
144
  const _VMDS = "VoiceMaxDurationSettings";
145
+ const _VP = "VoicePronunciation";
146
+ const _VPL = "VoicePronunciationList";
147
+ const _VSO = "VoiceSynthesisOptions";
148
+ const _VSS = "VoiceSpeechSettings";
132
149
  const _VSTS = "VoiceSilenceTimeoutSettings";
133
150
  const _VTA = "VoiceTerminateAction";
134
151
  const _VTHA = "VoiceTerminateHangupAction";
152
+ const _VTS = "VoiceTranscriptionSettings";
135
153
  const _VTT = "VoiceTransferTarget";
136
154
  const _WCS = "WorkflowChannelSettings";
137
155
  const _WSUL = "WebSearchUserLocation";
138
156
  const _a = "access";
139
157
  const _aD = "allowedDomains";
158
+ const _aDu = "autoDetect";
140
159
  const _aI = "agentId";
141
160
  const _aOF = "applyOnFailure";
142
161
  const _aOS = "applyOnSuccess";
@@ -150,9 +169,11 @@ const _an = "annotations";
150
169
  const _ap = "approval";
151
170
  const _ar = "artifacts";
152
171
  const _as = "assistant";
172
+ const _as_ = "as";
153
173
  const _au = "auto";
154
174
  const _b = "before";
155
175
  const _bOV = "basedOnVersion";
176
+ const _bS = "backgroundSound";
156
177
  const _c = "client";
157
178
  const _cA = "createdAt";
158
179
  const _cB = "createdBy";
@@ -172,10 +193,12 @@ const _chang = "changes";
172
193
  const _chann = "channel";
173
194
  const _ci = "city";
174
195
  const _co = "context";
196
+ const _cod = "code";
175
197
  const _com = "company";
176
198
  const _comm = "comment";
177
199
  const _con = "connector";
178
200
  const _cou = "country";
201
+ const _cr = "credential";
179
202
  const _cu = "cursor";
180
203
  const _d = "description";
181
204
  const _dBV = "draftBaseVersion";
@@ -184,16 +207,20 @@ const _def = "definition";
184
207
  const _defa = "default";
185
208
  const _del = "delegation";
186
209
  const _di = "discoverable";
210
+ const _dic = "dictionaries";
211
+ const _dict = "dictionary";
187
212
  const _e = "error";
188
213
  const _eA = "expiresAt";
189
214
  const _eC = "endCall";
190
215
  const _en = "engine";
191
216
  const _ena = "enabled";
217
+ const _enc = "encoding";
192
218
  const _ex = "extension";
193
219
  const _f = "fields";
194
220
  const _fD = "fromDraft";
195
221
  const _fr = "from";
196
222
  const _g = "grants";
223
+ const _gEL = "greetEveryLanguage";
197
224
  const _gI = "groupId";
198
225
  const _gr = "greeting";
199
226
  const _gu = "guided";
@@ -204,6 +231,7 @@ const _ha = "handover";
204
231
  const _han = "hangup";
205
232
  const _ht = "http";
206
233
  const _i = "id";
234
+ const _iD = "isDefault";
207
235
  const _in = "instructions";
208
236
  const _int = "interruptions";
209
237
  const _k = "key";
@@ -214,6 +242,7 @@ const _ke = "keys";
214
242
  const _l = "limit";
215
243
  const _lUA = "lastUsedAt";
216
244
  const _lV = "latestVersion";
245
+ const _la = "languages";
217
246
  const _m = "message";
218
247
  const _mD = "maxDuration";
219
248
  const _mW = "minWords";
@@ -226,17 +255,25 @@ const _p = "picture";
226
255
  const _pA = "publishedAt";
227
256
  const _pB = "publishedBy";
228
257
  const _pGI = "pbxGroupId";
258
+ const _pS = "pronunciationSuppressions";
229
259
  const _pa = "path";
230
260
  const _pe = "percentage";
231
261
  const _ph = "phrases";
262
+ const _phr = "phrase";
232
263
  const _pi = "pipeline";
264
+ const _pit = "pitch";
233
265
  const _pr = "prefix";
234
266
  const _pre = "predefined";
235
267
  const _pro = "prompt";
268
+ const _pron = "pronunciations";
269
+ const _prov = "provider";
236
270
  const _r = "revision";
237
271
  const _re = "region";
238
272
  const _res = "result";
273
+ const _ru = "rules";
239
274
  const _s = "smithy.ts.sdk.synthetic.wildix.wilma.agents";
275
+ const _sB = "speakerBoost";
276
+ const _sC = "speechConfigured";
240
277
  const _sI = "snapshotId";
241
278
  const _sM = "startMessage";
242
279
  const _sT = "silenceTimeout";
@@ -248,12 +285,18 @@ const _sec = "secret";
248
285
  const _seco = "seconds";
249
286
  const _ser = "service";
250
287
  const _si = "silent";
288
+ const _sim = "similarity";
251
289
  const _siz = "size";
252
290
  const _sk = "skills";
253
291
  const _sn = "snapshot";
292
+ const _sp = "speech";
293
+ const _spe = "speed";
254
294
  const _sq = "sqs";
255
295
  const _st = "status";
296
+ const _sta = "stability";
297
+ const _sty = "style";
256
298
  const _su = "suggestions";
299
+ const _sy = "synthesis";
257
300
  const _t = "type";
258
301
  const _tD = "toDraft";
259
302
  const _tV = "toolVersion";
@@ -264,18 +307,21 @@ const _tim = "time";
264
307
  const _time = "timezone";
265
308
  const _to = "to";
266
309
  const _too = "tool";
267
- const _tr = "transfer";
310
+ const _tr = "transcription";
311
+ const _tra = "transfer";
268
312
  const _u = "url";
269
313
  const _uA = "updatedAt";
270
314
  const _uB = "updatedBy";
271
315
  const _uI = "userId";
272
316
  const _uL = "userLocation";
273
317
  const _v = "visibility";
318
+ const _vG = "volumeGain";
274
319
  const _va = "variables";
275
320
  const _val = "value";
276
321
  const _var = "variant";
277
322
  const _vc = "vcpus";
278
323
  const _ve = "version";
324
+ const _ven = "vendor";
279
325
  const _ver = "versions";
280
326
  const _verc = "vercel";
281
327
  const _vo = "voice";
@@ -404,8 +450,8 @@ export var AgentHangupPipeline$ = [3, n2, _AHPg,
404
450
  ];
405
451
  export var AgentInfo$ = [3, n2, _AI,
406
452
  0,
407
- [_i, _n, _st, _ch, _ca, _lV],
408
- [0, 0, 0, 64 | 0, 0, 1], 4
453
+ [_i, _n, _st, _ch, _ca, _sC, _lV],
454
+ [0, 0, 0, 64 | 0, 0, 2, 1], 4
409
455
  ];
410
456
  export var AgentKnowledgeBase$ = [3, n2, _AKB,
411
457
  0,
@@ -617,6 +663,16 @@ export var DeleteAgentOutput$ = [3, n2, _DAO,
617
663
  [],
618
664
  []
619
665
  ];
666
+ export var DeletePronunciationDictionaryInput$ = [3, n2, _DPDI,
667
+ 0,
668
+ [_cod, _com],
669
+ [[0, 1], [0, { [_hQ]: _com }]], 1
670
+ ];
671
+ export var DeletePronunciationDictionaryOutput$ = [3, n2, _DPDO,
672
+ 0,
673
+ [],
674
+ []
675
+ ];
620
676
  export var GetAgentDeploymentInput$ = [3, n2, _GADI,
621
677
  0,
622
678
  [_aI, _com],
@@ -687,6 +743,21 @@ export var ListAgentVersionsOutput$ = [3, n2, _LAVO,
687
743
  [_ver, _nC],
688
744
  [() => AgentVersionInfoList, 0], 1
689
745
  ];
746
+ export var ListPronunciationDictionariesInput$ = [3, n2, _LPDI,
747
+ 0,
748
+ [_com],
749
+ [[0, { [_hQ]: _com }]]
750
+ ];
751
+ export var ListPronunciationDictionariesOutput$ = [3, n2, _LPDO,
752
+ 0,
753
+ [_dic],
754
+ [() => PronunciationDictionaryList], 1
755
+ ];
756
+ export var PronunciationDictionary$ = [3, n2, _PD,
757
+ 0,
758
+ [_i, _cod, _ru, _uA, _uB],
759
+ [0, 0, () => VoicePronunciationList, 0, () => Actor$], 5
760
+ ];
690
761
  export var PublishAgentVersionInput$ = [3, n2, _PAVI,
691
762
  0,
692
763
  [_aI, _r, _com, _chan, _n],
@@ -707,6 +778,16 @@ export var PutAgentDeploymentOutput$ = [3, n2, _PADO,
707
778
  [_de],
708
779
  [() => AgentDeploymentRoutesList], 1
709
780
  ];
781
+ export var PutPronunciationDictionaryInput$ = [3, n2, _PPDI,
782
+ 0,
783
+ [_cod, _ru, _com],
784
+ [[0, 1], () => VoicePronunciationList, [0, { [_hQ]: _com }]], 2
785
+ ];
786
+ export var PutPronunciationDictionaryOutput$ = [3, n2, _PPDO,
787
+ 0,
788
+ [_dict],
789
+ [() => PronunciationDictionary$], 1
790
+ ];
710
791
  export var ResetAgentDeploymentInput$ = [3, n2, _RADI,
711
792
  0,
712
793
  [_aI, _com],
@@ -744,8 +825,8 @@ export var VoiceCallerMetadataSettings$ = [3, n2, _VCMS,
744
825
  ];
745
826
  export var VoiceChannelSettings$ = [3, n2, _VCS,
746
827
  0,
747
- [_gr, _int, _sT, _mD, _eC, _cM],
748
- [0, () => VoiceInterruptionSettings$, () => VoiceSilenceTimeoutSettings$, () => VoiceMaxDurationSettings$, () => VoiceEndCallSettings$, () => VoiceCallerMetadataSettings$]
828
+ [_gr, _bS, _sp, _int, _sT, _mD, _eC, _cM],
829
+ [0, 0, () => VoiceSpeechSettings$, () => VoiceInterruptionSettings$, () => VoiceSilenceTimeoutSettings$, () => VoiceMaxDurationSettings$, () => VoiceEndCallSettings$, () => VoiceCallerMetadataSettings$]
749
830
  ];
750
831
  export var VoiceEndCallSettings$ = [3, n2, _VECS,
751
832
  0,
@@ -757,21 +838,46 @@ export var VoiceInterruptionSettings$ = [3, n2, _VIS,
757
838
  [_ena, _mW],
758
839
  [2, 1], 1
759
840
  ];
841
+ export var VoiceLanguage$ = [3, n2, _VL,
842
+ 0,
843
+ [_cod, _vo, _prov, _gr, _iD, _in, _sy, _cr, _pron, _pS],
844
+ [0, 0, 0, 0, 2, 0, () => VoiceSynthesisOptions$, () => SecretRef$, () => VoicePronunciationList, 64 | 0], 2
845
+ ];
760
846
  export var VoiceMaxDurationSettings$ = [3, n2, _VMDS,
761
847
  0,
762
848
  [_seco, _ac],
763
849
  [1, () => VoiceTerminateAction$], 2
764
850
  ];
851
+ export var VoicePronunciation$ = [3, n2, _VP,
852
+ 0,
853
+ [_phr, _as_, _enc],
854
+ [0, 0, 0], 2
855
+ ];
765
856
  export var VoiceSilenceTimeoutSettings$ = [3, n2, _VSTS,
766
857
  0,
767
858
  [_seco, _ac],
768
859
  [1, () => VoiceTerminateAction$], 2
769
860
  ];
861
+ export var VoiceSpeechSettings$ = [3, n2, _VSS,
862
+ 0,
863
+ [_prov, _la, _aDu, _gEL, _tr, _sy, _cr],
864
+ [0, () => VoiceLanguageList, 2, 2, () => VoiceTranscriptionSettings$, () => VoiceSynthesisOptions$, () => SecretRef$], 2
865
+ ];
866
+ export var VoiceSynthesisOptions$ = [3, n2, _VSO,
867
+ 0,
868
+ [_mo, _spe, _sta, _sim, _sty, _sB, _pit, _vG],
869
+ [0, 1, 1, 1, 1, 2, 1, 1]
870
+ ];
770
871
  export var VoiceTerminateHangupAction$ = [3, n2, _VTHA,
771
872
  0,
772
873
  [_m],
773
874
  [0]
774
875
  ];
876
+ export var VoiceTranscriptionSettings$ = [3, n2, _VTS,
877
+ 0,
878
+ [_ven],
879
+ [0], 1
880
+ ];
775
881
  export var VoiceTransferTarget$ = [3, n2, _VTT,
776
882
  0,
777
883
  [_n, _co, _ex, _d],
@@ -840,12 +946,22 @@ var AgentVersionInfoList = [1, n2, _AVIL,
840
946
  ];
841
947
  var ChannelTypeList = 64 | 0;
842
948
  var DomainNameList = 64 | 0;
949
+ var PronunciationDictionaryList = [1, n2, _PDL,
950
+ 0, () => PronunciationDictionary$
951
+ ];
952
+ var VoiceLanguageList = [1, n2, _VLL,
953
+ 0, () => VoiceLanguage$
954
+ ];
955
+ var VoicePronunciationList = [1, n2, _VPL,
956
+ 0, () => VoicePronunciation$
957
+ ];
958
+ var VoicePronunciationSuppressionList = 64 | 0;
843
959
  var AgentSkillsList = [1, n4, _ASL,
844
960
  0, () => AgentSkillReference$
845
961
  ];
846
962
  export var AgentCapability$ = [4, n2, _ACg,
847
963
  0,
848
- [_too, _con, _kb, _sa, _wS, _wF, _ag, _ha, _del, _tr, _su, _han, _wa],
964
+ [_too, _con, _kb, _sa, _wS, _wF, _ag, _ha, _del, _tra, _su, _han, _wa],
849
965
  [() => AgentTool$, () => AgentConnectorCapability$, () => AgentKnowledgeBase$, () => AgentSandboxCapability$, () => AgentWebSearchCapability$, () => AgentWebFetchCapability$, () => AgentCallCapability$, () => AgentHandoverCapability$, () => AgentDelegationCapability$, () => AgentTransferCapability$, () => AgentSuggestionsCapability$, () => AgentHangupCapability$, () => AgentWaitCapability$]
850
966
  ];
851
967
  export var AgentEngine$ = [4, n2, _AE,
@@ -880,7 +996,7 @@ export var AgentToolVariableHandler$ = [4, n2, _ATVH,
880
996
  ];
881
997
  export var VoiceTerminateAction$ = [4, n2, _VTA,
882
998
  0,
883
- [_han, _tr],
999
+ [_han, _tra],
884
1000
  [() => VoiceTerminateHangupAction$, () => VoiceTransferTarget$]
885
1001
  ];
886
1002
  export var CompareAgentVersions$ = [9, n2, _CAV,
@@ -898,6 +1014,9 @@ export var DeleteAgent$ = [9, n2, _DA,
898
1014
  export var DeleteAgentApiKey$ = [9, n2, _DAAK,
899
1015
  { [_ht]: ["DELETE", "/v2/agents/agents/{agentId}/keys/{keyId}", 200] }, () => DeleteAgentApiKeyInput$, () => DeleteAgentApiKeyOutput$
900
1016
  ];
1017
+ export var DeletePronunciationDictionary$ = [9, n2, _DPD,
1018
+ { [_ht]: ["DELETE", "/v2/agents/pronunciations/{code}", 200] }, () => DeletePronunciationDictionaryInput$, () => DeletePronunciationDictionaryOutput$
1019
+ ];
901
1020
  export var GetAgent$ = [9, n2, _GA,
902
1021
  { [_ht]: ["GET", "/v2/agents/agents/{agentId}", 200] }, () => GetAgentInput$, () => GetAgentOutput$
903
1022
  ];
@@ -919,12 +1038,18 @@ export var ListAgentsNames$ = [9, n2, _LAN,
919
1038
  export var ListAgentVersions$ = [9, n2, _LAV,
920
1039
  { [_ht]: ["GET", "/v2/agents/agents/{agentId}/versions", 200] }, () => ListAgentVersionsInput$, () => ListAgentVersionsOutput$
921
1040
  ];
1041
+ export var ListPronunciationDictionaries$ = [9, n2, _LPD,
1042
+ { [_ht]: ["GET", "/v2/agents/pronunciations", 200] }, () => ListPronunciationDictionariesInput$, () => ListPronunciationDictionariesOutput$
1043
+ ];
922
1044
  export var PublishAgentVersion$ = [9, n2, _PAV,
923
1045
  { [_ht]: ["POST", "/v2/agents/agents/{agentId}/versions", 200] }, () => PublishAgentVersionInput$, () => PublishAgentVersionOutput$
924
1046
  ];
925
1047
  export var PutAgentDeployment$ = [9, n2, _PAD,
926
1048
  { [_ht]: ["PUT", "/v2/agents/agents/{agentId}/deployment", 200] }, () => PutAgentDeploymentInput$, () => PutAgentDeploymentOutput$
927
1049
  ];
1050
+ export var PutPronunciationDictionary$ = [9, n2, _PPD,
1051
+ { [_ht]: ["PUT", "/v2/agents/pronunciations/{code}", 200] }, () => PutPronunciationDictionaryInput$, () => PutPronunciationDictionaryOutput$
1052
+ ];
928
1053
  export var ResetAgentDeployment$ = [9, n2, _RAD,
929
1054
  { [_ht]: ["POST", "/v2/agents/agents/{agentId}/deployment/reset", 200] }, () => ResetAgentDeploymentInput$, () => ResetAgentDeploymentOutput$
930
1055
  ];
@@ -4,6 +4,7 @@ import { type CreateAgentApiKeyCommandInput, type CreateAgentApiKeyCommandOutput
4
4
  import { type CreateAgentCommandInput, type CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
5
5
  import { type DeleteAgentApiKeyCommandInput, type DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
6
6
  import { type DeleteAgentCommandInput, type DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
7
+ import { type DeletePronunciationDictionaryCommandInput, type DeletePronunciationDictionaryCommandOutput } from "./commands/DeletePronunciationDictionaryCommand";
7
8
  import { type GetAgentCommandInput, type GetAgentCommandOutput } from "./commands/GetAgentCommand";
8
9
  import { type GetAgentDeploymentCommandInput, type GetAgentDeploymentCommandOutput } from "./commands/GetAgentDeploymentCommand";
9
10
  import { type GetAgentVersionCommandInput, type GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
@@ -11,8 +12,10 @@ import { type ListAgentApiKeysCommandInput, type ListAgentApiKeysCommandOutput }
11
12
  import { type ListAgentsCommandInput, type ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
12
13
  import { type ListAgentsNamesCommandInput, type ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
13
14
  import { type ListAgentVersionsCommandInput, type ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
15
+ import { type ListPronunciationDictionariesCommandInput, type ListPronunciationDictionariesCommandOutput } from "./commands/ListPronunciationDictionariesCommand";
14
16
  import { type PublishAgentVersionCommandInput, type PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
15
17
  import { type PutAgentDeploymentCommandInput, type PutAgentDeploymentCommandOutput } from "./commands/PutAgentDeploymentCommand";
18
+ import { type PutPronunciationDictionaryCommandInput, type PutPronunciationDictionaryCommandOutput } from "./commands/PutPronunciationDictionaryCommand";
16
19
  import { type ResetAgentDeploymentCommandInput, type ResetAgentDeploymentCommandOutput } from "./commands/ResetAgentDeploymentCommand";
17
20
  import { type RestoreAgentVersionToDraftCommandInput, type RestoreAgentVersionToDraftCommandOutput } from "./commands/RestoreAgentVersionToDraftCommand";
18
21
  import { type UpdateAgentCommandInput, type UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
@@ -48,6 +51,12 @@ export interface WilmaAgents {
48
51
  deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentApiKeyCommandOutput>;
49
52
  deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
50
53
  deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link DeletePronunciationDictionaryCommand}
56
+ */
57
+ deletePronunciationDictionary(args: DeletePronunciationDictionaryCommandInput, options?: __HttpHandlerOptions): Promise<DeletePronunciationDictionaryCommandOutput>;
58
+ deletePronunciationDictionary(args: DeletePronunciationDictionaryCommandInput, cb: (err: any, data?: DeletePronunciationDictionaryCommandOutput) => void): void;
59
+ deletePronunciationDictionary(args: DeletePronunciationDictionaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePronunciationDictionaryCommandOutput) => void): void;
51
60
  /**
52
61
  * @see {@link GetAgentCommand}
53
62
  */
@@ -92,6 +101,13 @@ export interface WilmaAgents {
92
101
  listAgentVersions(args: ListAgentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentVersionsCommandOutput>;
93
102
  listAgentVersions(args: ListAgentVersionsCommandInput, cb: (err: any, data?: ListAgentVersionsCommandOutput) => void): void;
94
103
  listAgentVersions(args: ListAgentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentVersionsCommandOutput) => void): void;
104
+ /**
105
+ * @see {@link ListPronunciationDictionariesCommand}
106
+ */
107
+ listPronunciationDictionaries(): Promise<ListPronunciationDictionariesCommandOutput>;
108
+ listPronunciationDictionaries(args: ListPronunciationDictionariesCommandInput, options?: __HttpHandlerOptions): Promise<ListPronunciationDictionariesCommandOutput>;
109
+ listPronunciationDictionaries(args: ListPronunciationDictionariesCommandInput, cb: (err: any, data?: ListPronunciationDictionariesCommandOutput) => void): void;
110
+ listPronunciationDictionaries(args: ListPronunciationDictionariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPronunciationDictionariesCommandOutput) => void): void;
95
111
  /**
96
112
  * @see {@link PublishAgentVersionCommand}
97
113
  */
@@ -104,6 +120,12 @@ export interface WilmaAgents {
104
120
  putAgentDeployment(args: PutAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<PutAgentDeploymentCommandOutput>;
105
121
  putAgentDeployment(args: PutAgentDeploymentCommandInput, cb: (err: any, data?: PutAgentDeploymentCommandOutput) => void): void;
106
122
  putAgentDeployment(args: PutAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAgentDeploymentCommandOutput) => void): void;
123
+ /**
124
+ * @see {@link PutPronunciationDictionaryCommand}
125
+ */
126
+ putPronunciationDictionary(args: PutPronunciationDictionaryCommandInput, options?: __HttpHandlerOptions): Promise<PutPronunciationDictionaryCommandOutput>;
127
+ putPronunciationDictionary(args: PutPronunciationDictionaryCommandInput, cb: (err: any, data?: PutPronunciationDictionaryCommandOutput) => void): void;
128
+ putPronunciationDictionary(args: PutPronunciationDictionaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPronunciationDictionaryCommandOutput) => void): void;
107
129
  /**
108
130
  * @see {@link ResetAgentDeploymentCommand}
109
131
  */
@@ -10,6 +10,7 @@ import type { CreateAgentApiKeyCommandInput, CreateAgentApiKeyCommandOutput } fr
10
10
  import type { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
11
11
  import type { DeleteAgentApiKeyCommandInput, DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
12
12
  import type { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
13
+ import type { DeletePronunciationDictionaryCommandInput, DeletePronunciationDictionaryCommandOutput } from "./commands/DeletePronunciationDictionaryCommand";
13
14
  import type { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
14
15
  import type { GetAgentDeploymentCommandInput, GetAgentDeploymentCommandOutput } from "./commands/GetAgentDeploymentCommand";
15
16
  import type { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
@@ -17,8 +18,10 @@ import type { ListAgentApiKeysCommandInput, ListAgentApiKeysCommandOutput } from
17
18
  import type { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
18
19
  import type { ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
19
20
  import type { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
21
+ import type { ListPronunciationDictionariesCommandInput, ListPronunciationDictionariesCommandOutput } from "./commands/ListPronunciationDictionariesCommand";
20
22
  import type { PublishAgentVersionCommandInput, PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
21
23
  import type { PutAgentDeploymentCommandInput, PutAgentDeploymentCommandOutput } from "./commands/PutAgentDeploymentCommand";
24
+ import type { PutPronunciationDictionaryCommandInput, PutPronunciationDictionaryCommandOutput } from "./commands/PutPronunciationDictionaryCommand";
22
25
  import type { ResetAgentDeploymentCommandInput, ResetAgentDeploymentCommandOutput } from "./commands/ResetAgentDeploymentCommand";
23
26
  import type { RestoreAgentVersionToDraftCommandInput, RestoreAgentVersionToDraftCommandOutput } from "./commands/RestoreAgentVersionToDraftCommand";
24
27
  import type { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
@@ -28,11 +31,11 @@ export { __Client };
28
31
  /**
29
32
  * @public
30
33
  */
31
- export type ServiceInputTypes = CompareAgentVersionsCommandInput | CreateAgentApiKeyCommandInput | CreateAgentCommandInput | DeleteAgentApiKeyCommandInput | DeleteAgentCommandInput | GetAgentCommandInput | GetAgentDeploymentCommandInput | GetAgentVersionCommandInput | ListAgentApiKeysCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListAgentsNamesCommandInput | PublishAgentVersionCommandInput | PutAgentDeploymentCommandInput | ResetAgentDeploymentCommandInput | RestoreAgentVersionToDraftCommandInput | UpdateAgentCommandInput;
34
+ export type ServiceInputTypes = CompareAgentVersionsCommandInput | CreateAgentApiKeyCommandInput | CreateAgentCommandInput | DeleteAgentApiKeyCommandInput | DeleteAgentCommandInput | DeletePronunciationDictionaryCommandInput | GetAgentCommandInput | GetAgentDeploymentCommandInput | GetAgentVersionCommandInput | ListAgentApiKeysCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListAgentsNamesCommandInput | ListPronunciationDictionariesCommandInput | PublishAgentVersionCommandInput | PutAgentDeploymentCommandInput | PutPronunciationDictionaryCommandInput | ResetAgentDeploymentCommandInput | RestoreAgentVersionToDraftCommandInput | UpdateAgentCommandInput;
32
35
  /**
33
36
  * @public
34
37
  */
35
- export type ServiceOutputTypes = CompareAgentVersionsCommandOutput | CreateAgentApiKeyCommandOutput | CreateAgentCommandOutput | DeleteAgentApiKeyCommandOutput | DeleteAgentCommandOutput | GetAgentCommandOutput | GetAgentDeploymentCommandOutput | GetAgentVersionCommandOutput | ListAgentApiKeysCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListAgentsNamesCommandOutput | PublishAgentVersionCommandOutput | PutAgentDeploymentCommandOutput | ResetAgentDeploymentCommandOutput | RestoreAgentVersionToDraftCommandOutput | UpdateAgentCommandOutput;
38
+ export type ServiceOutputTypes = CompareAgentVersionsCommandOutput | CreateAgentApiKeyCommandOutput | CreateAgentCommandOutput | DeleteAgentApiKeyCommandOutput | DeleteAgentCommandOutput | DeletePronunciationDictionaryCommandOutput | GetAgentCommandOutput | GetAgentDeploymentCommandOutput | GetAgentVersionCommandOutput | ListAgentApiKeysCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListAgentsNamesCommandOutput | ListPronunciationDictionariesCommandOutput | PublishAgentVersionCommandOutput | PutAgentDeploymentCommandOutput | PutPronunciationDictionaryCommandOutput | ResetAgentDeploymentCommandOutput | RestoreAgentVersionToDraftCommandOutput | UpdateAgentCommandOutput;
36
39
  /**
37
40
  * @public
38
41
  */
@@ -44,6 +44,61 @@ declare const CreateAgentCommand_base: {
44
44
  * channels: { // AgentChannels
45
45
  * voice: { // VoiceChannelSettings
46
46
  * greeting: "STRING_VALUE",
47
+ * backgroundSound: "STRING_VALUE",
48
+ * speech: { // VoiceSpeechSettings
49
+ * provider: "elevenlabs" || "google" || "amazon_polly", // required
50
+ * languages: [ // VoiceLanguageList // required
51
+ * { // VoiceLanguage
52
+ * code: "STRING_VALUE", // required
53
+ * provider: "elevenlabs" || "google" || "amazon_polly",
54
+ * voice: "STRING_VALUE", // required
55
+ * greeting: "STRING_VALUE",
56
+ * isDefault: true || false,
57
+ * instructions: "STRING_VALUE",
58
+ * synthesis: { // VoiceSynthesisOptions
59
+ * model: "STRING_VALUE",
60
+ * speed: Number("float"),
61
+ * stability: Number("float"),
62
+ * similarity: Number("float"),
63
+ * style: Number("float"),
64
+ * speakerBoost: true || false,
65
+ * pitch: Number("float"),
66
+ * volumeGain: Number("float"),
67
+ * },
68
+ * credential: { // SecretRef
69
+ * id: "STRING_VALUE", // required
70
+ * },
71
+ * pronunciations: [ // VoicePronunciationList
72
+ * { // VoicePronunciation
73
+ * phrase: "STRING_VALUE", // required
74
+ * as: "STRING_VALUE", // required
75
+ * encoding: "alias" || "ipa",
76
+ * },
77
+ * ],
78
+ * pronunciationSuppressions: [ // VoicePronunciationSuppressionList
79
+ * "STRING_VALUE",
80
+ * ],
81
+ * },
82
+ * ],
83
+ * autoDetect: true || false,
84
+ * greetEveryLanguage: true || false,
85
+ * transcription: { // VoiceTranscriptionSettings
86
+ * vendor: "aws", // required
87
+ * },
88
+ * synthesis: {
89
+ * model: "STRING_VALUE",
90
+ * speed: Number("float"),
91
+ * stability: Number("float"),
92
+ * similarity: Number("float"),
93
+ * style: Number("float"),
94
+ * speakerBoost: true || false,
95
+ * pitch: Number("float"),
96
+ * volumeGain: Number("float"),
97
+ * },
98
+ * credential: {
99
+ * id: "STRING_VALUE", // required
100
+ * },
101
+ * },
47
102
  * interruptions: { // VoiceInterruptionSettings
48
103
  * enabled: true || false, // required
49
104
  * minWords: Number("int"),
@@ -370,9 +425,7 @@ declare const CreateAgentCommand_base: {
370
425
  * sqs: { // AgentSqsEngine
371
426
  * url: "STRING_VALUE", // required
372
427
  * key: "STRING_VALUE", // required
373
- * secret: { // SecretRef
374
- * id: "STRING_VALUE", // required
375
- * },
428
+ * secret: "<SecretRef>", // required
376
429
  * },
377
430
  * },
378
431
  * settings: { // AgentSettings
@@ -392,6 +445,61 @@ declare const CreateAgentCommand_base: {
392
445
  * // channels: { // AgentChannels
393
446
  * // voice: { // VoiceChannelSettings
394
447
  * // greeting: "STRING_VALUE",
448
+ * // backgroundSound: "STRING_VALUE",
449
+ * // speech: { // VoiceSpeechSettings
450
+ * // provider: "elevenlabs" || "google" || "amazon_polly", // required
451
+ * // languages: [ // VoiceLanguageList // required
452
+ * // { // VoiceLanguage
453
+ * // code: "STRING_VALUE", // required
454
+ * // provider: "elevenlabs" || "google" || "amazon_polly",
455
+ * // voice: "STRING_VALUE", // required
456
+ * // greeting: "STRING_VALUE",
457
+ * // isDefault: true || false,
458
+ * // instructions: "STRING_VALUE",
459
+ * // synthesis: { // VoiceSynthesisOptions
460
+ * // model: "STRING_VALUE",
461
+ * // speed: Number("float"),
462
+ * // stability: Number("float"),
463
+ * // similarity: Number("float"),
464
+ * // style: Number("float"),
465
+ * // speakerBoost: true || false,
466
+ * // pitch: Number("float"),
467
+ * // volumeGain: Number("float"),
468
+ * // },
469
+ * // credential: { // SecretRef
470
+ * // id: "STRING_VALUE", // required
471
+ * // },
472
+ * // pronunciations: [ // VoicePronunciationList
473
+ * // { // VoicePronunciation
474
+ * // phrase: "STRING_VALUE", // required
475
+ * // as: "STRING_VALUE", // required
476
+ * // encoding: "alias" || "ipa",
477
+ * // },
478
+ * // ],
479
+ * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
480
+ * // "STRING_VALUE",
481
+ * // ],
482
+ * // },
483
+ * // ],
484
+ * // autoDetect: true || false,
485
+ * // greetEveryLanguage: true || false,
486
+ * // transcription: { // VoiceTranscriptionSettings
487
+ * // vendor: "aws", // required
488
+ * // },
489
+ * // synthesis: {
490
+ * // model: "STRING_VALUE",
491
+ * // speed: Number("float"),
492
+ * // stability: Number("float"),
493
+ * // similarity: Number("float"),
494
+ * // style: Number("float"),
495
+ * // speakerBoost: true || false,
496
+ * // pitch: Number("float"),
497
+ * // volumeGain: Number("float"),
498
+ * // },
499
+ * // credential: {
500
+ * // id: "STRING_VALUE", // required
501
+ * // },
502
+ * // },
395
503
  * // interruptions: { // VoiceInterruptionSettings
396
504
  * // enabled: true || false, // required
397
505
  * // minWords: Number("int"),
@@ -718,9 +826,7 @@ declare const CreateAgentCommand_base: {
718
826
  * // sqs: { // AgentSqsEngine
719
827
  * // url: "STRING_VALUE", // required
720
828
  * // key: "STRING_VALUE", // required
721
- * // secret: { // SecretRef
722
- * // id: "STRING_VALUE", // required
723
- * // },
829
+ * // secret: "<SecretRef>", // required
724
830
  * // },
725
831
  * // },
726
832
  * // settings: { // AgentSettings