tencentcloud-sdk-ess 3.0.379 → 3.0.384
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +1 -0
- data/lib/v20201111/models.rb +74 -49
- 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
|
@@ -1319,12 +1326,17 @@ module TencentCloud
|
|
1319
1326
|
# @param FlowType: 流程的类型
|
1320
1327
|
# @type FlowType: String
|
1321
1328
|
# @param FlowStatus: 流程状态
|
1322
|
-
# - `
|
1329
|
+
# - `0` 还没有发起
|
1330
|
+
# - `1` 未签署
|
1323
1331
|
# - `2` 部分签署
|
1324
1332
|
# - `3` 已退回
|
1325
1333
|
# - `4` 完成签署
|
1326
1334
|
# - `5` 已过期
|
1327
1335
|
# - `6` 已取消
|
1336
|
+
# - `7` 还没有预发起
|
1337
|
+
# - `8` 等待填写
|
1338
|
+
# - `9` 部分填写
|
1339
|
+
# - `10` 拒填
|
1328
1340
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1329
1341
|
# @type FlowStatus: Integer
|
1330
1342
|
# @param CreatedOn: 流程创建的时间戳
|
@@ -1429,12 +1441,13 @@ module TencentCloud
|
|
1429
1441
|
|
1430
1442
|
# 电子文档的控件填充信息
|
1431
1443
|
class FormField < TencentCloud::Common::AbstractModel
|
1432
|
-
# @param ComponentValue: 控件填充
|
1444
|
+
# @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
1433
1445
|
# TEXT - 文本内容
|
1434
1446
|
# MULTI_LINE_TEXT - 文本内容
|
1435
1447
|
# CHECK_BOX - true/false
|
1436
|
-
# ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
1437
|
-
# SELECTOR -
|
1448
|
+
# FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
1449
|
+
# SELECTOR - 选项值
|
1450
|
+
# DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
|
1438
1451
|
# @type ComponentValue: String
|
1439
1452
|
# @param ComponentId: 控件id,和ComponentName选择一项传入即可
|
1440
1453
|
# @type ComponentId: String
|
@@ -1458,30 +1471,26 @@ module TencentCloud
|
|
1458
1471
|
|
1459
1472
|
# GetTaskResultApi请求参数结构体
|
1460
1473
|
class GetTaskResultApiRequest < TencentCloud::Common::AbstractModel
|
1461
|
-
# @param TaskId: 任务Id
|
1474
|
+
# @param TaskId: 任务Id,通过CreateConvertTaskApi得到
|
1462
1475
|
# @type TaskId: String
|
1463
|
-
# @param Organization: 企业信息
|
1464
|
-
# @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
|
1465
1476
|
# @param Operator: 操作人信息
|
1466
1477
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1467
|
-
# @param Agent:
|
1478
|
+
# @param Agent: 应用号信息
|
1468
1479
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1480
|
+
# @param Organization: 暂未开放
|
1481
|
+
# @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
|
1469
1482
|
|
1470
|
-
attr_accessor :TaskId, :
|
1483
|
+
attr_accessor :TaskId, :Operator, :Agent, :Organization
|
1471
1484
|
|
1472
|
-
def initialize(taskid=nil,
|
1485
|
+
def initialize(taskid=nil, operator=nil, agent=nil, organization=nil)
|
1473
1486
|
@TaskId = taskid
|
1474
|
-
@Organization = organization
|
1475
1487
|
@Operator = operator
|
1476
1488
|
@Agent = agent
|
1489
|
+
@Organization = organization
|
1477
1490
|
end
|
1478
1491
|
|
1479
1492
|
def deserialize(params)
|
1480
1493
|
@TaskId = params['TaskId']
|
1481
|
-
unless params['Organization'].nil?
|
1482
|
-
@Organization = OrganizationInfo.new
|
1483
|
-
@Organization.deserialize(params['Organization'])
|
1484
|
-
end
|
1485
1494
|
unless params['Operator'].nil?
|
1486
1495
|
@Operator = UserInfo.new
|
1487
1496
|
@Operator.deserialize(params['Operator'])
|
@@ -1490,6 +1499,10 @@ module TencentCloud
|
|
1490
1499
|
@Agent = Agent.new
|
1491
1500
|
@Agent.deserialize(params['Agent'])
|
1492
1501
|
end
|
1502
|
+
unless params['Organization'].nil?
|
1503
|
+
@Organization = OrganizationInfo.new
|
1504
|
+
@Organization.deserialize(params['Organization'])
|
1505
|
+
end
|
1493
1506
|
end
|
1494
1507
|
end
|
1495
1508
|
|
@@ -1497,11 +1510,23 @@ module TencentCloud
|
|
1497
1510
|
class GetTaskResultApiResponse < TencentCloud::Common::AbstractModel
|
1498
1511
|
# @param TaskId: 任务Id
|
1499
1512
|
# @type TaskId: String
|
1500
|
-
# @param TaskStatus:
|
1513
|
+
# @param TaskStatus: 任务状态,需要关注的状态
|
1514
|
+
# 0 :NeedTranform - 任务已提交
|
1515
|
+
# 4 :Processing - 文档转换中
|
1516
|
+
# 8 :TaskEnd - 任务处理完成
|
1517
|
+
# -2 :DownloadFailed - 下载失败
|
1518
|
+
# -6 :ProcessFailed - 转换失败
|
1519
|
+
# -13:ProcessTimeout - 转换文件超时
|
1501
1520
|
# @type TaskStatus: Integer
|
1502
|
-
# @param TaskMessage:
|
1521
|
+
# @param TaskMessage: 状态描述,需要关注的状态
|
1522
|
+
# NeedTranform - 任务已提交
|
1523
|
+
# Processing - 文档转换中
|
1524
|
+
# TaskEnd - 任务处理完成
|
1525
|
+
# DownloadFailed - 下载失败
|
1526
|
+
# ProcessFailed - 转换失败
|
1527
|
+
# ProcessTimeout - 转换文件超时
|
1503
1528
|
# @type TaskMessage: String
|
1504
|
-
# @param ResourceId: 资源Id
|
1529
|
+
# @param ResourceId: 资源Id,也是FileId,用于文件发起使用
|
1505
1530
|
# @type ResourceId: String
|
1506
1531
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1507
1532
|
# @type RequestId: String
|
@@ -1845,8 +1870,8 @@ module TencentCloud
|
|
1845
1870
|
# UploadFiles请求参数结构体
|
1846
1871
|
class UploadFilesRequest < TencentCloud::Common::AbstractModel
|
1847
1872
|
# @param BusinessType: 文件对应业务类型,用于区分文件存储路径:
|
1848
|
-
# 1. TEMPLATE - 模板; 文件类型:.pdf
|
1849
|
-
# 2. DOCUMENT -
|
1873
|
+
# 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
|
1874
|
+
# 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
|
1850
1875
|
# 3. SEAL - 印章; 文件类型:.jpg/.jpeg/.png
|
1851
1876
|
# @type BusinessType: String
|
1852
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
|