tencentcloud-sdk-ess 3.0.789 → 3.0.790
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +1 -1
- data/lib/v20201111/models.rb +125 -16
- 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: 30d9a4121be5434d2c14a5a7c6b52e2dd716c3c5
|
4
|
+
data.tar.gz: 47471464e774b3aae90255b04a6538f48499af4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73b1b55c2f6bd54f36fb85654df148f12d113a9ae21c1da75ec01390e0089ea68f97af8654777e1343a395d5cda0af41a42806ccd47853bd2796bcc8ff9befbf
|
7
|
+
data.tar.gz: 06db87770d7b859e1f3c5c481126d1321387bd8a2bf3d1ef4507b5f4e3106cd9c59d5f0518456b99d1ace1783663adac9b973497abddd0802acc90c7acd409c5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.790
|
data/lib/v20201111/client.rb
CHANGED
@@ -2281,7 +2281,7 @@ module TencentCloud
|
|
2281
2281
|
# 注:
|
2282
2282
|
# 1.<font color="red">合同发起后就会扣减合同的额度</font>, 只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。(过期,拒签,签署完成,解除完成等状态不会返还额度)
|
2283
2283
|
|
2284
|
-
# 2.<font color="red"
|
2284
|
+
# 2.<font color="red">静默(自动)签署不支持非本企业合同签署方存在填写</font>功能
|
2285
2285
|
|
2286
2286
|
# 3.<font color="red">在发起签署流程之前,建议等待 [PDF合成完成的回调](https://qian.tencent.com/developers/company/callback_types_file_resources)</font>,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。
|
2287
2287
|
|
data/lib/v20201111/models.rb
CHANGED
@@ -1962,16 +1962,16 @@ module TencentCloud
|
|
1962
1962
|
# @param Operator: 执行本接口操作的员工信息。
|
1963
1963
|
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
1964
1964
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1965
|
-
# @param FlowId: 合同流程ID,为32位字符串。
|
1966
|
-
# 建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
|
1967
|
-
# 可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
|
1968
|
-
# @type FlowId: String
|
1969
1965
|
# @param Approvers: 补充企业签署人信息。
|
1970
1966
|
|
1971
1967
|
# - 如果发起方指定的补充签署人是企业微信签署人(ApproverSource=WEWORKAPP),则需要提供企业微信UserId进行补充;
|
1972
1968
|
|
1973
1969
|
# - 如果不指定,则使用姓名和手机号进行补充。
|
1974
1970
|
# @type Approvers: Array
|
1971
|
+
# @param FlowId: 合同流程ID,为32位字符串。
|
1972
|
+
# 建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
|
1973
|
+
# 可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
|
1974
|
+
# @type FlowId: String
|
1975
1975
|
# @param FillApproverType: 签署人信息补充方式
|
1976
1976
|
|
1977
1977
|
# <ul><li>**0**: 添加或签人候选人,或签支持一个节点传多个签署人,不传值默认或签。
|
@@ -1983,16 +1983,19 @@ module TencentCloud
|
|
1983
1983
|
# @param Agent: 代理企业和员工的信息。
|
1984
1984
|
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
1985
1985
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1986
|
+
# @param FlowGroupId: 合同流程组的组ID, 在合同流程组场景下,生成合同流程组的签署链接时需要赋值
|
1987
|
+
# @type FlowGroupId: String
|
1986
1988
|
|
1987
|
-
attr_accessor :Operator, :
|
1989
|
+
attr_accessor :Operator, :Approvers, :FlowId, :FillApproverType, :Initiator, :Agent, :FlowGroupId
|
1988
1990
|
|
1989
|
-
def initialize(operator=nil,
|
1991
|
+
def initialize(operator=nil, approvers=nil, flowid=nil, fillapprovertype=nil, initiator=nil, agent=nil, flowgroupid=nil)
|
1990
1992
|
@Operator = operator
|
1991
|
-
@FlowId = flowid
|
1992
1993
|
@Approvers = approvers
|
1994
|
+
@FlowId = flowid
|
1993
1995
|
@FillApproverType = fillapprovertype
|
1994
1996
|
@Initiator = initiator
|
1995
1997
|
@Agent = agent
|
1998
|
+
@FlowGroupId = flowgroupid
|
1996
1999
|
end
|
1997
2000
|
|
1998
2001
|
def deserialize(params)
|
@@ -2000,7 +2003,6 @@ module TencentCloud
|
|
2000
2003
|
@Operator = UserInfo.new
|
2001
2004
|
@Operator.deserialize(params['Operator'])
|
2002
2005
|
end
|
2003
|
-
@FlowId = params['FlowId']
|
2004
2006
|
unless params['Approvers'].nil?
|
2005
2007
|
@Approvers = []
|
2006
2008
|
params['Approvers'].each do |i|
|
@@ -2009,12 +2011,14 @@ module TencentCloud
|
|
2009
2011
|
@Approvers << fillapproverinfo_tmp
|
2010
2012
|
end
|
2011
2013
|
end
|
2014
|
+
@FlowId = params['FlowId']
|
2012
2015
|
@FillApproverType = params['FillApproverType']
|
2013
2016
|
@Initiator = params['Initiator']
|
2014
2017
|
unless params['Agent'].nil?
|
2015
2018
|
@Agent = Agent.new
|
2016
2019
|
@Agent.deserialize(params['Agent'])
|
2017
2020
|
end
|
2021
|
+
@FlowGroupId = params['FlowGroupId']
|
2018
2022
|
end
|
2019
2023
|
end
|
2020
2024
|
|
@@ -2415,20 +2419,31 @@ module TencentCloud
|
|
2415
2419
|
# @param FlowIds: 合同(流程)组中子合同列表.
|
2416
2420
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2417
2421
|
# @type FlowIds: Array
|
2422
|
+
# @param Approvers: 合同组签署方信息。
|
2423
|
+
# @type Approvers: Array
|
2418
2424
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2419
2425
|
# @type RequestId: String
|
2420
2426
|
|
2421
|
-
attr_accessor :FlowGroupId, :FlowIds, :RequestId
|
2427
|
+
attr_accessor :FlowGroupId, :FlowIds, :Approvers, :RequestId
|
2422
2428
|
|
2423
|
-
def initialize(flowgroupid=nil, flowids=nil, requestid=nil)
|
2429
|
+
def initialize(flowgroupid=nil, flowids=nil, approvers=nil, requestid=nil)
|
2424
2430
|
@FlowGroupId = flowgroupid
|
2425
2431
|
@FlowIds = flowids
|
2432
|
+
@Approvers = approvers
|
2426
2433
|
@RequestId = requestid
|
2427
2434
|
end
|
2428
2435
|
|
2429
2436
|
def deserialize(params)
|
2430
2437
|
@FlowGroupId = params['FlowGroupId']
|
2431
2438
|
@FlowIds = params['FlowIds']
|
2439
|
+
unless params['Approvers'].nil?
|
2440
|
+
@Approvers = []
|
2441
|
+
params['Approvers'].each do |i|
|
2442
|
+
flowgroupapprovers_tmp = FlowGroupApprovers.new
|
2443
|
+
flowgroupapprovers_tmp.deserialize(i)
|
2444
|
+
@Approvers << flowgroupapprovers_tmp
|
2445
|
+
end
|
2446
|
+
end
|
2432
2447
|
@RequestId = params['RequestId']
|
2433
2448
|
end
|
2434
2449
|
end
|
@@ -2496,20 +2511,31 @@ module TencentCloud
|
|
2496
2511
|
# @param FlowIds: 合同(流程)组中子合同列表.
|
2497
2512
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2498
2513
|
# @type FlowIds: Array
|
2514
|
+
# @param Approvers: 合同组签署人信息。
|
2515
|
+
# @type Approvers: Array
|
2499
2516
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2500
2517
|
# @type RequestId: String
|
2501
2518
|
|
2502
|
-
attr_accessor :FlowGroupId, :FlowIds, :RequestId
|
2519
|
+
attr_accessor :FlowGroupId, :FlowIds, :Approvers, :RequestId
|
2503
2520
|
|
2504
|
-
def initialize(flowgroupid=nil, flowids=nil, requestid=nil)
|
2521
|
+
def initialize(flowgroupid=nil, flowids=nil, approvers=nil, requestid=nil)
|
2505
2522
|
@FlowGroupId = flowgroupid
|
2506
2523
|
@FlowIds = flowids
|
2524
|
+
@Approvers = approvers
|
2507
2525
|
@RequestId = requestid
|
2508
2526
|
end
|
2509
2527
|
|
2510
2528
|
def deserialize(params)
|
2511
2529
|
@FlowGroupId = params['FlowGroupId']
|
2512
2530
|
@FlowIds = params['FlowIds']
|
2531
|
+
unless params['Approvers'].nil?
|
2532
|
+
@Approvers = []
|
2533
|
+
params['Approvers'].each do |i|
|
2534
|
+
flowgroupapprovers_tmp = FlowGroupApprovers.new
|
2535
|
+
flowgroupapprovers_tmp.deserialize(i)
|
2536
|
+
@Approvers << flowgroupapprovers_tmp
|
2537
|
+
end
|
2538
|
+
end
|
2513
2539
|
@RequestId = params['RequestId']
|
2514
2540
|
end
|
2515
2541
|
end
|
@@ -4289,10 +4315,12 @@ module TencentCloud
|
|
4289
4315
|
|
4290
4316
|
# 注:`生成动态签署人补充链接时必传。`
|
4291
4317
|
# @type RecipientId: String
|
4318
|
+
# @param FlowGroupUrlInfo: 合同组相关信息,指定合同组子合同和签署方的信息,用于补充动态签署人。
|
4319
|
+
# @type FlowGroupUrlInfo: :class:`Tencentcloud::Ess.v20201111.models.FlowGroupUrlInfo`
|
4292
4320
|
|
4293
|
-
attr_accessor :Operator, :OrganizationName, :Name, :Mobile, :IdCardType, :IdCardNumber, :EndPoint, :FlowId, :FlowGroupId, :PathType, :AutoJumpBack, :Agent, :Hides, :RecipientId
|
4321
|
+
attr_accessor :Operator, :OrganizationName, :Name, :Mobile, :IdCardType, :IdCardNumber, :EndPoint, :FlowId, :FlowGroupId, :PathType, :AutoJumpBack, :Agent, :Hides, :RecipientId, :FlowGroupUrlInfo
|
4294
4322
|
|
4295
|
-
def initialize(operator=nil, organizationname=nil, name=nil, mobile=nil, idcardtype=nil, idcardnumber=nil, endpoint=nil, flowid=nil, flowgroupid=nil, pathtype=nil, autojumpback=nil, agent=nil, hides=nil, recipientid=nil)
|
4323
|
+
def initialize(operator=nil, organizationname=nil, name=nil, mobile=nil, idcardtype=nil, idcardnumber=nil, endpoint=nil, flowid=nil, flowgroupid=nil, pathtype=nil, autojumpback=nil, agent=nil, hides=nil, recipientid=nil, flowgroupurlinfo=nil)
|
4296
4324
|
@Operator = operator
|
4297
4325
|
@OrganizationName = organizationname
|
4298
4326
|
@Name = name
|
@@ -4307,6 +4335,7 @@ module TencentCloud
|
|
4307
4335
|
@Agent = agent
|
4308
4336
|
@Hides = hides
|
4309
4337
|
@RecipientId = recipientid
|
4338
|
+
@FlowGroupUrlInfo = flowgroupurlinfo
|
4310
4339
|
end
|
4311
4340
|
|
4312
4341
|
def deserialize(params)
|
@@ -4330,6 +4359,10 @@ module TencentCloud
|
|
4330
4359
|
end
|
4331
4360
|
@Hides = params['Hides']
|
4332
4361
|
@RecipientId = params['RecipientId']
|
4362
|
+
unless params['FlowGroupUrlInfo'].nil?
|
4363
|
+
@FlowGroupUrlInfo = FlowGroupUrlInfo.new
|
4364
|
+
@FlowGroupUrlInfo.deserialize(params['FlowGroupUrlInfo'])
|
4365
|
+
end
|
4333
4366
|
end
|
4334
4367
|
end
|
4335
4368
|
|
@@ -7149,10 +7182,12 @@ module TencentCloud
|
|
7149
7182
|
|
7150
7183
|
# 注:`补充个人签署方时,若该用户已在电子签完成实名则可通过指定姓名和证件类型、证件号码完成补充。`
|
7151
7184
|
# @type ApproverIdCardNumber: String
|
7185
|
+
# @param FlowId: 合同流程ID,补充合同组子合同动态签署人时必传。
|
7186
|
+
# @type FlowId: String
|
7152
7187
|
|
7153
|
-
attr_accessor :RecipientId, :ApproverSource, :CustomUserId, :ApproverName, :ApproverMobile, :OrganizationName, :ApproverIdCardType, :ApproverIdCardNumber
|
7188
|
+
attr_accessor :RecipientId, :ApproverSource, :CustomUserId, :ApproverName, :ApproverMobile, :OrganizationName, :ApproverIdCardType, :ApproverIdCardNumber, :FlowId
|
7154
7189
|
|
7155
|
-
def initialize(recipientid=nil, approversource=nil, customuserid=nil, approvername=nil, approvermobile=nil, organizationname=nil, approveridcardtype=nil, approveridcardnumber=nil)
|
7190
|
+
def initialize(recipientid=nil, approversource=nil, customuserid=nil, approvername=nil, approvermobile=nil, organizationname=nil, approveridcardtype=nil, approveridcardnumber=nil, flowid=nil)
|
7156
7191
|
@RecipientId = recipientid
|
7157
7192
|
@ApproverSource = approversource
|
7158
7193
|
@CustomUserId = customuserid
|
@@ -7161,6 +7196,7 @@ module TencentCloud
|
|
7161
7196
|
@OrganizationName = organizationname
|
7162
7197
|
@ApproverIdCardType = approveridcardtype
|
7163
7198
|
@ApproverIdCardNumber = approveridcardnumber
|
7199
|
+
@FlowId = flowid
|
7164
7200
|
end
|
7165
7201
|
|
7166
7202
|
def deserialize(params)
|
@@ -7172,6 +7208,7 @@ module TencentCloud
|
|
7172
7208
|
@OrganizationName = params['OrganizationName']
|
7173
7209
|
@ApproverIdCardType = params['ApproverIdCardType']
|
7174
7210
|
@ApproverIdCardNumber = params['ApproverIdCardNumber']
|
7211
|
+
@FlowId = params['FlowId']
|
7175
7212
|
end
|
7176
7213
|
end
|
7177
7214
|
|
@@ -7777,6 +7814,55 @@ module TencentCloud
|
|
7777
7814
|
end
|
7778
7815
|
end
|
7779
7816
|
|
7817
|
+
# 合同组相关信息,指定合同组子合同和签署方的信息,用于补充动态签署人。
|
7818
|
+
class FlowGroupApproverInfo < TencentCloud::Common::AbstractModel
|
7819
|
+
# @param FlowId: 合同流程ID。
|
7820
|
+
# @type FlowId: String
|
7821
|
+
# @param RecipientId: 签署节点ID,用于生成动态签署人链接完成领取。注:`生成动态签署人补充链接时必传。`
|
7822
|
+
# @type RecipientId: String
|
7823
|
+
|
7824
|
+
attr_accessor :FlowId, :RecipientId
|
7825
|
+
|
7826
|
+
def initialize(flowid=nil, recipientid=nil)
|
7827
|
+
@FlowId = flowid
|
7828
|
+
@RecipientId = recipientid
|
7829
|
+
end
|
7830
|
+
|
7831
|
+
def deserialize(params)
|
7832
|
+
@FlowId = params['FlowId']
|
7833
|
+
@RecipientId = params['RecipientId']
|
7834
|
+
end
|
7835
|
+
end
|
7836
|
+
|
7837
|
+
# 合同组签署方信息
|
7838
|
+
class FlowGroupApprovers < TencentCloud::Common::AbstractModel
|
7839
|
+
# @param FlowId: 合同流程ID
|
7840
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7841
|
+
# @type FlowId: String
|
7842
|
+
# @param Approvers: 签署方信息,包含合同ID和角色ID用于定位RecipientId。
|
7843
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7844
|
+
# @type Approvers: Array
|
7845
|
+
|
7846
|
+
attr_accessor :FlowId, :Approvers
|
7847
|
+
|
7848
|
+
def initialize(flowid=nil, approvers=nil)
|
7849
|
+
@FlowId = flowid
|
7850
|
+
@Approvers = approvers
|
7851
|
+
end
|
7852
|
+
|
7853
|
+
def deserialize(params)
|
7854
|
+
@FlowId = params['FlowId']
|
7855
|
+
unless params['Approvers'].nil?
|
7856
|
+
@Approvers = []
|
7857
|
+
params['Approvers'].each do |i|
|
7858
|
+
approveritem_tmp = ApproverItem.new
|
7859
|
+
approveritem_tmp.deserialize(i)
|
7860
|
+
@Approvers << approveritem_tmp
|
7861
|
+
end
|
7862
|
+
end
|
7863
|
+
end
|
7864
|
+
end
|
7865
|
+
|
7780
7866
|
# 此结构体(FlowGroupInfo)描述的是合同组(流程组)的单个合同(流程)信息
|
7781
7867
|
class FlowGroupInfo < TencentCloud::Common::AbstractModel
|
7782
7868
|
# @param FlowName: 合同流程的名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成。
|
@@ -7915,6 +8001,29 @@ module TencentCloud
|
|
7915
8001
|
end
|
7916
8002
|
end
|
7917
8003
|
|
8004
|
+
# 合同组相关信息,指定合同组子合同和签署方的信息,用于补充动态签署人。
|
8005
|
+
class FlowGroupUrlInfo < TencentCloud::Common::AbstractModel
|
8006
|
+
# @param FlowGroupApproverInfos: 合同组子合同和签署方的信息,用于补充动态签署人。
|
8007
|
+
# @type FlowGroupApproverInfos: Array
|
8008
|
+
|
8009
|
+
attr_accessor :FlowGroupApproverInfos
|
8010
|
+
|
8011
|
+
def initialize(flowgroupapproverinfos=nil)
|
8012
|
+
@FlowGroupApproverInfos = flowgroupapproverinfos
|
8013
|
+
end
|
8014
|
+
|
8015
|
+
def deserialize(params)
|
8016
|
+
unless params['FlowGroupApproverInfos'].nil?
|
8017
|
+
@FlowGroupApproverInfos = []
|
8018
|
+
params['FlowGroupApproverInfos'].each do |i|
|
8019
|
+
flowgroupapproverinfo_tmp = FlowGroupApproverInfo.new
|
8020
|
+
flowgroupapproverinfo_tmp.deserialize(i)
|
8021
|
+
@FlowGroupApproverInfos << flowgroupapproverinfo_tmp
|
8022
|
+
end
|
8023
|
+
end
|
8024
|
+
end
|
8025
|
+
end
|
8026
|
+
|
7918
8027
|
# 电子文档的控件填充信息。按照控件类型进行相应的填充。
|
7919
8028
|
|
7920
8029
|
# 当控件的 ComponentType=‘SIGN_SEAL'时,FormField.ComponentValue填入印章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.790
|
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-03-
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|