tencentcloud-sdk-essbasic 3.0.371 → 3.0.379
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 +25 -0
- data/lib/v20210526/models.rb +131 -7
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ef52d0c4654b37435a1fa61c51ada75ae4e9e42
|
4
|
+
data.tar.gz: 4065113060fd0c52f711dd62d2fbd76f9a60b7f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96d74cff3ba986a8eb0ff0a12d3d03903d1105c2ba4affc945424dcbb26413de5a79adbd34a6e5f9e80de7d411c83eafdf0df4fd57578d57014f7924deb7774b
|
7
|
+
data.tar.gz: 82c8b594687ef527a09696ea531e5e7fbdbc4ce73aed21652187054259b342e8d0d24e48345807f3642ebf8603e86ba0927c02d868aeced5d374c69d4c69f22c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.379
|
data/lib/v20210526/client.rb
CHANGED
@@ -53,6 +53,31 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
+
# 指定需要批量撤回的签署流程Id,获取批量撤销链接
|
57
|
+
# 客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回
|
58
|
+
|
59
|
+
# @param request: Request instance for ChannelCreateBatchCancelFlowUrl.
|
60
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateBatchCancelFlowUrlRequest`
|
61
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateBatchCancelFlowUrlResponse`
|
62
|
+
def ChannelCreateBatchCancelFlowUrl(request)
|
63
|
+
body = send_request('ChannelCreateBatchCancelFlowUrl', request.serialize)
|
64
|
+
response = JSON.parse(body)
|
65
|
+
if response['Response'].key?('Error') == false
|
66
|
+
model = ChannelCreateBatchCancelFlowUrlResponse.new
|
67
|
+
model.deserialize(response['Response'])
|
68
|
+
model
|
69
|
+
else
|
70
|
+
code = response['Response']['Error']['Code']
|
71
|
+
message = response['Response']['Error']['Message']
|
72
|
+
reqid = response['Response']['RequestId']
|
73
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
74
|
+
end
|
75
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
76
|
+
raise e
|
77
|
+
rescue StandardError => e
|
78
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
79
|
+
end
|
80
|
+
|
56
81
|
# 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建签署流程。此接口不可直接使用,需要运营申请
|
57
82
|
|
58
83
|
# @param request: Request instance for ChannelCreateFlowByFiles.
|
data/lib/v20210526/models.rb
CHANGED
@@ -21,13 +21,13 @@ module TencentCloud
|
|
21
21
|
class Agent < TencentCloud::Common::AbstractModel
|
22
22
|
# @param AppId: 腾讯电子签颁发给渠道的应用ID,32位字符串
|
23
23
|
# @type AppId: String
|
24
|
-
# @param ProxyOrganizationOpenId: 渠道/平台合作企业的企业ID
|
24
|
+
# @param ProxyOrganizationOpenId: 渠道/平台合作企业的企业ID,最大64位字符串
|
25
25
|
# @type ProxyOrganizationOpenId: String
|
26
26
|
# @param ProxyOperator: 渠道/平台合作企业经办人(操作员)
|
27
27
|
# @type ProxyOperator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
28
28
|
# @param ProxyAppId: 腾讯电子签颁发给渠道侧合作企业的应用ID
|
29
29
|
# @type ProxyAppId: String
|
30
|
-
# @param ProxyOrganizationId:
|
30
|
+
# @param ProxyOrganizationId: 内部参数,腾讯电子签颁发给渠道侧合作企业的企业ID,不需要传
|
31
31
|
# @type ProxyOrganizationId: String
|
32
32
|
|
33
33
|
attr_accessor :AppId, :ProxyOrganizationOpenId, :ProxyOperator, :ProxyAppId, :ProxyOrganizationId
|
@@ -52,6 +52,34 @@ module TencentCloud
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
+
# 指定签署人限制项
|
56
|
+
class ApproverRestriction < TencentCloud::Common::AbstractModel
|
57
|
+
# @param Name: 指定签署人名字
|
58
|
+
# @type Name: String
|
59
|
+
# @param Mobile: 指定签署人手机号
|
60
|
+
# @type Mobile: String
|
61
|
+
# @param IdCardType: 指定签署人证件类型
|
62
|
+
# @type IdCardType: String
|
63
|
+
# @param IdCardNumber: 指定签署人证件号码
|
64
|
+
# @type IdCardNumber: String
|
65
|
+
|
66
|
+
attr_accessor :Name, :Mobile, :IdCardType, :IdCardNumber
|
67
|
+
|
68
|
+
def initialize(name=nil, mobile=nil, idcardtype=nil, idcardnumber=nil)
|
69
|
+
@Name = name
|
70
|
+
@Mobile = mobile
|
71
|
+
@IdCardType = idcardtype
|
72
|
+
@IdCardNumber = idcardnumber
|
73
|
+
end
|
74
|
+
|
75
|
+
def deserialize(params)
|
76
|
+
@Name = params['Name']
|
77
|
+
@Mobile = params['Mobile']
|
78
|
+
@IdCardType = params['IdCardType']
|
79
|
+
@IdCardNumber = params['IdCardNumber']
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
55
83
|
# 授权出错信息
|
56
84
|
class AuthFailMessage < TencentCloud::Common::AbstractModel
|
57
85
|
# @param ProxyOrganizationOpenId: 合作企业Id
|
@@ -134,6 +162,64 @@ module TencentCloud
|
|
134
162
|
end
|
135
163
|
end
|
136
164
|
|
165
|
+
# ChannelCreateBatchCancelFlowUrl请求参数结构体
|
166
|
+
class ChannelCreateBatchCancelFlowUrlRequest < TencentCloud::Common::AbstractModel
|
167
|
+
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
168
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
169
|
+
# @param FlowIds: 签署流程Id数组
|
170
|
+
# @type FlowIds: Array
|
171
|
+
# @param Operator: 操作人信息
|
172
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
173
|
+
|
174
|
+
attr_accessor :Agent, :FlowIds, :Operator
|
175
|
+
|
176
|
+
def initialize(agent=nil, flowids=nil, operator=nil)
|
177
|
+
@Agent = agent
|
178
|
+
@FlowIds = flowids
|
179
|
+
@Operator = operator
|
180
|
+
end
|
181
|
+
|
182
|
+
def deserialize(params)
|
183
|
+
unless params['Agent'].nil?
|
184
|
+
@Agent = Agent.new
|
185
|
+
@Agent.deserialize(params['Agent'])
|
186
|
+
end
|
187
|
+
@FlowIds = params['FlowIds']
|
188
|
+
unless params['Operator'].nil?
|
189
|
+
@Operator = UserInfo.new
|
190
|
+
@Operator.deserialize(params['Operator'])
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
# ChannelCreateBatchCancelFlowUrl返回参数结构体
|
196
|
+
class ChannelCreateBatchCancelFlowUrlResponse < TencentCloud::Common::AbstractModel
|
197
|
+
# @param BatchCancelFlowUrl: 批量撤回url
|
198
|
+
# @type BatchCancelFlowUrl: String
|
199
|
+
# @param FailMessages: 签署流程批量撤回失败原因
|
200
|
+
# @type FailMessages: Array
|
201
|
+
# @param UrlExpireOn: 签署撤回url过期时间-年月日-时分秒
|
202
|
+
# @type UrlExpireOn: String
|
203
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
204
|
+
# @type RequestId: String
|
205
|
+
|
206
|
+
attr_accessor :BatchCancelFlowUrl, :FailMessages, :UrlExpireOn, :RequestId
|
207
|
+
|
208
|
+
def initialize(batchcancelflowurl=nil, failmessages=nil, urlexpireon=nil, requestid=nil)
|
209
|
+
@BatchCancelFlowUrl = batchcancelflowurl
|
210
|
+
@FailMessages = failmessages
|
211
|
+
@UrlExpireOn = urlexpireon
|
212
|
+
@RequestId = requestid
|
213
|
+
end
|
214
|
+
|
215
|
+
def deserialize(params)
|
216
|
+
@BatchCancelFlowUrl = params['BatchCancelFlowUrl']
|
217
|
+
@FailMessages = params['FailMessages']
|
218
|
+
@UrlExpireOn = params['UrlExpireOn']
|
219
|
+
@RequestId = params['RequestId']
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
137
223
|
# ChannelCreateFlowByFiles请求参数结构体
|
138
224
|
class ChannelCreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
|
139
225
|
# @param Agent: 渠道应用相关信息
|
@@ -258,12 +344,14 @@ module TencentCloud
|
|
258
344
|
# 不传默认使用渠道应用号配置的回调地址
|
259
345
|
# 回调时机:用户通过签署二维码发起合同时,企业额度不足导致失败
|
260
346
|
# @type CallbackUrl: String
|
347
|
+
# @param ApproverRestrictions: 限制二维码用户条件
|
348
|
+
# @type ApproverRestrictions: :class:`Tencentcloud::Essbasic.v20210526.models.ApproverRestriction`
|
261
349
|
# @param Operator: 用户信息
|
262
350
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
263
351
|
|
264
|
-
attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :CallbackUrl, :Operator
|
352
|
+
attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :CallbackUrl, :ApproverRestrictions, :Operator
|
265
353
|
|
266
|
-
def initialize(agent=nil, templateid=nil, flowname=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, callbackurl=nil, operator=nil)
|
354
|
+
def initialize(agent=nil, templateid=nil, flowname=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, callbackurl=nil, approverrestrictions=nil, operator=nil)
|
267
355
|
@Agent = agent
|
268
356
|
@TemplateId = templateid
|
269
357
|
@FlowName = flowname
|
@@ -271,6 +359,7 @@ module TencentCloud
|
|
271
359
|
@FlowEffectiveDay = floweffectiveday
|
272
360
|
@QrEffectiveDay = qreffectiveday
|
273
361
|
@CallbackUrl = callbackurl
|
362
|
+
@ApproverRestrictions = approverrestrictions
|
274
363
|
@Operator = operator
|
275
364
|
end
|
276
365
|
|
@@ -285,6 +374,10 @@ module TencentCloud
|
|
285
374
|
@FlowEffectiveDay = params['FlowEffectiveDay']
|
286
375
|
@QrEffectiveDay = params['QrEffectiveDay']
|
287
376
|
@CallbackUrl = params['CallbackUrl']
|
377
|
+
unless params['ApproverRestrictions'].nil?
|
378
|
+
@ApproverRestrictions = ApproverRestriction.new
|
379
|
+
@ApproverRestrictions.deserialize(params['ApproverRestrictions'])
|
380
|
+
end
|
288
381
|
unless params['Operator'].nil?
|
289
382
|
@Operator = UserInfo.new
|
290
383
|
@Operator.deserialize(params['Operator'])
|
@@ -296,13 +389,16 @@ module TencentCloud
|
|
296
389
|
class ChannelCreateMultiFlowSignQRCodeResponse < TencentCloud::Common::AbstractModel
|
297
390
|
# @param QrCode: 签署二维码对象
|
298
391
|
# @type QrCode: :class:`Tencentcloud::Essbasic.v20210526.models.SignQrCode`
|
392
|
+
# @param SignUrls: 签署链接对象
|
393
|
+
# @type SignUrls: :class:`Tencentcloud::Essbasic.v20210526.models.SignUrl`
|
299
394
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
300
395
|
# @type RequestId: String
|
301
396
|
|
302
|
-
attr_accessor :QrCode, :RequestId
|
397
|
+
attr_accessor :QrCode, :SignUrls, :RequestId
|
303
398
|
|
304
|
-
def initialize(qrcode=nil, requestid=nil)
|
399
|
+
def initialize(qrcode=nil, signurls=nil, requestid=nil)
|
305
400
|
@QrCode = qrcode
|
401
|
+
@SignUrls = signurls
|
306
402
|
@RequestId = requestid
|
307
403
|
end
|
308
404
|
|
@@ -311,6 +407,10 @@ module TencentCloud
|
|
311
407
|
@QrCode = SignQrCode.new
|
312
408
|
@QrCode.deserialize(params['QrCode'])
|
313
409
|
end
|
410
|
+
unless params['SignUrls'].nil?
|
411
|
+
@SignUrls = SignUrl.new
|
412
|
+
@SignUrls.deserialize(params['SignUrls'])
|
413
|
+
end
|
314
414
|
@RequestId = params['RequestId']
|
315
415
|
end
|
316
416
|
end
|
@@ -1733,6 +1833,30 @@ module TencentCloud
|
|
1733
1833
|
end
|
1734
1834
|
end
|
1735
1835
|
|
1836
|
+
# 一码多扫签署二维码签署信息
|
1837
|
+
class SignUrl < TencentCloud::Common::AbstractModel
|
1838
|
+
# @param AppSignUrl: 小程序签署链接
|
1839
|
+
# @type AppSignUrl: String
|
1840
|
+
# @param EffectiveTime: 签署链接有效时间
|
1841
|
+
# @type EffectiveTime: String
|
1842
|
+
# @param HttpSignUrl: 移动端签署链接
|
1843
|
+
# @type HttpSignUrl: String
|
1844
|
+
|
1845
|
+
attr_accessor :AppSignUrl, :EffectiveTime, :HttpSignUrl
|
1846
|
+
|
1847
|
+
def initialize(appsignurl=nil, effectivetime=nil, httpsignurl=nil)
|
1848
|
+
@AppSignUrl = appsignurl
|
1849
|
+
@EffectiveTime = effectivetime
|
1850
|
+
@HttpSignUrl = httpsignurl
|
1851
|
+
end
|
1852
|
+
|
1853
|
+
def deserialize(params)
|
1854
|
+
@AppSignUrl = params['AppSignUrl']
|
1855
|
+
@EffectiveTime = params['EffectiveTime']
|
1856
|
+
@HttpSignUrl = params['HttpSignUrl']
|
1857
|
+
end
|
1858
|
+
end
|
1859
|
+
|
1736
1860
|
# 签署链接内容
|
1737
1861
|
class SignUrlInfo < TencentCloud::Common::AbstractModel
|
1738
1862
|
# @param SignUrl: 签署链接
|
@@ -2161,7 +2285,7 @@ module TencentCloud
|
|
2161
2285
|
|
2162
2286
|
# 接口调用者信息
|
2163
2287
|
class UserInfo < TencentCloud::Common::AbstractModel
|
2164
|
-
# @param OpenId:
|
2288
|
+
# @param OpenId: 用户在渠道的编号,最大64位字符串
|
2165
2289
|
# @type OpenId: String
|
2166
2290
|
# @param Channel: 用户的来源渠道
|
2167
2291
|
# @type Channel: String
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
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.379
|
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-08-
|
11
|
+
date: 2022-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
@@ -33,12 +33,12 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/VERSION
|
37
36
|
- lib/tencentcloud-sdk-essbasic.rb
|
38
|
-
- lib/v20201222/client.rb
|
39
|
-
- lib/v20201222/models.rb
|
40
|
-
- lib/v20210526/client.rb
|
41
37
|
- lib/v20210526/models.rb
|
38
|
+
- lib/v20210526/client.rb
|
39
|
+
- lib/v20201222/models.rb
|
40
|
+
- lib/v20201222/client.rb
|
41
|
+
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|
44
44
|
- Apache-2.0
|
@@ -51,17 +51,17 @@ require_paths:
|
|
51
51
|
- lib
|
52
52
|
required_ruby_version: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - '>='
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
requirements: []
|
63
63
|
rubyforge_project:
|
64
|
-
rubygems_version: 2.
|
64
|
+
rubygems_version: 2.0.14
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: Tencent Cloud SDK for Ruby - ESSBASIC
|