tencentcloud-sdk-ccc 3.0.675 → 3.0.677

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d925379c2aec1d48b8d17ea4a8dcfb0bf80ba4d
4
- data.tar.gz: 5a02abfe885cef6d5cd74f6fb00610541e597313
3
+ metadata.gz: a944153c65acfcff384cfc9f0b57235b21b8b99e
4
+ data.tar.gz: 1853133c24cba7762bc6df8ea5e9082e73e1666a
5
5
  SHA512:
6
- metadata.gz: 8bdaab7ed2516d5f9b9cf20ece8c89810c1f786267c9d0dae8a03d99c6bb3ae315952fc77ce7f108bde767779d59c68b3ab57ac789644669c20ba2c7890a17a7
7
- data.tar.gz: 1f22d4193805e66002255db153e3af8a4259409381d9d4f17e5569911b47907297117b602f66b7b6344744e38a2e3e534919fed779c094c4d0763d66507c323e
6
+ metadata.gz: 8d5d89a3311983caa7b300097b51745cf88588866566426ea0f3da42aa0e41dc289895d741001b9d15b5e876176bbf6282df68e2a4645d32999cf8ef53e37c58
7
+ data.tar.gz: a244f9156ea879d49a1e564b5f97b94a1dc5c0993f1a84a3ef7a3a670344fb73c9cee05a0fa5bc0059cb7a646ba3f4717036943015b12da370674b933efd3eec
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.675
1
+ 3.0.677
@@ -561,6 +561,30 @@ module TencentCloud
561
561
 
562
562
  # 获取包括全媒体和文本会话两种类型的服务记录。
563
563
 
564
+ # @param request: Request instance for DescribeIMCdrList.
565
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeIMCdrListRequest`
566
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeIMCdrListResponse`
567
+ def DescribeIMCdrList(request)
568
+ body = send_request('DescribeIMCdrList', request.serialize)
569
+ response = JSON.parse(body)
570
+ if response['Response'].key?('Error') == false
571
+ model = DescribeIMCdrListResponse.new
572
+ model.deserialize(response['Response'])
573
+ model
574
+ else
575
+ code = response['Response']['Error']['Code']
576
+ message = response['Response']['Error']['Message']
577
+ reqid = response['Response']['RequestId']
578
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
579
+ end
580
+ rescue TencentCloud::Common::TencentCloudSDKException => e
581
+ raise e
582
+ rescue StandardError => e
583
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
584
+ end
585
+
586
+ # 获取包括全媒体和文本会话两种类型的服务记录。
587
+
564
588
  # @param request: Request instance for DescribeIMCdrs.
565
589
  # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeIMCdrsRequest`
566
590
  # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeIMCdrsResponse`
@@ -1405,6 +1405,9 @@ module TencentCloud
1405
1405
  # @type SessionId: String
1406
1406
 
1407
1407
  attr_accessor :InstanceId, :SdkAppId, :CdrId, :Limit, :Offset, :Order, :SessionId
1408
+ extend Gem::Deprecate
1409
+ deprecate :InstanceId, :none, 2023, 10
1410
+ deprecate :InstanceId=, :none, 2023, 10
1408
1411
 
1409
1412
  def initialize(instanceid=nil, sdkappid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
1410
1413
  @InstanceId = instanceid
@@ -1582,6 +1585,74 @@ module TencentCloud
1582
1585
  end
1583
1586
  end
1584
1587
 
1588
+ # DescribeIMCdrList请求参数结构体
1589
+ class DescribeIMCdrListRequest < TencentCloud::Common::AbstractModel
1590
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
1591
+ # @type SdkAppId: Integer
1592
+ # @param StartTimestamp: 起始时间(必填),Unix 秒级时间戳
1593
+ # @type StartTimestamp: Integer
1594
+ # @param EndTimestamp: 结束时间(必填),Unix 秒级时间戳
1595
+ # @type EndTimestamp: Integer
1596
+ # @param Limit: 返回记录条数,最大为100默认20
1597
+ # @type Limit: Integer
1598
+ # @param Offset: 返回记录偏移,默认为 0
1599
+ # @type Offset: Integer
1600
+ # @param Type: 1为全媒体,2为文本客服,不填则查询全部
1601
+ # @type Type: Integer
1602
+
1603
+ attr_accessor :SdkAppId, :StartTimestamp, :EndTimestamp, :Limit, :Offset, :Type
1604
+
1605
+ def initialize(sdkappid=nil, starttimestamp=nil, endtimestamp=nil, limit=nil, offset=nil, type=nil)
1606
+ @SdkAppId = sdkappid
1607
+ @StartTimestamp = starttimestamp
1608
+ @EndTimestamp = endtimestamp
1609
+ @Limit = limit
1610
+ @Offset = offset
1611
+ @Type = type
1612
+ end
1613
+
1614
+ def deserialize(params)
1615
+ @SdkAppId = params['SdkAppId']
1616
+ @StartTimestamp = params['StartTimestamp']
1617
+ @EndTimestamp = params['EndTimestamp']
1618
+ @Limit = params['Limit']
1619
+ @Offset = params['Offset']
1620
+ @Type = params['Type']
1621
+ end
1622
+ end
1623
+
1624
+ # DescribeIMCdrList返回参数结构体
1625
+ class DescribeIMCdrListResponse < TencentCloud::Common::AbstractModel
1626
+ # @param TotalCount: 总记录数
1627
+ # @type TotalCount: Integer
1628
+ # @param IMCdrList: 服务记录列表
1629
+ # 注意:此字段可能返回 null,表示取不到有效值。
1630
+ # @type IMCdrList: Array
1631
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1632
+ # @type RequestId: String
1633
+
1634
+ attr_accessor :TotalCount, :IMCdrList, :RequestId
1635
+
1636
+ def initialize(totalcount=nil, imcdrlist=nil, requestid=nil)
1637
+ @TotalCount = totalcount
1638
+ @IMCdrList = imcdrlist
1639
+ @RequestId = requestid
1640
+ end
1641
+
1642
+ def deserialize(params)
1643
+ @TotalCount = params['TotalCount']
1644
+ unless params['IMCdrList'].nil?
1645
+ @IMCdrList = []
1646
+ params['IMCdrList'].each do |i|
1647
+ imcdrinfo_tmp = IMCdrInfo.new
1648
+ imcdrinfo_tmp.deserialize(i)
1649
+ @IMCdrList << imcdrinfo_tmp
1650
+ end
1651
+ end
1652
+ @RequestId = params['RequestId']
1653
+ end
1654
+ end
1655
+
1585
1656
  # DescribeIMCdrs请求参数结构体
1586
1657
  class DescribeIMCdrsRequest < TencentCloud::Common::AbstractModel
1587
1658
  # @param StartTimestamp: 起始时间(必填),Unix 秒级时间戳
@@ -1600,6 +1671,9 @@ module TencentCloud
1600
1671
  # @type Type: Integer
1601
1672
 
1602
1673
  attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
1674
+ extend Gem::Deprecate
1675
+ deprecate :InstanceId, :none, 2023, 10
1676
+ deprecate :InstanceId=, :none, 2023, 10
1603
1677
 
1604
1678
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
1605
1679
  @StartTimestamp = starttimestamp
@@ -1628,14 +1702,21 @@ module TencentCloud
1628
1702
  # @type TotalCount: Integer
1629
1703
  # @param IMCdrs: 服务记录列表
1630
1704
  # @type IMCdrs: Array
1705
+ # @param IMCdrList: 服务记录列表
1706
+ # 注意:此字段可能返回 null,表示取不到有效值。
1707
+ # @type IMCdrList: Array
1631
1708
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1632
1709
  # @type RequestId: String
1633
1710
 
1634
- attr_accessor :TotalCount, :IMCdrs, :RequestId
1711
+ attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
1712
+ extend Gem::Deprecate
1713
+ deprecate :IMCdrs, :none, 2023, 10
1714
+ deprecate :IMCdrs=, :none, 2023, 10
1635
1715
 
1636
- def initialize(totalcount=nil, imcdrs=nil, requestid=nil)
1716
+ def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
1637
1717
  @TotalCount = totalcount
1638
1718
  @IMCdrs = imcdrs
1719
+ @IMCdrList = imcdrlist
1639
1720
  @RequestId = requestid
1640
1721
  end
1641
1722
 
@@ -1649,6 +1730,14 @@ module TencentCloud
1649
1730
  @IMCdrs << imcdrinfo_tmp
1650
1731
  end
1651
1732
  end
1733
+ unless params['IMCdrList'].nil?
1734
+ @IMCdrList = []
1735
+ params['IMCdrList'].each do |i|
1736
+ imcdrinfo_tmp = IMCdrInfo.new
1737
+ imcdrinfo_tmp.deserialize(i)
1738
+ @IMCdrList << imcdrinfo_tmp
1739
+ end
1740
+ end
1652
1741
  @RequestId = params['RequestId']
1653
1742
  end
1654
1743
  end
@@ -3516,7 +3605,7 @@ module TencentCloud
3516
3605
 
3517
3606
  # 电话呼入 107 ivrEnd IVR 后直接结束
3518
3607
 
3519
- # 电话呼入 100 CallinBlockedContact 呼入黑名单
3608
+ # 电话呼入 100 blackList 呼入黑名单
3520
3609
 
3521
3610
  # 电话呼出 2 unconnected 未接通
3522
3611
 
@@ -3586,7 +3675,7 @@ module TencentCloud
3586
3675
 
3587
3676
  # 电话呼入 107 ivrEnd IVR 后直接结束
3588
3677
 
3589
- # 电话呼入 100 CallinBlockedContact 呼入黑名单
3678
+ # 电话呼入 100 blackList 呼入黑名单
3590
3679
 
3591
3680
  # 电话呼出 2 unconnected 未接通
3592
3681
 
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.675
4
+ version: 3.0.677
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-12 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common