@wildix/wilma-agents-client 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) 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 +19 -7
  7. package/dist-cjs/schemas/schemas_0.js +233 -84
  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 +18 -6
  14. package/dist-es/schemas/schemas_0.js +230 -81
  15. package/dist-types/WilmaAgents.d.ts +25 -3
  16. package/dist-types/WilmaAgentsClient.d.ts +8 -5
  17. package/dist-types/commands/CreateAgentCommand.d.ts +212 -32
  18. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
  19. package/dist-types/commands/GetAgentCommand.d.ts +106 -16
  20. package/dist-types/commands/GetAgentVersionCommand.d.ts +106 -16
  21. package/dist-types/commands/ListAgentsCommand.d.ts +107 -17
  22. package/dist-types/commands/ListAgentsNamesCommand.d.ts +18 -2
  23. package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +103 -0
  24. package/dist-types/commands/PublishAgentVersionCommand.d.ts +106 -16
  25. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
  26. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +106 -16
  27. package/dist-types/commands/UpdateAgentCommand.d.ts +212 -32
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/index.d.ts +3 -3
  30. package/dist-types/models/enums.d.ts +68 -26
  31. package/dist-types/models/models_0.d.ts +618 -49
  32. package/dist-types/schemas/schemas_0.d.ts +18 -1
  33. package/package.json +2 -2
@@ -0,0 +1,82 @@
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
+ *
33
+ * A LANGUAGE WITH NO DICTIONARY IS A SUCCESS, not a NotFoundException. The operation is
34
+ * @idempotent, which is a promise that a retry is safe, and a retried DELETE — the ordinary
35
+ * outcome of a timed-out response — would otherwise report failure for a row it had already
36
+ * removed. The output is empty either way, so there is nothing a caller could do with the
37
+ * distinction; it says the same thing the paragraph above says about suppressions.
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { WilmaAgentsClient, DeletePronunciationDictionaryCommand } from "@wildix/wilma-agents-client"; // ES Modules import
42
+ * // const { WilmaAgentsClient, DeletePronunciationDictionaryCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
43
+ * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
44
+ * const config = {}; // type is WilmaAgentsClientConfig
45
+ * const client = new WilmaAgentsClient(config);
46
+ * const input = { // DeletePronunciationDictionaryInput
47
+ * company: "STRING_VALUE",
48
+ * code: "STRING_VALUE", // required
49
+ * };
50
+ * const command = new DeletePronunciationDictionaryCommand(input);
51
+ * const response = await client.send(command);
52
+ * // {};
53
+ *
54
+ * ```
55
+ *
56
+ * @param DeletePronunciationDictionaryCommandInput - {@link DeletePronunciationDictionaryCommandInput}
57
+ * @returns {@link DeletePronunciationDictionaryCommandOutput}
58
+ * @see {@link DeletePronunciationDictionaryCommandInput} for command's `input` shape.
59
+ * @see {@link DeletePronunciationDictionaryCommandOutput} for command's `response` shape.
60
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ *
64
+ * @throws {@link WilmaAgentsServiceException}
65
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
66
+ *
67
+ *
68
+ * @public
69
+ */
70
+ export declare class DeletePronunciationDictionaryCommand extends DeletePronunciationDictionaryCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: DeletePronunciationDictionaryInput;
75
+ output: {};
76
+ };
77
+ sdk: {
78
+ input: DeletePronunciationDictionaryCommandInput;
79
+ output: DeletePronunciationDictionaryCommandOutput;
80
+ };
81
+ };
82
+ }
@@ -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",
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"),
@@ -100,8 +155,21 @@ declare const GetAgentCommand_base: {
100
155
  * // },
101
156
  * // assistant: { // AssistantChannelSettings
102
157
  * // default: true || false,
158
+ * // ui: { // AssistantUiSettings
159
+ * // welcome: { // AssistantWelcomeSettings
160
+ * // title: "STRING_VALUE",
161
+ * // subtitle: "STRING_VALUE",
162
+ * // },
163
+ * // commands: [ // AssistantQuickCommandsList
164
+ * // { // AssistantQuickCommand
165
+ * // title: "STRING_VALUE", // required
166
+ * // description: "STRING_VALUE",
167
+ * // prompt: "STRING_VALUE", // required
168
+ * // },
169
+ * // ],
170
+ * // placeholder: "STRING_VALUE",
171
+ * // },
103
172
  * // },
104
- * // workflow: {},
105
173
  * // },
106
174
  * // engine: { // AgentEngine Union: only one key present
107
175
  * // ai: { // AgentAiEngine
@@ -152,6 +220,9 @@ declare const GetAgentCommand_base: {
152
220
  * // approval: { // AgentToolApproval
153
221
  * // prompt: "STRING_VALUE",
154
222
  * // },
223
+ * // channels: [ // AgentCapabilityChannelsList
224
+ * // "voice" || "chat" || "assistant",
225
+ * // ],
155
226
  * // annotations: [ // AgentToolAnnotationsList
156
227
  * // { // AgentToolAnnotation Union: only one key present
157
228
  * // tag: { // AgentToolTagAnnotation
@@ -179,6 +250,9 @@ declare const GetAgentCommand_base: {
179
250
  * // approval: {
180
251
  * // prompt: "STRING_VALUE",
181
252
  * // },
253
+ * // channels: [
254
+ * // "voice" || "chat" || "assistant",
255
+ * // ],
182
256
  * // annotations: [
183
257
  * // {// Union: only one key present
184
258
  * // tag: {
@@ -199,6 +273,9 @@ declare const GetAgentCommand_base: {
199
273
  * // kb: { // AgentKnowledgeBase
200
274
  * // knowledgeBaseId: "STRING_VALUE",
201
275
  * // instructions: "STRING_VALUE",
276
+ * // channels: [
277
+ * // "voice" || "chat" || "assistant",
278
+ * // ],
202
279
  * // annotations: [
203
280
  * // {// Union: only one key present
204
281
  * // tag: {
@@ -244,17 +321,23 @@ declare const GetAgentCommand_base: {
244
321
  * // city: "STRING_VALUE",
245
322
  * // timezone: "STRING_VALUE",
246
323
  * // },
324
+ * // channels: [
325
+ * // "voice" || "chat" || "assistant",
326
+ * // ],
247
327
  * // },
248
328
  * // webFetch: { // AgentWebFetchCapability
249
329
  * // allowedDomains: [
250
330
  * // "STRING_VALUE",
251
331
  * // ],
332
+ * // channels: [
333
+ * // "voice" || "chat" || "assistant",
334
+ * // ],
252
335
  * // },
253
336
  * // agent: { // AgentCallCapability
254
337
  * // agentId: "STRING_VALUE", // required
255
338
  * // agentVersion: Number("int"),
256
339
  * // access: { // AgentAccess
257
- * // visibility: "explicit" || "organization",
340
+ * // visibility: "explicit" || "organization" || "public",
258
341
  * // grants: [ // AgentGrantPrincipalList
259
342
  * // { // AgentGrantPrincipal Union: only one key present
260
343
  * // userId: "STRING_VALUE",
@@ -276,6 +359,7 @@ declare const GetAgentCommand_base: {
276
359
  * // },
277
360
  * // },
278
361
  * // ],
362
+ * // channels: "<AgentCapabilityChannelsList>",
279
363
  * // },
280
364
  * // handover: { // AgentHandoverCapability
281
365
  * // name: "STRING_VALUE",
@@ -289,6 +373,7 @@ declare const GetAgentCommand_base: {
289
373
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
290
374
  * // instructions: "STRING_VALUE",
291
375
  * // },
376
+ * // channels: "<AgentCapabilityChannelsList>",
292
377
  * // annotations: [
293
378
  * // {// Union: only one key present
294
379
  * // tag: {
@@ -311,6 +396,7 @@ declare const GetAgentCommand_base: {
311
396
  * // description: "STRING_VALUE",
312
397
  * // id: "STRING_VALUE", // required
313
398
  * // agentVersion: Number("int"),
399
+ * // channels: "<AgentCapabilityChannelsList>",
314
400
  * // annotations: [
315
401
  * // {// Union: only one key present
316
402
  * // tag: {
@@ -338,10 +424,12 @@ declare const GetAgentCommand_base: {
338
424
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
339
425
  * // instructions: "STRING_VALUE",
340
426
  * // },
427
+ * // channels: "<AgentCapabilityChannelsList>",
341
428
  * // annotations: "<AgentToolAnnotationsList>",
342
429
  * // },
343
430
  * // suggestions: { // AgentSuggestionsCapability
344
431
  * // name: "STRING_VALUE",
432
+ * // channels: "<AgentCapabilityChannelsList>",
345
433
  * // annotations: "<AgentToolAnnotationsList>",
346
434
  * // },
347
435
  * // hangup: { // AgentHangupCapability
@@ -351,12 +439,14 @@ declare const GetAgentCommand_base: {
351
439
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
352
440
  * // instructions: "STRING_VALUE",
353
441
  * // },
442
+ * // channels: "<AgentCapabilityChannelsList>",
354
443
  * // annotations: "<AgentToolAnnotationsList>",
355
444
  * // },
356
445
  * // wait: { // AgentWaitCapability
357
446
  * // name: "STRING_VALUE",
358
447
  * // description: "STRING_VALUE",
359
448
  * // message: "STRING_VALUE",
449
+ * // channels: "<AgentCapabilityChannelsList>",
360
450
  * // annotations: "<AgentToolAnnotationsList>",
361
451
  * // },
362
452
  * // },
@@ -421,6 +511,7 @@ declare const GetAgentCommand_base: {
421
511
  * // approval: {
422
512
  * // prompt: "STRING_VALUE",
423
513
  * // },
514
+ * // channels: "<AgentCapabilityChannelsList>",
424
515
  * // annotations: "<AgentToolAnnotationsList>",
425
516
  * // },
426
517
  * // connector: {
@@ -433,13 +524,14 @@ declare const GetAgentCommand_base: {
433
524
  * // approval: {
434
525
  * // prompt: "STRING_VALUE",
435
526
  * // },
527
+ * // channels: "<AgentCapabilityChannelsList>",
436
528
  * // annotations: "<AgentToolAnnotationsList>",
437
529
  * // },
438
530
  * // agent: {
439
531
  * // agentId: "STRING_VALUE", // required
440
532
  * // agentVersion: Number("int"),
441
533
  * // access: {
442
- * // visibility: "explicit" || "organization",
534
+ * // visibility: "explicit" || "organization" || "public",
443
535
  * // grants: [
444
536
  * // {// Union: only one key present
445
537
  * // userId: "STRING_VALUE",
@@ -461,6 +553,7 @@ declare const GetAgentCommand_base: {
461
553
  * // },
462
554
  * // },
463
555
  * // ],
556
+ * // channels: "<AgentCapabilityChannelsList>",
464
557
  * // },
465
558
  * // handover: {
466
559
  * // name: "STRING_VALUE",
@@ -474,6 +567,7 @@ declare const GetAgentCommand_base: {
474
567
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
475
568
  * // instructions: "STRING_VALUE",
476
569
  * // },
570
+ * // channels: "<AgentCapabilityChannelsList>",
477
571
  * // annotations: "<AgentToolAnnotationsList>",
478
572
  * // },
479
573
  * // delegation: {
@@ -481,6 +575,7 @@ declare const GetAgentCommand_base: {
481
575
  * // description: "STRING_VALUE",
482
576
  * // id: "STRING_VALUE", // required
483
577
  * // agentVersion: Number("int"),
578
+ * // channels: "<AgentCapabilityChannelsList>",
484
579
  * // annotations: "<AgentToolAnnotationsList>",
485
580
  * // },
486
581
  * // transfer: {
@@ -493,6 +588,7 @@ declare const GetAgentCommand_base: {
493
588
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
494
589
  * // instructions: "STRING_VALUE",
495
590
  * // },
591
+ * // channels: "<AgentCapabilityChannelsList>",
496
592
  * // annotations: "<AgentToolAnnotationsList>",
497
593
  * // },
498
594
  * // hangup: {
@@ -502,12 +598,14 @@ declare const GetAgentCommand_base: {
502
598
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
503
599
  * // instructions: "STRING_VALUE",
504
600
  * // },
601
+ * // channels: "<AgentCapabilityChannelsList>",
505
602
  * // annotations: "<AgentToolAnnotationsList>",
506
603
  * // },
507
604
  * // wait: {
508
605
  * // name: "STRING_VALUE",
509
606
  * // description: "STRING_VALUE",
510
607
  * // message: "STRING_VALUE",
608
+ * // channels: "<AgentCapabilityChannelsList>",
511
609
  * // annotations: "<AgentToolAnnotationsList>",
512
610
  * // },
513
611
  * // },
@@ -585,6 +683,7 @@ declare const GetAgentCommand_base: {
585
683
  * // kb: {
586
684
  * // knowledgeBaseId: "STRING_VALUE",
587
685
  * // instructions: "STRING_VALUE",
686
+ * // channels: "<AgentCapabilityChannelsList>",
588
687
  * // annotations: "<AgentToolAnnotationsList>",
589
688
  * // },
590
689
  * // sandbox: {// Union: only one key present
@@ -609,9 +708,11 @@ declare const GetAgentCommand_base: {
609
708
  * // city: "STRING_VALUE",
610
709
  * // timezone: "STRING_VALUE",
611
710
  * // },
711
+ * // channels: "<AgentCapabilityChannelsList>",
612
712
  * // },
613
713
  * // webFetch: {
614
714
  * // allowedDomains: "<DomainNameList>",
715
+ * // channels: "<AgentCapabilityChannelsList>",
615
716
  * // },
616
717
  * // agent: "<AgentCallCapability>",
617
718
  * // handover: "<AgentHandoverCapability>",
@@ -619,6 +720,7 @@ declare const GetAgentCommand_base: {
619
720
  * // transfer: "<AgentTransferCapability>",
620
721
  * // suggestions: {
621
722
  * // name: "STRING_VALUE",
723
+ * // channels: "<AgentCapabilityChannelsList>",
622
724
  * // annotations: "<AgentToolAnnotationsList>",
623
725
  * // },
624
726
  * // hangup: "<AgentHangupCapability>",
@@ -759,16 +861,6 @@ declare const GetAgentCommand_base: {
759
861
  * // },
760
862
  * // ],
761
863
  * // model: "STRING_VALUE",
762
- * // action: {// Union: only one key present
763
- * // observe: {},
764
- * // redact: {},
765
- * // block: {
766
- * // message: "STRING_VALUE",
767
- * // },
768
- * // end: {
769
- * // message: "STRING_VALUE",
770
- * // },
771
- * // },
772
864
  * // mode: "blocking" || "parallel",
773
865
  * // errorMode: "open" || "closed",
774
866
  * // window: "lastMessage" || "lastWithPrior",
@@ -802,9 +894,7 @@ declare const GetAgentCommand_base: {
802
894
  * // sqs: { // AgentSqsEngine
803
895
  * // url: "STRING_VALUE", // required
804
896
  * // key: "STRING_VALUE", // required
805
- * // secret: { // SecretRef
806
- * // id: "STRING_VALUE", // required
807
- * // },
897
+ * // secret: "<SecretRef>", // required
808
898
  * // },
809
899
  * // },
810
900
  * // settings: { // AgentSettings