tencentcloud-sdk-ccc 3.0.1125 → 3.0.1140

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: b53f4c74efc39e9c74d65a0f0c661cadd2145558
4
- data.tar.gz: 2e898ef5c30e9fd9180ecf41e0ed62e854457d57
3
+ metadata.gz: 86f06a0b60ca20db01cb9615bc631c1563acb9bc
4
+ data.tar.gz: 9e22eb5034b81405822f093ec3c7c212a456e783
5
5
  SHA512:
6
- metadata.gz: efcf572b79a48df557397025e8bcf1beaccdaefdf90cc6469be12f5f4020e7b664c908e06b63940c3b59eeeb72777c9a3af30ed9532dbf912516ac37f48838ee
7
- data.tar.gz: 914efbe19ec2c97058f6f1dfeeb87baa27ad29857a76a029aa539ac62631ac381c734573a5d0721680651c4927185e060f005e0a1516537a14711a9b7d0e27f0
6
+ metadata.gz: 4bd2eb9044705837ea87ac292328bb8ef0458394b85660b879ffda5f938a3714508dbe1f816e4ecc12cce6429072544f8ad7a5648212a3fbb39e68bde646f27e
7
+ data.tar.gz: 9aa51ec9a3ec0fb439f50d4548e0c13b656939ae32ad7534981270262ce9dde69cfec1521937b1d951f4d4b1f87da71cd0e11656c41247ca3c705580298042ad
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1125
1
+ 3.0.1140
@@ -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.
@@ -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, 8
359
- deprecate :Timestamp=, :none, 2025, 8
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, 8
577
- deprecate :SkillGroupList=, :none, 2025, 8
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, 8
1052
- deprecate :PromptVariables=, :none, 2025, 8
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
@@ -1348,8 +1348,8 @@ module TencentCloud
1348
1348
 
1349
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
1350
1350
  extend Gem::Deprecate
1351
- deprecate :PromptVariables, :none, 2025, 8
1352
- deprecate :PromptVariables=, :none, 2025, 8
1351
+ deprecate :PromptVariables, :none, 2025, 9
1352
+ deprecate :PromptVariables=, :none, 2025, 9
1353
1353
 
1354
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)
1355
1355
  @SdkAppId = sdkappid
@@ -1770,8 +1770,8 @@ module TencentCloud
1770
1770
 
1771
1771
  attr_accessor :SdkAppId, :UserId, :Callee, :Caller, :Callers, :IsForceUseMobile, :Uui, :UUI
1772
1772
  extend Gem::Deprecate
1773
- deprecate :Uui, :none, 2025, 8
1774
- deprecate :Uui=, :none, 2025, 8
1773
+ deprecate :Uui, :none, 2025, 9
1774
+ deprecate :Uui=, :none, 2025, 9
1775
1775
 
1776
1776
  def initialize(sdkappid=nil, userid=nil, callee=nil, caller=nil, callers=nil, isforceusemobile=nil, uui=nil)
1777
1777
  @SdkAppId = sdkappid
@@ -3114,10 +3114,10 @@ module TencentCloud
3114
3114
 
3115
3115
  attr_accessor :SdkAppId, :InstanceId, :CdrId, :Limit, :Offset, :Order, :SessionId
3116
3116
  extend Gem::Deprecate
3117
- deprecate :InstanceId, :none, 2025, 8
3118
- deprecate :InstanceId=, :none, 2025, 8
3119
- deprecate :CdrId, :none, 2025, 8
3120
- deprecate :CdrId=, :none, 2025, 8
3117
+ deprecate :InstanceId, :none, 2025, 9
3118
+ deprecate :InstanceId=, :none, 2025, 9
3119
+ deprecate :CdrId, :none, 2025, 9
3120
+ deprecate :CdrId=, :none, 2025, 9
3121
3121
 
3122
3122
  def initialize(sdkappid=nil, instanceid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
3123
3123
  @SdkAppId = sdkappid
@@ -3443,8 +3443,8 @@ module TencentCloud
3443
3443
 
3444
3444
  attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
3445
3445
  extend Gem::Deprecate
3446
- deprecate :InstanceId, :none, 2025, 8
3447
- deprecate :InstanceId=, :none, 2025, 8
3446
+ deprecate :InstanceId, :none, 2025, 9
3447
+ deprecate :InstanceId=, :none, 2025, 9
3448
3448
 
3449
3449
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
3450
3450
  @StartTimestamp = starttimestamp
@@ -3481,8 +3481,8 @@ module TencentCloud
3481
3481
 
3482
3482
  attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
3483
3483
  extend Gem::Deprecate
3484
- deprecate :IMCdrs, :none, 2025, 8
3485
- deprecate :IMCdrs=, :none, 2025, 8
3484
+ deprecate :IMCdrs, :none, 2025, 9
3485
+ deprecate :IMCdrs=, :none, 2025, 9
3486
3486
 
3487
3487
  def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
3488
3488
  @TotalCount = totalcount
@@ -3974,8 +3974,8 @@ module TencentCloud
3974
3974
 
3975
3975
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
3976
3976
  extend Gem::Deprecate
3977
- deprecate :TelCdrs, :none, 2025, 8
3978
- deprecate :TelCdrs=, :none, 2025, 8
3977
+ deprecate :TelCdrs, :none, 2025, 9
3978
+ deprecate :TelCdrs=, :none, 2025, 9
3979
3979
 
3980
3980
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
3981
3981
  @TotalCount = totalcount
@@ -4006,6 +4006,170 @@ module TencentCloud
4006
4006
  end
4007
4007
  end
4008
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
+
4009
4173
  # DescribeSkillGroupInfoList请求参数结构体
4010
4174
  class DescribeSkillGroupInfoListRequest < TencentCloud::Common::AbstractModel
4011
4175
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -4140,6 +4304,69 @@ module TencentCloud
4140
4304
  end
4141
4305
  end
4142
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
+
4143
4370
  # DescribeStaffStatusMetrics请求参数结构体
4144
4371
  class DescribeStaffStatusMetricsRequest < TencentCloud::Common::AbstractModel
4145
4372
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -4240,8 +4467,8 @@ module TencentCloud
4240
4467
 
4241
4468
  attr_accessor :TelCallOutCount, :TelCallInCount, :SeatUsedCount, :VoipCallInCount, :VOIPCallInCount, :AsrOfflineCount, :AsrRealtimeCount, :RequestId
4242
4469
  extend Gem::Deprecate
4243
- deprecate :VoipCallInCount, :none, 2025, 8
4244
- deprecate :VoipCallInCount=, :none, 2025, 8
4470
+ deprecate :VoipCallInCount, :none, 2025, 9
4471
+ deprecate :VoipCallInCount=, :none, 2025, 9
4245
4472
 
4246
4473
  def initialize(telcalloutcount=nil, telcallincount=nil, seatusedcount=nil, voipcallincount=nil, asrofflinecount=nil, asrrealtimecount=nil, requestid=nil)
4247
4474
  @TelCallOutCount = telcalloutcount
@@ -4289,8 +4516,8 @@ module TencentCloud
4289
4516
 
4290
4517
  attr_accessor :StartTimeStamp, :EndTimeStamp, :InstanceId, :Limit, :Offset, :SdkAppId, :PageSize, :PageNumber, :Phones, :SessionIds
4291
4518
  extend Gem::Deprecate
4292
- deprecate :InstanceId, :none, 2025, 8
4293
- deprecate :InstanceId=, :none, 2025, 8
4519
+ deprecate :InstanceId, :none, 2025, 9
4520
+ deprecate :InstanceId=, :none, 2025, 9
4294
4521
 
4295
4522
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, limit=nil, offset=nil, sdkappid=nil, pagesize=nil, pagenumber=nil, phones=nil, sessionids=nil)
4296
4523
  @StartTimeStamp = starttimestamp
@@ -4332,8 +4559,8 @@ module TencentCloud
4332
4559
 
4333
4560
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
4334
4561
  extend Gem::Deprecate
4335
- deprecate :TelCdrs, :none, 2025, 8
4336
- deprecate :TelCdrs=, :none, 2025, 8
4562
+ deprecate :TelCdrs, :none, 2025, 9
4563
+ deprecate :TelCdrs=, :none, 2025, 9
4337
4564
 
4338
4565
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
4339
4566
  @TotalCount = totalcount
@@ -4518,6 +4745,49 @@ module TencentCloud
4518
4745
  end
4519
4746
  end
4520
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
+
4521
4791
  # 话机信息
4522
4792
  class ExtensionInfo < TencentCloud::Common::AbstractModel
4523
4793
  # @param SdkAppId: 实例ID
@@ -5821,6 +6091,33 @@ module TencentCloud
5821
6091
  end
5822
6092
  end
5823
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
+
5824
6121
  # 技能组信息
5825
6122
  class SkillGroupInfoItem < TencentCloud::Common::AbstractModel
5826
6123
  # @param SkillGroupId: 技能组ID
@@ -5958,10 +6255,10 @@ module TencentCloud
5958
6255
 
5959
6256
  attr_accessor :Name, :Mail, :Phone, :Nick, :StaffNumber, :RoleId, :RoleIdList, :RoleList, :SkillGroupList, :LastModifyTimestamp, :ExtensionNumber, :ForwardingConfig
5960
6257
  extend Gem::Deprecate
5961
- deprecate :RoleId, :none, 2025, 8
5962
- deprecate :RoleId=, :none, 2025, 8
5963
- deprecate :RoleIdList, :none, 2025, 8
5964
- deprecate :RoleIdList=, :none, 2025, 8
6258
+ deprecate :RoleId, :none, 2025, 9
6259
+ deprecate :RoleId=, :none, 2025, 9
6260
+ deprecate :RoleIdList, :none, 2025, 9
6261
+ deprecate :RoleIdList=, :none, 2025, 9
5965
6262
 
5966
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)
5967
6264
  @Name = name
@@ -6024,6 +6321,34 @@ module TencentCloud
6024
6321
  end
6025
6322
  end
6026
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
+
6027
6352
  # 座席状态补充信息
6028
6353
  class StaffStatusExtra < TencentCloud::Common::AbstractModel
6029
6354
  # @param Type: im - 文本 | tel - 电话 | all - 全媒体
@@ -6198,8 +6523,6 @@ module TencentCloud
6198
6523
 
6199
6524
  # 电话呼入&呼出 1 ok 正常通话
6200
6525
 
6201
- # 电话呼入&呼出 0 error 异常结束
6202
-
6203
6526
  # 电话呼入 102 ivrGiveUp IVR 期间用户放弃
6204
6527
 
6205
6528
  # 电话呼入 103 waitingGiveUp 排队时用户放弃
@@ -6210,21 +6533,17 @@ module TencentCloud
6210
6533
 
6211
6534
  # 电话呼入 106 notWorkTime 非工作时间
6212
6535
 
6213
- # 电话呼入 107 ivrEnd IVR 后直接结束
6214
-
6215
- # 电话呼入 100 blackList 黑名单
6536
+ # 电话呼入 107 ivrEnd IVR全自动结束(无人工介入)
6216
6537
 
6217
- # 电话呼出 2 unconnected 未接通
6538
+ # 电话呼入 100 blackList 黑名单(系统侧)
6218
6539
 
6219
- # 电话呼出 108 restrictedCallee 被叫因高风险受限
6540
+ # 电话呼出 108 restrictedCallee 全局外呼风险号码拦截(系统侧)
6220
6541
 
6221
- # 电话呼出 109 tooManyRequest 外呼超频限制
6542
+ # 电话呼出 109 tooManyRequest 外呼频控拦截(系统侧)
6222
6543
 
6223
- # 电话呼出 110 restrictedArea 外呼区域限制
6544
+ # 电话呼出 110 restrictedArea 外呼地域拦截(系统侧)
6224
6545
 
6225
- # 电话呼出 111 restrictedTime 外呼时间限制
6226
-
6227
- # 电话呼出 201 unknown 未知状态
6546
+ # 电话呼出 111 restrictedTime 外呼时段拦截(系统侧)
6228
6547
 
6229
6548
  # 电话呼出 202 notAnswer 被叫未接听
6230
6549
 
@@ -6244,8 +6563,31 @@ module TencentCloud
6244
6563
 
6245
6564
  # 电话呼出 210 notInService 被叫不在服务区
6246
6565
 
6247
- # 电话呼入&呼出 211 clientError 客户端错误
6566
+ # 电话呼入&呼出 211 clientError 座席客户端错误
6567
+
6248
6568
  # 电话呼出 212 carrierBlocked 运营商拦截
6569
+
6570
+ # 电话呼出 213 callReminder 提示来电提醒
6571
+
6572
+ # 电话呼出 215 numberInvalid 被叫号码无效
6573
+
6574
+ # 电话呼出 216 callRestricted 提示呼叫受限
6575
+
6576
+ # 电话呼出 217 calleeRestricted 被叫黑名单受限
6577
+
6578
+ # 电话呼出 218 areaRestricted 被叫区域受限
6579
+
6580
+ # 电话呼出 219 promptCallForwarding 提示呼叫转移
6581
+
6582
+ # 电话呼出 220 callerCancelWhileRing 振铃中主叫取消
6583
+
6584
+ # 电话呼出 221 callerCancelWithoutRing 未振铃被叫号码异常
6585
+
6586
+ # 音频呼入 501 callConflict VoIP 用户呼叫冲突终止
6587
+
6588
+ # 音频呼入 502 clientTimeout VoIP 用户客户端超时
6589
+
6590
+ # 音频呼入 503 voipClientError VoIP 用户客户端错误
6249
6591
  # @type EndStatus: Integer
6250
6592
  # @param SkillGroup: 技能组名称
6251
6593
  # @type SkillGroup: String
@@ -6267,60 +6609,7 @@ module TencentCloud
6267
6609
  # @type ServeParticipants: Array
6268
6610
  # @param SkillGroupId: 技能组ID
6269
6611
  # @type SkillGroupId: Integer
6270
- # @param EndStatusString: EndStatus与EndStatusString一一对应,具体枚举如下:
6271
-
6272
- # **场景 EndStatus EndStatusString 状态说明**
6273
-
6274
- # 电话呼入&呼出 1 ok 正常通话
6275
-
6276
- # 电话呼入&呼出 0 error 异常结束
6277
-
6278
- # 电话呼入 102 ivrGiveUp IVR 期间用户放弃
6279
-
6280
- # 电话呼入 103 waitingGiveUp 排队时用户放弃
6281
-
6282
- # 电话呼入 104 ringingGiveUp 振铃时用户放弃
6283
-
6284
- # 电话呼入 105 noSeatOnline 无座席在线
6285
-
6286
- # 电话呼入 106 notWorkTime 非工作时间
6287
-
6288
- # 电话呼入 107 ivrEnd IVR 后直接结束
6289
-
6290
- # 电话呼入 100 blackList 黑名单
6291
-
6292
- # 电话呼出 2 unconnected 未接通
6293
-
6294
- # 电话呼出 108 restrictedCallee 被叫因高风险受限
6295
-
6296
- # 电话呼出 109 tooManyRequest 外呼超频限制
6297
-
6298
- # 电话呼出 110 restrictedArea 外呼区域限制
6299
-
6300
- # 电话呼出 111 restrictedTime 外呼时间限制
6301
-
6302
- # 电话呼出 201 unknown 未知状态
6303
-
6304
- # 电话呼出 202 notAnswer 被叫未接听
6305
-
6306
- # 电话呼出 203 userReject 被叫拒接挂断
6307
-
6308
- # 电话呼出 204 powerOff 被叫关机
6309
-
6310
- # 电话呼出 205 numberNotExist 被叫空号
6311
-
6312
- # 电话呼出 206 busy 被叫忙
6313
-
6314
- # 电话呼出 207 outOfCredit 被叫欠费
6315
-
6316
- # 电话呼出 208 operatorError 运营商线路异常
6317
-
6318
- # 电话呼出 209 callerCancel 主叫取消
6319
-
6320
- # 电话呼出 210 notInService 被叫不在服务区
6321
-
6322
- # 电话呼入&呼出 211 clientError 客户端错误
6323
- # 电话呼出 212 carrierBlocked 运营商拦截
6612
+ # @param EndStatusString: 参考 EndStatus 字段
6324
6613
  # @type EndStatusString: String
6325
6614
  # @param StartTimestamp: 会话开始时间戳,UNIX 秒级时间戳
6326
6615
  # @type StartTimestamp: Integer
@@ -6365,8 +6654,8 @@ module TencentCloud
6365
6654
 
6366
6655
  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
6367
6656
  extend Gem::Deprecate
6368
- deprecate :Uui, :none, 2025, 8
6369
- deprecate :Uui=, :none, 2025, 8
6657
+ deprecate :Uui, :none, 2025, 9
6658
+ deprecate :Uui=, :none, 2025, 9
6370
6659
 
6371
6660
  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)
6372
6661
  @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.1125
4
+ version: 3.0.1140
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-08-18 00:00:00.000000000 Z
11
+ date: 2025-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common