tencentcloud-sdk-ess 1.0.276 → 1.0.277

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201111/models.rb +26 -8
  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: 0472a0532507c1a8e062426de6f4d4edcf26af55
4
+ data.tar.gz: 8c392e3fcb34ae7272111d4e91c2b1b127d09970
5
5
  SHA512:
6
- metadata.gz: 080ad173d6a341d6e1e72df2330c2855314966e0507742b40583c9e32aebaaf020f279d1557af0b50b5dc47d54b03ed1069817d5eddd65029c15b5ff16773e53
7
- data.tar.gz: 6bb4ca787e336462f256fa7ab2c86b0b4179ef08a6f470f4f6fa95350d659cab34d295fe5ef008691a10e51b4c55867df60feaedce36e01976adbdee4d1f6261
6
+ metadata.gz: 58dff77cc9be4d29057d4649bfd1657b4cc818bea2776a8ae1e30d91e31e151a787612934f3eaa09f717024d481d089bc8a54f6408b9c2549a8443f39dfefa6e
7
+ data.tar.gz: 46ace273c93f22a8ab6c678842e5ec68fedb1dcc007ca30941f2b8603d97a30a7b9476304edb7938c89ea18b98cde15463c903ecec08d156e2d2c9d5be765ff7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.276
1
+ 1.0.277
@@ -270,10 +270,12 @@ module TencentCloud
270
270
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
271
271
  # @param ClientToken: 客户端Token,保持接口幂等性
272
272
  # @type ClientToken: String
273
+ # @param NeedPreview: 是否需要生成预览文件 默认不生成
274
+ # @type NeedPreview: Boolean
273
275
 
274
- attr_accessor :Operator, :TemplateId, :FlowId, :FileNames, :FormFields, :Agent, :ClientToken
276
+ attr_accessor :Operator, :TemplateId, :FlowId, :FileNames, :FormFields, :Agent, :ClientToken, :NeedPreview
275
277
 
276
- def initialize(operator=nil, templateid=nil, flowid=nil, filenames=nil, formfields=nil, agent=nil, clienttoken=nil)
278
+ def initialize(operator=nil, templateid=nil, flowid=nil, filenames=nil, formfields=nil, agent=nil, clienttoken=nil, needpreview=nil)
277
279
  @Operator = operator
278
280
  @TemplateId = templateid
279
281
  @FlowId = flowid
@@ -281,6 +283,7 @@ module TencentCloud
281
283
  @FormFields = formfields
282
284
  @Agent = agent
283
285
  @ClientToken = clienttoken
286
+ @NeedPreview = needpreview
284
287
  end
285
288
 
286
289
  def deserialize(params)
@@ -304,6 +307,7 @@ module TencentCloud
304
307
  @Agent.deserialize(params['Agent'])
305
308
  end
306
309
  @ClientToken = params['ClientToken']
310
+ @NeedPreview = params['NeedPreview']
307
311
  end
308
312
  end
309
313
 
@@ -311,18 +315,23 @@ module TencentCloud
311
315
  class CreateDocumentResponse < TencentCloud::Common::AbstractModel
312
316
  # @param DocumentId: 返回的电子文档ID
313
317
  # @type DocumentId: String
318
+ # @param PreviewFileUrl: 返回合同文件的预览地址 5分钟内有效。仅当NeedPreview为true 时返回
319
+ # 注意:此字段可能返回 null,表示取不到有效值。
320
+ # @type PreviewFileUrl: String
314
321
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
315
322
  # @type RequestId: String
316
323
 
317
- attr_accessor :DocumentId, :RequestId
324
+ attr_accessor :DocumentId, :PreviewFileUrl, :RequestId
318
325
 
319
- def initialize(documentid=nil, requestid=nil)
326
+ def initialize(documentid=nil, previewfileurl=nil, requestid=nil)
320
327
  @DocumentId = documentid
328
+ @PreviewFileUrl = previewfileurl
321
329
  @RequestId = requestid
322
330
  end
323
331
 
324
332
  def deserialize(params)
325
333
  @DocumentId = params['DocumentId']
334
+ @PreviewFileUrl = params['PreviewFileUrl']
326
335
  @RequestId = params['RequestId']
327
336
  end
328
337
  end
@@ -357,10 +366,12 @@ module TencentCloud
357
366
  # @type Components: Array
358
367
  # @param CcInfos: 被抄送人的信息列表
359
368
  # @type CcInfos: Array
369
+ # @param NeedPreview: 是否需要预览,true:预览模式,false:非预览(默认)
370
+ # @type NeedPreview: Boolean
360
371
 
361
- attr_accessor :Operator, :FlowName, :FileIds, :Approvers, :FlowDescription, :Unordered, :FlowType, :Deadline, :Agent, :Components, :CcInfos
372
+ attr_accessor :Operator, :FlowName, :FileIds, :Approvers, :FlowDescription, :Unordered, :FlowType, :Deadline, :Agent, :Components, :CcInfos, :NeedPreview
362
373
 
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)
374
+ 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
375
  @Operator = operator
365
376
  @FlowName = flowname
366
377
  @FileIds = fileids
@@ -372,6 +383,7 @@ module TencentCloud
372
383
  @Agent = agent
373
384
  @Components = components
374
385
  @CcInfos = ccinfos
386
+ @NeedPreview = needpreview
375
387
  end
376
388
 
377
389
  def deserialize(params)
@@ -413,6 +425,7 @@ module TencentCloud
413
425
  @CcInfos << ccinfo_tmp
414
426
  end
415
427
  end
428
+ @NeedPreview = params['NeedPreview']
416
429
  end
417
430
  end
418
431
 
@@ -420,18 +433,23 @@ module TencentCloud
420
433
  class CreateFlowByFilesResponse < TencentCloud::Common::AbstractModel
421
434
  # @param FlowId: 流程编号
422
435
  # @type FlowId: String
436
+ # @param PreviewUrl: 合同预览链接
437
+ # 注意:此字段可能返回 null,表示取不到有效值。
438
+ # @type PreviewUrl: String
423
439
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
424
440
  # @type RequestId: String
425
441
 
426
- attr_accessor :FlowId, :RequestId
442
+ attr_accessor :FlowId, :PreviewUrl, :RequestId
427
443
 
428
- def initialize(flowid=nil, requestid=nil)
444
+ def initialize(flowid=nil, previewurl=nil, requestid=nil)
429
445
  @FlowId = flowid
446
+ @PreviewUrl = previewurl
430
447
  @RequestId = requestid
431
448
  end
432
449
 
433
450
  def deserialize(params)
434
451
  @FlowId = params['FlowId']
452
+ @PreviewUrl = params['PreviewUrl']
435
453
  @RequestId = params['RequestId']
436
454
  end
437
455
  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.277
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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common