tencentcloud-sdk-ess 3.0.773 → 3.0.775

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 +76 -48
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f192d40eb875527f83efdc342977020b2b494d4d
4
- data.tar.gz: fc7e33694e042c7a49cb5e62bee0b16c63a36ab9
3
+ metadata.gz: 0a6048bd98d371b752a1aa5ce0193ffb54200dc6
4
+ data.tar.gz: 0255c55529936e66bd154a26a07d7f6bc4f94955
5
5
  SHA512:
6
- metadata.gz: 8ca807b4fd22ec802e974bc47656583c99d5da63a9d5114ed6100bdfecfe443379e2f102308020a03e6c579f8cfde96401941b091749255e1826e7fc341e0571
7
- data.tar.gz: 1501f939b049d416a2e1da04b26c51655face4b9e734f41536d52597cf3ac1dfdb2527a3fe327d892317e20acceee91ff24235f4cf83e6ed280b954c1c378e18
6
+ metadata.gz: 6c7fa87ebf8fed76c17439b380971742c121f752ec3e34b404d16bae3b56f05d4e3364b8d130cdd0a11590b8a96814e91939cecdddd58289bf6418c30617735d
7
+ data.tar.gz: 53c8948d9fe18febc0ccd5458a634ee54d86897dec5a5d320534a91ba6b4cf5760367098c19b7c87234f5d46e3f360fa77e104d57fef6cd1170809ba42ea6cff
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.773
1
+ 3.0.775
@@ -1066,6 +1066,11 @@ module TencentCloud
1066
1066
  # <li> <b>FontColor</b>:字符串类型,格式为RGB颜色数字</li></ul>
1067
1067
  # <b>参数样例</b>:`{"FontColor":"255,0,0","FontSize":12}`
1068
1068
 
1069
+ # <font color="red">ComponentType为DATE时</font>,支持以下参数:
1070
+ # <ul><li> <b>Font</b>:目前只支持黑体、宋体</li>
1071
+ # <li> <b>FontSize</b>: 范围12 :72</li></ul>
1072
+ # <b>参数样例</b>:`{"FontColor":"255,0,0","FontSize":12}`
1073
+
1069
1074
  # <font color="red">ComponentType为FILL_IMAGE时</font>,支持以下参数:
1070
1075
  # <ul><li> <b>NotMakeImageCenter</b>:bool。是否设置图片居中。false:居中(默认)。 true : 不居中</li>
1071
1076
  # <li> <b>FillMethod</b> : int. 填充方式。0-铺满(默认);1-等比例缩放</li></ul>
@@ -9525,84 +9530,105 @@ module TencentCloud
9525
9530
  class TemplateInfo < TencentCloud::Common::AbstractModel
9526
9531
  # @param TemplateId: 模板ID,模板的唯一标识
9527
9532
  # @type TemplateId: String
9528
- # @param TemplateName: 模板名
9533
+ # @param TemplateName: 模板的名字
9529
9534
  # @type TemplateName: String
9535
+ # @param Recipients: 此模块需要签署的各个参与方的角色列表。RecipientId标识每个参与方角色对应的唯一标识符,用于确定此角色的信息。
9536
+
9537
+ # [点击查看在模板中配置的签署参与方角色列表的样子](https://qcloudimg.tencent-cloud.cn/raw/e082bbcc0d923f8cb723d98382410aa2.png)
9538
+
9539
+ # @type Recipients: Array
9540
+ # @param Components: 模板的填充控件列表
9541
+
9542
+ # [点击查看在模板中配置的填充控件的样子](https://qcloudimg.tencent-cloud.cn/raw/cb2f58529fca8d909258f9d45a56f7f4.png)
9543
+ # @type Components: Array
9544
+ # @param SignComponents: 此模板中的签署控件列表
9545
+
9546
+ # [点击查看在模板中配置的签署控件的样子](https://qcloudimg.tencent-cloud.cn/raw/29bc6ed753a5a0fce4a3ab02e2c0d955.png)
9547
+ # @type SignComponents: Array
9530
9548
  # @param Description: 模板描述信息
9531
9549
  # @type Description: String
9532
- # @param DocumentResourceIds: 模板关联的资源ID列表
9550
+ # @param DocumentResourceIds: 此模板的资源ID
9533
9551
  # @type DocumentResourceIds: Array
9534
9552
  # @param FileInfos: 生成模板的文件基础信息
9535
9553
  # @type FileInfos: Array
9536
- # @param AttachmentResourceIds: 附件关联的资源ID
9554
+ # @param AttachmentResourceIds: 此模板里边附件的资源ID
9537
9555
  # @type AttachmentResourceIds: Array
9538
- # @param SignOrder: 签署顺序
9539
- # 无序 -1
9540
- # 有序为序列数字 0,1,2
9556
+ # @param SignOrder: 签署人参与签署的顺序,可以分为以下两种方式:
9557
+
9558
+ # <b>无序</b>:不限定签署人的签署顺序,签署人可以在任何时间签署。此种方式值为 :{-1
9559
+ # <b>有序</b>:通过序列数字标识签署顺序,从0开始编码,数字越大签署顺序越靠后,签署人按照指定的顺序依次签署。此种方式值为: {0,1,2,3………}
9541
9560
  # @type SignOrder: Array
9542
- # @param Recipients: 模板中的签署参与方列表
9543
- # @type Recipients: Array
9544
- # @param Components: 模板的填充控件列表
9545
- # @type Components: Array
9546
- # @param SignComponents: 模板中的签署控件列表
9547
- # @type SignComponents: Array
9548
- # @param Status: 模板状态
9549
- # -1:不可用
9550
- # 0:草稿态
9551
- # 1:正式态,可以正常使用
9561
+ # @param Status: 此模板的状态可以分为以下几种:
9562
+
9563
+ # <b>-1</b>:不可用状态。
9564
+ # <b>0</b>:草稿态,即模板正在编辑或未发布状态。
9565
+ # <b>1</b>:正式态,只有正式态的模板才可以发起合同。
9552
9566
  # @type Status: Integer
9553
- # @param Creator: 模板的创建者信息,电子签系统用户ID
9567
+ # @param Creator: 模板的创建者信息,用户的名字
9568
+
9569
+ # 注: `是创建者的名字,而非创建者的用户ID`
9554
9570
  # @type Creator: String
9555
9571
  # @param CreatedOn: 模板创建的时间戳,格式为Unix标准时间戳(秒)
9556
9572
  # @type CreatedOn: Integer
9557
- # @param Promoter: 发起方参与信息Promoter
9573
+ # @param Promoter: 此模板创建方角色信息。
9574
+
9575
+ # [点击查看在模板中配置的创建方角色的样子](https://qcloudimg.tencent-cloud.cn/raw/e082bbcc0d923f8cb723d98382410aa2.png)
9558
9576
  # @type Promoter: :class:`Tencentcloud::Ess.v20201111.models.Recipient`
9559
- # @param TemplateType: 模板类型:
9560
- # 1 静默签,
9561
- # 3 普通模板
9577
+ # @param TemplateType: 模板类型可以分为以下两种:
9578
+
9579
+ # <b>1</b>:带有本企业自动签署的模板,即签署过程无需签署人手动操作,系统自动完成签署。
9580
+ # <b>3</b>:普通模板,即签署人需要手动进行签署操作。
9562
9581
  # @type TemplateType: Integer
9563
- # @param Available: 模板可用状态:
9564
- # 1 启用(默认)
9565
- # 2 停用
9582
+ # @param Available: 模板可用状态可以分为以下两种:
9583
+
9584
+ # <b>1</b>:(默认)启用状态,即模板可以正常使用。
9585
+ # <b>2</b>:停用状态,即模板暂时无法使用。
9586
+
9587
+ # 可到控制台启停模板
9566
9588
  # @type Available: Integer
9567
9589
  # @param OrganizationId: 创建模板的企业ID,电子签的机构ID
9568
9590
  # @type OrganizationId: String
9569
- # @param PreviewUrl: 模板预览链接,有效时间5分钟
9591
+ # @param CreatorId: 模板创建人用户ID
9592
+ # @type CreatorId: String
9593
+ # @param PreviewUrl: 模板的H5预览链接,有效期5分钟。
9594
+ # 可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
9570
9595
  # 注意:此字段可能返回 null,表示取不到有效值。
9571
9596
  # @type PreviewUrl: String
9572
- # @param TemplateVersion: 模板版本。默认为空时,全数字字符,初始版本为yyyyMMdd001。
9597
+ # @param TemplateVersion: 模板版本的编号,旨在标识其独特的版本信息,通常呈现为一串字符串,由日期和递增的数字组成
9573
9598
  # 注意:此字段可能返回 null,表示取不到有效值。
9574
9599
  # @type TemplateVersion: String
9575
- # @param Published: 模板是否已发布:
9576
- # true-已发布
9577
- # false-未发布
9600
+ # @param Published: 模板是否已发布可以分为以下两种状态:
9601
+
9602
+ # <b>true</b>:已发布状态,表示该模板已经发布并可以正常使用。
9603
+ # <b>false</b>:未发布状态,表示该模板还未发布,无法使用。
9578
9604
  # 注意:此字段可能返回 null,表示取不到有效值。
9579
9605
  # @type Published: Boolean
9580
- # @param ShareTemplateId: 分享来源的模板ID。用在集团账号子企业模板里
9606
+ # @param ShareTemplateId: <b>集体账号场景下</b>: 集团账号分享给子企业的模板的来源模板ID
9581
9607
  # 注意:此字段可能返回 null,表示取不到有效值。
9582
9608
  # @type ShareTemplateId: String
9583
- # @param TemplateSeals: 模板内部指定的印章列表
9609
+ # @param TemplateSeals: 此模板配置的预填印章列表(包括自动签署指定的印章)
9584
9610
  # 注意:此字段可能返回 null,表示取不到有效值。
9585
9611
  # @type TemplateSeals: Array
9586
9612
  # @param Seals: 模板内部指定的印章列表
9587
9613
  # 注意:此字段可能返回 null,表示取不到有效值。
9588
9614
  # @type Seals: Array
9589
9615
 
9590
- attr_accessor :TemplateId, :TemplateName, :Description, :DocumentResourceIds, :FileInfos, :AttachmentResourceIds, :SignOrder, :Recipients, :Components, :SignComponents, :Status, :Creator, :CreatedOn, :Promoter, :TemplateType, :Available, :OrganizationId, :PreviewUrl, :TemplateVersion, :Published, :ShareTemplateId, :TemplateSeals, :Seals
9616
+ attr_accessor :TemplateId, :TemplateName, :Recipients, :Components, :SignComponents, :Description, :DocumentResourceIds, :FileInfos, :AttachmentResourceIds, :SignOrder, :Status, :Creator, :CreatedOn, :Promoter, :TemplateType, :Available, :OrganizationId, :CreatorId, :PreviewUrl, :TemplateVersion, :Published, :ShareTemplateId, :TemplateSeals, :Seals
9591
9617
  extend Gem::Deprecate
9592
9618
  deprecate :Seals, :none, 2024, 3
9593
9619
  deprecate :Seals=, :none, 2024, 3
9594
9620
 
9595
- def initialize(templateid=nil, templatename=nil, description=nil, documentresourceids=nil, fileinfos=nil, attachmentresourceids=nil, signorder=nil, recipients=nil, components=nil, signcomponents=nil, status=nil, creator=nil, createdon=nil, promoter=nil, templatetype=nil, available=nil, organizationid=nil, previewurl=nil, templateversion=nil, published=nil, sharetemplateid=nil, templateseals=nil, seals=nil)
9621
+ def initialize(templateid=nil, templatename=nil, recipients=nil, components=nil, signcomponents=nil, description=nil, documentresourceids=nil, fileinfos=nil, attachmentresourceids=nil, signorder=nil, status=nil, creator=nil, createdon=nil, promoter=nil, templatetype=nil, available=nil, organizationid=nil, creatorid=nil, previewurl=nil, templateversion=nil, published=nil, sharetemplateid=nil, templateseals=nil, seals=nil)
9596
9622
  @TemplateId = templateid
9597
9623
  @TemplateName = templatename
9624
+ @Recipients = recipients
9625
+ @Components = components
9626
+ @SignComponents = signcomponents
9598
9627
  @Description = description
9599
9628
  @DocumentResourceIds = documentresourceids
9600
9629
  @FileInfos = fileinfos
9601
9630
  @AttachmentResourceIds = attachmentresourceids
9602
9631
  @SignOrder = signorder
9603
- @Recipients = recipients
9604
- @Components = components
9605
- @SignComponents = signcomponents
9606
9632
  @Status = status
9607
9633
  @Creator = creator
9608
9634
  @CreatedOn = createdon
@@ -9610,6 +9636,7 @@ module TencentCloud
9610
9636
  @TemplateType = templatetype
9611
9637
  @Available = available
9612
9638
  @OrganizationId = organizationid
9639
+ @CreatorId = creatorid
9613
9640
  @PreviewUrl = previewurl
9614
9641
  @TemplateVersion = templateversion
9615
9642
  @Published = published
@@ -9621,18 +9648,6 @@ module TencentCloud
9621
9648
  def deserialize(params)
9622
9649
  @TemplateId = params['TemplateId']
9623
9650
  @TemplateName = params['TemplateName']
9624
- @Description = params['Description']
9625
- @DocumentResourceIds = params['DocumentResourceIds']
9626
- unless params['FileInfos'].nil?
9627
- @FileInfos = []
9628
- params['FileInfos'].each do |i|
9629
- fileinfo_tmp = FileInfo.new
9630
- fileinfo_tmp.deserialize(i)
9631
- @FileInfos << fileinfo_tmp
9632
- end
9633
- end
9634
- @AttachmentResourceIds = params['AttachmentResourceIds']
9635
- @SignOrder = params['SignOrder']
9636
9651
  unless params['Recipients'].nil?
9637
9652
  @Recipients = []
9638
9653
  params['Recipients'].each do |i|
@@ -9657,6 +9672,18 @@ module TencentCloud
9657
9672
  @SignComponents << component_tmp
9658
9673
  end
9659
9674
  end
9675
+ @Description = params['Description']
9676
+ @DocumentResourceIds = params['DocumentResourceIds']
9677
+ unless params['FileInfos'].nil?
9678
+ @FileInfos = []
9679
+ params['FileInfos'].each do |i|
9680
+ fileinfo_tmp = FileInfo.new
9681
+ fileinfo_tmp.deserialize(i)
9682
+ @FileInfos << fileinfo_tmp
9683
+ end
9684
+ end
9685
+ @AttachmentResourceIds = params['AttachmentResourceIds']
9686
+ @SignOrder = params['SignOrder']
9660
9687
  @Status = params['Status']
9661
9688
  @Creator = params['Creator']
9662
9689
  @CreatedOn = params['CreatedOn']
@@ -9667,6 +9694,7 @@ module TencentCloud
9667
9694
  @TemplateType = params['TemplateType']
9668
9695
  @Available = params['Available']
9669
9696
  @OrganizationId = params['OrganizationId']
9697
+ @CreatorId = params['CreatorId']
9670
9698
  @PreviewUrl = params['PreviewUrl']
9671
9699
  @TemplateVersion = params['TemplateVersion']
9672
9700
  @Published = params['Published']
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: 3.0.773
4
+ version: 3.0.775
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-03 00:00:00.000000000 Z
11
+ date: 2024-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common