@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
|
@@ -38,7 +38,7 @@ declare const ListAgentsCommand_base: {
|
|
|
38
38
|
* const client = new WilmaAgentsClient(config);
|
|
39
39
|
* const input = { // ListAgentsInput
|
|
40
40
|
* company: "STRING_VALUE",
|
|
41
|
-
* channel: "voice" || "chat" || "assistant"
|
|
41
|
+
* channel: "voice" || "chat" || "assistant",
|
|
42
42
|
* status: "draft" || "active",
|
|
43
43
|
* search: "STRING_VALUE",
|
|
44
44
|
* limit: Number("int"),
|
|
@@ -56,6 +56,61 @@ declare const ListAgentsCommand_base: {
|
|
|
56
56
|
* // channels: { // AgentChannels
|
|
57
57
|
* // voice: { // VoiceChannelSettings
|
|
58
58
|
* // greeting: "STRING_VALUE",
|
|
59
|
+
* // backgroundSound: "STRING_VALUE",
|
|
60
|
+
* // speech: { // VoiceSpeechSettings
|
|
61
|
+
* // provider: "elevenlabs" || "google" || "amazon_polly", // required
|
|
62
|
+
* // languages: [ // VoiceLanguageList // required
|
|
63
|
+
* // { // VoiceLanguage
|
|
64
|
+
* // code: "STRING_VALUE", // required
|
|
65
|
+
* // provider: "elevenlabs" || "google" || "amazon_polly",
|
|
66
|
+
* // voice: "STRING_VALUE", // required
|
|
67
|
+
* // greeting: "STRING_VALUE",
|
|
68
|
+
* // isDefault: true || false,
|
|
69
|
+
* // instructions: "STRING_VALUE",
|
|
70
|
+
* // synthesis: { // VoiceSynthesisOptions
|
|
71
|
+
* // model: "STRING_VALUE",
|
|
72
|
+
* // speed: Number("float"),
|
|
73
|
+
* // stability: Number("float"),
|
|
74
|
+
* // similarity: Number("float"),
|
|
75
|
+
* // style: Number("float"),
|
|
76
|
+
* // speakerBoost: true || false,
|
|
77
|
+
* // pitch: Number("float"),
|
|
78
|
+
* // volumeGain: Number("float"),
|
|
79
|
+
* // },
|
|
80
|
+
* // credential: { // SecretRef
|
|
81
|
+
* // id: "STRING_VALUE", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
84
|
+
* // { // VoicePronunciation
|
|
85
|
+
* // phrase: "STRING_VALUE", // required
|
|
86
|
+
* // as: "STRING_VALUE", // required
|
|
87
|
+
* // encoding: "alias" || "ipa",
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
|
|
91
|
+
* // "STRING_VALUE",
|
|
92
|
+
* // ],
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // autoDetect: true || false,
|
|
96
|
+
* // greetEveryLanguage: true || false,
|
|
97
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
98
|
+
* // vendor: "aws",
|
|
99
|
+
* // },
|
|
100
|
+
* // synthesis: {
|
|
101
|
+
* // model: "STRING_VALUE",
|
|
102
|
+
* // speed: Number("float"),
|
|
103
|
+
* // stability: Number("float"),
|
|
104
|
+
* // similarity: Number("float"),
|
|
105
|
+
* // style: Number("float"),
|
|
106
|
+
* // speakerBoost: true || false,
|
|
107
|
+
* // pitch: Number("float"),
|
|
108
|
+
* // volumeGain: Number("float"),
|
|
109
|
+
* // },
|
|
110
|
+
* // credential: {
|
|
111
|
+
* // id: "STRING_VALUE", // required
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
59
114
|
* // interruptions: { // VoiceInterruptionSettings
|
|
60
115
|
* // enabled: true || false, // required
|
|
61
116
|
* // minWords: Number("int"),
|
|
@@ -105,8 +160,21 @@ declare const ListAgentsCommand_base: {
|
|
|
105
160
|
* // },
|
|
106
161
|
* // assistant: { // AssistantChannelSettings
|
|
107
162
|
* // default: true || false,
|
|
163
|
+
* // ui: { // AssistantUiSettings
|
|
164
|
+
* // welcome: { // AssistantWelcomeSettings
|
|
165
|
+
* // title: "STRING_VALUE",
|
|
166
|
+
* // subtitle: "STRING_VALUE",
|
|
167
|
+
* // },
|
|
168
|
+
* // commands: [ // AssistantQuickCommandsList
|
|
169
|
+
* // { // AssistantQuickCommand
|
|
170
|
+
* // title: "STRING_VALUE", // required
|
|
171
|
+
* // description: "STRING_VALUE",
|
|
172
|
+
* // prompt: "STRING_VALUE", // required
|
|
173
|
+
* // },
|
|
174
|
+
* // ],
|
|
175
|
+
* // placeholder: "STRING_VALUE",
|
|
176
|
+
* // },
|
|
108
177
|
* // },
|
|
109
|
-
* // workflow: {},
|
|
110
178
|
* // },
|
|
111
179
|
* // engine: { // AgentEngine Union: only one key present
|
|
112
180
|
* // ai: { // AgentAiEngine
|
|
@@ -117,7 +185,6 @@ declare const ListAgentsCommand_base: {
|
|
|
117
185
|
* // { // AgentWorkflowStep
|
|
118
186
|
* // id: "STRING_VALUE", // required
|
|
119
187
|
* // label: "STRING_VALUE", // required
|
|
120
|
-
* // summary: "STRING_VALUE",
|
|
121
188
|
* // stage: "STRING_VALUE",
|
|
122
189
|
* // handler: { // AgentWorkflowHandler Union: only one key present
|
|
123
190
|
* // conversation: { // AgentWorkflowConversationHandler
|
|
@@ -158,6 +225,9 @@ declare const ListAgentsCommand_base: {
|
|
|
158
225
|
* // approval: { // AgentToolApproval
|
|
159
226
|
* // prompt: "STRING_VALUE",
|
|
160
227
|
* // },
|
|
228
|
+
* // channels: [ // AgentCapabilityChannelsList
|
|
229
|
+
* // "voice" || "chat" || "assistant",
|
|
230
|
+
* // ],
|
|
161
231
|
* // annotations: [ // AgentToolAnnotationsList
|
|
162
232
|
* // { // AgentToolAnnotation Union: only one key present
|
|
163
233
|
* // tag: { // AgentToolTagAnnotation
|
|
@@ -185,6 +255,9 @@ declare const ListAgentsCommand_base: {
|
|
|
185
255
|
* // approval: {
|
|
186
256
|
* // prompt: "STRING_VALUE",
|
|
187
257
|
* // },
|
|
258
|
+
* // channels: [
|
|
259
|
+
* // "voice" || "chat" || "assistant",
|
|
260
|
+
* // ],
|
|
188
261
|
* // annotations: [
|
|
189
262
|
* // {// Union: only one key present
|
|
190
263
|
* // tag: {
|
|
@@ -205,6 +278,9 @@ declare const ListAgentsCommand_base: {
|
|
|
205
278
|
* // kb: { // AgentKnowledgeBase
|
|
206
279
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
207
280
|
* // instructions: "STRING_VALUE",
|
|
281
|
+
* // channels: [
|
|
282
|
+
* // "voice" || "chat" || "assistant",
|
|
283
|
+
* // ],
|
|
208
284
|
* // annotations: [
|
|
209
285
|
* // {// Union: only one key present
|
|
210
286
|
* // tag: {
|
|
@@ -250,17 +326,23 @@ declare const ListAgentsCommand_base: {
|
|
|
250
326
|
* // city: "STRING_VALUE",
|
|
251
327
|
* // timezone: "STRING_VALUE",
|
|
252
328
|
* // },
|
|
329
|
+
* // channels: [
|
|
330
|
+
* // "voice" || "chat" || "assistant",
|
|
331
|
+
* // ],
|
|
253
332
|
* // },
|
|
254
333
|
* // webFetch: { // AgentWebFetchCapability
|
|
255
334
|
* // allowedDomains: [
|
|
256
335
|
* // "STRING_VALUE",
|
|
257
336
|
* // ],
|
|
337
|
+
* // channels: [
|
|
338
|
+
* // "voice" || "chat" || "assistant",
|
|
339
|
+
* // ],
|
|
258
340
|
* // },
|
|
259
341
|
* // agent: { // AgentCallCapability
|
|
260
342
|
* // agentId: "STRING_VALUE", // required
|
|
261
343
|
* // agentVersion: Number("int"),
|
|
262
344
|
* // access: { // AgentAccess
|
|
263
|
-
* // visibility: "explicit" || "organization",
|
|
345
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
264
346
|
* // grants: [ // AgentGrantPrincipalList
|
|
265
347
|
* // { // AgentGrantPrincipal Union: only one key present
|
|
266
348
|
* // userId: "STRING_VALUE",
|
|
@@ -282,6 +364,7 @@ declare const ListAgentsCommand_base: {
|
|
|
282
364
|
* // },
|
|
283
365
|
* // },
|
|
284
366
|
* // ],
|
|
367
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
285
368
|
* // },
|
|
286
369
|
* // handover: { // AgentHandoverCapability
|
|
287
370
|
* // name: "STRING_VALUE",
|
|
@@ -295,6 +378,7 @@ declare const ListAgentsCommand_base: {
|
|
|
295
378
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
296
379
|
* // instructions: "STRING_VALUE",
|
|
297
380
|
* // },
|
|
381
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
298
382
|
* // annotations: [
|
|
299
383
|
* // {// Union: only one key present
|
|
300
384
|
* // tag: {
|
|
@@ -317,6 +401,7 @@ declare const ListAgentsCommand_base: {
|
|
|
317
401
|
* // description: "STRING_VALUE",
|
|
318
402
|
* // id: "STRING_VALUE", // required
|
|
319
403
|
* // agentVersion: Number("int"),
|
|
404
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
320
405
|
* // annotations: [
|
|
321
406
|
* // {// Union: only one key present
|
|
322
407
|
* // tag: {
|
|
@@ -344,10 +429,12 @@ declare const ListAgentsCommand_base: {
|
|
|
344
429
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
345
430
|
* // instructions: "STRING_VALUE",
|
|
346
431
|
* // },
|
|
432
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
347
433
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
348
434
|
* // },
|
|
349
435
|
* // suggestions: { // AgentSuggestionsCapability
|
|
350
436
|
* // name: "STRING_VALUE",
|
|
437
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
351
438
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
352
439
|
* // },
|
|
353
440
|
* // hangup: { // AgentHangupCapability
|
|
@@ -357,12 +444,14 @@ declare const ListAgentsCommand_base: {
|
|
|
357
444
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
358
445
|
* // instructions: "STRING_VALUE",
|
|
359
446
|
* // },
|
|
447
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
360
448
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
361
449
|
* // },
|
|
362
450
|
* // wait: { // AgentWaitCapability
|
|
363
451
|
* // name: "STRING_VALUE",
|
|
364
452
|
* // description: "STRING_VALUE",
|
|
365
453
|
* // message: "STRING_VALUE",
|
|
454
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
366
455
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
367
456
|
* // },
|
|
368
457
|
* // },
|
|
@@ -427,6 +516,7 @@ declare const ListAgentsCommand_base: {
|
|
|
427
516
|
* // approval: {
|
|
428
517
|
* // prompt: "STRING_VALUE",
|
|
429
518
|
* // },
|
|
519
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
430
520
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
431
521
|
* // },
|
|
432
522
|
* // connector: {
|
|
@@ -439,13 +529,14 @@ declare const ListAgentsCommand_base: {
|
|
|
439
529
|
* // approval: {
|
|
440
530
|
* // prompt: "STRING_VALUE",
|
|
441
531
|
* // },
|
|
532
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
442
533
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
443
534
|
* // },
|
|
444
535
|
* // agent: {
|
|
445
536
|
* // agentId: "STRING_VALUE", // required
|
|
446
537
|
* // agentVersion: Number("int"),
|
|
447
538
|
* // access: {
|
|
448
|
-
* // visibility: "explicit" || "organization",
|
|
539
|
+
* // visibility: "explicit" || "organization" || "public",
|
|
449
540
|
* // grants: [
|
|
450
541
|
* // {// Union: only one key present
|
|
451
542
|
* // userId: "STRING_VALUE",
|
|
@@ -467,6 +558,7 @@ declare const ListAgentsCommand_base: {
|
|
|
467
558
|
* // },
|
|
468
559
|
* // },
|
|
469
560
|
* // ],
|
|
561
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
470
562
|
* // },
|
|
471
563
|
* // handover: {
|
|
472
564
|
* // name: "STRING_VALUE",
|
|
@@ -480,6 +572,7 @@ declare const ListAgentsCommand_base: {
|
|
|
480
572
|
* // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
|
|
481
573
|
* // instructions: "STRING_VALUE",
|
|
482
574
|
* // },
|
|
575
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
483
576
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
484
577
|
* // },
|
|
485
578
|
* // delegation: {
|
|
@@ -487,6 +580,7 @@ declare const ListAgentsCommand_base: {
|
|
|
487
580
|
* // description: "STRING_VALUE",
|
|
488
581
|
* // id: "STRING_VALUE", // required
|
|
489
582
|
* // agentVersion: Number("int"),
|
|
583
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
490
584
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
491
585
|
* // },
|
|
492
586
|
* // transfer: {
|
|
@@ -499,6 +593,7 @@ declare const ListAgentsCommand_base: {
|
|
|
499
593
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
500
594
|
* // instructions: "STRING_VALUE",
|
|
501
595
|
* // },
|
|
596
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
502
597
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
503
598
|
* // },
|
|
504
599
|
* // hangup: {
|
|
@@ -508,12 +603,14 @@ declare const ListAgentsCommand_base: {
|
|
|
508
603
|
* // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
|
|
509
604
|
* // instructions: "STRING_VALUE",
|
|
510
605
|
* // },
|
|
606
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
511
607
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
512
608
|
* // },
|
|
513
609
|
* // wait: {
|
|
514
610
|
* // name: "STRING_VALUE",
|
|
515
611
|
* // description: "STRING_VALUE",
|
|
516
612
|
* // message: "STRING_VALUE",
|
|
613
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
517
614
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
518
615
|
* // },
|
|
519
616
|
* // },
|
|
@@ -574,7 +671,6 @@ declare const ListAgentsCommand_base: {
|
|
|
574
671
|
* // {
|
|
575
672
|
* // id: "STRING_VALUE", // required
|
|
576
673
|
* // label: "STRING_VALUE", // required
|
|
577
|
-
* // summary: "STRING_VALUE",
|
|
578
674
|
* // stage: "STRING_VALUE",
|
|
579
675
|
* // handler: {// Union: only one key present
|
|
580
676
|
* // conversation: {
|
|
@@ -592,6 +688,7 @@ declare const ListAgentsCommand_base: {
|
|
|
592
688
|
* // kb: {
|
|
593
689
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
594
690
|
* // instructions: "STRING_VALUE",
|
|
691
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
595
692
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
596
693
|
* // },
|
|
597
694
|
* // sandbox: {// Union: only one key present
|
|
@@ -616,9 +713,11 @@ declare const ListAgentsCommand_base: {
|
|
|
616
713
|
* // city: "STRING_VALUE",
|
|
617
714
|
* // timezone: "STRING_VALUE",
|
|
618
715
|
* // },
|
|
716
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
619
717
|
* // },
|
|
620
718
|
* // webFetch: {
|
|
621
719
|
* // allowedDomains: "<DomainNameList>",
|
|
720
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
622
721
|
* // },
|
|
623
722
|
* // agent: "<AgentCallCapability>",
|
|
624
723
|
* // handover: "<AgentHandoverCapability>",
|
|
@@ -626,6 +725,7 @@ declare const ListAgentsCommand_base: {
|
|
|
626
725
|
* // transfer: "<AgentTransferCapability>",
|
|
627
726
|
* // suggestions: {
|
|
628
727
|
* // name: "STRING_VALUE",
|
|
728
|
+
* // channels: "<AgentCapabilityChannelsList>",
|
|
629
729
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
630
730
|
* // },
|
|
631
731
|
* // hangup: "<AgentHangupCapability>",
|
|
@@ -734,6 +834,43 @@ declare const ListAgentsCommand_base: {
|
|
|
734
834
|
* // layout: "flow" || "compact" || "stages",
|
|
735
835
|
* // },
|
|
736
836
|
* // },
|
|
837
|
+
* // guardrails: { // AgentGuardrails
|
|
838
|
+
* // input: { // AgentGuardrailInput
|
|
839
|
+
* // checks: [ // AgentGuardrailChecksList
|
|
840
|
+
* // { // AgentGuardrailCheck
|
|
841
|
+
* // name: "STRING_VALUE", // required
|
|
842
|
+
* // description: "STRING_VALUE",
|
|
843
|
+
* // kind: { // AgentGuardrailCheckKind Union: only one key present
|
|
844
|
+
* // preset: { // AgentGuardrailPresetCheck
|
|
845
|
+
* // preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
|
|
846
|
+
* // notes: "STRING_VALUE",
|
|
847
|
+
* // },
|
|
848
|
+
* // custom: { // AgentGuardrailCustomCheck
|
|
849
|
+
* // instructions: "STRING_VALUE", // required
|
|
850
|
+
* // examples: [ // AgentGuardrailExamplesList
|
|
851
|
+
* // "STRING_VALUE",
|
|
852
|
+
* // ],
|
|
853
|
+
* // },
|
|
854
|
+
* // },
|
|
855
|
+
* // sensitivity: "low" || "medium" || "high",
|
|
856
|
+
* // action: { // AgentGuardrailAction Union: only one key present
|
|
857
|
+
* // observe: {},
|
|
858
|
+
* // redact: {},
|
|
859
|
+
* // block: { // AgentGuardrailBlockAction
|
|
860
|
+
* // message: "STRING_VALUE",
|
|
861
|
+
* // },
|
|
862
|
+
* // end: { // AgentGuardrailEndAction
|
|
863
|
+
* // message: "STRING_VALUE",
|
|
864
|
+
* // },
|
|
865
|
+
* // },
|
|
866
|
+
* // },
|
|
867
|
+
* // ],
|
|
868
|
+
* // model: "STRING_VALUE",
|
|
869
|
+
* // mode: "blocking" || "parallel",
|
|
870
|
+
* // errorMode: "open" || "closed",
|
|
871
|
+
* // window: "lastMessage" || "lastWithPrior",
|
|
872
|
+
* // },
|
|
873
|
+
* // },
|
|
737
874
|
* // model: "STRING_VALUE",
|
|
738
875
|
* // timeZone: "STRING_VALUE",
|
|
739
876
|
* // artifacts: true || false,
|
|
@@ -762,9 +899,7 @@ declare const ListAgentsCommand_base: {
|
|
|
762
899
|
* // sqs: { // AgentSqsEngine
|
|
763
900
|
* // url: "STRING_VALUE", // required
|
|
764
901
|
* // key: "STRING_VALUE", // required
|
|
765
|
-
* // secret:
|
|
766
|
-
* // id: "STRING_VALUE", // required
|
|
767
|
-
* // },
|
|
902
|
+
* // secret: "<SecretRef>", // required
|
|
768
903
|
* // },
|
|
769
904
|
* // },
|
|
770
905
|
* // settings: { // AgentSettings
|
|
@@ -38,7 +38,7 @@ declare const ListAgentsNamesCommand_base: {
|
|
|
38
38
|
* const client = new WilmaAgentsClient(config);
|
|
39
39
|
* const input = { // ListAgentsNamesInput
|
|
40
40
|
* company: "STRING_VALUE",
|
|
41
|
-
* channel: "voice" || "chat" || "assistant"
|
|
41
|
+
* channel: "voice" || "chat" || "assistant",
|
|
42
42
|
* };
|
|
43
43
|
* const command = new ListAgentsNamesCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
@@ -47,11 +47,27 @@ declare const ListAgentsNamesCommand_base: {
|
|
|
47
47
|
* // { // AgentInfo
|
|
48
48
|
* // id: "STRING_VALUE", // required
|
|
49
49
|
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // picture: "STRING_VALUE",
|
|
50
51
|
* // category: "STRING_VALUE",
|
|
51
52
|
* // status: "draft" || "active", // required
|
|
52
53
|
* // channels: [ // ChannelTypeList // required
|
|
53
|
-
* // "voice" || "chat" || "assistant"
|
|
54
|
+
* // "voice" || "chat" || "assistant",
|
|
54
55
|
* // ],
|
|
56
|
+
* // speechConfigured: true || false,
|
|
57
|
+
* // assistant: { // AssistantUiSettings
|
|
58
|
+
* // welcome: { // AssistantWelcomeSettings
|
|
59
|
+
* // title: "STRING_VALUE",
|
|
60
|
+
* // subtitle: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // commands: [ // AssistantQuickCommandsList
|
|
63
|
+
* // { // AssistantQuickCommand
|
|
64
|
+
* // title: "STRING_VALUE", // required
|
|
65
|
+
* // description: "STRING_VALUE",
|
|
66
|
+
* // prompt: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // placeholder: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
55
71
|
* // latestVersion: Number("int"),
|
|
56
72
|
* // },
|
|
57
73
|
* // ],
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListPronunciationDictionariesInput, ListPronunciationDictionariesOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPronunciationDictionariesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPronunciationDictionariesCommandInput extends ListPronunciationDictionariesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPronunciationDictionariesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPronunciationDictionariesCommandOutput extends ListPronunciationDictionariesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPronunciationDictionariesCommand_base: {
|
|
25
|
+
new (input: ListPronunciationDictionariesCommandInput): import("@smithy/core/client").CommandImpl<ListPronunciationDictionariesCommandInput, ListPronunciationDictionariesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListPronunciationDictionariesCommandInput]): import("@smithy/core/client").CommandImpl<ListPronunciationDictionariesCommandInput, ListPronunciationDictionariesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists the pronunciation dictionaries of the company.
|
|
31
|
+
*
|
|
32
|
+
* PAGINATED LIKE EVERY OTHER LIST IN THIS SERVICE, but with an ABSENT `limit` meaning EVERY
|
|
33
|
+
* LANGUAGE — which is what this operation always did, and what the management surface relies on:
|
|
34
|
+
* it shows the languages together and the set is bounded by the languages a company actually
|
|
35
|
+
* configures. So a caller that sends neither member is unaffected, and one that wants pages opts
|
|
36
|
+
* in. `nextCursor` is returned only while there is another page.
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { WilmaAgentsClient, ListPronunciationDictionariesCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
41
|
+
* // const { WilmaAgentsClient, ListPronunciationDictionariesCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
42
|
+
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
43
|
+
* const config = {}; // type is WilmaAgentsClientConfig
|
|
44
|
+
* const client = new WilmaAgentsClient(config);
|
|
45
|
+
* const input = { // ListPronunciationDictionariesInput
|
|
46
|
+
* company: "STRING_VALUE",
|
|
47
|
+
* limit: Number("int"),
|
|
48
|
+
* cursor: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListPronunciationDictionariesCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListPronunciationDictionariesOutput
|
|
53
|
+
* // dictionaries: [ // PronunciationDictionaryList // required
|
|
54
|
+
* // { // PronunciationDictionary
|
|
55
|
+
* // id: "STRING_VALUE", // required
|
|
56
|
+
* // code: "STRING_VALUE", // required
|
|
57
|
+
* // rules: [ // VoicePronunciationList // required
|
|
58
|
+
* // { // VoicePronunciation
|
|
59
|
+
* // phrase: "STRING_VALUE", // required
|
|
60
|
+
* // as: "STRING_VALUE", // required
|
|
61
|
+
* // encoding: "alias" || "ipa",
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // updatedAt: "STRING_VALUE", // required
|
|
65
|
+
* // updatedBy: { // Actor
|
|
66
|
+
* // type: "user" || "api_key" || "service", // required
|
|
67
|
+
* // id: "STRING_VALUE", // required
|
|
68
|
+
* // name: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // nextCursor: "STRING_VALUE",
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param ListPronunciationDictionariesCommandInput - {@link ListPronunciationDictionariesCommandInput}
|
|
78
|
+
* @returns {@link ListPronunciationDictionariesCommandOutput}
|
|
79
|
+
* @see {@link ListPronunciationDictionariesCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link ListPronunciationDictionariesCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link WilmaAgentsServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListPronunciationDictionariesCommand extends ListPronunciationDictionariesCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListPronunciationDictionariesInput;
|
|
96
|
+
output: ListPronunciationDictionariesOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListPronunciationDictionariesCommandInput;
|
|
100
|
+
output: ListPronunciationDictionariesCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|