tencentcloud-sdk-trp 3.0.552 → 3.0.554
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210515/client.rb +72 -0
- data/lib/v20210515/models.rb +186 -0
- 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: 560d856ee3ced1a1be1ed1420642acec9d36c7e2
|
4
|
+
data.tar.gz: 2098934e82bb593a6308aa0ae38954c1d8e4d206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25ce6804c244bb1d68b7625276b3ade02424d217c06b7bea72f40e65da7281ba1ee3a3d226a80d37f83d8608042b83cbf1609b9463e614d3a4606244463db3b0
|
7
|
+
data.tar.gz: 4416969161feeca8628dca566222c0a55a2dba9ae2a58a110aae755054c5df781d53217e443aaefdac28bb02caab97af7a9b2462486e6c8bbd4f153c56e5fac2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.554
|
data/lib/v20210515/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 接收客户侧的用户已授权的号码。
|
33
|
+
|
34
|
+
# @param request: Request instance for AuthorizedTransfer.
|
35
|
+
# @type request: :class:`Tencentcloud::trp::V20210515::AuthorizedTransferRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::trp::V20210515::AuthorizedTransferResponse`
|
37
|
+
def AuthorizedTransfer(request)
|
38
|
+
body = send_request('AuthorizedTransfer', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = AuthorizedTransferResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 新增批次
|
33
57
|
|
34
58
|
# @param request: Request instance for CreateCodeBatch.
|
@@ -894,6 +918,30 @@ module TencentCloud
|
|
894
918
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
895
919
|
end
|
896
920
|
|
921
|
+
# 接收客户反馈的各环节数据
|
922
|
+
|
923
|
+
# @param request: Request instance for EffectFeedback.
|
924
|
+
# @type request: :class:`Tencentcloud::trp::V20210515::EffectFeedbackRequest`
|
925
|
+
# @rtype: :class:`Tencentcloud::trp::V20210515::EffectFeedbackResponse`
|
926
|
+
def EffectFeedback(request)
|
927
|
+
body = send_request('EffectFeedback', request.serialize)
|
928
|
+
response = JSON.parse(body)
|
929
|
+
if response['Response'].key?('Error') == false
|
930
|
+
model = EffectFeedbackResponse.new
|
931
|
+
model.deserialize(response['Response'])
|
932
|
+
model
|
933
|
+
else
|
934
|
+
code = response['Response']['Error']['Code']
|
935
|
+
message = response['Response']['Error']['Message']
|
936
|
+
reqid = response['Response']['RequestId']
|
937
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
938
|
+
end
|
939
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
940
|
+
raise e
|
941
|
+
rescue StandardError => e
|
942
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
943
|
+
end
|
944
|
+
|
897
945
|
# 修改批次
|
898
946
|
|
899
947
|
# @param request: Request instance for ModifyCodeBatch.
|
@@ -1111,6 +1159,30 @@ module TencentCloud
|
|
1111
1159
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1112
1160
|
end
|
1113
1161
|
|
1162
|
+
# 接收离线筛选包回执,用于效果统计和分析。
|
1163
|
+
|
1164
|
+
# @param request: Request instance for ReportBatchCallbackStatus.
|
1165
|
+
# @type request: :class:`Tencentcloud::trp::V20210515::ReportBatchCallbackStatusRequest`
|
1166
|
+
# @rtype: :class:`Tencentcloud::trp::V20210515::ReportBatchCallbackStatusResponse`
|
1167
|
+
def ReportBatchCallbackStatus(request)
|
1168
|
+
body = send_request('ReportBatchCallbackStatus', request.serialize)
|
1169
|
+
response = JSON.parse(body)
|
1170
|
+
if response['Response'].key?('Error') == false
|
1171
|
+
model = ReportBatchCallbackStatusResponse.new
|
1172
|
+
model.deserialize(response['Response'])
|
1173
|
+
model
|
1174
|
+
else
|
1175
|
+
code = response['Response']['Error']['Code']
|
1176
|
+
message = response['Response']['Error']['Message']
|
1177
|
+
reqid = response['Response']['RequestId']
|
1178
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1179
|
+
end
|
1180
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1181
|
+
raise e
|
1182
|
+
rescue StandardError => e
|
1183
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1184
|
+
end
|
1185
|
+
|
1114
1186
|
|
1115
1187
|
end
|
1116
1188
|
end
|
data/lib/v20210515/models.rb
CHANGED
@@ -17,6 +17,48 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Trp
|
19
19
|
module V20210515
|
20
|
+
# AuthorizedTransfer请求参数结构体
|
21
|
+
class AuthorizedTransferRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param BusinessSecurityData: 业务加密入参。
|
23
|
+
# @type BusinessSecurityData: :class:`Tencentcloud::Trp.v20210515.models.InputEncryptData`
|
24
|
+
|
25
|
+
attr_accessor :BusinessSecurityData
|
26
|
+
|
27
|
+
def initialize(businesssecuritydata=nil)
|
28
|
+
@BusinessSecurityData = businesssecuritydata
|
29
|
+
end
|
30
|
+
|
31
|
+
def deserialize(params)
|
32
|
+
unless params['BusinessSecurityData'].nil?
|
33
|
+
@BusinessSecurityData = InputEncryptData.new
|
34
|
+
@BusinessSecurityData.deserialize(params['BusinessSecurityData'])
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
# AuthorizedTransfer返回参数结构体
|
40
|
+
class AuthorizedTransferResponse < TencentCloud::Common::AbstractModel
|
41
|
+
# @param Data: 业务出参。
|
42
|
+
# @type Data: :class:`Tencentcloud::Trp.v20210515.models.OutputAuthorizedTransfer`
|
43
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
44
|
+
# @type RequestId: String
|
45
|
+
|
46
|
+
attr_accessor :Data, :RequestId
|
47
|
+
|
48
|
+
def initialize(data=nil, requestid=nil)
|
49
|
+
@Data = data
|
50
|
+
@RequestId = requestid
|
51
|
+
end
|
52
|
+
|
53
|
+
def deserialize(params)
|
54
|
+
unless params['Data'].nil?
|
55
|
+
@Data = OutputAuthorizedTransfer.new
|
56
|
+
@Data.deserialize(params['Data'])
|
57
|
+
end
|
58
|
+
@RequestId = params['RequestId']
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
20
62
|
# 上链数据
|
21
63
|
class ChainData < TencentCloud::Common::AbstractModel
|
22
64
|
# @param BlockHash: 区块hash
|
@@ -2429,6 +2471,48 @@ module TencentCloud
|
|
2429
2471
|
end
|
2430
2472
|
end
|
2431
2473
|
|
2474
|
+
# EffectFeedback请求参数结构体
|
2475
|
+
class EffectFeedbackRequest < TencentCloud::Common::AbstractModel
|
2476
|
+
# @param BusinessSecurityData: 业务加密入参。
|
2477
|
+
# @type BusinessSecurityData: :class:`Tencentcloud::Trp.v20210515.models.InputEncryptData`
|
2478
|
+
|
2479
|
+
attr_accessor :BusinessSecurityData
|
2480
|
+
|
2481
|
+
def initialize(businesssecuritydata=nil)
|
2482
|
+
@BusinessSecurityData = businesssecuritydata
|
2483
|
+
end
|
2484
|
+
|
2485
|
+
def deserialize(params)
|
2486
|
+
unless params['BusinessSecurityData'].nil?
|
2487
|
+
@BusinessSecurityData = InputEncryptData.new
|
2488
|
+
@BusinessSecurityData.deserialize(params['BusinessSecurityData'])
|
2489
|
+
end
|
2490
|
+
end
|
2491
|
+
end
|
2492
|
+
|
2493
|
+
# EffectFeedback返回参数结构体
|
2494
|
+
class EffectFeedbackResponse < TencentCloud::Common::AbstractModel
|
2495
|
+
# @param Data: 业务出参。
|
2496
|
+
# @type Data: :class:`Tencentcloud::Trp.v20210515.models.OutputAuthorizedTransfer`
|
2497
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2498
|
+
# @type RequestId: String
|
2499
|
+
|
2500
|
+
attr_accessor :Data, :RequestId
|
2501
|
+
|
2502
|
+
def initialize(data=nil, requestid=nil)
|
2503
|
+
@Data = data
|
2504
|
+
@RequestId = requestid
|
2505
|
+
end
|
2506
|
+
|
2507
|
+
def deserialize(params)
|
2508
|
+
unless params['Data'].nil?
|
2509
|
+
@Data = OutputAuthorizedTransfer.new
|
2510
|
+
@Data.deserialize(params['Data'])
|
2511
|
+
end
|
2512
|
+
@RequestId = params['RequestId']
|
2513
|
+
end
|
2514
|
+
end
|
2515
|
+
|
2432
2516
|
# 预留字段
|
2433
2517
|
class Ext < TencentCloud::Common::AbstractModel
|
2434
2518
|
|
@@ -2440,6 +2524,39 @@ module TencentCloud
|
|
2440
2524
|
end
|
2441
2525
|
end
|
2442
2526
|
|
2527
|
+
# 业务加密入参
|
2528
|
+
class InputEncryptData < TencentCloud::Common::AbstractModel
|
2529
|
+
# @param EncryptMethod: 加密方式,0:AES加密;
|
2530
|
+
# @type EncryptMethod: Integer
|
2531
|
+
# @param EncryptMode: 加密算法中的块处理模式,1:CBC模式; 目前只支持CBC模式
|
2532
|
+
# @type EncryptMode: Integer
|
2533
|
+
# @param PaddingType: 填充模式,0:ZeroPadding;1:PKCS5Padding;2:
|
2534
|
+
# PKCS7Padding。
|
2535
|
+
# @type PaddingType: Integer
|
2536
|
+
# @param EncryptData: 加密数据,将AuthorizedData结构体数组(数组最大长度不超过20)序列化成JSON字符串,对得到的字符串加密并填充到该字段。
|
2537
|
+
# @type EncryptData: String
|
2538
|
+
# @param IsAuthorized: 用户是否授权,本接口取值:1,已授权。
|
2539
|
+
# @type IsAuthorized: Integer
|
2540
|
+
|
2541
|
+
attr_accessor :EncryptMethod, :EncryptMode, :PaddingType, :EncryptData, :IsAuthorized
|
2542
|
+
|
2543
|
+
def initialize(encryptmethod=nil, encryptmode=nil, paddingtype=nil, encryptdata=nil, isauthorized=nil)
|
2544
|
+
@EncryptMethod = encryptmethod
|
2545
|
+
@EncryptMode = encryptmode
|
2546
|
+
@PaddingType = paddingtype
|
2547
|
+
@EncryptData = encryptdata
|
2548
|
+
@IsAuthorized = isauthorized
|
2549
|
+
end
|
2550
|
+
|
2551
|
+
def deserialize(params)
|
2552
|
+
@EncryptMethod = params['EncryptMethod']
|
2553
|
+
@EncryptMode = params['EncryptMode']
|
2554
|
+
@PaddingType = params['PaddingType']
|
2555
|
+
@EncryptData = params['EncryptData']
|
2556
|
+
@IsAuthorized = params['IsAuthorized']
|
2557
|
+
end
|
2558
|
+
end
|
2559
|
+
|
2443
2560
|
# 通用调度任务
|
2444
2561
|
class Job < TencentCloud::Common::AbstractModel
|
2445
2562
|
# @param JobId: 调度ID
|
@@ -3054,6 +3171,33 @@ module TencentCloud
|
|
3054
3171
|
end
|
3055
3172
|
end
|
3056
3173
|
|
3174
|
+
# 业务出参
|
3175
|
+
class OutputAuthorizedTransfer < TencentCloud::Common::AbstractModel
|
3176
|
+
# @param Code: 推送状态,0表示成功。
|
3177
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3178
|
+
# @type Code: Integer
|
3179
|
+
# @param Message: 错误码。
|
3180
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3181
|
+
# @type Message: String
|
3182
|
+
# @param Value: 错误信息描述。
|
3183
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3184
|
+
# @type Value: String
|
3185
|
+
|
3186
|
+
attr_accessor :Code, :Message, :Value
|
3187
|
+
|
3188
|
+
def initialize(code=nil, message=nil, value=nil)
|
3189
|
+
@Code = code
|
3190
|
+
@Message = message
|
3191
|
+
@Value = value
|
3192
|
+
end
|
3193
|
+
|
3194
|
+
def deserialize(params)
|
3195
|
+
@Code = params['Code']
|
3196
|
+
@Message = params['Message']
|
3197
|
+
@Value = params['Value']
|
3198
|
+
end
|
3199
|
+
end
|
3200
|
+
|
3057
3201
|
# 层级码配置
|
3058
3202
|
class PackSpec < TencentCloud::Common::AbstractModel
|
3059
3203
|
# @param Level: 层级
|
@@ -3275,6 +3419,48 @@ module TencentCloud
|
|
3275
3419
|
end
|
3276
3420
|
end
|
3277
3421
|
|
3422
|
+
# ReportBatchCallbackStatus请求参数结构体
|
3423
|
+
class ReportBatchCallbackStatusRequest < TencentCloud::Common::AbstractModel
|
3424
|
+
# @param BusinessSecurityData: 业务加密入参。
|
3425
|
+
# @type BusinessSecurityData: :class:`Tencentcloud::Trp.v20210515.models.InputEncryptData`
|
3426
|
+
|
3427
|
+
attr_accessor :BusinessSecurityData
|
3428
|
+
|
3429
|
+
def initialize(businesssecuritydata=nil)
|
3430
|
+
@BusinessSecurityData = businesssecuritydata
|
3431
|
+
end
|
3432
|
+
|
3433
|
+
def deserialize(params)
|
3434
|
+
unless params['BusinessSecurityData'].nil?
|
3435
|
+
@BusinessSecurityData = InputEncryptData.new
|
3436
|
+
@BusinessSecurityData.deserialize(params['BusinessSecurityData'])
|
3437
|
+
end
|
3438
|
+
end
|
3439
|
+
end
|
3440
|
+
|
3441
|
+
# ReportBatchCallbackStatus返回参数结构体
|
3442
|
+
class ReportBatchCallbackStatusResponse < TencentCloud::Common::AbstractModel
|
3443
|
+
# @param Data: 业务出参。
|
3444
|
+
# @type Data: :class:`Tencentcloud::Trp.v20210515.models.OutputAuthorizedTransfer`
|
3445
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3446
|
+
# @type RequestId: String
|
3447
|
+
|
3448
|
+
attr_accessor :Data, :RequestId
|
3449
|
+
|
3450
|
+
def initialize(data=nil, requestid=nil)
|
3451
|
+
@Data = data
|
3452
|
+
@RequestId = requestid
|
3453
|
+
end
|
3454
|
+
|
3455
|
+
def deserialize(params)
|
3456
|
+
unless params['Data'].nil?
|
3457
|
+
@Data = OutputAuthorizedTransfer.new
|
3458
|
+
@Data.deserialize(params['Data'])
|
3459
|
+
end
|
3460
|
+
@RequestId = params['RequestId']
|
3461
|
+
end
|
3462
|
+
end
|
3463
|
+
|
3278
3464
|
# 扫码明细
|
3279
3465
|
class ScanLog < TencentCloud::Common::AbstractModel
|
3280
3466
|
# @param LogId: 行ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.554
|
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-04-
|
11
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|