tencentcloud-sdk-ess 1.0.276 → 1.0.279

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201111/models.rb +27 -14
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba0f64ca4914c7c1e1397e216077e7f31343ef1a
4
- data.tar.gz: a389a351689c714bd4a77fa4988b7e676a6eaa4a
3
+ metadata.gz: 9068dc837db8e1bfa9a2ef1390aefc1d1759480f
4
+ data.tar.gz: 23c540b94d8684f02b475ad6ba47baca5dbb7be9
5
5
  SHA512:
6
- metadata.gz: 080ad173d6a341d6e1e72df2330c2855314966e0507742b40583c9e32aebaaf020f279d1557af0b50b5dc47d54b03ed1069817d5eddd65029c15b5ff16773e53
7
- data.tar.gz: 6bb4ca787e336462f256fa7ab2c86b0b4179ef08a6f470f4f6fa95350d659cab34d295fe5ef008691a10e51b4c55867df60feaedce36e01976adbdee4d1f6261
6
+ metadata.gz: 47492a9489f755c2358da6692d84d290f32ebc5300039ed209295611fd9ceec96b06826e9d07b6172cd487ae78b42509496c431fd797600d3a8b3c20f1d52c5a
7
+ data.tar.gz: ca6658b90787c3788d53d83209bd260d88f73b47c931468a8bbf522615ee0694341feb5d2c45d98e155ceaaee7dd7dd5808489c1e6893ffcaf70e88ec3f346e0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.276
1
+ 1.0.279
@@ -55,12 +55,7 @@ module TencentCloud
55
55
  # @type NotifyType: String
56
56
  # @param ApproverRole: 1--收款人、2--开具人、3--见证人
57
57
  # @type ApproverRole: Integer
58
- # @param VerifyChannel: 认证方式:
59
- # WEIXINAPP - 微信小程序;
60
- # VERIFYCODE - 验证码;
61
-
62
- # 可以选择多个, 按照顺序进行优先级选择
63
- # 注:使用验证码方式认证签署时,请传入["VERIFYCODE","WEIXINAPP"]
58
+ # @param VerifyChannel: 签署意愿确认渠道,WEIXINAPP:人脸识别
64
59
  # @type VerifyChannel: Array
65
60
  # @param PreReadTime: 合同的强制预览时间:3~300s,未指定则按合同页数计算
66
61
  # @type PreReadTime: Integer
@@ -270,10 +265,12 @@ module TencentCloud
270
265
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
271
266
  # @param ClientToken: 客户端Token,保持接口幂等性
272
267
  # @type ClientToken: String
268
+ # @param NeedPreview: 是否需要生成预览文件 默认不生成
269
+ # @type NeedPreview: Boolean
273
270
 
274
- attr_accessor :Operator, :TemplateId, :FlowId, :FileNames, :FormFields, :Agent, :ClientToken
271
+ attr_accessor :Operator, :TemplateId, :FlowId, :FileNames, :FormFields, :Agent, :ClientToken, :NeedPreview
275
272
 
276
- def initialize(operator=nil, templateid=nil, flowid=nil, filenames=nil, formfields=nil, agent=nil, clienttoken=nil)
273
+ def initialize(operator=nil, templateid=nil, flowid=nil, filenames=nil, formfields=nil, agent=nil, clienttoken=nil, needpreview=nil)
277
274
  @Operator = operator
278
275
  @TemplateId = templateid
279
276
  @FlowId = flowid
@@ -281,6 +278,7 @@ module TencentCloud
281
278
  @FormFields = formfields
282
279
  @Agent = agent
283
280
  @ClientToken = clienttoken
281
+ @NeedPreview = needpreview
284
282
  end
285
283
 
286
284
  def deserialize(params)
@@ -304,6 +302,7 @@ module TencentCloud
304
302
  @Agent.deserialize(params['Agent'])
305
303
  end
306
304
  @ClientToken = params['ClientToken']
305
+ @NeedPreview = params['NeedPreview']
307
306
  end
308
307
  end
309
308
 
@@ -311,18 +310,23 @@ module TencentCloud
311
310
  class CreateDocumentResponse < TencentCloud::Common::AbstractModel
312
311
  # @param DocumentId: 返回的电子文档ID
313
312
  # @type DocumentId: String
313
+ # @param PreviewFileUrl: 返回合同文件的预览地址 5分钟内有效。仅当NeedPreview为true 时返回
314
+ # 注意:此字段可能返回 null,表示取不到有效值。
315
+ # @type PreviewFileUrl: String
314
316
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
315
317
  # @type RequestId: String
316
318
 
317
- attr_accessor :DocumentId, :RequestId
319
+ attr_accessor :DocumentId, :PreviewFileUrl, :RequestId
318
320
 
319
- def initialize(documentid=nil, requestid=nil)
321
+ def initialize(documentid=nil, previewfileurl=nil, requestid=nil)
320
322
  @DocumentId = documentid
323
+ @PreviewFileUrl = previewfileurl
321
324
  @RequestId = requestid
322
325
  end
323
326
 
324
327
  def deserialize(params)
325
328
  @DocumentId = params['DocumentId']
329
+ @PreviewFileUrl = params['PreviewFileUrl']
326
330
  @RequestId = params['RequestId']
327
331
  end
328
332
  end
@@ -357,10 +361,12 @@ module TencentCloud
357
361
  # @type Components: Array
358
362
  # @param CcInfos: 被抄送人的信息列表
359
363
  # @type CcInfos: Array
364
+ # @param NeedPreview: 是否需要预览,true:预览模式,false:非预览(默认)
365
+ # @type NeedPreview: Boolean
360
366
 
361
- attr_accessor :Operator, :FlowName, :FileIds, :Approvers, :FlowDescription, :Unordered, :FlowType, :Deadline, :Agent, :Components, :CcInfos
367
+ attr_accessor :Operator, :FlowName, :FileIds, :Approvers, :FlowDescription, :Unordered, :FlowType, :Deadline, :Agent, :Components, :CcInfos, :NeedPreview
362
368
 
363
- def initialize(operator=nil, flowname=nil, fileids=nil, approvers=nil, flowdescription=nil, unordered=nil, flowtype=nil, deadline=nil, agent=nil, components=nil, ccinfos=nil)
369
+ def initialize(operator=nil, flowname=nil, fileids=nil, approvers=nil, flowdescription=nil, unordered=nil, flowtype=nil, deadline=nil, agent=nil, components=nil, ccinfos=nil, needpreview=nil)
364
370
  @Operator = operator
365
371
  @FlowName = flowname
366
372
  @FileIds = fileids
@@ -372,6 +378,7 @@ module TencentCloud
372
378
  @Agent = agent
373
379
  @Components = components
374
380
  @CcInfos = ccinfos
381
+ @NeedPreview = needpreview
375
382
  end
376
383
 
377
384
  def deserialize(params)
@@ -413,6 +420,7 @@ module TencentCloud
413
420
  @CcInfos << ccinfo_tmp
414
421
  end
415
422
  end
423
+ @NeedPreview = params['NeedPreview']
416
424
  end
417
425
  end
418
426
 
@@ -420,18 +428,23 @@ module TencentCloud
420
428
  class CreateFlowByFilesResponse < TencentCloud::Common::AbstractModel
421
429
  # @param FlowId: 流程编号
422
430
  # @type FlowId: String
431
+ # @param PreviewUrl: 合同预览链接
432
+ # 注意:此字段可能返回 null,表示取不到有效值。
433
+ # @type PreviewUrl: String
423
434
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
424
435
  # @type RequestId: String
425
436
 
426
- attr_accessor :FlowId, :RequestId
437
+ attr_accessor :FlowId, :PreviewUrl, :RequestId
427
438
 
428
- def initialize(flowid=nil, requestid=nil)
439
+ def initialize(flowid=nil, previewurl=nil, requestid=nil)
429
440
  @FlowId = flowid
441
+ @PreviewUrl = previewurl
430
442
  @RequestId = requestid
431
443
  end
432
444
 
433
445
  def deserialize(params)
434
446
  @FlowId = params['FlowId']
447
+ @PreviewUrl = params['PreviewUrl']
435
448
  @RequestId = params['RequestId']
436
449
  end
437
450
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ess
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.276
4
+ version: 1.0.279
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-03-15 00:00:00.000000000 Z
11
+ date: 2022-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common