tencentcloud-sdk-ess 3.0.458 → 3.0.460
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 +50 -0
- data/lib/v20201111/models.rb +126 -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: c43a76c478d77d85941ca37ccb4769028edf4712
|
4
|
+
data.tar.gz: 08fcc6aa7f4ebe21c67d278cacb334d424e0d0e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: decabb1cc23e4a6cf1904cd7c450e8760f2be36b599b829edf8b6a8eed8e5783d5f353e1276883829e49e131100810efb74bd459b249cbc4034acd5f165dc052
|
7
|
+
data.tar.gz: 6f70415702f8db4ab9b9f6f8aed3f7689fc9018c5de666e30246fccca0afc56eab8febfe4481bf469943e10af0b476b054cffc5c5a8b6f6492958394c8df00f2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.460
|
data/lib/v20201111/client.rb
CHANGED
@@ -449,6 +449,32 @@ module TencentCloud
|
|
449
449
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
450
450
|
end
|
451
451
|
|
452
|
+
# 创建快速发起流程
|
453
|
+
# 适用场景:用户通过API 合同文件及签署信息,并可通过我们返回的URL在页面完成签署控件等信息的编辑与确认,快速发起合同.
|
454
|
+
# 注:该接口文件的resourceId 是通过上传文件之后获取的。
|
455
|
+
|
456
|
+
# @param request: Request instance for CreatePrepareFlow.
|
457
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreatePrepareFlowRequest`
|
458
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreatePrepareFlowResponse`
|
459
|
+
def CreatePrepareFlow(request)
|
460
|
+
body = send_request('CreatePrepareFlow', request.serialize)
|
461
|
+
response = JSON.parse(body)
|
462
|
+
if response['Response'].key?('Error') == false
|
463
|
+
model = CreatePrepareFlowResponse.new
|
464
|
+
model.deserialize(response['Response'])
|
465
|
+
model
|
466
|
+
else
|
467
|
+
code = response['Response']['Error']['Code']
|
468
|
+
message = response['Response']['Error']['Message']
|
469
|
+
reqid = response['Response']['RequestId']
|
470
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
471
|
+
end
|
472
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
473
|
+
raise e
|
474
|
+
rescue StandardError => e
|
475
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
476
|
+
end
|
477
|
+
|
452
478
|
# 获取小程序跳转链接
|
453
479
|
|
454
480
|
# 适用场景:如果需要签署人在自己的APP、小程序、H5应用中签署,可以通过此接口获取跳转腾讯电子签小程序的签署跳转链接。
|
@@ -558,6 +584,30 @@ module TencentCloud
|
|
558
584
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
559
585
|
end
|
560
586
|
|
587
|
+
# 查询出证报告,返回报告 URL。
|
588
|
+
|
589
|
+
# @param request: Request instance for DescribeFlowEvidenceReport.
|
590
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeFlowEvidenceReportRequest`
|
591
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeFlowEvidenceReportResponse`
|
592
|
+
def DescribeFlowEvidenceReport(request)
|
593
|
+
body = send_request('DescribeFlowEvidenceReport', request.serialize)
|
594
|
+
response = JSON.parse(body)
|
595
|
+
if response['Response'].key?('Error') == false
|
596
|
+
model = DescribeFlowEvidenceReportResponse.new
|
597
|
+
model.deserialize(response['Response'])
|
598
|
+
model
|
599
|
+
else
|
600
|
+
code = response['Response']['Error']['Code']
|
601
|
+
message = response['Response']['Error']['Message']
|
602
|
+
reqid = response['Response']['RequestId']
|
603
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
604
|
+
end
|
605
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
606
|
+
raise e
|
607
|
+
rescue StandardError => e
|
608
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
609
|
+
end
|
610
|
+
|
561
611
|
# 查询合同详情
|
562
612
|
# 适用场景:可用于主动查询某个合同详情信息。
|
563
613
|
|
data/lib/v20201111/models.rb
CHANGED
@@ -519,7 +519,7 @@ module TencentCloud
|
|
519
519
|
|
520
520
|
# CreateConvertTaskApi请求参数结构体
|
521
521
|
class CreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
|
522
|
-
# @param ResourceType: 资源类型 取值范围doc,docx,html,
|
522
|
+
# @param ResourceType: 资源类型 取值范围doc,docx,html,xls,xlsx之一
|
523
523
|
# @type ResourceType: String
|
524
524
|
# @param ResourceName: 资源名称,长度限制为256字符
|
525
525
|
# @type ResourceName: String
|
@@ -1247,6 +1247,81 @@ module TencentCloud
|
|
1247
1247
|
end
|
1248
1248
|
end
|
1249
1249
|
|
1250
|
+
# CreatePrepareFlow请求参数结构体
|
1251
|
+
class CreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
|
1252
|
+
# @param Operator: 调用方用户信息,userId 必填
|
1253
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1254
|
+
# @param ResourceId: 资源Id,通过上传uploadfile接口获得
|
1255
|
+
# @type ResourceId: String
|
1256
|
+
# @param FlowName: 合同名称
|
1257
|
+
# @type FlowName: String
|
1258
|
+
# @param Unordered: 是否顺序签署(true:无序签,false:顺序签)
|
1259
|
+
# @type Unordered: Boolean
|
1260
|
+
# @param Deadline: 签署流程的签署截止时间。
|
1261
|
+
# 值为unix时间戳,精确到秒,不传默认为当前时间一年后
|
1262
|
+
# @type Deadline: Integer
|
1263
|
+
# @param UserFlowTypeId: 用户自定义合同类型
|
1264
|
+
# @type UserFlowTypeId: String
|
1265
|
+
# @param Approvers: 签署流程参与者信息,最大限制50方
|
1266
|
+
# @type Approvers: Array
|
1267
|
+
# @param IntelligentStatus: 打开智能添加填写区(默认开启,打开:"OPEN" 关闭:"CLOSE")
|
1268
|
+
# @type IntelligentStatus: String
|
1269
|
+
|
1270
|
+
attr_accessor :Operator, :ResourceId, :FlowName, :Unordered, :Deadline, :UserFlowTypeId, :Approvers, :IntelligentStatus
|
1271
|
+
|
1272
|
+
def initialize(operator=nil, resourceid=nil, flowname=nil, unordered=nil, deadline=nil, userflowtypeid=nil, approvers=nil, intelligentstatus=nil)
|
1273
|
+
@Operator = operator
|
1274
|
+
@ResourceId = resourceid
|
1275
|
+
@FlowName = flowname
|
1276
|
+
@Unordered = unordered
|
1277
|
+
@Deadline = deadline
|
1278
|
+
@UserFlowTypeId = userflowtypeid
|
1279
|
+
@Approvers = approvers
|
1280
|
+
@IntelligentStatus = intelligentstatus
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
def deserialize(params)
|
1284
|
+
unless params['Operator'].nil?
|
1285
|
+
@Operator = UserInfo.new
|
1286
|
+
@Operator.deserialize(params['Operator'])
|
1287
|
+
end
|
1288
|
+
@ResourceId = params['ResourceId']
|
1289
|
+
@FlowName = params['FlowName']
|
1290
|
+
@Unordered = params['Unordered']
|
1291
|
+
@Deadline = params['Deadline']
|
1292
|
+
@UserFlowTypeId = params['UserFlowTypeId']
|
1293
|
+
unless params['Approvers'].nil?
|
1294
|
+
@Approvers = []
|
1295
|
+
params['Approvers'].each do |i|
|
1296
|
+
flowcreateapprover_tmp = FlowCreateApprover.new
|
1297
|
+
flowcreateapprover_tmp.deserialize(i)
|
1298
|
+
@Approvers << flowcreateapprover_tmp
|
1299
|
+
end
|
1300
|
+
end
|
1301
|
+
@IntelligentStatus = params['IntelligentStatus']
|
1302
|
+
end
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# CreatePrepareFlow返回参数结构体
|
1306
|
+
class CreatePrepareFlowResponse < TencentCloud::Common::AbstractModel
|
1307
|
+
# @param Url: 快速发起预览链接
|
1308
|
+
# @type Url: String
|
1309
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1310
|
+
# @type RequestId: String
|
1311
|
+
|
1312
|
+
attr_accessor :Url, :RequestId
|
1313
|
+
|
1314
|
+
def initialize(url=nil, requestid=nil)
|
1315
|
+
@Url = url
|
1316
|
+
@RequestId = requestid
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
def deserialize(params)
|
1320
|
+
@Url = params['Url']
|
1321
|
+
@RequestId = params['RequestId']
|
1322
|
+
end
|
1323
|
+
end
|
1324
|
+
|
1250
1325
|
# CreateSchemeUrl请求参数结构体
|
1251
1326
|
class CreateSchemeUrlRequest < TencentCloud::Common::AbstractModel
|
1252
1327
|
# @param Operator: 调用方用户信息,userId 必填
|
@@ -1624,6 +1699,56 @@ module TencentCloud
|
|
1624
1699
|
end
|
1625
1700
|
end
|
1626
1701
|
|
1702
|
+
# DescribeFlowEvidenceReport请求参数结构体
|
1703
|
+
class DescribeFlowEvidenceReportRequest < TencentCloud::Common::AbstractModel
|
1704
|
+
# @param Operator: 调用方用户信息,userId 必填
|
1705
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1706
|
+
# @param ReportId: 出证报告编号
|
1707
|
+
# @type ReportId: String
|
1708
|
+
|
1709
|
+
attr_accessor :Operator, :ReportId
|
1710
|
+
|
1711
|
+
def initialize(operator=nil, reportid=nil)
|
1712
|
+
@Operator = operator
|
1713
|
+
@ReportId = reportid
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
def deserialize(params)
|
1717
|
+
unless params['Operator'].nil?
|
1718
|
+
@Operator = UserInfo.new
|
1719
|
+
@Operator.deserialize(params['Operator'])
|
1720
|
+
end
|
1721
|
+
@ReportId = params['ReportId']
|
1722
|
+
end
|
1723
|
+
end
|
1724
|
+
|
1725
|
+
# DescribeFlowEvidenceReport返回参数结构体
|
1726
|
+
class DescribeFlowEvidenceReportResponse < TencentCloud::Common::AbstractModel
|
1727
|
+
# @param ReportUrl: 报告 URL
|
1728
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1729
|
+
# @type ReportUrl: String
|
1730
|
+
# @param Status: 执行中:EvidenceStatusExecuting
|
1731
|
+
# 成功:EvidenceStatusSuccess
|
1732
|
+
# 失败:EvidenceStatusFailed
|
1733
|
+
# @type Status: String
|
1734
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1735
|
+
# @type RequestId: String
|
1736
|
+
|
1737
|
+
attr_accessor :ReportUrl, :Status, :RequestId
|
1738
|
+
|
1739
|
+
def initialize(reporturl=nil, status=nil, requestid=nil)
|
1740
|
+
@ReportUrl = reporturl
|
1741
|
+
@Status = status
|
1742
|
+
@RequestId = requestid
|
1743
|
+
end
|
1744
|
+
|
1745
|
+
def deserialize(params)
|
1746
|
+
@ReportUrl = params['ReportUrl']
|
1747
|
+
@Status = params['Status']
|
1748
|
+
@RequestId = params['RequestId']
|
1749
|
+
end
|
1750
|
+
end
|
1751
|
+
|
1627
1752
|
# DescribeFlowInfo请求参数结构体
|
1628
1753
|
class DescribeFlowInfoRequest < TencentCloud::Common::AbstractModel
|
1629
1754
|
# @param FlowIds: 需要查询的流程ID列表,限制最大100个
|
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.460
|
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-11-
|
11
|
+
date: 2022-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|