tencentcloud-sdk-essbasic 3.0.723 → 3.0.724
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/v20210526/client.rb +24 -0
- data/lib/v20210526/models.rb +170 -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: ec34070428de14732191c8f94192cb102f2beaba
|
4
|
+
data.tar.gz: 4ee3d63dcffca3843c932f6eb19c12eb439526a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76cc143086caaadeff46e5e17c80411c95c4e6a7c785fe4246059583f23188a148bdf3911841a696f01cdbe295825aa29be414730d9c837c5184db8a741a7b22
|
7
|
+
data.tar.gz: eee6b6b8a11a19ca1f3e3df6f7837942c5817085e598e662f224244f2fea960a4c01ff4ec8a61b0168d6079235e86c186e5ba7b0b6f00402ee057d6388a89ae9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.724
|
data/lib/v20210526/client.rb
CHANGED
@@ -1793,6 +1793,30 @@ module TencentCloud
|
|
1793
1793
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1794
1794
|
end
|
1795
1795
|
|
1796
|
+
# 查询渠道子客企业信息
|
1797
|
+
|
1798
|
+
# @param request: Request instance for DescribeChannelOrganizations.
|
1799
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::DescribeChannelOrganizationsRequest`
|
1800
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::DescribeChannelOrganizationsResponse`
|
1801
|
+
def DescribeChannelOrganizations(request)
|
1802
|
+
body = send_request('DescribeChannelOrganizations', request.serialize)
|
1803
|
+
response = JSON.parse(body)
|
1804
|
+
if response['Response'].key?('Error') == false
|
1805
|
+
model = DescribeChannelOrganizationsResponse.new
|
1806
|
+
model.deserialize(response['Response'])
|
1807
|
+
model
|
1808
|
+
else
|
1809
|
+
code = response['Response']['Error']['Code']
|
1810
|
+
message = response['Response']['Error']['Message']
|
1811
|
+
reqid = response['Response']['RequestId']
|
1812
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1813
|
+
end
|
1814
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1815
|
+
raise e
|
1816
|
+
rescue StandardError => e
|
1817
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1818
|
+
end
|
1819
|
+
|
1796
1820
|
# 生成渠道子客用印申请审批小程序链接,链接类型(通过H5唤起小程序或通过APP跳转的方式查看)
|
1797
1821
|
|
1798
1822
|
# @param request: Request instance for DescribeChannelSealPolicyWorkflowUrl.
|
data/lib/v20210526/models.rb
CHANGED
@@ -4023,6 +4023,87 @@ module TencentCloud
|
|
4023
4023
|
end
|
4024
4024
|
end
|
4025
4025
|
|
4026
|
+
# 渠道企业信息
|
4027
|
+
class ChannelOrganizationInfo < TencentCloud::Common::AbstractModel
|
4028
|
+
# @param OrganizationId: 电子签企业Id
|
4029
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4030
|
+
# @type OrganizationId: String
|
4031
|
+
# @param OrganizationOpenId: 电子签企业OpenId
|
4032
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4033
|
+
# @type OrganizationOpenId: String
|
4034
|
+
# @param OrganizationName: 企业名称
|
4035
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4036
|
+
# @type OrganizationName: String
|
4037
|
+
# @param UnifiedSocialCreditCode: 企业信用代码
|
4038
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4039
|
+
# @type UnifiedSocialCreditCode: String
|
4040
|
+
# @param LegalName: 法人姓名
|
4041
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4042
|
+
# @type LegalName: String
|
4043
|
+
# @param LegalOpenId: 法人OpenId
|
4044
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4045
|
+
# @type LegalOpenId: String
|
4046
|
+
# @param AdminName: 超管姓名
|
4047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4048
|
+
# @type AdminName: String
|
4049
|
+
# @param AdminOpenId: 超管OpenId
|
4050
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4051
|
+
# @type AdminOpenId: String
|
4052
|
+
# @param AdminMobile: 超管手机号,脱敏后返回
|
4053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4054
|
+
# @type AdminMobile: String
|
4055
|
+
# @param AuthorizationStatus: 企业认证状态字段。值如下:
|
4056
|
+
# <ul>
|
4057
|
+
# <li>**"UNVERIFIED"**: 未认证的企业</li>
|
4058
|
+
# <li>**"VERIFYINGLEGALPENDINGAUTHORIZATION"**: 认证中待法人授权的企业</li>
|
4059
|
+
# <li>**"VERIFYINGAUTHORIZATIONFILEPENDING"**: 认证中授权书审核中的企业</li>
|
4060
|
+
# <li>**"VERIFYINGAUTHORIZATIONFILEREJECT"**: 认证中授权书已驳回的企业</li>
|
4061
|
+
# <li>**"VERIFYING"**: 认证中的企业</li>
|
4062
|
+
# <li>**"VERIFIED"**: 已认证的企业</li>
|
4063
|
+
# </ul>
|
4064
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4065
|
+
# @type AuthorizationStatus: String
|
4066
|
+
# @param AuthorizationType: 企业认证方式字段。值如下:
|
4067
|
+
# <ul>
|
4068
|
+
# <li>**"AuthorizationInit"**: 暂未选择授权方式</li>
|
4069
|
+
# <li>**"AuthorizationFile"**: 授权书</li>
|
4070
|
+
# <li>**"AuthorizationLegalPerson"**: 法人授权超管</li>
|
4071
|
+
# <li>**"AuthorizationLegalIdentity"**: 法人直接认证</li>
|
4072
|
+
# </ul>
|
4073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4074
|
+
# @type AuthorizationType: String
|
4075
|
+
|
4076
|
+
attr_accessor :OrganizationId, :OrganizationOpenId, :OrganizationName, :UnifiedSocialCreditCode, :LegalName, :LegalOpenId, :AdminName, :AdminOpenId, :AdminMobile, :AuthorizationStatus, :AuthorizationType
|
4077
|
+
|
4078
|
+
def initialize(organizationid=nil, organizationopenid=nil, organizationname=nil, unifiedsocialcreditcode=nil, legalname=nil, legalopenid=nil, adminname=nil, adminopenid=nil, adminmobile=nil, authorizationstatus=nil, authorizationtype=nil)
|
4079
|
+
@OrganizationId = organizationid
|
4080
|
+
@OrganizationOpenId = organizationopenid
|
4081
|
+
@OrganizationName = organizationname
|
4082
|
+
@UnifiedSocialCreditCode = unifiedsocialcreditcode
|
4083
|
+
@LegalName = legalname
|
4084
|
+
@LegalOpenId = legalopenid
|
4085
|
+
@AdminName = adminname
|
4086
|
+
@AdminOpenId = adminopenid
|
4087
|
+
@AdminMobile = adminmobile
|
4088
|
+
@AuthorizationStatus = authorizationstatus
|
4089
|
+
@AuthorizationType = authorizationtype
|
4090
|
+
end
|
4091
|
+
|
4092
|
+
def deserialize(params)
|
4093
|
+
@OrganizationId = params['OrganizationId']
|
4094
|
+
@OrganizationOpenId = params['OrganizationOpenId']
|
4095
|
+
@OrganizationName = params['OrganizationName']
|
4096
|
+
@UnifiedSocialCreditCode = params['UnifiedSocialCreditCode']
|
4097
|
+
@LegalName = params['LegalName']
|
4098
|
+
@LegalOpenId = params['LegalOpenId']
|
4099
|
+
@AdminName = params['AdminName']
|
4100
|
+
@AdminOpenId = params['AdminOpenId']
|
4101
|
+
@AdminMobile = params['AdminMobile']
|
4102
|
+
@AuthorizationStatus = params['AuthorizationStatus']
|
4103
|
+
@AuthorizationType = params['AuthorizationType']
|
4104
|
+
end
|
4105
|
+
end
|
4106
|
+
|
4026
4107
|
# 角色信息
|
4027
4108
|
class ChannelRole < TencentCloud::Common::AbstractModel
|
4028
4109
|
# @param RoleId: 角色ID,为32位字符串
|
@@ -5608,6 +5689,95 @@ module TencentCloud
|
|
5608
5689
|
end
|
5609
5690
|
end
|
5610
5691
|
|
5692
|
+
# DescribeChannelOrganizations请求参数结构体
|
5693
|
+
class DescribeChannelOrganizationsRequest < TencentCloud::Common::AbstractModel
|
5694
|
+
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
5695
|
+
|
5696
|
+
# 此接口下面信息必填。
|
5697
|
+
|
5698
|
+
# 渠道应用标识: Agent.AppId
|
5699
|
+
# 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
|
5700
|
+
# 第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId
|
5701
|
+
# 第三方平台子客企业和员工必须已经经过实名认证
|
5702
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
5703
|
+
# @param Limit: 指定分页每页返回的数据条数,单页最大支持 200。
|
5704
|
+
# @type Limit: Integer
|
5705
|
+
# @param OrganizationOpenId: 子客OrganizationOpenId,定向查询某个子客的企业数据。
|
5706
|
+
# @type OrganizationOpenId: String
|
5707
|
+
# @param AuthorizationStatusList: 企业认证状态过滤字段。可值如下:
|
5708
|
+
# <ul>
|
5709
|
+
# <li>**"UNVERIFIED"**: 未认证的企业</li>
|
5710
|
+
# <li>**"VERIFYINGLEGALPENDINGAUTHORIZATION"**: 认证中待法人授权的企业</li>
|
5711
|
+
# <li>**"VERIFYINGAUTHORIZATIONFILEPENDING"**: 认证中授权书审核中的企业</li>
|
5712
|
+
# <li>**"VERIFYINGAUTHORIZATIONFILEREJECT"**: 认证中授权书已驳回的企业</li>
|
5713
|
+
# <li>**"VERIFYING"**: 认证中的企业</li>
|
5714
|
+
# <li>**"VERIFIED"**: 已认证的企业</li>
|
5715
|
+
# </ul>
|
5716
|
+
# @type AuthorizationStatusList: Array
|
5717
|
+
# @param Offset: 指定分页返回第几页的数据,如果不传默认返回第一页。 页码从 0 开始,即首页为 0,最大20000。
|
5718
|
+
# @type Offset: Integer
|
5719
|
+
|
5720
|
+
attr_accessor :Agent, :Limit, :OrganizationOpenId, :AuthorizationStatusList, :Offset
|
5721
|
+
|
5722
|
+
def initialize(agent=nil, limit=nil, organizationopenid=nil, authorizationstatuslist=nil, offset=nil)
|
5723
|
+
@Agent = agent
|
5724
|
+
@Limit = limit
|
5725
|
+
@OrganizationOpenId = organizationopenid
|
5726
|
+
@AuthorizationStatusList = authorizationstatuslist
|
5727
|
+
@Offset = offset
|
5728
|
+
end
|
5729
|
+
|
5730
|
+
def deserialize(params)
|
5731
|
+
unless params['Agent'].nil?
|
5732
|
+
@Agent = Agent.new
|
5733
|
+
@Agent.deserialize(params['Agent'])
|
5734
|
+
end
|
5735
|
+
@Limit = params['Limit']
|
5736
|
+
@OrganizationOpenId = params['OrganizationOpenId']
|
5737
|
+
@AuthorizationStatusList = params['AuthorizationStatusList']
|
5738
|
+
@Offset = params['Offset']
|
5739
|
+
end
|
5740
|
+
end
|
5741
|
+
|
5742
|
+
# DescribeChannelOrganizations返回参数结构体
|
5743
|
+
class DescribeChannelOrganizationsResponse < TencentCloud::Common::AbstractModel
|
5744
|
+
# @param ChannelOrganizationInfos: 企业企业信息列表。
|
5745
|
+
# @type ChannelOrganizationInfos: Array
|
5746
|
+
# @param Offset: 指定分页返回第几页的数据。页码从 0 开始,即首页为 0,最大20000。
|
5747
|
+
# @type Offset: Integer
|
5748
|
+
# @param Limit: 指定分页每页返回的数据条数,单页最大支持 200。
|
5749
|
+
# @type Limit: Integer
|
5750
|
+
# @param Total: 符合条件的企业数量。
|
5751
|
+
# @type Total: Integer
|
5752
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5753
|
+
# @type RequestId: String
|
5754
|
+
|
5755
|
+
attr_accessor :ChannelOrganizationInfos, :Offset, :Limit, :Total, :RequestId
|
5756
|
+
|
5757
|
+
def initialize(channelorganizationinfos=nil, offset=nil, limit=nil, total=nil, requestid=nil)
|
5758
|
+
@ChannelOrganizationInfos = channelorganizationinfos
|
5759
|
+
@Offset = offset
|
5760
|
+
@Limit = limit
|
5761
|
+
@Total = total
|
5762
|
+
@RequestId = requestid
|
5763
|
+
end
|
5764
|
+
|
5765
|
+
def deserialize(params)
|
5766
|
+
unless params['ChannelOrganizationInfos'].nil?
|
5767
|
+
@ChannelOrganizationInfos = []
|
5768
|
+
params['ChannelOrganizationInfos'].each do |i|
|
5769
|
+
channelorganizationinfo_tmp = ChannelOrganizationInfo.new
|
5770
|
+
channelorganizationinfo_tmp.deserialize(i)
|
5771
|
+
@ChannelOrganizationInfos << channelorganizationinfo_tmp
|
5772
|
+
end
|
5773
|
+
end
|
5774
|
+
@Offset = params['Offset']
|
5775
|
+
@Limit = params['Limit']
|
5776
|
+
@Total = params['Total']
|
5777
|
+
@RequestId = params['RequestId']
|
5778
|
+
end
|
5779
|
+
end
|
5780
|
+
|
5611
5781
|
# DescribeChannelSealPolicyWorkflowUrl请求参数结构体
|
5612
5782
|
class DescribeChannelSealPolicyWorkflowUrlRequest < TencentCloud::Common::AbstractModel
|
5613
5783
|
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-essbasic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.724
|
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-12-
|
11
|
+
date: 2023-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|