tencentcloud-sdk-essbasic 3.0.381 → 3.0.382
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/v20210526/client.rb +48 -0
- data/lib/v20210526/models.rb +188 -6
- 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: 2a50feae1d6e2a7fd1edee88c85875445e816c19
|
4
|
+
data.tar.gz: f5c63849f9c440ddf37d51a41f041b0d44c72f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39a955ea4e3c2f9a233d4c6519900f3e09c45bc7473e20ce0001d186f83713e312d3009830c8b467ec75e172c196da22caa8b715c9771f603b88707dc82233d2
|
7
|
+
data.tar.gz: 06ab6d5c9e8f0cce90528b6d4056df3c7d419006483e39d10c88eae4de768214abad9c254c7aeecbf068fe309f6d2a50e143b4ede633ed877cd2bc4c9a7a07e7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.382
|
data/lib/v20210526/client.rb
CHANGED
@@ -78,6 +78,30 @@ module TencentCloud
|
|
78
78
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
79
79
|
end
|
80
80
|
|
81
|
+
# 渠道创建文件转换任务
|
82
|
+
|
83
|
+
# @param request: Request instance for ChannelCreateConvertTaskApi.
|
84
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateConvertTaskApiRequest`
|
85
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateConvertTaskApiResponse`
|
86
|
+
def ChannelCreateConvertTaskApi(request)
|
87
|
+
body = send_request('ChannelCreateConvertTaskApi', request.serialize)
|
88
|
+
response = JSON.parse(body)
|
89
|
+
if response['Response'].key?('Error') == false
|
90
|
+
model = ChannelCreateConvertTaskApiResponse.new
|
91
|
+
model.deserialize(response['Response'])
|
92
|
+
model
|
93
|
+
else
|
94
|
+
code = response['Response']['Error']['Code']
|
95
|
+
message = response['Response']['Error']['Message']
|
96
|
+
reqid = response['Response']['RequestId']
|
97
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
98
|
+
end
|
99
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
100
|
+
raise e
|
101
|
+
rescue StandardError => e
|
102
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
103
|
+
end
|
104
|
+
|
81
105
|
# 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建签署流程。此接口不可直接使用,需要运营申请
|
82
106
|
|
83
107
|
# @param request: Request instance for ChannelCreateFlowByFiles.
|
@@ -127,6 +151,30 @@ module TencentCloud
|
|
127
151
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
128
152
|
end
|
129
153
|
|
154
|
+
# 渠道版查询转换任务状态
|
155
|
+
|
156
|
+
# @param request: Request instance for ChannelGetTaskResultApi.
|
157
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelGetTaskResultApiRequest`
|
158
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelGetTaskResultApiResponse`
|
159
|
+
def ChannelGetTaskResultApi(request)
|
160
|
+
body = send_request('ChannelGetTaskResultApi', request.serialize)
|
161
|
+
response = JSON.parse(body)
|
162
|
+
if response['Response'].key?('Error') == false
|
163
|
+
model = ChannelGetTaskResultApiResponse.new
|
164
|
+
model.deserialize(response['Response'])
|
165
|
+
model
|
166
|
+
else
|
167
|
+
code = response['Response']['Error']['Code']
|
168
|
+
message = response['Response']['Error']['Message']
|
169
|
+
reqid = response['Response']['RequestId']
|
170
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
171
|
+
end
|
172
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
173
|
+
raise e
|
174
|
+
rescue StandardError => e
|
175
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
176
|
+
end
|
177
|
+
|
130
178
|
# 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
|
131
179
|
|
132
180
|
# @param request: Request instance for CreateConsoleLoginUrl.
|
data/lib/v20210526/models.rb
CHANGED
@@ -220,6 +220,71 @@ module TencentCloud
|
|
220
220
|
end
|
221
221
|
end
|
222
222
|
|
223
|
+
# ChannelCreateConvertTaskApi请求参数结构体
|
224
|
+
class ChannelCreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
|
225
|
+
# @param Agent: 无
|
226
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
227
|
+
# @param ResourceId: 资源Id
|
228
|
+
# @type ResourceId: String
|
229
|
+
# @param ResourceType: 资源类型 取值范围doc,docx,html之一
|
230
|
+
# @type ResourceType: String
|
231
|
+
# @param ResourceName: 资源名称
|
232
|
+
# @type ResourceName: String
|
233
|
+
# @param Organization: 无
|
234
|
+
# @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
|
235
|
+
# @param Operator: 无
|
236
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
237
|
+
|
238
|
+
attr_accessor :Agent, :ResourceId, :ResourceType, :ResourceName, :Organization, :Operator
|
239
|
+
|
240
|
+
def initialize(agent=nil, resourceid=nil, resourcetype=nil, resourcename=nil, organization=nil, operator=nil)
|
241
|
+
@Agent = agent
|
242
|
+
@ResourceId = resourceid
|
243
|
+
@ResourceType = resourcetype
|
244
|
+
@ResourceName = resourcename
|
245
|
+
@Organization = organization
|
246
|
+
@Operator = operator
|
247
|
+
end
|
248
|
+
|
249
|
+
def deserialize(params)
|
250
|
+
unless params['Agent'].nil?
|
251
|
+
@Agent = Agent.new
|
252
|
+
@Agent.deserialize(params['Agent'])
|
253
|
+
end
|
254
|
+
@ResourceId = params['ResourceId']
|
255
|
+
@ResourceType = params['ResourceType']
|
256
|
+
@ResourceName = params['ResourceName']
|
257
|
+
unless params['Organization'].nil?
|
258
|
+
@Organization = OrganizationInfo.new
|
259
|
+
@Organization.deserialize(params['Organization'])
|
260
|
+
end
|
261
|
+
unless params['Operator'].nil?
|
262
|
+
@Operator = UserInfo.new
|
263
|
+
@Operator.deserialize(params['Operator'])
|
264
|
+
end
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
# ChannelCreateConvertTaskApi返回参数结构体
|
269
|
+
class ChannelCreateConvertTaskApiResponse < TencentCloud::Common::AbstractModel
|
270
|
+
# @param TaskId: 任务id
|
271
|
+
# @type TaskId: String
|
272
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
273
|
+
# @type RequestId: String
|
274
|
+
|
275
|
+
attr_accessor :TaskId, :RequestId
|
276
|
+
|
277
|
+
def initialize(taskid=nil, requestid=nil)
|
278
|
+
@TaskId = taskid
|
279
|
+
@RequestId = requestid
|
280
|
+
end
|
281
|
+
|
282
|
+
def deserialize(params)
|
283
|
+
@TaskId = params['TaskId']
|
284
|
+
@RequestId = params['RequestId']
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
223
288
|
# ChannelCreateFlowByFiles请求参数结构体
|
224
289
|
class ChannelCreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
|
225
290
|
# @param Agent: 渠道应用相关信息
|
@@ -415,6 +480,75 @@ module TencentCloud
|
|
415
480
|
end
|
416
481
|
end
|
417
482
|
|
483
|
+
# ChannelGetTaskResultApi请求参数结构体
|
484
|
+
class ChannelGetTaskResultApiRequest < TencentCloud::Common::AbstractModel
|
485
|
+
# @param Agent: 渠道信息
|
486
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
487
|
+
# @param TaskId: 任务Id
|
488
|
+
# @type TaskId: String
|
489
|
+
# @param Organization: 企业信息
|
490
|
+
# @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
|
491
|
+
# @param Operator: 操作人信息
|
492
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
493
|
+
|
494
|
+
attr_accessor :Agent, :TaskId, :Organization, :Operator
|
495
|
+
|
496
|
+
def initialize(agent=nil, taskid=nil, organization=nil, operator=nil)
|
497
|
+
@Agent = agent
|
498
|
+
@TaskId = taskid
|
499
|
+
@Organization = organization
|
500
|
+
@Operator = operator
|
501
|
+
end
|
502
|
+
|
503
|
+
def deserialize(params)
|
504
|
+
unless params['Agent'].nil?
|
505
|
+
@Agent = Agent.new
|
506
|
+
@Agent.deserialize(params['Agent'])
|
507
|
+
end
|
508
|
+
@TaskId = params['TaskId']
|
509
|
+
unless params['Organization'].nil?
|
510
|
+
@Organization = OrganizationInfo.new
|
511
|
+
@Organization.deserialize(params['Organization'])
|
512
|
+
end
|
513
|
+
unless params['Operator'].nil?
|
514
|
+
@Operator = UserInfo.new
|
515
|
+
@Operator.deserialize(params['Operator'])
|
516
|
+
end
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
# ChannelGetTaskResultApi返回参数结构体
|
521
|
+
class ChannelGetTaskResultApiResponse < TencentCloud::Common::AbstractModel
|
522
|
+
# @param TaskId: 任务Id
|
523
|
+
# @type TaskId: String
|
524
|
+
# @param TaskStatus: 任务状态
|
525
|
+
# @type TaskStatus: Integer
|
526
|
+
# @param TaskMessage: 状态描述
|
527
|
+
# @type TaskMessage: String
|
528
|
+
# @param ResourceId: 资源Id
|
529
|
+
# @type ResourceId: String
|
530
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
531
|
+
# @type RequestId: String
|
532
|
+
|
533
|
+
attr_accessor :TaskId, :TaskStatus, :TaskMessage, :ResourceId, :RequestId
|
534
|
+
|
535
|
+
def initialize(taskid=nil, taskstatus=nil, taskmessage=nil, resourceid=nil, requestid=nil)
|
536
|
+
@TaskId = taskid
|
537
|
+
@TaskStatus = taskstatus
|
538
|
+
@TaskMessage = taskmessage
|
539
|
+
@ResourceId = resourceid
|
540
|
+
@RequestId = requestid
|
541
|
+
end
|
542
|
+
|
543
|
+
def deserialize(params)
|
544
|
+
@TaskId = params['TaskId']
|
545
|
+
@TaskStatus = params['TaskStatus']
|
546
|
+
@TaskMessage = params['TaskMessage']
|
547
|
+
@ResourceId = params['ResourceId']
|
548
|
+
@RequestId = params['RequestId']
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
418
552
|
# 此结构体 (Component) 用于描述控件属性。
|
419
553
|
class Component < TencentCloud::Common::AbstractModel
|
420
554
|
# @param ComponentId: 控件编号
|
@@ -430,13 +564,18 @@ module TencentCloud
|
|
430
564
|
# @type ComponentId: String
|
431
565
|
# @param ComponentType: 如果是Component控件类型,则可选的字段为:
|
432
566
|
# TEXT - 普通文本控件;
|
433
|
-
#
|
434
|
-
#
|
567
|
+
# MULTI_LINE_TEXT - 多行文本控件;
|
568
|
+
# CHECK_BOX - 勾选框控件;
|
569
|
+
# FILL_IMAGE - 图片控件;
|
570
|
+
# DYNAMIC_TABLE - 动态表格控件;
|
571
|
+
# ATTACHMENT - 附件控件;
|
572
|
+
# SELECTOR - 选择器控件;
|
573
|
+
|
435
574
|
# 如果是SignComponent控件类型,则可选的字段为
|
436
575
|
# SIGN_SEAL - 签署印章控件;
|
437
576
|
# SIGN_DATE - 签署日期控件;
|
438
577
|
# SIGN_SIGNATURE - 用户签名控件;
|
439
|
-
# SIGN_PERSONAL_SEAL -
|
578
|
+
# SIGN_PERSONAL_SEAL - 个人签署印章控件(使用文件发起暂不支持此类型);
|
440
579
|
|
441
580
|
# 表单域的控件不能作为印章和签名控件
|
442
581
|
# @type ComponentType: String
|
@@ -468,8 +607,13 @@ module TencentCloud
|
|
468
607
|
# TEXT控件可以指定字体
|
469
608
|
# 例如:{"FontSize":12}
|
470
609
|
# @type ComponentExtra: String
|
471
|
-
# @param ComponentValue:
|
472
|
-
#
|
610
|
+
# @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
611
|
+
# TEXT - 文本内容
|
612
|
+
# MULTI_LINE_TEXT - 文本内容
|
613
|
+
# CHECK_BOX - true/false
|
614
|
+
# FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
615
|
+
# SELECTOR - 选项值
|
616
|
+
# DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
|
473
617
|
# @type ComponentValue: String
|
474
618
|
# @param ComponentDateFontSize: 日期签署控件的字号,默认为 12
|
475
619
|
|
@@ -1522,7 +1666,13 @@ module TencentCloud
|
|
1522
1666
|
|
1523
1667
|
# 此结构 (FormField) 用于描述内容控件填充结构。
|
1524
1668
|
class FormField < TencentCloud::Common::AbstractModel
|
1525
|
-
# @param ComponentValue:
|
1669
|
+
# @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
1670
|
+
# TEXT - 文本内容
|
1671
|
+
# MULTI_LINE_TEXT - 文本内容
|
1672
|
+
# CHECK_BOX - true/false
|
1673
|
+
# FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
1674
|
+
# SELECTOR - 选项值
|
1675
|
+
# DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
|
1526
1676
|
# @type ComponentValue: String
|
1527
1677
|
# @param ComponentId: 表单域或控件的ID,跟ComponentName二选一,不能全为空
|
1528
1678
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -1698,6 +1848,38 @@ module TencentCloud
|
|
1698
1848
|
end
|
1699
1849
|
end
|
1700
1850
|
|
1851
|
+
# 机构信息
|
1852
|
+
class OrganizationInfo < TencentCloud::Common::AbstractModel
|
1853
|
+
# @param OrganizationOpenId: 用户在渠道的机构编号
|
1854
|
+
# @type OrganizationOpenId: String
|
1855
|
+
# @param ClientIp: 用户真实的IP
|
1856
|
+
# @type ClientIp: String
|
1857
|
+
# @param ProxyIp: 机构的代理IP
|
1858
|
+
# @type ProxyIp: String
|
1859
|
+
# @param OrganizationId: 机构在平台的编号
|
1860
|
+
# @type OrganizationId: String
|
1861
|
+
# @param Channel: 用户渠道
|
1862
|
+
# @type Channel: String
|
1863
|
+
|
1864
|
+
attr_accessor :OrganizationOpenId, :ClientIp, :ProxyIp, :OrganizationId, :Channel
|
1865
|
+
|
1866
|
+
def initialize(organizationopenid=nil, clientip=nil, proxyip=nil, organizationid=nil, channel=nil)
|
1867
|
+
@OrganizationOpenId = organizationopenid
|
1868
|
+
@ClientIp = clientip
|
1869
|
+
@ProxyIp = proxyip
|
1870
|
+
@OrganizationId = organizationid
|
1871
|
+
@Channel = channel
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
def deserialize(params)
|
1875
|
+
@OrganizationOpenId = params['OrganizationOpenId']
|
1876
|
+
@ClientIp = params['ClientIp']
|
1877
|
+
@ProxyIp = params['ProxyIp']
|
1878
|
+
@OrganizationId = params['OrganizationId']
|
1879
|
+
@Channel = params['Channel']
|
1880
|
+
end
|
1881
|
+
end
|
1882
|
+
|
1701
1883
|
# PrepareFlows请求参数结构体
|
1702
1884
|
class PrepareFlowsRequest < TencentCloud::Common::AbstractModel
|
1703
1885
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
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.
|
4
|
+
version: 3.0.382
|
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-08-
|
11
|
+
date: 2022-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|