tencentcloud-sdk-ccc 3.0.1144 → 3.0.1149

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: 768767e59be3f5674caa6b1e35bb47aeb36bcb99
4
- data.tar.gz: c1902c4ad3c4bc0da9914b5cee7701305f71ad62
3
+ metadata.gz: 0dbe9c4f7884b6fb85ad5b5bcfc4dcd5ec928aa7
4
+ data.tar.gz: 5562cba373b1b6ecccf7bed8f547de62fb3ff0f9
5
5
  SHA512:
6
- metadata.gz: 7d605f164c13de312480a3c750a2064c04227bc8e82578980d572eb29ed6602787dda575f8d3c6a647bc6466986761a7d02c138e4623b7da2f6e7e78ad3eb525
7
- data.tar.gz: 5ca0816ad97cf4ab104c1577be03b4bb12e777fb55b6cdbe05a120468f67ae97bdcb5ba6e6605d95af1e96cd4e450b9971f9922cb8d9ac5d17f5d6aeb7f72b27
6
+ metadata.gz: a15666a9ae991177ebe272634a7e1cd7c4fd07d90975ca0226a143250e7f3e689786cb30b613f7d16cab3082ba697de913f2296928b9f501896e2cc1234e181b
7
+ data.tar.gz: cb4f45b288f354f34cfef80607bfc76201e2b690d254b34f334e41eea8d0f0a05129c59a255b22da367faaa9ebcfa29e0b34985dad6137ba5679e8e865495dab
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1144
1
+ 3.0.1149
@@ -661,6 +661,30 @@ module TencentCloud
661
661
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
662
662
  end
663
663
 
664
+ # 获取 AI 会话分析结果
665
+
666
+ # @param request: Request instance for DescribeAIAnalysisResult.
667
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeAIAnalysisResultRequest`
668
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeAIAnalysisResultResponse`
669
+ def DescribeAIAnalysisResult(request)
670
+ body = send_request('DescribeAIAnalysisResult', request.serialize)
671
+ response = JSON.parse(body)
672
+ if response['Response'].key?('Error') == false
673
+ model = DescribeAIAnalysisResultResponse.new
674
+ model.deserialize(response['Response'])
675
+ model
676
+ else
677
+ code = response['Response']['Error']['Code']
678
+ message = response['Response']['Error']['Message']
679
+ reqid = response['Response']['RequestId']
680
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
681
+ end
682
+ rescue TencentCloud::Common::TencentCloudSDKException => e
683
+ raise e
684
+ rescue StandardError => e
685
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
686
+ end
687
+
664
688
  # 获取 AI 通话内容提取结果。
665
689
 
666
690
  # @param request: Request instance for DescribeAICallExtractResult.
@@ -17,6 +17,28 @@
17
17
  module TencentCloud
18
18
  module Ccc
19
19
  module V20200210
20
+ # AI会话分析结果
21
+ class AIAnalysisResult < TencentCloud::Common::AbstractModel
22
+ # @param Type: summary: 会话小结
23
+ # mood: 情绪分析
24
+ # intention: 意向提取
25
+ # @type Type: String
26
+ # @param Result: AI会话分析结果
27
+ # @type Result: String
28
+
29
+ attr_accessor :Type, :Result
30
+
31
+ def initialize(type=nil, result=nil)
32
+ @Type = type
33
+ @Result = result
34
+ end
35
+
36
+ def deserialize(params)
37
+ @Type = params['Type']
38
+ @Result = params['Result']
39
+ end
40
+ end
41
+
20
42
  # AI 通话提取配置项
21
43
  class AICallExtractConfigElement < TencentCloud::Common::AbstractModel
22
44
  # @param InfoType: 配置项类型,包括
@@ -2514,6 +2536,61 @@ module TencentCloud
2514
2536
  end
2515
2537
  end
2516
2538
 
2539
+ # DescribeAIAnalysisResult请求参数结构体
2540
+ class DescribeAIAnalysisResultRequest < TencentCloud::Common::AbstractModel
2541
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
2542
+ # @type SdkAppId: Integer
2543
+ # @param SessionId: 会话 ID
2544
+ # @type SessionId: String
2545
+ # @param StartTime: 查找起始时间
2546
+ # @type StartTime: Integer
2547
+ # @param EndTime: 1737350008
2548
+ # @type EndTime: Integer
2549
+
2550
+ attr_accessor :SdkAppId, :SessionId, :StartTime, :EndTime
2551
+
2552
+ def initialize(sdkappid=nil, sessionid=nil, starttime=nil, endtime=nil)
2553
+ @SdkAppId = sdkappid
2554
+ @SessionId = sessionid
2555
+ @StartTime = starttime
2556
+ @EndTime = endtime
2557
+ end
2558
+
2559
+ def deserialize(params)
2560
+ @SdkAppId = params['SdkAppId']
2561
+ @SessionId = params['SessionId']
2562
+ @StartTime = params['StartTime']
2563
+ @EndTime = params['EndTime']
2564
+ end
2565
+ end
2566
+
2567
+ # DescribeAIAnalysisResult返回参数结构体
2568
+ class DescribeAIAnalysisResultResponse < TencentCloud::Common::AbstractModel
2569
+ # @param ResultList: AI会话分析结果
2570
+ # @type ResultList: Array
2571
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2572
+ # @type RequestId: String
2573
+
2574
+ attr_accessor :ResultList, :RequestId
2575
+
2576
+ def initialize(resultlist=nil, requestid=nil)
2577
+ @ResultList = resultlist
2578
+ @RequestId = requestid
2579
+ end
2580
+
2581
+ def deserialize(params)
2582
+ unless params['ResultList'].nil?
2583
+ @ResultList = []
2584
+ params['ResultList'].each do |i|
2585
+ aianalysisresult_tmp = AIAnalysisResult.new
2586
+ aianalysisresult_tmp.deserialize(i)
2587
+ @ResultList << aianalysisresult_tmp
2588
+ end
2589
+ end
2590
+ @RequestId = params['RequestId']
2591
+ end
2592
+ end
2593
+
2517
2594
  # DescribeAICallExtractResult请求参数结构体
2518
2595
  class DescribeAICallExtractResultRequest < TencentCloud::Common::AbstractModel
2519
2596
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -6379,14 +6456,23 @@ module TencentCloud
6379
6456
  # @type Status: String
6380
6457
  # @param SessionId: 状态关联的会话 Id
6381
6458
  # @type SessionId: String
6459
+ # @param Reason: 小休原因
6460
+ # @type Reason: String
6461
+ # @param StaffEmail: 座席邮箱
6462
+ # @type StaffEmail: String
6463
+ # @param StaffNo: 座席工号
6464
+ # @type StaffNo: String
6382
6465
 
6383
- attr_accessor :Cursor, :Timestamp, :Status, :SessionId
6466
+ attr_accessor :Cursor, :Timestamp, :Status, :SessionId, :Reason, :StaffEmail, :StaffNo
6384
6467
 
6385
- def initialize(cursor=nil, timestamp=nil, status=nil, sessionid=nil)
6468
+ def initialize(cursor=nil, timestamp=nil, status=nil, sessionid=nil, reason=nil, staffemail=nil, staffno=nil)
6386
6469
  @Cursor = cursor
6387
6470
  @Timestamp = timestamp
6388
6471
  @Status = status
6389
6472
  @SessionId = sessionid
6473
+ @Reason = reason
6474
+ @StaffEmail = staffemail
6475
+ @StaffNo = staffno
6390
6476
  end
6391
6477
 
6392
6478
  def deserialize(params)
@@ -6394,6 +6480,9 @@ module TencentCloud
6394
6480
  @Timestamp = params['Timestamp']
6395
6481
  @Status = params['Status']
6396
6482
  @SessionId = params['SessionId']
6483
+ @Reason = params['Reason']
6484
+ @StaffEmail = params['StaffEmail']
6485
+ @StaffNo = params['StaffNo']
6397
6486
  end
6398
6487
  end
6399
6488
 
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.1144
4
+ version: 3.0.1149
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-09-22 00:00:00.000000000 Z
11
+ date: 2025-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common