tencentcloud-sdk-ess 3.0.498 → 3.0.499
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 +28 -0
- data/lib/v20201111/models.rb +74 -0
- 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: 122c8fbbceecd414f1a62d6881ac156f51288676
|
4
|
+
data.tar.gz: 06b198991cbe8af81b498ba6d8c868544d2f4060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0fd2fb246da444f5d81956a2d29cc0304a8176ad9a97cd8c482b4901928ad201005fa325fd021d6c2d76b5f4dd481ee4e08a2e898b9e4035a5171bbf48c1592
|
7
|
+
data.tar.gz: bfb7c9a992f6a9049727409cdf15ba64702ab479193603baa0ab4af266fb3e1c8d95eb174805eb4ac3feedf8529b76eb6f1fd919fffb7bb250b96a15f1787183
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.499
|
data/lib/v20201111/client.rb
CHANGED
@@ -261,6 +261,34 @@ module TencentCloud
|
|
261
261
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
262
262
|
end
|
263
263
|
|
264
|
+
# 指定需要批量撤销的签署流程Id,批量催办合同
|
265
|
+
# 客户指定需要撤销的签署流程Id,最多100个;接口失败后返回错误信息
|
266
|
+
# 注意:
|
267
|
+
# 能撤回合同的只能是合同的发起人或者签署人
|
268
|
+
# 该接口需要开白后使用
|
269
|
+
|
270
|
+
# @param request: Request instance for CreateFlowReminds.
|
271
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateFlowRemindsRequest`
|
272
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateFlowRemindsResponse`
|
273
|
+
def CreateFlowReminds(request)
|
274
|
+
body = send_request('CreateFlowReminds', request.serialize)
|
275
|
+
response = JSON.parse(body)
|
276
|
+
if response['Response'].key?('Error') == false
|
277
|
+
model = CreateFlowRemindsResponse.new
|
278
|
+
model.deserialize(response['Response'])
|
279
|
+
model
|
280
|
+
else
|
281
|
+
code = response['Response']['Error']['Code']
|
282
|
+
message = response['Response']['Error']['Message']
|
283
|
+
reqid = response['Response']['RequestId']
|
284
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
285
|
+
end
|
286
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
287
|
+
raise e
|
288
|
+
rescue StandardError => e
|
289
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
290
|
+
end
|
291
|
+
|
264
292
|
# 提交企业签署流程审批结果
|
265
293
|
# 适用场景:
|
266
294
|
# 在通过接口(CreateFlow 或者CreateFlowByFiles)创建签署流程时,若指定了参数 NeedSignReview 为true,且发起方企业作为签署方参与了流程签署,则可以调用此接口提交企业内部签署审批结果。
|
data/lib/v20201111/models.rb
CHANGED
@@ -1002,6 +1002,56 @@ module TencentCloud
|
|
1002
1002
|
end
|
1003
1003
|
end
|
1004
1004
|
|
1005
|
+
# CreateFlowReminds请求参数结构体
|
1006
|
+
class CreateFlowRemindsRequest < TencentCloud::Common::AbstractModel
|
1007
|
+
# @param Operator: 调用方用户信息,userId 必填
|
1008
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1009
|
+
# @param FlowIds: 需要执行撤回的签署流程id数组,最多100个
|
1010
|
+
# @type FlowIds: Array
|
1011
|
+
|
1012
|
+
attr_accessor :Operator, :FlowIds
|
1013
|
+
|
1014
|
+
def initialize(operator=nil, flowids=nil)
|
1015
|
+
@Operator = operator
|
1016
|
+
@FlowIds = flowids
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
def deserialize(params)
|
1020
|
+
unless params['Operator'].nil?
|
1021
|
+
@Operator = UserInfo.new
|
1022
|
+
@Operator.deserialize(params['Operator'])
|
1023
|
+
end
|
1024
|
+
@FlowIds = params['FlowIds']
|
1025
|
+
end
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
# CreateFlowReminds返回参数结构体
|
1029
|
+
class CreateFlowRemindsResponse < TencentCloud::Common::AbstractModel
|
1030
|
+
# @param RemindFlowRecords: 签署连接过期时间字符串:年月日-时分秒
|
1031
|
+
# @type RemindFlowRecords: Array
|
1032
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1033
|
+
# @type RequestId: String
|
1034
|
+
|
1035
|
+
attr_accessor :RemindFlowRecords, :RequestId
|
1036
|
+
|
1037
|
+
def initialize(remindflowrecords=nil, requestid=nil)
|
1038
|
+
@RemindFlowRecords = remindflowrecords
|
1039
|
+
@RequestId = requestid
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
def deserialize(params)
|
1043
|
+
unless params['RemindFlowRecords'].nil?
|
1044
|
+
@RemindFlowRecords = []
|
1045
|
+
params['RemindFlowRecords'].each do |i|
|
1046
|
+
remindflowrecords_tmp = RemindFlowRecords.new
|
1047
|
+
remindflowrecords_tmp.deserialize(i)
|
1048
|
+
@RemindFlowRecords << remindflowrecords_tmp
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
@RequestId = params['RequestId']
|
1052
|
+
end
|
1053
|
+
end
|
1054
|
+
|
1005
1055
|
# CreateFlow请求参数结构体
|
1006
1056
|
class CreateFlowRequest < TencentCloud::Common::AbstractModel
|
1007
1057
|
# @param Operator: 调用方用户信息,userId 必填
|
@@ -3169,6 +3219,30 @@ module TencentCloud
|
|
3169
3219
|
end
|
3170
3220
|
end
|
3171
3221
|
|
3222
|
+
# 催办接口返回详细信息
|
3223
|
+
class RemindFlowRecords < TencentCloud::Common::AbstractModel
|
3224
|
+
# @param CanRemind: 是否能够催办
|
3225
|
+
# @type CanRemind: Boolean
|
3226
|
+
# @param FlowId: 合同id
|
3227
|
+
# @type FlowId: String
|
3228
|
+
# @param RemindMessage: 催办详情
|
3229
|
+
# @type RemindMessage: String
|
3230
|
+
|
3231
|
+
attr_accessor :CanRemind, :FlowId, :RemindMessage
|
3232
|
+
|
3233
|
+
def initialize(canremind=nil, flowid=nil, remindmessage=nil)
|
3234
|
+
@CanRemind = canremind
|
3235
|
+
@FlowId = flowid
|
3236
|
+
@RemindMessage = remindmessage
|
3237
|
+
end
|
3238
|
+
|
3239
|
+
def deserialize(params)
|
3240
|
+
@CanRemind = params['CanRemind']
|
3241
|
+
@FlowId = params['FlowId']
|
3242
|
+
@RemindMessage = params['RemindMessage']
|
3243
|
+
end
|
3244
|
+
end
|
3245
|
+
|
3172
3246
|
# 一码多扫签署二维码对象
|
3173
3247
|
class SignQrCode < TencentCloud::Common::AbstractModel
|
3174
3248
|
# @param QrCodeId: 二维码id
|
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.499
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01
|
11
|
+
date: 2023-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|