tencentcloud-sdk-essbasic 3.0.525 → 3.0.527
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 +21 -5
- data/lib/v20210526/models.rb +45 -7
- 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: 75d1f77c792007e5c2a30f7547d90e40696bea27
|
4
|
+
data.tar.gz: 3cef2eeeb8fccd397b77cca5a774dcff643804f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97fad9203f54506e1cb41a0d6b7f671a4c84139342d589e5c1903b9e066182d64a212528269e983e28196c7c3eae6c81c46894e81ccc14c5b5d5694f44c2f57e
|
7
|
+
data.tar.gz: d88d74e1232e3533d46ffa6ec711ef636a62bb22e66963b07f46378cf8d3253490aa2b28843aa2f4c45b9b4fe4778a20378ebd0d4fd837612ac580061dce8e6f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.527
|
data/lib/v20210526/client.rb
CHANGED
@@ -184,6 +184,8 @@ module TencentCloud
|
|
184
184
|
end
|
185
185
|
|
186
186
|
# 本接口(ChannelCreateEmbedWebUrl)用于创建嵌入web的链接
|
187
|
+
# 本接口支持创建:创建印章,创建模版,修改模版,预览模版,预览合同流程的web链接
|
188
|
+
# 进入web连接后与当前控制台操作保持一致
|
187
189
|
|
188
190
|
# @param request: Request instance for ChannelCreateEmbedWebUrl.
|
189
191
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateEmbedWebUrlRequest`
|
@@ -207,7 +209,7 @@ module TencentCloud
|
|
207
209
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
208
210
|
end
|
209
211
|
|
210
|
-
# 接口(ChannelCreateFlowByFiles
|
212
|
+
# 接口(ChannelCreateFlowByFiles)用于通过文件创建签署流程。此接口静默签能力不可直接使用,请联系客户经理申请使用
|
211
213
|
|
212
214
|
# @param request: Request instance for ChannelCreateFlowByFiles.
|
213
215
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowByFilesRequest`
|
@@ -257,7 +259,7 @@ module TencentCloud
|
|
257
259
|
|
258
260
|
# 指定需要批量催办的签署流程Id,批量催办合同,最多100个;接口失败后返回错误信息
|
259
261
|
# 注意:
|
260
|
-
#
|
262
|
+
# 该接口不可直接调用,请联系客户经理申请使用
|
261
263
|
|
262
264
|
# @param request: Request instance for ChannelCreateFlowReminds.
|
263
265
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowRemindsRequest`
|
@@ -308,7 +310,10 @@ module TencentCloud
|
|
308
310
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
309
311
|
end
|
310
312
|
|
311
|
-
#
|
313
|
+
# 创建签署链接,请联系客户经理申请使用
|
314
|
+
# 该接口用于发起合同后,生成C端签署人的签署链接,点击跳转小程序完成签署
|
315
|
+
# 注意:该接口目前签署人类型仅支持个人签署方(PERSON)
|
316
|
+
# 注意:该接口可生成签署链接的C端签署人必须仅有手写签名和时间类型的签署控件
|
312
317
|
|
313
318
|
# @param request: Request instance for ChannelCreateFlowSignUrl.
|
314
319
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowSignUrlRequest`
|
@@ -358,6 +363,10 @@ module TencentCloud
|
|
358
363
|
end
|
359
364
|
|
360
365
|
# 创建预发起合同
|
366
|
+
# 通过此接口指定:合同,签署人,填写控件信息,生成预创建合同链接,点击后跳转到web页面完成合同创建并发起
|
367
|
+
# 可指定合同信息不可更改,签署人信息不可更改
|
368
|
+
# 合同发起后,填写及签署流程与现有操作流程一致
|
369
|
+
# 注意:目前仅支持模版发起
|
361
370
|
|
362
371
|
# @param request: Request instance for ChannelCreatePrepareFlow.
|
363
372
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreatePrepareFlowRequest`
|
@@ -682,9 +691,17 @@ module TencentCloud
|
|
682
691
|
# 跳转小程序的几种方式:主要是设置不同的EndPoint
|
683
692
|
# 1. 通过链接Url直接跳转到小程序,不需要返回
|
684
693
|
# 设置EndPoint为WEIXINAPP,得到链接打开即可。(与短信提醒用户签署形式一样)。
|
694
|
+
|
685
695
|
# 2. 通过链接Url打开H5引导页-->点击跳转到小程序-->签署完退出小程序-->回到H5引导页-->跳转到指定JumpUrl
|
686
696
|
# 设置EndPoint为CHANNEL,指定JumpUrl,得到链接打开即可。
|
697
|
+
|
687
698
|
# 3. 客户App直接跳转到小程序-->小程序签署完成-->返回App
|
699
|
+
# 跳转到小程序的实现,参考官方文档
|
700
|
+
# https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchApp.html
|
701
|
+
# 其中小程序的原始Id,请联系<对接技术人员>获取,或者查看小程序信息自助获取。
|
702
|
+
# 使用CreateSignUrls,设置EndPoint为APP,得到path。
|
703
|
+
|
704
|
+
# 4. 客户小程序直接跳到电子签小程序-->签署完成退出电子签小程序-->回到客户小程序
|
688
705
|
# 跳转到小程序的实现,参考官方文档(分为全屏、半屏两种方式)
|
689
706
|
# 全屏方式:
|
690
707
|
# (https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html)
|
@@ -692,8 +709,6 @@ module TencentCloud
|
|
692
709
|
# (https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html)
|
693
710
|
# 其中小程序的原始Id,请联系<对接技术人员>获取,或者查看小程序信息自助获取。
|
694
711
|
# 使用CreateSignUrls,设置EndPoint为APP,得到path。
|
695
|
-
# 4. 客户小程序直接跳到电子签小程序-->签署完成退出电子签小程序-->回到客户小程序
|
696
|
-
# 实现方式同App跳小程序。
|
697
712
|
|
698
713
|
# @param request: Request instance for CreateSignUrls.
|
699
714
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::CreateSignUrlsRequest`
|
@@ -1016,6 +1031,7 @@ module TencentCloud
|
|
1016
1031
|
end
|
1017
1032
|
|
1018
1033
|
# 此接口(UploadFiles)用于文件上传。
|
1034
|
+
# 其中上传的文件,图片类型(png/jpg/jpeg)大小限制为5M,其他大小限制为60M。
|
1019
1035
|
# 调用时需要设置Domain, 正式环境为 file.ess.tencent.cn。
|
1020
1036
|
# 代码示例:
|
1021
1037
|
# HttpProfile httpProfile = new HttpProfile();
|
data/lib/v20210526/models.rb
CHANGED
@@ -195,15 +195,33 @@ module TencentCloud
|
|
195
195
|
class CcInfo < TencentCloud::Common::AbstractModel
|
196
196
|
# @param Mobile: 被抄送人手机号,大陆11位手机号
|
197
197
|
# @type Mobile: String
|
198
|
+
# @param Name: 被抄送人姓名
|
199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
200
|
+
# @type Name: String
|
201
|
+
# @param CcType: 被抄送人类型
|
202
|
+
# 0--个人. 1--员工
|
203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
204
|
+
# @type CcType: Integer
|
205
|
+
# @param CcPermission: 被抄送人权限
|
206
|
+
# 0--可查看
|
207
|
+
# 1--可查看也可下载
|
208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
209
|
+
# @type CcPermission: Integer
|
198
210
|
|
199
|
-
attr_accessor :Mobile
|
211
|
+
attr_accessor :Mobile, :Name, :CcType, :CcPermission
|
200
212
|
|
201
|
-
def initialize(mobile=nil)
|
213
|
+
def initialize(mobile=nil, name=nil, cctype=nil, ccpermission=nil)
|
202
214
|
@Mobile = mobile
|
215
|
+
@Name = name
|
216
|
+
@CcType = cctype
|
217
|
+
@CcPermission = ccpermission
|
203
218
|
end
|
204
219
|
|
205
220
|
def deserialize(params)
|
206
221
|
@Mobile = params['Mobile']
|
222
|
+
@Name = params['Name']
|
223
|
+
@CcType = params['CcType']
|
224
|
+
@CcPermission = params['CcPermission']
|
207
225
|
end
|
208
226
|
end
|
209
227
|
|
@@ -607,7 +625,7 @@ module TencentCloud
|
|
607
625
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
608
626
|
# @param FlowName: 签署流程名称,长度不超过200个字符
|
609
627
|
# @type FlowName: String
|
610
|
-
# @param FlowApprovers: 签署流程签约方列表,最多不超过
|
628
|
+
# @param FlowApprovers: 签署流程签约方列表,最多不超过50个参与方
|
611
629
|
# @type FlowApprovers: Array
|
612
630
|
# @param FileIds: 签署文件资源Id列表,目前仅支持单个文件
|
613
631
|
# @type FileIds: Array
|
@@ -638,10 +656,14 @@ module TencentCloud
|
|
638
656
|
# @type SignBeanTag: Integer
|
639
657
|
# @param Operator: 操作者的信息,不用传
|
640
658
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
659
|
+
# @param CcInfos: 被抄送人信息列表
|
660
|
+
# @type CcInfos: Array
|
661
|
+
# @param CcNotifyType: 给关注人发送短信通知的类型,0-合同发起时通知 1-签署完成后通知
|
662
|
+
# @type CcNotifyType: Integer
|
641
663
|
|
642
|
-
attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :CustomerData, :NeedSignReview, :ApproverVerifyType, :SignBeanTag, :Operator
|
664
|
+
attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :CustomerData, :NeedSignReview, :ApproverVerifyType, :SignBeanTag, :Operator, :CcInfos, :CcNotifyType
|
643
665
|
|
644
|
-
def initialize(agent=nil, flowname=nil, flowapprovers=nil, fileids=nil, components=nil, deadline=nil, callbackurl=nil, unordered=nil, flowtype=nil, flowdescription=nil, customshowmap=nil, customerdata=nil, needsignreview=nil, approververifytype=nil, signbeantag=nil, operator=nil)
|
666
|
+
def initialize(agent=nil, flowname=nil, flowapprovers=nil, fileids=nil, components=nil, deadline=nil, callbackurl=nil, unordered=nil, flowtype=nil, flowdescription=nil, customshowmap=nil, customerdata=nil, needsignreview=nil, approververifytype=nil, signbeantag=nil, operator=nil, ccinfos=nil, ccnotifytype=nil)
|
645
667
|
@Agent = agent
|
646
668
|
@FlowName = flowname
|
647
669
|
@FlowApprovers = flowapprovers
|
@@ -658,6 +680,8 @@ module TencentCloud
|
|
658
680
|
@ApproverVerifyType = approververifytype
|
659
681
|
@SignBeanTag = signbeantag
|
660
682
|
@Operator = operator
|
683
|
+
@CcInfos = ccinfos
|
684
|
+
@CcNotifyType = ccnotifytype
|
661
685
|
end
|
662
686
|
|
663
687
|
def deserialize(params)
|
@@ -697,6 +721,15 @@ module TencentCloud
|
|
697
721
|
@Operator = UserInfo.new
|
698
722
|
@Operator.deserialize(params['Operator'])
|
699
723
|
end
|
724
|
+
unless params['CcInfos'].nil?
|
725
|
+
@CcInfos = []
|
726
|
+
params['CcInfos'].each do |i|
|
727
|
+
ccinfo_tmp = CcInfo.new
|
728
|
+
ccinfo_tmp.deserialize(i)
|
729
|
+
@CcInfos << ccinfo_tmp
|
730
|
+
end
|
731
|
+
end
|
732
|
+
@CcNotifyType = params['CcNotifyType']
|
700
733
|
end
|
701
734
|
end
|
702
735
|
|
@@ -1784,6 +1817,7 @@ module TencentCloud
|
|
1784
1817
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1785
1818
|
# @type ApproverMobile: String
|
1786
1819
|
# @param RecipientId: 签署人Id,使用模版发起是,对应模版配置中的签署人RecipientId
|
1820
|
+
# 注意:模版发起时该字段必填
|
1787
1821
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1788
1822
|
# @type RecipientId: String
|
1789
1823
|
# @param PreReadTime: 签署前置条件:阅读时长限制,不传默认10s,最大300s,最小3s
|
@@ -3516,10 +3550,12 @@ module TencentCloud
|
|
3516
3550
|
|
3517
3551
|
# 注:企业可以通过此功能与企业内部的审批流程进行关联,支持手动、静默签署合同。
|
3518
3552
|
# @type NeedSignReview: Boolean
|
3553
|
+
# @param CcNotifyType: 给关注人发送短信通知的类型,0-合同发起时通知 1-签署完成后通知
|
3554
|
+
# @type CcNotifyType: Integer
|
3519
3555
|
|
3520
|
-
attr_accessor :FlowName, :Deadline, :TemplateId, :FlowApprovers, :FormFields, :CallbackUrl, :FlowType, :FlowDescription, :CustomerData, :CustomShowMap, :CcInfos, :NeedSignReview
|
3556
|
+
attr_accessor :FlowName, :Deadline, :TemplateId, :FlowApprovers, :FormFields, :CallbackUrl, :FlowType, :FlowDescription, :CustomerData, :CustomShowMap, :CcInfos, :NeedSignReview, :CcNotifyType
|
3521
3557
|
|
3522
|
-
def initialize(flowname=nil, deadline=nil, templateid=nil, flowapprovers=nil, formfields=nil, callbackurl=nil, flowtype=nil, flowdescription=nil, customerdata=nil, customshowmap=nil, ccinfos=nil, needsignreview=nil)
|
3558
|
+
def initialize(flowname=nil, deadline=nil, templateid=nil, flowapprovers=nil, formfields=nil, callbackurl=nil, flowtype=nil, flowdescription=nil, customerdata=nil, customshowmap=nil, ccinfos=nil, needsignreview=nil, ccnotifytype=nil)
|
3523
3559
|
@FlowName = flowname
|
3524
3560
|
@Deadline = deadline
|
3525
3561
|
@TemplateId = templateid
|
@@ -3532,6 +3568,7 @@ module TencentCloud
|
|
3532
3568
|
@CustomShowMap = customshowmap
|
3533
3569
|
@CcInfos = ccinfos
|
3534
3570
|
@NeedSignReview = needsignreview
|
3571
|
+
@CcNotifyType = ccnotifytype
|
3535
3572
|
end
|
3536
3573
|
|
3537
3574
|
def deserialize(params)
|
@@ -3568,6 +3605,7 @@ module TencentCloud
|
|
3568
3605
|
end
|
3569
3606
|
end
|
3570
3607
|
@NeedSignReview = params['NeedSignReview']
|
3608
|
+
@CcNotifyType = params['CcNotifyType']
|
3571
3609
|
end
|
3572
3610
|
end
|
3573
3611
|
|
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.527
|
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-03-
|
11
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|