tencentcloud-sdk-essbasic 3.0.371 → 3.0.382
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 +73 -0
- data/lib/v20210526/models.rb +378 -12
- 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: 2a50feae1d6e2a7fd1edee88c85875445e816c19
|
|
4
|
+
data.tar.gz: f5c63849f9c440ddf37d51a41f041b0d44c72f3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39a955ea4e3c2f9a233d4c6519900f3e09c45bc7473e20ce0001d186f83713e312d3009830c8b467ec75e172c196da22caa8b715c9771f603b88707dc82233d2
|
|
7
|
+
data.tar.gz: 06ab6d5c9e8f0cce90528b6d4056df3c7d419006483e39d10c88eae4de768214abad9c254c7aeecbf068fe309f6d2a50e143b4ede633ed877cd2bc4c9a7a07e7
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.382
|
data/lib/v20210526/client.rb
CHANGED
|
@@ -53,6 +53,55 @@ 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
|
+
|
|
81
|
+
# 渠道创建文件转换任务
|
|
82
|
+
|
|
83
|
+
# @param request: Request instance for ChannelCreateConvertTaskApi.
|
|
84
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateConvertTaskApiRequest`
|
|
85
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateConvertTaskApiResponse`
|
|
86
|
+
def ChannelCreateConvertTaskApi(request)
|
|
87
|
+
body = send_request('ChannelCreateConvertTaskApi', request.serialize)
|
|
88
|
+
response = JSON.parse(body)
|
|
89
|
+
if response['Response'].key?('Error') == false
|
|
90
|
+
model = ChannelCreateConvertTaskApiResponse.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
|
# 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建签署流程。此接口不可直接使用,需要运营申请
|
|
57
106
|
|
|
58
107
|
# @param request: Request instance for ChannelCreateFlowByFiles.
|
|
@@ -102,6 +151,30 @@ module TencentCloud
|
|
|
102
151
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
103
152
|
end
|
|
104
153
|
|
|
154
|
+
# 渠道版查询转换任务状态
|
|
155
|
+
|
|
156
|
+
# @param request: Request instance for ChannelGetTaskResultApi.
|
|
157
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelGetTaskResultApiRequest`
|
|
158
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelGetTaskResultApiResponse`
|
|
159
|
+
def ChannelGetTaskResultApi(request)
|
|
160
|
+
body = send_request('ChannelGetTaskResultApi', request.serialize)
|
|
161
|
+
response = JSON.parse(body)
|
|
162
|
+
if response['Response'].key?('Error') == false
|
|
163
|
+
model = ChannelGetTaskResultApiResponse.new
|
|
164
|
+
model.deserialize(response['Response'])
|
|
165
|
+
model
|
|
166
|
+
else
|
|
167
|
+
code = response['Response']['Error']['Code']
|
|
168
|
+
message = response['Response']['Error']['Message']
|
|
169
|
+
reqid = response['Response']['RequestId']
|
|
170
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
171
|
+
end
|
|
172
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
173
|
+
raise e
|
|
174
|
+
rescue StandardError => e
|
|
175
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
176
|
+
end
|
|
177
|
+
|
|
105
178
|
# 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
|
|
106
179
|
|
|
107
180
|
# @param request: Request instance for CreateConsoleLoginUrl.
|
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,129 @@ 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
|
+
|
|
223
|
+
# ChannelCreateConvertTaskApi请求参数结构体
|
|
224
|
+
class ChannelCreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
|
|
225
|
+
# @param Agent: 无
|
|
226
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
|
227
|
+
# @param ResourceId: 资源Id
|
|
228
|
+
# @type ResourceId: String
|
|
229
|
+
# @param ResourceType: 资源类型 取值范围doc,docx,html之一
|
|
230
|
+
# @type ResourceType: String
|
|
231
|
+
# @param ResourceName: 资源名称
|
|
232
|
+
# @type ResourceName: String
|
|
233
|
+
# @param Organization: 无
|
|
234
|
+
# @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
|
|
235
|
+
# @param Operator: 无
|
|
236
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
|
237
|
+
|
|
238
|
+
attr_accessor :Agent, :ResourceId, :ResourceType, :ResourceName, :Organization, :Operator
|
|
239
|
+
|
|
240
|
+
def initialize(agent=nil, resourceid=nil, resourcetype=nil, resourcename=nil, organization=nil, operator=nil)
|
|
241
|
+
@Agent = agent
|
|
242
|
+
@ResourceId = resourceid
|
|
243
|
+
@ResourceType = resourcetype
|
|
244
|
+
@ResourceName = resourcename
|
|
245
|
+
@Organization = organization
|
|
246
|
+
@Operator = operator
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
def deserialize(params)
|
|
250
|
+
unless params['Agent'].nil?
|
|
251
|
+
@Agent = Agent.new
|
|
252
|
+
@Agent.deserialize(params['Agent'])
|
|
253
|
+
end
|
|
254
|
+
@ResourceId = params['ResourceId']
|
|
255
|
+
@ResourceType = params['ResourceType']
|
|
256
|
+
@ResourceName = params['ResourceName']
|
|
257
|
+
unless params['Organization'].nil?
|
|
258
|
+
@Organization = OrganizationInfo.new
|
|
259
|
+
@Organization.deserialize(params['Organization'])
|
|
260
|
+
end
|
|
261
|
+
unless params['Operator'].nil?
|
|
262
|
+
@Operator = UserInfo.new
|
|
263
|
+
@Operator.deserialize(params['Operator'])
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
# ChannelCreateConvertTaskApi返回参数结构体
|
|
269
|
+
class ChannelCreateConvertTaskApiResponse < TencentCloud::Common::AbstractModel
|
|
270
|
+
# @param TaskId: 任务id
|
|
271
|
+
# @type TaskId: String
|
|
272
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
273
|
+
# @type RequestId: String
|
|
274
|
+
|
|
275
|
+
attr_accessor :TaskId, :RequestId
|
|
276
|
+
|
|
277
|
+
def initialize(taskid=nil, requestid=nil)
|
|
278
|
+
@TaskId = taskid
|
|
279
|
+
@RequestId = requestid
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
def deserialize(params)
|
|
283
|
+
@TaskId = params['TaskId']
|
|
284
|
+
@RequestId = params['RequestId']
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
|
|
137
288
|
# ChannelCreateFlowByFiles请求参数结构体
|
|
138
289
|
class ChannelCreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
|
|
139
290
|
# @param Agent: 渠道应用相关信息
|
|
@@ -258,12 +409,14 @@ module TencentCloud
|
|
|
258
409
|
# 不传默认使用渠道应用号配置的回调地址
|
|
259
410
|
# 回调时机:用户通过签署二维码发起合同时,企业额度不足导致失败
|
|
260
411
|
# @type CallbackUrl: String
|
|
412
|
+
# @param ApproverRestrictions: 限制二维码用户条件
|
|
413
|
+
# @type ApproverRestrictions: :class:`Tencentcloud::Essbasic.v20210526.models.ApproverRestriction`
|
|
261
414
|
# @param Operator: 用户信息
|
|
262
415
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
|
263
416
|
|
|
264
|
-
attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :CallbackUrl, :Operator
|
|
417
|
+
attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :CallbackUrl, :ApproverRestrictions, :Operator
|
|
265
418
|
|
|
266
|
-
def initialize(agent=nil, templateid=nil, flowname=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, callbackurl=nil, operator=nil)
|
|
419
|
+
def initialize(agent=nil, templateid=nil, flowname=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, callbackurl=nil, approverrestrictions=nil, operator=nil)
|
|
267
420
|
@Agent = agent
|
|
268
421
|
@TemplateId = templateid
|
|
269
422
|
@FlowName = flowname
|
|
@@ -271,6 +424,7 @@ module TencentCloud
|
|
|
271
424
|
@FlowEffectiveDay = floweffectiveday
|
|
272
425
|
@QrEffectiveDay = qreffectiveday
|
|
273
426
|
@CallbackUrl = callbackurl
|
|
427
|
+
@ApproverRestrictions = approverrestrictions
|
|
274
428
|
@Operator = operator
|
|
275
429
|
end
|
|
276
430
|
|
|
@@ -285,6 +439,10 @@ module TencentCloud
|
|
|
285
439
|
@FlowEffectiveDay = params['FlowEffectiveDay']
|
|
286
440
|
@QrEffectiveDay = params['QrEffectiveDay']
|
|
287
441
|
@CallbackUrl = params['CallbackUrl']
|
|
442
|
+
unless params['ApproverRestrictions'].nil?
|
|
443
|
+
@ApproverRestrictions = ApproverRestriction.new
|
|
444
|
+
@ApproverRestrictions.deserialize(params['ApproverRestrictions'])
|
|
445
|
+
end
|
|
288
446
|
unless params['Operator'].nil?
|
|
289
447
|
@Operator = UserInfo.new
|
|
290
448
|
@Operator.deserialize(params['Operator'])
|
|
@@ -296,13 +454,16 @@ module TencentCloud
|
|
|
296
454
|
class ChannelCreateMultiFlowSignQRCodeResponse < TencentCloud::Common::AbstractModel
|
|
297
455
|
# @param QrCode: 签署二维码对象
|
|
298
456
|
# @type QrCode: :class:`Tencentcloud::Essbasic.v20210526.models.SignQrCode`
|
|
457
|
+
# @param SignUrls: 签署链接对象
|
|
458
|
+
# @type SignUrls: :class:`Tencentcloud::Essbasic.v20210526.models.SignUrl`
|
|
299
459
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
300
460
|
# @type RequestId: String
|
|
301
461
|
|
|
302
|
-
attr_accessor :QrCode, :RequestId
|
|
462
|
+
attr_accessor :QrCode, :SignUrls, :RequestId
|
|
303
463
|
|
|
304
|
-
def initialize(qrcode=nil, requestid=nil)
|
|
464
|
+
def initialize(qrcode=nil, signurls=nil, requestid=nil)
|
|
305
465
|
@QrCode = qrcode
|
|
466
|
+
@SignUrls = signurls
|
|
306
467
|
@RequestId = requestid
|
|
307
468
|
end
|
|
308
469
|
|
|
@@ -311,6 +472,79 @@ module TencentCloud
|
|
|
311
472
|
@QrCode = SignQrCode.new
|
|
312
473
|
@QrCode.deserialize(params['QrCode'])
|
|
313
474
|
end
|
|
475
|
+
unless params['SignUrls'].nil?
|
|
476
|
+
@SignUrls = SignUrl.new
|
|
477
|
+
@SignUrls.deserialize(params['SignUrls'])
|
|
478
|
+
end
|
|
479
|
+
@RequestId = params['RequestId']
|
|
480
|
+
end
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# ChannelGetTaskResultApi请求参数结构体
|
|
484
|
+
class ChannelGetTaskResultApiRequest < TencentCloud::Common::AbstractModel
|
|
485
|
+
# @param Agent: 渠道信息
|
|
486
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
|
487
|
+
# @param TaskId: 任务Id
|
|
488
|
+
# @type TaskId: String
|
|
489
|
+
# @param Organization: 企业信息
|
|
490
|
+
# @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
|
|
491
|
+
# @param Operator: 操作人信息
|
|
492
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
|
493
|
+
|
|
494
|
+
attr_accessor :Agent, :TaskId, :Organization, :Operator
|
|
495
|
+
|
|
496
|
+
def initialize(agent=nil, taskid=nil, organization=nil, operator=nil)
|
|
497
|
+
@Agent = agent
|
|
498
|
+
@TaskId = taskid
|
|
499
|
+
@Organization = organization
|
|
500
|
+
@Operator = operator
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
def deserialize(params)
|
|
504
|
+
unless params['Agent'].nil?
|
|
505
|
+
@Agent = Agent.new
|
|
506
|
+
@Agent.deserialize(params['Agent'])
|
|
507
|
+
end
|
|
508
|
+
@TaskId = params['TaskId']
|
|
509
|
+
unless params['Organization'].nil?
|
|
510
|
+
@Organization = OrganizationInfo.new
|
|
511
|
+
@Organization.deserialize(params['Organization'])
|
|
512
|
+
end
|
|
513
|
+
unless params['Operator'].nil?
|
|
514
|
+
@Operator = UserInfo.new
|
|
515
|
+
@Operator.deserialize(params['Operator'])
|
|
516
|
+
end
|
|
517
|
+
end
|
|
518
|
+
end
|
|
519
|
+
|
|
520
|
+
# ChannelGetTaskResultApi返回参数结构体
|
|
521
|
+
class ChannelGetTaskResultApiResponse < TencentCloud::Common::AbstractModel
|
|
522
|
+
# @param TaskId: 任务Id
|
|
523
|
+
# @type TaskId: String
|
|
524
|
+
# @param TaskStatus: 任务状态
|
|
525
|
+
# @type TaskStatus: Integer
|
|
526
|
+
# @param TaskMessage: 状态描述
|
|
527
|
+
# @type TaskMessage: String
|
|
528
|
+
# @param ResourceId: 资源Id
|
|
529
|
+
# @type ResourceId: String
|
|
530
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
531
|
+
# @type RequestId: String
|
|
532
|
+
|
|
533
|
+
attr_accessor :TaskId, :TaskStatus, :TaskMessage, :ResourceId, :RequestId
|
|
534
|
+
|
|
535
|
+
def initialize(taskid=nil, taskstatus=nil, taskmessage=nil, resourceid=nil, requestid=nil)
|
|
536
|
+
@TaskId = taskid
|
|
537
|
+
@TaskStatus = taskstatus
|
|
538
|
+
@TaskMessage = taskmessage
|
|
539
|
+
@ResourceId = resourceid
|
|
540
|
+
@RequestId = requestid
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
def deserialize(params)
|
|
544
|
+
@TaskId = params['TaskId']
|
|
545
|
+
@TaskStatus = params['TaskStatus']
|
|
546
|
+
@TaskMessage = params['TaskMessage']
|
|
547
|
+
@ResourceId = params['ResourceId']
|
|
314
548
|
@RequestId = params['RequestId']
|
|
315
549
|
end
|
|
316
550
|
end
|
|
@@ -330,12 +564,18 @@ module TencentCloud
|
|
|
330
564
|
# @type ComponentId: String
|
|
331
565
|
# @param ComponentType: 如果是Component控件类型,则可选的字段为:
|
|
332
566
|
# TEXT - 普通文本控件;
|
|
333
|
-
#
|
|
567
|
+
# MULTI_LINE_TEXT - 多行文本控件;
|
|
568
|
+
# CHECK_BOX - 勾选框控件;
|
|
569
|
+
# FILL_IMAGE - 图片控件;
|
|
570
|
+
# DYNAMIC_TABLE - 动态表格控件;
|
|
571
|
+
# ATTACHMENT - 附件控件;
|
|
572
|
+
# SELECTOR - 选择器控件;
|
|
573
|
+
|
|
334
574
|
# 如果是SignComponent控件类型,则可选的字段为
|
|
335
575
|
# SIGN_SEAL - 签署印章控件;
|
|
336
576
|
# SIGN_DATE - 签署日期控件;
|
|
337
577
|
# SIGN_SIGNATURE - 用户签名控件;
|
|
338
|
-
# SIGN_PERSONAL_SEAL -
|
|
578
|
+
# SIGN_PERSONAL_SEAL - 个人签署印章控件(使用文件发起暂不支持此类型);
|
|
339
579
|
|
|
340
580
|
# 表单域的控件不能作为印章和签名控件
|
|
341
581
|
# @type ComponentType: String
|
|
@@ -367,8 +607,13 @@ module TencentCloud
|
|
|
367
607
|
# TEXT控件可以指定字体
|
|
368
608
|
# 例如:{"FontSize":12}
|
|
369
609
|
# @type ComponentExtra: String
|
|
370
|
-
# @param ComponentValue:
|
|
371
|
-
#
|
|
610
|
+
# @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
|
611
|
+
# TEXT - 文本内容
|
|
612
|
+
# MULTI_LINE_TEXT - 文本内容
|
|
613
|
+
# CHECK_BOX - true/false
|
|
614
|
+
# FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
|
615
|
+
# SELECTOR - 选项值
|
|
616
|
+
# DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
|
|
372
617
|
# @type ComponentValue: String
|
|
373
618
|
# @param ComponentDateFontSize: 日期签署控件的字号,默认为 12
|
|
374
619
|
|
|
@@ -1255,6 +1500,65 @@ module TencentCloud
|
|
|
1255
1500
|
end
|
|
1256
1501
|
|
|
1257
1502
|
# 此结构体 (FlowInfo) 用于描述签署流程信息。
|
|
1503
|
+
|
|
1504
|
+
# 【动态表格传参说明】
|
|
1505
|
+
# 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充动态表格(支持内容的单元格合并)
|
|
1506
|
+
# 输入示例
|
|
1507
|
+
|
|
1508
|
+
# ```
|
|
1509
|
+
# {
|
|
1510
|
+
# "headers":[
|
|
1511
|
+
# {
|
|
1512
|
+
# "content":"head1"
|
|
1513
|
+
# },
|
|
1514
|
+
# {
|
|
1515
|
+
# "content":"head2"
|
|
1516
|
+
# },
|
|
1517
|
+
# {
|
|
1518
|
+
# "content":"head3"
|
|
1519
|
+
# }
|
|
1520
|
+
# ],
|
|
1521
|
+
# "rowCount":3,
|
|
1522
|
+
# "body":{
|
|
1523
|
+
# "cells":[
|
|
1524
|
+
# {
|
|
1525
|
+
# "rowStart":1,
|
|
1526
|
+
# "rowEnd":1,
|
|
1527
|
+
# "columnStart":1,
|
|
1528
|
+
# "columnEnd":1,
|
|
1529
|
+
# "content":"123"
|
|
1530
|
+
# },
|
|
1531
|
+
# {
|
|
1532
|
+
# "rowStart":2,
|
|
1533
|
+
# "rowEnd":3,
|
|
1534
|
+
# "columnStart":1,
|
|
1535
|
+
# "columnEnd":2,
|
|
1536
|
+
# "content":"456"
|
|
1537
|
+
# },
|
|
1538
|
+
# {
|
|
1539
|
+
# "rowStart":3,
|
|
1540
|
+
# "rowEnd":3,
|
|
1541
|
+
# "columnStart":3,
|
|
1542
|
+
# "columnEnd":3,
|
|
1543
|
+
# "content":"789"
|
|
1544
|
+
# }
|
|
1545
|
+
# ]
|
|
1546
|
+
# }
|
|
1547
|
+
# }
|
|
1548
|
+
|
|
1549
|
+
# ```
|
|
1550
|
+
|
|
1551
|
+
# 表格参数说明
|
|
1552
|
+
|
|
1553
|
+
# | 名称 | 类型 | 描述 |
|
|
1554
|
+
# | ------------------- | ------- | ------------------------------------------------- |
|
|
1555
|
+
# | headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
|
|
1556
|
+
# | rowCount | Integer | 表格内容最大行数 |
|
|
1557
|
+
# | cells.N.rowStart | Integer | 单元格坐标:行起始index |
|
|
1558
|
+
# | cells.N.rowEnd | Integer | 单元格坐标:行结束index |
|
|
1559
|
+
# | cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
|
1560
|
+
# | cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
|
1561
|
+
# | cells.N.content | String | 单元格内容,字数不超过100 |
|
|
1258
1562
|
class FlowInfo < TencentCloud::Common::AbstractModel
|
|
1259
1563
|
# @param FlowName: 合同名字,最大长度200个字符
|
|
1260
1564
|
# @type FlowName: String
|
|
@@ -1362,7 +1666,13 @@ module TencentCloud
|
|
|
1362
1666
|
|
|
1363
1667
|
# 此结构 (FormField) 用于描述内容控件填充结构。
|
|
1364
1668
|
class FormField < TencentCloud::Common::AbstractModel
|
|
1365
|
-
# @param ComponentValue:
|
|
1669
|
+
# @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
|
1670
|
+
# TEXT - 文本内容
|
|
1671
|
+
# MULTI_LINE_TEXT - 文本内容
|
|
1672
|
+
# CHECK_BOX - true/false
|
|
1673
|
+
# FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
|
1674
|
+
# SELECTOR - 选项值
|
|
1675
|
+
# DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
|
|
1366
1676
|
# @type ComponentValue: String
|
|
1367
1677
|
# @param ComponentId: 表单域或控件的ID,跟ComponentName二选一,不能全为空
|
|
1368
1678
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -1538,6 +1848,38 @@ module TencentCloud
|
|
|
1538
1848
|
end
|
|
1539
1849
|
end
|
|
1540
1850
|
|
|
1851
|
+
# 机构信息
|
|
1852
|
+
class OrganizationInfo < TencentCloud::Common::AbstractModel
|
|
1853
|
+
# @param OrganizationOpenId: 用户在渠道的机构编号
|
|
1854
|
+
# @type OrganizationOpenId: String
|
|
1855
|
+
# @param ClientIp: 用户真实的IP
|
|
1856
|
+
# @type ClientIp: String
|
|
1857
|
+
# @param ProxyIp: 机构的代理IP
|
|
1858
|
+
# @type ProxyIp: String
|
|
1859
|
+
# @param OrganizationId: 机构在平台的编号
|
|
1860
|
+
# @type OrganizationId: String
|
|
1861
|
+
# @param Channel: 用户渠道
|
|
1862
|
+
# @type Channel: String
|
|
1863
|
+
|
|
1864
|
+
attr_accessor :OrganizationOpenId, :ClientIp, :ProxyIp, :OrganizationId, :Channel
|
|
1865
|
+
|
|
1866
|
+
def initialize(organizationopenid=nil, clientip=nil, proxyip=nil, organizationid=nil, channel=nil)
|
|
1867
|
+
@OrganizationOpenId = organizationopenid
|
|
1868
|
+
@ClientIp = clientip
|
|
1869
|
+
@ProxyIp = proxyip
|
|
1870
|
+
@OrganizationId = organizationid
|
|
1871
|
+
@Channel = channel
|
|
1872
|
+
end
|
|
1873
|
+
|
|
1874
|
+
def deserialize(params)
|
|
1875
|
+
@OrganizationOpenId = params['OrganizationOpenId']
|
|
1876
|
+
@ClientIp = params['ClientIp']
|
|
1877
|
+
@ProxyIp = params['ProxyIp']
|
|
1878
|
+
@OrganizationId = params['OrganizationId']
|
|
1879
|
+
@Channel = params['Channel']
|
|
1880
|
+
end
|
|
1881
|
+
end
|
|
1882
|
+
|
|
1541
1883
|
# PrepareFlows请求参数结构体
|
|
1542
1884
|
class PrepareFlowsRequest < TencentCloud::Common::AbstractModel
|
|
1543
1885
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
|
@@ -1733,6 +2075,30 @@ module TencentCloud
|
|
|
1733
2075
|
end
|
|
1734
2076
|
end
|
|
1735
2077
|
|
|
2078
|
+
# 一码多扫签署二维码签署信息
|
|
2079
|
+
class SignUrl < TencentCloud::Common::AbstractModel
|
|
2080
|
+
# @param AppSignUrl: 小程序签署链接
|
|
2081
|
+
# @type AppSignUrl: String
|
|
2082
|
+
# @param EffectiveTime: 签署链接有效时间
|
|
2083
|
+
# @type EffectiveTime: String
|
|
2084
|
+
# @param HttpSignUrl: 移动端签署链接
|
|
2085
|
+
# @type HttpSignUrl: String
|
|
2086
|
+
|
|
2087
|
+
attr_accessor :AppSignUrl, :EffectiveTime, :HttpSignUrl
|
|
2088
|
+
|
|
2089
|
+
def initialize(appsignurl=nil, effectivetime=nil, httpsignurl=nil)
|
|
2090
|
+
@AppSignUrl = appsignurl
|
|
2091
|
+
@EffectiveTime = effectivetime
|
|
2092
|
+
@HttpSignUrl = httpsignurl
|
|
2093
|
+
end
|
|
2094
|
+
|
|
2095
|
+
def deserialize(params)
|
|
2096
|
+
@AppSignUrl = params['AppSignUrl']
|
|
2097
|
+
@EffectiveTime = params['EffectiveTime']
|
|
2098
|
+
@HttpSignUrl = params['HttpSignUrl']
|
|
2099
|
+
end
|
|
2100
|
+
end
|
|
2101
|
+
|
|
1736
2102
|
# 签署链接内容
|
|
1737
2103
|
class SignUrlInfo < TencentCloud::Common::AbstractModel
|
|
1738
2104
|
# @param SignUrl: 签署链接
|
|
@@ -2161,7 +2527,7 @@ module TencentCloud
|
|
|
2161
2527
|
|
|
2162
2528
|
# 接口调用者信息
|
|
2163
2529
|
class UserInfo < TencentCloud::Common::AbstractModel
|
|
2164
|
-
# @param OpenId:
|
|
2530
|
+
# @param OpenId: 用户在渠道的编号,最大64位字符串
|
|
2165
2531
|
# @type OpenId: String
|
|
2166
2532
|
# @param Channel: 用户的来源渠道
|
|
2167
2533
|
# @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.382
|
|
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-08 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
|