tencentcloud-sdk-essbasic 3.0.847 → 3.0.848
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 +58 -0
- data/lib/v20210526/models.rb +121 -8
- 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: f767f603d82c15873177d715c68bac741f5da657
|
4
|
+
data.tar.gz: f34e7d77feaec614d95c8599a1111253ebea3f02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c9c6e2ca07e1035c825eb1b5fe402c9f68daf650656963050d568c4080a78fc8a460c22fd4cf5d68ecd7a26391b7c8f8d296f7dd0ce4b3d66cce4b7d3a5beac
|
7
|
+
data.tar.gz: 9c14d865a687a1f7fe96b73b686f8787ea374e7ff0cc62e5dbf6a750af8254b0219d25d4260c043ba981dcd29391b72e1d13aca9d757f8b1e08b2cdc6185926e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.848
|
data/lib/v20210526/client.rb
CHANGED
@@ -1744,6 +1744,40 @@ module TencentCloud
|
|
1744
1744
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1745
1745
|
end
|
1746
1746
|
|
1747
|
+
# 获取区块链存证报告查看链接/二维码接口
|
1748
|
+
|
1749
|
+
# 适用场景:企业员工可以通过此接口生成合同区块链存证报告的查看链接/二维码,以供他人扫码打开腾讯电子签小程序查看。
|
1750
|
+
|
1751
|
+
# [点击查看区块链存证报告样式](https://qcloudimg.tencent-cloud.cn/raw/47d5e9c2ffa90ad4e27b3cd14095aa08.jpg)
|
1752
|
+
|
1753
|
+
# 注:
|
1754
|
+
# <ul><li>1. 二维码下载链接过期时间为5分钟,请尽快下载保存。二维码/短链的过期时间为<font color="red">7天</font>,超过有效期则不可用。</li>
|
1755
|
+
# <li>2. 合同状态需为<font color="red">签署完成</font> 、<font color="red">已解除</font>才能生成报告查看二维码/短链。</li>
|
1756
|
+
# <li>3. 调用接口时,需确保接口调用身份拥有此合同的访问数据权限或为合同参与方。</li>
|
1757
|
+
# <li>4. 通过扫码或者点击链接,用户无需登录或者鉴权即可查看对应合同的区块链存证报告,请妥善保管好二维码或链接。</li></ul>
|
1758
|
+
|
1759
|
+
# @param request: Request instance for CreateFlowBlockchainEvidenceUrl.
|
1760
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::CreateFlowBlockchainEvidenceUrlRequest`
|
1761
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::CreateFlowBlockchainEvidenceUrlResponse`
|
1762
|
+
def CreateFlowBlockchainEvidenceUrl(request)
|
1763
|
+
body = send_request('CreateFlowBlockchainEvidenceUrl', request.serialize)
|
1764
|
+
response = JSON.parse(body)
|
1765
|
+
if response['Response'].key?('Error') == false
|
1766
|
+
model = CreateFlowBlockchainEvidenceUrlResponse.new
|
1767
|
+
model.deserialize(response['Response'])
|
1768
|
+
model
|
1769
|
+
else
|
1770
|
+
code = response['Response']['Error']['Code']
|
1771
|
+
message = response['Response']['Error']['Message']
|
1772
|
+
reqid = response['Response']['RequestId']
|
1773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1774
|
+
end
|
1775
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1776
|
+
raise e
|
1777
|
+
rescue StandardError => e
|
1778
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1779
|
+
end
|
1780
|
+
|
1747
1781
|
# 1. 在使用[通过多文件创建合同组签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowGroupByFiles)或[通过多模板创建合同组签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowGroupByTemplates)创建合同组签署流程时,若指定了参数以下参数为true,则可以调用此接口提交企业内部签署审批结果,即使是自动签署也需要进行审核通过才会进行签署。
|
1748
1782
|
# - [FlowInfo.NeedSignReview](https://qian.tencent.com/developers/partnerApis/dataTypes/#flowinfo)
|
1749
1783
|
# - [FlowFileInfo.NeedSignReview](https://qian.tencent.com/developers/partnerApis/dataTypes/#flowfileinfo)
|
@@ -1859,6 +1893,30 @@ module TencentCloud
|
|
1859
1893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1860
1894
|
end
|
1861
1895
|
|
1896
|
+
# 此接口用于获取创建法人章二维码图片base64
|
1897
|
+
|
1898
|
+
# @param request: Request instance for CreateLegalSealQrCode.
|
1899
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::CreateLegalSealQrCodeRequest`
|
1900
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::CreateLegalSealQrCodeResponse`
|
1901
|
+
def CreateLegalSealQrCode(request)
|
1902
|
+
body = send_request('CreateLegalSealQrCode', request.serialize)
|
1903
|
+
response = JSON.parse(body)
|
1904
|
+
if response['Response'].key?('Error') == false
|
1905
|
+
model = CreateLegalSealQrCodeResponse.new
|
1906
|
+
model.deserialize(response['Response'])
|
1907
|
+
model
|
1908
|
+
else
|
1909
|
+
code = response['Response']['Error']['Code']
|
1910
|
+
message = response['Response']['Error']['Message']
|
1911
|
+
reqid = response['Response']['RequestId']
|
1912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1913
|
+
end
|
1914
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1915
|
+
raise e
|
1916
|
+
rescue StandardError => e
|
1917
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1918
|
+
end
|
1919
|
+
|
1862
1920
|
# 创建他方自动签授权链接,通过该链接可进入小程序进行合作方企业的自动签授权,若当前企业未开通企业自动签,通过该链接会先引导开通本企业自动签。
|
1863
1921
|
# 该接口效果同控制台: 企业设置-> 扩展服务 -> 企业自动签署 -> 合作企业方授权
|
1864
1922
|
|
data/lib/v20210526/models.rb
CHANGED
@@ -5428,6 +5428,57 @@ module TencentCloud
|
|
5428
5428
|
end
|
5429
5429
|
end
|
5430
5430
|
|
5431
|
+
# CreateFlowBlockchainEvidenceUrl请求参数结构体
|
5432
|
+
class CreateFlowBlockchainEvidenceUrlRequest < TencentCloud::Common::AbstractModel
|
5433
|
+
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。 此接口下面信息必填。 <ul> <li>渠道应用标识: Agent.AppId</li> <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li> <li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li> </ul>
|
5434
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
5435
|
+
# @param FlowId: 合同流程ID,为32位字符串。建议开发者妥善保存此流程ID,以便于顺利进行后续操作。可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
|
5436
|
+
# @type FlowId: String
|
5437
|
+
|
5438
|
+
attr_accessor :Agent, :FlowId
|
5439
|
+
|
5440
|
+
def initialize(agent=nil, flowid=nil)
|
5441
|
+
@Agent = agent
|
5442
|
+
@FlowId = flowid
|
5443
|
+
end
|
5444
|
+
|
5445
|
+
def deserialize(params)
|
5446
|
+
unless params['Agent'].nil?
|
5447
|
+
@Agent = Agent.new
|
5448
|
+
@Agent.deserialize(params['Agent'])
|
5449
|
+
end
|
5450
|
+
@FlowId = params['FlowId']
|
5451
|
+
end
|
5452
|
+
end
|
5453
|
+
|
5454
|
+
# CreateFlowBlockchainEvidenceUrl返回参数结构体
|
5455
|
+
class CreateFlowBlockchainEvidenceUrlResponse < TencentCloud::Common::AbstractModel
|
5456
|
+
# @param QrCode: 二维码图片下载链接,下载链接有效时间5分钟,请尽快下载保存。
|
5457
|
+
# @type QrCode: String
|
5458
|
+
# @param Url: 查看短链,可直接点击短链查看报告。
|
5459
|
+
# @type Url: String
|
5460
|
+
# @param ExpiredOn: 二维码和短链的过期时间戳,过期时间默认为生成链接后7天。
|
5461
|
+
# @type ExpiredOn: Integer
|
5462
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5463
|
+
# @type RequestId: String
|
5464
|
+
|
5465
|
+
attr_accessor :QrCode, :Url, :ExpiredOn, :RequestId
|
5466
|
+
|
5467
|
+
def initialize(qrcode=nil, url=nil, expiredon=nil, requestid=nil)
|
5468
|
+
@QrCode = qrcode
|
5469
|
+
@Url = url
|
5470
|
+
@ExpiredOn = expiredon
|
5471
|
+
@RequestId = requestid
|
5472
|
+
end
|
5473
|
+
|
5474
|
+
def deserialize(params)
|
5475
|
+
@QrCode = params['QrCode']
|
5476
|
+
@Url = params['Url']
|
5477
|
+
@ExpiredOn = params['ExpiredOn']
|
5478
|
+
@RequestId = params['RequestId']
|
5479
|
+
end
|
5480
|
+
end
|
5481
|
+
|
5431
5482
|
# CreateFlowGroupSignReview请求参数结构体
|
5432
5483
|
class CreateFlowGroupSignReviewRequest < TencentCloud::Common::AbstractModel
|
5433
5484
|
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
@@ -5688,6 +5739,68 @@ module TencentCloud
|
|
5688
5739
|
end
|
5689
5740
|
end
|
5690
5741
|
|
5742
|
+
# CreateLegalSealQrCode请求参数结构体
|
5743
|
+
class CreateLegalSealQrCodeRequest < TencentCloud::Common::AbstractModel
|
5744
|
+
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容
|
5745
|
+
# 此接口下面信息必填。
|
5746
|
+
# <ul>
|
5747
|
+
# <li>渠道应用标识: Agent.AppId</li>
|
5748
|
+
# <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
5749
|
+
# <li>第三方平台子客企业中的员工标识: Agent.ProxyOperator.OpenId</li>
|
5750
|
+
# </ul>注:
|
5751
|
+
# `1. 企业激活时, 此时的Agent.ProxyOrganizationOpenId将会是企业激活后企业的唯一标识,建议开发者保存企业ProxyOrganizationOpenId,后续各项接口调用皆需要此参数。 `
|
5752
|
+
# `2. 员工认证时, 此时的Agent.ProxyOperator.OpenId将会是员工认证加入企业后的唯一标识,建议开发者保存此员工的OpenId,后续各项接口调用皆需要此参数。 `
|
5753
|
+
# `3. 同渠道应用(Agent.AppId)下,企业唯一标识ProxyOrganizationOpenId需要保持唯一,员工唯一标识OpenId也要保持唯一 (而不是企业下唯一)。 `
|
5754
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
5755
|
+
# @param Operator: 操作人信息
|
5756
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
5757
|
+
# @param Organization: 企业信息
|
5758
|
+
# @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
|
5759
|
+
|
5760
|
+
attr_accessor :Agent, :Operator, :Organization
|
5761
|
+
|
5762
|
+
def initialize(agent=nil, operator=nil, organization=nil)
|
5763
|
+
@Agent = agent
|
5764
|
+
@Operator = operator
|
5765
|
+
@Organization = organization
|
5766
|
+
end
|
5767
|
+
|
5768
|
+
def deserialize(params)
|
5769
|
+
unless params['Agent'].nil?
|
5770
|
+
@Agent = Agent.new
|
5771
|
+
@Agent.deserialize(params['Agent'])
|
5772
|
+
end
|
5773
|
+
unless params['Operator'].nil?
|
5774
|
+
@Operator = UserInfo.new
|
5775
|
+
@Operator.deserialize(params['Operator'])
|
5776
|
+
end
|
5777
|
+
unless params['Organization'].nil?
|
5778
|
+
@Organization = OrganizationInfo.new
|
5779
|
+
@Organization.deserialize(params['Organization'])
|
5780
|
+
end
|
5781
|
+
end
|
5782
|
+
end
|
5783
|
+
|
5784
|
+
# CreateLegalSealQrCode返回参数结构体
|
5785
|
+
class CreateLegalSealQrCodeResponse < TencentCloud::Common::AbstractModel
|
5786
|
+
# @param QrcodeBase64: 二维码图片base64值
|
5787
|
+
# @type QrcodeBase64: String
|
5788
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5789
|
+
# @type RequestId: String
|
5790
|
+
|
5791
|
+
attr_accessor :QrcodeBase64, :RequestId
|
5792
|
+
|
5793
|
+
def initialize(qrcodebase64=nil, requestid=nil)
|
5794
|
+
@QrcodeBase64 = qrcodebase64
|
5795
|
+
@RequestId = requestid
|
5796
|
+
end
|
5797
|
+
|
5798
|
+
def deserialize(params)
|
5799
|
+
@QrcodeBase64 = params['QrcodeBase64']
|
5800
|
+
@RequestId = params['RequestId']
|
5801
|
+
end
|
5802
|
+
end
|
5803
|
+
|
5691
5804
|
# CreatePartnerAutoSignAuthUrl请求参数结构体
|
5692
5805
|
class CreatePartnerAutoSignAuthUrlRequest < TencentCloud::Common::AbstractModel
|
5693
5806
|
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
@@ -7031,15 +7144,15 @@ module TencentCloud
|
|
7031
7144
|
|
7032
7145
|
# 创建嵌入式页面url个性化参数
|
7033
7146
|
class EmbedUrlOption < TencentCloud::Common::AbstractModel
|
7034
|
-
# @param ShowFlowDetailComponent:
|
7035
|
-
# <
|
7036
|
-
# <
|
7037
|
-
# <
|
7147
|
+
# @param ShowFlowDetailComponent: 合同详情预览,允许展示控件信息
|
7148
|
+
# <ul>
|
7149
|
+
# <li><b>true</b>:允许在合同详情页展示控件</li>
|
7150
|
+
# <li><b>false</b>:(默认)不允许在合同详情页展示控件</li>
|
7151
|
+
# </ul>
|
7038
7152
|
# @type ShowFlowDetailComponent: Boolean
|
7039
|
-
# @param ShowTemplateComponent:
|
7040
|
-
# <
|
7041
|
-
# <
|
7042
|
-
# <br/>默认false,在模版预览页不展示控件
|
7153
|
+
# @param ShowTemplateComponent: 模板预览,允许展示模板控件信息
|
7154
|
+
# <ul><li> <b>true</b> :允许在模板预览页展示控件</li>
|
7155
|
+
# <li> <b>false</b> :(默认)不允许在模板预览页展示控件</li></ul>
|
7043
7156
|
# @type ShowTemplateComponent: Boolean
|
7044
7157
|
|
7045
7158
|
attr_accessor :ShowFlowDetailComponent, :ShowTemplateComponent
|
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.848
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|