@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
|
@@ -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,6 +148,20 @@ 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
166
|
* workflow: {},
|
|
98
167
|
* },
|
|
@@ -145,6 +214,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
145
214
|
* approval: { // AgentToolApproval
|
|
146
215
|
* prompt: "STRING_VALUE",
|
|
147
216
|
* },
|
|
217
|
+
* channels: [ // AgentCapabilityChannelsList
|
|
218
|
+
* "voice" || "chat" || "assistant" || "workflow",
|
|
219
|
+
* ],
|
|
148
220
|
* annotations: [ // AgentToolAnnotationsList
|
|
149
221
|
* { // AgentToolAnnotation Union: only one key present
|
|
150
222
|
* tag: { // AgentToolTagAnnotation
|
|
@@ -172,6 +244,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
172
244
|
* approval: {
|
|
173
245
|
* prompt: "STRING_VALUE",
|
|
174
246
|
* },
|
|
247
|
+
* channels: [
|
|
248
|
+
* "voice" || "chat" || "assistant" || "workflow",
|
|
249
|
+
* ],
|
|
175
250
|
* annotations: [
|
|
176
251
|
* {// Union: only one key present
|
|
177
252
|
* tag: {
|
|
@@ -192,6 +267,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
192
267
|
* kb: { // AgentKnowledgeBase
|
|
193
268
|
* knowledgeBaseId: "STRING_VALUE",
|
|
194
269
|
* instructions: "STRING_VALUE",
|
|
270
|
+
* channels: [
|
|
271
|
+
* "voice" || "chat" || "assistant" || "workflow",
|
|
272
|
+
* ],
|
|
195
273
|
* annotations: [
|
|
196
274
|
* {// Union: only one key present
|
|
197
275
|
* tag: {
|
|
@@ -237,17 +315,23 @@ declare const UpdateAgentCommand_base: {
|
|
|
237
315
|
* city: "STRING_VALUE",
|
|
238
316
|
* timezone: "STRING_VALUE",
|
|
239
317
|
* },
|
|
318
|
+
* channels: [
|
|
319
|
+
* "voice" || "chat" || "assistant" || "workflow",
|
|
320
|
+
* ],
|
|
240
321
|
* },
|
|
241
322
|
* webFetch: { // AgentWebFetchCapability
|
|
242
323
|
* allowedDomains: [
|
|
243
324
|
* "STRING_VALUE",
|
|
244
325
|
* ],
|
|
326
|
+
* channels: [
|
|
327
|
+
* "voice" || "chat" || "assistant" || "workflow",
|
|
328
|
+
* ],
|
|
245
329
|
* },
|
|
246
330
|
* agent: { // AgentCallCapability
|
|
247
331
|
* agentId: "STRING_VALUE", // required
|
|
248
332
|
* agentVersion: Number("int"),
|
|
249
333
|
* access: { // AgentAccess
|
|
250
|
-
* visibility: "explicit" || "organization",
|
|
334
|
+
* visibility: "explicit" || "organization" || "public",
|
|
251
335
|
* grants: [ // AgentGrantPrincipalList
|
|
252
336
|
* { // AgentGrantPrincipal Union: only one key present
|
|
253
337
|
* userId: "STRING_VALUE",
|
|
@@ -269,6 +353,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
269
353
|
* },
|
|
270
354
|
* },
|
|
271
355
|
* ],
|
|
356
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
272
357
|
* },
|
|
273
358
|
* handover: { // AgentHandoverCapability
|
|
274
359
|
* name: "STRING_VALUE",
|
|
@@ -282,6 +367,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
282
367
|
* type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
283
368
|
* instructions: "STRING_VALUE",
|
|
284
369
|
* },
|
|
370
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
285
371
|
* annotations: [
|
|
286
372
|
* {// Union: only one key present
|
|
287
373
|
* tag: {
|
|
@@ -304,6 +390,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
304
390
|
* description: "STRING_VALUE",
|
|
305
391
|
* id: "STRING_VALUE", // required
|
|
306
392
|
* agentVersion: Number("int"),
|
|
393
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
307
394
|
* annotations: [
|
|
308
395
|
* {// Union: only one key present
|
|
309
396
|
* tag: {
|
|
@@ -331,10 +418,12 @@ declare const UpdateAgentCommand_base: {
|
|
|
331
418
|
* type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
332
419
|
* instructions: "STRING_VALUE",
|
|
333
420
|
* },
|
|
421
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
334
422
|
* annotations: "<AgentToolAnnotationsList>",
|
|
335
423
|
* },
|
|
336
424
|
* suggestions: { // AgentSuggestionsCapability
|
|
337
425
|
* name: "STRING_VALUE",
|
|
426
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
338
427
|
* annotations: "<AgentToolAnnotationsList>",
|
|
339
428
|
* },
|
|
340
429
|
* hangup: { // AgentHangupCapability
|
|
@@ -344,12 +433,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
344
433
|
* type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
345
434
|
* instructions: "STRING_VALUE",
|
|
346
435
|
* },
|
|
436
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
347
437
|
* annotations: "<AgentToolAnnotationsList>",
|
|
348
438
|
* },
|
|
349
439
|
* wait: { // AgentWaitCapability
|
|
350
440
|
* name: "STRING_VALUE",
|
|
351
441
|
* description: "STRING_VALUE",
|
|
352
442
|
* message: "STRING_VALUE",
|
|
443
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
353
444
|
* annotations: "<AgentToolAnnotationsList>",
|
|
354
445
|
* },
|
|
355
446
|
* },
|
|
@@ -414,6 +505,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
414
505
|
* approval: {
|
|
415
506
|
* prompt: "STRING_VALUE",
|
|
416
507
|
* },
|
|
508
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
417
509
|
* annotations: "<AgentToolAnnotationsList>",
|
|
418
510
|
* },
|
|
419
511
|
* connector: {
|
|
@@ -426,13 +518,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
426
518
|
* approval: {
|
|
427
519
|
* prompt: "STRING_VALUE",
|
|
428
520
|
* },
|
|
521
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
429
522
|
* annotations: "<AgentToolAnnotationsList>",
|
|
430
523
|
* },
|
|
431
524
|
* agent: {
|
|
432
525
|
* agentId: "STRING_VALUE", // required
|
|
433
526
|
* agentVersion: Number("int"),
|
|
434
527
|
* access: {
|
|
435
|
-
* visibility: "explicit" || "organization",
|
|
528
|
+
* visibility: "explicit" || "organization" || "public",
|
|
436
529
|
* grants: [
|
|
437
530
|
* {// Union: only one key present
|
|
438
531
|
* userId: "STRING_VALUE",
|
|
@@ -454,6 +547,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
454
547
|
* },
|
|
455
548
|
* },
|
|
456
549
|
* ],
|
|
550
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
457
551
|
* },
|
|
458
552
|
* handover: {
|
|
459
553
|
* name: "STRING_VALUE",
|
|
@@ -467,6 +561,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
467
561
|
* type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
468
562
|
* instructions: "STRING_VALUE",
|
|
469
563
|
* },
|
|
564
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
470
565
|
* annotations: "<AgentToolAnnotationsList>",
|
|
471
566
|
* },
|
|
472
567
|
* delegation: {
|
|
@@ -474,6 +569,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
474
569
|
* description: "STRING_VALUE",
|
|
475
570
|
* id: "STRING_VALUE", // required
|
|
476
571
|
* agentVersion: Number("int"),
|
|
572
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
477
573
|
* annotations: "<AgentToolAnnotationsList>",
|
|
478
574
|
* },
|
|
479
575
|
* transfer: {
|
|
@@ -486,6 +582,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
486
582
|
* type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
487
583
|
* instructions: "STRING_VALUE",
|
|
488
584
|
* },
|
|
585
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
489
586
|
* annotations: "<AgentToolAnnotationsList>",
|
|
490
587
|
* },
|
|
491
588
|
* hangup: {
|
|
@@ -495,12 +592,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
495
592
|
* type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
496
593
|
* instructions: "STRING_VALUE",
|
|
497
594
|
* },
|
|
595
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
498
596
|
* annotations: "<AgentToolAnnotationsList>",
|
|
499
597
|
* },
|
|
500
598
|
* wait: {
|
|
501
599
|
* name: "STRING_VALUE",
|
|
502
600
|
* description: "STRING_VALUE",
|
|
503
601
|
* message: "STRING_VALUE",
|
|
602
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
504
603
|
* annotations: "<AgentToolAnnotationsList>",
|
|
505
604
|
* },
|
|
506
605
|
* },
|
|
@@ -578,6 +677,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
578
677
|
* kb: {
|
|
579
678
|
* knowledgeBaseId: "STRING_VALUE",
|
|
580
679
|
* instructions: "STRING_VALUE",
|
|
680
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
581
681
|
* annotations: "<AgentToolAnnotationsList>",
|
|
582
682
|
* },
|
|
583
683
|
* sandbox: {// Union: only one key present
|
|
@@ -602,9 +702,11 @@ declare const UpdateAgentCommand_base: {
|
|
|
602
702
|
* city: "STRING_VALUE",
|
|
603
703
|
* timezone: "STRING_VALUE",
|
|
604
704
|
* },
|
|
705
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
605
706
|
* },
|
|
606
707
|
* webFetch: {
|
|
607
708
|
* allowedDomains: "<DomainNameList>",
|
|
709
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
608
710
|
* },
|
|
609
711
|
* agent: "<AgentCallCapability>",
|
|
610
712
|
* handover: "<AgentHandoverCapability>",
|
|
@@ -612,6 +714,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
612
714
|
* transfer: "<AgentTransferCapability>",
|
|
613
715
|
* suggestions: {
|
|
614
716
|
* name: "STRING_VALUE",
|
|
717
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
615
718
|
* annotations: "<AgentToolAnnotationsList>",
|
|
616
719
|
* },
|
|
617
720
|
* hangup: "<AgentHangupCapability>",
|
|
@@ -752,16 +855,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
752
855
|
* },
|
|
753
856
|
* ],
|
|
754
857
|
* model: "STRING_VALUE",
|
|
755
|
-
* action: {// Union: only one key present
|
|
756
|
-
* observe: {},
|
|
757
|
-
* redact: {},
|
|
758
|
-
* block: {
|
|
759
|
-
* message: "STRING_VALUE",
|
|
760
|
-
* },
|
|
761
|
-
* end: {
|
|
762
|
-
* message: "STRING_VALUE",
|
|
763
|
-
* },
|
|
764
|
-
* },
|
|
765
858
|
* mode: "blocking" || "parallel",
|
|
766
859
|
* errorMode: "open" || "closed",
|
|
767
860
|
* window: "lastMessage" || "lastWithPrior",
|
|
@@ -795,9 +888,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
795
888
|
* sqs: { // AgentSqsEngine
|
|
796
889
|
* url: "STRING_VALUE", // required
|
|
797
890
|
* key: "STRING_VALUE", // required
|
|
798
|
-
* secret:
|
|
799
|
-
* id: "STRING_VALUE", // required
|
|
800
|
-
* },
|
|
891
|
+
* secret: "<SecretRef>", // required
|
|
801
892
|
* },
|
|
802
893
|
* },
|
|
803
894
|
* settings: { // AgentSettings
|
|
@@ -819,6 +910,61 @@ declare const UpdateAgentCommand_base: {
|
|
|
819
910
|
* // channels: { // AgentChannels
|
|
820
911
|
* // voice: { // VoiceChannelSettings
|
|
821
912
|
* // greeting: "STRING_VALUE",
|
|
913
|
+
* // backgroundSound: "STRING_VALUE",
|
|
914
|
+
* // speech: { // VoiceSpeechSettings
|
|
915
|
+
* // provider: "elevenlabs" || "google" || "amazon_polly", // required
|
|
916
|
+
* // languages: [ // VoiceLanguageList // required
|
|
917
|
+
* // { // VoiceLanguage
|
|
918
|
+
* // code: "STRING_VALUE", // required
|
|
919
|
+
* // provider: "elevenlabs" || "google" || "amazon_polly",
|
|
920
|
+
* // voice: "STRING_VALUE", // required
|
|
921
|
+
* // greeting: "STRING_VALUE",
|
|
922
|
+
* // isDefault: true || false,
|
|
923
|
+
* // instructions: "STRING_VALUE",
|
|
924
|
+
* // synthesis: { // VoiceSynthesisOptions
|
|
925
|
+
* // model: "STRING_VALUE",
|
|
926
|
+
* // speed: Number("float"),
|
|
927
|
+
* // stability: Number("float"),
|
|
928
|
+
* // similarity: Number("float"),
|
|
929
|
+
* // style: Number("float"),
|
|
930
|
+
* // speakerBoost: true || false,
|
|
931
|
+
* // pitch: Number("float"),
|
|
932
|
+
* // volumeGain: Number("float"),
|
|
933
|
+
* // },
|
|
934
|
+
* // credential: { // SecretRef
|
|
935
|
+
* // id: "STRING_VALUE", // required
|
|
936
|
+
* // },
|
|
937
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
938
|
+
* // { // VoicePronunciation
|
|
939
|
+
* // phrase: "STRING_VALUE", // required
|
|
940
|
+
* // as: "STRING_VALUE", // required
|
|
941
|
+
* // encoding: "alias" || "ipa",
|
|
942
|
+
* // },
|
|
943
|
+
* // ],
|
|
944
|
+
* // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
|
|
945
|
+
* // "STRING_VALUE",
|
|
946
|
+
* // ],
|
|
947
|
+
* // },
|
|
948
|
+
* // ],
|
|
949
|
+
* // autoDetect: true || false,
|
|
950
|
+
* // greetEveryLanguage: true || false,
|
|
951
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
952
|
+
* // vendor: "aws",
|
|
953
|
+
* // },
|
|
954
|
+
* // synthesis: {
|
|
955
|
+
* // model: "STRING_VALUE",
|
|
956
|
+
* // speed: Number("float"),
|
|
957
|
+
* // stability: Number("float"),
|
|
958
|
+
* // similarity: Number("float"),
|
|
959
|
+
* // style: Number("float"),
|
|
960
|
+
* // speakerBoost: true || false,
|
|
961
|
+
* // pitch: Number("float"),
|
|
962
|
+
* // volumeGain: Number("float"),
|
|
963
|
+
* // },
|
|
964
|
+
* // credential: {
|
|
965
|
+
* // id: "STRING_VALUE", // required
|
|
966
|
+
* // },
|
|
967
|
+
* // },
|
|
822
968
|
* // interruptions: { // VoiceInterruptionSettings
|
|
823
969
|
* // enabled: true || false, // required
|
|
824
970
|
* // minWords: Number("int"),
|
|
@@ -868,6 +1014,20 @@ declare const UpdateAgentCommand_base: {
|
|
|
868
1014
|
* // },
|
|
869
1015
|
* // assistant: { // AssistantChannelSettings
|
|
870
1016
|
* // default: true || false,
|
|
1017
|
+
* // ui: { // AssistantUiSettings
|
|
1018
|
+
* // welcome: { // AssistantWelcomeSettings
|
|
1019
|
+
* // title: "STRING_VALUE",
|
|
1020
|
+
* // subtitle: "STRING_VALUE",
|
|
1021
|
+
* // },
|
|
1022
|
+
* // commands: [ // AssistantQuickCommandsList
|
|
1023
|
+
* // { // AssistantQuickCommand
|
|
1024
|
+
* // title: "STRING_VALUE", // required
|
|
1025
|
+
* // description: "STRING_VALUE",
|
|
1026
|
+
* // prompt: "STRING_VALUE", // required
|
|
1027
|
+
* // },
|
|
1028
|
+
* // ],
|
|
1029
|
+
* // placeholder: "STRING_VALUE",
|
|
1030
|
+
* // },
|
|
871
1031
|
* // },
|
|
872
1032
|
* // workflow: {},
|
|
873
1033
|
* // },
|
|
@@ -920,6 +1080,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
920
1080
|
* // approval: { // AgentToolApproval
|
|
921
1081
|
* // prompt: "STRING_VALUE",
|
|
922
1082
|
* // },
|
|
1083
|
+
* // channels: [ // AgentCapabilityChannelsList
|
|
1084
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
1085
|
+
* // ],
|
|
923
1086
|
* // annotations: [ // AgentToolAnnotationsList
|
|
924
1087
|
* // { // AgentToolAnnotation Union: only one key present
|
|
925
1088
|
* // tag: { // AgentToolTagAnnotation
|
|
@@ -947,6 +1110,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
947
1110
|
* // approval: {
|
|
948
1111
|
* // prompt: "STRING_VALUE",
|
|
949
1112
|
* // },
|
|
1113
|
+
* // channels: [
|
|
1114
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
1115
|
+
* // ],
|
|
950
1116
|
* // annotations: [
|
|
951
1117
|
* // {// Union: only one key present
|
|
952
1118
|
* // tag: {
|
|
@@ -967,6 +1133,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
967
1133
|
* // kb: { // AgentKnowledgeBase
|
|
968
1134
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
969
1135
|
* // instructions: "STRING_VALUE",
|
|
1136
|
+
* // channels: [
|
|
1137
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
1138
|
+
* // ],
|
|
970
1139
|
* // annotations: [
|
|
971
1140
|
* // {// Union: only one key present
|
|
972
1141
|
* // tag: {
|
|
@@ -1012,17 +1181,23 @@ declare const UpdateAgentCommand_base: {
|
|
|
1012
1181
|
* // city: "STRING_VALUE",
|
|
1013
1182
|
* // timezone: "STRING_VALUE",
|
|
1014
1183
|
* // },
|
|
1184
|
+
* // channels: [
|
|
1185
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
1186
|
+
* // ],
|
|
1015
1187
|
* // },
|
|
1016
1188
|
* // webFetch: { // AgentWebFetchCapability
|
|
1017
1189
|
* // allowedDomains: [
|
|
1018
1190
|
* // "STRING_VALUE",
|
|
1019
1191
|
* // ],
|
|
1192
|
+
* // channels: [
|
|
1193
|
+
* // "voice" || "chat" || "assistant" || "workflow",
|
|
1194
|
+
* // ],
|
|
1020
1195
|
* // },
|
|
1021
1196
|
* // agent: { // AgentCallCapability
|
|
1022
1197
|
* // agentId: "STRING_VALUE", // required
|
|
1023
1198
|
* // agentVersion: Number("int"),
|
|
1024
1199
|
* // access: { // AgentAccess
|
|
1025
|
-
* // visibility: "explicit" || "organization",
|
|
1200
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
1026
1201
|
* // grants: [ // AgentGrantPrincipalList
|
|
1027
1202
|
* // { // AgentGrantPrincipal Union: only one key present
|
|
1028
1203
|
* // userId: "STRING_VALUE",
|
|
@@ -1044,6 +1219,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1044
1219
|
* // },
|
|
1045
1220
|
* // },
|
|
1046
1221
|
* // ],
|
|
1222
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1047
1223
|
* // },
|
|
1048
1224
|
* // handover: { // AgentHandoverCapability
|
|
1049
1225
|
* // name: "STRING_VALUE",
|
|
@@ -1057,6 +1233,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1057
1233
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
1058
1234
|
* // instructions: "STRING_VALUE",
|
|
1059
1235
|
* // },
|
|
1236
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1060
1237
|
* // annotations: [
|
|
1061
1238
|
* // {// Union: only one key present
|
|
1062
1239
|
* // tag: {
|
|
@@ -1079,6 +1256,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1079
1256
|
* // description: "STRING_VALUE",
|
|
1080
1257
|
* // id: "STRING_VALUE", // required
|
|
1081
1258
|
* // agentVersion: Number("int"),
|
|
1259
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1082
1260
|
* // annotations: [
|
|
1083
1261
|
* // {// Union: only one key present
|
|
1084
1262
|
* // tag: {
|
|
@@ -1106,10 +1284,12 @@ declare const UpdateAgentCommand_base: {
|
|
|
1106
1284
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
1107
1285
|
* // instructions: "STRING_VALUE",
|
|
1108
1286
|
* // },
|
|
1287
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1109
1288
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1110
1289
|
* // },
|
|
1111
1290
|
* // suggestions: { // AgentSuggestionsCapability
|
|
1112
1291
|
* // name: "STRING_VALUE",
|
|
1292
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1113
1293
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1114
1294
|
* // },
|
|
1115
1295
|
* // hangup: { // AgentHangupCapability
|
|
@@ -1119,12 +1299,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
1119
1299
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
1120
1300
|
* // instructions: "STRING_VALUE",
|
|
1121
1301
|
* // },
|
|
1302
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1122
1303
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1123
1304
|
* // },
|
|
1124
1305
|
* // wait: { // AgentWaitCapability
|
|
1125
1306
|
* // name: "STRING_VALUE",
|
|
1126
1307
|
* // description: "STRING_VALUE",
|
|
1127
1308
|
* // message: "STRING_VALUE",
|
|
1309
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1128
1310
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1129
1311
|
* // },
|
|
1130
1312
|
* // },
|
|
@@ -1189,6 +1371,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1189
1371
|
* // approval: {
|
|
1190
1372
|
* // prompt: "STRING_VALUE",
|
|
1191
1373
|
* // },
|
|
1374
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1192
1375
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1193
1376
|
* // },
|
|
1194
1377
|
* // connector: {
|
|
@@ -1201,13 +1384,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
1201
1384
|
* // approval: {
|
|
1202
1385
|
* // prompt: "STRING_VALUE",
|
|
1203
1386
|
* // },
|
|
1387
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1204
1388
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1205
1389
|
* // },
|
|
1206
1390
|
* // agent: {
|
|
1207
1391
|
* // agentId: "STRING_VALUE", // required
|
|
1208
1392
|
* // agentVersion: Number("int"),
|
|
1209
1393
|
* // access: {
|
|
1210
|
-
* // visibility: "explicit" || "organization",
|
|
1394
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
1211
1395
|
* // grants: [
|
|
1212
1396
|
* // {// Union: only one key present
|
|
1213
1397
|
* // userId: "STRING_VALUE",
|
|
@@ -1229,6 +1413,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1229
1413
|
* // },
|
|
1230
1414
|
* // },
|
|
1231
1415
|
* // ],
|
|
1416
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1232
1417
|
* // },
|
|
1233
1418
|
* // handover: {
|
|
1234
1419
|
* // name: "STRING_VALUE",
|
|
@@ -1242,6 +1427,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1242
1427
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
1243
1428
|
* // instructions: "STRING_VALUE",
|
|
1244
1429
|
* // },
|
|
1430
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1245
1431
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1246
1432
|
* // },
|
|
1247
1433
|
* // delegation: {
|
|
@@ -1249,6 +1435,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1249
1435
|
* // description: "STRING_VALUE",
|
|
1250
1436
|
* // id: "STRING_VALUE", // required
|
|
1251
1437
|
* // agentVersion: Number("int"),
|
|
1438
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1252
1439
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1253
1440
|
* // },
|
|
1254
1441
|
* // transfer: {
|
|
@@ -1261,6 +1448,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1261
1448
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
1262
1449
|
* // instructions: "STRING_VALUE",
|
|
1263
1450
|
* // },
|
|
1451
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1264
1452
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1265
1453
|
* // },
|
|
1266
1454
|
* // hangup: {
|
|
@@ -1270,12 +1458,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
1270
1458
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
1271
1459
|
* // instructions: "STRING_VALUE",
|
|
1272
1460
|
* // },
|
|
1461
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1273
1462
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1274
1463
|
* // },
|
|
1275
1464
|
* // wait: {
|
|
1276
1465
|
* // name: "STRING_VALUE",
|
|
1277
1466
|
* // description: "STRING_VALUE",
|
|
1278
1467
|
* // message: "STRING_VALUE",
|
|
1468
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1279
1469
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1280
1470
|
* // },
|
|
1281
1471
|
* // },
|
|
@@ -1353,6 +1543,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1353
1543
|
* // kb: {
|
|
1354
1544
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
1355
1545
|
* // instructions: "STRING_VALUE",
|
|
1546
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1356
1547
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1357
1548
|
* // },
|
|
1358
1549
|
* // sandbox: {// Union: only one key present
|
|
@@ -1377,9 +1568,11 @@ declare const UpdateAgentCommand_base: {
|
|
|
1377
1568
|
* // city: "STRING_VALUE",
|
|
1378
1569
|
* // timezone: "STRING_VALUE",
|
|
1379
1570
|
* // },
|
|
1571
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1380
1572
|
* // },
|
|
1381
1573
|
* // webFetch: {
|
|
1382
1574
|
* // allowedDomains: "<DomainNameList>",
|
|
1575
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1383
1576
|
* // },
|
|
1384
1577
|
* // agent: "<AgentCallCapability>",
|
|
1385
1578
|
* // handover: "<AgentHandoverCapability>",
|
|
@@ -1387,6 +1580,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1387
1580
|
* // transfer: "<AgentTransferCapability>",
|
|
1388
1581
|
* // suggestions: {
|
|
1389
1582
|
* // name: "STRING_VALUE",
|
|
1583
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1390
1584
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1391
1585
|
* // },
|
|
1392
1586
|
* // hangup: "<AgentHangupCapability>",
|
|
@@ -1527,16 +1721,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
1527
1721
|
* // },
|
|
1528
1722
|
* // ],
|
|
1529
1723
|
* // model: "STRING_VALUE",
|
|
1530
|
-
* // action: {// Union: only one key present
|
|
1531
|
-
* // observe: {},
|
|
1532
|
-
* // redact: {},
|
|
1533
|
-
* // block: {
|
|
1534
|
-
* // message: "STRING_VALUE",
|
|
1535
|
-
* // },
|
|
1536
|
-
* // end: {
|
|
1537
|
-
* // message: "STRING_VALUE",
|
|
1538
|
-
* // },
|
|
1539
|
-
* // },
|
|
1540
1724
|
* // mode: "blocking" || "parallel",
|
|
1541
1725
|
* // errorMode: "open" || "closed",
|
|
1542
1726
|
* // window: "lastMessage" || "lastWithPrior",
|
|
@@ -1570,9 +1754,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1570
1754
|
* // sqs: { // AgentSqsEngine
|
|
1571
1755
|
* // url: "STRING_VALUE", // required
|
|
1572
1756
|
* // key: "STRING_VALUE", // required
|
|
1573
|
-
* // secret:
|
|
1574
|
-
* // id: "STRING_VALUE", // required
|
|
1575
|
-
* // },
|
|
1757
|
+
* // secret: "<SecretRef>", // required
|
|
1576
1758
|
* // },
|
|
1577
1759
|
* // },
|
|
1578
1760
|
* // settings: { // AgentSettings
|
|
@@ -3,6 +3,7 @@ export * from "./CreateAgentApiKeyCommand";
|
|
|
3
3
|
export * from "./CreateAgentCommand";
|
|
4
4
|
export * from "./DeleteAgentApiKeyCommand";
|
|
5
5
|
export * from "./DeleteAgentCommand";
|
|
6
|
+
export * from "./DeletePronunciationDictionaryCommand";
|
|
6
7
|
export * from "./GetAgentCommand";
|
|
7
8
|
export * from "./GetAgentDeploymentCommand";
|
|
8
9
|
export * from "./GetAgentVersionCommand";
|
|
@@ -10,8 +11,10 @@ export * from "./ListAgentApiKeysCommand";
|
|
|
10
11
|
export * from "./ListAgentVersionsCommand";
|
|
11
12
|
export * from "./ListAgentsCommand";
|
|
12
13
|
export * from "./ListAgentsNamesCommand";
|
|
14
|
+
export * from "./ListPronunciationDictionariesCommand";
|
|
13
15
|
export * from "./PublishAgentVersionCommand";
|
|
14
16
|
export * from "./PutAgentDeploymentCommand";
|
|
17
|
+
export * from "./PutPronunciationDictionaryCommand";
|
|
15
18
|
export * from "./ResetAgentDeploymentCommand";
|
|
16
19
|
export * from "./RestoreAgentVersionToDraftCommand";
|
|
17
20
|
export * from "./UpdateAgentCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Unified agent platform covering the agent lifecycle: draft editing, immutable
|
|
3
3
|
* published versions, deployment of new sessions across those versions and API keys.
|
|
4
|
-
* Each agent serves one or more channels (voice, chat
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Each agent serves one or more channels (voice, chat or assistant) with per-channel
|
|
5
|
+
* settings, and any agent can also run as a background task — invoked by other agents,
|
|
6
|
+
* by automations or over the API.
|
|
7
7
|
*
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
*/
|