@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
@@ -53,6 +53,61 @@ declare const RestoreAgentVersionToDraftCommand_base: {
53
53
  * // channels: { // AgentChannels
54
54
  * // voice: { // VoiceChannelSettings
55
55
  * // greeting: "STRING_VALUE",
56
+ * // backgroundSound: "STRING_VALUE",
57
+ * // speech: { // VoiceSpeechSettings
58
+ * // provider: "elevenlabs" || "google" || "amazon_polly", // required
59
+ * // languages: [ // VoiceLanguageList // required
60
+ * // { // VoiceLanguage
61
+ * // code: "STRING_VALUE", // required
62
+ * // provider: "elevenlabs" || "google" || "amazon_polly",
63
+ * // voice: "STRING_VALUE", // required
64
+ * // greeting: "STRING_VALUE",
65
+ * // isDefault: true || false,
66
+ * // instructions: "STRING_VALUE",
67
+ * // synthesis: { // VoiceSynthesisOptions
68
+ * // model: "STRING_VALUE",
69
+ * // speed: Number("float"),
70
+ * // stability: Number("float"),
71
+ * // similarity: Number("float"),
72
+ * // style: Number("float"),
73
+ * // speakerBoost: true || false,
74
+ * // pitch: Number("float"),
75
+ * // volumeGain: Number("float"),
76
+ * // },
77
+ * // credential: { // SecretRef
78
+ * // id: "STRING_VALUE", // required
79
+ * // },
80
+ * // pronunciations: [ // VoicePronunciationList
81
+ * // { // VoicePronunciation
82
+ * // phrase: "STRING_VALUE", // required
83
+ * // as: "STRING_VALUE", // required
84
+ * // encoding: "alias" || "ipa",
85
+ * // },
86
+ * // ],
87
+ * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
88
+ * // "STRING_VALUE",
89
+ * // ],
90
+ * // },
91
+ * // ],
92
+ * // autoDetect: true || false,
93
+ * // greetEveryLanguage: true || false,
94
+ * // transcription: { // VoiceTranscriptionSettings
95
+ * // vendor: "aws",
96
+ * // },
97
+ * // synthesis: {
98
+ * // model: "STRING_VALUE",
99
+ * // speed: Number("float"),
100
+ * // stability: Number("float"),
101
+ * // similarity: Number("float"),
102
+ * // style: Number("float"),
103
+ * // speakerBoost: true || false,
104
+ * // pitch: Number("float"),
105
+ * // volumeGain: Number("float"),
106
+ * // },
107
+ * // credential: {
108
+ * // id: "STRING_VALUE", // required
109
+ * // },
110
+ * // },
56
111
  * // interruptions: { // VoiceInterruptionSettings
57
112
  * // enabled: true || false, // required
58
113
  * // minWords: Number("int"),
@@ -102,8 +157,21 @@ declare const RestoreAgentVersionToDraftCommand_base: {
102
157
  * // },
103
158
  * // assistant: { // AssistantChannelSettings
104
159
  * // default: true || false,
160
+ * // ui: { // AssistantUiSettings
161
+ * // welcome: { // AssistantWelcomeSettings
162
+ * // title: "STRING_VALUE",
163
+ * // subtitle: "STRING_VALUE",
164
+ * // },
165
+ * // commands: [ // AssistantQuickCommandsList
166
+ * // { // AssistantQuickCommand
167
+ * // title: "STRING_VALUE", // required
168
+ * // description: "STRING_VALUE",
169
+ * // prompt: "STRING_VALUE", // required
170
+ * // },
171
+ * // ],
172
+ * // placeholder: "STRING_VALUE",
173
+ * // },
105
174
  * // },
106
- * // workflow: {},
107
175
  * // },
108
176
  * // engine: { // AgentEngine Union: only one key present
109
177
  * // ai: { // AgentAiEngine
@@ -114,7 +182,6 @@ declare const RestoreAgentVersionToDraftCommand_base: {
114
182
  * // { // AgentWorkflowStep
115
183
  * // id: "STRING_VALUE", // required
116
184
  * // label: "STRING_VALUE", // required
117
- * // summary: "STRING_VALUE",
118
185
  * // stage: "STRING_VALUE",
119
186
  * // handler: { // AgentWorkflowHandler Union: only one key present
120
187
  * // conversation: { // AgentWorkflowConversationHandler
@@ -155,6 +222,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
155
222
  * // approval: { // AgentToolApproval
156
223
  * // prompt: "STRING_VALUE",
157
224
  * // },
225
+ * // channels: [ // AgentCapabilityChannelsList
226
+ * // "voice" || "chat" || "assistant",
227
+ * // ],
158
228
  * // annotations: [ // AgentToolAnnotationsList
159
229
  * // { // AgentToolAnnotation Union: only one key present
160
230
  * // tag: { // AgentToolTagAnnotation
@@ -182,6 +252,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
182
252
  * // approval: {
183
253
  * // prompt: "STRING_VALUE",
184
254
  * // },
255
+ * // channels: [
256
+ * // "voice" || "chat" || "assistant",
257
+ * // ],
185
258
  * // annotations: [
186
259
  * // {// Union: only one key present
187
260
  * // tag: {
@@ -202,6 +275,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
202
275
  * // kb: { // AgentKnowledgeBase
203
276
  * // knowledgeBaseId: "STRING_VALUE",
204
277
  * // instructions: "STRING_VALUE",
278
+ * // channels: [
279
+ * // "voice" || "chat" || "assistant",
280
+ * // ],
205
281
  * // annotations: [
206
282
  * // {// Union: only one key present
207
283
  * // tag: {
@@ -247,17 +323,23 @@ declare const RestoreAgentVersionToDraftCommand_base: {
247
323
  * // city: "STRING_VALUE",
248
324
  * // timezone: "STRING_VALUE",
249
325
  * // },
326
+ * // channels: [
327
+ * // "voice" || "chat" || "assistant",
328
+ * // ],
250
329
  * // },
251
330
  * // webFetch: { // AgentWebFetchCapability
252
331
  * // allowedDomains: [
253
332
  * // "STRING_VALUE",
254
333
  * // ],
334
+ * // channels: [
335
+ * // "voice" || "chat" || "assistant",
336
+ * // ],
255
337
  * // },
256
338
  * // agent: { // AgentCallCapability
257
339
  * // agentId: "STRING_VALUE", // required
258
340
  * // agentVersion: Number("int"),
259
341
  * // access: { // AgentAccess
260
- * // visibility: "explicit" || "organization",
342
+ * // visibility: "explicit" || "organization" || "public",
261
343
  * // grants: [ // AgentGrantPrincipalList
262
344
  * // { // AgentGrantPrincipal Union: only one key present
263
345
  * // userId: "STRING_VALUE",
@@ -279,6 +361,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
279
361
  * // },
280
362
  * // },
281
363
  * // ],
364
+ * // channels: "<AgentCapabilityChannelsList>",
282
365
  * // },
283
366
  * // handover: { // AgentHandoverCapability
284
367
  * // name: "STRING_VALUE",
@@ -292,6 +375,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
292
375
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
293
376
  * // instructions: "STRING_VALUE",
294
377
  * // },
378
+ * // channels: "<AgentCapabilityChannelsList>",
295
379
  * // annotations: [
296
380
  * // {// Union: only one key present
297
381
  * // tag: {
@@ -314,6 +398,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
314
398
  * // description: "STRING_VALUE",
315
399
  * // id: "STRING_VALUE", // required
316
400
  * // agentVersion: Number("int"),
401
+ * // channels: "<AgentCapabilityChannelsList>",
317
402
  * // annotations: [
318
403
  * // {// Union: only one key present
319
404
  * // tag: {
@@ -341,10 +426,12 @@ declare const RestoreAgentVersionToDraftCommand_base: {
341
426
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
342
427
  * // instructions: "STRING_VALUE",
343
428
  * // },
429
+ * // channels: "<AgentCapabilityChannelsList>",
344
430
  * // annotations: "<AgentToolAnnotationsList>",
345
431
  * // },
346
432
  * // suggestions: { // AgentSuggestionsCapability
347
433
  * // name: "STRING_VALUE",
434
+ * // channels: "<AgentCapabilityChannelsList>",
348
435
  * // annotations: "<AgentToolAnnotationsList>",
349
436
  * // },
350
437
  * // hangup: { // AgentHangupCapability
@@ -354,12 +441,14 @@ declare const RestoreAgentVersionToDraftCommand_base: {
354
441
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
355
442
  * // instructions: "STRING_VALUE",
356
443
  * // },
444
+ * // channels: "<AgentCapabilityChannelsList>",
357
445
  * // annotations: "<AgentToolAnnotationsList>",
358
446
  * // },
359
447
  * // wait: { // AgentWaitCapability
360
448
  * // name: "STRING_VALUE",
361
449
  * // description: "STRING_VALUE",
362
450
  * // message: "STRING_VALUE",
451
+ * // channels: "<AgentCapabilityChannelsList>",
363
452
  * // annotations: "<AgentToolAnnotationsList>",
364
453
  * // },
365
454
  * // },
@@ -424,6 +513,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
424
513
  * // approval: {
425
514
  * // prompt: "STRING_VALUE",
426
515
  * // },
516
+ * // channels: "<AgentCapabilityChannelsList>",
427
517
  * // annotations: "<AgentToolAnnotationsList>",
428
518
  * // },
429
519
  * // connector: {
@@ -436,13 +526,14 @@ declare const RestoreAgentVersionToDraftCommand_base: {
436
526
  * // approval: {
437
527
  * // prompt: "STRING_VALUE",
438
528
  * // },
529
+ * // channels: "<AgentCapabilityChannelsList>",
439
530
  * // annotations: "<AgentToolAnnotationsList>",
440
531
  * // },
441
532
  * // agent: {
442
533
  * // agentId: "STRING_VALUE", // required
443
534
  * // agentVersion: Number("int"),
444
535
  * // access: {
445
- * // visibility: "explicit" || "organization",
536
+ * // visibility: "explicit" || "organization" || "public",
446
537
  * // grants: [
447
538
  * // {// Union: only one key present
448
539
  * // userId: "STRING_VALUE",
@@ -464,6 +555,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
464
555
  * // },
465
556
  * // },
466
557
  * // ],
558
+ * // channels: "<AgentCapabilityChannelsList>",
467
559
  * // },
468
560
  * // handover: {
469
561
  * // name: "STRING_VALUE",
@@ -477,6 +569,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
477
569
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
478
570
  * // instructions: "STRING_VALUE",
479
571
  * // },
572
+ * // channels: "<AgentCapabilityChannelsList>",
480
573
  * // annotations: "<AgentToolAnnotationsList>",
481
574
  * // },
482
575
  * // delegation: {
@@ -484,6 +577,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
484
577
  * // description: "STRING_VALUE",
485
578
  * // id: "STRING_VALUE", // required
486
579
  * // agentVersion: Number("int"),
580
+ * // channels: "<AgentCapabilityChannelsList>",
487
581
  * // annotations: "<AgentToolAnnotationsList>",
488
582
  * // },
489
583
  * // transfer: {
@@ -496,6 +590,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
496
590
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
497
591
  * // instructions: "STRING_VALUE",
498
592
  * // },
593
+ * // channels: "<AgentCapabilityChannelsList>",
499
594
  * // annotations: "<AgentToolAnnotationsList>",
500
595
  * // },
501
596
  * // hangup: {
@@ -505,12 +600,14 @@ declare const RestoreAgentVersionToDraftCommand_base: {
505
600
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
506
601
  * // instructions: "STRING_VALUE",
507
602
  * // },
603
+ * // channels: "<AgentCapabilityChannelsList>",
508
604
  * // annotations: "<AgentToolAnnotationsList>",
509
605
  * // },
510
606
  * // wait: {
511
607
  * // name: "STRING_VALUE",
512
608
  * // description: "STRING_VALUE",
513
609
  * // message: "STRING_VALUE",
610
+ * // channels: "<AgentCapabilityChannelsList>",
514
611
  * // annotations: "<AgentToolAnnotationsList>",
515
612
  * // },
516
613
  * // },
@@ -571,7 +668,6 @@ declare const RestoreAgentVersionToDraftCommand_base: {
571
668
  * // {
572
669
  * // id: "STRING_VALUE", // required
573
670
  * // label: "STRING_VALUE", // required
574
- * // summary: "STRING_VALUE",
575
671
  * // stage: "STRING_VALUE",
576
672
  * // handler: {// Union: only one key present
577
673
  * // conversation: {
@@ -589,6 +685,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
589
685
  * // kb: {
590
686
  * // knowledgeBaseId: "STRING_VALUE",
591
687
  * // instructions: "STRING_VALUE",
688
+ * // channels: "<AgentCapabilityChannelsList>",
592
689
  * // annotations: "<AgentToolAnnotationsList>",
593
690
  * // },
594
691
  * // sandbox: {// Union: only one key present
@@ -613,9 +710,11 @@ declare const RestoreAgentVersionToDraftCommand_base: {
613
710
  * // city: "STRING_VALUE",
614
711
  * // timezone: "STRING_VALUE",
615
712
  * // },
713
+ * // channels: "<AgentCapabilityChannelsList>",
616
714
  * // },
617
715
  * // webFetch: {
618
716
  * // allowedDomains: "<DomainNameList>",
717
+ * // channels: "<AgentCapabilityChannelsList>",
619
718
  * // },
620
719
  * // agent: "<AgentCallCapability>",
621
720
  * // handover: "<AgentHandoverCapability>",
@@ -623,6 +722,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
623
722
  * // transfer: "<AgentTransferCapability>",
624
723
  * // suggestions: {
625
724
  * // name: "STRING_VALUE",
725
+ * // channels: "<AgentCapabilityChannelsList>",
626
726
  * // annotations: "<AgentToolAnnotationsList>",
627
727
  * // },
628
728
  * // hangup: "<AgentHangupCapability>",
@@ -731,6 +831,43 @@ declare const RestoreAgentVersionToDraftCommand_base: {
731
831
  * // layout: "flow" || "compact" || "stages",
732
832
  * // },
733
833
  * // },
834
+ * // guardrails: { // AgentGuardrails
835
+ * // input: { // AgentGuardrailInput
836
+ * // checks: [ // AgentGuardrailChecksList
837
+ * // { // AgentGuardrailCheck
838
+ * // name: "STRING_VALUE", // required
839
+ * // description: "STRING_VALUE",
840
+ * // kind: { // AgentGuardrailCheckKind Union: only one key present
841
+ * // preset: { // AgentGuardrailPresetCheck
842
+ * // preset: "jailbreak" || "offTopic" || "abuse" || "harmful" || "selfHarm" || "pii" || "secrets" || "regulatedAdvice", // required
843
+ * // notes: "STRING_VALUE",
844
+ * // },
845
+ * // custom: { // AgentGuardrailCustomCheck
846
+ * // instructions: "STRING_VALUE", // required
847
+ * // examples: [ // AgentGuardrailExamplesList
848
+ * // "STRING_VALUE",
849
+ * // ],
850
+ * // },
851
+ * // },
852
+ * // sensitivity: "low" || "medium" || "high",
853
+ * // action: { // AgentGuardrailAction Union: only one key present
854
+ * // observe: {},
855
+ * // redact: {},
856
+ * // block: { // AgentGuardrailBlockAction
857
+ * // message: "STRING_VALUE",
858
+ * // },
859
+ * // end: { // AgentGuardrailEndAction
860
+ * // message: "STRING_VALUE",
861
+ * // },
862
+ * // },
863
+ * // },
864
+ * // ],
865
+ * // model: "STRING_VALUE",
866
+ * // mode: "blocking" || "parallel",
867
+ * // errorMode: "open" || "closed",
868
+ * // window: "lastMessage" || "lastWithPrior",
869
+ * // },
870
+ * // },
734
871
  * // model: "STRING_VALUE",
735
872
  * // timeZone: "STRING_VALUE",
736
873
  * // artifacts: true || false,
@@ -759,9 +896,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
759
896
  * // sqs: { // AgentSqsEngine
760
897
  * // url: "STRING_VALUE", // required
761
898
  * // key: "STRING_VALUE", // required
762
- * // secret: { // SecretRef
763
- * // id: "STRING_VALUE", // required
764
- * // },
899
+ * // secret: "<SecretRef>", // required
765
900
  * // },
766
901
  * // },
767
902
  * // settings: { // AgentSettings