tencentcloud-sdk-ess 3.0.847 → 3.0.849
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 +61 -0
- data/lib/v20201111/models.rb +117 -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: bc6307261a86a66718856e6843a127ca873254bb
|
4
|
+
data.tar.gz: d89555b6e39b26eccb1139c3edb8f6cafd824d55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29dd0eedd398a0171a61521d861d800cc4700689cec2a79bca45b7be4b71c85c40e8bfb2b145e56c18b817f88638b91330555090171a7c03f861d1bc80ebdf49
|
7
|
+
data.tar.gz: b7eb1f5700c4d53b78ae021a2e846b11ea7375ed2a91f8c4bf8547dc9c7679e339573f2ac7492bebd805e9e5b9505231089e46d5172e5ccc620a2c6b927e5689
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.849
|
data/lib/v20201111/client.rb
CHANGED
@@ -540,6 +540,40 @@ module TencentCloud
|
|
540
540
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
541
541
|
end
|
542
542
|
|
543
|
+
# 获取区块链存证报告查看链接/二维码接口
|
544
|
+
|
545
|
+
# 适用场景:企业员工可以通过此接口生成合同区块链存证报告的查看链接/二维码,以供他人扫码打开腾讯电子签小程序查看。
|
546
|
+
|
547
|
+
# [点击查看区块链存证报告样式](https://qcloudimg.tencent-cloud.cn/raw/47d5e9c2ffa90ad4e27b3cd14095aa08.jpg)
|
548
|
+
|
549
|
+
# 注:
|
550
|
+
# <ul><li>1. 二维码下载链接过期时间为5分钟,请尽快下载保存。二维码/短链的过期时间为<font color="red">7天</font>,超过有效期则不可用。</li>
|
551
|
+
# <li>2. 合同状态需为<font color="red">签署完成</font> 、<font color="red">已解除</font>才能生成报告查看二维码/短链。</li>
|
552
|
+
# <li>3. 调用接口时,需确保接口调用身份拥有此合同的访问数据权限或为合同参与方。</li>
|
553
|
+
# <li>4. 通过扫码或者点击链接,用户无需登录或者鉴权即可查看对应合同的区块链存证报告,请妥善保管好二维码或链接。</li></ul>
|
554
|
+
|
555
|
+
# @param request: Request instance for CreateFlowBlockchainEvidenceUrl.
|
556
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateFlowBlockchainEvidenceUrlRequest`
|
557
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateFlowBlockchainEvidenceUrlResponse`
|
558
|
+
def CreateFlowBlockchainEvidenceUrl(request)
|
559
|
+
body = send_request('CreateFlowBlockchainEvidenceUrl', request.serialize)
|
560
|
+
response = JSON.parse(body)
|
561
|
+
if response['Response'].key?('Error') == false
|
562
|
+
model = CreateFlowBlockchainEvidenceUrlResponse.new
|
563
|
+
model.deserialize(response['Response'])
|
564
|
+
model
|
565
|
+
else
|
566
|
+
code = response['Response']['Error']['Code']
|
567
|
+
message = response['Response']['Error']['Message']
|
568
|
+
reqid = response['Response']['RequestId']
|
569
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
570
|
+
end
|
571
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
572
|
+
raise e
|
573
|
+
rescue StandardError => e
|
574
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
575
|
+
end
|
576
|
+
|
543
577
|
# 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。<br/>
|
544
578
|
# 适用场景:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。<br/>
|
545
579
|
|
@@ -1021,6 +1055,33 @@ module TencentCloud
|
|
1021
1055
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1022
1056
|
end
|
1023
1057
|
|
1058
|
+
# 该接口用于获取创建法人章的二维码<br/>
|
1059
|
+
|
1060
|
+
# **注意**
|
1061
|
+
# 1. 该二维码**有效期为7天**,过期后将失效,可重新创建 。
|
1062
|
+
|
1063
|
+
# @param request: Request instance for CreateLegalSealQrCode.
|
1064
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateLegalSealQrCodeRequest`
|
1065
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateLegalSealQrCodeResponse`
|
1066
|
+
def CreateLegalSealQrCode(request)
|
1067
|
+
body = send_request('CreateLegalSealQrCode', request.serialize)
|
1068
|
+
response = JSON.parse(body)
|
1069
|
+
if response['Response'].key?('Error') == false
|
1070
|
+
model = CreateLegalSealQrCodeResponse.new
|
1071
|
+
model.deserialize(response['Response'])
|
1072
|
+
model
|
1073
|
+
else
|
1074
|
+
code = response['Response']['Error']['Code']
|
1075
|
+
message = response['Response']['Error']['Message']
|
1076
|
+
reqid = response['Response']['RequestId']
|
1077
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1078
|
+
end
|
1079
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1080
|
+
raise e
|
1081
|
+
rescue StandardError => e
|
1082
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1083
|
+
end
|
1084
|
+
|
1024
1085
|
# 此接口(CreateMultiFlowSignQRCode)用于创建一码多签签署码。
|
1025
1086
|
|
1026
1087
|
# **适用场景**:
|
data/lib/v20201111/models.rb
CHANGED
@@ -2168,6 +2168,68 @@ module TencentCloud
|
|
2168
2168
|
end
|
2169
2169
|
end
|
2170
2170
|
|
2171
|
+
# CreateFlowBlockchainEvidenceUrl请求参数结构体
|
2172
|
+
class CreateFlowBlockchainEvidenceUrlRequest < TencentCloud::Common::AbstractModel
|
2173
|
+
# @param Operator: 执行本接口操作的员工信息。
|
2174
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
2175
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2176
|
+
# @param FlowId: 合同流程ID,为32位字符串。
|
2177
|
+
# 建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
|
2178
|
+
# 可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
|
2179
|
+
# @type FlowId: String
|
2180
|
+
# @param Agent: 代理企业和员工的信息。
|
2181
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
2182
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2183
|
+
|
2184
|
+
attr_accessor :Operator, :FlowId, :Agent
|
2185
|
+
|
2186
|
+
def initialize(operator=nil, flowid=nil, agent=nil)
|
2187
|
+
@Operator = operator
|
2188
|
+
@FlowId = flowid
|
2189
|
+
@Agent = agent
|
2190
|
+
end
|
2191
|
+
|
2192
|
+
def deserialize(params)
|
2193
|
+
unless params['Operator'].nil?
|
2194
|
+
@Operator = UserInfo.new
|
2195
|
+
@Operator.deserialize(params['Operator'])
|
2196
|
+
end
|
2197
|
+
@FlowId = params['FlowId']
|
2198
|
+
unless params['Agent'].nil?
|
2199
|
+
@Agent = Agent.new
|
2200
|
+
@Agent.deserialize(params['Agent'])
|
2201
|
+
end
|
2202
|
+
end
|
2203
|
+
end
|
2204
|
+
|
2205
|
+
# CreateFlowBlockchainEvidenceUrl返回参数结构体
|
2206
|
+
class CreateFlowBlockchainEvidenceUrlResponse < TencentCloud::Common::AbstractModel
|
2207
|
+
# @param QrCode: 二维码图片下载链接,下载链接有效时间5分钟,请尽快下载保存。
|
2208
|
+
# @type QrCode: String
|
2209
|
+
# @param Url: 查看短链,可直接点击短链查看报告。
|
2210
|
+
# @type Url: String
|
2211
|
+
# @param ExpiredOn: 二维码和短链的过期时间戳,过期时间默认为生成链接后7天。
|
2212
|
+
# @type ExpiredOn: Integer
|
2213
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2214
|
+
# @type RequestId: String
|
2215
|
+
|
2216
|
+
attr_accessor :QrCode, :Url, :ExpiredOn, :RequestId
|
2217
|
+
|
2218
|
+
def initialize(qrcode=nil, url=nil, expiredon=nil, requestid=nil)
|
2219
|
+
@QrCode = qrcode
|
2220
|
+
@Url = url
|
2221
|
+
@ExpiredOn = expiredon
|
2222
|
+
@RequestId = requestid
|
2223
|
+
end
|
2224
|
+
|
2225
|
+
def deserialize(params)
|
2226
|
+
@QrCode = params['QrCode']
|
2227
|
+
@Url = params['Url']
|
2228
|
+
@ExpiredOn = params['ExpiredOn']
|
2229
|
+
@RequestId = params['RequestId']
|
2230
|
+
end
|
2231
|
+
end
|
2232
|
+
|
2171
2233
|
# CreateFlowByFiles请求参数结构体
|
2172
2234
|
class CreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
|
2173
2235
|
# @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
@@ -3628,6 +3690,61 @@ module TencentCloud
|
|
3628
3690
|
end
|
3629
3691
|
end
|
3630
3692
|
|
3693
|
+
# CreateLegalSealQrCode请求参数结构体
|
3694
|
+
class CreateLegalSealQrCodeRequest < TencentCloud::Common::AbstractModel
|
3695
|
+
# @param Operator: 执行本接口操作的员工信息。
|
3696
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
3697
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
3698
|
+
# @param Agent: 代理企业和员工的信息。
|
3699
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
3700
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
3701
|
+
# @param Organization: 机构信息,暂未开放
|
3702
|
+
# @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
|
3703
|
+
|
3704
|
+
attr_accessor :Operator, :Agent, :Organization
|
3705
|
+
|
3706
|
+
def initialize(operator=nil, agent=nil, organization=nil)
|
3707
|
+
@Operator = operator
|
3708
|
+
@Agent = agent
|
3709
|
+
@Organization = organization
|
3710
|
+
end
|
3711
|
+
|
3712
|
+
def deserialize(params)
|
3713
|
+
unless params['Operator'].nil?
|
3714
|
+
@Operator = UserInfo.new
|
3715
|
+
@Operator.deserialize(params['Operator'])
|
3716
|
+
end
|
3717
|
+
unless params['Agent'].nil?
|
3718
|
+
@Agent = Agent.new
|
3719
|
+
@Agent.deserialize(params['Agent'])
|
3720
|
+
end
|
3721
|
+
unless params['Organization'].nil?
|
3722
|
+
@Organization = OrganizationInfo.new
|
3723
|
+
@Organization.deserialize(params['Organization'])
|
3724
|
+
end
|
3725
|
+
end
|
3726
|
+
end
|
3727
|
+
|
3728
|
+
# CreateLegalSealQrCode返回参数结构体
|
3729
|
+
class CreateLegalSealQrCodeResponse < TencentCloud::Common::AbstractModel
|
3730
|
+
# @param QrcodeBase64: 二维码图片base64值
|
3731
|
+
# @type QrcodeBase64: String
|
3732
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3733
|
+
# @type RequestId: String
|
3734
|
+
|
3735
|
+
attr_accessor :QrcodeBase64, :RequestId
|
3736
|
+
|
3737
|
+
def initialize(qrcodebase64=nil, requestid=nil)
|
3738
|
+
@QrcodeBase64 = qrcodebase64
|
3739
|
+
@RequestId = requestid
|
3740
|
+
end
|
3741
|
+
|
3742
|
+
def deserialize(params)
|
3743
|
+
@QrcodeBase64 = params['QrcodeBase64']
|
3744
|
+
@RequestId = params['RequestId']
|
3745
|
+
end
|
3746
|
+
end
|
3747
|
+
|
3631
3748
|
# CreateMultiFlowSignQRCode请求参数结构体
|
3632
3749
|
class CreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
|
3633
3750
|
# @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.849
|
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-06-
|
11
|
+
date: 2024-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|