tencentcloud-sdk-ccc 3.0.1163 → 3.0.1174

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: ba6e0cf95171d098c1ff9dbbdb62fda14ab06fb3
4
+ data.tar.gz: 1f63a5a6d695cea6878e6ec56e8b122c45d8562d
5
5
  SHA512:
6
- metadata.gz: e43dc48c5d82eaed7b0e272c437991f9092de3b686697c8faba86312ece1debb0edefcd291a54f545d36bf01b51c8af3e1b6bf4d4eccf3c83074b0ab08ac8582
7
- data.tar.gz: db7db828b0a02d250efb833db5508e877528d79cf9d167d25df2f24e7a325c284fac3c7c8398709c095b8cb0fd28f8e61a1f579957107c644c8c9e666144488d
6
+ metadata.gz: 571863b18e3afced0e44c809b580f19adfba4d7b62785bac9f05d7c1d164ae9b4733b57461645ac0b0c8e03e39ae0020e695af5a2f8e1458984dd3200a95ea7c
7
+ data.tar.gz: 42de6474f627ada7a41eb77bd64932eabba4d85db4ddfdf719bf0a28b335fa878cbd5ad8daf327f8aff817a1c3edfbb55ebda9a2740bea86dcc34d27d184dc9f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1163
1
+ 3.0.1174
@@ -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
 
@@ -1668,10 +1681,12 @@ module TencentCloud
1668
1681
  # @type AvailableTime: Array
1669
1682
  # @param AIAgentId: 智能体 ID,不填写时需要填写 IvrId
1670
1683
  # @type AIAgentId: Integer
1684
+ # @param RetryInterval: 任务失败重试时间间隔,重试间隔 600秒~86400 秒
1685
+ # @type RetryInterval: Integer
1671
1686
 
1672
- attr_accessor :SdkAppId, :NotBefore, :Callees, :Callers, :IvrId, :Name, :Description, :NotAfter, :Tries, :Variables, :UUI, :CalleeAttributes, :TimeZone, :AvailableTime, :AIAgentId
1687
+ attr_accessor :SdkAppId, :NotBefore, :Callees, :Callers, :IvrId, :Name, :Description, :NotAfter, :Tries, :Variables, :UUI, :CalleeAttributes, :TimeZone, :AvailableTime, :AIAgentId, :RetryInterval
1673
1688
 
1674
- def initialize(sdkappid=nil, notbefore=nil, callees=nil, callers=nil, ivrid=nil, name=nil, description=nil, notafter=nil, tries=nil, variables=nil, uui=nil, calleeattributes=nil, timezone=nil, availabletime=nil, aiagentid=nil)
1689
+ def initialize(sdkappid=nil, notbefore=nil, callees=nil, callers=nil, ivrid=nil, name=nil, description=nil, notafter=nil, tries=nil, variables=nil, uui=nil, calleeattributes=nil, timezone=nil, availabletime=nil, aiagentid=nil, retryinterval=nil)
1675
1690
  @SdkAppId = sdkappid
1676
1691
  @NotBefore = notbefore
1677
1692
  @Callees = callees
@@ -1687,6 +1702,7 @@ module TencentCloud
1687
1702
  @TimeZone = timezone
1688
1703
  @AvailableTime = availabletime
1689
1704
  @AIAgentId = aiagentid
1705
+ @RetryInterval = retryinterval
1690
1706
  end
1691
1707
 
1692
1708
  def deserialize(params)
@@ -1726,6 +1742,7 @@ module TencentCloud
1726
1742
  end
1727
1743
  end
1728
1744
  @AIAgentId = params['AIAgentId']
1745
+ @RetryInterval = params['RetryInterval']
1729
1746
  end
1730
1747
  end
1731
1748
 
@@ -5871,6 +5888,42 @@ module TencentCloud
5871
5888
  end
5872
5889
  end
5873
5890
 
5891
+ # PauseAutoCalloutTask请求参数结构体
5892
+ class PauseAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
5893
+ # @param TaskId: 任务Id
5894
+ # @type TaskId: Integer
5895
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
5896
+ # @type SdkAppId: Integer
5897
+
5898
+ attr_accessor :TaskId, :SdkAppId
5899
+
5900
+ def initialize(taskid=nil, sdkappid=nil)
5901
+ @TaskId = taskid
5902
+ @SdkAppId = sdkappid
5903
+ end
5904
+
5905
+ def deserialize(params)
5906
+ @TaskId = params['TaskId']
5907
+ @SdkAppId = params['SdkAppId']
5908
+ end
5909
+ end
5910
+
5911
+ # PauseAutoCalloutTask返回参数结构体
5912
+ class PauseAutoCalloutTaskResponse < TencentCloud::Common::AbstractModel
5913
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5914
+ # @type RequestId: String
5915
+
5916
+ attr_accessor :RequestId
5917
+
5918
+ def initialize(requestid=nil)
5919
+ @RequestId = requestid
5920
+ end
5921
+
5922
+ def deserialize(params)
5923
+ @RequestId = params['RequestId']
5924
+ end
5925
+ end
5926
+
5874
5927
  # PausePredictiveDialingCampaign请求参数结构体
5875
5928
  class PausePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
5876
5929
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -6019,6 +6072,42 @@ module TencentCloud
6019
6072
  end
6020
6073
  end
6021
6074
 
6075
+ # ResumeAutoCalloutTask请求参数结构体
6076
+ class ResumeAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
6077
+ # @param TaskId: 任务Id
6078
+ # @type TaskId: Integer
6079
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
6080
+ # @type SdkAppId: Integer
6081
+
6082
+ attr_accessor :TaskId, :SdkAppId
6083
+
6084
+ def initialize(taskid=nil, sdkappid=nil)
6085
+ @TaskId = taskid
6086
+ @SdkAppId = sdkappid
6087
+ end
6088
+
6089
+ def deserialize(params)
6090
+ @TaskId = params['TaskId']
6091
+ @SdkAppId = params['SdkAppId']
6092
+ end
6093
+ end
6094
+
6095
+ # ResumeAutoCalloutTask返回参数结构体
6096
+ class ResumeAutoCalloutTaskResponse < TencentCloud::Common::AbstractModel
6097
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6098
+ # @type RequestId: String
6099
+
6100
+ attr_accessor :RequestId
6101
+
6102
+ def initialize(requestid=nil)
6103
+ @RequestId = requestid
6104
+ end
6105
+
6106
+ def deserialize(params)
6107
+ @RequestId = params['RequestId']
6108
+ end
6109
+ end
6110
+
6022
6111
  # ResumePredictiveDialingCampaign请求参数结构体
6023
6112
  class ResumePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
6024
6113
  # @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.1174
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-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-ccc.rb
37
- - lib/v20200210/client.rb
38
36
  - lib/v20200210/models.rb
37
+ - lib/v20200210/client.rb
38
+ - lib/tencentcloud-sdk-ccc.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: