@wildix/wilma-agents-client 1.0.27 → 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.
- 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 +46 -7
- package/dist-cjs/schemas/schemas_0.js +333 -99
- 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 +45 -6
- package/dist-es/schemas/schemas_0.js +329 -95
- package/dist-types/WilmaAgents.d.ts +25 -3
- package/dist-types/WilmaAgentsClient.d.ts +8 -5
- package/dist-types/commands/CreateAgentCommand.d.ts +286 -16
- package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
- package/dist-types/commands/GetAgentCommand.d.ts +143 -8
- package/dist-types/commands/GetAgentVersionCommand.d.ts +143 -8
- package/dist-types/commands/ListAgentsCommand.d.ts +144 -9
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +18 -2
- package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +103 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +143 -8
- package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +143 -8
- package/dist-types/commands/UpdateAgentCommand.d.ts +286 -16
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/enums.d.ts +159 -26
- package/dist-types/models/models_0.d.ts +913 -49
- package/dist-types/schemas/schemas_0.d.ts +29 -1
- package/package.json +2 -2
|
@@ -44,6 +44,61 @@ declare const UpdateAgentCommand_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",
|
|
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"),
|
|
@@ -93,8 +148,21 @@ declare const UpdateAgentCommand_base: {
|
|
|
93
148
|
* },
|
|
94
149
|
* assistant: { // AssistantChannelSettings
|
|
95
150
|
* default: true || false,
|
|
151
|
+
* ui: { // AssistantUiSettings
|
|
152
|
+
* welcome: { // AssistantWelcomeSettings
|
|
153
|
+
* title: "STRING_VALUE",
|
|
154
|
+
* subtitle: "STRING_VALUE",
|
|
155
|
+
* },
|
|
156
|
+
* commands: [ // AssistantQuickCommandsList
|
|
157
|
+
* { // AssistantQuickCommand
|
|
158
|
+
* title: "STRING_VALUE", // required
|
|
159
|
+
* description: "STRING_VALUE",
|
|
160
|
+
* prompt: "STRING_VALUE", // required
|
|
161
|
+
* },
|
|
162
|
+
* ],
|
|
163
|
+
* placeholder: "STRING_VALUE",
|
|
164
|
+
* },
|
|
96
165
|
* },
|
|
97
|
-
* workflow: {},
|
|
98
166
|
* },
|
|
99
167
|
* engine: { // AgentEngine Union: only one key present
|
|
100
168
|
* ai: { // AgentAiEngine
|
|
@@ -105,7 +173,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
105
173
|
* { // AgentWorkflowStep
|
|
106
174
|
* id: "STRING_VALUE", // required
|
|
107
175
|
* label: "STRING_VALUE", // required
|
|
108
|
-
* summary: "STRING_VALUE",
|
|
109
176
|
* stage: "STRING_VALUE",
|
|
110
177
|
* handler: { // AgentWorkflowHandler Union: only one key present
|
|
111
178
|
* conversation: { // AgentWorkflowConversationHandler
|
|
@@ -146,6 +213,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
146
213
|
* approval: { // AgentToolApproval
|
|
147
214
|
* prompt: "STRING_VALUE",
|
|
148
215
|
* },
|
|
216
|
+
* channels: [ // AgentCapabilityChannelsList
|
|
217
|
+
* "voice" || "chat" || "assistant",
|
|
218
|
+
* ],
|
|
149
219
|
* annotations: [ // AgentToolAnnotationsList
|
|
150
220
|
* { // AgentToolAnnotation Union: only one key present
|
|
151
221
|
* tag: { // AgentToolTagAnnotation
|
|
@@ -173,6 +243,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
173
243
|
* approval: {
|
|
174
244
|
* prompt: "STRING_VALUE",
|
|
175
245
|
* },
|
|
246
|
+
* channels: [
|
|
247
|
+
* "voice" || "chat" || "assistant",
|
|
248
|
+
* ],
|
|
176
249
|
* annotations: [
|
|
177
250
|
* {// Union: only one key present
|
|
178
251
|
* tag: {
|
|
@@ -193,6 +266,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
193
266
|
* kb: { // AgentKnowledgeBase
|
|
194
267
|
* knowledgeBaseId: "STRING_VALUE",
|
|
195
268
|
* instructions: "STRING_VALUE",
|
|
269
|
+
* channels: [
|
|
270
|
+
* "voice" || "chat" || "assistant",
|
|
271
|
+
* ],
|
|
196
272
|
* annotations: [
|
|
197
273
|
* {// Union: only one key present
|
|
198
274
|
* tag: {
|
|
@@ -238,17 +314,23 @@ declare const UpdateAgentCommand_base: {
|
|
|
238
314
|
* city: "STRING_VALUE",
|
|
239
315
|
* timezone: "STRING_VALUE",
|
|
240
316
|
* },
|
|
317
|
+
* channels: [
|
|
318
|
+
* "voice" || "chat" || "assistant",
|
|
319
|
+
* ],
|
|
241
320
|
* },
|
|
242
321
|
* webFetch: { // AgentWebFetchCapability
|
|
243
322
|
* allowedDomains: [
|
|
244
323
|
* "STRING_VALUE",
|
|
245
324
|
* ],
|
|
325
|
+
* channels: [
|
|
326
|
+
* "voice" || "chat" || "assistant",
|
|
327
|
+
* ],
|
|
246
328
|
* },
|
|
247
329
|
* agent: { // AgentCallCapability
|
|
248
330
|
* agentId: "STRING_VALUE", // required
|
|
249
331
|
* agentVersion: Number("int"),
|
|
250
332
|
* access: { // AgentAccess
|
|
251
|
-
* visibility: "explicit" || "organization",
|
|
333
|
+
* visibility: "explicit" || "organization" || "public",
|
|
252
334
|
* grants: [ // AgentGrantPrincipalList
|
|
253
335
|
* { // AgentGrantPrincipal Union: only one key present
|
|
254
336
|
* userId: "STRING_VALUE",
|
|
@@ -270,6 +352,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
270
352
|
* },
|
|
271
353
|
* },
|
|
272
354
|
* ],
|
|
355
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
273
356
|
* },
|
|
274
357
|
* handover: { // AgentHandoverCapability
|
|
275
358
|
* name: "STRING_VALUE",
|
|
@@ -283,6 +366,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
283
366
|
* type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
284
367
|
* instructions: "STRING_VALUE",
|
|
285
368
|
* },
|
|
369
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
286
370
|
* annotations: [
|
|
287
371
|
* {// Union: only one key present
|
|
288
372
|
* tag: {
|
|
@@ -305,6 +389,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
305
389
|
* description: "STRING_VALUE",
|
|
306
390
|
* id: "STRING_VALUE", // required
|
|
307
391
|
* agentVersion: Number("int"),
|
|
392
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
308
393
|
* annotations: [
|
|
309
394
|
* {// Union: only one key present
|
|
310
395
|
* tag: {
|
|
@@ -332,10 +417,12 @@ declare const UpdateAgentCommand_base: {
|
|
|
332
417
|
* type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
333
418
|
* instructions: "STRING_VALUE",
|
|
334
419
|
* },
|
|
420
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
335
421
|
* annotations: "<AgentToolAnnotationsList>",
|
|
336
422
|
* },
|
|
337
423
|
* suggestions: { // AgentSuggestionsCapability
|
|
338
424
|
* name: "STRING_VALUE",
|
|
425
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
339
426
|
* annotations: "<AgentToolAnnotationsList>",
|
|
340
427
|
* },
|
|
341
428
|
* hangup: { // AgentHangupCapability
|
|
@@ -345,12 +432,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
345
432
|
* type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
346
433
|
* instructions: "STRING_VALUE",
|
|
347
434
|
* },
|
|
435
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
348
436
|
* annotations: "<AgentToolAnnotationsList>",
|
|
349
437
|
* },
|
|
350
438
|
* wait: { // AgentWaitCapability
|
|
351
439
|
* name: "STRING_VALUE",
|
|
352
440
|
* description: "STRING_VALUE",
|
|
353
441
|
* message: "STRING_VALUE",
|
|
442
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
354
443
|
* annotations: "<AgentToolAnnotationsList>",
|
|
355
444
|
* },
|
|
356
445
|
* },
|
|
@@ -415,6 +504,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
415
504
|
* approval: {
|
|
416
505
|
* prompt: "STRING_VALUE",
|
|
417
506
|
* },
|
|
507
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
418
508
|
* annotations: "<AgentToolAnnotationsList>",
|
|
419
509
|
* },
|
|
420
510
|
* connector: {
|
|
@@ -427,13 +517,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
427
517
|
* approval: {
|
|
428
518
|
* prompt: "STRING_VALUE",
|
|
429
519
|
* },
|
|
520
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
430
521
|
* annotations: "<AgentToolAnnotationsList>",
|
|
431
522
|
* },
|
|
432
523
|
* agent: {
|
|
433
524
|
* agentId: "STRING_VALUE", // required
|
|
434
525
|
* agentVersion: Number("int"),
|
|
435
526
|
* access: {
|
|
436
|
-
* visibility: "explicit" || "organization",
|
|
527
|
+
* visibility: "explicit" || "organization" || "public",
|
|
437
528
|
* grants: [
|
|
438
529
|
* {// Union: only one key present
|
|
439
530
|
* userId: "STRING_VALUE",
|
|
@@ -455,6 +546,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
455
546
|
* },
|
|
456
547
|
* },
|
|
457
548
|
* ],
|
|
549
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
458
550
|
* },
|
|
459
551
|
* handover: {
|
|
460
552
|
* name: "STRING_VALUE",
|
|
@@ -468,6 +560,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
468
560
|
* type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
469
561
|
* instructions: "STRING_VALUE",
|
|
470
562
|
* },
|
|
563
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
471
564
|
* annotations: "<AgentToolAnnotationsList>",
|
|
472
565
|
* },
|
|
473
566
|
* delegation: {
|
|
@@ -475,6 +568,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
475
568
|
* description: "STRING_VALUE",
|
|
476
569
|
* id: "STRING_VALUE", // required
|
|
477
570
|
* agentVersion: Number("int"),
|
|
571
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
478
572
|
* annotations: "<AgentToolAnnotationsList>",
|
|
479
573
|
* },
|
|
480
574
|
* transfer: {
|
|
@@ -487,6 +581,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
487
581
|
* type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
488
582
|
* instructions: "STRING_VALUE",
|
|
489
583
|
* },
|
|
584
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
490
585
|
* annotations: "<AgentToolAnnotationsList>",
|
|
491
586
|
* },
|
|
492
587
|
* hangup: {
|
|
@@ -496,12 +591,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
496
591
|
* type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
497
592
|
* instructions: "STRING_VALUE",
|
|
498
593
|
* },
|
|
594
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
499
595
|
* annotations: "<AgentToolAnnotationsList>",
|
|
500
596
|
* },
|
|
501
597
|
* wait: {
|
|
502
598
|
* name: "STRING_VALUE",
|
|
503
599
|
* description: "STRING_VALUE",
|
|
504
600
|
* message: "STRING_VALUE",
|
|
601
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
505
602
|
* annotations: "<AgentToolAnnotationsList>",
|
|
506
603
|
* },
|
|
507
604
|
* },
|
|
@@ -562,7 +659,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
562
659
|
* {
|
|
563
660
|
* id: "STRING_VALUE", // required
|
|
564
661
|
* label: "STRING_VALUE", // required
|
|
565
|
-
* summary: "STRING_VALUE",
|
|
566
662
|
* stage: "STRING_VALUE",
|
|
567
663
|
* handler: {// Union: only one key present
|
|
568
664
|
* conversation: {
|
|
@@ -580,6 +676,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
580
676
|
* kb: {
|
|
581
677
|
* knowledgeBaseId: "STRING_VALUE",
|
|
582
678
|
* instructions: "STRING_VALUE",
|
|
679
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
583
680
|
* annotations: "<AgentToolAnnotationsList>",
|
|
584
681
|
* },
|
|
585
682
|
* sandbox: {// Union: only one key present
|
|
@@ -604,9 +701,11 @@ declare const UpdateAgentCommand_base: {
|
|
|
604
701
|
* city: "STRING_VALUE",
|
|
605
702
|
* timezone: "STRING_VALUE",
|
|
606
703
|
* },
|
|
704
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
607
705
|
* },
|
|
608
706
|
* webFetch: {
|
|
609
707
|
* allowedDomains: "<DomainNameList>",
|
|
708
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
610
709
|
* },
|
|
611
710
|
* agent: "<AgentCallCapability>",
|
|
612
711
|
* handover: "<AgentHandoverCapability>",
|
|
@@ -614,6 +713,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
614
713
|
* transfer: "<AgentTransferCapability>",
|
|
615
714
|
* suggestions: {
|
|
616
715
|
* name: "STRING_VALUE",
|
|
716
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
617
717
|
* annotations: "<AgentToolAnnotationsList>",
|
|
618
718
|
* },
|
|
619
719
|
* hangup: "<AgentHangupCapability>",
|
|
@@ -722,6 +822,43 @@ declare const UpdateAgentCommand_base: {
|
|
|
722
822
|
* layout: "flow" || "compact" || "stages",
|
|
723
823
|
* },
|
|
724
824
|
* },
|
|
825
|
+
* guardrails: { // AgentGuardrails
|
|
826
|
+
* input: { // AgentGuardrailInput
|
|
827
|
+
* checks: [ // AgentGuardrailChecksList
|
|
828
|
+
* { // AgentGuardrailCheck
|
|
829
|
+
* name: "STRING_VALUE", // required
|
|
830
|
+
* description: "STRING_VALUE",
|
|
831
|
+
* kind: { // AgentGuardrailCheckKind Union: only one key present
|
|
832
|
+
* preset: { // AgentGuardrailPresetCheck
|
|
833
|
+
* preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
|
|
834
|
+
* notes: "STRING_VALUE",
|
|
835
|
+
* },
|
|
836
|
+
* custom: { // AgentGuardrailCustomCheck
|
|
837
|
+
* instructions: "STRING_VALUE", // required
|
|
838
|
+
* examples: [ // AgentGuardrailExamplesList
|
|
839
|
+
* "STRING_VALUE",
|
|
840
|
+
* ],
|
|
841
|
+
* },
|
|
842
|
+
* },
|
|
843
|
+
* sensitivity: "low" || "medium" || "high",
|
|
844
|
+
* action: { // AgentGuardrailAction Union: only one key present
|
|
845
|
+
* observe: {},
|
|
846
|
+
* redact: {},
|
|
847
|
+
* block: { // AgentGuardrailBlockAction
|
|
848
|
+
* message: "STRING_VALUE",
|
|
849
|
+
* },
|
|
850
|
+
* end: { // AgentGuardrailEndAction
|
|
851
|
+
* message: "STRING_VALUE",
|
|
852
|
+
* },
|
|
853
|
+
* },
|
|
854
|
+
* },
|
|
855
|
+
* ],
|
|
856
|
+
* model: "STRING_VALUE",
|
|
857
|
+
* mode: "blocking" || "parallel",
|
|
858
|
+
* errorMode: "open" || "closed",
|
|
859
|
+
* window: "lastMessage" || "lastWithPrior",
|
|
860
|
+
* },
|
|
861
|
+
* },
|
|
725
862
|
* model: "STRING_VALUE",
|
|
726
863
|
* timeZone: "STRING_VALUE",
|
|
727
864
|
* artifacts: true || false,
|
|
@@ -750,9 +887,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
750
887
|
* sqs: { // AgentSqsEngine
|
|
751
888
|
* url: "STRING_VALUE", // required
|
|
752
889
|
* key: "STRING_VALUE", // required
|
|
753
|
-
* secret:
|
|
754
|
-
* id: "STRING_VALUE", // required
|
|
755
|
-
* },
|
|
890
|
+
* secret: "<SecretRef>", // required
|
|
756
891
|
* },
|
|
757
892
|
* },
|
|
758
893
|
* settings: { // AgentSettings
|
|
@@ -774,6 +909,61 @@ declare const UpdateAgentCommand_base: {
|
|
|
774
909
|
* // channels: { // AgentChannels
|
|
775
910
|
* // voice: { // VoiceChannelSettings
|
|
776
911
|
* // greeting: "STRING_VALUE",
|
|
912
|
+
* // backgroundSound: "STRING_VALUE",
|
|
913
|
+
* // speech: { // VoiceSpeechSettings
|
|
914
|
+
* // provider: "elevenlabs" || "google" || "amazon_polly", // required
|
|
915
|
+
* // languages: [ // VoiceLanguageList // required
|
|
916
|
+
* // { // VoiceLanguage
|
|
917
|
+
* // code: "STRING_VALUE", // required
|
|
918
|
+
* // provider: "elevenlabs" || "google" || "amazon_polly",
|
|
919
|
+
* // voice: "STRING_VALUE", // required
|
|
920
|
+
* // greeting: "STRING_VALUE",
|
|
921
|
+
* // isDefault: true || false,
|
|
922
|
+
* // instructions: "STRING_VALUE",
|
|
923
|
+
* // synthesis: { // VoiceSynthesisOptions
|
|
924
|
+
* // model: "STRING_VALUE",
|
|
925
|
+
* // speed: Number("float"),
|
|
926
|
+
* // stability: Number("float"),
|
|
927
|
+
* // similarity: Number("float"),
|
|
928
|
+
* // style: Number("float"),
|
|
929
|
+
* // speakerBoost: true || false,
|
|
930
|
+
* // pitch: Number("float"),
|
|
931
|
+
* // volumeGain: Number("float"),
|
|
932
|
+
* // },
|
|
933
|
+
* // credential: { // SecretRef
|
|
934
|
+
* // id: "STRING_VALUE", // required
|
|
935
|
+
* // },
|
|
936
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
937
|
+
* // { // VoicePronunciation
|
|
938
|
+
* // phrase: "STRING_VALUE", // required
|
|
939
|
+
* // as: "STRING_VALUE", // required
|
|
940
|
+
* // encoding: "alias" || "ipa",
|
|
941
|
+
* // },
|
|
942
|
+
* // ],
|
|
943
|
+
* // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
|
|
944
|
+
* // "STRING_VALUE",
|
|
945
|
+
* // ],
|
|
946
|
+
* // },
|
|
947
|
+
* // ],
|
|
948
|
+
* // autoDetect: true || false,
|
|
949
|
+
* // greetEveryLanguage: true || false,
|
|
950
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
951
|
+
* // vendor: "aws",
|
|
952
|
+
* // },
|
|
953
|
+
* // synthesis: {
|
|
954
|
+
* // model: "STRING_VALUE",
|
|
955
|
+
* // speed: Number("float"),
|
|
956
|
+
* // stability: Number("float"),
|
|
957
|
+
* // similarity: Number("float"),
|
|
958
|
+
* // style: Number("float"),
|
|
959
|
+
* // speakerBoost: true || false,
|
|
960
|
+
* // pitch: Number("float"),
|
|
961
|
+
* // volumeGain: Number("float"),
|
|
962
|
+
* // },
|
|
963
|
+
* // credential: {
|
|
964
|
+
* // id: "STRING_VALUE", // required
|
|
965
|
+
* // },
|
|
966
|
+
* // },
|
|
777
967
|
* // interruptions: { // VoiceInterruptionSettings
|
|
778
968
|
* // enabled: true || false, // required
|
|
779
969
|
* // minWords: Number("int"),
|
|
@@ -823,8 +1013,21 @@ declare const UpdateAgentCommand_base: {
|
|
|
823
1013
|
* // },
|
|
824
1014
|
* // assistant: { // AssistantChannelSettings
|
|
825
1015
|
* // default: true || false,
|
|
1016
|
+
* // ui: { // AssistantUiSettings
|
|
1017
|
+
* // welcome: { // AssistantWelcomeSettings
|
|
1018
|
+
* // title: "STRING_VALUE",
|
|
1019
|
+
* // subtitle: "STRING_VALUE",
|
|
1020
|
+
* // },
|
|
1021
|
+
* // commands: [ // AssistantQuickCommandsList
|
|
1022
|
+
* // { // AssistantQuickCommand
|
|
1023
|
+
* // title: "STRING_VALUE", // required
|
|
1024
|
+
* // description: "STRING_VALUE",
|
|
1025
|
+
* // prompt: "STRING_VALUE", // required
|
|
1026
|
+
* // },
|
|
1027
|
+
* // ],
|
|
1028
|
+
* // placeholder: "STRING_VALUE",
|
|
1029
|
+
* // },
|
|
826
1030
|
* // },
|
|
827
|
-
* // workflow: {},
|
|
828
1031
|
* // },
|
|
829
1032
|
* // engine: { // AgentEngine Union: only one key present
|
|
830
1033
|
* // ai: { // AgentAiEngine
|
|
@@ -835,7 +1038,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
835
1038
|
* // { // AgentWorkflowStep
|
|
836
1039
|
* // id: "STRING_VALUE", // required
|
|
837
1040
|
* // label: "STRING_VALUE", // required
|
|
838
|
-
* // summary: "STRING_VALUE",
|
|
839
1041
|
* // stage: "STRING_VALUE",
|
|
840
1042
|
* // handler: { // AgentWorkflowHandler Union: only one key present
|
|
841
1043
|
* // conversation: { // AgentWorkflowConversationHandler
|
|
@@ -876,6 +1078,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
876
1078
|
* // approval: { // AgentToolApproval
|
|
877
1079
|
* // prompt: "STRING_VALUE",
|
|
878
1080
|
* // },
|
|
1081
|
+
* // channels: [ // AgentCapabilityChannelsList
|
|
1082
|
+
* // "voice" || "chat" || "assistant",
|
|
1083
|
+
* // ],
|
|
879
1084
|
* // annotations: [ // AgentToolAnnotationsList
|
|
880
1085
|
* // { // AgentToolAnnotation Union: only one key present
|
|
881
1086
|
* // tag: { // AgentToolTagAnnotation
|
|
@@ -903,6 +1108,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
903
1108
|
* // approval: {
|
|
904
1109
|
* // prompt: "STRING_VALUE",
|
|
905
1110
|
* // },
|
|
1111
|
+
* // channels: [
|
|
1112
|
+
* // "voice" || "chat" || "assistant",
|
|
1113
|
+
* // ],
|
|
906
1114
|
* // annotations: [
|
|
907
1115
|
* // {// Union: only one key present
|
|
908
1116
|
* // tag: {
|
|
@@ -923,6 +1131,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
923
1131
|
* // kb: { // AgentKnowledgeBase
|
|
924
1132
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
925
1133
|
* // instructions: "STRING_VALUE",
|
|
1134
|
+
* // channels: [
|
|
1135
|
+
* // "voice" || "chat" || "assistant",
|
|
1136
|
+
* // ],
|
|
926
1137
|
* // annotations: [
|
|
927
1138
|
* // {// Union: only one key present
|
|
928
1139
|
* // tag: {
|
|
@@ -968,17 +1179,23 @@ declare const UpdateAgentCommand_base: {
|
|
|
968
1179
|
* // city: "STRING_VALUE",
|
|
969
1180
|
* // timezone: "STRING_VALUE",
|
|
970
1181
|
* // },
|
|
1182
|
+
* // channels: [
|
|
1183
|
+
* // "voice" || "chat" || "assistant",
|
|
1184
|
+
* // ],
|
|
971
1185
|
* // },
|
|
972
1186
|
* // webFetch: { // AgentWebFetchCapability
|
|
973
1187
|
* // allowedDomains: [
|
|
974
1188
|
* // "STRING_VALUE",
|
|
975
1189
|
* // ],
|
|
1190
|
+
* // channels: [
|
|
1191
|
+
* // "voice" || "chat" || "assistant",
|
|
1192
|
+
* // ],
|
|
976
1193
|
* // },
|
|
977
1194
|
* // agent: { // AgentCallCapability
|
|
978
1195
|
* // agentId: "STRING_VALUE", // required
|
|
979
1196
|
* // agentVersion: Number("int"),
|
|
980
1197
|
* // access: { // AgentAccess
|
|
981
|
-
* // visibility: "explicit" || "organization",
|
|
1198
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
982
1199
|
* // grants: [ // AgentGrantPrincipalList
|
|
983
1200
|
* // { // AgentGrantPrincipal Union: only one key present
|
|
984
1201
|
* // userId: "STRING_VALUE",
|
|
@@ -1000,6 +1217,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1000
1217
|
* // },
|
|
1001
1218
|
* // },
|
|
1002
1219
|
* // ],
|
|
1220
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1003
1221
|
* // },
|
|
1004
1222
|
* // handover: { // AgentHandoverCapability
|
|
1005
1223
|
* // name: "STRING_VALUE",
|
|
@@ -1013,6 +1231,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1013
1231
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
1014
1232
|
* // instructions: "STRING_VALUE",
|
|
1015
1233
|
* // },
|
|
1234
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1016
1235
|
* // annotations: [
|
|
1017
1236
|
* // {// Union: only one key present
|
|
1018
1237
|
* // tag: {
|
|
@@ -1035,6 +1254,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1035
1254
|
* // description: "STRING_VALUE",
|
|
1036
1255
|
* // id: "STRING_VALUE", // required
|
|
1037
1256
|
* // agentVersion: Number("int"),
|
|
1257
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1038
1258
|
* // annotations: [
|
|
1039
1259
|
* // {// Union: only one key present
|
|
1040
1260
|
* // tag: {
|
|
@@ -1062,10 +1282,12 @@ declare const UpdateAgentCommand_base: {
|
|
|
1062
1282
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
1063
1283
|
* // instructions: "STRING_VALUE",
|
|
1064
1284
|
* // },
|
|
1285
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1065
1286
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1066
1287
|
* // },
|
|
1067
1288
|
* // suggestions: { // AgentSuggestionsCapability
|
|
1068
1289
|
* // name: "STRING_VALUE",
|
|
1290
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1069
1291
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1070
1292
|
* // },
|
|
1071
1293
|
* // hangup: { // AgentHangupCapability
|
|
@@ -1075,12 +1297,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
1075
1297
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
1076
1298
|
* // instructions: "STRING_VALUE",
|
|
1077
1299
|
* // },
|
|
1300
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1078
1301
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1079
1302
|
* // },
|
|
1080
1303
|
* // wait: { // AgentWaitCapability
|
|
1081
1304
|
* // name: "STRING_VALUE",
|
|
1082
1305
|
* // description: "STRING_VALUE",
|
|
1083
1306
|
* // message: "STRING_VALUE",
|
|
1307
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1084
1308
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1085
1309
|
* // },
|
|
1086
1310
|
* // },
|
|
@@ -1145,6 +1369,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1145
1369
|
* // approval: {
|
|
1146
1370
|
* // prompt: "STRING_VALUE",
|
|
1147
1371
|
* // },
|
|
1372
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1148
1373
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1149
1374
|
* // },
|
|
1150
1375
|
* // connector: {
|
|
@@ -1157,13 +1382,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
1157
1382
|
* // approval: {
|
|
1158
1383
|
* // prompt: "STRING_VALUE",
|
|
1159
1384
|
* // },
|
|
1385
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1160
1386
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1161
1387
|
* // },
|
|
1162
1388
|
* // agent: {
|
|
1163
1389
|
* // agentId: "STRING_VALUE", // required
|
|
1164
1390
|
* // agentVersion: Number("int"),
|
|
1165
1391
|
* // access: {
|
|
1166
|
-
* // visibility: "explicit" || "organization",
|
|
1392
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
1167
1393
|
* // grants: [
|
|
1168
1394
|
* // {// Union: only one key present
|
|
1169
1395
|
* // userId: "STRING_VALUE",
|
|
@@ -1185,6 +1411,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1185
1411
|
* // },
|
|
1186
1412
|
* // },
|
|
1187
1413
|
* // ],
|
|
1414
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1188
1415
|
* // },
|
|
1189
1416
|
* // handover: {
|
|
1190
1417
|
* // name: "STRING_VALUE",
|
|
@@ -1198,6 +1425,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1198
1425
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
1199
1426
|
* // instructions: "STRING_VALUE",
|
|
1200
1427
|
* // },
|
|
1428
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1201
1429
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1202
1430
|
* // },
|
|
1203
1431
|
* // delegation: {
|
|
@@ -1205,6 +1433,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1205
1433
|
* // description: "STRING_VALUE",
|
|
1206
1434
|
* // id: "STRING_VALUE", // required
|
|
1207
1435
|
* // agentVersion: Number("int"),
|
|
1436
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1208
1437
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1209
1438
|
* // },
|
|
1210
1439
|
* // transfer: {
|
|
@@ -1217,6 +1446,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1217
1446
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
1218
1447
|
* // instructions: "STRING_VALUE",
|
|
1219
1448
|
* // },
|
|
1449
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1220
1450
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1221
1451
|
* // },
|
|
1222
1452
|
* // hangup: {
|
|
@@ -1226,12 +1456,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
1226
1456
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
1227
1457
|
* // instructions: "STRING_VALUE",
|
|
1228
1458
|
* // },
|
|
1459
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1229
1460
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1230
1461
|
* // },
|
|
1231
1462
|
* // wait: {
|
|
1232
1463
|
* // name: "STRING_VALUE",
|
|
1233
1464
|
* // description: "STRING_VALUE",
|
|
1234
1465
|
* // message: "STRING_VALUE",
|
|
1466
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1235
1467
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1236
1468
|
* // },
|
|
1237
1469
|
* // },
|
|
@@ -1292,7 +1524,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
1292
1524
|
* // {
|
|
1293
1525
|
* // id: "STRING_VALUE", // required
|
|
1294
1526
|
* // label: "STRING_VALUE", // required
|
|
1295
|
-
* // summary: "STRING_VALUE",
|
|
1296
1527
|
* // stage: "STRING_VALUE",
|
|
1297
1528
|
* // handler: {// Union: only one key present
|
|
1298
1529
|
* // conversation: {
|
|
@@ -1310,6 +1541,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1310
1541
|
* // kb: {
|
|
1311
1542
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
1312
1543
|
* // instructions: "STRING_VALUE",
|
|
1544
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1313
1545
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1314
1546
|
* // },
|
|
1315
1547
|
* // sandbox: {// Union: only one key present
|
|
@@ -1334,9 +1566,11 @@ declare const UpdateAgentCommand_base: {
|
|
|
1334
1566
|
* // city: "STRING_VALUE",
|
|
1335
1567
|
* // timezone: "STRING_VALUE",
|
|
1336
1568
|
* // },
|
|
1569
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1337
1570
|
* // },
|
|
1338
1571
|
* // webFetch: {
|
|
1339
1572
|
* // allowedDomains: "<DomainNameList>",
|
|
1573
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1340
1574
|
* // },
|
|
1341
1575
|
* // agent: "<AgentCallCapability>",
|
|
1342
1576
|
* // handover: "<AgentHandoverCapability>",
|
|
@@ -1344,6 +1578,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1344
1578
|
* // transfer: "<AgentTransferCapability>",
|
|
1345
1579
|
* // suggestions: {
|
|
1346
1580
|
* // name: "STRING_VALUE",
|
|
1581
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1347
1582
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1348
1583
|
* // },
|
|
1349
1584
|
* // hangup: "<AgentHangupCapability>",
|
|
@@ -1452,6 +1687,43 @@ declare const UpdateAgentCommand_base: {
|
|
|
1452
1687
|
* // layout: "flow" || "compact" || "stages",
|
|
1453
1688
|
* // },
|
|
1454
1689
|
* // },
|
|
1690
|
+
* // guardrails: { // AgentGuardrails
|
|
1691
|
+
* // input: { // AgentGuardrailInput
|
|
1692
|
+
* // checks: [ // AgentGuardrailChecksList
|
|
1693
|
+
* // { // AgentGuardrailCheck
|
|
1694
|
+
* // name: "STRING_VALUE", // required
|
|
1695
|
+
* // description: "STRING_VALUE",
|
|
1696
|
+
* // kind: { // AgentGuardrailCheckKind Union: only one key present
|
|
1697
|
+
* // preset: { // AgentGuardrailPresetCheck
|
|
1698
|
+
* // preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
|
|
1699
|
+
* // notes: "STRING_VALUE",
|
|
1700
|
+
* // },
|
|
1701
|
+
* // custom: { // AgentGuardrailCustomCheck
|
|
1702
|
+
* // instructions: "STRING_VALUE", // required
|
|
1703
|
+
* // examples: [ // AgentGuardrailExamplesList
|
|
1704
|
+
* // "STRING_VALUE",
|
|
1705
|
+
* // ],
|
|
1706
|
+
* // },
|
|
1707
|
+
* // },
|
|
1708
|
+
* // sensitivity: "low" || "medium" || "high",
|
|
1709
|
+
* // action: { // AgentGuardrailAction Union: only one key present
|
|
1710
|
+
* // observe: {},
|
|
1711
|
+
* // redact: {},
|
|
1712
|
+
* // block: { // AgentGuardrailBlockAction
|
|
1713
|
+
* // message: "STRING_VALUE",
|
|
1714
|
+
* // },
|
|
1715
|
+
* // end: { // AgentGuardrailEndAction
|
|
1716
|
+
* // message: "STRING_VALUE",
|
|
1717
|
+
* // },
|
|
1718
|
+
* // },
|
|
1719
|
+
* // },
|
|
1720
|
+
* // ],
|
|
1721
|
+
* // model: "STRING_VALUE",
|
|
1722
|
+
* // mode: "blocking" || "parallel",
|
|
1723
|
+
* // errorMode: "open" || "closed",
|
|
1724
|
+
* // window: "lastMessage" || "lastWithPrior",
|
|
1725
|
+
* // },
|
|
1726
|
+
* // },
|
|
1455
1727
|
* // model: "STRING_VALUE",
|
|
1456
1728
|
* // timeZone: "STRING_VALUE",
|
|
1457
1729
|
* // artifacts: true || false,
|
|
@@ -1480,9 +1752,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1480
1752
|
* // sqs: { // AgentSqsEngine
|
|
1481
1753
|
* // url: "STRING_VALUE", // required
|
|
1482
1754
|
* // key: "STRING_VALUE", // required
|
|
1483
|
-
* // secret:
|
|
1484
|
-
* // id: "STRING_VALUE", // required
|
|
1485
|
-
* // },
|
|
1755
|
+
* // secret: "<SecretRef>", // required
|
|
1486
1756
|
* // },
|
|
1487
1757
|
* // },
|
|
1488
1758
|
* // settings: { // AgentSettings
|