tencentcloud-sdk-ccc 3.0.1105 → 3.0.1138
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 +48 -0
- data/lib/v20200210/models.rb +366 -34
- 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: 0307a897f2c762cde3248527827eb875440d12fc
|
4
|
+
data.tar.gz: 9aa800d24d990b53924c75c25354587fe18d8b05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fffa7ea04ccd3a5db81478b714a755c9a80345ee1b42c5f1a3e331e9c6e52ccf6ac18a940a8563a99445ed6d602e97028d4b676abba4322b1ae81472d85d4bff
|
7
|
+
data.tar.gz: d230944ef871f6d37e94996627caa4adfc6cdc3239e67ffde34c74753e3e9114252e43d1358a12f511f74c902ea1d6278dece203a7d800662dcfd7ebc3cacb40
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1138
|
data/lib/v20200210/client.rb
CHANGED
@@ -1191,6 +1191,30 @@ module TencentCloud
|
|
1191
1191
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1192
1192
|
end
|
1193
1193
|
|
1194
|
+
# 获取通话详情
|
1195
|
+
|
1196
|
+
# @param request: Request instance for DescribeSessionDetail.
|
1197
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::DescribeSessionDetailRequest`
|
1198
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeSessionDetailResponse`
|
1199
|
+
def DescribeSessionDetail(request)
|
1200
|
+
body = send_request('DescribeSessionDetail', request.serialize)
|
1201
|
+
response = JSON.parse(body)
|
1202
|
+
if response['Response'].key?('Error') == false
|
1203
|
+
model = DescribeSessionDetailResponse.new
|
1204
|
+
model.deserialize(response['Response'])
|
1205
|
+
model
|
1206
|
+
else
|
1207
|
+
code = response['Response']['Error']['Code']
|
1208
|
+
message = response['Response']['Error']['Message']
|
1209
|
+
reqid = response['Response']['RequestId']
|
1210
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1211
|
+
end
|
1212
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1213
|
+
raise e
|
1214
|
+
rescue StandardError => e
|
1215
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1216
|
+
end
|
1217
|
+
|
1194
1218
|
# 获取技能组信息列表
|
1195
1219
|
|
1196
1220
|
# @param request: Request instance for DescribeSkillGroupInfoList.
|
@@ -1239,6 +1263,30 @@ module TencentCloud
|
|
1239
1263
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1240
1264
|
end
|
1241
1265
|
|
1266
|
+
# 查询座席状态历史
|
1267
|
+
|
1268
|
+
# @param request: Request instance for DescribeStaffStatusHistory.
|
1269
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::DescribeStaffStatusHistoryRequest`
|
1270
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeStaffStatusHistoryResponse`
|
1271
|
+
def DescribeStaffStatusHistory(request)
|
1272
|
+
body = send_request('DescribeStaffStatusHistory', request.serialize)
|
1273
|
+
response = JSON.parse(body)
|
1274
|
+
if response['Response'].key?('Error') == false
|
1275
|
+
model = DescribeStaffStatusHistoryResponse.new
|
1276
|
+
model.deserialize(response['Response'])
|
1277
|
+
model
|
1278
|
+
else
|
1279
|
+
code = response['Response']['Error']['Code']
|
1280
|
+
message = response['Response']['Error']['Message']
|
1281
|
+
reqid = response['Response']['RequestId']
|
1282
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1283
|
+
end
|
1284
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1285
|
+
raise e
|
1286
|
+
rescue StandardError => e
|
1287
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1288
|
+
end
|
1289
|
+
|
1242
1290
|
# 获取坐席实时状态统计指标
|
1243
1291
|
|
1244
1292
|
# @param request: Request instance for DescribeStaffStatusMetrics.
|
data/lib/v20200210/models.rb
CHANGED
@@ -355,8 +355,8 @@ module TencentCloud
|
|
355
355
|
|
356
356
|
attr_accessor :User, :Message, :Timestamp, :Start, :End
|
357
357
|
extend Gem::Deprecate
|
358
|
-
deprecate :Timestamp, :none, 2025,
|
359
|
-
deprecate :Timestamp=, :none, 2025,
|
358
|
+
deprecate :Timestamp, :none, 2025, 9
|
359
|
+
deprecate :Timestamp=, :none, 2025, 9
|
360
360
|
|
361
361
|
def initialize(user=nil, message=nil, timestamp=nil, start=nil, _end=nil)
|
362
362
|
@User = user
|
@@ -573,8 +573,8 @@ module TencentCloud
|
|
573
573
|
|
574
574
|
attr_accessor :SdkAppId, :StaffEmail, :SkillGroupList, :StaffSkillGroupList
|
575
575
|
extend Gem::Deprecate
|
576
|
-
deprecate :SkillGroupList, :none, 2025,
|
577
|
-
deprecate :SkillGroupList=, :none, 2025,
|
576
|
+
deprecate :SkillGroupList, :none, 2025, 9
|
577
|
+
deprecate :SkillGroupList=, :none, 2025, 9
|
578
578
|
|
579
579
|
def initialize(sdkappid=nil, staffemail=nil, skillgrouplist=nil, staffskillgrouplist=nil)
|
580
580
|
@SdkAppId = sdkappid
|
@@ -1048,8 +1048,8 @@ module TencentCloud
|
|
1048
1048
|
|
1049
1049
|
attr_accessor :SdkAppId, :AIAgentId, :Callee, :Callers, :PromptVariables, :Variables
|
1050
1050
|
extend Gem::Deprecate
|
1051
|
-
deprecate :PromptVariables, :none, 2025,
|
1052
|
-
deprecate :PromptVariables=, :none, 2025,
|
1051
|
+
deprecate :PromptVariables, :none, 2025, 9
|
1052
|
+
deprecate :PromptVariables=, :none, 2025, 9
|
1053
1053
|
|
1054
1054
|
def initialize(sdkappid=nil, aiagentid=nil, callee=nil, callers=nil, promptvariables=nil, variables=nil)
|
1055
1055
|
@SdkAppId = sdkappid
|
@@ -1340,13 +1340,18 @@ module TencentCloud
|
|
1340
1340
|
# @type VadLevel: Integer
|
1341
1341
|
# @param ToneWord: 衔接语
|
1342
1342
|
# @type ToneWord: :class:`Tencentcloud::Ccc.v20200210.models.ToneWordInfo`
|
1343
|
+
# @param EnableComplianceAudio: 合规提示音,
|
1344
|
+
# 该参数传true(默认)表示通话开始播放摩斯码,提示对话内容为 AI 生成。
|
1345
|
+
# 该参数传false表示关闭合规提示音。该参数传false则代表您知晓并同意以下协议:
|
1346
|
+
# 我方充分知悉和理解,根据[《网络安全法》](https://www.gov.cn/xinwen/2016-11/07/content_5129723.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)的法律法规的规定,对人工智能生成合成内容应当添加显式标识和隐式标识。我方基于业务需求,请腾讯云对生成合成内容不添加显式标识,我方承诺合法合规使用生成合成内容,避免造成混淆、误认;如果使用生成合成内容对公众提供服务的,或通过网络传播的,我方将自觉主动添加符合法律规定和国家标准要求的显式标识,承担人工智能生成合成内容标识的法律义务。我方未能恰当、合理地履行人工智能内容标识义务造成不良后果的,或遭受主管部门责罚的,相关责任由我方完全承担。
|
1347
|
+
# @type EnableComplianceAudio: Boolean
|
1343
1348
|
|
1344
|
-
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
|
1349
|
+
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
|
1345
1350
|
extend Gem::Deprecate
|
1346
|
-
deprecate :PromptVariables, :none, 2025,
|
1347
|
-
deprecate :PromptVariables=, :none, 2025,
|
1351
|
+
deprecate :PromptVariables, :none, 2025, 9
|
1352
|
+
deprecate :PromptVariables=, :none, 2025, 9
|
1348
1353
|
|
1349
|
-
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)
|
1354
|
+
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)
|
1350
1355
|
@SdkAppId = sdkappid
|
1351
1356
|
@Callee = callee
|
1352
1357
|
@LLMType = llmtype
|
@@ -1379,6 +1384,7 @@ module TencentCloud
|
|
1379
1384
|
@TopP = topp
|
1380
1385
|
@VadLevel = vadlevel
|
1381
1386
|
@ToneWord = toneword
|
1387
|
+
@EnableComplianceAudio = enablecomplianceaudio
|
1382
1388
|
end
|
1383
1389
|
|
1384
1390
|
def deserialize(params)
|
@@ -1445,6 +1451,7 @@ module TencentCloud
|
|
1445
1451
|
@ToneWord = ToneWordInfo.new
|
1446
1452
|
@ToneWord.deserialize(params['ToneWord'])
|
1447
1453
|
end
|
1454
|
+
@EnableComplianceAudio = params['EnableComplianceAudio']
|
1448
1455
|
end
|
1449
1456
|
end
|
1450
1457
|
|
@@ -1763,8 +1770,8 @@ module TencentCloud
|
|
1763
1770
|
|
1764
1771
|
attr_accessor :SdkAppId, :UserId, :Callee, :Caller, :Callers, :IsForceUseMobile, :Uui, :UUI
|
1765
1772
|
extend Gem::Deprecate
|
1766
|
-
deprecate :Uui, :none, 2025,
|
1767
|
-
deprecate :Uui=, :none, 2025,
|
1773
|
+
deprecate :Uui, :none, 2025, 9
|
1774
|
+
deprecate :Uui=, :none, 2025, 9
|
1768
1775
|
|
1769
1776
|
def initialize(sdkappid=nil, userid=nil, callee=nil, caller=nil, callers=nil, isforceusemobile=nil, uui=nil)
|
1770
1777
|
@SdkAppId = sdkappid
|
@@ -3107,10 +3114,10 @@ module TencentCloud
|
|
3107
3114
|
|
3108
3115
|
attr_accessor :SdkAppId, :InstanceId, :CdrId, :Limit, :Offset, :Order, :SessionId
|
3109
3116
|
extend Gem::Deprecate
|
3110
|
-
deprecate :InstanceId, :none, 2025,
|
3111
|
-
deprecate :InstanceId=, :none, 2025,
|
3112
|
-
deprecate :CdrId, :none, 2025,
|
3113
|
-
deprecate :CdrId=, :none, 2025,
|
3117
|
+
deprecate :InstanceId, :none, 2025, 9
|
3118
|
+
deprecate :InstanceId=, :none, 2025, 9
|
3119
|
+
deprecate :CdrId, :none, 2025, 9
|
3120
|
+
deprecate :CdrId=, :none, 2025, 9
|
3114
3121
|
|
3115
3122
|
def initialize(sdkappid=nil, instanceid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
|
3116
3123
|
@SdkAppId = sdkappid
|
@@ -3436,8 +3443,8 @@ module TencentCloud
|
|
3436
3443
|
|
3437
3444
|
attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
|
3438
3445
|
extend Gem::Deprecate
|
3439
|
-
deprecate :InstanceId, :none, 2025,
|
3440
|
-
deprecate :InstanceId=, :none, 2025,
|
3446
|
+
deprecate :InstanceId, :none, 2025, 9
|
3447
|
+
deprecate :InstanceId=, :none, 2025, 9
|
3441
3448
|
|
3442
3449
|
def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
|
3443
3450
|
@StartTimestamp = starttimestamp
|
@@ -3474,8 +3481,8 @@ module TencentCloud
|
|
3474
3481
|
|
3475
3482
|
attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
|
3476
3483
|
extend Gem::Deprecate
|
3477
|
-
deprecate :IMCdrs, :none, 2025,
|
3478
|
-
deprecate :IMCdrs=, :none, 2025,
|
3484
|
+
deprecate :IMCdrs, :none, 2025, 9
|
3485
|
+
deprecate :IMCdrs=, :none, 2025, 9
|
3479
3486
|
|
3480
3487
|
def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
|
3481
3488
|
@TotalCount = totalcount
|
@@ -3967,8 +3974,8 @@ module TencentCloud
|
|
3967
3974
|
|
3968
3975
|
attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
|
3969
3976
|
extend Gem::Deprecate
|
3970
|
-
deprecate :TelCdrs, :none, 2025,
|
3971
|
-
deprecate :TelCdrs=, :none, 2025,
|
3977
|
+
deprecate :TelCdrs, :none, 2025, 9
|
3978
|
+
deprecate :TelCdrs=, :none, 2025, 9
|
3972
3979
|
|
3973
3980
|
def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
|
3974
3981
|
@TotalCount = totalcount
|
@@ -3999,6 +4006,170 @@ module TencentCloud
|
|
3999
4006
|
end
|
4000
4007
|
end
|
4001
4008
|
|
4009
|
+
# DescribeSessionDetail请求参数结构体
|
4010
|
+
class DescribeSessionDetailRequest < TencentCloud::Common::AbstractModel
|
4011
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
4012
|
+
# @type SdkAppId: Integer
|
4013
|
+
# @param SessionId: 通话的 session id
|
4014
|
+
# @type SessionId: String
|
4015
|
+
# @param StartTimestamp: 起始时间戳,Unix 秒级时间戳,最大支持近180天。
|
4016
|
+
# @type StartTimestamp: Integer
|
4017
|
+
# @param EndTimestamp: 结束时间戳,Unix 秒级时间戳,结束时间与开始时间的区间范围小于90天。
|
4018
|
+
# @type EndTimestamp: Integer
|
4019
|
+
|
4020
|
+
attr_accessor :SdkAppId, :SessionId, :StartTimestamp, :EndTimestamp
|
4021
|
+
|
4022
|
+
def initialize(sdkappid=nil, sessionid=nil, starttimestamp=nil, endtimestamp=nil)
|
4023
|
+
@SdkAppId = sdkappid
|
4024
|
+
@SessionId = sessionid
|
4025
|
+
@StartTimestamp = starttimestamp
|
4026
|
+
@EndTimestamp = endtimestamp
|
4027
|
+
end
|
4028
|
+
|
4029
|
+
def deserialize(params)
|
4030
|
+
@SdkAppId = params['SdkAppId']
|
4031
|
+
@SessionId = params['SessionId']
|
4032
|
+
@StartTimestamp = params['StartTimestamp']
|
4033
|
+
@EndTimestamp = params['EndTimestamp']
|
4034
|
+
end
|
4035
|
+
end
|
4036
|
+
|
4037
|
+
# DescribeSessionDetail返回参数结构体
|
4038
|
+
class DescribeSessionDetailResponse < TencentCloud::Common::AbstractModel
|
4039
|
+
# @param Caller: 主叫号码
|
4040
|
+
# @type Caller: String
|
4041
|
+
# @param Callee: 被叫号码
|
4042
|
+
# @type Callee: String
|
4043
|
+
# @param CallType: 通话类型 1 呼出 2 呼入 3 音频呼入 5 预测式外呼 6 内线呼叫
|
4044
|
+
# @type CallType: Integer
|
4045
|
+
# @param StartTimeStamp: 开始时间戳,Unix 秒级时间戳
|
4046
|
+
# @type StartTimeStamp: Integer
|
4047
|
+
# @param RingTimestamp: 振铃时间戳,UNIX 秒级时间戳
|
4048
|
+
# @type RingTimestamp: Integer
|
4049
|
+
# @param AcceptTimestamp: 接听时间戳,UNIX 秒级时间戳
|
4050
|
+
# @type AcceptTimestamp: Integer
|
4051
|
+
# @param EndedTimestamp: 结束时间戳,UNIX 秒级时间戳
|
4052
|
+
# @type EndedTimestamp: Integer
|
4053
|
+
# @param QueuedTimestamp: 进入排队时间,Unix 秒级时间戳
|
4054
|
+
# @type QueuedTimestamp: Integer
|
4055
|
+
# @param StaffUserId: 座席账号
|
4056
|
+
# @type StaffUserId: String
|
4057
|
+
# @param EndStatus: 参考 DescribeTelCdr 接口 EndStatus 字段
|
4058
|
+
# @type EndStatus: Integer
|
4059
|
+
# @param QueuedSkillGroupId: 排队技能组 ID
|
4060
|
+
# @type QueuedSkillGroupId: Integer
|
4061
|
+
# @param QueuedSkillGroupName: 排队技能组名称
|
4062
|
+
# @type QueuedSkillGroupName: String
|
4063
|
+
# @param RecordURL: 录音链接,带鉴权和有效期,获取之后请在短时间内拉取,不要持久化此链接
|
4064
|
+
# @type RecordURL: String
|
4065
|
+
# @param CustomRecordURL: 录音转存第三方 COS 链接
|
4066
|
+
# @type CustomRecordURL: String
|
4067
|
+
# @param AsrURL: 录音文本信息链接,带鉴权和有效期,获取之后请在短时间内拉取,不要持久化此链接
|
4068
|
+
# @type AsrURL: String
|
4069
|
+
# @param VoicemailRecordURL: 语音留言录音链接
|
4070
|
+
# @type VoicemailRecordURL: Array
|
4071
|
+
# @param VoicemailAsrURL: 语音留言录音文本信息链接,需在控制台购买离线语音识别套餐包并开启离线语音识别开关
|
4072
|
+
# @type VoicemailAsrURL: Array
|
4073
|
+
# @param IVRKeyPressed: IVR 按键信息
|
4074
|
+
# @type IVRKeyPressed: Array
|
4075
|
+
# @param PostIVRKeyPressed: 满意度按键信息
|
4076
|
+
# @type PostIVRKeyPressed: Array
|
4077
|
+
# @param HungUpSide: 挂机方 seat 座席 user 用户 system 系统
|
4078
|
+
# @type HungUpSide: String
|
4079
|
+
# @param UUI: 客户自定义数据(User-to-User Interface)
|
4080
|
+
# @type UUI: String
|
4081
|
+
# @param Events: 通话中的事件列表
|
4082
|
+
# @type Events: Array
|
4083
|
+
# @param ServeParticipants: 服务参与者列表
|
4084
|
+
# @type ServeParticipants: Array
|
4085
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4086
|
+
# @type RequestId: String
|
4087
|
+
|
4088
|
+
attr_accessor :Caller, :Callee, :CallType, :StartTimeStamp, :RingTimestamp, :AcceptTimestamp, :EndedTimestamp, :QueuedTimestamp, :StaffUserId, :EndStatus, :QueuedSkillGroupId, :QueuedSkillGroupName, :RecordURL, :CustomRecordURL, :AsrURL, :VoicemailRecordURL, :VoicemailAsrURL, :IVRKeyPressed, :PostIVRKeyPressed, :HungUpSide, :UUI, :Events, :ServeParticipants, :RequestId
|
4089
|
+
|
4090
|
+
def initialize(caller=nil, callee=nil, calltype=nil, starttimestamp=nil, ringtimestamp=nil, accepttimestamp=nil, endedtimestamp=nil, queuedtimestamp=nil, staffuserid=nil, endstatus=nil, queuedskillgroupid=nil, queuedskillgroupname=nil, recordurl=nil, customrecordurl=nil, asrurl=nil, voicemailrecordurl=nil, voicemailasrurl=nil, ivrkeypressed=nil, postivrkeypressed=nil, hungupside=nil, uui=nil, events=nil, serveparticipants=nil, requestid=nil)
|
4091
|
+
@Caller = caller
|
4092
|
+
@Callee = callee
|
4093
|
+
@CallType = calltype
|
4094
|
+
@StartTimeStamp = starttimestamp
|
4095
|
+
@RingTimestamp = ringtimestamp
|
4096
|
+
@AcceptTimestamp = accepttimestamp
|
4097
|
+
@EndedTimestamp = endedtimestamp
|
4098
|
+
@QueuedTimestamp = queuedtimestamp
|
4099
|
+
@StaffUserId = staffuserid
|
4100
|
+
@EndStatus = endstatus
|
4101
|
+
@QueuedSkillGroupId = queuedskillgroupid
|
4102
|
+
@QueuedSkillGroupName = queuedskillgroupname
|
4103
|
+
@RecordURL = recordurl
|
4104
|
+
@CustomRecordURL = customrecordurl
|
4105
|
+
@AsrURL = asrurl
|
4106
|
+
@VoicemailRecordURL = voicemailrecordurl
|
4107
|
+
@VoicemailAsrURL = voicemailasrurl
|
4108
|
+
@IVRKeyPressed = ivrkeypressed
|
4109
|
+
@PostIVRKeyPressed = postivrkeypressed
|
4110
|
+
@HungUpSide = hungupside
|
4111
|
+
@UUI = uui
|
4112
|
+
@Events = events
|
4113
|
+
@ServeParticipants = serveparticipants
|
4114
|
+
@RequestId = requestid
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
def deserialize(params)
|
4118
|
+
@Caller = params['Caller']
|
4119
|
+
@Callee = params['Callee']
|
4120
|
+
@CallType = params['CallType']
|
4121
|
+
@StartTimeStamp = params['StartTimeStamp']
|
4122
|
+
@RingTimestamp = params['RingTimestamp']
|
4123
|
+
@AcceptTimestamp = params['AcceptTimestamp']
|
4124
|
+
@EndedTimestamp = params['EndedTimestamp']
|
4125
|
+
@QueuedTimestamp = params['QueuedTimestamp']
|
4126
|
+
@StaffUserId = params['StaffUserId']
|
4127
|
+
@EndStatus = params['EndStatus']
|
4128
|
+
@QueuedSkillGroupId = params['QueuedSkillGroupId']
|
4129
|
+
@QueuedSkillGroupName = params['QueuedSkillGroupName']
|
4130
|
+
@RecordURL = params['RecordURL']
|
4131
|
+
@CustomRecordURL = params['CustomRecordURL']
|
4132
|
+
@AsrURL = params['AsrURL']
|
4133
|
+
@VoicemailRecordURL = params['VoicemailRecordURL']
|
4134
|
+
@VoicemailAsrURL = params['VoicemailAsrURL']
|
4135
|
+
unless params['IVRKeyPressed'].nil?
|
4136
|
+
@IVRKeyPressed = []
|
4137
|
+
params['IVRKeyPressed'].each do |i|
|
4138
|
+
ivrkeypressedelement_tmp = IVRKeyPressedElement.new
|
4139
|
+
ivrkeypressedelement_tmp.deserialize(i)
|
4140
|
+
@IVRKeyPressed << ivrkeypressedelement_tmp
|
4141
|
+
end
|
4142
|
+
end
|
4143
|
+
unless params['PostIVRKeyPressed'].nil?
|
4144
|
+
@PostIVRKeyPressed = []
|
4145
|
+
params['PostIVRKeyPressed'].each do |i|
|
4146
|
+
ivrkeypressedelement_tmp = IVRKeyPressedElement.new
|
4147
|
+
ivrkeypressedelement_tmp.deserialize(i)
|
4148
|
+
@PostIVRKeyPressed << ivrkeypressedelement_tmp
|
4149
|
+
end
|
4150
|
+
end
|
4151
|
+
@HungUpSide = params['HungUpSide']
|
4152
|
+
@UUI = params['UUI']
|
4153
|
+
unless params['Events'].nil?
|
4154
|
+
@Events = []
|
4155
|
+
params['Events'].each do |i|
|
4156
|
+
sessionevent_tmp = SessionEvent.new
|
4157
|
+
sessionevent_tmp.deserialize(i)
|
4158
|
+
@Events << sessionevent_tmp
|
4159
|
+
end
|
4160
|
+
end
|
4161
|
+
unless params['ServeParticipants'].nil?
|
4162
|
+
@ServeParticipants = []
|
4163
|
+
params['ServeParticipants'].each do |i|
|
4164
|
+
serveparticipant_tmp = ServeParticipant.new
|
4165
|
+
serveparticipant_tmp.deserialize(i)
|
4166
|
+
@ServeParticipants << serveparticipant_tmp
|
4167
|
+
end
|
4168
|
+
end
|
4169
|
+
@RequestId = params['RequestId']
|
4170
|
+
end
|
4171
|
+
end
|
4172
|
+
|
4002
4173
|
# DescribeSkillGroupInfoList请求参数结构体
|
4003
4174
|
class DescribeSkillGroupInfoListRequest < TencentCloud::Common::AbstractModel
|
4004
4175
|
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
@@ -4133,6 +4304,69 @@ module TencentCloud
|
|
4133
4304
|
end
|
4134
4305
|
end
|
4135
4306
|
|
4307
|
+
# DescribeStaffStatusHistory请求参数结构体
|
4308
|
+
class DescribeStaffStatusHistoryRequest < TencentCloud::Common::AbstractModel
|
4309
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
4310
|
+
# @type SdkAppId: Integer
|
4311
|
+
# @param StaffUserId: 座席账号
|
4312
|
+
# @type StaffUserId: String
|
4313
|
+
# @param StartTimestamp: 起始时间戳,Unix 秒级时间戳,最大支持近180天。
|
4314
|
+
# @type StartTimestamp: Integer
|
4315
|
+
# @param EndTimestamp: 结束时间戳,Unix 秒级时间戳,结束时间与开始时间的区间范围小于 7 天。
|
4316
|
+
# @type EndTimestamp: Integer
|
4317
|
+
# @param Cursor: 分页检索时使用的游标
|
4318
|
+
# @type Cursor: String
|
4319
|
+
# @param PageSize: 分页尺寸
|
4320
|
+
# @type PageSize: Integer
|
4321
|
+
|
4322
|
+
attr_accessor :SdkAppId, :StaffUserId, :StartTimestamp, :EndTimestamp, :Cursor, :PageSize
|
4323
|
+
|
4324
|
+
def initialize(sdkappid=nil, staffuserid=nil, starttimestamp=nil, endtimestamp=nil, cursor=nil, pagesize=nil)
|
4325
|
+
@SdkAppId = sdkappid
|
4326
|
+
@StaffUserId = staffuserid
|
4327
|
+
@StartTimestamp = starttimestamp
|
4328
|
+
@EndTimestamp = endtimestamp
|
4329
|
+
@Cursor = cursor
|
4330
|
+
@PageSize = pagesize
|
4331
|
+
end
|
4332
|
+
|
4333
|
+
def deserialize(params)
|
4334
|
+
@SdkAppId = params['SdkAppId']
|
4335
|
+
@StaffUserId = params['StaffUserId']
|
4336
|
+
@StartTimestamp = params['StartTimestamp']
|
4337
|
+
@EndTimestamp = params['EndTimestamp']
|
4338
|
+
@Cursor = params['Cursor']
|
4339
|
+
@PageSize = params['PageSize']
|
4340
|
+
end
|
4341
|
+
end
|
4342
|
+
|
4343
|
+
# DescribeStaffStatusHistory返回参数结构体
|
4344
|
+
class DescribeStaffStatusHistoryResponse < TencentCloud::Common::AbstractModel
|
4345
|
+
# @param Data: 座席状态数据
|
4346
|
+
# @type Data: Array
|
4347
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4348
|
+
# @type RequestId: String
|
4349
|
+
|
4350
|
+
attr_accessor :Data, :RequestId
|
4351
|
+
|
4352
|
+
def initialize(data=nil, requestid=nil)
|
4353
|
+
@Data = data
|
4354
|
+
@RequestId = requestid
|
4355
|
+
end
|
4356
|
+
|
4357
|
+
def deserialize(params)
|
4358
|
+
unless params['Data'].nil?
|
4359
|
+
@Data = []
|
4360
|
+
params['Data'].each do |i|
|
4361
|
+
staffstatus_tmp = StaffStatus.new
|
4362
|
+
staffstatus_tmp.deserialize(i)
|
4363
|
+
@Data << staffstatus_tmp
|
4364
|
+
end
|
4365
|
+
end
|
4366
|
+
@RequestId = params['RequestId']
|
4367
|
+
end
|
4368
|
+
end
|
4369
|
+
|
4136
4370
|
# DescribeStaffStatusMetrics请求参数结构体
|
4137
4371
|
class DescribeStaffStatusMetricsRequest < TencentCloud::Common::AbstractModel
|
4138
4372
|
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
@@ -4233,8 +4467,8 @@ module TencentCloud
|
|
4233
4467
|
|
4234
4468
|
attr_accessor :TelCallOutCount, :TelCallInCount, :SeatUsedCount, :VoipCallInCount, :VOIPCallInCount, :AsrOfflineCount, :AsrRealtimeCount, :RequestId
|
4235
4469
|
extend Gem::Deprecate
|
4236
|
-
deprecate :VoipCallInCount, :none, 2025,
|
4237
|
-
deprecate :VoipCallInCount=, :none, 2025,
|
4470
|
+
deprecate :VoipCallInCount, :none, 2025, 9
|
4471
|
+
deprecate :VoipCallInCount=, :none, 2025, 9
|
4238
4472
|
|
4239
4473
|
def initialize(telcalloutcount=nil, telcallincount=nil, seatusedcount=nil, voipcallincount=nil, asrofflinecount=nil, asrrealtimecount=nil, requestid=nil)
|
4240
4474
|
@TelCallOutCount = telcalloutcount
|
@@ -4282,8 +4516,8 @@ module TencentCloud
|
|
4282
4516
|
|
4283
4517
|
attr_accessor :StartTimeStamp, :EndTimeStamp, :InstanceId, :Limit, :Offset, :SdkAppId, :PageSize, :PageNumber, :Phones, :SessionIds
|
4284
4518
|
extend Gem::Deprecate
|
4285
|
-
deprecate :InstanceId, :none, 2025,
|
4286
|
-
deprecate :InstanceId=, :none, 2025,
|
4519
|
+
deprecate :InstanceId, :none, 2025, 9
|
4520
|
+
deprecate :InstanceId=, :none, 2025, 9
|
4287
4521
|
|
4288
4522
|
def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, limit=nil, offset=nil, sdkappid=nil, pagesize=nil, pagenumber=nil, phones=nil, sessionids=nil)
|
4289
4523
|
@StartTimeStamp = starttimestamp
|
@@ -4325,8 +4559,8 @@ module TencentCloud
|
|
4325
4559
|
|
4326
4560
|
attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
|
4327
4561
|
extend Gem::Deprecate
|
4328
|
-
deprecate :TelCdrs, :none, 2025,
|
4329
|
-
deprecate :TelCdrs=, :none, 2025,
|
4562
|
+
deprecate :TelCdrs, :none, 2025, 9
|
4563
|
+
deprecate :TelCdrs=, :none, 2025, 9
|
4330
4564
|
|
4331
4565
|
def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
|
4332
4566
|
@TotalCount = totalcount
|
@@ -4511,6 +4745,49 @@ module TencentCloud
|
|
4511
4745
|
end
|
4512
4746
|
end
|
4513
4747
|
|
4748
|
+
# 座席事件相关详情
|
4749
|
+
class EventStaffDetail < TencentCloud::Common::AbstractModel
|
4750
|
+
# @param Staffs: 座席数据
|
4751
|
+
# @type Staffs: Array
|
4752
|
+
|
4753
|
+
attr_accessor :Staffs
|
4754
|
+
|
4755
|
+
def initialize(staffs=nil)
|
4756
|
+
@Staffs = staffs
|
4757
|
+
end
|
4758
|
+
|
4759
|
+
def deserialize(params)
|
4760
|
+
unless params['Staffs'].nil?
|
4761
|
+
@Staffs = []
|
4762
|
+
params['Staffs'].each do |i|
|
4763
|
+
eventstaffelement_tmp = EventStaffElement.new
|
4764
|
+
eventstaffelement_tmp.deserialize(i)
|
4765
|
+
@Staffs << eventstaffelement_tmp
|
4766
|
+
end
|
4767
|
+
end
|
4768
|
+
end
|
4769
|
+
end
|
4770
|
+
|
4771
|
+
# 座席信息
|
4772
|
+
class EventStaffElement < TencentCloud::Common::AbstractModel
|
4773
|
+
# @param Mail: 座席邮箱账号
|
4774
|
+
# @type Mail: String
|
4775
|
+
# @param StaffNumber: 座席工号
|
4776
|
+
# @type StaffNumber: String
|
4777
|
+
|
4778
|
+
attr_accessor :Mail, :StaffNumber
|
4779
|
+
|
4780
|
+
def initialize(mail=nil, staffnumber=nil)
|
4781
|
+
@Mail = mail
|
4782
|
+
@StaffNumber = staffnumber
|
4783
|
+
end
|
4784
|
+
|
4785
|
+
def deserialize(params)
|
4786
|
+
@Mail = params['Mail']
|
4787
|
+
@StaffNumber = params['StaffNumber']
|
4788
|
+
end
|
4789
|
+
end
|
4790
|
+
|
4514
4791
|
# 话机信息
|
4515
4792
|
class ExtensionInfo < TencentCloud::Common::AbstractModel
|
4516
4793
|
# @param SdkAppId: 实例ID
|
@@ -5814,6 +6091,33 @@ module TencentCloud
|
|
5814
6091
|
end
|
5815
6092
|
end
|
5816
6093
|
|
6094
|
+
# 通话事件
|
6095
|
+
class SessionEvent < TencentCloud::Common::AbstractModel
|
6096
|
+
# @param Timestamp: 事件时间戳,Unix 秒级时间戳
|
6097
|
+
# @type Timestamp: Integer
|
6098
|
+
# @param EventType: 事件类型,目前支持 StaffHold StaffUnhold StaffMute StaffUnmute
|
6099
|
+
# @type EventType: String
|
6100
|
+
# @param StaffEventDetail: 座席相关事件详情
|
6101
|
+
# @type StaffEventDetail: :class:`Tencentcloud::Ccc.v20200210.models.EventStaffDetail`
|
6102
|
+
|
6103
|
+
attr_accessor :Timestamp, :EventType, :StaffEventDetail
|
6104
|
+
|
6105
|
+
def initialize(timestamp=nil, eventtype=nil, staffeventdetail=nil)
|
6106
|
+
@Timestamp = timestamp
|
6107
|
+
@EventType = eventtype
|
6108
|
+
@StaffEventDetail = staffeventdetail
|
6109
|
+
end
|
6110
|
+
|
6111
|
+
def deserialize(params)
|
6112
|
+
@Timestamp = params['Timestamp']
|
6113
|
+
@EventType = params['EventType']
|
6114
|
+
unless params['StaffEventDetail'].nil?
|
6115
|
+
@StaffEventDetail = EventStaffDetail.new
|
6116
|
+
@StaffEventDetail.deserialize(params['StaffEventDetail'])
|
6117
|
+
end
|
6118
|
+
end
|
6119
|
+
end
|
6120
|
+
|
5817
6121
|
# 技能组信息
|
5818
6122
|
class SkillGroupInfoItem < TencentCloud::Common::AbstractModel
|
5819
6123
|
# @param SkillGroupId: 技能组ID
|
@@ -5951,10 +6255,10 @@ module TencentCloud
|
|
5951
6255
|
|
5952
6256
|
attr_accessor :Name, :Mail, :Phone, :Nick, :StaffNumber, :RoleId, :RoleIdList, :RoleList, :SkillGroupList, :LastModifyTimestamp, :ExtensionNumber, :ForwardingConfig
|
5953
6257
|
extend Gem::Deprecate
|
5954
|
-
deprecate :RoleId, :none, 2025,
|
5955
|
-
deprecate :RoleId=, :none, 2025,
|
5956
|
-
deprecate :RoleIdList, :none, 2025,
|
5957
|
-
deprecate :RoleIdList=, :none, 2025,
|
6258
|
+
deprecate :RoleId, :none, 2025, 9
|
6259
|
+
deprecate :RoleId=, :none, 2025, 9
|
6260
|
+
deprecate :RoleIdList, :none, 2025, 9
|
6261
|
+
deprecate :RoleIdList=, :none, 2025, 9
|
5958
6262
|
|
5959
6263
|
def initialize(name=nil, mail=nil, phone=nil, nick=nil, staffnumber=nil, roleid=nil, roleidlist=nil, rolelist=nil, skillgrouplist=nil, lastmodifytimestamp=nil, extensionnumber=nil, forwardingconfig=nil)
|
5960
6264
|
@Name = name
|
@@ -6017,6 +6321,34 @@ module TencentCloud
|
|
6017
6321
|
end
|
6018
6322
|
end
|
6019
6323
|
|
6324
|
+
# 座席状态
|
6325
|
+
class StaffStatus < TencentCloud::Common::AbstractModel
|
6326
|
+
# @param Cursor: 查询使用的游标,分页场景使用
|
6327
|
+
# @type Cursor: String
|
6328
|
+
# @param Timestamp: 状态时间戳,Unix 秒级时间戳
|
6329
|
+
# @type Timestamp: Integer
|
6330
|
+
# @param Status: 座席状态 free 示闲 | busy 忙碌 | rest 小休 | notReady 示忙 | afterCallWork 话后调整 | offline 离线
|
6331
|
+
# @type Status: String
|
6332
|
+
# @param SessionId: 状态关联的会话 Id
|
6333
|
+
# @type SessionId: String
|
6334
|
+
|
6335
|
+
attr_accessor :Cursor, :Timestamp, :Status, :SessionId
|
6336
|
+
|
6337
|
+
def initialize(cursor=nil, timestamp=nil, status=nil, sessionid=nil)
|
6338
|
+
@Cursor = cursor
|
6339
|
+
@Timestamp = timestamp
|
6340
|
+
@Status = status
|
6341
|
+
@SessionId = sessionid
|
6342
|
+
end
|
6343
|
+
|
6344
|
+
def deserialize(params)
|
6345
|
+
@Cursor = params['Cursor']
|
6346
|
+
@Timestamp = params['Timestamp']
|
6347
|
+
@Status = params['Status']
|
6348
|
+
@SessionId = params['SessionId']
|
6349
|
+
end
|
6350
|
+
end
|
6351
|
+
|
6020
6352
|
# 座席状态补充信息
|
6021
6353
|
class StaffStatusExtra < TencentCloud::Common::AbstractModel
|
6022
6354
|
# @param Type: im - 文本 | tel - 电话 | all - 全媒体
|
@@ -6358,8 +6690,8 @@ module TencentCloud
|
|
6358
6690
|
|
6359
6691
|
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
|
6360
6692
|
extend Gem::Deprecate
|
6361
|
-
deprecate :Uui, :none, 2025,
|
6362
|
-
deprecate :Uui=, :none, 2025,
|
6693
|
+
deprecate :Uui, :none, 2025, 9
|
6694
|
+
deprecate :Uui=, :none, 2025, 9
|
6363
6695
|
|
6364
6696
|
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)
|
6365
6697
|
@Caller = caller
|
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.1138
|
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
|
+
date: 2025-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|