@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.
Files changed (33) hide show
  1. package/dist-cjs/WilmaAgents.js +6 -0
  2. package/dist-cjs/commands/DeletePronunciationDictionaryCommand.js +20 -0
  3. package/dist-cjs/commands/ListPronunciationDictionariesCommand.js +20 -0
  4. package/dist-cjs/commands/PutPronunciationDictionaryCommand.js +20 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/models/enums.js +46 -7
  7. package/dist-cjs/schemas/schemas_0.js +333 -99
  8. package/dist-es/WilmaAgents.js +6 -0
  9. package/dist-es/commands/DeletePronunciationDictionaryCommand.js +16 -0
  10. package/dist-es/commands/ListPronunciationDictionariesCommand.js +16 -0
  11. package/dist-es/commands/PutPronunciationDictionaryCommand.js +16 -0
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/models/enums.js +45 -6
  14. package/dist-es/schemas/schemas_0.js +329 -95
  15. package/dist-types/WilmaAgents.d.ts +25 -3
  16. package/dist-types/WilmaAgentsClient.d.ts +8 -5
  17. package/dist-types/commands/CreateAgentCommand.d.ts +286 -16
  18. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
  19. package/dist-types/commands/GetAgentCommand.d.ts +143 -8
  20. package/dist-types/commands/GetAgentVersionCommand.d.ts +143 -8
  21. package/dist-types/commands/ListAgentsCommand.d.ts +144 -9
  22. package/dist-types/commands/ListAgentsNamesCommand.d.ts +18 -2
  23. package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +103 -0
  24. package/dist-types/commands/PublishAgentVersionCommand.d.ts +143 -8
  25. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
  26. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +143 -8
  27. package/dist-types/commands/UpdateAgentCommand.d.ts +286 -16
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/index.d.ts +3 -3
  30. package/dist-types/models/enums.d.ts +159 -26
  31. package/dist-types/models/models_0.d.ts +913 -49
  32. package/dist-types/schemas/schemas_0.d.ts +29 -1
  33. package/package.json +2 -2
@@ -58,6 +58,61 @@ declare const GetAgentVersionCommand_base: {
58
58
  * // channels: { // AgentChannels
59
59
  * // voice: { // VoiceChannelSettings
60
60
  * // greeting: "STRING_VALUE",
61
+ * // backgroundSound: "STRING_VALUE",
62
+ * // speech: { // VoiceSpeechSettings
63
+ * // provider: "elevenlabs" || "google" || "amazon_polly", // required
64
+ * // languages: [ // VoiceLanguageList // required
65
+ * // { // VoiceLanguage
66
+ * // code: "STRING_VALUE", // required
67
+ * // provider: "elevenlabs" || "google" || "amazon_polly",
68
+ * // voice: "STRING_VALUE", // required
69
+ * // greeting: "STRING_VALUE",
70
+ * // isDefault: true || false,
71
+ * // instructions: "STRING_VALUE",
72
+ * // synthesis: { // VoiceSynthesisOptions
73
+ * // model: "STRING_VALUE",
74
+ * // speed: Number("float"),
75
+ * // stability: Number("float"),
76
+ * // similarity: Number("float"),
77
+ * // style: Number("float"),
78
+ * // speakerBoost: true || false,
79
+ * // pitch: Number("float"),
80
+ * // volumeGain: Number("float"),
81
+ * // },
82
+ * // credential: { // SecretRef
83
+ * // id: "STRING_VALUE", // required
84
+ * // },
85
+ * // pronunciations: [ // VoicePronunciationList
86
+ * // { // VoicePronunciation
87
+ * // phrase: "STRING_VALUE", // required
88
+ * // as: "STRING_VALUE", // required
89
+ * // encoding: "alias" || "ipa",
90
+ * // },
91
+ * // ],
92
+ * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
93
+ * // "STRING_VALUE",
94
+ * // ],
95
+ * // },
96
+ * // ],
97
+ * // autoDetect: true || false,
98
+ * // greetEveryLanguage: true || false,
99
+ * // transcription: { // VoiceTranscriptionSettings
100
+ * // vendor: "aws",
101
+ * // },
102
+ * // synthesis: {
103
+ * // model: "STRING_VALUE",
104
+ * // speed: Number("float"),
105
+ * // stability: Number("float"),
106
+ * // similarity: Number("float"),
107
+ * // style: Number("float"),
108
+ * // speakerBoost: true || false,
109
+ * // pitch: Number("float"),
110
+ * // volumeGain: Number("float"),
111
+ * // },
112
+ * // credential: {
113
+ * // id: "STRING_VALUE", // required
114
+ * // },
115
+ * // },
61
116
  * // interruptions: { // VoiceInterruptionSettings
62
117
  * // enabled: true || false, // required
63
118
  * // minWords: Number("int"),
@@ -107,8 +162,21 @@ declare const GetAgentVersionCommand_base: {
107
162
  * // },
108
163
  * // assistant: { // AssistantChannelSettings
109
164
  * // default: true || false,
165
+ * // ui: { // AssistantUiSettings
166
+ * // welcome: { // AssistantWelcomeSettings
167
+ * // title: "STRING_VALUE",
168
+ * // subtitle: "STRING_VALUE",
169
+ * // },
170
+ * // commands: [ // AssistantQuickCommandsList
171
+ * // { // AssistantQuickCommand
172
+ * // title: "STRING_VALUE", // required
173
+ * // description: "STRING_VALUE",
174
+ * // prompt: "STRING_VALUE", // required
175
+ * // },
176
+ * // ],
177
+ * // placeholder: "STRING_VALUE",
178
+ * // },
110
179
  * // },
111
- * // workflow: {},
112
180
  * // },
113
181
  * // engine: { // AgentEngine Union: only one key present
114
182
  * // ai: { // AgentAiEngine
@@ -119,7 +187,6 @@ declare const GetAgentVersionCommand_base: {
119
187
  * // { // AgentWorkflowStep
120
188
  * // id: "STRING_VALUE", // required
121
189
  * // label: "STRING_VALUE", // required
122
- * // summary: "STRING_VALUE",
123
190
  * // stage: "STRING_VALUE",
124
191
  * // handler: { // AgentWorkflowHandler Union: only one key present
125
192
  * // conversation: { // AgentWorkflowConversationHandler
@@ -160,6 +227,9 @@ declare const GetAgentVersionCommand_base: {
160
227
  * // approval: { // AgentToolApproval
161
228
  * // prompt: "STRING_VALUE",
162
229
  * // },
230
+ * // channels: [ // AgentCapabilityChannelsList
231
+ * // "voice" || "chat" || "assistant",
232
+ * // ],
163
233
  * // annotations: [ // AgentToolAnnotationsList
164
234
  * // { // AgentToolAnnotation Union: only one key present
165
235
  * // tag: { // AgentToolTagAnnotation
@@ -187,6 +257,9 @@ declare const GetAgentVersionCommand_base: {
187
257
  * // approval: {
188
258
  * // prompt: "STRING_VALUE",
189
259
  * // },
260
+ * // channels: [
261
+ * // "voice" || "chat" || "assistant",
262
+ * // ],
190
263
  * // annotations: [
191
264
  * // {// Union: only one key present
192
265
  * // tag: {
@@ -207,6 +280,9 @@ declare const GetAgentVersionCommand_base: {
207
280
  * // kb: { // AgentKnowledgeBase
208
281
  * // knowledgeBaseId: "STRING_VALUE",
209
282
  * // instructions: "STRING_VALUE",
283
+ * // channels: [
284
+ * // "voice" || "chat" || "assistant",
285
+ * // ],
210
286
  * // annotations: [
211
287
  * // {// Union: only one key present
212
288
  * // tag: {
@@ -252,17 +328,23 @@ declare const GetAgentVersionCommand_base: {
252
328
  * // city: "STRING_VALUE",
253
329
  * // timezone: "STRING_VALUE",
254
330
  * // },
331
+ * // channels: [
332
+ * // "voice" || "chat" || "assistant",
333
+ * // ],
255
334
  * // },
256
335
  * // webFetch: { // AgentWebFetchCapability
257
336
  * // allowedDomains: [
258
337
  * // "STRING_VALUE",
259
338
  * // ],
339
+ * // channels: [
340
+ * // "voice" || "chat" || "assistant",
341
+ * // ],
260
342
  * // },
261
343
  * // agent: { // AgentCallCapability
262
344
  * // agentId: "STRING_VALUE", // required
263
345
  * // agentVersion: Number("int"),
264
346
  * // access: { // AgentAccess
265
- * // visibility: "explicit" || "organization",
347
+ * // visibility: "explicit" || "organization" || "public",
266
348
  * // grants: [ // AgentGrantPrincipalList
267
349
  * // { // AgentGrantPrincipal Union: only one key present
268
350
  * // userId: "STRING_VALUE",
@@ -284,6 +366,7 @@ declare const GetAgentVersionCommand_base: {
284
366
  * // },
285
367
  * // },
286
368
  * // ],
369
+ * // channels: "<AgentCapabilityChannelsList>",
287
370
  * // },
288
371
  * // handover: { // AgentHandoverCapability
289
372
  * // name: "STRING_VALUE",
@@ -297,6 +380,7 @@ declare const GetAgentVersionCommand_base: {
297
380
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
298
381
  * // instructions: "STRING_VALUE",
299
382
  * // },
383
+ * // channels: "<AgentCapabilityChannelsList>",
300
384
  * // annotations: [
301
385
  * // {// Union: only one key present
302
386
  * // tag: {
@@ -319,6 +403,7 @@ declare const GetAgentVersionCommand_base: {
319
403
  * // description: "STRING_VALUE",
320
404
  * // id: "STRING_VALUE", // required
321
405
  * // agentVersion: Number("int"),
406
+ * // channels: "<AgentCapabilityChannelsList>",
322
407
  * // annotations: [
323
408
  * // {// Union: only one key present
324
409
  * // tag: {
@@ -346,10 +431,12 @@ declare const GetAgentVersionCommand_base: {
346
431
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
347
432
  * // instructions: "STRING_VALUE",
348
433
  * // },
434
+ * // channels: "<AgentCapabilityChannelsList>",
349
435
  * // annotations: "<AgentToolAnnotationsList>",
350
436
  * // },
351
437
  * // suggestions: { // AgentSuggestionsCapability
352
438
  * // name: "STRING_VALUE",
439
+ * // channels: "<AgentCapabilityChannelsList>",
353
440
  * // annotations: "<AgentToolAnnotationsList>",
354
441
  * // },
355
442
  * // hangup: { // AgentHangupCapability
@@ -359,12 +446,14 @@ declare const GetAgentVersionCommand_base: {
359
446
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
360
447
  * // instructions: "STRING_VALUE",
361
448
  * // },
449
+ * // channels: "<AgentCapabilityChannelsList>",
362
450
  * // annotations: "<AgentToolAnnotationsList>",
363
451
  * // },
364
452
  * // wait: { // AgentWaitCapability
365
453
  * // name: "STRING_VALUE",
366
454
  * // description: "STRING_VALUE",
367
455
  * // message: "STRING_VALUE",
456
+ * // channels: "<AgentCapabilityChannelsList>",
368
457
  * // annotations: "<AgentToolAnnotationsList>",
369
458
  * // },
370
459
  * // },
@@ -429,6 +518,7 @@ declare const GetAgentVersionCommand_base: {
429
518
  * // approval: {
430
519
  * // prompt: "STRING_VALUE",
431
520
  * // },
521
+ * // channels: "<AgentCapabilityChannelsList>",
432
522
  * // annotations: "<AgentToolAnnotationsList>",
433
523
  * // },
434
524
  * // connector: {
@@ -441,13 +531,14 @@ declare const GetAgentVersionCommand_base: {
441
531
  * // approval: {
442
532
  * // prompt: "STRING_VALUE",
443
533
  * // },
534
+ * // channels: "<AgentCapabilityChannelsList>",
444
535
  * // annotations: "<AgentToolAnnotationsList>",
445
536
  * // },
446
537
  * // agent: {
447
538
  * // agentId: "STRING_VALUE", // required
448
539
  * // agentVersion: Number("int"),
449
540
  * // access: {
450
- * // visibility: "explicit" || "organization",
541
+ * // visibility: "explicit" || "organization" || "public",
451
542
  * // grants: [
452
543
  * // {// Union: only one key present
453
544
  * // userId: "STRING_VALUE",
@@ -469,6 +560,7 @@ declare const GetAgentVersionCommand_base: {
469
560
  * // },
470
561
  * // },
471
562
  * // ],
563
+ * // channels: "<AgentCapabilityChannelsList>",
472
564
  * // },
473
565
  * // handover: {
474
566
  * // name: "STRING_VALUE",
@@ -482,6 +574,7 @@ declare const GetAgentVersionCommand_base: {
482
574
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
483
575
  * // instructions: "STRING_VALUE",
484
576
  * // },
577
+ * // channels: "<AgentCapabilityChannelsList>",
485
578
  * // annotations: "<AgentToolAnnotationsList>",
486
579
  * // },
487
580
  * // delegation: {
@@ -489,6 +582,7 @@ declare const GetAgentVersionCommand_base: {
489
582
  * // description: "STRING_VALUE",
490
583
  * // id: "STRING_VALUE", // required
491
584
  * // agentVersion: Number("int"),
585
+ * // channels: "<AgentCapabilityChannelsList>",
492
586
  * // annotations: "<AgentToolAnnotationsList>",
493
587
  * // },
494
588
  * // transfer: {
@@ -501,6 +595,7 @@ declare const GetAgentVersionCommand_base: {
501
595
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
502
596
  * // instructions: "STRING_VALUE",
503
597
  * // },
598
+ * // channels: "<AgentCapabilityChannelsList>",
504
599
  * // annotations: "<AgentToolAnnotationsList>",
505
600
  * // },
506
601
  * // hangup: {
@@ -510,12 +605,14 @@ declare const GetAgentVersionCommand_base: {
510
605
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
511
606
  * // instructions: "STRING_VALUE",
512
607
  * // },
608
+ * // channels: "<AgentCapabilityChannelsList>",
513
609
  * // annotations: "<AgentToolAnnotationsList>",
514
610
  * // },
515
611
  * // wait: {
516
612
  * // name: "STRING_VALUE",
517
613
  * // description: "STRING_VALUE",
518
614
  * // message: "STRING_VALUE",
615
+ * // channels: "<AgentCapabilityChannelsList>",
519
616
  * // annotations: "<AgentToolAnnotationsList>",
520
617
  * // },
521
618
  * // },
@@ -576,7 +673,6 @@ declare const GetAgentVersionCommand_base: {
576
673
  * // {
577
674
  * // id: "STRING_VALUE", // required
578
675
  * // label: "STRING_VALUE", // required
579
- * // summary: "STRING_VALUE",
580
676
  * // stage: "STRING_VALUE",
581
677
  * // handler: {// Union: only one key present
582
678
  * // conversation: {
@@ -594,6 +690,7 @@ declare const GetAgentVersionCommand_base: {
594
690
  * // kb: {
595
691
  * // knowledgeBaseId: "STRING_VALUE",
596
692
  * // instructions: "STRING_VALUE",
693
+ * // channels: "<AgentCapabilityChannelsList>",
597
694
  * // annotations: "<AgentToolAnnotationsList>",
598
695
  * // },
599
696
  * // sandbox: {// Union: only one key present
@@ -618,9 +715,11 @@ declare const GetAgentVersionCommand_base: {
618
715
  * // city: "STRING_VALUE",
619
716
  * // timezone: "STRING_VALUE",
620
717
  * // },
718
+ * // channels: "<AgentCapabilityChannelsList>",
621
719
  * // },
622
720
  * // webFetch: {
623
721
  * // allowedDomains: "<DomainNameList>",
722
+ * // channels: "<AgentCapabilityChannelsList>",
624
723
  * // },
625
724
  * // agent: "<AgentCallCapability>",
626
725
  * // handover: "<AgentHandoverCapability>",
@@ -628,6 +727,7 @@ declare const GetAgentVersionCommand_base: {
628
727
  * // transfer: "<AgentTransferCapability>",
629
728
  * // suggestions: {
630
729
  * // name: "STRING_VALUE",
730
+ * // channels: "<AgentCapabilityChannelsList>",
631
731
  * // annotations: "<AgentToolAnnotationsList>",
632
732
  * // },
633
733
  * // hangup: "<AgentHangupCapability>",
@@ -736,6 +836,43 @@ declare const GetAgentVersionCommand_base: {
736
836
  * // layout: "flow" || "compact" || "stages",
737
837
  * // },
738
838
  * // },
839
+ * // guardrails: { // AgentGuardrails
840
+ * // input: { // AgentGuardrailInput
841
+ * // checks: [ // AgentGuardrailChecksList
842
+ * // { // AgentGuardrailCheck
843
+ * // name: "STRING_VALUE", // required
844
+ * // description: "STRING_VALUE",
845
+ * // kind: { // AgentGuardrailCheckKind Union: only one key present
846
+ * // preset: { // AgentGuardrailPresetCheck
847
+ * // preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
848
+ * // notes: "STRING_VALUE",
849
+ * // },
850
+ * // custom: { // AgentGuardrailCustomCheck
851
+ * // instructions: "STRING_VALUE", // required
852
+ * // examples: [ // AgentGuardrailExamplesList
853
+ * // "STRING_VALUE",
854
+ * // ],
855
+ * // },
856
+ * // },
857
+ * // sensitivity: "low" || "medium" || "high",
858
+ * // action: { // AgentGuardrailAction Union: only one key present
859
+ * // observe: {},
860
+ * // redact: {},
861
+ * // block: { // AgentGuardrailBlockAction
862
+ * // message: "STRING_VALUE",
863
+ * // },
864
+ * // end: { // AgentGuardrailEndAction
865
+ * // message: "STRING_VALUE",
866
+ * // },
867
+ * // },
868
+ * // },
869
+ * // ],
870
+ * // model: "STRING_VALUE",
871
+ * // mode: "blocking" || "parallel",
872
+ * // errorMode: "open" || "closed",
873
+ * // window: "lastMessage" || "lastWithPrior",
874
+ * // },
875
+ * // },
739
876
  * // model: "STRING_VALUE",
740
877
  * // timeZone: "STRING_VALUE",
741
878
  * // artifacts: true || false,
@@ -764,9 +901,7 @@ declare const GetAgentVersionCommand_base: {
764
901
  * // sqs: { // AgentSqsEngine
765
902
  * // url: "STRING_VALUE", // required
766
903
  * // key: "STRING_VALUE", // required
767
- * // secret: { // SecretRef
768
- * // id: "STRING_VALUE", // required
769
- * // },
904
+ * // secret: "<SecretRef>", // required
770
905
  * // },
771
906
  * // },
772
907
  * // settings: { // AgentSettings