tencentcloud-sdk-ess 1.0.275 → 1.0.278

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: dfe484ee7218e8337bb86c945bb5f3592768d754
4
- data.tar.gz: 3d5829edc9c110585d73585e7db671be44ab78cc
3
+ metadata.gz: d07a26b523dc2cc6a26234b63f086b58e6e3b2d4
4
+ data.tar.gz: 64c20405f7c3caed86742bea5240cde29472d2c2
5
5
  SHA512:
6
- metadata.gz: 7a7d067d1756d2911b0724950557e5bcd2732219db6261c5ba8f7688ca930a4b9601721b657ad69c22474a23ec1dd38fabb733b2faa1d6b017e1781fc30a1428
7
- data.tar.gz: a7ad46a3e8d4fe88c6e33b63f022859dcea42b14702f09c7edefbaabf83b6e3bcbceecfb69d3e16fcd9211448710e3e9ee0e466ec65929a0ddeab39ec203d419
6
+ metadata.gz: e1d36e56c9d152033d1949b5a91b981ddbad8ea47f7199ece051bdebb654f0baa3566750107e7c1e4ebb6a018d3104d4c86cc369e91ba246df3aaaf156578ae3
7
+ data.tar.gz: 81727fecbecd64e501a7c46058eaaedb9d0b1cece0ce14dce25cb1bde3661d6952f0e2aa0c82913c4a4aa20ce94508349377299e5cfd2c1cb19316cf008e7634
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.275
1
+ 1.0.278
@@ -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.275
4
+ version: 1.0.278
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-11 00:00:00.000000000 Z
11
+ date: 2022-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common