tencentcloud-sdk-essbasic 1.0.364 → 3.0.381

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38924cf3535ec33e1acea2f8cfc69ff680c21fc0
4
- data.tar.gz: 3423cfa7378b71ce44bfeb27d4b8ee072b808037
3
+ metadata.gz: 777737cac8067f7d12b1c88ba1c9ad830f9b2afe
4
+ data.tar.gz: f04d4eacaaac070a6b6b4aa5a057fbe2c047f69d
5
5
  SHA512:
6
- metadata.gz: 8073401e0831031f843e85cff8002111dc36a05b4fadead6de7e65d920ca7f21b6c65bcb63ccb9760f7e6d4b255b2efe5f1f9ca32d475867631f915ba65095bc
7
- data.tar.gz: c7947051d6bad6054f3494f52aff7ba8b2c3c589d27a1ff12d7fe78dcbc992f0a049a310917195a3fc74f4b3499fe0cf3f0080c1580a1405500e3d4a6bd06312
6
+ metadata.gz: 68148b916d79c18d15cf0716af5b61bd736a2fba573572a16abf4a0d7df651b23f65e00c259c377727d1edbf0ce5519a26b699d77f6caac02e64ec660167a157
7
+ data.tar.gz: 5abf82d5c264d3f32b795fe20f8baeacbf389831801a66b23be45ddbf5e0c3f1ec1e7677beee9a80c54c425e083a2ef6ce36bf669c181b3d574b62768c5fc154
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.364
1
+ 3.0.381
@@ -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.
@@ -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: 腾讯电子签颁发给渠道侧合作企业的企业ID
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: 渠道应用相关信息
@@ -158,12 +244,14 @@ module TencentCloud
158
244
  # @type FlowDescription: String
159
245
  # @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
160
246
  # @type CustomShowMap: String
247
+ # @param CustomerData: 渠道的业务信息,最大长度1000个字符。发起自动签署时,需设置对应自动签署场景,目前仅支持场景:处方单-E_PRESCRIPTION_AUTO_SIGN
248
+ # @type CustomerData: String
161
249
  # @param Operator: 操作者的信息
162
250
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
163
251
 
164
- attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :Operator
252
+ attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :CustomerData, :Operator
165
253
 
166
- def initialize(agent=nil, flowname=nil, flowapprovers=nil, fileids=nil, components=nil, deadline=nil, callbackurl=nil, unordered=nil, flowtype=nil, flowdescription=nil, customshowmap=nil, operator=nil)
254
+ def initialize(agent=nil, flowname=nil, flowapprovers=nil, fileids=nil, components=nil, deadline=nil, callbackurl=nil, unordered=nil, flowtype=nil, flowdescription=nil, customshowmap=nil, customerdata=nil, operator=nil)
167
255
  @Agent = agent
168
256
  @FlowName = flowname
169
257
  @FlowApprovers = flowapprovers
@@ -175,6 +263,7 @@ module TencentCloud
175
263
  @FlowType = flowtype
176
264
  @FlowDescription = flowdescription
177
265
  @CustomShowMap = customshowmap
266
+ @CustomerData = customerdata
178
267
  @Operator = operator
179
268
  end
180
269
 
@@ -207,6 +296,7 @@ module TencentCloud
207
296
  @FlowType = params['FlowType']
208
297
  @FlowDescription = params['FlowDescription']
209
298
  @CustomShowMap = params['CustomShowMap']
299
+ @CustomerData = params['CustomerData']
210
300
  unless params['Operator'].nil?
211
301
  @Operator = UserInfo.new
212
302
  @Operator.deserialize(params['Operator'])
@@ -254,12 +344,14 @@ module TencentCloud
254
344
  # 不传默认使用渠道应用号配置的回调地址
255
345
  # 回调时机:用户通过签署二维码发起合同时,企业额度不足导致失败
256
346
  # @type CallbackUrl: String
347
+ # @param ApproverRestrictions: 限制二维码用户条件
348
+ # @type ApproverRestrictions: :class:`Tencentcloud::Essbasic.v20210526.models.ApproverRestriction`
257
349
  # @param Operator: 用户信息
258
350
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
259
351
 
260
- attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :CallbackUrl, :Operator
352
+ attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :CallbackUrl, :ApproverRestrictions, :Operator
261
353
 
262
- 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)
263
355
  @Agent = agent
264
356
  @TemplateId = templateid
265
357
  @FlowName = flowname
@@ -267,6 +359,7 @@ module TencentCloud
267
359
  @FlowEffectiveDay = floweffectiveday
268
360
  @QrEffectiveDay = qreffectiveday
269
361
  @CallbackUrl = callbackurl
362
+ @ApproverRestrictions = approverrestrictions
270
363
  @Operator = operator
271
364
  end
272
365
 
@@ -281,6 +374,10 @@ module TencentCloud
281
374
  @FlowEffectiveDay = params['FlowEffectiveDay']
282
375
  @QrEffectiveDay = params['QrEffectiveDay']
283
376
  @CallbackUrl = params['CallbackUrl']
377
+ unless params['ApproverRestrictions'].nil?
378
+ @ApproverRestrictions = ApproverRestriction.new
379
+ @ApproverRestrictions.deserialize(params['ApproverRestrictions'])
380
+ end
284
381
  unless params['Operator'].nil?
285
382
  @Operator = UserInfo.new
286
383
  @Operator.deserialize(params['Operator'])
@@ -292,13 +389,16 @@ module TencentCloud
292
389
  class ChannelCreateMultiFlowSignQRCodeResponse < TencentCloud::Common::AbstractModel
293
390
  # @param QrCode: 签署二维码对象
294
391
  # @type QrCode: :class:`Tencentcloud::Essbasic.v20210526.models.SignQrCode`
392
+ # @param SignUrls: 签署链接对象
393
+ # @type SignUrls: :class:`Tencentcloud::Essbasic.v20210526.models.SignUrl`
295
394
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
296
395
  # @type RequestId: String
297
396
 
298
- attr_accessor :QrCode, :RequestId
397
+ attr_accessor :QrCode, :SignUrls, :RequestId
299
398
 
300
- def initialize(qrcode=nil, requestid=nil)
399
+ def initialize(qrcode=nil, signurls=nil, requestid=nil)
301
400
  @QrCode = qrcode
401
+ @SignUrls = signurls
302
402
  @RequestId = requestid
303
403
  end
304
404
 
@@ -307,6 +407,10 @@ module TencentCloud
307
407
  @QrCode = SignQrCode.new
308
408
  @QrCode.deserialize(params['QrCode'])
309
409
  end
410
+ unless params['SignUrls'].nil?
411
+ @SignUrls = SignUrl.new
412
+ @SignUrls.deserialize(params['SignUrls'])
413
+ end
310
414
  @RequestId = params['RequestId']
311
415
  end
312
416
  end
@@ -327,6 +431,7 @@ module TencentCloud
327
431
  # @param ComponentType: 如果是Component控件类型,则可选的字段为:
328
432
  # TEXT - 普通文本控件;
329
433
  # DATE - 普通日期控件;跟TEXT相比会有校验逻辑
434
+ # DYNAMIC_TABLE-动态表格控件;
330
435
  # 如果是SignComponent控件类型,则可选的字段为
331
436
  # SIGN_SEAL - 签署印章控件;
332
437
  # SIGN_DATE - 签署日期控件;
@@ -1251,6 +1356,65 @@ module TencentCloud
1251
1356
  end
1252
1357
 
1253
1358
  # 此结构体 (FlowInfo) 用于描述签署流程信息。
1359
+
1360
+ # 【动态表格传参说明】
1361
+ # 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充动态表格(支持内容的单元格合并)
1362
+ # 输入示例
1363
+
1364
+ # ```
1365
+ # {
1366
+ # "headers":[
1367
+ # {
1368
+ # "content":"head1"
1369
+ # },
1370
+ # {
1371
+ # "content":"head2"
1372
+ # },
1373
+ # {
1374
+ # "content":"head3"
1375
+ # }
1376
+ # ],
1377
+ # "rowCount":3,
1378
+ # "body":{
1379
+ # "cells":[
1380
+ # {
1381
+ # "rowStart":1,
1382
+ # "rowEnd":1,
1383
+ # "columnStart":1,
1384
+ # "columnEnd":1,
1385
+ # "content":"123"
1386
+ # },
1387
+ # {
1388
+ # "rowStart":2,
1389
+ # "rowEnd":3,
1390
+ # "columnStart":1,
1391
+ # "columnEnd":2,
1392
+ # "content":"456"
1393
+ # },
1394
+ # {
1395
+ # "rowStart":3,
1396
+ # "rowEnd":3,
1397
+ # "columnStart":3,
1398
+ # "columnEnd":3,
1399
+ # "content":"789"
1400
+ # }
1401
+ # ]
1402
+ # }
1403
+ # }
1404
+
1405
+ # ```
1406
+
1407
+ # 表格参数说明
1408
+
1409
+ # | 名称 | 类型 | 描述 |
1410
+ # | ------------------- | ------- | ------------------------------------------------- |
1411
+ # | headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
1412
+ # | rowCount | Integer | 表格内容最大行数 |
1413
+ # | cells.N.rowStart | Integer | 单元格坐标:行起始index |
1414
+ # | cells.N.rowEnd | Integer | 单元格坐标:行结束index |
1415
+ # | cells.N.columnStart | Integer | 单元格坐标:列起始index |
1416
+ # | cells.N.columnEnd | Integer | 单元格坐标:列结束index |
1417
+ # | cells.N.content | String | 单元格内容,字数不超过100 |
1254
1418
  class FlowInfo < TencentCloud::Common::AbstractModel
1255
1419
  # @param FlowName: 合同名字,最大长度200个字符
1256
1420
  # @type FlowName: String
@@ -1729,6 +1893,30 @@ module TencentCloud
1729
1893
  end
1730
1894
  end
1731
1895
 
1896
+ # 一码多扫签署二维码签署信息
1897
+ class SignUrl < TencentCloud::Common::AbstractModel
1898
+ # @param AppSignUrl: 小程序签署链接
1899
+ # @type AppSignUrl: String
1900
+ # @param EffectiveTime: 签署链接有效时间
1901
+ # @type EffectiveTime: String
1902
+ # @param HttpSignUrl: 移动端签署链接
1903
+ # @type HttpSignUrl: String
1904
+
1905
+ attr_accessor :AppSignUrl, :EffectiveTime, :HttpSignUrl
1906
+
1907
+ def initialize(appsignurl=nil, effectivetime=nil, httpsignurl=nil)
1908
+ @AppSignUrl = appsignurl
1909
+ @EffectiveTime = effectivetime
1910
+ @HttpSignUrl = httpsignurl
1911
+ end
1912
+
1913
+ def deserialize(params)
1914
+ @AppSignUrl = params['AppSignUrl']
1915
+ @EffectiveTime = params['EffectiveTime']
1916
+ @HttpSignUrl = params['HttpSignUrl']
1917
+ end
1918
+ end
1919
+
1732
1920
  # 签署链接内容
1733
1921
  class SignUrlInfo < TencentCloud::Common::AbstractModel
1734
1922
  # @param SignUrl: 签署链接
@@ -2157,7 +2345,7 @@ module TencentCloud
2157
2345
 
2158
2346
  # 接口调用者信息
2159
2347
  class UserInfo < TencentCloud::Common::AbstractModel
2160
- # @param OpenId: 用户在渠道的编号
2348
+ # @param OpenId: 用户在渠道的编号,最大64位字符串
2161
2349
  # @type OpenId: String
2162
2350
  # @param Channel: 用户的来源渠道
2163
2351
  # @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: 1.0.364
4
+ version: 3.0.381
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-07-27 00:00:00.000000000 Z
11
+ date: 2022-08-05 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.6.14
64
+ rubygems_version: 2.0.14
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Tencent Cloud SDK for Ruby - ESSBASIC