tencentcloud-sdk-ess 3.0.900 → 3.0.902
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/v20201111/client.rb +39 -3
- data/lib/v20201111/models.rb +152 -48
- 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: e01203e493cbbf6c647a4f40b87c6cb186051e3d
|
4
|
+
data.tar.gz: 536d56b93f137f364dac38f495619d9cfd7232d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1b07b448afd7815ab611240819447eeb20970aed0dc09e4c56fac8796c41267a366be7a2352e482b1f81f8a64485446cec9da2c56595bd1e47f6289f927d242
|
7
|
+
data.tar.gz: 308b1bda176a54847d317e0784cb42db713e878bbe4bffc15b7ee7580244c62054f908e212017792e738d208212fb426fb0b86bc991bf329864bc0287fcb19e6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.902
|
data/lib/v20201111/client.rb
CHANGED
@@ -1259,10 +1259,22 @@ module TencentCloud
|
|
1259
1259
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1260
1260
|
end
|
1261
1261
|
|
1262
|
-
# 本接口(CreateOrganizationAuthUrl
|
1263
|
-
# 用于业务方系统自己生成认证链接进行跳转.而不用电子签自带的生成链接
|
1262
|
+
# 本接口(CreateOrganizationAuthUrl)的主要功能是生成合作企业的认证链接。
|
1264
1263
|
|
1265
|
-
#
|
1264
|
+
# 在生成链接的过程中,可以提供一部分已知信息,以便为对方进行认证流程提供便利。
|
1265
|
+
|
1266
|
+
# ![image](https://qcloudimg.tencent-cloud.cn/raw/7ec91b79a0a4860e77c9ff9f4a5f13ad/channel_SyncProxyOrganization2.png)
|
1267
|
+
|
1268
|
+
|
1269
|
+
# - **企业统一社会信用代码**: 对应上图中的**1**
|
1270
|
+
# - **企业名称**: 对应上图中的**2**
|
1271
|
+
# - **企业法定代表人的名字**:对应上图中的**3**
|
1272
|
+
# - **企业详细住所**:对应上图中的**4**
|
1273
|
+
|
1274
|
+
|
1275
|
+
|
1276
|
+
|
1277
|
+
# <b>注</b>:此接口需要 <font color="red"><b>购买单独的实名套餐包</b></font>方可调用,如有需求请联系对接人员评估
|
1266
1278
|
|
1267
1279
|
# @param request: Request instance for CreateOrganizationAuthUrl.
|
1268
1280
|
# @type request: :class:`Tencentcloud::ess::V20201111::CreateOrganizationAuthUrlRequest`
|
@@ -2344,6 +2356,30 @@ module TencentCloud
|
|
2344
2356
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2345
2357
|
end
|
2346
2358
|
|
2359
|
+
# 查询企业认证状态
|
2360
|
+
|
2361
|
+
# @param request: Request instance for DescribeOrganizationAuthStatus.
|
2362
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationAuthStatusRequest`
|
2363
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationAuthStatusResponse`
|
2364
|
+
def DescribeOrganizationAuthStatus(request)
|
2365
|
+
body = send_request('DescribeOrganizationAuthStatus', request.serialize)
|
2366
|
+
response = JSON.parse(body)
|
2367
|
+
if response['Response'].key?('Error') == false
|
2368
|
+
model = DescribeOrganizationAuthStatusResponse.new
|
2369
|
+
model.deserialize(response['Response'])
|
2370
|
+
model
|
2371
|
+
else
|
2372
|
+
code = response['Response']['Error']['Code']
|
2373
|
+
message = response['Response']['Error']['Message']
|
2374
|
+
reqid = response['Response']['RequestId']
|
2375
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2376
|
+
end
|
2377
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2378
|
+
raise e
|
2379
|
+
rescue StandardError => e
|
2380
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2381
|
+
end
|
2382
|
+
|
2347
2383
|
# 此API接口用来查询加入集团的成员企业信息
|
2348
2384
|
# 适用场景:子企业在加入集团后,主企业可能通过此接口获取到所有的子企业列表,方便进行展示和统计
|
2349
2385
|
|
data/lib/v20201111/models.rb
CHANGED
@@ -482,6 +482,44 @@ module TencentCloud
|
|
482
482
|
end
|
483
483
|
end
|
484
484
|
|
485
|
+
# 企业认证信息
|
486
|
+
class AuthRecord < TencentCloud::Common::AbstractModel
|
487
|
+
# @param OperatorName: 经办人姓名。
|
488
|
+
# @type OperatorName: String
|
489
|
+
# @param OperatorMobile: 经办人手机号。
|
490
|
+
# @type OperatorMobile: String
|
491
|
+
# @param AuthType: 认证授权方式:
|
492
|
+
# <ul><li> **0**:未选择授权方式(默认值)</li>
|
493
|
+
# <li> **1**:上传授权书</li>
|
494
|
+
# <li> **2**:法人授权</li>
|
495
|
+
# <li> **3**:法人认证</li></ul>
|
496
|
+
# @type AuthType: Integer
|
497
|
+
# @param AuditStatus: 企业认证授权书审核状态:
|
498
|
+
# <ul><li> **0**:未提交授权书(默认值)</li>
|
499
|
+
# <li> **1**:审核通过</li>
|
500
|
+
# <li> **2**:审核驳回</li>
|
501
|
+
# <li> **3**:审核中</li>
|
502
|
+
# <li> **4**:AI识别中</li>
|
503
|
+
# <li> **5**:客户确认AI信息</li></ul>
|
504
|
+
# @type AuditStatus: Integer
|
505
|
+
|
506
|
+
attr_accessor :OperatorName, :OperatorMobile, :AuthType, :AuditStatus
|
507
|
+
|
508
|
+
def initialize(operatorname=nil, operatormobile=nil, authtype=nil, auditstatus=nil)
|
509
|
+
@OperatorName = operatorname
|
510
|
+
@OperatorMobile = operatormobile
|
511
|
+
@AuthType = authtype
|
512
|
+
@AuditStatus = auditstatus
|
513
|
+
end
|
514
|
+
|
515
|
+
def deserialize(params)
|
516
|
+
@OperatorName = params['OperatorName']
|
517
|
+
@OperatorMobile = params['OperatorMobile']
|
518
|
+
@AuthType = params['AuthType']
|
519
|
+
@AuditStatus = params['AuditStatus']
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
485
523
|
# 授权用户
|
486
524
|
class AuthorizedUser < TencentCloud::Common::AbstractModel
|
487
525
|
# @param UserId: 电子签系统中的用户id
|
@@ -4106,21 +4144,28 @@ module TencentCloud
|
|
4106
4144
|
# @param Operator: 操作人信息
|
4107
4145
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
4108
4146
|
# @param AuthorizationTypes: 指定授权方式 支持多选:
|
4109
|
-
|
4110
|
-
#
|
4111
|
-
#
|
4147
|
+
|
4148
|
+
# <ul>
|
4149
|
+
# <li><strong>1</strong>:上传授权书方式</li>
|
4150
|
+
# <li><strong>2</strong>: 法人授权方式</li>
|
4151
|
+
# <li><strong>3</strong>: 法人身份认证方式</li>
|
4152
|
+
# </ul>
|
4112
4153
|
# @type AuthorizationTypes: Array
|
4113
|
-
# @param OrganizationName:
|
4114
|
-
|
4154
|
+
# @param OrganizationName: 认证企业名称,请确认该名称与企业营业执照中注册的名称一致。
|
4155
|
+
|
4156
|
+
# 注:
|
4157
|
+
|
4158
|
+
# 1. `如果名称中包含英文括号(),请使用中文括号()代替。`
|
4159
|
+
|
4160
|
+
# 2. `EndPointType=“H5”或者"SHORT_H5"时,该参数必填`
|
4115
4161
|
# @type OrganizationName: String
|
4116
4162
|
# @param UniformSocialCreditCode: 企业统一社会信用代码
|
4117
4163
|
# @type UniformSocialCreditCode: String
|
4118
|
-
# @param LegalName:
|
4164
|
+
# @param LegalName: 企业法人的姓名
|
4119
4165
|
# @type LegalName: String
|
4120
|
-
# @param AutoJumpUrl:
|
4166
|
+
# @param AutoJumpUrl: 认证完成跳回的链接,最长500个字符
|
4121
4167
|
# @type AutoJumpUrl: String
|
4122
4168
|
# @param OrganizationAddress: 营业执照企业地址
|
4123
|
-
# 示例:xx省xx市xx县/区xx街道
|
4124
4169
|
# @type OrganizationAddress: String
|
4125
4170
|
# @param AdminName: 认证人姓名
|
4126
4171
|
# @type AdminName: String
|
@@ -4128,49 +4173,37 @@ module TencentCloud
|
|
4128
4173
|
# @type AdminMobile: String
|
4129
4174
|
# @param AdminIdCardNumber: 认证人身份证号
|
4130
4175
|
# @type AdminIdCardNumber: String
|
4131
|
-
# @param AdminIdCardType:
|
4132
|
-
#
|
4133
|
-
# <
|
4134
|
-
# <li>
|
4135
|
-
# <li>HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)</li></ul>
|
4176
|
+
# @param AdminIdCardType: 认证人证件类型, 支持以下类型
|
4177
|
+
# <ul><li><b>ID_CARD</b> : 中国大陆居民身份证 (默认值)</li>
|
4178
|
+
# <li><b>HONGKONG_AND_MACAO</b> : 港澳居民来往内地通行证</li>
|
4179
|
+
# <li><b>HONGKONG_MACAO_AND_TAIWAN</b> : 港澳台居民居住证(格式同居民身份证)</li></ul>
|
4136
4180
|
# @type AdminIdCardType: String
|
4137
|
-
# @param UniformSocialCreditCodeSame:
|
4138
|
-
# false 关闭-默认
|
4139
|
-
# true 开启
|
4181
|
+
# @param UniformSocialCreditCodeSame: 对方打开链接认证时,对方填写的营业执照的社会信用代码是否与接口上传上来的要保持一致。<ul><li><b>false(默认值)</b>:关闭状态,实际认证时允许与接口传递的信息存在不一致。</li><li><b>true</b>:启用状态,实际认证时必须与接口传递的信息完全相符。</li></ul>
|
4140
4182
|
# @type UniformSocialCreditCodeSame: Boolean
|
4141
|
-
# @param LegalNameSame:
|
4142
|
-
# false 关闭-默认
|
4143
|
-
# true 开启
|
4183
|
+
# @param LegalNameSame: 对方打开链接认证时,法人姓名是否要与接口传递上来的保持一致。<ul><li><b>false(默认值)</b>:关闭状态,实际认证时允许与接口传递的信息存在不一致。</li><li><b>true</b>:启用状态,实际认证时必须与接口传递的信息完全相符。</li></ul>
|
4144
4184
|
# @type LegalNameSame: Boolean
|
4145
|
-
# @param AdminNameSame:
|
4146
|
-
# false 关闭-默认
|
4147
|
-
# true 开启
|
4148
|
-
# 注意:
|
4149
|
-
# 开启后在认证过程前会校验拦截
|
4185
|
+
# @param AdminNameSame: 对方打开链接认证时,认证人姓名是否要与接口传递上来的保持一致。<ul><li><b>false(默认值)</b>:关闭状态,实际认证时允许与接口传递的信息存在不一致。</li><li><b>true</b>:启用状态,实际认证时必须与接口传递的信息完全相符。</li></ul>
|
4150
4186
|
# @type AdminNameSame: Boolean
|
4151
|
-
# @param AdminIdCardNumberSame:
|
4152
|
-
# false 关闭-默认
|
4153
|
-
# true 开启
|
4154
|
-
# 注意:
|
4155
|
-
# 开启后在认证过程前会校验拦截
|
4187
|
+
# @param AdminIdCardNumberSame: 对方打开链接认证时,认证人居民身份证件号是否要与接口传递上来的保持一致。<ul><li><b>false(默认值)</b>:关闭状态,实际认证时允许与接口传递的信息存在不一致。</li><li><b>true</b>:启用状态,实际认证时必须与接口传递的信息完全相符。</li></ul>
|
4156
4188
|
# @type AdminIdCardNumberSame: Boolean
|
4157
|
-
# @param AdminMobileSame:
|
4158
|
-
# false
|
4159
|
-
# true
|
4160
|
-
#
|
4161
|
-
# 开启后在认证过程前会校验拦截
|
4189
|
+
# @param AdminMobileSame: 对方打开链接认证时,认证人手机号是否要与接口传递上来的保持一致。<ul>
|
4190
|
+
# <li><b>false(默认值)</b>:关闭状态,实际认证时允许与接口传递的信息存在不一致。</li>
|
4191
|
+
# <li><b>true</b>:启用状态,实际认证时必须与接口传递的信息完全相符。</li>
|
4192
|
+
# </ul>
|
4162
4193
|
# @type AdminMobileSame: Boolean
|
4163
|
-
# @param OrganizationNameSame:
|
4164
|
-
# false 关闭-默认
|
4165
|
-
# true 开启
|
4194
|
+
# @param OrganizationNameSame: 对方打开链接认证时,企业名称是否要与接口传递上来的保持一致。<ul><li><b>false(默认值)</b>:关闭状态,实际认证时允许与接口传递的信息存在不一致。</li><li><b>true</b>:启用状态,实际认证时必须与接口传递的信息完全相符。</li></ul>
|
4166
4195
|
# @type OrganizationNameSame: Boolean
|
4167
|
-
# @param BusinessLicense:
|
4196
|
+
# @param BusinessLicense: 营业执照正面照(支持PNG或JPG格式)需以base64格式提供,且文件大小不得超过5MB。
|
4168
4197
|
# @type BusinessLicense: String
|
4169
4198
|
# @param Endpoint: 跳转链接类型:
|
4170
|
-
|
4171
|
-
#
|
4172
|
-
#
|
4173
|
-
#
|
4199
|
+
|
4200
|
+
# <ul>
|
4201
|
+
# <li><b>PC</b>:适用于PC端的认证链接</li>
|
4202
|
+
# <li><b>APP</b>:用于全屏或半屏跳转的小程序链接</li>
|
4203
|
+
# <li><b>SHORT_URL</b>:跳转小程序的链接的短链形式</li>
|
4204
|
+
# <li><b>H5</b>:适用于H5页面的认证链接</li>
|
4205
|
+
# <li><b>SHORT_H5</b>:H5认证链接的短链形式</li>
|
4206
|
+
# </ul>
|
4174
4207
|
# @type Endpoint: String
|
4175
4208
|
|
4176
4209
|
attr_accessor :Operator, :AuthorizationTypes, :OrganizationName, :UniformSocialCreditCode, :LegalName, :AutoJumpUrl, :OrganizationAddress, :AdminName, :AdminMobile, :AdminIdCardNumber, :AdminIdCardType, :UniformSocialCreditCodeSame, :LegalNameSame, :AdminNameSame, :AdminIdCardNumberSame, :AdminMobileSame, :OrganizationNameSame, :BusinessLicense, :Endpoint
|
@@ -4225,13 +4258,11 @@ module TencentCloud
|
|
4225
4258
|
|
4226
4259
|
# CreateOrganizationAuthUrl返回参数结构体
|
4227
4260
|
class CreateOrganizationAuthUrlResponse < TencentCloud::Common::AbstractModel
|
4228
|
-
# @param AuthUrl:
|
4229
|
-
|
4230
|
-
#
|
4231
|
-
# "PC"-PC浏览器
|
4232
|
-
# 链接有效期统一30天
|
4261
|
+
# @param AuthUrl: 生成的认证链接。
|
4262
|
+
|
4263
|
+
# 注: `链接有效期统一30天`
|
4233
4264
|
# @type AuthUrl: String
|
4234
|
-
# @param ExpiredTime:
|
4265
|
+
# @param ExpiredTime: 链接过期时间,格式为Unix标准时间戳(秒)
|
4235
4266
|
# @type ExpiredTime: Integer
|
4236
4267
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4237
4268
|
# @type RequestId: String
|
@@ -7515,6 +7546,79 @@ module TencentCloud
|
|
7515
7546
|
end
|
7516
7547
|
end
|
7517
7548
|
|
7549
|
+
# DescribeOrganizationAuthStatus请求参数结构体
|
7550
|
+
class DescribeOrganizationAuthStatusRequest < TencentCloud::Common::AbstractModel
|
7551
|
+
# @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
7552
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
7553
|
+
# @param OrganizationName: 组织机构名称。 请确认该名称与企业营业执照中注册的名称一致。 如果名称中包含英文括号(),请使用中文括号()代替。
|
7554
|
+
# @type OrganizationName: String
|
7555
|
+
# @param UniformSocialCreditCode: 企业统一社会信用代码
|
7556
|
+
# 注意:OrganizationName和UniformSocialCreditCode不能同时为空
|
7557
|
+
# @type UniformSocialCreditCode: String
|
7558
|
+
# @param LegalName: 法人姓名
|
7559
|
+
# @type LegalName: String
|
7560
|
+
|
7561
|
+
attr_accessor :Operator, :OrganizationName, :UniformSocialCreditCode, :LegalName
|
7562
|
+
|
7563
|
+
def initialize(operator=nil, organizationname=nil, uniformsocialcreditcode=nil, legalname=nil)
|
7564
|
+
@Operator = operator
|
7565
|
+
@OrganizationName = organizationname
|
7566
|
+
@UniformSocialCreditCode = uniformsocialcreditcode
|
7567
|
+
@LegalName = legalname
|
7568
|
+
end
|
7569
|
+
|
7570
|
+
def deserialize(params)
|
7571
|
+
unless params['Operator'].nil?
|
7572
|
+
@Operator = UserInfo.new
|
7573
|
+
@Operator.deserialize(params['Operator'])
|
7574
|
+
end
|
7575
|
+
@OrganizationName = params['OrganizationName']
|
7576
|
+
@UniformSocialCreditCode = params['UniformSocialCreditCode']
|
7577
|
+
@LegalName = params['LegalName']
|
7578
|
+
end
|
7579
|
+
end
|
7580
|
+
|
7581
|
+
# DescribeOrganizationAuthStatus返回参数结构体
|
7582
|
+
class DescribeOrganizationAuthStatusResponse < TencentCloud::Common::AbstractModel
|
7583
|
+
# @param IsVerified: 企业是否已认证
|
7584
|
+
# @type IsVerified: Boolean
|
7585
|
+
# @param AuthStatus: 企业认证状态 0-未认证 1-认证中 2-已认证
|
7586
|
+
# @type AuthStatus: Integer
|
7587
|
+
# @param AuthRecords: 企业认证信息
|
7588
|
+
# @type AuthRecords: Array
|
7589
|
+
# @param OrganizationId: 企业在腾讯电子签平台的唯一身份标识,为32位字符串。
|
7590
|
+
# 可登录腾讯电子签控制台,在 "更多"->"企业设置"->"企业中心"- 中查看企业电子签账号。
|
7591
|
+
# p.s. 只有当前企业认证成功的时候返回
|
7592
|
+
# @type OrganizationId: String
|
7593
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7594
|
+
# @type RequestId: String
|
7595
|
+
|
7596
|
+
attr_accessor :IsVerified, :AuthStatus, :AuthRecords, :OrganizationId, :RequestId
|
7597
|
+
|
7598
|
+
def initialize(isverified=nil, authstatus=nil, authrecords=nil, organizationid=nil, requestid=nil)
|
7599
|
+
@IsVerified = isverified
|
7600
|
+
@AuthStatus = authstatus
|
7601
|
+
@AuthRecords = authrecords
|
7602
|
+
@OrganizationId = organizationid
|
7603
|
+
@RequestId = requestid
|
7604
|
+
end
|
7605
|
+
|
7606
|
+
def deserialize(params)
|
7607
|
+
@IsVerified = params['IsVerified']
|
7608
|
+
@AuthStatus = params['AuthStatus']
|
7609
|
+
unless params['AuthRecords'].nil?
|
7610
|
+
@AuthRecords = []
|
7611
|
+
params['AuthRecords'].each do |i|
|
7612
|
+
authrecord_tmp = AuthRecord.new
|
7613
|
+
authrecord_tmp.deserialize(i)
|
7614
|
+
@AuthRecords << authrecord_tmp
|
7615
|
+
end
|
7616
|
+
end
|
7617
|
+
@OrganizationId = params['OrganizationId']
|
7618
|
+
@RequestId = params['RequestId']
|
7619
|
+
end
|
7620
|
+
end
|
7621
|
+
|
7518
7622
|
# DescribeOrganizationGroupOrganizations请求参数结构体
|
7519
7623
|
class DescribeOrganizationGroupOrganizationsRequest < TencentCloud::Common::AbstractModel
|
7520
7624
|
# @param Operator: 执行本接口操作的员工信息,userId必填。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.902
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|