@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.
- package/dist-cjs/WilmaAgents.js +6 -0
- package/dist-cjs/commands/DeletePronunciationDictionaryCommand.js +20 -0
- package/dist-cjs/commands/ListPronunciationDictionariesCommand.js +20 -0
- package/dist-cjs/commands/PutPronunciationDictionaryCommand.js +20 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/enums.js +20 -7
- package/dist-cjs/schemas/schemas_0.js +231 -76
- package/dist-es/WilmaAgents.js +6 -0
- package/dist-es/commands/DeletePronunciationDictionaryCommand.js +16 -0
- package/dist-es/commands/ListPronunciationDictionariesCommand.js +16 -0
- package/dist-es/commands/PutPronunciationDictionaryCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +19 -6
- package/dist-es/schemas/schemas_0.js +228 -73
- package/dist-types/WilmaAgents.d.ts +25 -3
- package/dist-types/WilmaAgentsClient.d.ts +8 -5
- package/dist-types/commands/CreateAgentCommand.d.ts +212 -30
- package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
- package/dist-types/commands/GetAgentCommand.d.ts +106 -15
- package/dist-types/commands/GetAgentVersionCommand.d.ts +106 -15
- package/dist-types/commands/ListAgentsCommand.d.ts +106 -15
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +16 -0
- package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +103 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +106 -15
- package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +106 -15
- package/dist-types/commands/UpdateAgentCommand.d.ts +212 -30
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/enums.d.ts +72 -26
- package/dist-types/models/models_0.d.ts +620 -40
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/package.json +2 -2
|
@@ -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",
|
|
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"),
|
|
@@ -102,6 +157,20 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
102
157
|
* // },
|
|
103
158
|
* // assistant: { // AssistantChannelSettings
|
|
104
159
|
* // default: true || false,
|
|
160
|
+
* // ui: { // AssistantUiSettings
|
|
161
|
+
* // welcome: { // AssistantWelcomeSettings
|
|
162
|
+
* // title: "STRING_VALUE",
|
|
163
|
+
* // subtitle: "STRING_VALUE",
|
|
164
|
+
* // },
|
|
165
|
+
* // commands: [ // AssistantQuickCommandsList
|
|
166
|
+
* // { // AssistantQuickCommand
|
|
167
|
+
* // title: "STRING_VALUE", // required
|
|
168
|
+
* // description: "STRING_VALUE",
|
|
169
|
+
* // prompt: "STRING_VALUE", // required
|
|
170
|
+
* // },
|
|
171
|
+
* // ],
|
|
172
|
+
* // placeholder: "STRING_VALUE",
|
|
173
|
+
* // },
|
|
105
174
|
* // },
|
|
106
175
|
* // workflow: {},
|
|
107
176
|
* // },
|
|
@@ -154,6 +223,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
154
223
|
* // approval: { // AgentToolApproval
|
|
155
224
|
* // prompt: "STRING_VALUE",
|
|
156
225
|
* // },
|
|
226
|
+
* // channels: [ // AgentCapabilityChannelsList
|
|
227
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
228
|
+
* // ],
|
|
157
229
|
* // annotations: [ // AgentToolAnnotationsList
|
|
158
230
|
* // { // AgentToolAnnotation Union: only one key present
|
|
159
231
|
* // tag: { // AgentToolTagAnnotation
|
|
@@ -181,6 +253,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
181
253
|
* // approval: {
|
|
182
254
|
* // prompt: "STRING_VALUE",
|
|
183
255
|
* // },
|
|
256
|
+
* // channels: [
|
|
257
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
258
|
+
* // ],
|
|
184
259
|
* // annotations: [
|
|
185
260
|
* // {// Union: only one key present
|
|
186
261
|
* // tag: {
|
|
@@ -201,6 +276,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
201
276
|
* // kb: { // AgentKnowledgeBase
|
|
202
277
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
203
278
|
* // instructions: "STRING_VALUE",
|
|
279
|
+
* // channels: [
|
|
280
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
281
|
+
* // ],
|
|
204
282
|
* // annotations: [
|
|
205
283
|
* // {// Union: only one key present
|
|
206
284
|
* // tag: {
|
|
@@ -246,17 +324,23 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
246
324
|
* // city: "STRING_VALUE",
|
|
247
325
|
* // timezone: "STRING_VALUE",
|
|
248
326
|
* // },
|
|
327
|
+
* // channels: [
|
|
328
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
329
|
+
* // ],
|
|
249
330
|
* // },
|
|
250
331
|
* // webFetch: { // AgentWebFetchCapability
|
|
251
332
|
* // allowedDomains: [
|
|
252
333
|
* // "STRING_VALUE",
|
|
253
334
|
* // ],
|
|
335
|
+
* // channels: [
|
|
336
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
337
|
+
* // ],
|
|
254
338
|
* // },
|
|
255
339
|
* // agent: { // AgentCallCapability
|
|
256
340
|
* // agentId: "STRING_VALUE", // required
|
|
257
341
|
* // agentVersion: Number("int"),
|
|
258
342
|
* // access: { // AgentAccess
|
|
259
|
-
* // visibility: "explicit" || "organization",
|
|
343
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
260
344
|
* // grants: [ // AgentGrantPrincipalList
|
|
261
345
|
* // { // AgentGrantPrincipal Union: only one key present
|
|
262
346
|
* // userId: "STRING_VALUE",
|
|
@@ -278,6 +362,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
278
362
|
* // },
|
|
279
363
|
* // },
|
|
280
364
|
* // ],
|
|
365
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
281
366
|
* // },
|
|
282
367
|
* // handover: { // AgentHandoverCapability
|
|
283
368
|
* // name: "STRING_VALUE",
|
|
@@ -291,6 +376,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
291
376
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
292
377
|
* // instructions: "STRING_VALUE",
|
|
293
378
|
* // },
|
|
379
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
294
380
|
* // annotations: [
|
|
295
381
|
* // {// Union: only one key present
|
|
296
382
|
* // tag: {
|
|
@@ -313,6 +399,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
313
399
|
* // description: "STRING_VALUE",
|
|
314
400
|
* // id: "STRING_VALUE", // required
|
|
315
401
|
* // agentVersion: Number("int"),
|
|
402
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
316
403
|
* // annotations: [
|
|
317
404
|
* // {// Union: only one key present
|
|
318
405
|
* // tag: {
|
|
@@ -340,10 +427,12 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
340
427
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
341
428
|
* // instructions: "STRING_VALUE",
|
|
342
429
|
* // },
|
|
430
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
343
431
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
344
432
|
* // },
|
|
345
433
|
* // suggestions: { // AgentSuggestionsCapability
|
|
346
434
|
* // name: "STRING_VALUE",
|
|
435
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
347
436
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
348
437
|
* // },
|
|
349
438
|
* // hangup: { // AgentHangupCapability
|
|
@@ -353,12 +442,14 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
353
442
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
354
443
|
* // instructions: "STRING_VALUE",
|
|
355
444
|
* // },
|
|
445
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
356
446
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
357
447
|
* // },
|
|
358
448
|
* // wait: { // AgentWaitCapability
|
|
359
449
|
* // name: "STRING_VALUE",
|
|
360
450
|
* // description: "STRING_VALUE",
|
|
361
451
|
* // message: "STRING_VALUE",
|
|
452
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
362
453
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
363
454
|
* // },
|
|
364
455
|
* // },
|
|
@@ -423,6 +514,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
423
514
|
* // approval: {
|
|
424
515
|
* // prompt: "STRING_VALUE",
|
|
425
516
|
* // },
|
|
517
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
426
518
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
427
519
|
* // },
|
|
428
520
|
* // connector: {
|
|
@@ -435,13 +527,14 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
435
527
|
* // approval: {
|
|
436
528
|
* // prompt: "STRING_VALUE",
|
|
437
529
|
* // },
|
|
530
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
438
531
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
439
532
|
* // },
|
|
440
533
|
* // agent: {
|
|
441
534
|
* // agentId: "STRING_VALUE", // required
|
|
442
535
|
* // agentVersion: Number("int"),
|
|
443
536
|
* // access: {
|
|
444
|
-
* // visibility: "explicit" || "organization",
|
|
537
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
445
538
|
* // grants: [
|
|
446
539
|
* // {// Union: only one key present
|
|
447
540
|
* // userId: "STRING_VALUE",
|
|
@@ -463,6 +556,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
463
556
|
* // },
|
|
464
557
|
* // },
|
|
465
558
|
* // ],
|
|
559
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
466
560
|
* // },
|
|
467
561
|
* // handover: {
|
|
468
562
|
* // name: "STRING_VALUE",
|
|
@@ -476,6 +570,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
476
570
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
477
571
|
* // instructions: "STRING_VALUE",
|
|
478
572
|
* // },
|
|
573
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
479
574
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
480
575
|
* // },
|
|
481
576
|
* // delegation: {
|
|
@@ -483,6 +578,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
483
578
|
* // description: "STRING_VALUE",
|
|
484
579
|
* // id: "STRING_VALUE", // required
|
|
485
580
|
* // agentVersion: Number("int"),
|
|
581
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
486
582
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
487
583
|
* // },
|
|
488
584
|
* // transfer: {
|
|
@@ -495,6 +591,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
495
591
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
496
592
|
* // instructions: "STRING_VALUE",
|
|
497
593
|
* // },
|
|
594
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
498
595
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
499
596
|
* // },
|
|
500
597
|
* // hangup: {
|
|
@@ -504,12 +601,14 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
504
601
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
505
602
|
* // instructions: "STRING_VALUE",
|
|
506
603
|
* // },
|
|
604
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
507
605
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
508
606
|
* // },
|
|
509
607
|
* // wait: {
|
|
510
608
|
* // name: "STRING_VALUE",
|
|
511
609
|
* // description: "STRING_VALUE",
|
|
512
610
|
* // message: "STRING_VALUE",
|
|
611
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
513
612
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
514
613
|
* // },
|
|
515
614
|
* // },
|
|
@@ -587,6 +686,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
587
686
|
* // kb: {
|
|
588
687
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
589
688
|
* // instructions: "STRING_VALUE",
|
|
689
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
590
690
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
591
691
|
* // },
|
|
592
692
|
* // sandbox: {// Union: only one key present
|
|
@@ -611,9 +711,11 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
611
711
|
* // city: "STRING_VALUE",
|
|
612
712
|
* // timezone: "STRING_VALUE",
|
|
613
713
|
* // },
|
|
714
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
614
715
|
* // },
|
|
615
716
|
* // webFetch: {
|
|
616
717
|
* // allowedDomains: "<DomainNameList>",
|
|
718
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
617
719
|
* // },
|
|
618
720
|
* // agent: "<AgentCallCapability>",
|
|
619
721
|
* // handover: "<AgentHandoverCapability>",
|
|
@@ -621,6 +723,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
621
723
|
* // transfer: "<AgentTransferCapability>",
|
|
622
724
|
* // suggestions: {
|
|
623
725
|
* // name: "STRING_VALUE",
|
|
726
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
624
727
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
625
728
|
* // },
|
|
626
729
|
* // hangup: "<AgentHangupCapability>",
|
|
@@ -761,16 +864,6 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
761
864
|
* // },
|
|
762
865
|
* // ],
|
|
763
866
|
* // model: "STRING_VALUE",
|
|
764
|
-
* // action: {// Union: only one key present
|
|
765
|
-
* // observe: {},
|
|
766
|
-
* // redact: {},
|
|
767
|
-
* // block: {
|
|
768
|
-
* // message: "STRING_VALUE",
|
|
769
|
-
* // },
|
|
770
|
-
* // end: {
|
|
771
|
-
* // message: "STRING_VALUE",
|
|
772
|
-
* // },
|
|
773
|
-
* // },
|
|
774
867
|
* // mode: "blocking" || "parallel",
|
|
775
868
|
* // errorMode: "open" || "closed",
|
|
776
869
|
* // window: "lastMessage" || "lastWithPrior",
|
|
@@ -804,9 +897,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
804
897
|
* // sqs: { // AgentSqsEngine
|
|
805
898
|
* // url: "STRING_VALUE", // required
|
|
806
899
|
* // key: "STRING_VALUE", // required
|
|
807
|
-
* // secret:
|
|
808
|
-
* // id: "STRING_VALUE", // required
|
|
809
|
-
* // },
|
|
900
|
+
* // secret: "<SecretRef>", // required
|
|
810
901
|
* // },
|
|
811
902
|
* // },
|
|
812
903
|
* // settings: { // AgentSettings
|