tencentcloud-sdk-ccc 1.0.296 → 1.0.297

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: 4a73667c6cc1704630a41640d60f0d5eec4a6516
4
- data.tar.gz: 2833a4a6a70cf5d525444dc3f0d1fcaa564bc655
3
+ metadata.gz: 8c55714bd96bf355fed5ea752df6803bc72f3d00
4
+ data.tar.gz: 2b84f1165d7ddc51f2c6085680a78df5a701c305
5
5
  SHA512:
6
- metadata.gz: 773f9422850a62b76a3b0b539e7879daff06a53ef0b715f3773033c4e0c905efa022acba8350eea02fbf89420c57dad8716e1e450df3a604f674bc7b7ce5df94
7
- data.tar.gz: 99bb2be0d3d7d7619223e3d9de8c4110b26f944090fcfb16cfe0811ab8ad61531869be9a51b3a1020064a5ab4f3f603b8306d7622b5cc0bbdc4d68e73fa571bf
6
+ metadata.gz: 4ef14c32534e01e4a0dee97b76280630dee71998aae9e022d6364aaaa4d30798f5354ccc0add246f1e32eeb73b9dc72059e90e389479a74dd6e1cf4430e167c8
7
+ data.tar.gz: 6fb8ec45e0ab2c0e6258ca64385ca882a021547ffd41d42bd612c9aa8fc1a0bb7fb20082fcab31a468a309ca1193999bf4f42c3f983c8b8191081cfb07907f3b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.296
1
+ 1.0.297
@@ -365,6 +365,30 @@ module TencentCloud
365
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
366
  end
367
367
 
368
+ # 获取主被叫受保护的电话服务记录与录音
369
+
370
+ # @param request: Request instance for DescribeProtectedTelCdr.
371
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeProtectedTelCdrRequest`
372
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeProtectedTelCdrResponse`
373
+ def DescribeProtectedTelCdr(request)
374
+ body = send_request('DescribeProtectedTelCdr', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DescribeProtectedTelCdrResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
368
392
  # 废弃接口下架
369
393
 
370
394
  # 获取坐席用户列表(废弃)
@@ -1012,6 +1012,69 @@ module TencentCloud
1012
1012
  end
1013
1013
  end
1014
1014
 
1015
+ # DescribeProtectedTelCdr请求参数结构体
1016
+ class DescribeProtectedTelCdrRequest < TencentCloud::Common::AbstractModel
1017
+ # @param StartTimeStamp: 起始时间戳,Unix 秒级时间戳
1018
+ # @type StartTimeStamp: Integer
1019
+ # @param EndTimeStamp: 结束时间戳,Unix 秒级时间戳
1020
+ # @type EndTimeStamp: Integer
1021
+ # @param SdkAppId: 应用 ID,可以查看 https://console.cloud.tencent.com/ccc
1022
+ # @type SdkAppId: Integer
1023
+ # @param PageSize: 分页尺寸,上限 100
1024
+ # @type PageSize: Integer
1025
+ # @param PageNumber: 分页页码,从 0 开始
1026
+ # @type PageNumber: Integer
1027
+
1028
+ attr_accessor :StartTimeStamp, :EndTimeStamp, :SdkAppId, :PageSize, :PageNumber
1029
+
1030
+ def initialize(starttimestamp=nil, endtimestamp=nil, sdkappid=nil, pagesize=nil, pagenumber=nil)
1031
+ @StartTimeStamp = starttimestamp
1032
+ @EndTimeStamp = endtimestamp
1033
+ @SdkAppId = sdkappid
1034
+ @PageSize = pagesize
1035
+ @PageNumber = pagenumber
1036
+ end
1037
+
1038
+ def deserialize(params)
1039
+ @StartTimeStamp = params['StartTimeStamp']
1040
+ @EndTimeStamp = params['EndTimeStamp']
1041
+ @SdkAppId = params['SdkAppId']
1042
+ @PageSize = params['PageSize']
1043
+ @PageNumber = params['PageNumber']
1044
+ end
1045
+ end
1046
+
1047
+ # DescribeProtectedTelCdr返回参数结构体
1048
+ class DescribeProtectedTelCdrResponse < TencentCloud::Common::AbstractModel
1049
+ # @param TotalCount: 话单记录总数
1050
+ # @type TotalCount: Integer
1051
+ # @param TelCdrs: 话单记录
1052
+ # @type TelCdrs: Array
1053
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1054
+ # @type RequestId: String
1055
+
1056
+ attr_accessor :TotalCount, :TelCdrs, :RequestId
1057
+
1058
+ def initialize(totalcount=nil, telcdrs=nil, requestid=nil)
1059
+ @TotalCount = totalcount
1060
+ @TelCdrs = telcdrs
1061
+ @RequestId = requestid
1062
+ end
1063
+
1064
+ def deserialize(params)
1065
+ @TotalCount = params['TotalCount']
1066
+ unless params['TelCdrs'].nil?
1067
+ @TelCdrs = []
1068
+ params['TelCdrs'].each do |i|
1069
+ telcdrinfo_tmp = TelCdrInfo.new
1070
+ telcdrinfo_tmp.deserialize(i)
1071
+ @TelCdrs << telcdrinfo_tmp
1072
+ end
1073
+ end
1074
+ @RequestId = params['RequestId']
1075
+ end
1076
+ end
1077
+
1015
1078
  # DescribeSeatUserList请求参数结构体
1016
1079
  class DescribeSeatUserListRequest < TencentCloud::Common::AbstractModel
1017
1080
  # @param InstanceId: 实例ID
@@ -1294,21 +1357,21 @@ module TencentCloud
1294
1357
 
1295
1358
  # DescribeTelCdr请求参数结构体
1296
1359
  class DescribeTelCdrRequest < TencentCloud::Common::AbstractModel
1297
- # @param StartTimeStamp: 起始时间戳,Unix 时间戳
1360
+ # @param StartTimeStamp: 起始时间戳,Unix 秒级时间戳
1298
1361
  # @type StartTimeStamp: Integer
1299
- # @param EndTimeStamp: 结束时间戳,Unix 时间戳
1362
+ # @param EndTimeStamp: 结束时间戳,Unix 秒级时间戳
1300
1363
  # @type EndTimeStamp: Integer
1301
- # @param InstanceId: 实例 ID(deprecated)
1364
+ # @param InstanceId: 实例 ID(废弃)
1302
1365
  # @type InstanceId: Integer
1303
- # @param Limit: 返回数据条数,上限(deprecated)
1366
+ # @param Limit: 返回数据条数,上限(废弃)
1304
1367
  # @type Limit: Integer
1305
- # @param Offset: 偏移(deprecated)
1368
+ # @param Offset: 偏移(废弃)
1306
1369
  # @type Offset: Integer
1307
- # @param SdkAppId: 应用 ID
1370
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
1308
1371
  # @type SdkAppId: Integer
1309
- # @param PageSize: 分页尺寸,上限 100
1372
+ # @param PageSize: 分页尺寸(必填),上限 100
1310
1373
  # @type PageSize: Integer
1311
- # @param PageNumber: 分页页码,从 0 开始
1374
+ # @param PageNumber: 分页页码(必填),从 0 开始
1312
1375
  # @type PageNumber: Integer
1313
1376
  # @param Phones: 按手机号筛选
1314
1377
  # @type Phones: Array
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: 1.0.296
4
+ version: 1.0.297
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-13 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common