@wildix/wilma-agents-client 1.0.30 → 1.0.32

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 (32) hide show
  1. package/dist-cjs/WilmaAgents.js +0 -6
  2. package/dist-cjs/commands/index.js +0 -3
  3. package/dist-cjs/models/enums.js +1 -9
  4. package/dist-cjs/schemas/schemas_0.js +20 -95
  5. package/dist-es/WilmaAgents.js +0 -6
  6. package/dist-es/commands/index.js +0 -3
  7. package/dist-es/models/enums.js +0 -8
  8. package/dist-es/schemas/schemas_0.js +18 -93
  9. package/dist-types/WilmaAgents.d.ts +0 -22
  10. package/dist-types/WilmaAgentsClient.d.ts +2 -5
  11. package/dist-types/commands/CreateAgentCommand.d.ts +38 -72
  12. package/dist-types/commands/GetAgentCommand.d.ts +19 -36
  13. package/dist-types/commands/GetAgentVersionCommand.d.ts +19 -36
  14. package/dist-types/commands/ListAgentsCommand.d.ts +19 -36
  15. package/dist-types/commands/ListAgentsNamesCommand.d.ts +0 -1
  16. package/dist-types/commands/PublishAgentVersionCommand.d.ts +19 -36
  17. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +19 -36
  18. package/dist-types/commands/UpdateAgentCommand.d.ts +38 -72
  19. package/dist-types/commands/index.d.ts +0 -3
  20. package/dist-types/models/enums.d.ts +0 -24
  21. package/dist-types/models/models_0.d.ts +83 -308
  22. package/dist-types/schemas/schemas_0.d.ts +1 -11
  23. package/package.json +1 -1
  24. package/dist-cjs/commands/DeletePronunciationDictionaryCommand.js +0 -20
  25. package/dist-cjs/commands/ListPronunciationDictionariesCommand.js +0 -20
  26. package/dist-cjs/commands/PutPronunciationDictionaryCommand.js +0 -20
  27. package/dist-es/commands/DeletePronunciationDictionaryCommand.js +0 -16
  28. package/dist-es/commands/ListPronunciationDictionariesCommand.js +0 -16
  29. package/dist-es/commands/PutPronunciationDictionaryCommand.js +0 -16
  30. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +0 -82
  31. package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +0 -103
  32. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +0 -117
@@ -51,30 +51,17 @@ declare const GetAgentCommand_base: {
51
51
  * // channels: { // AgentChannels
52
52
  * // voice: { // VoiceChannelSettings
53
53
  * // greeting: "STRING_VALUE",
54
- * // backgroundSound: "STRING_VALUE",
54
+ * // backgroundSound: { // VoiceBackgroundSoundSettings
55
+ * // enabled: true || false, // required
56
+ * // sound: "STRING_VALUE",
57
+ * // },
55
58
  * // speech: { // VoiceSpeechSettings
56
- * // provider: "elevenlabs" || "google" || "amazon_polly", // required
57
59
  * // languages: [ // VoiceLanguageList // required
58
60
  * // { // VoiceLanguage
59
61
  * // code: "STRING_VALUE", // required
60
- * // provider: "elevenlabs" || "google" || "amazon_polly",
61
62
  * // voice: "STRING_VALUE", // required
62
63
  * // greeting: "STRING_VALUE",
63
64
  * // isDefault: true || false,
64
- * // instructions: "STRING_VALUE",
65
- * // synthesis: { // VoiceSynthesisOptions
66
- * // model: "STRING_VALUE",
67
- * // speed: Number("float"),
68
- * // stability: Number("float"),
69
- * // similarity: Number("float"),
70
- * // style: Number("float"),
71
- * // speakerBoost: true || false,
72
- * // pitch: Number("float"),
73
- * // volumeGain: Number("float"),
74
- * // },
75
- * // credential: { // SecretRef
76
- * // id: "STRING_VALUE", // required
77
- * // },
78
65
  * // pronunciations: [ // VoicePronunciationList
79
66
  * // { // VoicePronunciation
80
67
  * // phrase: "STRING_VALUE", // required
@@ -82,28 +69,12 @@ declare const GetAgentCommand_base: {
82
69
  * // encoding: "alias" || "ipa",
83
70
  * // },
84
71
  * // ],
85
- * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
86
- * // "STRING_VALUE",
87
- * // ],
88
72
  * // },
89
73
  * // ],
90
- * // autoDetect: true || false,
91
74
  * // greetEveryLanguage: true || false,
92
75
  * // transcription: { // VoiceTranscriptionSettings
93
- * // vendor: "aws",
94
- * // },
95
- * // synthesis: {
96
- * // model: "STRING_VALUE",
97
- * // speed: Number("float"),
98
- * // stability: Number("float"),
99
- * // similarity: Number("float"),
100
- * // style: Number("float"),
101
- * // speakerBoost: true || false,
102
- * // pitch: Number("float"),
103
- * // volumeGain: Number("float"),
104
- * // },
105
- * // credential: {
106
- * // id: "STRING_VALUE", // required
76
+ * // engine: "STRING_VALUE",
77
+ * // autoDetect: true || false,
107
78
  * // },
108
79
  * // },
109
80
  * // interruptions: { // VoiceInterruptionSettings
@@ -862,6 +833,16 @@ declare const GetAgentCommand_base: {
862
833
  * // },
863
834
  * // ],
864
835
  * // model: "STRING_VALUE",
836
+ * // action: {// Union: only one key present
837
+ * // observe: {},
838
+ * // redact: {},
839
+ * // block: {
840
+ * // message: "STRING_VALUE",
841
+ * // },
842
+ * // end: {
843
+ * // message: "STRING_VALUE",
844
+ * // },
845
+ * // },
865
846
  * // mode: "blocking" || "parallel",
866
847
  * // errorMode: "open" || "closed",
867
848
  * // window: "lastMessage" || "lastWithPrior",
@@ -895,7 +876,9 @@ declare const GetAgentCommand_base: {
895
876
  * // sqs: { // AgentSqsEngine
896
877
  * // url: "STRING_VALUE", // required
897
878
  * // key: "STRING_VALUE", // required
898
- * // secret: "<SecretRef>", // required
879
+ * // secret: { // SecretRef
880
+ * // id: "STRING_VALUE", // required
881
+ * // },
899
882
  * // },
900
883
  * // },
901
884
  * // settings: { // AgentSettings
@@ -58,30 +58,17 @@ declare const GetAgentVersionCommand_base: {
58
58
  * // channels: { // AgentChannels
59
59
  * // voice: { // VoiceChannelSettings
60
60
  * // greeting: "STRING_VALUE",
61
- * // backgroundSound: "STRING_VALUE",
61
+ * // backgroundSound: { // VoiceBackgroundSoundSettings
62
+ * // enabled: true || false, // required
63
+ * // sound: "STRING_VALUE",
64
+ * // },
62
65
  * // speech: { // VoiceSpeechSettings
63
- * // provider: "elevenlabs" || "google" || "amazon_polly", // required
64
66
  * // languages: [ // VoiceLanguageList // required
65
67
  * // { // VoiceLanguage
66
68
  * // code: "STRING_VALUE", // required
67
- * // provider: "elevenlabs" || "google" || "amazon_polly",
68
69
  * // voice: "STRING_VALUE", // required
69
70
  * // greeting: "STRING_VALUE",
70
71
  * // 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
72
  * // pronunciations: [ // VoicePronunciationList
86
73
  * // { // VoicePronunciation
87
74
  * // phrase: "STRING_VALUE", // required
@@ -89,28 +76,12 @@ declare const GetAgentVersionCommand_base: {
89
76
  * // encoding: "alias" || "ipa",
90
77
  * // },
91
78
  * // ],
92
- * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
93
- * // "STRING_VALUE",
94
- * // ],
95
79
  * // },
96
80
  * // ],
97
- * // autoDetect: true || false,
98
81
  * // greetEveryLanguage: true || false,
99
82
  * // 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
83
+ * // engine: "STRING_VALUE",
84
+ * // autoDetect: true || false,
114
85
  * // },
115
86
  * // },
116
87
  * // interruptions: { // VoiceInterruptionSettings
@@ -869,6 +840,16 @@ declare const GetAgentVersionCommand_base: {
869
840
  * // },
870
841
  * // ],
871
842
  * // model: "STRING_VALUE",
843
+ * // action: {// Union: only one key present
844
+ * // observe: {},
845
+ * // redact: {},
846
+ * // block: {
847
+ * // message: "STRING_VALUE",
848
+ * // },
849
+ * // end: {
850
+ * // message: "STRING_VALUE",
851
+ * // },
852
+ * // },
872
853
  * // mode: "blocking" || "parallel",
873
854
  * // errorMode: "open" || "closed",
874
855
  * // window: "lastMessage" || "lastWithPrior",
@@ -902,7 +883,9 @@ declare const GetAgentVersionCommand_base: {
902
883
  * // sqs: { // AgentSqsEngine
903
884
  * // url: "STRING_VALUE", // required
904
885
  * // key: "STRING_VALUE", // required
905
- * // secret: "<SecretRef>", // required
886
+ * // secret: { // SecretRef
887
+ * // id: "STRING_VALUE", // required
888
+ * // },
906
889
  * // },
907
890
  * // },
908
891
  * // settings: { // AgentSettings
@@ -56,30 +56,17 @@ declare const ListAgentsCommand_base: {
56
56
  * // channels: { // AgentChannels
57
57
  * // voice: { // VoiceChannelSettings
58
58
  * // greeting: "STRING_VALUE",
59
- * // backgroundSound: "STRING_VALUE",
59
+ * // backgroundSound: { // VoiceBackgroundSoundSettings
60
+ * // enabled: true || false, // required
61
+ * // sound: "STRING_VALUE",
62
+ * // },
60
63
  * // speech: { // VoiceSpeechSettings
61
- * // provider: "elevenlabs" || "google" || "amazon_polly", // required
62
64
  * // languages: [ // VoiceLanguageList // required
63
65
  * // { // VoiceLanguage
64
66
  * // code: "STRING_VALUE", // required
65
- * // provider: "elevenlabs" || "google" || "amazon_polly",
66
67
  * // voice: "STRING_VALUE", // required
67
68
  * // greeting: "STRING_VALUE",
68
69
  * // 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
70
  * // pronunciations: [ // VoicePronunciationList
84
71
  * // { // VoicePronunciation
85
72
  * // phrase: "STRING_VALUE", // required
@@ -87,28 +74,12 @@ declare const ListAgentsCommand_base: {
87
74
  * // encoding: "alias" || "ipa",
88
75
  * // },
89
76
  * // ],
90
- * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
91
- * // "STRING_VALUE",
92
- * // ],
93
77
  * // },
94
78
  * // ],
95
- * // autoDetect: true || false,
96
79
  * // greetEveryLanguage: true || false,
97
80
  * // 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
81
+ * // engine: "STRING_VALUE",
82
+ * // autoDetect: true || false,
112
83
  * // },
113
84
  * // },
114
85
  * // interruptions: { // VoiceInterruptionSettings
@@ -867,6 +838,16 @@ declare const ListAgentsCommand_base: {
867
838
  * // },
868
839
  * // ],
869
840
  * // model: "STRING_VALUE",
841
+ * // action: {// Union: only one key present
842
+ * // observe: {},
843
+ * // redact: {},
844
+ * // block: {
845
+ * // message: "STRING_VALUE",
846
+ * // },
847
+ * // end: {
848
+ * // message: "STRING_VALUE",
849
+ * // },
850
+ * // },
870
851
  * // mode: "blocking" || "parallel",
871
852
  * // errorMode: "open" || "closed",
872
853
  * // window: "lastMessage" || "lastWithPrior",
@@ -900,7 +881,9 @@ declare const ListAgentsCommand_base: {
900
881
  * // sqs: { // AgentSqsEngine
901
882
  * // url: "STRING_VALUE", // required
902
883
  * // key: "STRING_VALUE", // required
903
- * // secret: "<SecretRef>", // required
884
+ * // secret: { // SecretRef
885
+ * // id: "STRING_VALUE", // required
886
+ * // },
904
887
  * // },
905
888
  * // },
906
889
  * // settings: { // AgentSettings
@@ -53,7 +53,6 @@ declare const ListAgentsNamesCommand_base: {
53
53
  * // channels: [ // ChannelTypeList // required
54
54
  * // "voice" || "chat" || "assistant" || "workflow",
55
55
  * // ],
56
- * // speechConfigured: true || false,
57
56
  * // assistant: { // AssistantUiSettings
58
57
  * // welcome: { // AssistantWelcomeSettings
59
58
  * // title: "STRING_VALUE",
@@ -60,30 +60,17 @@ declare const PublishAgentVersionCommand_base: {
60
60
  * // channels: { // AgentChannels
61
61
  * // voice: { // VoiceChannelSettings
62
62
  * // greeting: "STRING_VALUE",
63
- * // backgroundSound: "STRING_VALUE",
63
+ * // backgroundSound: { // VoiceBackgroundSoundSettings
64
+ * // enabled: true || false, // required
65
+ * // sound: "STRING_VALUE",
66
+ * // },
64
67
  * // speech: { // VoiceSpeechSettings
65
- * // provider: "elevenlabs" || "google" || "amazon_polly", // required
66
68
  * // languages: [ // VoiceLanguageList // required
67
69
  * // { // VoiceLanguage
68
70
  * // code: "STRING_VALUE", // required
69
- * // provider: "elevenlabs" || "google" || "amazon_polly",
70
71
  * // voice: "STRING_VALUE", // required
71
72
  * // greeting: "STRING_VALUE",
72
73
  * // isDefault: true || false,
73
- * // instructions: "STRING_VALUE",
74
- * // synthesis: { // VoiceSynthesisOptions
75
- * // model: "STRING_VALUE",
76
- * // speed: Number("float"),
77
- * // stability: Number("float"),
78
- * // similarity: Number("float"),
79
- * // style: Number("float"),
80
- * // speakerBoost: true || false,
81
- * // pitch: Number("float"),
82
- * // volumeGain: Number("float"),
83
- * // },
84
- * // credential: { // SecretRef
85
- * // id: "STRING_VALUE", // required
86
- * // },
87
74
  * // pronunciations: [ // VoicePronunciationList
88
75
  * // { // VoicePronunciation
89
76
  * // phrase: "STRING_VALUE", // required
@@ -91,28 +78,12 @@ declare const PublishAgentVersionCommand_base: {
91
78
  * // encoding: "alias" || "ipa",
92
79
  * // },
93
80
  * // ],
94
- * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
95
- * // "STRING_VALUE",
96
- * // ],
97
81
  * // },
98
82
  * // ],
99
- * // autoDetect: true || false,
100
83
  * // greetEveryLanguage: true || false,
101
84
  * // transcription: { // VoiceTranscriptionSettings
102
- * // vendor: "aws",
103
- * // },
104
- * // synthesis: {
105
- * // model: "STRING_VALUE",
106
- * // speed: Number("float"),
107
- * // stability: Number("float"),
108
- * // similarity: Number("float"),
109
- * // style: Number("float"),
110
- * // speakerBoost: true || false,
111
- * // pitch: Number("float"),
112
- * // volumeGain: Number("float"),
113
- * // },
114
- * // credential: {
115
- * // id: "STRING_VALUE", // required
85
+ * // engine: "STRING_VALUE",
86
+ * // autoDetect: true || false,
116
87
  * // },
117
88
  * // },
118
89
  * // interruptions: { // VoiceInterruptionSettings
@@ -871,6 +842,16 @@ declare const PublishAgentVersionCommand_base: {
871
842
  * // },
872
843
  * // ],
873
844
  * // model: "STRING_VALUE",
845
+ * // action: {// Union: only one key present
846
+ * // observe: {},
847
+ * // redact: {},
848
+ * // block: {
849
+ * // message: "STRING_VALUE",
850
+ * // },
851
+ * // end: {
852
+ * // message: "STRING_VALUE",
853
+ * // },
854
+ * // },
874
855
  * // mode: "blocking" || "parallel",
875
856
  * // errorMode: "open" || "closed",
876
857
  * // window: "lastMessage" || "lastWithPrior",
@@ -904,7 +885,9 @@ declare const PublishAgentVersionCommand_base: {
904
885
  * // sqs: { // AgentSqsEngine
905
886
  * // url: "STRING_VALUE", // required
906
887
  * // key: "STRING_VALUE", // required
907
- * // secret: "<SecretRef>", // required
888
+ * // secret: { // SecretRef
889
+ * // id: "STRING_VALUE", // required
890
+ * // },
908
891
  * // },
909
892
  * // },
910
893
  * // settings: { // AgentSettings
@@ -53,30 +53,17 @@ declare const RestoreAgentVersionToDraftCommand_base: {
53
53
  * // channels: { // AgentChannels
54
54
  * // voice: { // VoiceChannelSettings
55
55
  * // greeting: "STRING_VALUE",
56
- * // backgroundSound: "STRING_VALUE",
56
+ * // backgroundSound: { // VoiceBackgroundSoundSettings
57
+ * // enabled: true || false, // required
58
+ * // sound: "STRING_VALUE",
59
+ * // },
57
60
  * // speech: { // VoiceSpeechSettings
58
- * // provider: "elevenlabs" || "google" || "amazon_polly", // required
59
61
  * // languages: [ // VoiceLanguageList // required
60
62
  * // { // VoiceLanguage
61
63
  * // code: "STRING_VALUE", // required
62
- * // provider: "elevenlabs" || "google" || "amazon_polly",
63
64
  * // voice: "STRING_VALUE", // required
64
65
  * // greeting: "STRING_VALUE",
65
66
  * // 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
67
  * // pronunciations: [ // VoicePronunciationList
81
68
  * // { // VoicePronunciation
82
69
  * // phrase: "STRING_VALUE", // required
@@ -84,28 +71,12 @@ declare const RestoreAgentVersionToDraftCommand_base: {
84
71
  * // encoding: "alias" || "ipa",
85
72
  * // },
86
73
  * // ],
87
- * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
88
- * // "STRING_VALUE",
89
- * // ],
90
74
  * // },
91
75
  * // ],
92
- * // autoDetect: true || false,
93
76
  * // greetEveryLanguage: true || false,
94
77
  * // 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
78
+ * // engine: "STRING_VALUE",
79
+ * // autoDetect: true || false,
109
80
  * // },
110
81
  * // },
111
82
  * // interruptions: { // VoiceInterruptionSettings
@@ -864,6 +835,16 @@ declare const RestoreAgentVersionToDraftCommand_base: {
864
835
  * // },
865
836
  * // ],
866
837
  * // model: "STRING_VALUE",
838
+ * // action: {// Union: only one key present
839
+ * // observe: {},
840
+ * // redact: {},
841
+ * // block: {
842
+ * // message: "STRING_VALUE",
843
+ * // },
844
+ * // end: {
845
+ * // message: "STRING_VALUE",
846
+ * // },
847
+ * // },
867
848
  * // mode: "blocking" || "parallel",
868
849
  * // errorMode: "open" || "closed",
869
850
  * // window: "lastMessage" || "lastWithPrior",
@@ -897,7 +878,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
897
878
  * // sqs: { // AgentSqsEngine
898
879
  * // url: "STRING_VALUE", // required
899
880
  * // key: "STRING_VALUE", // required
900
- * // secret: "<SecretRef>", // required
881
+ * // secret: { // SecretRef
882
+ * // id: "STRING_VALUE", // required
883
+ * // },
901
884
  * // },
902
885
  * // },
903
886
  * // settings: { // AgentSettings