tencentcloud-sdk-nodejs-intl-en 3.0.1092 → 3.0.1093
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/package.json
CHANGED
|
@@ -108,6 +108,7 @@ const Variable = models.Variable;
|
|
|
108
108
|
const CallInNumberMetrics = models.CallInNumberMetrics;
|
|
109
109
|
const CreateExtensionRequest = models.CreateExtensionRequest;
|
|
110
110
|
const StaffSkillGroupList = models.StaffSkillGroupList;
|
|
111
|
+
const AITransferItem = models.AITransferItem;
|
|
111
112
|
const AbortAgentCruiseDialingCampaignRequest = models.AbortAgentCruiseDialingCampaignRequest;
|
|
112
113
|
const DescribePredictiveDialingCampaignsElement = models.DescribePredictiveDialingCampaignsElement;
|
|
113
114
|
const HangUpCallResponse = models.HangUpCallResponse;
|
|
@@ -209,7 +210,7 @@ class CccClient extends AbstractClient {
|
|
|
209
210
|
/**
|
|
210
211
|
* Used to make outbound calls by invoking AI models, limited to the use of proprietary phone numbers. Currently, the Advanced version seats are available for a **limited time** free trial.
|
|
211
212
|
|
|
212
|
-
Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://
|
|
213
|
+
Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://www.tencentcloud.com/document/product/1229/66889).
|
|
213
214
|
* @param {CreateAICallRequest} req
|
|
214
215
|
* @param {function(string, CreateAICallResponse):void} cb
|
|
215
216
|
* @public
|
|
@@ -794,6 +794,18 @@ Currently, the supported languages are as follows. The English name of the langu
|
|
|
794
794
|
*/
|
|
795
795
|
this.EndFunctionDesc = null;
|
|
796
796
|
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @type {boolean || null}
|
|
800
|
+
*/
|
|
801
|
+
this.TransferFunctionEnable = null;
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {Array.<AITransferItem> || null}
|
|
806
|
+
*/
|
|
807
|
+
this.TransferItems = null;
|
|
808
|
+
|
|
797
809
|
/**
|
|
798
810
|
* The duration after which the user hasn't spoken to trigger a notification, minimum 10 seconds, default 10 seconds
|
|
799
811
|
* @type {number || null}
|
|
@@ -896,6 +908,12 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
|
|
|
896
908
|
*/
|
|
897
909
|
this.CustomTTSConfig = null;
|
|
898
910
|
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @type {Array.<Variable> || null}
|
|
914
|
+
*/
|
|
915
|
+
this.PromptVariables = null;
|
|
916
|
+
|
|
899
917
|
}
|
|
900
918
|
|
|
901
919
|
/**
|
|
@@ -922,11 +940,30 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
|
|
|
922
940
|
this.InterruptSpeechDuration = 'InterruptSpeechDuration' in params ? params.InterruptSpeechDuration : null;
|
|
923
941
|
this.EndFunctionEnable = 'EndFunctionEnable' in params ? params.EndFunctionEnable : null;
|
|
924
942
|
this.EndFunctionDesc = 'EndFunctionDesc' in params ? params.EndFunctionDesc : null;
|
|
943
|
+
this.TransferFunctionEnable = 'TransferFunctionEnable' in params ? params.TransferFunctionEnable : null;
|
|
944
|
+
|
|
945
|
+
if (params.TransferItems) {
|
|
946
|
+
this.TransferItems = new Array();
|
|
947
|
+
for (let z in params.TransferItems) {
|
|
948
|
+
let obj = new AITransferItem();
|
|
949
|
+
obj.deserialize(params.TransferItems[z]);
|
|
950
|
+
this.TransferItems.push(obj);
|
|
951
|
+
}
|
|
952
|
+
}
|
|
925
953
|
this.NotifyDuration = 'NotifyDuration' in params ? params.NotifyDuration : null;
|
|
926
954
|
this.NotifyMessage = 'NotifyMessage' in params ? params.NotifyMessage : null;
|
|
927
955
|
this.NotifyMaxCount = 'NotifyMaxCount' in params ? params.NotifyMaxCount : null;
|
|
928
956
|
this.CustomTTSConfig = 'CustomTTSConfig' in params ? params.CustomTTSConfig : null;
|
|
929
957
|
|
|
958
|
+
if (params.PromptVariables) {
|
|
959
|
+
this.PromptVariables = new Array();
|
|
960
|
+
for (let z in params.PromptVariables) {
|
|
961
|
+
let obj = new Variable();
|
|
962
|
+
obj.deserialize(params.PromptVariables[z]);
|
|
963
|
+
this.PromptVariables.push(obj);
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
|
|
930
967
|
}
|
|
931
968
|
}
|
|
932
969
|
|
|
@@ -5728,6 +5765,48 @@ class StaffSkillGroupList extends AbstractModel {
|
|
|
5728
5765
|
}
|
|
5729
5766
|
}
|
|
5730
5767
|
|
|
5768
|
+
/**
|
|
5769
|
+
*
|
|
5770
|
+
* @class
|
|
5771
|
+
*/
|
|
5772
|
+
class AITransferItem extends AbstractModel {
|
|
5773
|
+
constructor(){
|
|
5774
|
+
super();
|
|
5775
|
+
|
|
5776
|
+
/**
|
|
5777
|
+
*
|
|
5778
|
+
* @type {string || null}
|
|
5779
|
+
*/
|
|
5780
|
+
this.TransferFunctionName = null;
|
|
5781
|
+
|
|
5782
|
+
/**
|
|
5783
|
+
*
|
|
5784
|
+
* @type {string || null}
|
|
5785
|
+
*/
|
|
5786
|
+
this.TransferFunctionDesc = null;
|
|
5787
|
+
|
|
5788
|
+
/**
|
|
5789
|
+
*
|
|
5790
|
+
* @type {number || null}
|
|
5791
|
+
*/
|
|
5792
|
+
this.TransferSkillGroupId = null;
|
|
5793
|
+
|
|
5794
|
+
}
|
|
5795
|
+
|
|
5796
|
+
/**
|
|
5797
|
+
* @private
|
|
5798
|
+
*/
|
|
5799
|
+
deserialize(params) {
|
|
5800
|
+
if (!params) {
|
|
5801
|
+
return;
|
|
5802
|
+
}
|
|
5803
|
+
this.TransferFunctionName = 'TransferFunctionName' in params ? params.TransferFunctionName : null;
|
|
5804
|
+
this.TransferFunctionDesc = 'TransferFunctionDesc' in params ? params.TransferFunctionDesc : null;
|
|
5805
|
+
this.TransferSkillGroupId = 'TransferSkillGroupId' in params ? params.TransferSkillGroupId : null;
|
|
5806
|
+
|
|
5807
|
+
}
|
|
5808
|
+
}
|
|
5809
|
+
|
|
5731
5810
|
/**
|
|
5732
5811
|
* AbortAgentCruiseDialingCampaign request structure.
|
|
5733
5812
|
* @class
|
|
@@ -7858,6 +7937,7 @@ module.exports = {
|
|
|
7858
7937
|
CallInNumberMetrics: CallInNumberMetrics,
|
|
7859
7938
|
CreateExtensionRequest: CreateExtensionRequest,
|
|
7860
7939
|
StaffSkillGroupList: StaffSkillGroupList,
|
|
7940
|
+
AITransferItem: AITransferItem,
|
|
7861
7941
|
AbortAgentCruiseDialingCampaignRequest: AbortAgentCruiseDialingCampaignRequest,
|
|
7862
7942
|
DescribePredictiveDialingCampaignsElement: DescribePredictiveDialingCampaignsElement,
|
|
7863
7943
|
HangUpCallResponse: HangUpCallResponse,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1093";
|
|
2
2
|
module.exports = sdkVersion
|