tencentcloud-sdk-ess 3.0.846 → 3.0.848

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cd8ba4787543b7d8bf0da76924b3aa464c17b6a
4
- data.tar.gz: e451ca137c90dd7c32385ee3a662442a4622b71b
3
+ metadata.gz: 9a39fd068616a99eb461e3fecf4ca819fcc6e769
4
+ data.tar.gz: 79fac90a682a4bbd8a79c12b6d09b1f8a2c963c3
5
5
  SHA512:
6
- metadata.gz: 981f7bbfecedff5c2eb33d42a0b538c46782a0a8921068645665618d9b2082c62bac647dbbbbe8937e64db780395a8723552b19caf31d9e1ef24452c4ef65020
7
- data.tar.gz: 8e9a0cb7823d8929b95c3784313e8e5a1adf4f32acf2f4ac38a9ac1e6e4af269a55dc6261557bf3388768664693ee78f8f696da3ceb66cc4527b57021218af82
6
+ metadata.gz: 1642882eeb3f6ca24a1ea7808f72b5837704d9cf1d7cc7cf7fbe68d1558294e0f4c311a77f9cddaad32176d11aa382ebd21e55b258168c342098b3d97a4b898c
7
+ data.tar.gz: b05be77f187bc6196fdb812684bfcc11ee1d4e0ac9b05389e3e866ca6923108a9e59202f1cd26907f13e9b6f5fd7d6ba8eac2d9b8e37547e0d9ebe8816a7e45a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.846
1
+ 3.0.848
@@ -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
  # **适用场景**:
@@ -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.846
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-19 00:00:00.000000000 Z
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