tencentcloud-sdk-essbasic 3.0.644 → 3.0.646
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/v20210526/client.rb +5 -0
- data/lib/v20210526/models.rb +33 -9
- 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: 1b33b8fea5d5e34f07e8ddaa0cb4b94c3e912e63
|
4
|
+
data.tar.gz: 09ae76922effa3dd0aa336e0154b6e93a6c7ea28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3f245ce28528028c622d6f0d5861c52f68a4fdc262b2aefc723531d8a9df02295f5d7d910afafad1f031f9c0c341d6f2f928798706add560afbce754336b624
|
7
|
+
data.tar.gz: 45b10eceb3b9706797b3a03b6938cf3e20fde96f3e1b7138c2d4138906b6ef4fc4435114f6b351393e24f379619476fe8e948c4e554ad555c4ef13caa677a16e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.646
|
data/lib/v20210526/client.rb
CHANGED
@@ -409,6 +409,11 @@ module TencentCloud
|
|
409
409
|
# - B端企业的签署方式是静默签署
|
410
410
|
# - B端企业是非首位签署
|
411
411
|
|
412
|
+
# 通过一码多扫二维码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调
|
413
|
+
# ]( https://qian.tencent.com/developers/partner/callback_types_contracts_sign)
|
414
|
+
|
415
|
+
# 用户通过签署二维码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/partner/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)
|
416
|
+
|
412
417
|
# @param request: Request instance for ChannelCreateMultiFlowSignQRCode.
|
413
418
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateMultiFlowSignQRCodeRequest`
|
414
419
|
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateMultiFlowSignQRCodeResponse`
|
data/lib/v20210526/models.rb
CHANGED
@@ -210,10 +210,12 @@ module TencentCloud
|
|
210
210
|
# <br/>false:不开启发起方发起前审核
|
211
211
|
# <br/>当指定NeedCreateReview=true,则提交审核后,需要使用接口:ChannelCreateFlowSignReview,来完成发起前审核,审核通过后,可以继续查看,签署合同
|
212
212
|
# @type NeedCreateReview: Boolean
|
213
|
+
# @param Components: 填写控件:文件发起使用
|
214
|
+
# @type Components: Array
|
213
215
|
|
214
|
-
attr_accessor :FlowName, :FlowType, :FlowDescription, :Deadline, :Unordered, :IntelligentStatus, :FormFields, :NeedSignReview, :UserData, :CcInfos, :NeedCreateReview
|
216
|
+
attr_accessor :FlowName, :FlowType, :FlowDescription, :Deadline, :Unordered, :IntelligentStatus, :FormFields, :NeedSignReview, :UserData, :CcInfos, :NeedCreateReview, :Components
|
215
217
|
|
216
|
-
def initialize(flowname=nil, flowtype=nil, flowdescription=nil, deadline=nil, unordered=nil, intelligentstatus=nil, formfields=nil, needsignreview=nil, userdata=nil, ccinfos=nil, needcreatereview=nil)
|
218
|
+
def initialize(flowname=nil, flowtype=nil, flowdescription=nil, deadline=nil, unordered=nil, intelligentstatus=nil, formfields=nil, needsignreview=nil, userdata=nil, ccinfos=nil, needcreatereview=nil, components=nil)
|
217
219
|
@FlowName = flowname
|
218
220
|
@FlowType = flowtype
|
219
221
|
@FlowDescription = flowdescription
|
@@ -225,6 +227,7 @@ module TencentCloud
|
|
225
227
|
@UserData = userdata
|
226
228
|
@CcInfos = ccinfos
|
227
229
|
@NeedCreateReview = needcreatereview
|
230
|
+
@Components = components
|
228
231
|
end
|
229
232
|
|
230
233
|
def deserialize(params)
|
@@ -253,6 +256,14 @@ module TencentCloud
|
|
253
256
|
end
|
254
257
|
end
|
255
258
|
@NeedCreateReview = params['NeedCreateReview']
|
259
|
+
unless params['Components'].nil?
|
260
|
+
@Components = []
|
261
|
+
params['Components'].each do |i|
|
262
|
+
component_tmp = Component.new
|
263
|
+
component_tmp.deserialize(i)
|
264
|
+
@Components << component_tmp
|
265
|
+
end
|
266
|
+
end
|
256
267
|
end
|
257
268
|
end
|
258
269
|
|
@@ -1297,9 +1308,9 @@ module TencentCloud
|
|
1297
1308
|
# @param Restrictions: 指定的签署二维码签署人
|
1298
1309
|
# <br/>指定后,只允许知道的人操作和签署
|
1299
1310
|
# @type Restrictions: Array
|
1300
|
-
# @param CallbackUrl:
|
1301
|
-
#
|
1302
|
-
#
|
1311
|
+
# @param CallbackUrl: 已废弃,回调配置统一使用企业应用管理-应用集成-第三方应用中的配置
|
1312
|
+
# <br/> 通过一码多扫二维码发起的合同,回调消息可参考文档 https://qian.tencent.com/developers/partner/callback_types_contracts_sign
|
1313
|
+
# <br/> 用户通过签署二维码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档 https://qian.tencent.com/developers/partner/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83
|
1303
1314
|
# @type CallbackUrl: String
|
1304
1315
|
# @param ApproverRestrictions: 限制二维码用户条件(已弃用)
|
1305
1316
|
# @type ApproverRestrictions: :class:`Tencentcloud::Essbasic.v20210526.models.ApproverRestriction`
|
@@ -1308,6 +1319,8 @@ module TencentCloud
|
|
1308
1319
|
|
1309
1320
|
attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :Restrictions, :CallbackUrl, :ApproverRestrictions, :Operator
|
1310
1321
|
extend Gem::Deprecate
|
1322
|
+
deprecate :CallbackUrl, :none, 2023, 8
|
1323
|
+
deprecate :CallbackUrl=, :none, 2023, 8
|
1311
1324
|
deprecate :ApproverRestrictions, :none, 2023, 8
|
1312
1325
|
deprecate :ApproverRestrictions=, :none, 2023, 8
|
1313
1326
|
deprecate :Operator, :none, 2023, 8
|
@@ -1433,7 +1446,7 @@ module TencentCloud
|
|
1433
1446
|
class ChannelCreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
|
1434
1447
|
# @param ResourceId: 资源id,与ResourceType对应
|
1435
1448
|
# @type ResourceId: String
|
1436
|
-
# @param ResourceType:
|
1449
|
+
# @param ResourceType: 资源类型,与ResourceId对应1:模板 2: 文件
|
1437
1450
|
# @type ResourceType: Integer
|
1438
1451
|
# @param FlowInfo: 合同流程基础信息
|
1439
1452
|
# @type FlowInfo: :class:`Tencentcloud::Essbasic.v20210526.models.BaseFlowInfo`
|
@@ -2827,13 +2840,15 @@ module TencentCloud
|
|
2827
2840
|
# @type NotifyType: String
|
2828
2841
|
# @param ApproverOption: 签署人配置
|
2829
2842
|
# @type ApproverOption: :class:`Tencentcloud::Essbasic.v20210526.models.CommonApproverOption`
|
2843
|
+
# @param SignComponents: 签署控件:文件发起使用
|
2844
|
+
# @type SignComponents: Array
|
2830
2845
|
|
2831
|
-
attr_accessor :NotChannelOrganization, :ApproverType, :OrganizationId, :OrganizationOpenId, :OrganizationName, :UserId, :OpenId, :ApproverName, :ApproverMobile, :RecipientId, :PreReadTime, :IsFullText, :NotifyType, :ApproverOption
|
2846
|
+
attr_accessor :NotChannelOrganization, :ApproverType, :OrganizationId, :OrganizationOpenId, :OrganizationName, :UserId, :OpenId, :ApproverName, :ApproverMobile, :RecipientId, :PreReadTime, :IsFullText, :NotifyType, :ApproverOption, :SignComponents
|
2832
2847
|
extend Gem::Deprecate
|
2833
2848
|
deprecate :NotifyType, :none, 2023, 8
|
2834
2849
|
deprecate :NotifyType=, :none, 2023, 8
|
2835
2850
|
|
2836
|
-
def initialize(notchannelorganization=nil, approvertype=nil, organizationid=nil, organizationopenid=nil, organizationname=nil, userid=nil, openid=nil, approvername=nil, approvermobile=nil, recipientid=nil, prereadtime=nil, isfulltext=nil, notifytype=nil, approveroption=nil)
|
2851
|
+
def initialize(notchannelorganization=nil, approvertype=nil, organizationid=nil, organizationopenid=nil, organizationname=nil, userid=nil, openid=nil, approvername=nil, approvermobile=nil, recipientid=nil, prereadtime=nil, isfulltext=nil, notifytype=nil, approveroption=nil, signcomponents=nil)
|
2837
2852
|
@NotChannelOrganization = notchannelorganization
|
2838
2853
|
@ApproverType = approvertype
|
2839
2854
|
@OrganizationId = organizationid
|
@@ -2848,6 +2863,7 @@ module TencentCloud
|
|
2848
2863
|
@IsFullText = isfulltext
|
2849
2864
|
@NotifyType = notifytype
|
2850
2865
|
@ApproverOption = approveroption
|
2866
|
+
@SignComponents = signcomponents
|
2851
2867
|
end
|
2852
2868
|
|
2853
2869
|
def deserialize(params)
|
@@ -2868,6 +2884,14 @@ module TencentCloud
|
|
2868
2884
|
@ApproverOption = CommonApproverOption.new
|
2869
2885
|
@ApproverOption.deserialize(params['ApproverOption'])
|
2870
2886
|
end
|
2887
|
+
unless params['SignComponents'].nil?
|
2888
|
+
@SignComponents = []
|
2889
|
+
params['SignComponents'].each do |i|
|
2890
|
+
component_tmp = Component.new
|
2891
|
+
component_tmp.deserialize(i)
|
2892
|
+
@SignComponents << component_tmp
|
2893
|
+
end
|
2894
|
+
end
|
2871
2895
|
end
|
2872
2896
|
end
|
2873
2897
|
|
@@ -4376,7 +4400,7 @@ module TencentCloud
|
|
4376
4400
|
# 4-非第三方平台子客企业:Name、Mobile必传,OrgName必传,且NotChannelOrganization=True。
|
4377
4401
|
|
4378
4402
|
# RecipientId参数:
|
4379
|
-
# 从DescribeTemplates接口中,可以得到模板下的签署方Recipient列表,根据模板自定义的Rolename在此结构体中确定其RecipientId
|
4403
|
+
# 从DescribeTemplates接口中,可以得到模板下的签署方Recipient列表,根据模板自定义的Rolename在此结构体中确定其RecipientId。
|
4380
4404
|
class FlowApproverInfo < TencentCloud::Common::AbstractModel
|
4381
4405
|
# @param Name: 签署人姓名,最大长度50个字符
|
4382
4406
|
# @type Name: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-essbasic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.646
|
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-08-
|
11
|
+
date: 2023-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|