@wildix/wilma-agents-client 1.0.28 → 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 +19 -7
- package/dist-cjs/schemas/schemas_0.js +233 -84
- 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 +18 -6
- package/dist-es/schemas/schemas_0.js +230 -81
- package/dist-types/WilmaAgents.d.ts +25 -3
- package/dist-types/WilmaAgentsClient.d.ts +8 -5
- package/dist-types/commands/CreateAgentCommand.d.ts +212 -32
- package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
- package/dist-types/commands/GetAgentCommand.d.ts +106 -16
- package/dist-types/commands/GetAgentVersionCommand.d.ts +106 -16
- package/dist-types/commands/ListAgentsCommand.d.ts +107 -17
- 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 +106 -16
- package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +106 -16
- package/dist-types/commands/UpdateAgentCommand.d.ts +212 -32
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/enums.d.ts +68 -26
- package/dist-types/models/models_0.d.ts +618 -49
- package/dist-types/schemas/schemas_0.d.ts +18 -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
|
|
@@ -145,6 +213,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
145
213
|
* approval: { // AgentToolApproval
|
|
146
214
|
* prompt: "STRING_VALUE",
|
|
147
215
|
* },
|
|
216
|
+
* channels: [ // AgentCapabilityChannelsList
|
|
217
|
+
* "voice" || "chat" || "assistant",
|
|
218
|
+
* ],
|
|
148
219
|
* annotations: [ // AgentToolAnnotationsList
|
|
149
220
|
* { // AgentToolAnnotation Union: only one key present
|
|
150
221
|
* tag: { // AgentToolTagAnnotation
|
|
@@ -172,6 +243,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
172
243
|
* approval: {
|
|
173
244
|
* prompt: "STRING_VALUE",
|
|
174
245
|
* },
|
|
246
|
+
* channels: [
|
|
247
|
+
* "voice" || "chat" || "assistant",
|
|
248
|
+
* ],
|
|
175
249
|
* annotations: [
|
|
176
250
|
* {// Union: only one key present
|
|
177
251
|
* tag: {
|
|
@@ -192,6 +266,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
192
266
|
* kb: { // AgentKnowledgeBase
|
|
193
267
|
* knowledgeBaseId: "STRING_VALUE",
|
|
194
268
|
* instructions: "STRING_VALUE",
|
|
269
|
+
* channels: [
|
|
270
|
+
* "voice" || "chat" || "assistant",
|
|
271
|
+
* ],
|
|
195
272
|
* annotations: [
|
|
196
273
|
* {// Union: only one key present
|
|
197
274
|
* tag: {
|
|
@@ -237,17 +314,23 @@ declare const UpdateAgentCommand_base: {
|
|
|
237
314
|
* city: "STRING_VALUE",
|
|
238
315
|
* timezone: "STRING_VALUE",
|
|
239
316
|
* },
|
|
317
|
+
* channels: [
|
|
318
|
+
* "voice" || "chat" || "assistant",
|
|
319
|
+
* ],
|
|
240
320
|
* },
|
|
241
321
|
* webFetch: { // AgentWebFetchCapability
|
|
242
322
|
* allowedDomains: [
|
|
243
323
|
* "STRING_VALUE",
|
|
244
324
|
* ],
|
|
325
|
+
* channels: [
|
|
326
|
+
* "voice" || "chat" || "assistant",
|
|
327
|
+
* ],
|
|
245
328
|
* },
|
|
246
329
|
* agent: { // AgentCallCapability
|
|
247
330
|
* agentId: "STRING_VALUE", // required
|
|
248
331
|
* agentVersion: Number("int"),
|
|
249
332
|
* access: { // AgentAccess
|
|
250
|
-
* visibility: "explicit" || "organization",
|
|
333
|
+
* visibility: "explicit" || "organization" || "public",
|
|
251
334
|
* grants: [ // AgentGrantPrincipalList
|
|
252
335
|
* { // AgentGrantPrincipal Union: only one key present
|
|
253
336
|
* userId: "STRING_VALUE",
|
|
@@ -269,6 +352,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
269
352
|
* },
|
|
270
353
|
* },
|
|
271
354
|
* ],
|
|
355
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
272
356
|
* },
|
|
273
357
|
* handover: { // AgentHandoverCapability
|
|
274
358
|
* name: "STRING_VALUE",
|
|
@@ -282,6 +366,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
282
366
|
* type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
283
367
|
* instructions: "STRING_VALUE",
|
|
284
368
|
* },
|
|
369
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
285
370
|
* annotations: [
|
|
286
371
|
* {// Union: only one key present
|
|
287
372
|
* tag: {
|
|
@@ -304,6 +389,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
304
389
|
* description: "STRING_VALUE",
|
|
305
390
|
* id: "STRING_VALUE", // required
|
|
306
391
|
* agentVersion: Number("int"),
|
|
392
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
307
393
|
* annotations: [
|
|
308
394
|
* {// Union: only one key present
|
|
309
395
|
* tag: {
|
|
@@ -331,10 +417,12 @@ declare const UpdateAgentCommand_base: {
|
|
|
331
417
|
* type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
332
418
|
* instructions: "STRING_VALUE",
|
|
333
419
|
* },
|
|
420
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
334
421
|
* annotations: "<AgentToolAnnotationsList>",
|
|
335
422
|
* },
|
|
336
423
|
* suggestions: { // AgentSuggestionsCapability
|
|
337
424
|
* name: "STRING_VALUE",
|
|
425
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
338
426
|
* annotations: "<AgentToolAnnotationsList>",
|
|
339
427
|
* },
|
|
340
428
|
* hangup: { // AgentHangupCapability
|
|
@@ -344,12 +432,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
344
432
|
* type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
345
433
|
* instructions: "STRING_VALUE",
|
|
346
434
|
* },
|
|
435
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
347
436
|
* annotations: "<AgentToolAnnotationsList>",
|
|
348
437
|
* },
|
|
349
438
|
* wait: { // AgentWaitCapability
|
|
350
439
|
* name: "STRING_VALUE",
|
|
351
440
|
* description: "STRING_VALUE",
|
|
352
441
|
* message: "STRING_VALUE",
|
|
442
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
353
443
|
* annotations: "<AgentToolAnnotationsList>",
|
|
354
444
|
* },
|
|
355
445
|
* },
|
|
@@ -414,6 +504,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
414
504
|
* approval: {
|
|
415
505
|
* prompt: "STRING_VALUE",
|
|
416
506
|
* },
|
|
507
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
417
508
|
* annotations: "<AgentToolAnnotationsList>",
|
|
418
509
|
* },
|
|
419
510
|
* connector: {
|
|
@@ -426,13 +517,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
426
517
|
* approval: {
|
|
427
518
|
* prompt: "STRING_VALUE",
|
|
428
519
|
* },
|
|
520
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
429
521
|
* annotations: "<AgentToolAnnotationsList>",
|
|
430
522
|
* },
|
|
431
523
|
* agent: {
|
|
432
524
|
* agentId: "STRING_VALUE", // required
|
|
433
525
|
* agentVersion: Number("int"),
|
|
434
526
|
* access: {
|
|
435
|
-
* visibility: "explicit" || "organization",
|
|
527
|
+
* visibility: "explicit" || "organization" || "public",
|
|
436
528
|
* grants: [
|
|
437
529
|
* {// Union: only one key present
|
|
438
530
|
* userId: "STRING_VALUE",
|
|
@@ -454,6 +546,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
454
546
|
* },
|
|
455
547
|
* },
|
|
456
548
|
* ],
|
|
549
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
457
550
|
* },
|
|
458
551
|
* handover: {
|
|
459
552
|
* name: "STRING_VALUE",
|
|
@@ -467,6 +560,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
467
560
|
* type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
468
561
|
* instructions: "STRING_VALUE",
|
|
469
562
|
* },
|
|
563
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
470
564
|
* annotations: "<AgentToolAnnotationsList>",
|
|
471
565
|
* },
|
|
472
566
|
* delegation: {
|
|
@@ -474,6 +568,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
474
568
|
* description: "STRING_VALUE",
|
|
475
569
|
* id: "STRING_VALUE", // required
|
|
476
570
|
* agentVersion: Number("int"),
|
|
571
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
477
572
|
* annotations: "<AgentToolAnnotationsList>",
|
|
478
573
|
* },
|
|
479
574
|
* transfer: {
|
|
@@ -486,6 +581,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
486
581
|
* type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
487
582
|
* instructions: "STRING_VALUE",
|
|
488
583
|
* },
|
|
584
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
489
585
|
* annotations: "<AgentToolAnnotationsList>",
|
|
490
586
|
* },
|
|
491
587
|
* hangup: {
|
|
@@ -495,12 +591,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
495
591
|
* type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
496
592
|
* instructions: "STRING_VALUE",
|
|
497
593
|
* },
|
|
594
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
498
595
|
* annotations: "<AgentToolAnnotationsList>",
|
|
499
596
|
* },
|
|
500
597
|
* wait: {
|
|
501
598
|
* name: "STRING_VALUE",
|
|
502
599
|
* description: "STRING_VALUE",
|
|
503
600
|
* message: "STRING_VALUE",
|
|
601
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
504
602
|
* annotations: "<AgentToolAnnotationsList>",
|
|
505
603
|
* },
|
|
506
604
|
* },
|
|
@@ -578,6 +676,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
578
676
|
* kb: {
|
|
579
677
|
* knowledgeBaseId: "STRING_VALUE",
|
|
580
678
|
* instructions: "STRING_VALUE",
|
|
679
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
581
680
|
* annotations: "<AgentToolAnnotationsList>",
|
|
582
681
|
* },
|
|
583
682
|
* sandbox: {// Union: only one key present
|
|
@@ -602,9 +701,11 @@ declare const UpdateAgentCommand_base: {
|
|
|
602
701
|
* city: "STRING_VALUE",
|
|
603
702
|
* timezone: "STRING_VALUE",
|
|
604
703
|
* },
|
|
704
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
605
705
|
* },
|
|
606
706
|
* webFetch: {
|
|
607
707
|
* allowedDomains: "<DomainNameList>",
|
|
708
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
608
709
|
* },
|
|
609
710
|
* agent: "<AgentCallCapability>",
|
|
610
711
|
* handover: "<AgentHandoverCapability>",
|
|
@@ -612,6 +713,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
612
713
|
* transfer: "<AgentTransferCapability>",
|
|
613
714
|
* suggestions: {
|
|
614
715
|
* name: "STRING_VALUE",
|
|
716
|
+
* channels: "<AgentCapabilityChannelsList>",
|
|
615
717
|
* annotations: "<AgentToolAnnotationsList>",
|
|
616
718
|
* },
|
|
617
719
|
* hangup: "<AgentHangupCapability>",
|
|
@@ -752,16 +854,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
752
854
|
* },
|
|
753
855
|
* ],
|
|
754
856
|
* 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
857
|
* mode: "blocking" || "parallel",
|
|
766
858
|
* errorMode: "open" || "closed",
|
|
767
859
|
* window: "lastMessage" || "lastWithPrior",
|
|
@@ -795,9 +887,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
795
887
|
* sqs: { // AgentSqsEngine
|
|
796
888
|
* url: "STRING_VALUE", // required
|
|
797
889
|
* key: "STRING_VALUE", // required
|
|
798
|
-
* secret:
|
|
799
|
-
* id: "STRING_VALUE", // required
|
|
800
|
-
* },
|
|
890
|
+
* secret: "<SecretRef>", // required
|
|
801
891
|
* },
|
|
802
892
|
* },
|
|
803
893
|
* settings: { // AgentSettings
|
|
@@ -819,6 +909,61 @@ declare const UpdateAgentCommand_base: {
|
|
|
819
909
|
* // channels: { // AgentChannels
|
|
820
910
|
* // voice: { // VoiceChannelSettings
|
|
821
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
|
+
* // },
|
|
822
967
|
* // interruptions: { // VoiceInterruptionSettings
|
|
823
968
|
* // enabled: true || false, // required
|
|
824
969
|
* // minWords: Number("int"),
|
|
@@ -868,8 +1013,21 @@ declare const UpdateAgentCommand_base: {
|
|
|
868
1013
|
* // },
|
|
869
1014
|
* // assistant: { // AssistantChannelSettings
|
|
870
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
|
+
* // },
|
|
871
1030
|
* // },
|
|
872
|
-
* // workflow: {},
|
|
873
1031
|
* // },
|
|
874
1032
|
* // engine: { // AgentEngine Union: only one key present
|
|
875
1033
|
* // ai: { // AgentAiEngine
|
|
@@ -920,6 +1078,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
920
1078
|
* // approval: { // AgentToolApproval
|
|
921
1079
|
* // prompt: "STRING_VALUE",
|
|
922
1080
|
* // },
|
|
1081
|
+
* // channels: [ // AgentCapabilityChannelsList
|
|
1082
|
+
* // "voice" || "chat" || "assistant",
|
|
1083
|
+
* // ],
|
|
923
1084
|
* // annotations: [ // AgentToolAnnotationsList
|
|
924
1085
|
* // { // AgentToolAnnotation Union: only one key present
|
|
925
1086
|
* // tag: { // AgentToolTagAnnotation
|
|
@@ -947,6 +1108,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
947
1108
|
* // approval: {
|
|
948
1109
|
* // prompt: "STRING_VALUE",
|
|
949
1110
|
* // },
|
|
1111
|
+
* // channels: [
|
|
1112
|
+
* // "voice" || "chat" || "assistant",
|
|
1113
|
+
* // ],
|
|
950
1114
|
* // annotations: [
|
|
951
1115
|
* // {// Union: only one key present
|
|
952
1116
|
* // tag: {
|
|
@@ -967,6 +1131,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
967
1131
|
* // kb: { // AgentKnowledgeBase
|
|
968
1132
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
969
1133
|
* // instructions: "STRING_VALUE",
|
|
1134
|
+
* // channels: [
|
|
1135
|
+
* // "voice" || "chat" || "assistant",
|
|
1136
|
+
* // ],
|
|
970
1137
|
* // annotations: [
|
|
971
1138
|
* // {// Union: only one key present
|
|
972
1139
|
* // tag: {
|
|
@@ -1012,17 +1179,23 @@ declare const UpdateAgentCommand_base: {
|
|
|
1012
1179
|
* // city: "STRING_VALUE",
|
|
1013
1180
|
* // timezone: "STRING_VALUE",
|
|
1014
1181
|
* // },
|
|
1182
|
+
* // channels: [
|
|
1183
|
+
* // "voice" || "chat" || "assistant",
|
|
1184
|
+
* // ],
|
|
1015
1185
|
* // },
|
|
1016
1186
|
* // webFetch: { // AgentWebFetchCapability
|
|
1017
1187
|
* // allowedDomains: [
|
|
1018
1188
|
* // "STRING_VALUE",
|
|
1019
1189
|
* // ],
|
|
1190
|
+
* // channels: [
|
|
1191
|
+
* // "voice" || "chat" || "assistant",
|
|
1192
|
+
* // ],
|
|
1020
1193
|
* // },
|
|
1021
1194
|
* // agent: { // AgentCallCapability
|
|
1022
1195
|
* // agentId: "STRING_VALUE", // required
|
|
1023
1196
|
* // agentVersion: Number("int"),
|
|
1024
1197
|
* // access: { // AgentAccess
|
|
1025
|
-
* // visibility: "explicit" || "organization",
|
|
1198
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
1026
1199
|
* // grants: [ // AgentGrantPrincipalList
|
|
1027
1200
|
* // { // AgentGrantPrincipal Union: only one key present
|
|
1028
1201
|
* // userId: "STRING_VALUE",
|
|
@@ -1044,6 +1217,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1044
1217
|
* // },
|
|
1045
1218
|
* // },
|
|
1046
1219
|
* // ],
|
|
1220
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1047
1221
|
* // },
|
|
1048
1222
|
* // handover: { // AgentHandoverCapability
|
|
1049
1223
|
* // name: "STRING_VALUE",
|
|
@@ -1057,6 +1231,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1057
1231
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
1058
1232
|
* // instructions: "STRING_VALUE",
|
|
1059
1233
|
* // },
|
|
1234
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1060
1235
|
* // annotations: [
|
|
1061
1236
|
* // {// Union: only one key present
|
|
1062
1237
|
* // tag: {
|
|
@@ -1079,6 +1254,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1079
1254
|
* // description: "STRING_VALUE",
|
|
1080
1255
|
* // id: "STRING_VALUE", // required
|
|
1081
1256
|
* // agentVersion: Number("int"),
|
|
1257
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1082
1258
|
* // annotations: [
|
|
1083
1259
|
* // {// Union: only one key present
|
|
1084
1260
|
* // tag: {
|
|
@@ -1106,10 +1282,12 @@ declare const UpdateAgentCommand_base: {
|
|
|
1106
1282
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
1107
1283
|
* // instructions: "STRING_VALUE",
|
|
1108
1284
|
* // },
|
|
1285
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1109
1286
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1110
1287
|
* // },
|
|
1111
1288
|
* // suggestions: { // AgentSuggestionsCapability
|
|
1112
1289
|
* // name: "STRING_VALUE",
|
|
1290
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1113
1291
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1114
1292
|
* // },
|
|
1115
1293
|
* // hangup: { // AgentHangupCapability
|
|
@@ -1119,12 +1297,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
1119
1297
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
1120
1298
|
* // instructions: "STRING_VALUE",
|
|
1121
1299
|
* // },
|
|
1300
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1122
1301
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1123
1302
|
* // },
|
|
1124
1303
|
* // wait: { // AgentWaitCapability
|
|
1125
1304
|
* // name: "STRING_VALUE",
|
|
1126
1305
|
* // description: "STRING_VALUE",
|
|
1127
1306
|
* // message: "STRING_VALUE",
|
|
1307
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1128
1308
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1129
1309
|
* // },
|
|
1130
1310
|
* // },
|
|
@@ -1189,6 +1369,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1189
1369
|
* // approval: {
|
|
1190
1370
|
* // prompt: "STRING_VALUE",
|
|
1191
1371
|
* // },
|
|
1372
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1192
1373
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1193
1374
|
* // },
|
|
1194
1375
|
* // connector: {
|
|
@@ -1201,13 +1382,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
1201
1382
|
* // approval: {
|
|
1202
1383
|
* // prompt: "STRING_VALUE",
|
|
1203
1384
|
* // },
|
|
1385
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1204
1386
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1205
1387
|
* // },
|
|
1206
1388
|
* // agent: {
|
|
1207
1389
|
* // agentId: "STRING_VALUE", // required
|
|
1208
1390
|
* // agentVersion: Number("int"),
|
|
1209
1391
|
* // access: {
|
|
1210
|
-
* // visibility: "explicit" || "organization",
|
|
1392
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
1211
1393
|
* // grants: [
|
|
1212
1394
|
* // {// Union: only one key present
|
|
1213
1395
|
* // userId: "STRING_VALUE",
|
|
@@ -1229,6 +1411,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1229
1411
|
* // },
|
|
1230
1412
|
* // },
|
|
1231
1413
|
* // ],
|
|
1414
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1232
1415
|
* // },
|
|
1233
1416
|
* // handover: {
|
|
1234
1417
|
* // name: "STRING_VALUE",
|
|
@@ -1242,6 +1425,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1242
1425
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
1243
1426
|
* // instructions: "STRING_VALUE",
|
|
1244
1427
|
* // },
|
|
1428
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1245
1429
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1246
1430
|
* // },
|
|
1247
1431
|
* // delegation: {
|
|
@@ -1249,6 +1433,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1249
1433
|
* // description: "STRING_VALUE",
|
|
1250
1434
|
* // id: "STRING_VALUE", // required
|
|
1251
1435
|
* // agentVersion: Number("int"),
|
|
1436
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1252
1437
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1253
1438
|
* // },
|
|
1254
1439
|
* // transfer: {
|
|
@@ -1261,6 +1446,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1261
1446
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
1262
1447
|
* // instructions: "STRING_VALUE",
|
|
1263
1448
|
* // },
|
|
1449
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1264
1450
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1265
1451
|
* // },
|
|
1266
1452
|
* // hangup: {
|
|
@@ -1270,12 +1456,14 @@ declare const UpdateAgentCommand_base: {
|
|
|
1270
1456
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
1271
1457
|
* // instructions: "STRING_VALUE",
|
|
1272
1458
|
* // },
|
|
1459
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1273
1460
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1274
1461
|
* // },
|
|
1275
1462
|
* // wait: {
|
|
1276
1463
|
* // name: "STRING_VALUE",
|
|
1277
1464
|
* // description: "STRING_VALUE",
|
|
1278
1465
|
* // message: "STRING_VALUE",
|
|
1466
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1279
1467
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1280
1468
|
* // },
|
|
1281
1469
|
* // },
|
|
@@ -1353,6 +1541,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1353
1541
|
* // kb: {
|
|
1354
1542
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
1355
1543
|
* // instructions: "STRING_VALUE",
|
|
1544
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1356
1545
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1357
1546
|
* // },
|
|
1358
1547
|
* // sandbox: {// Union: only one key present
|
|
@@ -1377,9 +1566,11 @@ declare const UpdateAgentCommand_base: {
|
|
|
1377
1566
|
* // city: "STRING_VALUE",
|
|
1378
1567
|
* // timezone: "STRING_VALUE",
|
|
1379
1568
|
* // },
|
|
1569
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1380
1570
|
* // },
|
|
1381
1571
|
* // webFetch: {
|
|
1382
1572
|
* // allowedDomains: "<DomainNameList>",
|
|
1573
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1383
1574
|
* // },
|
|
1384
1575
|
* // agent: "<AgentCallCapability>",
|
|
1385
1576
|
* // handover: "<AgentHandoverCapability>",
|
|
@@ -1387,6 +1578,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1387
1578
|
* // transfer: "<AgentTransferCapability>",
|
|
1388
1579
|
* // suggestions: {
|
|
1389
1580
|
* // name: "STRING_VALUE",
|
|
1581
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
1390
1582
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1391
1583
|
* // },
|
|
1392
1584
|
* // hangup: "<AgentHangupCapability>",
|
|
@@ -1527,16 +1719,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
1527
1719
|
* // },
|
|
1528
1720
|
* // ],
|
|
1529
1721
|
* // 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
1722
|
* // mode: "blocking" || "parallel",
|
|
1541
1723
|
* // errorMode: "open" || "closed",
|
|
1542
1724
|
* // window: "lastMessage" || "lastWithPrior",
|
|
@@ -1570,9 +1752,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1570
1752
|
* // sqs: { // AgentSqsEngine
|
|
1571
1753
|
* // url: "STRING_VALUE", // required
|
|
1572
1754
|
* // key: "STRING_VALUE", // required
|
|
1573
|
-
* // secret:
|
|
1574
|
-
* // id: "STRING_VALUE", // required
|
|
1575
|
-
* // },
|
|
1755
|
+
* // secret: "<SecretRef>", // required
|
|
1576
1756
|
* // },
|
|
1577
1757
|
* // },
|
|
1578
1758
|
* // 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
|
*/
|