tencentcloud-sdk-essbasic 1.0.330 → 1.0.331
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 +49 -0
- data/lib/v20210526/models.rb +146 -1
- 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: ae365b750081a7d9023a8ec6a4e563399c9bbd6c
|
4
|
+
data.tar.gz: a1e29ac5e466377139b83b4f99d6a36bb7e20b6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86a17a2e5c1f7237184e1cf3db175d6831f1bbe715fecb52c762cf585a7d316a53a6d127a1af29dfc991c216c2d86e3e3437e148ce5b7e6f1b0cfefe93bdaa52
|
7
|
+
data.tar.gz: 48db64a8b0cb05d6aa3b477b90e6754310315cad262277a2b48c3e0f4d492e9d05d2d87ba2e06508f652806e6db8aaa6f4a6033d7aa8ea8e02192c48855f840e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.331
|
data/lib/v20210526/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 此接口(ChannelCancelMultiFlowSignQRCode)用于取消一码多扫二维码。该接口对传入的二维码ID,若还在有效期内,可以提前失效。
|
33
|
+
|
34
|
+
# @param request: Request instance for ChannelCancelMultiFlowSignQRCode.
|
35
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCancelMultiFlowSignQRCodeRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCancelMultiFlowSignQRCodeResponse`
|
37
|
+
def ChannelCancelMultiFlowSignQRCode(request)
|
38
|
+
body = send_request('ChannelCancelMultiFlowSignQRCode', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = ChannelCancelMultiFlowSignQRCodeResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建流程。此接口不可直接使用,需要运营申请
|
33
57
|
|
34
58
|
# @param request: Request instance for ChannelCreateFlowByFiles.
|
@@ -53,6 +77,31 @@ module TencentCloud
|
|
53
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
78
|
end
|
55
79
|
|
80
|
+
# 此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
|
81
|
+
# 适用的模版仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模版,且模版中发起方没有填写控件。
|
82
|
+
|
83
|
+
# @param request: Request instance for ChannelCreateMultiFlowSignQRCode.
|
84
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateMultiFlowSignQRCodeRequest`
|
85
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateMultiFlowSignQRCodeResponse`
|
86
|
+
def ChannelCreateMultiFlowSignQRCode(request)
|
87
|
+
body = send_request('ChannelCreateMultiFlowSignQRCode', request.serialize)
|
88
|
+
response = JSON.parse(body)
|
89
|
+
if response['Response'].key?('Error') == false
|
90
|
+
model = ChannelCreateMultiFlowSignQRCodeResponse.new
|
91
|
+
model.deserialize(response['Response'])
|
92
|
+
model
|
93
|
+
else
|
94
|
+
code = response['Response']['Error']['Code']
|
95
|
+
message = response['Response']['Error']['Message']
|
96
|
+
reqid = response['Response']['RequestId']
|
97
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
98
|
+
end
|
99
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
100
|
+
raise e
|
101
|
+
rescue StandardError => e
|
102
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
103
|
+
end
|
104
|
+
|
56
105
|
# 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
|
57
106
|
|
58
107
|
# @param request: Request instance for CreateConsoleLoginUrl.
|
data/lib/v20210526/models.rb
CHANGED
@@ -88,6 +88,53 @@ module TencentCloud
|
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
+
# ChannelCancelMultiFlowSignQRCode请求参数结构体
|
92
|
+
class ChannelCancelMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
|
93
|
+
# @param Agent: 应用信息
|
94
|
+
# 此接口Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
|
95
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
96
|
+
# @param QrCodeId: 二维码id
|
97
|
+
# @type QrCodeId: String
|
98
|
+
# @param Operator: 用户信息
|
99
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
100
|
+
|
101
|
+
attr_accessor :Agent, :QrCodeId, :Operator
|
102
|
+
|
103
|
+
def initialize(agent=nil, qrcodeid=nil, operator=nil)
|
104
|
+
@Agent = agent
|
105
|
+
@QrCodeId = qrcodeid
|
106
|
+
@Operator = operator
|
107
|
+
end
|
108
|
+
|
109
|
+
def deserialize(params)
|
110
|
+
unless params['Agent'].nil?
|
111
|
+
@Agent = Agent.new
|
112
|
+
@Agent.deserialize(params['Agent'])
|
113
|
+
end
|
114
|
+
@QrCodeId = params['QrCodeId']
|
115
|
+
unless params['Operator'].nil?
|
116
|
+
@Operator = UserInfo.new
|
117
|
+
@Operator.deserialize(params['Operator'])
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
# ChannelCancelMultiFlowSignQRCode返回参数结构体
|
123
|
+
class ChannelCancelMultiFlowSignQRCodeResponse < TencentCloud::Common::AbstractModel
|
124
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
125
|
+
# @type RequestId: String
|
126
|
+
|
127
|
+
attr_accessor :RequestId
|
128
|
+
|
129
|
+
def initialize(requestid=nil)
|
130
|
+
@RequestId = requestid
|
131
|
+
end
|
132
|
+
|
133
|
+
def deserialize(params)
|
134
|
+
@RequestId = params['RequestId']
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
91
138
|
# ChannelCreateFlowByFiles请求参数结构体
|
92
139
|
class ChannelCreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
|
93
140
|
# @param Agent: 渠道应用相关信息
|
@@ -185,6 +232,80 @@ module TencentCloud
|
|
185
232
|
end
|
186
233
|
end
|
187
234
|
|
235
|
+
# ChannelCreateMultiFlowSignQRCode请求参数结构体
|
236
|
+
class ChannelCreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
|
237
|
+
# @param Agent: 应用信息
|
238
|
+
# 此接口Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
|
239
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
240
|
+
# @param TemplateId: 模版ID
|
241
|
+
# @type TemplateId: String
|
242
|
+
# @param FlowName: 合同名称
|
243
|
+
# @type FlowName: String
|
244
|
+
# @param Operator: 用户信息
|
245
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
246
|
+
# @param FlowEffectiveDay: 合同有效天数 默认7天 最高设置不超过30天
|
247
|
+
# @type FlowEffectiveDay: Integer
|
248
|
+
# @param QrEffectiveDay: 二维码有效天数 默认7天 最高设置不超过90天
|
249
|
+
# @type QrEffectiveDay: Integer
|
250
|
+
# @param MaxFlowNum: 最大合同份数,默认5份 超过此上限 二维码自动失效
|
251
|
+
# @type MaxFlowNum: Integer
|
252
|
+
# @param CallbackUrl: 回调地址
|
253
|
+
# @type CallbackUrl: String
|
254
|
+
|
255
|
+
attr_accessor :Agent, :TemplateId, :FlowName, :Operator, :FlowEffectiveDay, :QrEffectiveDay, :MaxFlowNum, :CallbackUrl
|
256
|
+
|
257
|
+
def initialize(agent=nil, templateid=nil, flowname=nil, operator=nil, floweffectiveday=nil, qreffectiveday=nil, maxflownum=nil, callbackurl=nil)
|
258
|
+
@Agent = agent
|
259
|
+
@TemplateId = templateid
|
260
|
+
@FlowName = flowname
|
261
|
+
@Operator = operator
|
262
|
+
@FlowEffectiveDay = floweffectiveday
|
263
|
+
@QrEffectiveDay = qreffectiveday
|
264
|
+
@MaxFlowNum = maxflownum
|
265
|
+
@CallbackUrl = callbackurl
|
266
|
+
end
|
267
|
+
|
268
|
+
def deserialize(params)
|
269
|
+
unless params['Agent'].nil?
|
270
|
+
@Agent = Agent.new
|
271
|
+
@Agent.deserialize(params['Agent'])
|
272
|
+
end
|
273
|
+
@TemplateId = params['TemplateId']
|
274
|
+
@FlowName = params['FlowName']
|
275
|
+
unless params['Operator'].nil?
|
276
|
+
@Operator = UserInfo.new
|
277
|
+
@Operator.deserialize(params['Operator'])
|
278
|
+
end
|
279
|
+
@FlowEffectiveDay = params['FlowEffectiveDay']
|
280
|
+
@QrEffectiveDay = params['QrEffectiveDay']
|
281
|
+
@MaxFlowNum = params['MaxFlowNum']
|
282
|
+
@CallbackUrl = params['CallbackUrl']
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
# ChannelCreateMultiFlowSignQRCode返回参数结构体
|
287
|
+
class ChannelCreateMultiFlowSignQRCodeResponse < TencentCloud::Common::AbstractModel
|
288
|
+
# @param QrCode: 签署二维码对象
|
289
|
+
# @type QrCode: :class:`Tencentcloud::Essbasic.v20210526.models.SignQrCode`
|
290
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
291
|
+
# @type RequestId: String
|
292
|
+
|
293
|
+
attr_accessor :QrCode, :RequestId
|
294
|
+
|
295
|
+
def initialize(qrcode=nil, requestid=nil)
|
296
|
+
@QrCode = qrcode
|
297
|
+
@RequestId = requestid
|
298
|
+
end
|
299
|
+
|
300
|
+
def deserialize(params)
|
301
|
+
unless params['QrCode'].nil?
|
302
|
+
@QrCode = SignQrCode.new
|
303
|
+
@QrCode.deserialize(params['QrCode'])
|
304
|
+
end
|
305
|
+
@RequestId = params['RequestId']
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
188
309
|
# 此结构体 (Component) 用于描述控件属性。
|
189
310
|
class Component < TencentCloud::Common::AbstractModel
|
190
311
|
# @param ComponentId: 控件编号
|
@@ -699,7 +820,7 @@ module TencentCloud
|
|
699
820
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
700
821
|
# @param TemplateId: 模板唯一标识
|
701
822
|
# @type TemplateId: String
|
702
|
-
# @param ContentType: 查询内容:0
|
823
|
+
# @param ContentType: 查询内容:0-模板列表及详情(默认),1-仅模板列表
|
703
824
|
# @type ContentType: Integer
|
704
825
|
# @param Limit: 查询个数,默认20,最大100
|
705
826
|
# @type Limit: Integer
|
@@ -1528,6 +1649,30 @@ module TencentCloud
|
|
1528
1649
|
end
|
1529
1650
|
end
|
1530
1651
|
|
1652
|
+
# 一码多扫签署二维码对象
|
1653
|
+
class SignQrCode < TencentCloud::Common::AbstractModel
|
1654
|
+
# @param QrCodeId: 二维码id
|
1655
|
+
# @type QrCodeId: String
|
1656
|
+
# @param QrCodeUrl: 二维码url
|
1657
|
+
# @type QrCodeUrl: String
|
1658
|
+
# @param ExpiredTime: 二维码过期时间
|
1659
|
+
# @type ExpiredTime: Integer
|
1660
|
+
|
1661
|
+
attr_accessor :QrCodeId, :QrCodeUrl, :ExpiredTime
|
1662
|
+
|
1663
|
+
def initialize(qrcodeid=nil, qrcodeurl=nil, expiredtime=nil)
|
1664
|
+
@QrCodeId = qrcodeid
|
1665
|
+
@QrCodeUrl = qrcodeurl
|
1666
|
+
@ExpiredTime = expiredtime
|
1667
|
+
end
|
1668
|
+
|
1669
|
+
def deserialize(params)
|
1670
|
+
@QrCodeId = params['QrCodeId']
|
1671
|
+
@QrCodeUrl = params['QrCodeUrl']
|
1672
|
+
@ExpiredTime = params['ExpiredTime']
|
1673
|
+
end
|
1674
|
+
end
|
1675
|
+
|
1531
1676
|
# 签署链接内容
|
1532
1677
|
class SignUrlInfo < TencentCloud::Common::AbstractModel
|
1533
1678
|
# @param SignUrl: 签署链接
|
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: 1.0.
|
4
|
+
version: 1.0.331
|
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-06-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|