tencentcloud-sdk-essbasic 3.0.596 → 3.0.597

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: 859afb624ad335ddde16cfe4ea22a91e04df5c9d
4
- data.tar.gz: 7e16c8dade61c18a5e93dcfb7172cfef80cb35ac
3
+ metadata.gz: 95fa2f8d0c13f9eb05fa518fcbd7102cdaee1ea5
4
+ data.tar.gz: 37fb5fd26f7356eacb96b41d323598780ce1033f
5
5
  SHA512:
6
- metadata.gz: 20b0413cb4d49a7936d8c2aacf3d70cfc5950b617d1ecafd9325661c153c342764db4e1dd4179e22e577b9ddbfb4428d74e9244403cf0a4dc8693d1bde6f2225
7
- data.tar.gz: 2edcbf3fbb45a6df6fa579b978299adf8170fc8a8354ff5a45e9753f3845dcd4adb60b40a577337d1bd1bdacf737fcb85d352e5468f0a994efe752a9bff11a80
6
+ metadata.gz: 01e5594ac8ee27441ae293334a5f937d7df09e12c30f89e2156e5947c24d81cc74a6ffe4d62cb81d4c9609a23b7f231b2cb47050adc585c9cbe8f09760a02fbd
7
+ data.tar.gz: 3f97aa4f6707601f522d09617b30391d26f34f98c904638a070f37a0b7f6e1be206b9f325b0cd53abcfd44a65ce9d88db84721820c74900131ebdacd9a8233a1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.596
1
+ 3.0.597
@@ -550,6 +550,30 @@ module TencentCloud
550
550
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
551
551
  end
552
552
 
553
+ # 查询流程填写控件内容,可以根据流程Id查询该流程相关联的填写控件信息
554
+
555
+ # @param request: Request instance for ChannelDescribeFlowComponents.
556
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeFlowComponentsRequest`
557
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeFlowComponentsResponse`
558
+ def ChannelDescribeFlowComponents(request)
559
+ body = send_request('ChannelDescribeFlowComponents', request.serialize)
560
+ response = JSON.parse(body)
561
+ if response['Response'].key?('Error') == false
562
+ model = ChannelDescribeFlowComponentsResponse.new
563
+ model.deserialize(response['Response'])
564
+ model
565
+ else
566
+ code = response['Response']['Error']['Code']
567
+ message = response['Response']['Error']['Message']
568
+ reqid = response['Response']['RequestId']
569
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
570
+ end
571
+ rescue TencentCloud::Common::TencentCloudSDKException => e
572
+ raise e
573
+ rescue StandardError => e
574
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
575
+ end
576
+
553
577
  # 查询子客企业电子印章,需要操作者具有管理印章权限
554
578
  # 客户指定需要获取的印章数量和偏移量,数量最多100,超过100按100处理;入参InfoType控制印章是否携带授权人信息,为1则携带,为0则返回的授权人信息为空数组。接口调用成功返回印章的信息列表还有企业印章的总数。
555
579
 
@@ -1708,6 +1708,57 @@ module TencentCloud
1708
1708
  end
1709
1709
  end
1710
1710
 
1711
+ # ChannelDescribeFlowComponents请求参数结构体
1712
+ class ChannelDescribeFlowComponentsRequest < TencentCloud::Common::AbstractModel
1713
+ # @param Agent: 应用相关信息
1714
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1715
+ # @param FlowId: 电子签流程的Id
1716
+ # @type FlowId: String
1717
+
1718
+ attr_accessor :Agent, :FlowId
1719
+
1720
+ def initialize(agent=nil, flowid=nil)
1721
+ @Agent = agent
1722
+ @FlowId = flowid
1723
+ end
1724
+
1725
+ def deserialize(params)
1726
+ unless params['Agent'].nil?
1727
+ @Agent = Agent.new
1728
+ @Agent.deserialize(params['Agent'])
1729
+ end
1730
+ @FlowId = params['FlowId']
1731
+ end
1732
+ end
1733
+
1734
+ # ChannelDescribeFlowComponents返回参数结构体
1735
+ class ChannelDescribeFlowComponentsResponse < TencentCloud::Common::AbstractModel
1736
+ # @param RecipientComponentInfos: 流程关联的填写控件信息
1737
+ # 注意:此字段可能返回 null,表示取不到有效值。
1738
+ # @type RecipientComponentInfos: Array
1739
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1740
+ # @type RequestId: String
1741
+
1742
+ attr_accessor :RecipientComponentInfos, :RequestId
1743
+
1744
+ def initialize(recipientcomponentinfos=nil, requestid=nil)
1745
+ @RecipientComponentInfos = recipientcomponentinfos
1746
+ @RequestId = requestid
1747
+ end
1748
+
1749
+ def deserialize(params)
1750
+ unless params['RecipientComponentInfos'].nil?
1751
+ @RecipientComponentInfos = []
1752
+ params['RecipientComponentInfos'].each do |i|
1753
+ recipientcomponentinfo_tmp = RecipientComponentInfo.new
1754
+ recipientcomponentinfo_tmp.deserialize(i)
1755
+ @RecipientComponentInfos << recipientcomponentinfo_tmp
1756
+ end
1757
+ end
1758
+ @RequestId = params['RequestId']
1759
+ end
1760
+ end
1761
+
1711
1762
  # ChannelDescribeOrganizationSeals请求参数结构体
1712
1763
  class ChannelDescribeOrganizationSealsRequest < TencentCloud::Common::AbstractModel
1713
1764
  # @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
@@ -2274,7 +2325,38 @@ module TencentCloud
2274
2325
  # @type ComponentPosX: Float
2275
2326
  # @param ComponentPosY: 参数控件Y位置,单位px
2276
2327
  # @type ComponentPosY: Float
2277
- # @param ComponentExtra: 参数控件样式,json格式表述
2328
+ # @param ComponentExtra: 扩展参数:
2329
+ # 为JSON格式。
2330
+
2331
+ # ComponentType为FILL_IMAGE时,支持以下参数:
2332
+ # NotMakeImageCenter:bool。是否设置图片居中。false:居中(默认)。 true: 不居中
2333
+ # FillMethod: int. 填充方式。0-铺满(默认);1-等比例缩放
2334
+
2335
+ # ComponentType为SIGN_SIGNATURE类型可以控制签署方式
2336
+ # {“ComponentTypeLimit”: [“xxx”]}
2337
+ # xxx可以为:
2338
+ # HANDWRITE – 手写签名
2339
+ # OCR_ESIGN -- AI智能识别手写签名
2340
+ # ESIGN -- 个人印章类型
2341
+ # SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
2342
+ # 如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
2343
+
2344
+ # ComponentType为SIGN_DATE时,支持以下参数:
2345
+ # 1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
2346
+ # 2 FontSize: 数字类型,范围6-72,默认值为12
2347
+ # 3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
2348
+ # 4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
2349
+ # 5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
2350
+ # 如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
2351
+ # 特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
2352
+ # 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
2353
+
2354
+ # ComponentType为SIGN_SEAL类型时,支持以下参数:
2355
+ # 1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
2356
+ # 参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
2357
+
2358
+
2359
+ # 参数控件样式,json格式表述
2278
2360
 
2279
2361
  # 不同类型的控件会有部分非通用参数
2280
2362
 
@@ -2306,7 +2388,11 @@ module TencentCloud
2306
2388
  # 5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙钟的空格个数
2307
2389
  # 如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
2308
2390
  # 特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
2309
- # 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}",
2391
+ # 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
2392
+
2393
+ # ComponentType为SIGN_SEAL类型时,支持以下参数:
2394
+ # 1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
2395
+ # 参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
2310
2396
  # @type ComponentExtra: String
2311
2397
  # @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
2312
2398
  # TEXT - 文本内容
@@ -3466,6 +3552,43 @@ module TencentCloud
3466
3552
  end
3467
3553
  end
3468
3554
 
3555
+ # 文档内的填充控件返回结构体,返回控件的基本信息和填写内容值
3556
+ class FilledComponent < TencentCloud::Common::AbstractModel
3557
+ # @param ComponentId: 控件Id
3558
+ # 注意:此字段可能返回 null,表示取不到有效值。
3559
+ # @type ComponentId: String
3560
+ # @param ComponentName: 控件名称
3561
+ # 注意:此字段可能返回 null,表示取不到有效值。
3562
+ # @type ComponentName: String
3563
+ # @param ComponentFillStatus: 控件填写状态;0-未填写;1-已填写
3564
+ # 注意:此字段可能返回 null,表示取不到有效值。
3565
+ # @type ComponentFillStatus: String
3566
+ # @param ComponentValue: 控件填写内容
3567
+ # 注意:此字段可能返回 null,表示取不到有效值。
3568
+ # @type ComponentValue: String
3569
+ # @param ImageUrl: 图片填充控件下载链接,如果是图片填充控件时,这里返回图片的下载链接。
3570
+ # 注意:此字段可能返回 null,表示取不到有效值。
3571
+ # @type ImageUrl: String
3572
+
3573
+ attr_accessor :ComponentId, :ComponentName, :ComponentFillStatus, :ComponentValue, :ImageUrl
3574
+
3575
+ def initialize(componentid=nil, componentname=nil, componentfillstatus=nil, componentvalue=nil, imageurl=nil)
3576
+ @ComponentId = componentid
3577
+ @ComponentName = componentname
3578
+ @ComponentFillStatus = componentfillstatus
3579
+ @ComponentValue = componentvalue
3580
+ @ImageUrl = imageurl
3581
+ end
3582
+
3583
+ def deserialize(params)
3584
+ @ComponentId = params['ComponentId']
3585
+ @ComponentName = params['ComponentName']
3586
+ @ComponentFillStatus = params['ComponentFillStatus']
3587
+ @ComponentValue = params['ComponentValue']
3588
+ @ImageUrl = params['ImageUrl']
3589
+ end
3590
+ end
3591
+
3469
3592
  # 此结构体 (Filter) 用于描述查询过滤条件。
3470
3593
  class Filter < TencentCloud::Common::AbstractModel
3471
3594
  # @param Key: 查询过滤条件的Key
@@ -4677,6 +4800,45 @@ module TencentCloud
4677
4800
  end
4678
4801
  end
4679
4802
 
4803
+ # 参与方填写控件信息
4804
+ class RecipientComponentInfo < TencentCloud::Common::AbstractModel
4805
+ # @param RecipientId: 参与方Id
4806
+ # 注意:此字段可能返回 null,表示取不到有效值。
4807
+ # @type RecipientId: String
4808
+ # @param RecipientFillStatus: 参与方填写状态
4809
+ # 注意:此字段可能返回 null,表示取不到有效值。
4810
+ # @type RecipientFillStatus: String
4811
+ # @param IsPromoter: 是否发起方
4812
+ # 注意:此字段可能返回 null,表示取不到有效值。
4813
+ # @type IsPromoter: Boolean
4814
+ # @param Components: 填写控件内容
4815
+ # 注意:此字段可能返回 null,表示取不到有效值。
4816
+ # @type Components: Array
4817
+
4818
+ attr_accessor :RecipientId, :RecipientFillStatus, :IsPromoter, :Components
4819
+
4820
+ def initialize(recipientid=nil, recipientfillstatus=nil, ispromoter=nil, components=nil)
4821
+ @RecipientId = recipientid
4822
+ @RecipientFillStatus = recipientfillstatus
4823
+ @IsPromoter = ispromoter
4824
+ @Components = components
4825
+ end
4826
+
4827
+ def deserialize(params)
4828
+ @RecipientId = params['RecipientId']
4829
+ @RecipientFillStatus = params['RecipientFillStatus']
4830
+ @IsPromoter = params['IsPromoter']
4831
+ unless params['Components'].nil?
4832
+ @Components = []
4833
+ params['Components'].each do |i|
4834
+ filledcomponent_tmp = FilledComponent.new
4835
+ filledcomponent_tmp.deserialize(i)
4836
+ @Components << filledcomponent_tmp
4837
+ end
4838
+ end
4839
+ end
4840
+ end
4841
+
4680
4842
  # 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
4681
4843
  # 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该签署人。
4682
4844
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-essbasic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.596
4
+ version: 3.0.597
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-20 00:00:00.000000000 Z
11
+ date: 2023-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common