tencentcloud-sdk-ess 3.0.869 → 3.0.871
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 +31 -0
- data/lib/v20201111/models.rb +62 -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: 108763235699d32e0a9f018f232703a0757050e6
|
4
|
+
data.tar.gz: c88a20abead08df527f0beb8509e802e87d372af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d784773cba5a23eaf4661be9a46ad5fbe52ed4d9454a429354b6d0407b81c24f7779e77203bc819568824c76d6291373d0349be4a98d25cac66a24f5915d845
|
7
|
+
data.tar.gz: a8144ded2777e1fb258561109aa5b2f41ef4054417fe8e12d4e3fdfca0888e5dc4cad4624aa21e36e8aa5558154eea4211fcc39e079d43877c86006971a5865a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.871
|
data/lib/v20201111/client.rb
CHANGED
@@ -1302,6 +1302,37 @@ module TencentCloud
|
|
1302
1302
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1303
1303
|
end
|
1304
1304
|
|
1305
|
+
# 创建他方自动签授权链接,通过该链接可进入小程序进行合作方企业的自动签授权,若当前企业未开通企业自动签,通过该链接会先引导开通本企业自动签。
|
1306
|
+
# 该接口效果同控制台: 企业设置-> 扩展服务 -> 企业自动签署 -> 合作企业方授权
|
1307
|
+
|
1308
|
+
|
1309
|
+
|
1310
|
+
# 注:
|
1311
|
+
# 1. <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Operator.UserId 需要传递超管或者法人的UserId)
|
1312
|
+
# 2. 已经在授权中或者授权成功的企业,无法重复授权
|
1313
|
+
|
1314
|
+
# @param request: Request instance for CreatePartnerAutoSignAuthUrl.
|
1315
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreatePartnerAutoSignAuthUrlRequest`
|
1316
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreatePartnerAutoSignAuthUrlResponse`
|
1317
|
+
def CreatePartnerAutoSignAuthUrl(request)
|
1318
|
+
body = send_request('CreatePartnerAutoSignAuthUrl', request.serialize)
|
1319
|
+
response = JSON.parse(body)
|
1320
|
+
if response['Response'].key?('Error') == false
|
1321
|
+
model = CreatePartnerAutoSignAuthUrlResponse.new
|
1322
|
+
model.deserialize(response['Response'])
|
1323
|
+
model
|
1324
|
+
else
|
1325
|
+
code = response['Response']['Error']['Code']
|
1326
|
+
message = response['Response']['Error']['Message']
|
1327
|
+
reqid = response['Response']['RequestId']
|
1328
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1329
|
+
end
|
1330
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1331
|
+
raise e
|
1332
|
+
rescue StandardError => e
|
1333
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1334
|
+
end
|
1335
|
+
|
1305
1336
|
# 获取个人用户认证证书图片下载URL
|
1306
1337
|
|
1307
1338
|
# 个人用户认证证书图片样式如下图
|
data/lib/v20201111/models.rb
CHANGED
@@ -4295,6 +4295,68 @@ module TencentCloud
|
|
4295
4295
|
end
|
4296
4296
|
end
|
4297
4297
|
|
4298
|
+
# CreatePartnerAutoSignAuthUrl请求参数结构体
|
4299
|
+
class CreatePartnerAutoSignAuthUrlRequest < TencentCloud::Common::AbstractModel
|
4300
|
+
# @param AuthorizedOrganizationId: 被授企业id
|
4301
|
+
# @type AuthorizedOrganizationId: String
|
4302
|
+
# @param SealTypes: 指定印章类型,指定后只能选择该类型的印章进行授权支持以下印章类型:- OFFICIAL : 企业公章- CONTRACT : 合同专用章- FINANCE : 财务专用章- PERSONNEL : 人事专用章
|
4303
|
+
# @type SealTypes: Array
|
4304
|
+
# @param Agent: 代理企业和员工的信息。<br/>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
4305
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
4306
|
+
# @param Operator: 执行本接口操作的员工信息。<br/>注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
4307
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
4308
|
+
|
4309
|
+
attr_accessor :AuthorizedOrganizationId, :SealTypes, :Agent, :Operator
|
4310
|
+
|
4311
|
+
def initialize(authorizedorganizationid=nil, sealtypes=nil, agent=nil, operator=nil)
|
4312
|
+
@AuthorizedOrganizationId = authorizedorganizationid
|
4313
|
+
@SealTypes = sealtypes
|
4314
|
+
@Agent = agent
|
4315
|
+
@Operator = operator
|
4316
|
+
end
|
4317
|
+
|
4318
|
+
def deserialize(params)
|
4319
|
+
@AuthorizedOrganizationId = params['AuthorizedOrganizationId']
|
4320
|
+
@SealTypes = params['SealTypes']
|
4321
|
+
unless params['Agent'].nil?
|
4322
|
+
@Agent = Agent.new
|
4323
|
+
@Agent.deserialize(params['Agent'])
|
4324
|
+
end
|
4325
|
+
unless params['Operator'].nil?
|
4326
|
+
@Operator = UserInfo.new
|
4327
|
+
@Operator.deserialize(params['Operator'])
|
4328
|
+
end
|
4329
|
+
end
|
4330
|
+
end
|
4331
|
+
|
4332
|
+
# CreatePartnerAutoSignAuthUrl返回参数结构体
|
4333
|
+
class CreatePartnerAutoSignAuthUrlResponse < TencentCloud::Common::AbstractModel
|
4334
|
+
# @param Url: 授权链接,以短链形式返回,短链的有效期参考回参中的 ExpiredTime。
|
4335
|
+
# @type Url: String
|
4336
|
+
# @param MiniAppPath: 从客户小程序或者客户APP跳转至腾讯电子签小程序进行批量签署的跳转路径
|
4337
|
+
# @type MiniAppPath: String
|
4338
|
+
# @param ExpireTime: 链接过期时间以 Unix 时间戳格式表示,从生成链接时间起,往后7天有效期。过期后短链将失效,无法打开。
|
4339
|
+
# @type ExpireTime: Integer
|
4340
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4341
|
+
# @type RequestId: String
|
4342
|
+
|
4343
|
+
attr_accessor :Url, :MiniAppPath, :ExpireTime, :RequestId
|
4344
|
+
|
4345
|
+
def initialize(url=nil, miniapppath=nil, expiretime=nil, requestid=nil)
|
4346
|
+
@Url = url
|
4347
|
+
@MiniAppPath = miniapppath
|
4348
|
+
@ExpireTime = expiretime
|
4349
|
+
@RequestId = requestid
|
4350
|
+
end
|
4351
|
+
|
4352
|
+
def deserialize(params)
|
4353
|
+
@Url = params['Url']
|
4354
|
+
@MiniAppPath = params['MiniAppPath']
|
4355
|
+
@ExpireTime = params['ExpireTime']
|
4356
|
+
@RequestId = params['RequestId']
|
4357
|
+
end
|
4358
|
+
end
|
4359
|
+
|
4298
4360
|
# CreatePersonAuthCertificateImage请求参数结构体
|
4299
4361
|
class CreatePersonAuthCertificateImageRequest < TencentCloud::Common::AbstractModel
|
4300
4362
|
# @param Operator: 执行本接口操作的员工信息。
|
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.871
|
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-07-
|
11
|
+
date: 2024-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|