@wildix/wilma-agents-client 1.0.34 → 1.0.37
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/models/enums.js +5 -1
- package/dist-cjs/schemas/schemas_0.js +64 -12
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +62 -10
- package/dist-types/commands/CreateAgentCommand.d.ts +72 -0
- package/dist-types/commands/GetAgentCommand.d.ts +36 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +36 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +36 -0
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +1 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +36 -0
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +36 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +72 -0
- package/dist-types/models/enums.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +200 -8
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/package.json +1 -1
|
@@ -51,6 +51,32 @@ declare const GetAgentCommand_base: {
|
|
|
51
51
|
* // channels: { // AgentChannels
|
|
52
52
|
* // voice: { // VoiceChannelSettings
|
|
53
53
|
* // greeting: "STRING_VALUE",
|
|
54
|
+
* // backgroundSound: { // VoiceBackgroundSoundSettings
|
|
55
|
+
* // enabled: true || false, // required
|
|
56
|
+
* // sound: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // speech: { // VoiceSpeechSettings
|
|
59
|
+
* // languages: [ // VoiceLanguageList // required
|
|
60
|
+
* // { // VoiceLanguage
|
|
61
|
+
* // code: "STRING_VALUE", // required
|
|
62
|
+
* // voice: "STRING_VALUE", // required
|
|
63
|
+
* // greeting: "STRING_VALUE",
|
|
64
|
+
* // isDefault: true || false,
|
|
65
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
66
|
+
* // { // VoicePronunciation
|
|
67
|
+
* // phrase: "STRING_VALUE", // required
|
|
68
|
+
* // as: "STRING_VALUE", // required
|
|
69
|
+
* // encoding: "alias" || "ipa",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // greetEveryLanguage: true || false,
|
|
75
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
76
|
+
* // engine: "STRING_VALUE",
|
|
77
|
+
* // autoDetect: true || false,
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
54
80
|
* // interruptions: { // VoiceInterruptionSettings
|
|
55
81
|
* // enabled: true || false, // required
|
|
56
82
|
* // minWords: Number("int"),
|
|
@@ -806,6 +832,16 @@ declare const GetAgentCommand_base: {
|
|
|
806
832
|
* // },
|
|
807
833
|
* // ],
|
|
808
834
|
* // model: "STRING_VALUE",
|
|
835
|
+
* // action: {// Union: only one key present
|
|
836
|
+
* // observe: {},
|
|
837
|
+
* // redact: {},
|
|
838
|
+
* // block: {
|
|
839
|
+
* // message: "STRING_VALUE",
|
|
840
|
+
* // },
|
|
841
|
+
* // end: {
|
|
842
|
+
* // message: "STRING_VALUE",
|
|
843
|
+
* // },
|
|
844
|
+
* // },
|
|
809
845
|
* // mode: "blocking" || "parallel",
|
|
810
846
|
* // errorMode: "open" || "closed",
|
|
811
847
|
* // window: "lastMessage" || "lastWithPrior",
|
|
@@ -58,6 +58,32 @@ declare const GetAgentVersionCommand_base: {
|
|
|
58
58
|
* // channels: { // AgentChannels
|
|
59
59
|
* // voice: { // VoiceChannelSettings
|
|
60
60
|
* // greeting: "STRING_VALUE",
|
|
61
|
+
* // backgroundSound: { // VoiceBackgroundSoundSettings
|
|
62
|
+
* // enabled: true || false, // required
|
|
63
|
+
* // sound: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // speech: { // VoiceSpeechSettings
|
|
66
|
+
* // languages: [ // VoiceLanguageList // required
|
|
67
|
+
* // { // VoiceLanguage
|
|
68
|
+
* // code: "STRING_VALUE", // required
|
|
69
|
+
* // voice: "STRING_VALUE", // required
|
|
70
|
+
* // greeting: "STRING_VALUE",
|
|
71
|
+
* // isDefault: true || false,
|
|
72
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
73
|
+
* // { // VoicePronunciation
|
|
74
|
+
* // phrase: "STRING_VALUE", // required
|
|
75
|
+
* // as: "STRING_VALUE", // required
|
|
76
|
+
* // encoding: "alias" || "ipa",
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // greetEveryLanguage: true || false,
|
|
82
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
83
|
+
* // engine: "STRING_VALUE",
|
|
84
|
+
* // autoDetect: true || false,
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
61
87
|
* // interruptions: { // VoiceInterruptionSettings
|
|
62
88
|
* // enabled: true || false, // required
|
|
63
89
|
* // minWords: Number("int"),
|
|
@@ -813,6 +839,16 @@ declare const GetAgentVersionCommand_base: {
|
|
|
813
839
|
* // },
|
|
814
840
|
* // ],
|
|
815
841
|
* // model: "STRING_VALUE",
|
|
842
|
+
* // action: {// Union: only one key present
|
|
843
|
+
* // observe: {},
|
|
844
|
+
* // redact: {},
|
|
845
|
+
* // block: {
|
|
846
|
+
* // message: "STRING_VALUE",
|
|
847
|
+
* // },
|
|
848
|
+
* // end: {
|
|
849
|
+
* // message: "STRING_VALUE",
|
|
850
|
+
* // },
|
|
851
|
+
* // },
|
|
816
852
|
* // mode: "blocking" || "parallel",
|
|
817
853
|
* // errorMode: "open" || "closed",
|
|
818
854
|
* // window: "lastMessage" || "lastWithPrior",
|
|
@@ -56,6 +56,32 @@ declare const ListAgentsCommand_base: {
|
|
|
56
56
|
* // channels: { // AgentChannels
|
|
57
57
|
* // voice: { // VoiceChannelSettings
|
|
58
58
|
* // greeting: "STRING_VALUE",
|
|
59
|
+
* // backgroundSound: { // VoiceBackgroundSoundSettings
|
|
60
|
+
* // enabled: true || false, // required
|
|
61
|
+
* // sound: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // speech: { // VoiceSpeechSettings
|
|
64
|
+
* // languages: [ // VoiceLanguageList // required
|
|
65
|
+
* // { // VoiceLanguage
|
|
66
|
+
* // code: "STRING_VALUE", // required
|
|
67
|
+
* // voice: "STRING_VALUE", // required
|
|
68
|
+
* // greeting: "STRING_VALUE",
|
|
69
|
+
* // isDefault: true || false,
|
|
70
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
71
|
+
* // { // VoicePronunciation
|
|
72
|
+
* // phrase: "STRING_VALUE", // required
|
|
73
|
+
* // as: "STRING_VALUE", // required
|
|
74
|
+
* // encoding: "alias" || "ipa",
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // greetEveryLanguage: true || false,
|
|
80
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
81
|
+
* // engine: "STRING_VALUE",
|
|
82
|
+
* // autoDetect: true || false,
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
59
85
|
* // interruptions: { // VoiceInterruptionSettings
|
|
60
86
|
* // enabled: true || false, // required
|
|
61
87
|
* // minWords: Number("int"),
|
|
@@ -811,6 +837,16 @@ declare const ListAgentsCommand_base: {
|
|
|
811
837
|
* // },
|
|
812
838
|
* // ],
|
|
813
839
|
* // model: "STRING_VALUE",
|
|
840
|
+
* // action: {// Union: only one key present
|
|
841
|
+
* // observe: {},
|
|
842
|
+
* // redact: {},
|
|
843
|
+
* // block: {
|
|
844
|
+
* // message: "STRING_VALUE",
|
|
845
|
+
* // },
|
|
846
|
+
* // end: {
|
|
847
|
+
* // message: "STRING_VALUE",
|
|
848
|
+
* // },
|
|
849
|
+
* // },
|
|
814
850
|
* // mode: "blocking" || "parallel",
|
|
815
851
|
* // errorMode: "open" || "closed",
|
|
816
852
|
* // window: "lastMessage" || "lastWithPrior",
|
|
@@ -53,6 +53,7 @@ declare const ListAgentsNamesCommand_base: {
|
|
|
53
53
|
* // channels: [ // ChannelTypeList // required
|
|
54
54
|
* // "voice" || "chat" || "assistant",
|
|
55
55
|
* // ],
|
|
56
|
+
* // speechConfigured: true || false,
|
|
56
57
|
* // skillIds: [ // AgentSkillIdsList
|
|
57
58
|
* // "STRING_VALUE",
|
|
58
59
|
* // ],
|
|
@@ -60,6 +60,32 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
60
60
|
* // channels: { // AgentChannels
|
|
61
61
|
* // voice: { // VoiceChannelSettings
|
|
62
62
|
* // greeting: "STRING_VALUE",
|
|
63
|
+
* // backgroundSound: { // VoiceBackgroundSoundSettings
|
|
64
|
+
* // enabled: true || false, // required
|
|
65
|
+
* // sound: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // speech: { // VoiceSpeechSettings
|
|
68
|
+
* // languages: [ // VoiceLanguageList // required
|
|
69
|
+
* // { // VoiceLanguage
|
|
70
|
+
* // code: "STRING_VALUE", // required
|
|
71
|
+
* // voice: "STRING_VALUE", // required
|
|
72
|
+
* // greeting: "STRING_VALUE",
|
|
73
|
+
* // isDefault: true || false,
|
|
74
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
75
|
+
* // { // VoicePronunciation
|
|
76
|
+
* // phrase: "STRING_VALUE", // required
|
|
77
|
+
* // as: "STRING_VALUE", // required
|
|
78
|
+
* // encoding: "alias" || "ipa",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // greetEveryLanguage: true || false,
|
|
84
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
85
|
+
* // engine: "STRING_VALUE",
|
|
86
|
+
* // autoDetect: true || false,
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
63
89
|
* // interruptions: { // VoiceInterruptionSettings
|
|
64
90
|
* // enabled: true || false, // required
|
|
65
91
|
* // minWords: Number("int"),
|
|
@@ -815,6 +841,16 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
815
841
|
* // },
|
|
816
842
|
* // ],
|
|
817
843
|
* // model: "STRING_VALUE",
|
|
844
|
+
* // action: {// Union: only one key present
|
|
845
|
+
* // observe: {},
|
|
846
|
+
* // redact: {},
|
|
847
|
+
* // block: {
|
|
848
|
+
* // message: "STRING_VALUE",
|
|
849
|
+
* // },
|
|
850
|
+
* // end: {
|
|
851
|
+
* // message: "STRING_VALUE",
|
|
852
|
+
* // },
|
|
853
|
+
* // },
|
|
818
854
|
* // mode: "blocking" || "parallel",
|
|
819
855
|
* // errorMode: "open" || "closed",
|
|
820
856
|
* // window: "lastMessage" || "lastWithPrior",
|
|
@@ -53,6 +53,32 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
53
53
|
* // channels: { // AgentChannels
|
|
54
54
|
* // voice: { // VoiceChannelSettings
|
|
55
55
|
* // greeting: "STRING_VALUE",
|
|
56
|
+
* // backgroundSound: { // VoiceBackgroundSoundSettings
|
|
57
|
+
* // enabled: true || false, // required
|
|
58
|
+
* // sound: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // speech: { // VoiceSpeechSettings
|
|
61
|
+
* // languages: [ // VoiceLanguageList // required
|
|
62
|
+
* // { // VoiceLanguage
|
|
63
|
+
* // code: "STRING_VALUE", // required
|
|
64
|
+
* // voice: "STRING_VALUE", // required
|
|
65
|
+
* // greeting: "STRING_VALUE",
|
|
66
|
+
* // isDefault: true || false,
|
|
67
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
68
|
+
* // { // VoicePronunciation
|
|
69
|
+
* // phrase: "STRING_VALUE", // required
|
|
70
|
+
* // as: "STRING_VALUE", // required
|
|
71
|
+
* // encoding: "alias" || "ipa",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // greetEveryLanguage: true || false,
|
|
77
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
78
|
+
* // engine: "STRING_VALUE",
|
|
79
|
+
* // autoDetect: true || false,
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
56
82
|
* // interruptions: { // VoiceInterruptionSettings
|
|
57
83
|
* // enabled: true || false, // required
|
|
58
84
|
* // minWords: Number("int"),
|
|
@@ -808,6 +834,16 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
808
834
|
* // },
|
|
809
835
|
* // ],
|
|
810
836
|
* // model: "STRING_VALUE",
|
|
837
|
+
* // action: {// Union: only one key present
|
|
838
|
+
* // observe: {},
|
|
839
|
+
* // redact: {},
|
|
840
|
+
* // block: {
|
|
841
|
+
* // message: "STRING_VALUE",
|
|
842
|
+
* // },
|
|
843
|
+
* // end: {
|
|
844
|
+
* // message: "STRING_VALUE",
|
|
845
|
+
* // },
|
|
846
|
+
* // },
|
|
811
847
|
* // mode: "blocking" || "parallel",
|
|
812
848
|
* // errorMode: "open" || "closed",
|
|
813
849
|
* // window: "lastMessage" || "lastWithPrior",
|
|
@@ -44,6 +44,32 @@ declare const UpdateAgentCommand_base: {
|
|
|
44
44
|
* channels: { // AgentChannels
|
|
45
45
|
* voice: { // VoiceChannelSettings
|
|
46
46
|
* greeting: "STRING_VALUE",
|
|
47
|
+
* backgroundSound: { // VoiceBackgroundSoundSettings
|
|
48
|
+
* enabled: true || false, // required
|
|
49
|
+
* sound: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* speech: { // VoiceSpeechSettings
|
|
52
|
+
* languages: [ // VoiceLanguageList // required
|
|
53
|
+
* { // VoiceLanguage
|
|
54
|
+
* code: "STRING_VALUE", // required
|
|
55
|
+
* voice: "STRING_VALUE", // required
|
|
56
|
+
* greeting: "STRING_VALUE",
|
|
57
|
+
* isDefault: true || false,
|
|
58
|
+
* pronunciations: [ // VoicePronunciationList
|
|
59
|
+
* { // VoicePronunciation
|
|
60
|
+
* phrase: "STRING_VALUE", // required
|
|
61
|
+
* as: "STRING_VALUE", // required
|
|
62
|
+
* encoding: "alias" || "ipa",
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* greetEveryLanguage: true || false,
|
|
68
|
+
* transcription: { // VoiceTranscriptionSettings
|
|
69
|
+
* engine: "STRING_VALUE",
|
|
70
|
+
* autoDetect: true || false,
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
47
73
|
* interruptions: { // VoiceInterruptionSettings
|
|
48
74
|
* enabled: true || false, // required
|
|
49
75
|
* minWords: Number("int"),
|
|
@@ -799,6 +825,16 @@ declare const UpdateAgentCommand_base: {
|
|
|
799
825
|
* },
|
|
800
826
|
* ],
|
|
801
827
|
* model: "STRING_VALUE",
|
|
828
|
+
* action: {// Union: only one key present
|
|
829
|
+
* observe: {},
|
|
830
|
+
* redact: {},
|
|
831
|
+
* block: {
|
|
832
|
+
* message: "STRING_VALUE",
|
|
833
|
+
* },
|
|
834
|
+
* end: {
|
|
835
|
+
* message: "STRING_VALUE",
|
|
836
|
+
* },
|
|
837
|
+
* },
|
|
802
838
|
* mode: "blocking" || "parallel",
|
|
803
839
|
* errorMode: "open" || "closed",
|
|
804
840
|
* window: "lastMessage" || "lastWithPrior",
|
|
@@ -856,6 +892,32 @@ declare const UpdateAgentCommand_base: {
|
|
|
856
892
|
* // channels: { // AgentChannels
|
|
857
893
|
* // voice: { // VoiceChannelSettings
|
|
858
894
|
* // greeting: "STRING_VALUE",
|
|
895
|
+
* // backgroundSound: { // VoiceBackgroundSoundSettings
|
|
896
|
+
* // enabled: true || false, // required
|
|
897
|
+
* // sound: "STRING_VALUE",
|
|
898
|
+
* // },
|
|
899
|
+
* // speech: { // VoiceSpeechSettings
|
|
900
|
+
* // languages: [ // VoiceLanguageList // required
|
|
901
|
+
* // { // VoiceLanguage
|
|
902
|
+
* // code: "STRING_VALUE", // required
|
|
903
|
+
* // voice: "STRING_VALUE", // required
|
|
904
|
+
* // greeting: "STRING_VALUE",
|
|
905
|
+
* // isDefault: true || false,
|
|
906
|
+
* // pronunciations: [ // VoicePronunciationList
|
|
907
|
+
* // { // VoicePronunciation
|
|
908
|
+
* // phrase: "STRING_VALUE", // required
|
|
909
|
+
* // as: "STRING_VALUE", // required
|
|
910
|
+
* // encoding: "alias" || "ipa",
|
|
911
|
+
* // },
|
|
912
|
+
* // ],
|
|
913
|
+
* // },
|
|
914
|
+
* // ],
|
|
915
|
+
* // greetEveryLanguage: true || false,
|
|
916
|
+
* // transcription: { // VoiceTranscriptionSettings
|
|
917
|
+
* // engine: "STRING_VALUE",
|
|
918
|
+
* // autoDetect: true || false,
|
|
919
|
+
* // },
|
|
920
|
+
* // },
|
|
859
921
|
* // interruptions: { // VoiceInterruptionSettings
|
|
860
922
|
* // enabled: true || false, // required
|
|
861
923
|
* // minWords: Number("int"),
|
|
@@ -1611,6 +1673,16 @@ declare const UpdateAgentCommand_base: {
|
|
|
1611
1673
|
* // },
|
|
1612
1674
|
* // ],
|
|
1613
1675
|
* // model: "STRING_VALUE",
|
|
1676
|
+
* // action: {// Union: only one key present
|
|
1677
|
+
* // observe: {},
|
|
1678
|
+
* // redact: {},
|
|
1679
|
+
* // block: {
|
|
1680
|
+
* // message: "STRING_VALUE",
|
|
1681
|
+
* // },
|
|
1682
|
+
* // end: {
|
|
1683
|
+
* // message: "STRING_VALUE",
|
|
1684
|
+
* // },
|
|
1685
|
+
* // },
|
|
1614
1686
|
* // mode: "blocking" || "parallel",
|
|
1615
1687
|
* // errorMode: "open" || "closed",
|
|
1616
1688
|
* // window: "lastMessage" || "lastWithPrior",
|
|
@@ -20,6 +20,24 @@ export declare const AgentVisibility: {
|
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
22
|
export type AgentVisibility = (typeof AgentVisibility)[keyof typeof AgentVisibility];
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
* @enum
|
|
26
|
+
*/
|
|
27
|
+
export declare const VoicePronunciationEncoding: {
|
|
28
|
+
/**
|
|
29
|
+
* A respelling substituted into the text before it reaches the provider. The only encoding version 1 applies.
|
|
30
|
+
*/
|
|
31
|
+
readonly ALIAS: "alias";
|
|
32
|
+
/**
|
|
33
|
+
* Phonetic transcription. Declared so IPA can be enabled per provider later; ignored by the runtime today.
|
|
34
|
+
*/
|
|
35
|
+
readonly IPA: "ipa";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type VoicePronunciationEncoding = (typeof VoicePronunciationEncoding)[keyof typeof VoicePronunciationEncoding];
|
|
23
41
|
/**
|
|
24
42
|
* @public
|
|
25
43
|
* @enum
|