tencentcloud-sdk-ccc 3.0.1163 → 3.0.1169

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e61c3d91d47266fd32265859ff4df95b89898d8
4
- data.tar.gz: 25033de6e6a370df2f891c964327e4d0b90d7b82
3
+ metadata.gz: b1977b5cc587aa165b1314261d671ec72a0afa90
4
+ data.tar.gz: fc721729f5fcb647145bfaebffd79c2650a210fd
5
5
  SHA512:
6
- metadata.gz: e43dc48c5d82eaed7b0e272c437991f9092de3b686697c8faba86312ece1debb0edefcd291a54f545d36bf01b51c8af3e1b6bf4d4eccf3c83074b0ab08ac8582
7
- data.tar.gz: db7db828b0a02d250efb833db5508e877528d79cf9d167d25df2f24e7a325c284fac3c7c8398709c095b8cb0fd28f8e61a1f579957107c644c8c9e666144488d
6
+ metadata.gz: 1824c4d7a5d835a6a0cde77181be9511bda026ec5737bed4c8bd8f02f43e3d5af8acd408d4e88a5399d0bf5e561c60c1a0ebd9c7600cc7e25d1a3a661398ebbf
7
+ data.tar.gz: 5ec7cbe3fef7016a27bc1b1f0c2778c4e3cf4b6770de2e1d48c30537a93c214ad82f170c1685596c15facb7c34984a62bafc989d9d76189acf9d067eac6dc7ba
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1163
1
+ 3.0.1169
@@ -1647,6 +1647,30 @@ module TencentCloud
1647
1647
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1648
1648
  end
1649
1649
 
1650
+ # 暂停未完成的自动外呼任务
1651
+
1652
+ # @param request: Request instance for PauseAutoCalloutTask.
1653
+ # @type request: :class:`Tencentcloud::ccc::V20200210::PauseAutoCalloutTaskRequest`
1654
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::PauseAutoCalloutTaskResponse`
1655
+ def PauseAutoCalloutTask(request)
1656
+ body = send_request('PauseAutoCalloutTask', request.serialize)
1657
+ response = JSON.parse(body)
1658
+ if response['Response'].key?('Error') == false
1659
+ model = PauseAutoCalloutTaskResponse.new
1660
+ model.deserialize(response['Response'])
1661
+ model
1662
+ else
1663
+ code = response['Response']['Error']['Code']
1664
+ message = response['Response']['Error']['Message']
1665
+ reqid = response['Response']['RequestId']
1666
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1667
+ end
1668
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1669
+ raise e
1670
+ rescue StandardError => e
1671
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1672
+ end
1673
+
1650
1674
  # 暂停预测式外呼任务
1651
1675
 
1652
1676
  # @param request: Request instance for PausePredictiveDialingCampaign.
@@ -1719,6 +1743,30 @@ module TencentCloud
1719
1743
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1720
1744
  end
1721
1745
 
1746
+ # 暂停未完成的自动外呼任务
1747
+
1748
+ # @param request: Request instance for ResumeAutoCalloutTask.
1749
+ # @type request: :class:`Tencentcloud::ccc::V20200210::ResumeAutoCalloutTaskRequest`
1750
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::ResumeAutoCalloutTaskResponse`
1751
+ def ResumeAutoCalloutTask(request)
1752
+ body = send_request('ResumeAutoCalloutTask', request.serialize)
1753
+ response = JSON.parse(body)
1754
+ if response['Response'].key?('Error') == false
1755
+ model = ResumeAutoCalloutTaskResponse.new
1756
+ model.deserialize(response['Response'])
1757
+ model
1758
+ else
1759
+ code = response['Response']['Error']['Code']
1760
+ message = response['Response']['Error']['Message']
1761
+ reqid = response['Response']['RequestId']
1762
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1763
+ end
1764
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1765
+ raise e
1766
+ rescue StandardError => e
1767
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1768
+ end
1769
+
1722
1770
  # 恢复预测式外呼任务
1723
1771
 
1724
1772
  # @param request: Request instance for ResumePredictiveDialingCampaign.
@@ -1394,13 +1394,20 @@ module TencentCloud
1394
1394
  # 该参数传false表示关闭合规提示音。该参数传false则代表您知晓并同意以下协议:
1395
1395
  # 我方充分知悉和理解,根据[《网络安全法》](https://www.cac.gov.cn/2016-11/07/c_1119867116.htm)[《互联网信息服务深度合成管理规定》](https://www.gov.cn/zhengce/zhengceku/2022-12/12/content_5731431.htm)[《生成式人工智能服务管理暂行办法》](https://www.gov.cn/zhengce/zhengceku/202307/content_6891752.htm)[《人工智能生成合成内容标识办法》](https://www.gov.cn/zhengce/zhengceku/202503/content_7014286.htm)的法律法规的规定,对人工智能生成合成内容应当添加显式标识和隐式标识。我方基于业务需求,请腾讯云对生成合成内容不添加显式标识,我方承诺合法合规使用生成合成内容,避免造成混淆、误认;如果使用生成合成内容对公众提供服务的,或通过网络传播的,我方将自觉主动添加符合法律规定和国家标准要求的显式标识,承担人工智能生成合成内容标识的法律义务。我方未能恰当、合理地履行人工智能内容标识义务造成不良后果的,或遭受主管部门责罚的,相关责任由我方完全承担。
1396
1396
  # @type EnableComplianceAudio: Boolean
1397
-
1398
- attr_accessor :SdkAppId, :Callee, :LLMType, :APIKey, :APIUrl, :SystemPrompt, :Model, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :WelcomeMessagePriority, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :TransferFunctionEnable, :TransferItems, :NotifyDuration, :NotifyMessage, :NotifyMaxCount, :CustomTTSConfig, :PromptVariables, :VadSilenceTime, :ExtractConfig, :Temperature, :Variables, :TopP, :VadLevel, :ToneWord, :EnableComplianceAudio
1397
+ # @param EnableVoicemailDetection: 是否开启语音信箱识别
1398
+ # @type EnableVoicemailDetection: Boolean
1399
+ # @param VoicemailAction: 识别到对端为语音信箱时的行为,当EnableVoicemailDetection为True时生效
1400
+ # 0: 挂断电话(默认)
1401
+ # @type VoicemailAction: Integer
1402
+ # @param LLMExtraBody: 大模型拓展参数, 格式为json字符串
1403
+ # @type LLMExtraBody: String
1404
+
1405
+ attr_accessor :SdkAppId, :Callee, :LLMType, :APIKey, :APIUrl, :SystemPrompt, :Model, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :WelcomeMessagePriority, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :TransferFunctionEnable, :TransferItems, :NotifyDuration, :NotifyMessage, :NotifyMaxCount, :CustomTTSConfig, :PromptVariables, :VadSilenceTime, :ExtractConfig, :Temperature, :Variables, :TopP, :VadLevel, :ToneWord, :EnableComplianceAudio, :EnableVoicemailDetection, :VoicemailAction, :LLMExtraBody
1399
1406
  extend Gem::Deprecate
1400
1407
  deprecate :PromptVariables, :none, 2025, 11
1401
1408
  deprecate :PromptVariables=, :none, 2025, 11
1402
1409
 
1403
- def initialize(sdkappid=nil, callee=nil, llmtype=nil, apikey=nil, apiurl=nil, systemprompt=nil, model=nil, voicetype=nil, callers=nil, welcomemessage=nil, welcometype=nil, welcomemessagepriority=nil, maxduration=nil, languages=nil, interruptmode=nil, interruptspeechduration=nil, endfunctionenable=nil, endfunctiondesc=nil, transferfunctionenable=nil, transferitems=nil, notifyduration=nil, notifymessage=nil, notifymaxcount=nil, customttsconfig=nil, promptvariables=nil, vadsilencetime=nil, extractconfig=nil, temperature=nil, variables=nil, topp=nil, vadlevel=nil, toneword=nil, enablecomplianceaudio=nil)
1410
+ def initialize(sdkappid=nil, callee=nil, llmtype=nil, apikey=nil, apiurl=nil, systemprompt=nil, model=nil, voicetype=nil, callers=nil, welcomemessage=nil, welcometype=nil, welcomemessagepriority=nil, maxduration=nil, languages=nil, interruptmode=nil, interruptspeechduration=nil, endfunctionenable=nil, endfunctiondesc=nil, transferfunctionenable=nil, transferitems=nil, notifyduration=nil, notifymessage=nil, notifymaxcount=nil, customttsconfig=nil, promptvariables=nil, vadsilencetime=nil, extractconfig=nil, temperature=nil, variables=nil, topp=nil, vadlevel=nil, toneword=nil, enablecomplianceaudio=nil, enablevoicemaildetection=nil, voicemailaction=nil, llmextrabody=nil)
1404
1411
  @SdkAppId = sdkappid
1405
1412
  @Callee = callee
1406
1413
  @LLMType = llmtype
@@ -1434,6 +1441,9 @@ module TencentCloud
1434
1441
  @VadLevel = vadlevel
1435
1442
  @ToneWord = toneword
1436
1443
  @EnableComplianceAudio = enablecomplianceaudio
1444
+ @EnableVoicemailDetection = enablevoicemaildetection
1445
+ @VoicemailAction = voicemailaction
1446
+ @LLMExtraBody = llmextrabody
1437
1447
  end
1438
1448
 
1439
1449
  def deserialize(params)
@@ -1501,6 +1511,9 @@ module TencentCloud
1501
1511
  @ToneWord.deserialize(params['ToneWord'])
1502
1512
  end
1503
1513
  @EnableComplianceAudio = params['EnableComplianceAudio']
1514
+ @EnableVoicemailDetection = params['EnableVoicemailDetection']
1515
+ @VoicemailAction = params['VoicemailAction']
1516
+ @LLMExtraBody = params['LLMExtraBody']
1504
1517
  end
1505
1518
  end
1506
1519
 
@@ -5871,6 +5884,42 @@ module TencentCloud
5871
5884
  end
5872
5885
  end
5873
5886
 
5887
+ # PauseAutoCalloutTask请求参数结构体
5888
+ class PauseAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
5889
+ # @param TaskId: 任务Id
5890
+ # @type TaskId: Integer
5891
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
5892
+ # @type SdkAppId: Integer
5893
+
5894
+ attr_accessor :TaskId, :SdkAppId
5895
+
5896
+ def initialize(taskid=nil, sdkappid=nil)
5897
+ @TaskId = taskid
5898
+ @SdkAppId = sdkappid
5899
+ end
5900
+
5901
+ def deserialize(params)
5902
+ @TaskId = params['TaskId']
5903
+ @SdkAppId = params['SdkAppId']
5904
+ end
5905
+ end
5906
+
5907
+ # PauseAutoCalloutTask返回参数结构体
5908
+ class PauseAutoCalloutTaskResponse < TencentCloud::Common::AbstractModel
5909
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5910
+ # @type RequestId: String
5911
+
5912
+ attr_accessor :RequestId
5913
+
5914
+ def initialize(requestid=nil)
5915
+ @RequestId = requestid
5916
+ end
5917
+
5918
+ def deserialize(params)
5919
+ @RequestId = params['RequestId']
5920
+ end
5921
+ end
5922
+
5874
5923
  # PausePredictiveDialingCampaign请求参数结构体
5875
5924
  class PausePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
5876
5925
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -6019,6 +6068,42 @@ module TencentCloud
6019
6068
  end
6020
6069
  end
6021
6070
 
6071
+ # ResumeAutoCalloutTask请求参数结构体
6072
+ class ResumeAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
6073
+ # @param TaskId: 任务Id
6074
+ # @type TaskId: Integer
6075
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
6076
+ # @type SdkAppId: Integer
6077
+
6078
+ attr_accessor :TaskId, :SdkAppId
6079
+
6080
+ def initialize(taskid=nil, sdkappid=nil)
6081
+ @TaskId = taskid
6082
+ @SdkAppId = sdkappid
6083
+ end
6084
+
6085
+ def deserialize(params)
6086
+ @TaskId = params['TaskId']
6087
+ @SdkAppId = params['SdkAppId']
6088
+ end
6089
+ end
6090
+
6091
+ # ResumeAutoCalloutTask返回参数结构体
6092
+ class ResumeAutoCalloutTaskResponse < TencentCloud::Common::AbstractModel
6093
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6094
+ # @type RequestId: String
6095
+
6096
+ attr_accessor :RequestId
6097
+
6098
+ def initialize(requestid=nil)
6099
+ @RequestId = requestid
6100
+ end
6101
+
6102
+ def deserialize(params)
6103
+ @RequestId = params['RequestId']
6104
+ end
6105
+ end
6106
+
6022
6107
  # ResumePredictiveDialingCampaign请求参数结构体
6023
6108
  class ResumePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
6024
6109
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ccc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1163
4
+ version: 3.0.1169
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-06 00:00:00.000000000 Z
11
+ date: 2025-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common