tencentcloud-sdk-ess 3.0.381 → 3.0.384
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 +1 -0
- data/lib/v20201111/models.rb +68 -48
- 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: a4334c59112619aed2b085442c9a5b26ea118d19
|
4
|
+
data.tar.gz: 0b68715c351cccacc6039b102c79605e977293ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de5ee88b9f85ff9a1da282c9d000813b9d28f3ff37ae2742ae27e0796a718a12ade8ba7067c855d98fec87e4836b213e1aa6ea18d079e0674f26545395030957
|
7
|
+
data.tar.gz: bfeaa2fe268ad6a0452cc1fc4ba4293dc82c115d04b88909330825a7bc4a84b84a98c560447bb00bd83f6cc231156ea79d65ce1d27b21ea23aea6346e52047c1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.384
|
data/lib/v20201111/client.rb
CHANGED
data/lib/v20201111/models.rb
CHANGED
@@ -268,16 +268,22 @@ module TencentCloud
|
|
268
268
|
|
269
269
|
# 模板控件信息
|
270
270
|
class Component < TencentCloud::Common::AbstractModel
|
271
|
-
# @param ComponentType: 如果是
|
272
|
-
# TEXT -
|
273
|
-
# MULTI_LINE_TEXT -
|
274
|
-
# CHECK_BOX -
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
|
280
|
-
#
|
271
|
+
# @param ComponentType: 如果是Component控件类型,则可选的字段为:
|
272
|
+
# TEXT - 普通文本控件;
|
273
|
+
# MULTI_LINE_TEXT - 多行文本控件;
|
274
|
+
# CHECK_BOX - 勾选框控件;
|
275
|
+
# FILL_IMAGE - 图片控件;
|
276
|
+
# DYNAMIC_TABLE - 动态表格控件;
|
277
|
+
# ATTACHMENT - 附件控件;
|
278
|
+
# SELECTOR - 选择器控件;
|
279
|
+
|
280
|
+
# 如果是SignComponent控件类型,则可选的字段为
|
281
|
+
# SIGN_SEAL - 签署印章控件;
|
282
|
+
# SIGN_DATE - 签署日期控件;
|
283
|
+
# SIGN_SIGNATURE - 用户签名控件;
|
284
|
+
# SIGN_PERSONAL_SEAL - 个人签署印章控件(使用文件发起暂不支持此类型);
|
285
|
+
|
286
|
+
# 表单域的控件不能作为印章和签名控件
|
281
287
|
# @type ComponentType: String
|
282
288
|
# @param ComponentWidth: 参数控件宽度,单位pt
|
283
289
|
# @type ComponentWidth: Float
|
@@ -313,8 +319,9 @@ module TencentCloud
|
|
313
319
|
# TEXT - 文本内容
|
314
320
|
# MULTI_LINE_TEXT - 文本内容
|
315
321
|
# CHECK_BOX - true/false
|
316
|
-
# ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
322
|
+
# FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
317
323
|
# SELECTOR - 选项值
|
324
|
+
# DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
|
318
325
|
# @type ComponentValue: String
|
319
326
|
# @param IsFormType: 是否是表单域类型,默认不存在
|
320
327
|
# @type IsFormType: Boolean
|
@@ -427,38 +434,34 @@ module TencentCloud
|
|
427
434
|
|
428
435
|
# CreateConvertTaskApi请求参数结构体
|
429
436
|
class CreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
|
430
|
-
# @param ResourceId: 资源Id
|
431
|
-
# @type ResourceId: String
|
432
437
|
# @param ResourceType: 资源类型 取值范围doc,docx,html之一
|
433
438
|
# @type ResourceType: String
|
434
|
-
# @param ResourceName:
|
439
|
+
# @param ResourceName: 资源名称,长度限制为256字符
|
435
440
|
# @type ResourceName: String
|
436
|
-
# @param
|
437
|
-
# @type
|
438
|
-
# @param Operator:
|
441
|
+
# @param ResourceId: 资源Id,通过UploadFiles获取
|
442
|
+
# @type ResourceId: String
|
443
|
+
# @param Operator: 操作者信息
|
439
444
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
440
|
-
# @param Agent:
|
445
|
+
# @param Agent: 应用号信息
|
441
446
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
447
|
+
# @param Organization: 暂未开放
|
448
|
+
# @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
|
442
449
|
|
443
|
-
attr_accessor :
|
450
|
+
attr_accessor :ResourceType, :ResourceName, :ResourceId, :Operator, :Agent, :Organization
|
444
451
|
|
445
|
-
def initialize(
|
446
|
-
@ResourceId = resourceid
|
452
|
+
def initialize(resourcetype=nil, resourcename=nil, resourceid=nil, operator=nil, agent=nil, organization=nil)
|
447
453
|
@ResourceType = resourcetype
|
448
454
|
@ResourceName = resourcename
|
449
|
-
@
|
455
|
+
@ResourceId = resourceid
|
450
456
|
@Operator = operator
|
451
457
|
@Agent = agent
|
458
|
+
@Organization = organization
|
452
459
|
end
|
453
460
|
|
454
461
|
def deserialize(params)
|
455
|
-
@ResourceId = params['ResourceId']
|
456
462
|
@ResourceType = params['ResourceType']
|
457
463
|
@ResourceName = params['ResourceName']
|
458
|
-
|
459
|
-
@Organization = OrganizationInfo.new
|
460
|
-
@Organization.deserialize(params['Organization'])
|
461
|
-
end
|
464
|
+
@ResourceId = params['ResourceId']
|
462
465
|
unless params['Operator'].nil?
|
463
466
|
@Operator = UserInfo.new
|
464
467
|
@Operator.deserialize(params['Operator'])
|
@@ -467,6 +470,10 @@ module TencentCloud
|
|
467
470
|
@Agent = Agent.new
|
468
471
|
@Agent.deserialize(params['Agent'])
|
469
472
|
end
|
473
|
+
unless params['Organization'].nil?
|
474
|
+
@Organization = OrganizationInfo.new
|
475
|
+
@Organization.deserialize(params['Organization'])
|
476
|
+
end
|
470
477
|
end
|
471
478
|
end
|
472
479
|
|
@@ -1065,7 +1072,7 @@ module TencentCloud
|
|
1065
1072
|
class DescribeFlowBriefsRequest < TencentCloud::Common::AbstractModel
|
1066
1073
|
# @param Operator: 调用方用户信息,userId 必填
|
1067
1074
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1068
|
-
# @param FlowIds: 需要查询的流程ID
|
1075
|
+
# @param FlowIds: 需要查询的流程ID列表,限制最大20个
|
1069
1076
|
# @type FlowIds: Array
|
1070
1077
|
# @param Agent: 应用相关信息
|
1071
1078
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
@@ -1124,7 +1131,7 @@ module TencentCloud
|
|
1124
1131
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1125
1132
|
# @param Filters: 搜索条件,具体参考Filter结构体。本接口取值:template-id:按照【 **模板唯一标识** 】进行过滤
|
1126
1133
|
# @type Filters: Array
|
1127
|
-
# @param Limit: 查询个数,默认20,最大
|
1134
|
+
# @param Limit: 查询个数,默认20,最大200
|
1128
1135
|
# @type Limit: Integer
|
1129
1136
|
# @param Offset: 查询偏移位置,默认0
|
1130
1137
|
# @type Offset: Integer
|
@@ -1434,12 +1441,13 @@ module TencentCloud
|
|
1434
1441
|
|
1435
1442
|
# 电子文档的控件填充信息
|
1436
1443
|
class FormField < TencentCloud::Common::AbstractModel
|
1437
|
-
# @param ComponentValue: 控件填充
|
1444
|
+
# @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
1438
1445
|
# TEXT - 文本内容
|
1439
1446
|
# MULTI_LINE_TEXT - 文本内容
|
1440
1447
|
# CHECK_BOX - true/false
|
1441
|
-
# ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
1442
|
-
# SELECTOR -
|
1448
|
+
# FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
1449
|
+
# SELECTOR - 选项值
|
1450
|
+
# DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
|
1443
1451
|
# @type ComponentValue: String
|
1444
1452
|
# @param ComponentId: 控件id,和ComponentName选择一项传入即可
|
1445
1453
|
# @type ComponentId: String
|
@@ -1463,30 +1471,26 @@ module TencentCloud
|
|
1463
1471
|
|
1464
1472
|
# GetTaskResultApi请求参数结构体
|
1465
1473
|
class GetTaskResultApiRequest < TencentCloud::Common::AbstractModel
|
1466
|
-
# @param TaskId: 任务Id
|
1474
|
+
# @param TaskId: 任务Id,通过CreateConvertTaskApi得到
|
1467
1475
|
# @type TaskId: String
|
1468
|
-
# @param Organization: 企业信息
|
1469
|
-
# @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
|
1470
1476
|
# @param Operator: 操作人信息
|
1471
1477
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1472
|
-
# @param Agent:
|
1478
|
+
# @param Agent: 应用号信息
|
1473
1479
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1480
|
+
# @param Organization: 暂未开放
|
1481
|
+
# @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
|
1474
1482
|
|
1475
|
-
attr_accessor :TaskId, :
|
1483
|
+
attr_accessor :TaskId, :Operator, :Agent, :Organization
|
1476
1484
|
|
1477
|
-
def initialize(taskid=nil,
|
1485
|
+
def initialize(taskid=nil, operator=nil, agent=nil, organization=nil)
|
1478
1486
|
@TaskId = taskid
|
1479
|
-
@Organization = organization
|
1480
1487
|
@Operator = operator
|
1481
1488
|
@Agent = agent
|
1489
|
+
@Organization = organization
|
1482
1490
|
end
|
1483
1491
|
|
1484
1492
|
def deserialize(params)
|
1485
1493
|
@TaskId = params['TaskId']
|
1486
|
-
unless params['Organization'].nil?
|
1487
|
-
@Organization = OrganizationInfo.new
|
1488
|
-
@Organization.deserialize(params['Organization'])
|
1489
|
-
end
|
1490
1494
|
unless params['Operator'].nil?
|
1491
1495
|
@Operator = UserInfo.new
|
1492
1496
|
@Operator.deserialize(params['Operator'])
|
@@ -1495,6 +1499,10 @@ module TencentCloud
|
|
1495
1499
|
@Agent = Agent.new
|
1496
1500
|
@Agent.deserialize(params['Agent'])
|
1497
1501
|
end
|
1502
|
+
unless params['Organization'].nil?
|
1503
|
+
@Organization = OrganizationInfo.new
|
1504
|
+
@Organization.deserialize(params['Organization'])
|
1505
|
+
end
|
1498
1506
|
end
|
1499
1507
|
end
|
1500
1508
|
|
@@ -1502,11 +1510,23 @@ module TencentCloud
|
|
1502
1510
|
class GetTaskResultApiResponse < TencentCloud::Common::AbstractModel
|
1503
1511
|
# @param TaskId: 任务Id
|
1504
1512
|
# @type TaskId: String
|
1505
|
-
# @param TaskStatus:
|
1513
|
+
# @param TaskStatus: 任务状态,需要关注的状态
|
1514
|
+
# 0 :NeedTranform - 任务已提交
|
1515
|
+
# 4 :Processing - 文档转换中
|
1516
|
+
# 8 :TaskEnd - 任务处理完成
|
1517
|
+
# -2 :DownloadFailed - 下载失败
|
1518
|
+
# -6 :ProcessFailed - 转换失败
|
1519
|
+
# -13:ProcessTimeout - 转换文件超时
|
1506
1520
|
# @type TaskStatus: Integer
|
1507
|
-
# @param TaskMessage:
|
1521
|
+
# @param TaskMessage: 状态描述,需要关注的状态
|
1522
|
+
# NeedTranform - 任务已提交
|
1523
|
+
# Processing - 文档转换中
|
1524
|
+
# TaskEnd - 任务处理完成
|
1525
|
+
# DownloadFailed - 下载失败
|
1526
|
+
# ProcessFailed - 转换失败
|
1527
|
+
# ProcessTimeout - 转换文件超时
|
1508
1528
|
# @type TaskMessage: String
|
1509
|
-
# @param ResourceId: 资源Id
|
1529
|
+
# @param ResourceId: 资源Id,也是FileId,用于文件发起使用
|
1510
1530
|
# @type ResourceId: String
|
1511
1531
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1512
1532
|
# @type RequestId: String
|
@@ -1850,8 +1870,8 @@ module TencentCloud
|
|
1850
1870
|
# UploadFiles请求参数结构体
|
1851
1871
|
class UploadFilesRequest < TencentCloud::Common::AbstractModel
|
1852
1872
|
# @param BusinessType: 文件对应业务类型,用于区分文件存储路径:
|
1853
|
-
# 1. TEMPLATE - 模板; 文件类型:.pdf
|
1854
|
-
# 2. DOCUMENT -
|
1873
|
+
# 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
|
1874
|
+
# 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
|
1855
1875
|
# 3. SEAL - 印章; 文件类型:.jpg/.jpeg/.png
|
1856
1876
|
# @type BusinessType: String
|
1857
1877
|
# @param Caller: 调用方信息
|
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.384
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|