tencentcloud-sdk-partners 3.0.510 → 3.0.511

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: 410cd830a34dd4602a6d084ab3f753f2488fd3a3
4
- data.tar.gz: 50a3cbfc14ddb26305ff964857c85017dbc69acf
3
+ metadata.gz: c1d16360ffda181ebab6f4c42c1b1defd4ba8bf5
4
+ data.tar.gz: b90fc18ae053cd01be99ce9e4c783b657b61b7ca
5
5
  SHA512:
6
- metadata.gz: a2f4f075e53928d2d61443accc2d9d328cd044af64262f526385d6e2fc3123305a10df1fdc39881eab8c8325cac782c03761d69c7a7ee4e271bb5ed7fc2ec970
7
- data.tar.gz: db0f355f4bd1b673665bfaef81cb95bebe8abf86b7f82c7d269fd742c9dedb42eda28ccb928bc951bdba66463ac8f849158a7286bfc0de207a0cb81b7eb810fa
6
+ metadata.gz: 6da2dadf752dc2b109f254c8bf4de3331cf44e6aa4d8a2ba95f87b5b2394a20b1d3442c62ffbde0cec9c743afaee74d7b122effafc22829b82254cc91a47dbdd
7
+ data.tar.gz: 617acd97127590a6649f0dc8eb52bc47389bf50f5dfa26c11811eeeb99672347c35d1669fa31bedcf0151bda8c544ba124190c4a90d5ff979509ddb0a0e6a681
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.510
1
+ 3.0.511
@@ -77,6 +77,33 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 为代客or申请中代客分派跟进人(业务员)
81
+ # - 代客列表获取API: [DescribeAgentAuditedClients](https://cloud.tencent.com/document/product/563/19184)
82
+ # - 申请中代客列表获取API:[DescribeAgentClients](https://cloud.tencent.com/document/product/563/16046)
83
+ # - 业务员列表获取API:[DescribeSalesmans](https://cloud.tencent.com/document/product/563/35196)
84
+
85
+ # @param request: Request instance for AssignClientsToSales.
86
+ # @type request: :class:`Tencentcloud::partners::V20180321::AssignClientsToSalesRequest`
87
+ # @rtype: :class:`Tencentcloud::partners::V20180321::AssignClientsToSalesResponse`
88
+ def AssignClientsToSales(request)
89
+ body = send_request('AssignClientsToSales', request.serialize)
90
+ response = JSON.parse(body)
91
+ if response['Response'].key?('Error') == false
92
+ model = AssignClientsToSalesResponse.new
93
+ model.deserialize(response['Response'])
94
+ model
95
+ else
96
+ code = response['Response']['Error']['Code']
97
+ message = response['Response']['Error']['Message']
98
+ reqid = response['Response']['RequestId']
99
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
100
+ end
101
+ rescue TencentCloud::Common::TencentCloudSDKException => e
102
+ raise e
103
+ rescue StandardError => e
104
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
105
+ end
106
+
80
107
  # 代理商可以审核其名下申请中代客
81
108
 
82
109
  # @param request: Request instance for AuditApplyClient.
@@ -642,6 +642,60 @@ module TencentCloud
642
642
  end
643
643
  end
644
644
 
645
+ # AssignClientsToSales请求参数结构体
646
+ class AssignClientsToSalesRequest < TencentCloud::Common::AbstractModel
647
+ # @param ClientUins: 代客/申请中代客uin列表,最大50条
648
+ # @type ClientUins: Array
649
+ # @param SalesUin: 业务员uin
650
+ # @type SalesUin: String
651
+ # @param AssignClientStatus: 代客类型:normal-代客 apply-申请中代客
652
+ # @type AssignClientStatus: String
653
+ # @param AssignActionType: 操作类型:assign-执行分派 cancel-取消分派
654
+ # @type AssignActionType: String
655
+
656
+ attr_accessor :ClientUins, :SalesUin, :AssignClientStatus, :AssignActionType
657
+
658
+ def initialize(clientuins=nil, salesuin=nil, assignclientstatus=nil, assignactiontype=nil)
659
+ @ClientUins = clientuins
660
+ @SalesUin = salesuin
661
+ @AssignClientStatus = assignclientstatus
662
+ @AssignActionType = assignactiontype
663
+ end
664
+
665
+ def deserialize(params)
666
+ @ClientUins = params['ClientUins']
667
+ @SalesUin = params['SalesUin']
668
+ @AssignClientStatus = params['AssignClientStatus']
669
+ @AssignActionType = params['AssignActionType']
670
+ end
671
+ end
672
+
673
+ # AssignClientsToSales返回参数结构体
674
+ class AssignClientsToSalesResponse < TencentCloud::Common::AbstractModel
675
+ # @param SucceedUins: 处理成功的代客uin列表
676
+ # 注意:此字段可能返回 null,表示取不到有效值。
677
+ # @type SucceedUins: Array
678
+ # @param FailedUins: 处理失败的代客uin列表
679
+ # 注意:此字段可能返回 null,表示取不到有效值。
680
+ # @type FailedUins: Array
681
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
682
+ # @type RequestId: String
683
+
684
+ attr_accessor :SucceedUins, :FailedUins, :RequestId
685
+
686
+ def initialize(succeeduins=nil, faileduins=nil, requestid=nil)
687
+ @SucceedUins = succeeduins
688
+ @FailedUins = faileduins
689
+ @RequestId = requestid
690
+ end
691
+
692
+ def deserialize(params)
693
+ @SucceedUins = params['SucceedUins']
694
+ @FailedUins = params['FailedUins']
695
+ @RequestId = params['RequestId']
696
+ end
697
+ end
698
+
645
699
  # AuditApplyClient请求参数结构体
646
700
  class AuditApplyClientRequest < TencentCloud::Common::AbstractModel
647
701
  # @param ClientUin: 待审核客户账号ID
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.510
4
+ version: 3.0.511
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-02-16 00:00:00.000000000 Z
11
+ date: 2023-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common