tencentcloud-sdk-ess 3.0.755 → 3.0.756
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 +37 -2
- data/lib/v20201111/models.rb +77 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d53a8719dfa7df3a9bf0be317a98bd255f9ae648
|
4
|
+
data.tar.gz: 8aa1e2b26d1da12a91997760dc0154ec2cd52782
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1af94f60d9ab386e1b6d13aa77e1298b64d66eeab456a8a9cc58726fa80fb20272dc3f3c47a1ac4926cab1d1f6ee364a3861b828ca47aa0654c14355e20cb2e7
|
7
|
+
data.tar.gz: 022f6b544dacb1c42eb46ccc55c6dd9985809528f0aa67609bb7788cda1a0f8cd8365e276eb51b3c28a75652ec822e0ac8a98b9a06615f96e667ddc0fd4c73a5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.756
|
data/lib/v20201111/client.rb
CHANGED
@@ -378,8 +378,9 @@ module TencentCloud
|
|
378
378
|
# 注:**静默(自动)签署不支持合同签署方存在填写**功能
|
379
379
|
# <br>
|
380
380
|
|
381
|
-
# <font color="red">相关视频指引</font>
|
382
|
-
# <a href="https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4" target="_blank">创建静默(自动)签署模板和开通自动签署</a>
|
381
|
+
# <font color="red">相关视频指引</font> <br>
|
382
|
+
# 1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4" target="_blank">创建静默(自动)签署模板和开通自动签署</a><br>
|
383
|
+
# 2. <a href="https://dyn.ess.tencent.cn/guide/apivideo/flow_document_start.mp4" target="_blank">用模版创建发起合同</a><br>
|
383
384
|
|
384
385
|
# @param request: Request instance for CreateFlow.
|
385
386
|
# @type request: :class:`Tencentcloud::ess::V20201111::CreateFlowRequest`
|
@@ -2017,6 +2018,40 @@ module TencentCloud
|
|
2017
2018
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2018
2019
|
end
|
2019
2020
|
|
2021
|
+
# 在已发起的签署流程中,我们支持对签署截止日期进行延期操作,主要涉及以下两个维度:
|
2022
|
+
# 1. 合同(流程)维度:只需要传递流程ID,无需传递签署人ID。这将对尚未设定签署截止时间的合同(流程)和发起合同(流程)时的签署人进行延期操作。
|
2023
|
+
# 2. 签署人维度:需要传递流程ID和签署人ID。此操作将对签署人进行延期操作,尤其对于有序的合同(流程),签署截止时间不能超过后一位合同(流程)签署人的流程截止时间。
|
2024
|
+
|
2025
|
+
# 此接口有如下限制条件:
|
2026
|
+
# 1. 执行操作的员工需为发起方企业的超级管理员、法定代表人或签署流程的发起人。
|
2027
|
+
# 2. 在延长整个签署流程时,签署流程应至少还有一方未签署(即签署流程不能处于已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态)。
|
2028
|
+
# 3. 在延长整个签署流程时,新的签署截止日期应晚于合同已设定的签署截止日期和当前日期。
|
2029
|
+
# 4. 在延长签署方的截止时间时,签署方不能处于流程完结或已终止状态(即签署人不能处于已签署、已拒签、已过期、已撤回、拒绝填写、已解除等状态)。
|
2030
|
+
# 5. 在延长签署方的截止时间时,签署方的新签署截止日期应晚于当前日期和签署方已设定的截止日期。若为有序合同,还应早于或等于下一签署人的截止日期,且早于签署流程整体的截止日期。
|
2031
|
+
# 6. 不支持操作合同组合同。
|
2032
|
+
|
2033
|
+
# @param request: Request instance for ModifyFlowDeadline.
|
2034
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::ModifyFlowDeadlineRequest`
|
2035
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::ModifyFlowDeadlineResponse`
|
2036
|
+
def ModifyFlowDeadline(request)
|
2037
|
+
body = send_request('ModifyFlowDeadline', request.serialize)
|
2038
|
+
response = JSON.parse(body)
|
2039
|
+
if response['Response'].key?('Error') == false
|
2040
|
+
model = ModifyFlowDeadlineResponse.new
|
2041
|
+
model.deserialize(response['Response'])
|
2042
|
+
model
|
2043
|
+
else
|
2044
|
+
code = response['Response']['Error']['Code']
|
2045
|
+
message = response['Response']['Error']['Message']
|
2046
|
+
reqid = response['Response']['RequestId']
|
2047
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2048
|
+
end
|
2049
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2050
|
+
raise e
|
2051
|
+
rescue StandardError => e
|
2052
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2053
|
+
end
|
2054
|
+
|
2020
2055
|
# 此接口(ModifyIntegrationDepartment)用于更新企业的部门信息,支持更新部门名称、客户系统部门ID和部门序号等信息。
|
2021
2056
|
|
2022
2057
|
# @param request: Request instance for ModifyIntegrationDepartment.
|
data/lib/v20201111/models.rb
CHANGED
@@ -216,10 +216,14 @@ module TencentCloud
|
|
216
216
|
# @type AddSignComponentsLimits: Array
|
217
217
|
# @param SignInstructionContent: 签署须知:支持传入富文本,最长字数:500个中文字符
|
218
218
|
# @type SignInstructionContent: String
|
219
|
+
# @param Deadline: 签署人的签署截止时间,格式为Unix标准时间戳(秒)
|
219
220
|
|
220
|
-
|
221
|
+
# 注: `若不设置此参数,则默认使用合同的截止时间,此参数暂不支持合同组子合同`
|
222
|
+
# @type Deadline: Integer
|
223
|
+
|
224
|
+
attr_accessor :ApproverType, :ApproverName, :ApproverMobile, :OrganizationName, :SignComponents, :ApproverIdCardType, :ApproverIdCardNumber, :NotifyType, :ApproverRole, :ApproverRoleName, :VerifyChannel, :PreReadTime, :UserId, :ApproverSource, :CustomApproverTag, :ApproverOption, :ApproverVerifyTypes, :ApproverSignTypes, :ApproverNeedSignReview, :AddSignComponentsLimits, :SignInstructionContent, :Deadline
|
221
225
|
|
222
|
-
def initialize(approvertype=nil, approvername=nil, approvermobile=nil, organizationname=nil, signcomponents=nil, approveridcardtype=nil, approveridcardnumber=nil, notifytype=nil, approverrole=nil, approverrolename=nil, verifychannel=nil, prereadtime=nil, userid=nil, approversource=nil, customapprovertag=nil, approveroption=nil, approververifytypes=nil, approversigntypes=nil, approverneedsignreview=nil, addsigncomponentslimits=nil, signinstructioncontent=nil)
|
226
|
+
def initialize(approvertype=nil, approvername=nil, approvermobile=nil, organizationname=nil, signcomponents=nil, approveridcardtype=nil, approveridcardnumber=nil, notifytype=nil, approverrole=nil, approverrolename=nil, verifychannel=nil, prereadtime=nil, userid=nil, approversource=nil, customapprovertag=nil, approveroption=nil, approververifytypes=nil, approversigntypes=nil, approverneedsignreview=nil, addsigncomponentslimits=nil, signinstructioncontent=nil, deadline=nil)
|
223
227
|
@ApproverType = approvertype
|
224
228
|
@ApproverName = approvername
|
225
229
|
@ApproverMobile = approvermobile
|
@@ -241,6 +245,7 @@ module TencentCloud
|
|
241
245
|
@ApproverNeedSignReview = approverneedsignreview
|
242
246
|
@AddSignComponentsLimits = addsigncomponentslimits
|
243
247
|
@SignInstructionContent = signinstructioncontent
|
248
|
+
@Deadline = deadline
|
244
249
|
end
|
245
250
|
|
246
251
|
def deserialize(params)
|
@@ -282,6 +287,7 @@ module TencentCloud
|
|
282
287
|
end
|
283
288
|
end
|
284
289
|
@SignInstructionContent = params['SignInstructionContent']
|
290
|
+
@Deadline = params['Deadline']
|
285
291
|
end
|
286
292
|
end
|
287
293
|
|
@@ -7199,13 +7205,18 @@ module TencentCloud
|
|
7199
7205
|
# 注:
|
7200
7206
|
# `不指定该值时,默认为签署方自行选择。`
|
7201
7207
|
# @type SignTypeSelector: Integer
|
7208
|
+
# @param Deadline: Deadline
|
7209
|
+
# 签署人的签署截止时间,格式为Unix标准时间戳(秒)
|
7202
7210
|
|
7203
|
-
|
7211
|
+
# 注: `若不设置此参数,则默认使用合同的截止时间,此参数暂不支持合同组子合同`
|
7212
|
+
# @type Deadline: Integer
|
7213
|
+
|
7214
|
+
attr_accessor :ApproverType, :OrganizationName, :ApproverName, :ApproverMobile, :ApproverIdCardType, :ApproverIdCardNumber, :RecipientId, :VerifyChannel, :NotifyType, :IsFullText, :PreReadTime, :UserId, :Required, :ApproverSource, :CustomApproverTag, :RegisterInfo, :ApproverOption, :JumpUrl, :SignId, :ApproverNeedSignReview, :SignComponents, :Components, :ComponentLimitType, :ApproverVerifyTypes, :ApproverSignTypes, :SignTypeSelector, :Deadline
|
7204
7215
|
extend Gem::Deprecate
|
7205
7216
|
deprecate :JumpUrl, :none, 2024, 1
|
7206
7217
|
deprecate :JumpUrl=, :none, 2024, 1
|
7207
7218
|
|
7208
|
-
def initialize(approvertype=nil, organizationname=nil, approvername=nil, approvermobile=nil, approveridcardtype=nil, approveridcardnumber=nil, recipientid=nil, verifychannel=nil, notifytype=nil, isfulltext=nil, prereadtime=nil, userid=nil, required=nil, approversource=nil, customapprovertag=nil, registerinfo=nil, approveroption=nil, jumpurl=nil, signid=nil, approverneedsignreview=nil, signcomponents=nil, components=nil, componentlimittype=nil, approververifytypes=nil, approversigntypes=nil, signtypeselector=nil)
|
7219
|
+
def initialize(approvertype=nil, organizationname=nil, approvername=nil, approvermobile=nil, approveridcardtype=nil, approveridcardnumber=nil, recipientid=nil, verifychannel=nil, notifytype=nil, isfulltext=nil, prereadtime=nil, userid=nil, required=nil, approversource=nil, customapprovertag=nil, registerinfo=nil, approveroption=nil, jumpurl=nil, signid=nil, approverneedsignreview=nil, signcomponents=nil, components=nil, componentlimittype=nil, approververifytypes=nil, approversigntypes=nil, signtypeselector=nil, deadline=nil)
|
7209
7220
|
@ApproverType = approvertype
|
7210
7221
|
@OrganizationName = organizationname
|
7211
7222
|
@ApproverName = approvername
|
@@ -7232,6 +7243,7 @@ module TencentCloud
|
|
7232
7243
|
@ApproverVerifyTypes = approververifytypes
|
7233
7244
|
@ApproverSignTypes = approversigntypes
|
7234
7245
|
@SignTypeSelector = signtypeselector
|
7246
|
+
@Deadline = deadline
|
7235
7247
|
end
|
7236
7248
|
|
7237
7249
|
def deserialize(params)
|
@@ -7281,6 +7293,7 @@ module TencentCloud
|
|
7281
7293
|
@ApproverVerifyTypes = params['ApproverVerifyTypes']
|
7282
7294
|
@ApproverSignTypes = params['ApproverSignTypes']
|
7283
7295
|
@SignTypeSelector = params['SignTypeSelector']
|
7296
|
+
@Deadline = params['Deadline']
|
7284
7297
|
end
|
7285
7298
|
end
|
7286
7299
|
|
@@ -8250,6 +8263,66 @@ module TencentCloud
|
|
8250
8263
|
end
|
8251
8264
|
end
|
8252
8265
|
|
8266
|
+
# ModifyFlowDeadline请求参数结构体
|
8267
|
+
class ModifyFlowDeadlineRequest < TencentCloud::Common::AbstractModel
|
8268
|
+
# @param Operator: 执行本接口操作的员工信息。
|
8269
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
8270
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
8271
|
+
# @param FlowId: 合同流程ID,为32位字符串。
|
8272
|
+
# <ul><li>建议开发者妥善保存此流程ID,以便于顺利进行后续操作。</li>
|
8273
|
+
# <li>可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。</li></ul>
|
8274
|
+
# @type FlowId: String
|
8275
|
+
# @param Deadline: 签署流程或签署人新的签署截止时间,格式为Unix标准时间戳(秒)
|
8276
|
+
# @type Deadline: Integer
|
8277
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
8278
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
8279
|
+
# @param RecipientId: 签署方角色编号,为32位字符串
|
8280
|
+
# <ul><li>若指定了此参数,则只调整签署流程中此签署人的签署截止时间,否则调整合同整体的签署截止时间(合同截止时间+发起时未设置签署人截止时间的参与人的签署截止时间)</li>
|
8281
|
+
# <li>通过[用PDF文件创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowByFiles)发起合同,或通过[模板发起合同-创建电子文档](https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument)时,返回参数[Approvers](https://qian.tencent.com/developers/companyApis/dataTypes/#approveritem)会返回此信息,建议开发者妥善保存</li>
|
8282
|
+
# <li>也可通过[查询合同流程的详情信息](https://qian.tencent.com/developers/companyApis/queryFlows/DescribeFlowInfo)接口查询签署人的RecipientId编号</li></ul>
|
8283
|
+
# @type RecipientId: String
|
8284
|
+
|
8285
|
+
attr_accessor :Operator, :FlowId, :Deadline, :Agent, :RecipientId
|
8286
|
+
|
8287
|
+
def initialize(operator=nil, flowid=nil, deadline=nil, agent=nil, recipientid=nil)
|
8288
|
+
@Operator = operator
|
8289
|
+
@FlowId = flowid
|
8290
|
+
@Deadline = deadline
|
8291
|
+
@Agent = agent
|
8292
|
+
@RecipientId = recipientid
|
8293
|
+
end
|
8294
|
+
|
8295
|
+
def deserialize(params)
|
8296
|
+
unless params['Operator'].nil?
|
8297
|
+
@Operator = UserInfo.new
|
8298
|
+
@Operator.deserialize(params['Operator'])
|
8299
|
+
end
|
8300
|
+
@FlowId = params['FlowId']
|
8301
|
+
@Deadline = params['Deadline']
|
8302
|
+
unless params['Agent'].nil?
|
8303
|
+
@Agent = Agent.new
|
8304
|
+
@Agent.deserialize(params['Agent'])
|
8305
|
+
end
|
8306
|
+
@RecipientId = params['RecipientId']
|
8307
|
+
end
|
8308
|
+
end
|
8309
|
+
|
8310
|
+
# ModifyFlowDeadline返回参数结构体
|
8311
|
+
class ModifyFlowDeadlineResponse < TencentCloud::Common::AbstractModel
|
8312
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8313
|
+
# @type RequestId: String
|
8314
|
+
|
8315
|
+
attr_accessor :RequestId
|
8316
|
+
|
8317
|
+
def initialize(requestid=nil)
|
8318
|
+
@RequestId = requestid
|
8319
|
+
end
|
8320
|
+
|
8321
|
+
def deserialize(params)
|
8322
|
+
@RequestId = params['RequestId']
|
8323
|
+
end
|
8324
|
+
end
|
8325
|
+
|
8253
8326
|
# ModifyIntegrationDepartment请求参数结构体
|
8254
8327
|
class ModifyIntegrationDepartmentRequest < TencentCloud::Common::AbstractModel
|
8255
8328
|
# @param Operator: 执行本接口操作的员工信息。
|
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.756
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20201111/client.rb
|
37
36
|
- lib/v20201111/models.rb
|
37
|
+
- lib/v20201111/client.rb
|
38
38
|
- lib/tencentcloud-sdk-ess.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|