tencentcloud-sdk-partners 3.0.1028 → 3.0.1029

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: e66264b374d79943bec465f5b504ec8f364f7d67
4
- data.tar.gz: ed400c0e9cfb419b71ca2a8166779d2c2934614f
3
+ metadata.gz: 6443d932ec6d946268af3df82c6be01aca693678
4
+ data.tar.gz: 2fade158a908d0c5a0b053613e4c80856d389312
5
5
  SHA512:
6
- metadata.gz: e12bf559f620cc094ca7960b6334a67a96acf7b98b126dc44163121ec601c8d7afe9480ee03ef5553bde1480faaf8e3168658d4141a5668190ea15964347bdd5
7
- data.tar.gz: 638e3a1b3ceb2c943a2d4bd37c4feb6c7741056fc72d9b55e576feca2ae55d56c46fa85b1597a23849e020ce1f824674abde7fe93ca7d25e72ff4df99c2ceed3
6
+ metadata.gz: d187da419900835667abcc904e181dfd062562abfb0113bddb18c2fcb18a3a490a8d7a81c2f7baf47f3850020db804fecda412c127c24775948f64bc4ca8d423
7
+ data.tar.gz: b312421d9eee8120b067c97661328b6bc2173bbe3844ce1a5032ed78f1ef5bdd6050d778aee70dd721bede119080d4987566480130045e5761a1d81b1377a3b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1028
1
+ 3.0.1029
@@ -392,6 +392,30 @@ module TencentCloud
392
392
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
393
393
  end
394
394
 
395
+ # 查询客户的交易类型切换任务的信息,查询成功则获取当前用户的切换链接,查询失败则返回失败的原因
396
+
397
+ # @param request: Request instance for DescribeClientSwitchTraTaskInfo.
398
+ # @type request: :class:`Tencentcloud::partners::V20180321::DescribeClientSwitchTraTaskInfoRequest`
399
+ # @rtype: :class:`Tencentcloud::partners::V20180321::DescribeClientSwitchTraTaskInfoResponse`
400
+ def DescribeClientSwitchTraTaskInfo(request)
401
+ body = send_request('DescribeClientSwitchTraTaskInfo', request.serialize)
402
+ response = JSON.parse(body)
403
+ if response['Response'].key?('Error') == false
404
+ model = DescribeClientSwitchTraTaskInfoResponse.new
405
+ model.deserialize(response['Response'])
406
+ model
407
+ else
408
+ code = response['Response']['Error']['Code']
409
+ message = response['Response']['Error']['Message']
410
+ reqid = response['Response']['RequestId']
411
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
412
+ end
413
+ rescue TencentCloud::Common::TencentCloudSDKException => e
414
+ raise e
415
+ rescue StandardError => e
416
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
417
+ end
418
+
395
419
  # 【该接口已下线,请切换使用升级版本DescribeRebateInfosNew】代理商可查询自己名下全部返佣信息
396
420
 
397
421
  # @param request: Request instance for DescribeRebateInfos.
@@ -1320,6 +1320,62 @@ module TencentCloud
1320
1320
  end
1321
1321
  end
1322
1322
 
1323
+ # DescribeClientSwitchTraTaskInfo请求参数结构体
1324
+ class DescribeClientSwitchTraTaskInfoRequest < TencentCloud::Common::AbstractModel
1325
+ # @param ClientUin: 代客UIN
1326
+ # @type ClientUin: String
1327
+ # @param SwitchType: 1:代理,2:代采
1328
+ # @type SwitchType: Integer
1329
+
1330
+ attr_accessor :ClientUin, :SwitchType
1331
+
1332
+ def initialize(clientuin=nil, switchtype=nil)
1333
+ @ClientUin = clientuin
1334
+ @SwitchType = switchtype
1335
+ end
1336
+
1337
+ def deserialize(params)
1338
+ @ClientUin = params['ClientUin']
1339
+ @SwitchType = params['SwitchType']
1340
+ end
1341
+ end
1342
+
1343
+ # DescribeClientSwitchTraTaskInfo返回参数结构体
1344
+ class DescribeClientSwitchTraTaskInfoResponse < TencentCloud::Common::AbstractModel
1345
+ # @param ClientUin: 客户UIN
1346
+ # @type ClientUin: String
1347
+ # @param SwitchType: 切换类型:代理,代采
1348
+ # @type SwitchType: String
1349
+ # @param Result: ok,符合,fail,不符合
1350
+ # @type Result: String
1351
+ # @param SwitchUrl: 切换链接
1352
+ # @type SwitchUrl: String
1353
+ # @param ResultMsg: 不符合的原因
1354
+ # @type ResultMsg: String
1355
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1356
+ # @type RequestId: String
1357
+
1358
+ attr_accessor :ClientUin, :SwitchType, :Result, :SwitchUrl, :ResultMsg, :RequestId
1359
+
1360
+ def initialize(clientuin=nil, switchtype=nil, result=nil, switchurl=nil, resultmsg=nil, requestid=nil)
1361
+ @ClientUin = clientuin
1362
+ @SwitchType = switchtype
1363
+ @Result = result
1364
+ @SwitchUrl = switchurl
1365
+ @ResultMsg = resultmsg
1366
+ @RequestId = requestid
1367
+ end
1368
+
1369
+ def deserialize(params)
1370
+ @ClientUin = params['ClientUin']
1371
+ @SwitchType = params['SwitchType']
1372
+ @Result = params['Result']
1373
+ @SwitchUrl = params['SwitchUrl']
1374
+ @ResultMsg = params['ResultMsg']
1375
+ @RequestId = params['RequestId']
1376
+ end
1377
+ end
1378
+
1323
1379
  # DescribeRebateInfosNew请求参数结构体
1324
1380
  class DescribeRebateInfosNewRequest < TencentCloud::Common::AbstractModel
1325
1381
  # @param RebateMonth: 返佣月份,如2018-02
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-partners
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1028
4
+ version: 3.0.1029
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-03-26 00:00:00.000000000 Z
11
+ date: 2025-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common