@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 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",
|
|
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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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
|
|
@@ -772,6 +907,61 @@ declare const CreateAgentCommand_base: {
|
|
|
772
907
|
* // channels: { // AgentChannels
|
|
773
908
|
* // voice: { // VoiceChannelSettings
|
|
774
909
|
* // greeting: "STRING_VALUE",
|
|
910
|
+
* // backgroundSound: "STRING_VALUE",
|
|
911
|
+
* // speech: { // VoiceSpeechSettings
|
|
912
|
+
* // provider: "elevenlabs" || "google" || "amazon_polly", // required
|
|
913
|
+
* // languages: [ // VoiceLanguageList // required
|
|
914
|
+
* // { // VoiceLanguage
|
|
915
|
+
* // code: "STRING_VALUE", // required
|
|
916
|
+
* // provider: "elevenlabs" || "google" || "amazon_polly",
|
|
917
|
+
* // voice: "STRING_VALUE", // required
|
|
918
|
+
* // greeting: "STRING_VALUE",
|
|
919
|
+
* // isDefault: true || false,
|
|
920
|
+
* // instructions: "STRING_VALUE",
|
|
921
|
+
* // synthesis: { // VoiceSynthesisOptions
|
|
922
|
+
* // model: "STRING_VALUE",
|
|
923
|
+
* // speed: Number("float"),
|
|
924
|
+
* // stability: Number("float"),
|
|
925
|
+
* // similarity: Number("float"),
|
|
926
|
+
* // style: Number("float"),
|
|
927
|
+
* // speakerBoost: true || false,
|
|
928
|
+
* // pitch: Number("float"),
|
|
929
|
+
* // volumeGain: Number("float"),
|
|
930
|
+
* // },
|
|
931
|
+
* // credential: { // SecretRef
|
|
932
|
+
* // id: "STRING_VALUE", // required
|
|
933
|
+
* // },
|
|
934
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
935
|
+
* // { // VoicePronunciation
|
|
936
|
+
* // phrase: "STRING_VALUE", // required
|
|
937
|
+
* // as: "STRING_VALUE", // required
|
|
938
|
+
* // encoding: "alias" || "ipa",
|
|
939
|
+
* // },
|
|
940
|
+
* // ],
|
|
941
|
+
* // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
|
|
942
|
+
* // "STRING_VALUE",
|
|
943
|
+
* // ],
|
|
944
|
+
* // },
|
|
945
|
+
* // ],
|
|
946
|
+
* // autoDetect: true || false,
|
|
947
|
+
* // greetEveryLanguage: true || false,
|
|
948
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
949
|
+
* // vendor: "aws",
|
|
950
|
+
* // },
|
|
951
|
+
* // synthesis: {
|
|
952
|
+
* // model: "STRING_VALUE",
|
|
953
|
+
* // speed: Number("float"),
|
|
954
|
+
* // stability: Number("float"),
|
|
955
|
+
* // similarity: Number("float"),
|
|
956
|
+
* // style: Number("float"),
|
|
957
|
+
* // speakerBoost: true || false,
|
|
958
|
+
* // pitch: Number("float"),
|
|
959
|
+
* // volumeGain: Number("float"),
|
|
960
|
+
* // },
|
|
961
|
+
* // credential: {
|
|
962
|
+
* // id: "STRING_VALUE", // required
|
|
963
|
+
* // },
|
|
964
|
+
* // },
|
|
775
965
|
* // interruptions: { // VoiceInterruptionSettings
|
|
776
966
|
* // enabled: true || false, // required
|
|
777
967
|
* // minWords: Number("int"),
|
|
@@ -821,8 +1011,21 @@ declare const CreateAgentCommand_base: {
|
|
|
821
1011
|
* // },
|
|
822
1012
|
* // assistant: { // AssistantChannelSettings
|
|
823
1013
|
* // default: true || false,
|
|
1014
|
+
* // ui: { // AssistantUiSettings
|
|
1015
|
+
* // welcome: { // AssistantWelcomeSettings
|
|
1016
|
+
* // title: "STRING_VALUE",
|
|
1017
|
+
* // subtitle: "STRING_VALUE",
|
|
1018
|
+
* // },
|
|
1019
|
+
* // commands: [ // AssistantQuickCommandsList
|
|
1020
|
+
* // { // AssistantQuickCommand
|
|
1021
|
+
* // title: "STRING_VALUE", // required
|
|
1022
|
+
* // description: "STRING_VALUE",
|
|
1023
|
+
* // prompt: "STRING_VALUE", // required
|
|
1024
|
+
* // },
|
|
1025
|
+
* // ],
|
|
1026
|
+
* // placeholder: "STRING_VALUE",
|
|
1027
|
+
* // },
|
|
824
1028
|
* // },
|
|
825
|
-
* // workflow: {},
|
|
826
1029
|
* // },
|
|
827
1030
|
* // engine: { // AgentEngine Union: only one key present
|
|
828
1031
|
* // ai: { // AgentAiEngine
|
|
@@ -833,7 +1036,6 @@ declare const CreateAgentCommand_base: {
|
|
|
833
1036
|
* // { // AgentWorkflowStep
|
|
834
1037
|
* // id: "STRING_VALUE", // required
|
|
835
1038
|
* // label: "STRING_VALUE", // required
|
|
836
|
-
* // summary: "STRING_VALUE",
|
|
837
1039
|
* // stage: "STRING_VALUE",
|
|
838
1040
|
* // handler: { // AgentWorkflowHandler Union: only one key present
|
|
839
1041
|
* // conversation: { // AgentWorkflowConversationHandler
|
|
@@ -874,6 +1076,9 @@ declare const CreateAgentCommand_base: {
|
|
|
874
1076
|
* // approval: { // AgentToolApproval
|
|
875
1077
|
* // prompt: "STRING_VALUE",
|
|
876
1078
|
* // },
|
|
1079
|
+
* // channels: [ // AgentCapabilityChannelsList
|
|
1080
|
+
* // "voice" || "chat" || "assistant",
|
|
1081
|
+
* // ],
|
|
877
1082
|
* // annotations: [ // AgentToolAnnotationsList
|
|
878
1083
|
* // { // AgentToolAnnotation Union: only one key present
|
|
879
1084
|
* // tag: { // AgentToolTagAnnotation
|
|
@@ -901,6 +1106,9 @@ declare const CreateAgentCommand_base: {
|
|
|
901
1106
|
* // approval: {
|
|
902
1107
|
* // prompt: "STRING_VALUE",
|
|
903
1108
|
* // },
|
|
1109
|
+
* // channels: [
|
|
1110
|
+
* // "voice" || "chat" || "assistant",
|
|
1111
|
+
* // ],
|
|
904
1112
|
* // annotations: [
|
|
905
1113
|
* // {// Union: only one key present
|
|
906
1114
|
* // tag: {
|
|
@@ -921,6 +1129,9 @@ declare const CreateAgentCommand_base: {
|
|
|
921
1129
|
* // kb: { // AgentKnowledgeBase
|
|
922
1130
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
923
1131
|
* // instructions: "STRING_VALUE",
|
|
1132
|
+
* // channels: [
|
|
1133
|
+
* // "voice" || "chat" || "assistant",
|
|
1134
|
+
* // ],
|
|
924
1135
|
* // annotations: [
|
|
925
1136
|
* // {// Union: only one key present
|
|
926
1137
|
* // tag: {
|
|
@@ -966,17 +1177,23 @@ declare const CreateAgentCommand_base: {
|
|
|
966
1177
|
* // city: "STRING_VALUE",
|
|
967
1178
|
* // timezone: "STRING_VALUE",
|
|
968
1179
|
* // },
|
|
1180
|
+
* // channels: [
|
|
1181
|
+
* // "voice" || "chat" || "assistant",
|
|
1182
|
+
* // ],
|
|
969
1183
|
* // },
|
|
970
1184
|
* // webFetch: { // AgentWebFetchCapability
|
|
971
1185
|
* // allowedDomains: [
|
|
972
1186
|
* // "STRING_VALUE",
|
|
973
1187
|
* // ],
|
|
1188
|
+
* // channels: [
|
|
1189
|
+
* // "voice" || "chat" || "assistant",
|
|
1190
|
+
* // ],
|
|
974
1191
|
* // },
|
|
975
1192
|
* // agent: { // AgentCallCapability
|
|
976
1193
|
* // agentId: "STRING_VALUE", // required
|
|
977
1194
|
* // agentVersion: Number("int"),
|
|
978
1195
|
* // access: { // AgentAccess
|
|
979
|
-
* // visibility: "explicit" || "organization",
|
|
1196
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
980
1197
|
* // grants: [ // AgentGrantPrincipalList
|
|
981
1198
|
* // { // AgentGrantPrincipal Union: only one key present
|
|
982
1199
|
* // userId: "STRING_VALUE",
|
|
@@ -998,6 +1215,7 @@ declare const CreateAgentCommand_base: {
|
|
|
998
1215
|
* // },
|
|
999
1216
|
* // },
|
|
1000
1217
|
* // ],
|
|
1218
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1001
1219
|
* // },
|
|
1002
1220
|
* // handover: { // AgentHandoverCapability
|
|
1003
1221
|
* // name: "STRING_VALUE",
|
|
@@ -1011,6 +1229,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1011
1229
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
1012
1230
|
* // instructions: "STRING_VALUE",
|
|
1013
1231
|
* // },
|
|
1232
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1014
1233
|
* // annotations: [
|
|
1015
1234
|
* // {// Union: only one key present
|
|
1016
1235
|
* // tag: {
|
|
@@ -1033,6 +1252,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1033
1252
|
* // description: "STRING_VALUE",
|
|
1034
1253
|
* // id: "STRING_VALUE", // required
|
|
1035
1254
|
* // agentVersion: Number("int"),
|
|
1255
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1036
1256
|
* // annotations: [
|
|
1037
1257
|
* // {// Union: only one key present
|
|
1038
1258
|
* // tag: {
|
|
@@ -1060,10 +1280,12 @@ declare const CreateAgentCommand_base: {
|
|
|
1060
1280
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
1061
1281
|
* // instructions: "STRING_VALUE",
|
|
1062
1282
|
* // },
|
|
1283
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1063
1284
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1064
1285
|
* // },
|
|
1065
1286
|
* // suggestions: { // AgentSuggestionsCapability
|
|
1066
1287
|
* // name: "STRING_VALUE",
|
|
1288
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1067
1289
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1068
1290
|
* // },
|
|
1069
1291
|
* // hangup: { // AgentHangupCapability
|
|
@@ -1073,12 +1295,14 @@ declare const CreateAgentCommand_base: {
|
|
|
1073
1295
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
1074
1296
|
* // instructions: "STRING_VALUE",
|
|
1075
1297
|
* // },
|
|
1298
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1076
1299
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1077
1300
|
* // },
|
|
1078
1301
|
* // wait: { // AgentWaitCapability
|
|
1079
1302
|
* // name: "STRING_VALUE",
|
|
1080
1303
|
* // description: "STRING_VALUE",
|
|
1081
1304
|
* // message: "STRING_VALUE",
|
|
1305
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1082
1306
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1083
1307
|
* // },
|
|
1084
1308
|
* // },
|
|
@@ -1143,6 +1367,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1143
1367
|
* // approval: {
|
|
1144
1368
|
* // prompt: "STRING_VALUE",
|
|
1145
1369
|
* // },
|
|
1370
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1146
1371
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1147
1372
|
* // },
|
|
1148
1373
|
* // connector: {
|
|
@@ -1155,13 +1380,14 @@ declare const CreateAgentCommand_base: {
|
|
|
1155
1380
|
* // approval: {
|
|
1156
1381
|
* // prompt: "STRING_VALUE",
|
|
1157
1382
|
* // },
|
|
1383
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1158
1384
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1159
1385
|
* // },
|
|
1160
1386
|
* // agent: {
|
|
1161
1387
|
* // agentId: "STRING_VALUE", // required
|
|
1162
1388
|
* // agentVersion: Number("int"),
|
|
1163
1389
|
* // access: {
|
|
1164
|
-
* // visibility: "explicit" || "organization",
|
|
1390
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
1165
1391
|
* // grants: [
|
|
1166
1392
|
* // {// Union: only one key present
|
|
1167
1393
|
* // userId: "STRING_VALUE",
|
|
@@ -1183,6 +1409,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1183
1409
|
* // },
|
|
1184
1410
|
* // },
|
|
1185
1411
|
* // ],
|
|
1412
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1186
1413
|
* // },
|
|
1187
1414
|
* // handover: {
|
|
1188
1415
|
* // name: "STRING_VALUE",
|
|
@@ -1196,6 +1423,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1196
1423
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
1197
1424
|
* // instructions: "STRING_VALUE",
|
|
1198
1425
|
* // },
|
|
1426
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1199
1427
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1200
1428
|
* // },
|
|
1201
1429
|
* // delegation: {
|
|
@@ -1203,6 +1431,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1203
1431
|
* // description: "STRING_VALUE",
|
|
1204
1432
|
* // id: "STRING_VALUE", // required
|
|
1205
1433
|
* // agentVersion: Number("int"),
|
|
1434
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1206
1435
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1207
1436
|
* // },
|
|
1208
1437
|
* // transfer: {
|
|
@@ -1215,6 +1444,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1215
1444
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
1216
1445
|
* // instructions: "STRING_VALUE",
|
|
1217
1446
|
* // },
|
|
1447
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1218
1448
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1219
1449
|
* // },
|
|
1220
1450
|
* // hangup: {
|
|
@@ -1224,12 +1454,14 @@ declare const CreateAgentCommand_base: {
|
|
|
1224
1454
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
1225
1455
|
* // instructions: "STRING_VALUE",
|
|
1226
1456
|
* // },
|
|
1457
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1227
1458
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1228
1459
|
* // },
|
|
1229
1460
|
* // wait: {
|
|
1230
1461
|
* // name: "STRING_VALUE",
|
|
1231
1462
|
* // description: "STRING_VALUE",
|
|
1232
1463
|
* // message: "STRING_VALUE",
|
|
1464
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1233
1465
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1234
1466
|
* // },
|
|
1235
1467
|
* // },
|
|
@@ -1290,7 +1522,6 @@ declare const CreateAgentCommand_base: {
|
|
|
1290
1522
|
* // {
|
|
1291
1523
|
* // id: "STRING_VALUE", // required
|
|
1292
1524
|
* // label: "STRING_VALUE", // required
|
|
1293
|
-
* // summary: "STRING_VALUE",
|
|
1294
1525
|
* // stage: "STRING_VALUE",
|
|
1295
1526
|
* // handler: {// Union: only one key present
|
|
1296
1527
|
* // conversation: {
|
|
@@ -1308,6 +1539,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1308
1539
|
* // kb: {
|
|
1309
1540
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
1310
1541
|
* // instructions: "STRING_VALUE",
|
|
1542
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1311
1543
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1312
1544
|
* // },
|
|
1313
1545
|
* // sandbox: {// Union: only one key present
|
|
@@ -1332,9 +1564,11 @@ declare const CreateAgentCommand_base: {
|
|
|
1332
1564
|
* // city: "STRING_VALUE",
|
|
1333
1565
|
* // timezone: "STRING_VALUE",
|
|
1334
1566
|
* // },
|
|
1567
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1335
1568
|
* // },
|
|
1336
1569
|
* // webFetch: {
|
|
1337
1570
|
* // allowedDomains: "<DomainNameList>",
|
|
1571
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1338
1572
|
* // },
|
|
1339
1573
|
* // agent: "<AgentCallCapability>",
|
|
1340
1574
|
* // handover: "<AgentHandoverCapability>",
|
|
@@ -1342,6 +1576,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1342
1576
|
* // transfer: "<AgentTransferCapability>",
|
|
1343
1577
|
* // suggestions: {
|
|
1344
1578
|
* // name: "STRING_VALUE",
|
|
1579
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1345
1580
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1346
1581
|
* // },
|
|
1347
1582
|
* // hangup: "<AgentHangupCapability>",
|
|
@@ -1450,6 +1685,43 @@ declare const CreateAgentCommand_base: {
|
|
|
1450
1685
|
* // layout: "flow" || "compact" || "stages",
|
|
1451
1686
|
* // },
|
|
1452
1687
|
* // },
|
|
1688
|
+
* // guardrails: { // AgentGuardrails
|
|
1689
|
+
* // input: { // AgentGuardrailInput
|
|
1690
|
+
* // checks: [ // AgentGuardrailChecksList
|
|
1691
|
+
* // { // AgentGuardrailCheck
|
|
1692
|
+
* // name: "STRING_VALUE", // required
|
|
1693
|
+
* // description: "STRING_VALUE",
|
|
1694
|
+
* // kind: { // AgentGuardrailCheckKind Union: only one key present
|
|
1695
|
+
* // preset: { // AgentGuardrailPresetCheck
|
|
1696
|
+
* // preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
|
|
1697
|
+
* // notes: "STRING_VALUE",
|
|
1698
|
+
* // },
|
|
1699
|
+
* // custom: { // AgentGuardrailCustomCheck
|
|
1700
|
+
* // instructions: "STRING_VALUE", // required
|
|
1701
|
+
* // examples: [ // AgentGuardrailExamplesList
|
|
1702
|
+
* // "STRING_VALUE",
|
|
1703
|
+
* // ],
|
|
1704
|
+
* // },
|
|
1705
|
+
* // },
|
|
1706
|
+
* // sensitivity: "low" || "medium" || "high",
|
|
1707
|
+
* // action: { // AgentGuardrailAction Union: only one key present
|
|
1708
|
+
* // observe: {},
|
|
1709
|
+
* // redact: {},
|
|
1710
|
+
* // block: { // AgentGuardrailBlockAction
|
|
1711
|
+
* // message: "STRING_VALUE",
|
|
1712
|
+
* // },
|
|
1713
|
+
* // end: { // AgentGuardrailEndAction
|
|
1714
|
+
* // message: "STRING_VALUE",
|
|
1715
|
+
* // },
|
|
1716
|
+
* // },
|
|
1717
|
+
* // },
|
|
1718
|
+
* // ],
|
|
1719
|
+
* // model: "STRING_VALUE",
|
|
1720
|
+
* // mode: "blocking" || "parallel",
|
|
1721
|
+
* // errorMode: "open" || "closed",
|
|
1722
|
+
* // window: "lastMessage" || "lastWithPrior",
|
|
1723
|
+
* // },
|
|
1724
|
+
* // },
|
|
1453
1725
|
* // model: "STRING_VALUE",
|
|
1454
1726
|
* // timeZone: "STRING_VALUE",
|
|
1455
1727
|
* // artifacts: true || false,
|
|
@@ -1478,9 +1750,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1478
1750
|
* // sqs: { // AgentSqsEngine
|
|
1479
1751
|
* // url: "STRING_VALUE", // required
|
|
1480
1752
|
* // key: "STRING_VALUE", // required
|
|
1481
|
-
* // secret:
|
|
1482
|
-
* // id: "STRING_VALUE", // required
|
|
1483
|
-
* // },
|
|
1753
|
+
* // secret: "<SecretRef>", // required
|
|
1484
1754
|
* // },
|
|
1485
1755
|
* // },
|
|
1486
1756
|
* // settings: { // AgentSettings
|