tencentcloud-sdk-ccc 3.0.1178 → 3.0.1192

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: 06a4e1d9fb0f1db4e3da85e80df9f56333d43e90
4
- data.tar.gz: 7fecd5cbc5cbeda8337ff3099a037fb5fcb87db0
3
+ metadata.gz: deecd5e9b4230deeb0889d754318d1586d4993fb
4
+ data.tar.gz: fddb38352c4a0b6e92466cbc46ca52a63c3ccb25
5
5
  SHA512:
6
- metadata.gz: 5f4fd6c47d6c6830d8541be82bba0889c56f3c041406af9ad6c4144556d2ffef65d61e3adef489e95fd4b8b4b1b06b87405b23590cba83f031d56bac03d83729
7
- data.tar.gz: be0bf9caff0dac054d95fe94e91b24b51109f5869c3efb963bf96409f4e66783201032549f6c68dbdb5c900d44588c7d85438d9ba807327678bdb78a0ca8232e
6
+ metadata.gz: 47948d55659b76fb3bf4f1f2a76563fcda52e9fdf37d0b68e82f6a1d0548a840ada4882b35839a46249fc6022c96d1e29d27d919756a2c1b2f20458375cc08b4
7
+ data.tar.gz: 379b7ac84bdc77313d7602fb8a61ccc1e5ad728fe92326f93c332f2f2e7214af0871b8d84f90574d7a9773951ca23b2b1b20e890d75e57c303615a65c9388765
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1178
1
+ 3.0.1192
@@ -173,11 +173,9 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
- # 用于创建**一次性的智能体外呼任务**。与直接调用原始AI模型的模型通话不同,此接口基于您在实例中预配置的、具备完整业务流程的智能体来发起通话,仅限自有电话号码使用,目前开通高级版座席**限时**免费体验。
176
+ # 用于创建**一次性的智能体外呼通话**。你可以在管理端-智能体管理中,新建语音智能体,进行 [对话流程配置](https://cloud.tencent.com/document/product/679/119796) 。该接口可调用配置完成的智能体发起单次的外呼任务。若需创建批量智能体外呼任务,请参考文档 [创建自动外呼任务](https://cloud.tencent.com/document/product/679/69194)。
177
177
 
178
- # 若需创建批量智能体外呼任务,请参考文档 [创建自动外呼任务](https://cloud.tencent.com/document/product/679/69194)。
179
-
180
- # 发起通话前,请先确认您的AI模型是否兼容 OpenAI、Azure 或 Minimax 协议,并前往模型服务商网站获取相关鉴权信息。 具体功能说明请参考文档 [腾讯云联络中心AI通话平台](https://cloud.tencent.com/document/product/679/112100)。
178
+ # 该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
181
179
 
182
180
  # @param request: Request instance for CreateAIAgentCall.
183
181
  # @type request: :class:`Tencentcloud::ccc::V20200210::CreateAIAgentCallRequest`
@@ -275,7 +273,9 @@ module TencentCloud
275
273
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
276
274
  end
277
275
 
278
- # 创建自动外呼任务
276
+ # 用于**创建批量自动外呼通话**,系统将根据任务配置,自动向指定的**被叫号码列表**发起外呼通话。该接口可调用配置完成的智能体发起批量的外呼任务,你可以在管理端-智能体管理中,新建语音智能体,进行 [对话流程配置](https://cloud.tencent.com/document/product/679/119796)。若需创建单次智能体外呼任务,请参考文档 [创建单次智能体通话](https://cloud.tencent.com/document/product/679/115681)。
277
+
278
+ # 该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
279
279
 
280
280
  # @param request: Request instance for CreateAutoCalloutTask.
281
281
  # @type request: :class:`Tencentcloud::ccc::V20200210::CreateAutoCalloutTaskRequest`
@@ -663,7 +663,7 @@ module TencentCloud
663
663
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
664
664
  end
665
665
 
666
- # 获取智能体列表
666
+ # 本接口用于分页查询指定实例(SdkAppId)下已配置的智能体信息列表,包括智能体ID和名称等基本信息。
667
667
 
668
668
  # @param request: Request instance for DescribeAIAgentInfoList.
669
669
  # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeAIAgentInfoListRequest`
@@ -711,7 +711,7 @@ module TencentCloud
711
711
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
712
712
  end
713
713
 
714
- # 获取 AI 通话内容提取结果。
714
+ # 本接口用于:在语音智能体通话结束后,通过 Session ID 查询指定会话的 **话后标签** 结果。相关话后标签需提前在管理端完成配置,具体说明请参见 [话后标签](https://cloud.tencent.com/document/product/679/119800) 。
715
715
 
716
716
  # @param request: Request instance for DescribeAICallExtractResult.
717
717
  # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeAICallExtractResultRequest`
@@ -735,7 +735,11 @@ module TencentCloud
735
735
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
736
736
  end
737
737
 
738
- # 获取 AI 时延信息
738
+ # 调用该接口,可以通过 Session ID 查询指定会话在特定时间段内,AI服务的处理时延明细与统计数据,时延信息包括:
739
+ # - 端到端(ETE)时延:统计从用户语音输入到 AI 返回完整响应的整体耗时。
740
+ # - 自动语音识别(ASR)时延:统计语音输入被识别为文本所需的处理耗时。
741
+ # - 大语言模型(LLM)时延:统计 AI 模型生成文本内容的推理耗时。
742
+ # - 语音合成(TTS)时延:统计文本转换为语音音频的合成耗时。
739
743
 
740
744
  # @param request: Request instance for DescribeAILatency.
741
745
  # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeAILatencyRequest`
@@ -1649,7 +1653,8 @@ module TencentCloud
1649
1653
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1650
1654
  end
1651
1655
 
1652
- # 暂停未完成的自动外呼任务
1656
+ # 用于通过 TaskId **暂停一个正在执行的自动外呼任务**。调用该接口后,任务将被临时中断,不再发起新的外呼请求;已发起的通话不受影响。
1657
+ # 暂停后的任务可通过 [恢复暂停的自动外呼任务](https://cloud.tencent.com/document/product/679/125356) 接口继续执行。如需永久终止任务,请参考 [停止自动外呼任务](https://cloud.tencent.com/document/product/679/69192)。
1653
1658
 
1654
1659
  # @param request: Request instance for PauseAutoCalloutTask.
1655
1660
  # @type request: :class:`Tencentcloud::ccc::V20200210::PauseAutoCalloutTaskRequest`
@@ -1697,6 +1702,30 @@ module TencentCloud
1697
1702
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1698
1703
  end
1699
1704
 
1705
+ # 对与座席通话中的会话,进行放音
1706
+
1707
+ # @param request: Request instance for PlaySoundCall.
1708
+ # @type request: :class:`Tencentcloud::ccc::V20200210::PlaySoundCallRequest`
1709
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::PlaySoundCallResponse`
1710
+ def PlaySoundCall(request)
1711
+ body = send_request('PlaySoundCall', request.serialize)
1712
+ response = JSON.parse(body)
1713
+ if response['Response'].key?('Error') == false
1714
+ model = PlaySoundCallResponse.new
1715
+ model.deserialize(response['Response'])
1716
+ model
1717
+ else
1718
+ code = response['Response']['Error']['Code']
1719
+ message = response['Response']['Error']['Message']
1720
+ reqid = response['Response']['RequestId']
1721
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1722
+ end
1723
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1724
+ raise e
1725
+ rescue StandardError => e
1726
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1727
+ end
1728
+
1700
1729
  # 重置话机注册密码
1701
1730
 
1702
1731
  # @param request: Request instance for ResetExtensionPassword.
@@ -1745,7 +1774,7 @@ module TencentCloud
1745
1774
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1746
1775
  end
1747
1776
 
1748
- # 暂停未完成的自动外呼任务
1777
+ # 用于通过 TaskId **恢复一个已被暂停的自动外呼任务**。该接口适用于在调用 [暂停自动外呼任务](https://cloud.tencent.com/document/product/679/125357) 后,需继续执行剩余外呼计划的场景。调用成功后,任务将从暂停状态恢复,重新发起未完成的外呼请求。
1749
1778
 
1750
1779
  # @param request: Request instance for ResumeAutoCalloutTask.
1751
1780
  # @type request: :class:`Tencentcloud::ccc::V20200210::ResumeAutoCalloutTaskRequest`
@@ -5996,6 +5996,50 @@ module TencentCloud
5996
5996
  end
5997
5997
  end
5998
5998
 
5999
+ # PlaySoundCall请求参数结构体
6000
+ class PlaySoundCallRequest < TencentCloud::Common::AbstractModel
6001
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
6002
+ # @type SdkAppId: Integer
6003
+ # @param SessionId: 会话ID
6004
+ # @type SessionId: String
6005
+ # @param FileId: 音频文件 ID,参见管理端-电话客服-放音文件管理
6006
+ # @type FileId: Integer
6007
+ # @param PlayTimes: 放音次数,默认 1 次
6008
+ # @type PlayTimes: Integer
6009
+
6010
+ attr_accessor :SdkAppId, :SessionId, :FileId, :PlayTimes
6011
+
6012
+ def initialize(sdkappid=nil, sessionid=nil, fileid=nil, playtimes=nil)
6013
+ @SdkAppId = sdkappid
6014
+ @SessionId = sessionid
6015
+ @FileId = fileid
6016
+ @PlayTimes = playtimes
6017
+ end
6018
+
6019
+ def deserialize(params)
6020
+ @SdkAppId = params['SdkAppId']
6021
+ @SessionId = params['SessionId']
6022
+ @FileId = params['FileId']
6023
+ @PlayTimes = params['PlayTimes']
6024
+ end
6025
+ end
6026
+
6027
+ # PlaySoundCall返回参数结构体
6028
+ class PlaySoundCallResponse < TencentCloud::Common::AbstractModel
6029
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6030
+ # @type RequestId: String
6031
+
6032
+ attr_accessor :RequestId
6033
+
6034
+ def initialize(requestid=nil)
6035
+ @RequestId = requestid
6036
+ end
6037
+
6038
+ def deserialize(params)
6039
+ @RequestId = params['RequestId']
6040
+ end
6041
+ end
6042
+
5999
6043
  # ResetExtensionPassword请求参数结构体
6000
6044
  class ResetExtensionPasswordRequest < TencentCloud::Common::AbstractModel
6001
6045
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -7075,13 +7119,17 @@ module TencentCloud
7075
7119
  # @type VoicemailRecordURL: Array
7076
7120
  # @param VoicemailAsrURL: 通话中语音留言ASR文本信息地址
7077
7121
  # @type VoicemailAsrURL: Array
7122
+ # @param AIAgentId: 如果是智能体相关通话,这里是智能体 ID
7123
+ # @type AIAgentId: Integer
7124
+ # @param AIAgentName: 如果是智能体相关通话,这里是智能体名称
7125
+ # @type AIAgentName: String
7078
7126
 
7079
- attr_accessor :Caller, :Callee, :Time, :Direction, :CallType, :Duration, :RecordURL, :RecordId, :SeatUser, :EndStatus, :SkillGroup, :CallerLocation, :IVRDuration, :RingTimestamp, :AcceptTimestamp, :EndedTimestamp, :IVRKeyPressed, :HungUpSide, :ServeParticipants, :SkillGroupId, :EndStatusString, :StartTimestamp, :QueuedTimestamp, :PostIVRKeyPressed, :QueuedSkillGroupId, :SessionId, :ProtectedCaller, :ProtectedCallee, :Uui, :UUI, :IVRKeyPressedEx, :AsrUrl, :AsrStatus, :CustomRecordURL, :Remark, :QueuedSkillGroupName, :VoicemailRecordURL, :VoicemailAsrURL
7127
+ attr_accessor :Caller, :Callee, :Time, :Direction, :CallType, :Duration, :RecordURL, :RecordId, :SeatUser, :EndStatus, :SkillGroup, :CallerLocation, :IVRDuration, :RingTimestamp, :AcceptTimestamp, :EndedTimestamp, :IVRKeyPressed, :HungUpSide, :ServeParticipants, :SkillGroupId, :EndStatusString, :StartTimestamp, :QueuedTimestamp, :PostIVRKeyPressed, :QueuedSkillGroupId, :SessionId, :ProtectedCaller, :ProtectedCallee, :Uui, :UUI, :IVRKeyPressedEx, :AsrUrl, :AsrStatus, :CustomRecordURL, :Remark, :QueuedSkillGroupName, :VoicemailRecordURL, :VoicemailAsrURL, :AIAgentId, :AIAgentName
7080
7128
  extend Gem::Deprecate
7081
7129
  deprecate :Uui, :none, 2025, 12
7082
7130
  deprecate :Uui=, :none, 2025, 12
7083
7131
 
7084
- def initialize(caller=nil, callee=nil, time=nil, direction=nil, calltype=nil, duration=nil, recordurl=nil, recordid=nil, seatuser=nil, endstatus=nil, skillgroup=nil, callerlocation=nil, ivrduration=nil, ringtimestamp=nil, accepttimestamp=nil, endedtimestamp=nil, ivrkeypressed=nil, hungupside=nil, serveparticipants=nil, skillgroupid=nil, endstatusstring=nil, starttimestamp=nil, queuedtimestamp=nil, postivrkeypressed=nil, queuedskillgroupid=nil, sessionid=nil, protectedcaller=nil, protectedcallee=nil, uui=nil, ivrkeypressedex=nil, asrurl=nil, asrstatus=nil, customrecordurl=nil, remark=nil, queuedskillgroupname=nil, voicemailrecordurl=nil, voicemailasrurl=nil)
7132
+ def initialize(caller=nil, callee=nil, time=nil, direction=nil, calltype=nil, duration=nil, recordurl=nil, recordid=nil, seatuser=nil, endstatus=nil, skillgroup=nil, callerlocation=nil, ivrduration=nil, ringtimestamp=nil, accepttimestamp=nil, endedtimestamp=nil, ivrkeypressed=nil, hungupside=nil, serveparticipants=nil, skillgroupid=nil, endstatusstring=nil, starttimestamp=nil, queuedtimestamp=nil, postivrkeypressed=nil, queuedskillgroupid=nil, sessionid=nil, protectedcaller=nil, protectedcallee=nil, uui=nil, ivrkeypressedex=nil, asrurl=nil, asrstatus=nil, customrecordurl=nil, remark=nil, queuedskillgroupname=nil, voicemailrecordurl=nil, voicemailasrurl=nil, aiagentid=nil, aiagentname=nil)
7085
7133
  @Caller = caller
7086
7134
  @Callee = callee
7087
7135
  @Time = time
@@ -7119,6 +7167,8 @@ module TencentCloud
7119
7167
  @QueuedSkillGroupName = queuedskillgroupname
7120
7168
  @VoicemailRecordURL = voicemailrecordurl
7121
7169
  @VoicemailAsrURL = voicemailasrurl
7170
+ @AIAgentId = aiagentid
7171
+ @AIAgentName = aiagentname
7122
7172
  end
7123
7173
 
7124
7174
  def deserialize(params)
@@ -7183,6 +7233,8 @@ module TencentCloud
7183
7233
  @QueuedSkillGroupName = params['QueuedSkillGroupName']
7184
7234
  @VoicemailRecordURL = params['VoicemailRecordURL']
7185
7235
  @VoicemailAsrURL = params['VoicemailAsrURL']
7236
+ @AIAgentId = params['AIAgentId']
7237
+ @AIAgentName = params['AIAgentName']
7186
7238
  end
7187
7239
  end
7188
7240
 
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.1178
4
+ version: 3.0.1192
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-12-08 00:00:00.000000000 Z
11
+ date: 2025-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20200210/models.rb
37
36
  - lib/v20200210/client.rb
37
+ - lib/v20200210/models.rb
38
38
  - lib/tencentcloud-sdk-ccc.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby