@wildix/wilma-agents-client 1.0.28 → 1.0.30

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 +20 -7
  7. package/dist-cjs/schemas/schemas_0.js +231 -76
  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 +19 -6
  14. package/dist-es/schemas/schemas_0.js +228 -73
  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 -30
  18. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
  19. package/dist-types/commands/GetAgentCommand.d.ts +106 -15
  20. package/dist-types/commands/GetAgentVersionCommand.d.ts +106 -15
  21. package/dist-types/commands/ListAgentsCommand.d.ts +106 -15
  22. package/dist-types/commands/ListAgentsNamesCommand.d.ts +16 -0
  23. package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +103 -0
  24. package/dist-types/commands/PublishAgentVersionCommand.d.ts +106 -15
  25. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
  26. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +106 -15
  27. package/dist-types/commands/UpdateAgentCommand.d.ts +212 -30
  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 +72 -26
  31. package/dist-types/models/models_0.d.ts +620 -40
  32. package/dist-types/schemas/schemas_0.d.ts +18 -0
  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,6 +155,20 @@ 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
173
  * // workflow: {},
105
174
  * // },
@@ -152,6 +221,9 @@ declare const GetAgentCommand_base: {
152
221
  * // approval: { // AgentToolApproval
153
222
  * // prompt: "STRING_VALUE",
154
223
  * // },
224
+ * // channels: [ // AgentCapabilityChannelsList
225
+ * // "voice" || "chat" || "assistant" || "workflow",
226
+ * // ],
155
227
  * // annotations: [ // AgentToolAnnotationsList
156
228
  * // { // AgentToolAnnotation Union: only one key present
157
229
  * // tag: { // AgentToolTagAnnotation
@@ -179,6 +251,9 @@ declare const GetAgentCommand_base: {
179
251
  * // approval: {
180
252
  * // prompt: "STRING_VALUE",
181
253
  * // },
254
+ * // channels: [
255
+ * // "voice" || "chat" || "assistant" || "workflow",
256
+ * // ],
182
257
  * // annotations: [
183
258
  * // {// Union: only one key present
184
259
  * // tag: {
@@ -199,6 +274,9 @@ declare const GetAgentCommand_base: {
199
274
  * // kb: { // AgentKnowledgeBase
200
275
  * // knowledgeBaseId: "STRING_VALUE",
201
276
  * // instructions: "STRING_VALUE",
277
+ * // channels: [
278
+ * // "voice" || "chat" || "assistant" || "workflow",
279
+ * // ],
202
280
  * // annotations: [
203
281
  * // {// Union: only one key present
204
282
  * // tag: {
@@ -244,17 +322,23 @@ declare const GetAgentCommand_base: {
244
322
  * // city: "STRING_VALUE",
245
323
  * // timezone: "STRING_VALUE",
246
324
  * // },
325
+ * // channels: [
326
+ * // "voice" || "chat" || "assistant" || "workflow",
327
+ * // ],
247
328
  * // },
248
329
  * // webFetch: { // AgentWebFetchCapability
249
330
  * // allowedDomains: [
250
331
  * // "STRING_VALUE",
251
332
  * // ],
333
+ * // channels: [
334
+ * // "voice" || "chat" || "assistant" || "workflow",
335
+ * // ],
252
336
  * // },
253
337
  * // agent: { // AgentCallCapability
254
338
  * // agentId: "STRING_VALUE", // required
255
339
  * // agentVersion: Number("int"),
256
340
  * // access: { // AgentAccess
257
- * // visibility: "explicit" || "organization",
341
+ * // visibility: "explicit" || "organization" || "public",
258
342
  * // grants: [ // AgentGrantPrincipalList
259
343
  * // { // AgentGrantPrincipal Union: only one key present
260
344
  * // userId: "STRING_VALUE",
@@ -276,6 +360,7 @@ declare const GetAgentCommand_base: {
276
360
  * // },
277
361
  * // },
278
362
  * // ],
363
+ * // channels: "<AgentCapabilityChannelsList>",
279
364
  * // },
280
365
  * // handover: { // AgentHandoverCapability
281
366
  * // name: "STRING_VALUE",
@@ -289,6 +374,7 @@ declare const GetAgentCommand_base: {
289
374
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
290
375
  * // instructions: "STRING_VALUE",
291
376
  * // },
377
+ * // channels: "<AgentCapabilityChannelsList>",
292
378
  * // annotations: [
293
379
  * // {// Union: only one key present
294
380
  * // tag: {
@@ -311,6 +397,7 @@ declare const GetAgentCommand_base: {
311
397
  * // description: "STRING_VALUE",
312
398
  * // id: "STRING_VALUE", // required
313
399
  * // agentVersion: Number("int"),
400
+ * // channels: "<AgentCapabilityChannelsList>",
314
401
  * // annotations: [
315
402
  * // {// Union: only one key present
316
403
  * // tag: {
@@ -338,10 +425,12 @@ declare const GetAgentCommand_base: {
338
425
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
339
426
  * // instructions: "STRING_VALUE",
340
427
  * // },
428
+ * // channels: "<AgentCapabilityChannelsList>",
341
429
  * // annotations: "<AgentToolAnnotationsList>",
342
430
  * // },
343
431
  * // suggestions: { // AgentSuggestionsCapability
344
432
  * // name: "STRING_VALUE",
433
+ * // channels: "<AgentCapabilityChannelsList>",
345
434
  * // annotations: "<AgentToolAnnotationsList>",
346
435
  * // },
347
436
  * // hangup: { // AgentHangupCapability
@@ -351,12 +440,14 @@ declare const GetAgentCommand_base: {
351
440
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
352
441
  * // instructions: "STRING_VALUE",
353
442
  * // },
443
+ * // channels: "<AgentCapabilityChannelsList>",
354
444
  * // annotations: "<AgentToolAnnotationsList>",
355
445
  * // },
356
446
  * // wait: { // AgentWaitCapability
357
447
  * // name: "STRING_VALUE",
358
448
  * // description: "STRING_VALUE",
359
449
  * // message: "STRING_VALUE",
450
+ * // channels: "<AgentCapabilityChannelsList>",
360
451
  * // annotations: "<AgentToolAnnotationsList>",
361
452
  * // },
362
453
  * // },
@@ -421,6 +512,7 @@ declare const GetAgentCommand_base: {
421
512
  * // approval: {
422
513
  * // prompt: "STRING_VALUE",
423
514
  * // },
515
+ * // channels: "<AgentCapabilityChannelsList>",
424
516
  * // annotations: "<AgentToolAnnotationsList>",
425
517
  * // },
426
518
  * // connector: {
@@ -433,13 +525,14 @@ declare const GetAgentCommand_base: {
433
525
  * // approval: {
434
526
  * // prompt: "STRING_VALUE",
435
527
  * // },
528
+ * // channels: "<AgentCapabilityChannelsList>",
436
529
  * // annotations: "<AgentToolAnnotationsList>",
437
530
  * // },
438
531
  * // agent: {
439
532
  * // agentId: "STRING_VALUE", // required
440
533
  * // agentVersion: Number("int"),
441
534
  * // access: {
442
- * // visibility: "explicit" || "organization",
535
+ * // visibility: "explicit" || "organization" || "public",
443
536
  * // grants: [
444
537
  * // {// Union: only one key present
445
538
  * // userId: "STRING_VALUE",
@@ -461,6 +554,7 @@ declare const GetAgentCommand_base: {
461
554
  * // },
462
555
  * // },
463
556
  * // ],
557
+ * // channels: "<AgentCapabilityChannelsList>",
464
558
  * // },
465
559
  * // handover: {
466
560
  * // name: "STRING_VALUE",
@@ -474,6 +568,7 @@ declare const GetAgentCommand_base: {
474
568
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
475
569
  * // instructions: "STRING_VALUE",
476
570
  * // },
571
+ * // channels: "<AgentCapabilityChannelsList>",
477
572
  * // annotations: "<AgentToolAnnotationsList>",
478
573
  * // },
479
574
  * // delegation: {
@@ -481,6 +576,7 @@ declare const GetAgentCommand_base: {
481
576
  * // description: "STRING_VALUE",
482
577
  * // id: "STRING_VALUE", // required
483
578
  * // agentVersion: Number("int"),
579
+ * // channels: "<AgentCapabilityChannelsList>",
484
580
  * // annotations: "<AgentToolAnnotationsList>",
485
581
  * // },
486
582
  * // transfer: {
@@ -493,6 +589,7 @@ declare const GetAgentCommand_base: {
493
589
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
494
590
  * // instructions: "STRING_VALUE",
495
591
  * // },
592
+ * // channels: "<AgentCapabilityChannelsList>",
496
593
  * // annotations: "<AgentToolAnnotationsList>",
497
594
  * // },
498
595
  * // hangup: {
@@ -502,12 +599,14 @@ declare const GetAgentCommand_base: {
502
599
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
503
600
  * // instructions: "STRING_VALUE",
504
601
  * // },
602
+ * // channels: "<AgentCapabilityChannelsList>",
505
603
  * // annotations: "<AgentToolAnnotationsList>",
506
604
  * // },
507
605
  * // wait: {
508
606
  * // name: "STRING_VALUE",
509
607
  * // description: "STRING_VALUE",
510
608
  * // message: "STRING_VALUE",
609
+ * // channels: "<AgentCapabilityChannelsList>",
511
610
  * // annotations: "<AgentToolAnnotationsList>",
512
611
  * // },
513
612
  * // },
@@ -585,6 +684,7 @@ declare const GetAgentCommand_base: {
585
684
  * // kb: {
586
685
  * // knowledgeBaseId: "STRING_VALUE",
587
686
  * // instructions: "STRING_VALUE",
687
+ * // channels: "<AgentCapabilityChannelsList>",
588
688
  * // annotations: "<AgentToolAnnotationsList>",
589
689
  * // },
590
690
  * // sandbox: {// Union: only one key present
@@ -609,9 +709,11 @@ declare const GetAgentCommand_base: {
609
709
  * // city: "STRING_VALUE",
610
710
  * // timezone: "STRING_VALUE",
611
711
  * // },
712
+ * // channels: "<AgentCapabilityChannelsList>",
612
713
  * // },
613
714
  * // webFetch: {
614
715
  * // allowedDomains: "<DomainNameList>",
716
+ * // channels: "<AgentCapabilityChannelsList>",
615
717
  * // },
616
718
  * // agent: "<AgentCallCapability>",
617
719
  * // handover: "<AgentHandoverCapability>",
@@ -619,6 +721,7 @@ declare const GetAgentCommand_base: {
619
721
  * // transfer: "<AgentTransferCapability>",
620
722
  * // suggestions: {
621
723
  * // name: "STRING_VALUE",
724
+ * // channels: "<AgentCapabilityChannelsList>",
622
725
  * // annotations: "<AgentToolAnnotationsList>",
623
726
  * // },
624
727
  * // hangup: "<AgentHangupCapability>",
@@ -759,16 +862,6 @@ declare const GetAgentCommand_base: {
759
862
  * // },
760
863
  * // ],
761
864
  * // 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
865
  * // mode: "blocking" || "parallel",
773
866
  * // errorMode: "open" || "closed",
774
867
  * // window: "lastMessage" || "lastWithPrior",
@@ -802,9 +895,7 @@ declare const GetAgentCommand_base: {
802
895
  * // sqs: { // AgentSqsEngine
803
896
  * // url: "STRING_VALUE", // required
804
897
  * // key: "STRING_VALUE", // required
805
- * // secret: { // SecretRef
806
- * // id: "STRING_VALUE", // required
807
- * // },
898
+ * // secret: "<SecretRef>", // required
808
899
  * // },
809
900
  * // },
810
901
  * // settings: { // AgentSettings