@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.
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 +19 -7
  7. package/dist-cjs/schemas/schemas_0.js +233 -84
  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 +18 -6
  14. package/dist-es/schemas/schemas_0.js +230 -81
  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 +212 -32
  18. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
  19. package/dist-types/commands/GetAgentCommand.d.ts +106 -16
  20. package/dist-types/commands/GetAgentVersionCommand.d.ts +106 -16
  21. package/dist-types/commands/ListAgentsCommand.d.ts +107 -17
  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 +106 -16
  25. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
  26. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +106 -16
  27. package/dist-types/commands/UpdateAgentCommand.d.ts +212 -32
  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 +68 -26
  31. package/dist-types/models/models_0.d.ts +618 -49
  32. package/dist-types/schemas/schemas_0.d.ts +18 -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
@@ -154,6 +222,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
154
222
  * // approval: { // AgentToolApproval
155
223
  * // prompt: "STRING_VALUE",
156
224
  * // },
225
+ * // channels: [ // AgentCapabilityChannelsList
226
+ * // "voice" || "chat" || "assistant",
227
+ * // ],
157
228
  * // annotations: [ // AgentToolAnnotationsList
158
229
  * // { // AgentToolAnnotation Union: only one key present
159
230
  * // tag: { // AgentToolTagAnnotation
@@ -181,6 +252,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
181
252
  * // approval: {
182
253
  * // prompt: "STRING_VALUE",
183
254
  * // },
255
+ * // channels: [
256
+ * // "voice" || "chat" || "assistant",
257
+ * // ],
184
258
  * // annotations: [
185
259
  * // {// Union: only one key present
186
260
  * // tag: {
@@ -201,6 +275,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
201
275
  * // kb: { // AgentKnowledgeBase
202
276
  * // knowledgeBaseId: "STRING_VALUE",
203
277
  * // instructions: "STRING_VALUE",
278
+ * // channels: [
279
+ * // "voice" || "chat" || "assistant",
280
+ * // ],
204
281
  * // annotations: [
205
282
  * // {// Union: only one key present
206
283
  * // tag: {
@@ -246,17 +323,23 @@ declare const RestoreAgentVersionToDraftCommand_base: {
246
323
  * // city: "STRING_VALUE",
247
324
  * // timezone: "STRING_VALUE",
248
325
  * // },
326
+ * // channels: [
327
+ * // "voice" || "chat" || "assistant",
328
+ * // ],
249
329
  * // },
250
330
  * // webFetch: { // AgentWebFetchCapability
251
331
  * // allowedDomains: [
252
332
  * // "STRING_VALUE",
253
333
  * // ],
334
+ * // channels: [
335
+ * // "voice" || "chat" || "assistant",
336
+ * // ],
254
337
  * // },
255
338
  * // agent: { // AgentCallCapability
256
339
  * // agentId: "STRING_VALUE", // required
257
340
  * // agentVersion: Number("int"),
258
341
  * // access: { // AgentAccess
259
- * // visibility: "explicit" || "organization",
342
+ * // visibility: "explicit" || "organization" || "public",
260
343
  * // grants: [ // AgentGrantPrincipalList
261
344
  * // { // AgentGrantPrincipal Union: only one key present
262
345
  * // userId: "STRING_VALUE",
@@ -278,6 +361,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
278
361
  * // },
279
362
  * // },
280
363
  * // ],
364
+ * // channels: "<AgentCapabilityChannelsList>",
281
365
  * // },
282
366
  * // handover: { // AgentHandoverCapability
283
367
  * // name: "STRING_VALUE",
@@ -291,6 +375,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
291
375
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
292
376
  * // instructions: "STRING_VALUE",
293
377
  * // },
378
+ * // channels: "<AgentCapabilityChannelsList>",
294
379
  * // annotations: [
295
380
  * // {// Union: only one key present
296
381
  * // tag: {
@@ -313,6 +398,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
313
398
  * // description: "STRING_VALUE",
314
399
  * // id: "STRING_VALUE", // required
315
400
  * // agentVersion: Number("int"),
401
+ * // channels: "<AgentCapabilityChannelsList>",
316
402
  * // annotations: [
317
403
  * // {// Union: only one key present
318
404
  * // tag: {
@@ -340,10 +426,12 @@ declare const RestoreAgentVersionToDraftCommand_base: {
340
426
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
341
427
  * // instructions: "STRING_VALUE",
342
428
  * // },
429
+ * // channels: "<AgentCapabilityChannelsList>",
343
430
  * // annotations: "<AgentToolAnnotationsList>",
344
431
  * // },
345
432
  * // suggestions: { // AgentSuggestionsCapability
346
433
  * // name: "STRING_VALUE",
434
+ * // channels: "<AgentCapabilityChannelsList>",
347
435
  * // annotations: "<AgentToolAnnotationsList>",
348
436
  * // },
349
437
  * // hangup: { // AgentHangupCapability
@@ -353,12 +441,14 @@ declare const RestoreAgentVersionToDraftCommand_base: {
353
441
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
354
442
  * // instructions: "STRING_VALUE",
355
443
  * // },
444
+ * // channels: "<AgentCapabilityChannelsList>",
356
445
  * // annotations: "<AgentToolAnnotationsList>",
357
446
  * // },
358
447
  * // wait: { // AgentWaitCapability
359
448
  * // name: "STRING_VALUE",
360
449
  * // description: "STRING_VALUE",
361
450
  * // message: "STRING_VALUE",
451
+ * // channels: "<AgentCapabilityChannelsList>",
362
452
  * // annotations: "<AgentToolAnnotationsList>",
363
453
  * // },
364
454
  * // },
@@ -423,6 +513,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
423
513
  * // approval: {
424
514
  * // prompt: "STRING_VALUE",
425
515
  * // },
516
+ * // channels: "<AgentCapabilityChannelsList>",
426
517
  * // annotations: "<AgentToolAnnotationsList>",
427
518
  * // },
428
519
  * // connector: {
@@ -435,13 +526,14 @@ declare const RestoreAgentVersionToDraftCommand_base: {
435
526
  * // approval: {
436
527
  * // prompt: "STRING_VALUE",
437
528
  * // },
529
+ * // channels: "<AgentCapabilityChannelsList>",
438
530
  * // annotations: "<AgentToolAnnotationsList>",
439
531
  * // },
440
532
  * // agent: {
441
533
  * // agentId: "STRING_VALUE", // required
442
534
  * // agentVersion: Number("int"),
443
535
  * // access: {
444
- * // visibility: "explicit" || "organization",
536
+ * // visibility: "explicit" || "organization" || "public",
445
537
  * // grants: [
446
538
  * // {// Union: only one key present
447
539
  * // userId: "STRING_VALUE",
@@ -463,6 +555,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
463
555
  * // },
464
556
  * // },
465
557
  * // ],
558
+ * // channels: "<AgentCapabilityChannelsList>",
466
559
  * // },
467
560
  * // handover: {
468
561
  * // name: "STRING_VALUE",
@@ -476,6 +569,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
476
569
  * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
477
570
  * // instructions: "STRING_VALUE",
478
571
  * // },
572
+ * // channels: "<AgentCapabilityChannelsList>",
479
573
  * // annotations: "<AgentToolAnnotationsList>",
480
574
  * // },
481
575
  * // delegation: {
@@ -483,6 +577,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
483
577
  * // description: "STRING_VALUE",
484
578
  * // id: "STRING_VALUE", // required
485
579
  * // agentVersion: Number("int"),
580
+ * // channels: "<AgentCapabilityChannelsList>",
486
581
  * // annotations: "<AgentToolAnnotationsList>",
487
582
  * // },
488
583
  * // transfer: {
@@ -495,6 +590,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
495
590
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
496
591
  * // instructions: "STRING_VALUE",
497
592
  * // },
593
+ * // channels: "<AgentCapabilityChannelsList>",
498
594
  * // annotations: "<AgentToolAnnotationsList>",
499
595
  * // },
500
596
  * // hangup: {
@@ -504,12 +600,14 @@ declare const RestoreAgentVersionToDraftCommand_base: {
504
600
  * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
505
601
  * // instructions: "STRING_VALUE",
506
602
  * // },
603
+ * // channels: "<AgentCapabilityChannelsList>",
507
604
  * // annotations: "<AgentToolAnnotationsList>",
508
605
  * // },
509
606
  * // wait: {
510
607
  * // name: "STRING_VALUE",
511
608
  * // description: "STRING_VALUE",
512
609
  * // message: "STRING_VALUE",
610
+ * // channels: "<AgentCapabilityChannelsList>",
513
611
  * // annotations: "<AgentToolAnnotationsList>",
514
612
  * // },
515
613
  * // },
@@ -587,6 +685,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
587
685
  * // kb: {
588
686
  * // knowledgeBaseId: "STRING_VALUE",
589
687
  * // instructions: "STRING_VALUE",
688
+ * // channels: "<AgentCapabilityChannelsList>",
590
689
  * // annotations: "<AgentToolAnnotationsList>",
591
690
  * // },
592
691
  * // sandbox: {// Union: only one key present
@@ -611,9 +710,11 @@ declare const RestoreAgentVersionToDraftCommand_base: {
611
710
  * // city: "STRING_VALUE",
612
711
  * // timezone: "STRING_VALUE",
613
712
  * // },
713
+ * // channels: "<AgentCapabilityChannelsList>",
614
714
  * // },
615
715
  * // webFetch: {
616
716
  * // allowedDomains: "<DomainNameList>",
717
+ * // channels: "<AgentCapabilityChannelsList>",
617
718
  * // },
618
719
  * // agent: "<AgentCallCapability>",
619
720
  * // handover: "<AgentHandoverCapability>",
@@ -621,6 +722,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
621
722
  * // transfer: "<AgentTransferCapability>",
622
723
  * // suggestions: {
623
724
  * // name: "STRING_VALUE",
725
+ * // channels: "<AgentCapabilityChannelsList>",
624
726
  * // annotations: "<AgentToolAnnotationsList>",
625
727
  * // },
626
728
  * // hangup: "<AgentHangupCapability>",
@@ -761,16 +863,6 @@ declare const RestoreAgentVersionToDraftCommand_base: {
761
863
  * // },
762
864
  * // ],
763
865
  * // model: "STRING_VALUE",
764
- * // action: {// Union: only one key present
765
- * // observe: {},
766
- * // redact: {},
767
- * // block: {
768
- * // message: "STRING_VALUE",
769
- * // },
770
- * // end: {
771
- * // message: "STRING_VALUE",
772
- * // },
773
- * // },
774
866
  * // mode: "blocking" || "parallel",
775
867
  * // errorMode: "open" || "closed",
776
868
  * // window: "lastMessage" || "lastWithPrior",
@@ -804,9 +896,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
804
896
  * // sqs: { // AgentSqsEngine
805
897
  * // url: "STRING_VALUE", // required
806
898
  * // key: "STRING_VALUE", // required
807
- * // secret: { // SecretRef
808
- * // id: "STRING_VALUE", // required
809
- * // },
899
+ * // secret: "<SecretRef>", // required
810
900
  * // },
811
901
  * // },
812
902
  * // settings: { // AgentSettings