tencentcloud-sdk-ess 3.0.664 → 3.0.665
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 +25 -1
- data/lib/v20201111/models.rb +113 -11
- 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: 8c23d488654aea34f991edaf9b3e39b058b14c68
|
4
|
+
data.tar.gz: ad438a51e4869b526e80af652d2e9b2b6b404745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45be0022effed1fee28cdc2949b52c7bb5d0a68279267bb93c1ec31c029a8d789e5664a9795c80383a9e18e5e4ff85d3a046511aea620070878d612b0e6bb070
|
7
|
+
data.tar.gz: c4a31dd5aff9760ca79535c99a7d805ae611373cd162120127ce5cf82cb8060e0a63386c212454ce9d612871b76998264b92da66d456b312eca11097f08b3983
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.665
|
data/lib/v20201111/client.rb
CHANGED
@@ -1202,7 +1202,7 @@ module TencentCloud
|
|
1202
1202
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1203
1203
|
end
|
1204
1204
|
|
1205
|
-
#
|
1205
|
+
# 此接口用于查询合同流程的详情信息,支持查询多个(数量不能超过100)。
|
1206
1206
|
|
1207
1207
|
# 适用场景:可用于主动查询某个合同详情信息。
|
1208
1208
|
|
@@ -1388,6 +1388,30 @@ module TencentCloud
|
|
1388
1388
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1389
1389
|
end
|
1390
1390
|
|
1391
|
+
# 此接口(DescribePersonCertificate)用于查询个人数字证书信息。<br />注:`1.目前仅用于查询开通了医疗自动签署功能的个人数字证书。`<br />`2.调用此接口需要开通白名单,使用前请联系相关人员开通白名单。`
|
1392
|
+
|
1393
|
+
# @param request: Request instance for DescribePersonCertificate.
|
1394
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribePersonCertificateRequest`
|
1395
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribePersonCertificateResponse`
|
1396
|
+
def DescribePersonCertificate(request)
|
1397
|
+
body = send_request('DescribePersonCertificate', request.serialize)
|
1398
|
+
response = JSON.parse(body)
|
1399
|
+
if response['Response'].key?('Error') == false
|
1400
|
+
model = DescribePersonCertificateResponse.new
|
1401
|
+
model.deserialize(response['Response'])
|
1402
|
+
model
|
1403
|
+
else
|
1404
|
+
code = response['Response']['Error']['Code']
|
1405
|
+
message = response['Response']['Error']['Message']
|
1406
|
+
reqid = response['Response']['RequestId']
|
1407
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1408
|
+
end
|
1409
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1410
|
+
raise e
|
1411
|
+
rescue StandardError => e
|
1412
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1413
|
+
end
|
1414
|
+
|
1391
1415
|
# 通过AuthCode查询个人用户是否实名
|
1392
1416
|
|
1393
1417
|
|
data/lib/v20201111/models.rb
CHANGED
@@ -76,6 +76,34 @@ module TencentCloud
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
+
# 签署方在使用个人印章签署控件(SIGN_SIGNATURE) 时可使用的签署方式
|
80
|
+
class ApproverComponentLimitType < TencentCloud::Common::AbstractModel
|
81
|
+
# @param RecipientId: 签署方经办人在模板中配置的参与方ID,与控件绑定,是控件的归属方,ID为32位字符串。
|
82
|
+
# @type RecipientId: String
|
83
|
+
# @param Values: 签署方经办人控件类型是个人印章签署控件(SIGN_SIGNATURE) 时,可选的签名方式,可多选
|
84
|
+
|
85
|
+
# 签名方式:
|
86
|
+
# <ul>
|
87
|
+
# <li>HANDWRITE-手写签名</li>
|
88
|
+
# <li>ESIGN-个人印章类型</li>
|
89
|
+
# <li>OCR_ESIGN-AI智能识别手写签名</li>
|
90
|
+
# <li>SYSTEM_ESIGN-系统签名</li>
|
91
|
+
# </ul>
|
92
|
+
# @type Values: Array
|
93
|
+
|
94
|
+
attr_accessor :RecipientId, :Values
|
95
|
+
|
96
|
+
def initialize(recipientid=nil, values=nil)
|
97
|
+
@RecipientId = recipientid
|
98
|
+
@Values = values
|
99
|
+
end
|
100
|
+
|
101
|
+
def deserialize(params)
|
102
|
+
@RecipientId = params['RecipientId']
|
103
|
+
@Values = params['Values']
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
79
107
|
# 参与者信息。
|
80
108
|
class ApproverInfo < TencentCloud::Common::AbstractModel
|
81
109
|
# @param ApproverType: 在指定签署方时,可选择企业B端或个人C端等不同的参与者类型,可选类型如下:
|
@@ -1890,7 +1918,7 @@ module TencentCloud
|
|
1890
1918
|
# CreateFlowGroupByTemplates请求参数结构体
|
1891
1919
|
class CreateFlowGroupByTemplatesRequest < TencentCloud::Common::AbstractModel
|
1892
1920
|
# @param Operator: 执行本接口操作的员工信息。
|
1893
|
-
# 注:
|
1921
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
1894
1922
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1895
1923
|
# @param FlowGroupName: 合同(流程)组名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成。
|
1896
1924
|
# @type FlowGroupName: String
|
@@ -2741,15 +2769,17 @@ module TencentCloud
|
|
2741
2769
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2742
2770
|
# @param ApproverRestrictions: 限制二维码用户条件(已弃用)
|
2743
2771
|
# @type ApproverRestrictions: :class:`Tencentcloud::Ess.v20201111.models.ApproverRestriction`
|
2772
|
+
# @param ApproverComponentLimitTypes: 指定签署方在使用个人印章签署控件(SIGN_SIGNATURE) 时可使用的签署方式:自由书写、正楷临摹、系统签名、个人印章。
|
2773
|
+
# @type ApproverComponentLimitTypes: Array
|
2744
2774
|
|
2745
|
-
attr_accessor :Operator, :TemplateId, :FlowName, :MaxFlowNum, :QrEffectiveDay, :FlowEffectiveDay, :Restrictions, :UserData, :CallbackUrl, :Agent, :ApproverRestrictions
|
2775
|
+
attr_accessor :Operator, :TemplateId, :FlowName, :MaxFlowNum, :QrEffectiveDay, :FlowEffectiveDay, :Restrictions, :UserData, :CallbackUrl, :Agent, :ApproverRestrictions, :ApproverComponentLimitTypes
|
2746
2776
|
extend Gem::Deprecate
|
2747
2777
|
deprecate :CallbackUrl, :none, 2023, 9
|
2748
2778
|
deprecate :CallbackUrl=, :none, 2023, 9
|
2749
2779
|
deprecate :ApproverRestrictions, :none, 2023, 9
|
2750
2780
|
deprecate :ApproverRestrictions=, :none, 2023, 9
|
2751
2781
|
|
2752
|
-
def initialize(operator=nil, templateid=nil, flowname=nil, maxflownum=nil, qreffectiveday=nil, floweffectiveday=nil, restrictions=nil, userdata=nil, callbackurl=nil, agent=nil, approverrestrictions=nil)
|
2782
|
+
def initialize(operator=nil, templateid=nil, flowname=nil, maxflownum=nil, qreffectiveday=nil, floweffectiveday=nil, restrictions=nil, userdata=nil, callbackurl=nil, agent=nil, approverrestrictions=nil, approvercomponentlimittypes=nil)
|
2753
2783
|
@Operator = operator
|
2754
2784
|
@TemplateId = templateid
|
2755
2785
|
@FlowName = flowname
|
@@ -2761,6 +2791,7 @@ module TencentCloud
|
|
2761
2791
|
@CallbackUrl = callbackurl
|
2762
2792
|
@Agent = agent
|
2763
2793
|
@ApproverRestrictions = approverrestrictions
|
2794
|
+
@ApproverComponentLimitTypes = approvercomponentlimittypes
|
2764
2795
|
end
|
2765
2796
|
|
2766
2797
|
def deserialize(params)
|
@@ -2791,6 +2822,14 @@ module TencentCloud
|
|
2791
2822
|
@ApproverRestrictions = ApproverRestriction.new
|
2792
2823
|
@ApproverRestrictions.deserialize(params['ApproverRestrictions'])
|
2793
2824
|
end
|
2825
|
+
unless params['ApproverComponentLimitTypes'].nil?
|
2826
|
+
@ApproverComponentLimitTypes = []
|
2827
|
+
params['ApproverComponentLimitTypes'].each do |i|
|
2828
|
+
approvercomponentlimittype_tmp = ApproverComponentLimitType.new
|
2829
|
+
approvercomponentlimittype_tmp.deserialize(i)
|
2830
|
+
@ApproverComponentLimitTypes << approvercomponentlimittype_tmp
|
2831
|
+
end
|
2832
|
+
end
|
2794
2833
|
end
|
2795
2834
|
end
|
2796
2835
|
|
@@ -4558,14 +4597,12 @@ module TencentCloud
|
|
4558
4597
|
class DescribeFlowInfoRequest < TencentCloud::Common::AbstractModel
|
4559
4598
|
# @param Operator: 执行本接口操作的员工信息。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
4560
4599
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
4561
|
-
# @param FlowIds: 需要查询的流程ID
|
4562
|
-
|
4563
|
-
# 如果查询合同组的信息,不要传此参数
|
4600
|
+
# @param FlowIds: 需要查询的流程ID列表,最多可传入100个ID。
|
4601
|
+
# 如果要查询合同组的信息,则不需要传入此参数,只需传入 FlowGroupId 参数即可。
|
4564
4602
|
# @type FlowIds: Array
|
4565
4603
|
# @param Agent: 代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
4566
4604
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
4567
|
-
# @param FlowGroupId:
|
4568
|
-
# 所以如传此参数不要传FlowIds参数
|
4605
|
+
# @param FlowGroupId: 需要查询的流程组ID,如果传入此参数,则会忽略 FlowIds 参数。该合同组由<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowGroupByFiles" target="_blank">通过多文件创建合同组签署流程</a>等接口创建。
|
4569
4606
|
# @type FlowGroupId: String
|
4570
4607
|
|
4571
4608
|
attr_accessor :Operator, :FlowIds, :Agent, :FlowGroupId
|
@@ -4593,11 +4630,12 @@ module TencentCloud
|
|
4593
4630
|
|
4594
4631
|
# DescribeFlowInfo返回参数结构体
|
4595
4632
|
class DescribeFlowInfoResponse < TencentCloud::Common::AbstractModel
|
4596
|
-
# @param FlowDetailInfos:
|
4633
|
+
# @param FlowDetailInfos: 合同流程的详细信息。
|
4634
|
+
# 如果查询的是合同组信息,则返回的是组内所有子合同流程的详细信息。
|
4597
4635
|
# @type FlowDetailInfos: Array
|
4598
|
-
# @param FlowGroupId: 合同组ID
|
4636
|
+
# @param FlowGroupId: 合同组ID,只有在查询合同组信息时才会返回。
|
4599
4637
|
# @type FlowGroupId: String
|
4600
|
-
# @param FlowGroupName:
|
4638
|
+
# @param FlowGroupName: 合同组名称,只有在查询合同组信息时才会返回。
|
4601
4639
|
# @type FlowGroupName: String
|
4602
4640
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4603
4641
|
# @type RequestId: String
|
@@ -5224,6 +5262,70 @@ module TencentCloud
|
|
5224
5262
|
end
|
5225
5263
|
end
|
5226
5264
|
|
5265
|
+
# DescribePersonCertificate请求参数结构体
|
5266
|
+
class DescribePersonCertificateRequest < TencentCloud::Common::AbstractModel
|
5267
|
+
# @param Operator: 执行本接口操作的员工信息。
|
5268
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
5269
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
5270
|
+
# @param UserInfo: 个人用户的三要素信息:
|
5271
|
+
# <ul><li>姓名</li>
|
5272
|
+
# <li>证件号</li>
|
5273
|
+
# <li>证件类型</li></ul>
|
5274
|
+
# @type UserInfo: :class:`Tencentcloud::Ess.v20201111.models.UserThreeFactor`
|
5275
|
+
# @param Agent: 代理企业和员工的信息。
|
5276
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
5277
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
5278
|
+
# @param SceneKey: 证书使用场景,可以选择的场景值如下:
|
5279
|
+
# <ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li></ul>
|
5280
|
+
# 注: `现在仅支持电子处方场景`
|
5281
|
+
# @type SceneKey: String
|
5282
|
+
|
5283
|
+
attr_accessor :Operator, :UserInfo, :Agent, :SceneKey
|
5284
|
+
|
5285
|
+
def initialize(operator=nil, userinfo=nil, agent=nil, scenekey=nil)
|
5286
|
+
@Operator = operator
|
5287
|
+
@UserInfo = userinfo
|
5288
|
+
@Agent = agent
|
5289
|
+
@SceneKey = scenekey
|
5290
|
+
end
|
5291
|
+
|
5292
|
+
def deserialize(params)
|
5293
|
+
unless params['Operator'].nil?
|
5294
|
+
@Operator = UserInfo.new
|
5295
|
+
@Operator.deserialize(params['Operator'])
|
5296
|
+
end
|
5297
|
+
unless params['UserInfo'].nil?
|
5298
|
+
@UserInfo = UserThreeFactor.new
|
5299
|
+
@UserInfo.deserialize(params['UserInfo'])
|
5300
|
+
end
|
5301
|
+
unless params['Agent'].nil?
|
5302
|
+
@Agent = Agent.new
|
5303
|
+
@Agent.deserialize(params['Agent'])
|
5304
|
+
end
|
5305
|
+
@SceneKey = params['SceneKey']
|
5306
|
+
end
|
5307
|
+
end
|
5308
|
+
|
5309
|
+
# DescribePersonCertificate返回参数结构体
|
5310
|
+
class DescribePersonCertificateResponse < TencentCloud::Common::AbstractModel
|
5311
|
+
# @param Cert: 证书的Base64
|
5312
|
+
# @type Cert: String
|
5313
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5314
|
+
# @type RequestId: String
|
5315
|
+
|
5316
|
+
attr_accessor :Cert, :RequestId
|
5317
|
+
|
5318
|
+
def initialize(cert=nil, requestid=nil)
|
5319
|
+
@Cert = cert
|
5320
|
+
@RequestId = requestid
|
5321
|
+
end
|
5322
|
+
|
5323
|
+
def deserialize(params)
|
5324
|
+
@Cert = params['Cert']
|
5325
|
+
@RequestId = params['RequestId']
|
5326
|
+
end
|
5327
|
+
end
|
5328
|
+
|
5227
5329
|
# DescribeThirdPartyAuthCode请求参数结构体
|
5228
5330
|
class DescribeThirdPartyAuthCodeRequest < TencentCloud::Common::AbstractModel
|
5229
5331
|
# @param AuthCode: 腾讯电子签小程序跳转客户企业小程序时携带的授权查看码,AuthCode由腾讯电子签小程序生成。
|
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.665
|
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-09-
|
11
|
+
date: 2023-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|