tencentcloud-sdk-ccc 3.0.1190 → 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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200210/client.rb +24 -0
- data/lib/v20200210/models.rb +54 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: deecd5e9b4230deeb0889d754318d1586d4993fb
|
|
4
|
+
data.tar.gz: fddb38352c4a0b6e92466cbc46ca52a63c3ccb25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47948d55659b76fb3bf4f1f2a76563fcda52e9fdf37d0b68e82f6a1d0548a840ada4882b35839a46249fc6022c96d1e29d27d919756a2c1b2f20458375cc08b4
|
|
7
|
+
data.tar.gz: 379b7ac84bdc77313d7602fb8a61ccc1e5ad728fe92326f93c332f2f2e7214af0871b8d84f90574d7a9773951ca23b2b1b20e890d75e57c303615a65c9388765
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1192
|
data/lib/v20200210/client.rb
CHANGED
|
@@ -1702,6 +1702,30 @@ module TencentCloud
|
|
|
1702
1702
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1703
1703
|
end
|
|
1704
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
|
+
|
|
1705
1729
|
# 重置话机注册密码
|
|
1706
1730
|
|
|
1707
1731
|
# @param request: Request instance for ResetExtensionPassword.
|
data/lib/v20200210/models.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
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
|