tencentcloud-sdk-ess 3.0.389 → 3.0.398
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 +24 -0
- data/lib/v20201111/models.rb +45 -2
- 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: a5d6a6dd8c87a4190cd6d8e54324e2123cf83c51
|
4
|
+
data.tar.gz: 03f5a8e93d579e8ac2220c3b5a60ccf324f323fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ecc33b9501136a17b68f7750f3ece7c785f15cab0cf6fe4f6cca9ecd61b24221e28a39fccbf51fb8fcbe9e69f5a8f4714748d6b2a55a1c785c458af46840c91
|
7
|
+
data.tar.gz: aca6c6ebc33925599e82c620c2cc69b62d30260194789e749fe945a67e562fc59ad4e9edee8f461e9f47e876dca4f8b4884593677271df0a30ca55618fcfc79d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.398
|
data/lib/v20201111/client.rb
CHANGED
@@ -208,6 +208,30 @@ module TencentCloud
|
|
208
208
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
209
209
|
end
|
210
210
|
|
211
|
+
# 创建出证报告,返回报告 URL
|
212
|
+
|
213
|
+
# @param request: Request instance for CreateFlowEvidenceReport.
|
214
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateFlowEvidenceReportRequest`
|
215
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateFlowEvidenceReportResponse`
|
216
|
+
def CreateFlowEvidenceReport(request)
|
217
|
+
body = send_request('CreateFlowEvidenceReport', request.serialize)
|
218
|
+
response = JSON.parse(body)
|
219
|
+
if response['Response'].key?('Error') == false
|
220
|
+
model = CreateFlowEvidenceReportResponse.new
|
221
|
+
model.deserialize(response['Response'])
|
222
|
+
model
|
223
|
+
else
|
224
|
+
code = response['Response']['Error']['Code']
|
225
|
+
message = response['Response']['Error']['Message']
|
226
|
+
reqid = response['Response']['RequestId']
|
227
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
228
|
+
end
|
229
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
230
|
+
raise e
|
231
|
+
rescue StandardError => e
|
232
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
233
|
+
end
|
234
|
+
|
211
235
|
# 提交企业签署流程审批结果
|
212
236
|
# 适用场景:
|
213
237
|
# 在通过接口(CreateFlow 或者CreateFlowByFiles)创建签署流程时,若指定了参数 NeedSignReview 为true,则可以调用此接口提交企业内部签署审批结果。
|
data/lib/v20201111/models.rb
CHANGED
@@ -505,7 +505,7 @@ module TencentCloud
|
|
505
505
|
# @type FlowId: String
|
506
506
|
# @param TemplateId: 用户上传的模板ID
|
507
507
|
# @type TemplateId: String
|
508
|
-
# @param FileNames:
|
508
|
+
# @param FileNames: 文件名列表,单个文件名最大长度200个字符,暂时仅支持单文件发起
|
509
509
|
# @type FileNames: Array
|
510
510
|
# @param FormFields: 内容控件信息数组
|
511
511
|
# @type FormFields: Array
|
@@ -588,7 +588,7 @@ module TencentCloud
|
|
588
588
|
# @type FlowName: String
|
589
589
|
# @param Approvers: 签署参与者信息,最大限制50方
|
590
590
|
# @type Approvers: Array
|
591
|
-
# @param FileIds: 签署pdf文件的资源编号列表,通过UploadFiles
|
591
|
+
# @param FileIds: 签署pdf文件的资源编号列表,通过UploadFiles接口获取,暂时仅支持单文件发起
|
592
592
|
# @type FileIds: Array
|
593
593
|
# @param FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
594
594
|
# @type FlowType: String
|
@@ -709,6 +709,49 @@ module TencentCloud
|
|
709
709
|
end
|
710
710
|
end
|
711
711
|
|
712
|
+
# CreateFlowEvidenceReport请求参数结构体
|
713
|
+
class CreateFlowEvidenceReportRequest < TencentCloud::Common::AbstractModel
|
714
|
+
# @param Operator: 调用方用户信息,userId 必填
|
715
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
716
|
+
# @param FlowId: 签署流程编号
|
717
|
+
# @type FlowId: String
|
718
|
+
|
719
|
+
attr_accessor :Operator, :FlowId
|
720
|
+
|
721
|
+
def initialize(operator=nil, flowid=nil)
|
722
|
+
@Operator = operator
|
723
|
+
@FlowId = flowid
|
724
|
+
end
|
725
|
+
|
726
|
+
def deserialize(params)
|
727
|
+
unless params['Operator'].nil?
|
728
|
+
@Operator = UserInfo.new
|
729
|
+
@Operator.deserialize(params['Operator'])
|
730
|
+
end
|
731
|
+
@FlowId = params['FlowId']
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
735
|
+
# CreateFlowEvidenceReport返回参数结构体
|
736
|
+
class CreateFlowEvidenceReportResponse < TencentCloud::Common::AbstractModel
|
737
|
+
# @param ReportUrl: 出证报告 URL(有效期5分钟)
|
738
|
+
# @type ReportUrl: String
|
739
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
740
|
+
# @type RequestId: String
|
741
|
+
|
742
|
+
attr_accessor :ReportUrl, :RequestId
|
743
|
+
|
744
|
+
def initialize(reporturl=nil, requestid=nil)
|
745
|
+
@ReportUrl = reporturl
|
746
|
+
@RequestId = requestid
|
747
|
+
end
|
748
|
+
|
749
|
+
def deserialize(params)
|
750
|
+
@ReportUrl = params['ReportUrl']
|
751
|
+
@RequestId = params['RequestId']
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
712
755
|
# CreateFlow请求参数结构体
|
713
756
|
class CreateFlowRequest < TencentCloud::Common::AbstractModel
|
714
757
|
# @param Operator: 调用方用户信息,userId 必填
|
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.398
|
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-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|