tencentcloud-sdk-essbasic 3.0.414 → 3.0.415
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210526/client.rb +30 -1
- data/lib/v20210526/models.rb +130 -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: 12241c1505f7ecf6cbbd6f722b681af85dddc7ab
|
4
|
+
data.tar.gz: 103987160b3c0d24a3c7835dcbb88c9457f1f99a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bff46f46879a5c571f2ff0249be422327c1bbe2579e0731ad298918db786a595ba361399730444d909f46c8a4c878ca772f15c16bdc96cb132069b3f16137ed2
|
7
|
+
data.tar.gz: 9c5d754afaf5744751e883e416051e6c49a715d2d00454a551e343039f2e1e867a95d10b61074434fe96adc30b3a259160c15a4b196e8061133540666f56b5f1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.415
|
data/lib/v20210526/client.rb
CHANGED
@@ -31,6 +31,8 @@ module TencentCloud
|
|
31
31
|
|
32
32
|
# 指定需要批量撤销的签署流程Id,批量撤销合同
|
33
33
|
# 客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口失败后返回错误信息
|
34
|
+
# 注意:
|
35
|
+
# 能撤回合同的只能是合同的发起人或者发起企业的超管、法人
|
34
36
|
|
35
37
|
# @param request: Request instance for ChannelBatchCancelFlows.
|
36
38
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelBatchCancelFlowsRequest`
|
@@ -79,7 +81,10 @@ module TencentCloud
|
|
79
81
|
end
|
80
82
|
|
81
83
|
# 指定需要批量撤销的签署流程Id,获取批量撤销链接
|
82
|
-
# 客户指定需要撤销的签署流程Id,最多100个,超过100
|
84
|
+
# 客户指定需要撤销的签署流程Id,最多100个,超过100不处理;
|
85
|
+
# 接口调用成功返回批量撤销合同的链接,通过链接跳转到电子签小程序完成批量撤销;
|
86
|
+
# 注意:
|
87
|
+
# 能撤回合同的只能是合同的发起人或者发起企业的超管、法人
|
83
88
|
|
84
89
|
# @param request: Request instance for ChannelCreateBatchCancelFlowUrl.
|
85
90
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateBatchCancelFlowUrlRequest`
|
@@ -251,6 +256,30 @@ module TencentCloud
|
|
251
256
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
252
257
|
end
|
253
258
|
|
259
|
+
# 合同文件验签
|
260
|
+
|
261
|
+
# @param request: Request instance for ChannelVerifyPdf.
|
262
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelVerifyPdfRequest`
|
263
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelVerifyPdfResponse`
|
264
|
+
def ChannelVerifyPdf(request)
|
265
|
+
body = send_request('ChannelVerifyPdf', request.serialize)
|
266
|
+
response = JSON.parse(body)
|
267
|
+
if response['Response'].key?('Error') == false
|
268
|
+
model = ChannelVerifyPdfResponse.new
|
269
|
+
model.deserialize(response['Response'])
|
270
|
+
model
|
271
|
+
else
|
272
|
+
code = response['Response']['Error']['Code']
|
273
|
+
message = response['Response']['Error']['Message']
|
274
|
+
reqid = response['Response']['RequestId']
|
275
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
276
|
+
end
|
277
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
278
|
+
raise e
|
279
|
+
rescue StandardError => e
|
280
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
281
|
+
end
|
282
|
+
|
254
283
|
# 【描述】:创建出证报告,返回报告 URL
|
255
284
|
# 【注意】:此接口需要通过添加白名单获取调用权限,请联系运营人员加白
|
256
285
|
|
data/lib/v20210526/models.rb
CHANGED
@@ -737,6 +737,68 @@ module TencentCloud
|
|
737
737
|
end
|
738
738
|
end
|
739
739
|
|
740
|
+
# ChannelVerifyPdf请求参数结构体
|
741
|
+
class ChannelVerifyPdfRequest < TencentCloud::Common::AbstractModel
|
742
|
+
# @param FlowId: 合同Id,流程Id
|
743
|
+
# @type FlowId: String
|
744
|
+
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
745
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
746
|
+
# @param Operator: 操作者的信息
|
747
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
748
|
+
|
749
|
+
attr_accessor :FlowId, :Agent, :Operator
|
750
|
+
|
751
|
+
def initialize(flowid=nil, agent=nil, operator=nil)
|
752
|
+
@FlowId = flowid
|
753
|
+
@Agent = agent
|
754
|
+
@Operator = operator
|
755
|
+
end
|
756
|
+
|
757
|
+
def deserialize(params)
|
758
|
+
@FlowId = params['FlowId']
|
759
|
+
unless params['Agent'].nil?
|
760
|
+
@Agent = Agent.new
|
761
|
+
@Agent.deserialize(params['Agent'])
|
762
|
+
end
|
763
|
+
unless params['Operator'].nil?
|
764
|
+
@Operator = UserInfo.new
|
765
|
+
@Operator.deserialize(params['Operator'])
|
766
|
+
end
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
# ChannelVerifyPdf返回参数结构体
|
771
|
+
class ChannelVerifyPdfResponse < TencentCloud::Common::AbstractModel
|
772
|
+
# @param VerifyResult: 验签结果,1-文件未被篡改,全部签名在腾讯电子签完成; 2-文件未被篡改,部分签名在腾讯电子签完成;3-文件被篡改;4-异常:文件内没有签名域;5-异常:文件签名格式错误
|
773
|
+
# @type VerifyResult: Integer
|
774
|
+
# @param PdfVerifyResults: 验签结果详情,内部状态1-验签成功,在电子签签署;2-验签成功,在其他平台签署;3-验签失败;4-pdf文件没有签名域
|
775
|
+
# ;5-文件签名格式错误
|
776
|
+
# @type PdfVerifyResults: Array
|
777
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
778
|
+
# @type RequestId: String
|
779
|
+
|
780
|
+
attr_accessor :VerifyResult, :PdfVerifyResults, :RequestId
|
781
|
+
|
782
|
+
def initialize(verifyresult=nil, pdfverifyresults=nil, requestid=nil)
|
783
|
+
@VerifyResult = verifyresult
|
784
|
+
@PdfVerifyResults = pdfverifyresults
|
785
|
+
@RequestId = requestid
|
786
|
+
end
|
787
|
+
|
788
|
+
def deserialize(params)
|
789
|
+
@VerifyResult = params['VerifyResult']
|
790
|
+
unless params['PdfVerifyResults'].nil?
|
791
|
+
@PdfVerifyResults = []
|
792
|
+
params['PdfVerifyResults'].each do |i|
|
793
|
+
pdfverifyresult_tmp = PdfVerifyResult.new
|
794
|
+
pdfverifyresult_tmp.deserialize(i)
|
795
|
+
@PdfVerifyResults << pdfverifyresult_tmp
|
796
|
+
end
|
797
|
+
end
|
798
|
+
@RequestId = params['RequestId']
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
740
802
|
# 此结构体 (Component) 用于描述控件属性。
|
741
803
|
class Component < TencentCloud::Common::AbstractModel
|
742
804
|
# @param ComponentId: 控件编号
|
@@ -2226,6 +2288,74 @@ module TencentCloud
|
|
2226
2288
|
end
|
2227
2289
|
end
|
2228
2290
|
|
2291
|
+
# 合同文件验签单个结果结构体
|
2292
|
+
class PdfVerifyResult < TencentCloud::Common::AbstractModel
|
2293
|
+
# @param VerifyResult: 验签结果
|
2294
|
+
# @type VerifyResult: Integer
|
2295
|
+
# @param SignPlatform: 签署平台
|
2296
|
+
# @type SignPlatform: String
|
2297
|
+
# @param SignerName: 签署人名称
|
2298
|
+
# @type SignerName: String
|
2299
|
+
# @param SignTime: 签署时间
|
2300
|
+
# @type SignTime: Integer
|
2301
|
+
# @param SignAlgorithm: 签名算法
|
2302
|
+
# @type SignAlgorithm: String
|
2303
|
+
# @param CertSn: 签名证书序列号
|
2304
|
+
# @type CertSn: String
|
2305
|
+
# @param CertNotBefore: 证书起始时间
|
2306
|
+
# @type CertNotBefore: Integer
|
2307
|
+
# @param CertNotAfter: 证书过期时间
|
2308
|
+
# @type CertNotAfter: Integer
|
2309
|
+
# @param SignType: 签名类型
|
2310
|
+
# @type SignType: Integer
|
2311
|
+
# @param ComponentPosX: 签名域横坐标
|
2312
|
+
# @type ComponentPosX: Float
|
2313
|
+
# @param ComponentPosY: 签名域纵坐标
|
2314
|
+
# @type ComponentPosY: Float
|
2315
|
+
# @param ComponentWidth: 签名域宽度
|
2316
|
+
# @type ComponentWidth: Float
|
2317
|
+
# @param ComponentHeight: 签名域高度
|
2318
|
+
# @type ComponentHeight: Float
|
2319
|
+
# @param ComponentPage: 签名域所在页码
|
2320
|
+
# @type ComponentPage: Integer
|
2321
|
+
|
2322
|
+
attr_accessor :VerifyResult, :SignPlatform, :SignerName, :SignTime, :SignAlgorithm, :CertSn, :CertNotBefore, :CertNotAfter, :SignType, :ComponentPosX, :ComponentPosY, :ComponentWidth, :ComponentHeight, :ComponentPage
|
2323
|
+
|
2324
|
+
def initialize(verifyresult=nil, signplatform=nil, signername=nil, signtime=nil, signalgorithm=nil, certsn=nil, certnotbefore=nil, certnotafter=nil, signtype=nil, componentposx=nil, componentposy=nil, componentwidth=nil, componentheight=nil, componentpage=nil)
|
2325
|
+
@VerifyResult = verifyresult
|
2326
|
+
@SignPlatform = signplatform
|
2327
|
+
@SignerName = signername
|
2328
|
+
@SignTime = signtime
|
2329
|
+
@SignAlgorithm = signalgorithm
|
2330
|
+
@CertSn = certsn
|
2331
|
+
@CertNotBefore = certnotbefore
|
2332
|
+
@CertNotAfter = certnotafter
|
2333
|
+
@SignType = signtype
|
2334
|
+
@ComponentPosX = componentposx
|
2335
|
+
@ComponentPosY = componentposy
|
2336
|
+
@ComponentWidth = componentwidth
|
2337
|
+
@ComponentHeight = componentheight
|
2338
|
+
@ComponentPage = componentpage
|
2339
|
+
end
|
2340
|
+
|
2341
|
+
def deserialize(params)
|
2342
|
+
@VerifyResult = params['VerifyResult']
|
2343
|
+
@SignPlatform = params['SignPlatform']
|
2344
|
+
@SignerName = params['SignerName']
|
2345
|
+
@SignTime = params['SignTime']
|
2346
|
+
@SignAlgorithm = params['SignAlgorithm']
|
2347
|
+
@CertSn = params['CertSn']
|
2348
|
+
@CertNotBefore = params['CertNotBefore']
|
2349
|
+
@CertNotAfter = params['CertNotAfter']
|
2350
|
+
@SignType = params['SignType']
|
2351
|
+
@ComponentPosX = params['ComponentPosX']
|
2352
|
+
@ComponentPosY = params['ComponentPosY']
|
2353
|
+
@ComponentWidth = params['ComponentWidth']
|
2354
|
+
@ComponentHeight = params['ComponentHeight']
|
2355
|
+
@ComponentPage = params['ComponentPage']
|
2356
|
+
end
|
2357
|
+
end
|
2358
|
+
|
2229
2359
|
# PrepareFlows请求参数结构体
|
2230
2360
|
class PrepareFlowsRequest < TencentCloud::Common::AbstractModel
|
2231
2361
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
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.415
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|