tencentcloud-sdk-ess 3.0.596 → 3.0.597
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +24 -0
- data/lib/v20201111/models.rb +144 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72f3a00e6d36c4a17e99bce82ff877f684993ea7
|
4
|
+
data.tar.gz: a3ab8cf9c8f288370b04a4139499ee7377a276ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d01c97bb30d6485b0178daa4cc1f7f4fe4d2eaed63d6b24129b8dfeedb61cae8b78e31dbcff3fa8109ebb187301c25b5ab0164888b2288e98721eb10992a1c60
|
7
|
+
data.tar.gz: 37b5d4895d35b6a4a5088b94b471d6f54b11545ccf69eccd7bd9fc68479b78d4eaf9f9aa461e6d8b6592b72d2affbaad326150a75a7a52bdf039c83857a08d24
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.597
|
data/lib/v20201111/client.rb
CHANGED
@@ -872,6 +872,30 @@ module TencentCloud
|
|
872
872
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
873
873
|
end
|
874
874
|
|
875
|
+
# 查询流程填写控件内容,可以根据流程Id查询该流程相关联的填写控件信息
|
876
|
+
|
877
|
+
# @param request: Request instance for DescribeFlowComponents.
|
878
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeFlowComponentsRequest`
|
879
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeFlowComponentsResponse`
|
880
|
+
def DescribeFlowComponents(request)
|
881
|
+
body = send_request('DescribeFlowComponents', request.serialize)
|
882
|
+
response = JSON.parse(body)
|
883
|
+
if response['Response'].key?('Error') == false
|
884
|
+
model = DescribeFlowComponentsResponse.new
|
885
|
+
model.deserialize(response['Response'])
|
886
|
+
model
|
887
|
+
else
|
888
|
+
code = response['Response']['Error']['Code']
|
889
|
+
message = response['Response']['Error']['Message']
|
890
|
+
reqid = response['Response']['RequestId']
|
891
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
892
|
+
end
|
893
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
894
|
+
raise e
|
895
|
+
rescue StandardError => e
|
896
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
897
|
+
end
|
898
|
+
|
875
899
|
# 查询出证报告,返回报告 URL。
|
876
900
|
|
877
901
|
# @param request: Request instance for DescribeFlowEvidenceReport.
|
data/lib/v20201111/models.rb
CHANGED
@@ -633,7 +633,11 @@ module TencentCloud
|
|
633
633
|
# 5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
|
634
634
|
# 如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
|
635
635
|
# 特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
|
636
|
-
# 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
|
636
|
+
# 参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
|
637
|
+
|
638
|
+
# ComponentType为SIGN_SEAL类型时,支持以下参数:
|
639
|
+
# 1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
|
640
|
+
# 参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
|
637
641
|
# @type ComponentExtra: String
|
638
642
|
# @param IsFormType: 是否是表单域类型,默认不false-不是
|
639
643
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3052,6 +3056,64 @@ module TencentCloud
|
|
3052
3056
|
end
|
3053
3057
|
end
|
3054
3058
|
|
3059
|
+
# DescribeFlowComponents请求参数结构体
|
3060
|
+
class DescribeFlowComponentsRequest < TencentCloud::Common::AbstractModel
|
3061
|
+
# @param Operator: 操作者信息
|
3062
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
3063
|
+
# @param FlowId: 电子签流程的Id
|
3064
|
+
# @type FlowId: String
|
3065
|
+
# @param Agent: 应用相关信息
|
3066
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
3067
|
+
|
3068
|
+
attr_accessor :Operator, :FlowId, :Agent
|
3069
|
+
|
3070
|
+
def initialize(operator=nil, flowid=nil, agent=nil)
|
3071
|
+
@Operator = operator
|
3072
|
+
@FlowId = flowid
|
3073
|
+
@Agent = agent
|
3074
|
+
end
|
3075
|
+
|
3076
|
+
def deserialize(params)
|
3077
|
+
unless params['Operator'].nil?
|
3078
|
+
@Operator = UserInfo.new
|
3079
|
+
@Operator.deserialize(params['Operator'])
|
3080
|
+
end
|
3081
|
+
@FlowId = params['FlowId']
|
3082
|
+
unless params['Agent'].nil?
|
3083
|
+
@Agent = Agent.new
|
3084
|
+
@Agent.deserialize(params['Agent'])
|
3085
|
+
end
|
3086
|
+
end
|
3087
|
+
end
|
3088
|
+
|
3089
|
+
# DescribeFlowComponents返回参数结构体
|
3090
|
+
class DescribeFlowComponentsResponse < TencentCloud::Common::AbstractModel
|
3091
|
+
# @param RecipientComponentInfos: 流程关联的填写控件信息
|
3092
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3093
|
+
# @type RecipientComponentInfos: Array
|
3094
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3095
|
+
# @type RequestId: String
|
3096
|
+
|
3097
|
+
attr_accessor :RecipientComponentInfos, :RequestId
|
3098
|
+
|
3099
|
+
def initialize(recipientcomponentinfos=nil, requestid=nil)
|
3100
|
+
@RecipientComponentInfos = recipientcomponentinfos
|
3101
|
+
@RequestId = requestid
|
3102
|
+
end
|
3103
|
+
|
3104
|
+
def deserialize(params)
|
3105
|
+
unless params['RecipientComponentInfos'].nil?
|
3106
|
+
@RecipientComponentInfos = []
|
3107
|
+
params['RecipientComponentInfos'].each do |i|
|
3108
|
+
recipientcomponentinfo_tmp = RecipientComponentInfo.new
|
3109
|
+
recipientcomponentinfo_tmp.deserialize(i)
|
3110
|
+
@RecipientComponentInfos << recipientcomponentinfo_tmp
|
3111
|
+
end
|
3112
|
+
end
|
3113
|
+
@RequestId = params['RequestId']
|
3114
|
+
end
|
3115
|
+
end
|
3116
|
+
|
3055
3117
|
# DescribeFlowEvidenceReport请求参数结构体
|
3056
3118
|
class DescribeFlowEvidenceReportRequest < TencentCloud::Common::AbstractModel
|
3057
3119
|
# @param Operator: 调用方用户信息,userId 必填
|
@@ -4089,6 +4151,48 @@ module TencentCloud
|
|
4089
4151
|
end
|
4090
4152
|
end
|
4091
4153
|
|
4154
|
+
# 文档内的填充控件返回结构体,返回控件的基本信息和填写内容值
|
4155
|
+
class FilledComponent < TencentCloud::Common::AbstractModel
|
4156
|
+
# @param ComponentId: 控件Id
|
4157
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4158
|
+
# @type ComponentId: String
|
4159
|
+
# @param ComponentName: 控件名称
|
4160
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4161
|
+
# @type ComponentName: String
|
4162
|
+
# @param ComponentFillStatus: 控件填写状态;0-未填写;1-已填写
|
4163
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4164
|
+
# @type ComponentFillStatus: String
|
4165
|
+
# @param ComponentValue: 控件填写内容
|
4166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4167
|
+
# @type ComponentValue: String
|
4168
|
+
# @param ComponentRecipientId: 控件所属参与方Id
|
4169
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4170
|
+
# @type ComponentRecipientId: String
|
4171
|
+
# @param ImageUrl: 图片填充控件下载链接,如果是图片填充控件时,这里返回图片的下载链接。
|
4172
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4173
|
+
# @type ImageUrl: String
|
4174
|
+
|
4175
|
+
attr_accessor :ComponentId, :ComponentName, :ComponentFillStatus, :ComponentValue, :ComponentRecipientId, :ImageUrl
|
4176
|
+
|
4177
|
+
def initialize(componentid=nil, componentname=nil, componentfillstatus=nil, componentvalue=nil, componentrecipientid=nil, imageurl=nil)
|
4178
|
+
@ComponentId = componentid
|
4179
|
+
@ComponentName = componentname
|
4180
|
+
@ComponentFillStatus = componentfillstatus
|
4181
|
+
@ComponentValue = componentvalue
|
4182
|
+
@ComponentRecipientId = componentrecipientid
|
4183
|
+
@ImageUrl = imageurl
|
4184
|
+
end
|
4185
|
+
|
4186
|
+
def deserialize(params)
|
4187
|
+
@ComponentId = params['ComponentId']
|
4188
|
+
@ComponentName = params['ComponentName']
|
4189
|
+
@ComponentFillStatus = params['ComponentFillStatus']
|
4190
|
+
@ComponentValue = params['ComponentValue']
|
4191
|
+
@ComponentRecipientId = params['ComponentRecipientId']
|
4192
|
+
@ImageUrl = params['ImageUrl']
|
4193
|
+
end
|
4194
|
+
end
|
4195
|
+
|
4092
4196
|
# 查询过滤条件
|
4093
4197
|
class Filter < TencentCloud::Common::AbstractModel
|
4094
4198
|
# @param Key: 查询过滤条件的Key
|
@@ -5246,6 +5350,45 @@ module TencentCloud
|
|
5246
5350
|
end
|
5247
5351
|
end
|
5248
5352
|
|
5353
|
+
# 参与方填写控件信息
|
5354
|
+
class RecipientComponentInfo < TencentCloud::Common::AbstractModel
|
5355
|
+
# @param RecipientId: 参与方Id
|
5356
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5357
|
+
# @type RecipientId: String
|
5358
|
+
# @param RecipientFillStatus: 参与方填写状态
|
5359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5360
|
+
# @type RecipientFillStatus: String
|
5361
|
+
# @param IsPromoter: 是否发起方
|
5362
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5363
|
+
# @type IsPromoter: Boolean
|
5364
|
+
# @param Components: 填写控件内容
|
5365
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5366
|
+
# @type Components: Array
|
5367
|
+
|
5368
|
+
attr_accessor :RecipientId, :RecipientFillStatus, :IsPromoter, :Components
|
5369
|
+
|
5370
|
+
def initialize(recipientid=nil, recipientfillstatus=nil, ispromoter=nil, components=nil)
|
5371
|
+
@RecipientId = recipientid
|
5372
|
+
@RecipientFillStatus = recipientfillstatus
|
5373
|
+
@IsPromoter = ispromoter
|
5374
|
+
@Components = components
|
5375
|
+
end
|
5376
|
+
|
5377
|
+
def deserialize(params)
|
5378
|
+
@RecipientId = params['RecipientId']
|
5379
|
+
@RecipientFillStatus = params['RecipientFillStatus']
|
5380
|
+
@IsPromoter = params['IsPromoter']
|
5381
|
+
unless params['Components'].nil?
|
5382
|
+
@Components = []
|
5383
|
+
params['Components'].each do |i|
|
5384
|
+
filledcomponent_tmp = FilledComponent.new
|
5385
|
+
filledcomponent_tmp.deserialize(i)
|
5386
|
+
@Components << filledcomponent_tmp
|
5387
|
+
end
|
5388
|
+
end
|
5389
|
+
end
|
5390
|
+
end
|
5391
|
+
|
5249
5392
|
# 发起流程快速注册相关信息
|
5250
5393
|
class RegisterInfo < TencentCloud::Common::AbstractModel
|
5251
5394
|
# @param LegalName: 法人姓名
|
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.
|
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-
|
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
|