tencentcloud-sdk-essbasic 3.0.609 → 3.0.611
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 +25 -1
- data/lib/v20210526/models.rb +91 -5
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ed8c863c20cde75359793a0ea7ef7c0d45a3b52
|
4
|
+
data.tar.gz: ee144766eb3b32fb60b55e215ba6d73f9dcd0d2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 891d899b65261607f8b2f6da1a4e3d28a4b1e47cf7237aa9b5f51297c6689ece8507e9ace4506112e28b99b49e5e5a776d89edd0ba0edc4354e41854b94f03c9
|
7
|
+
data.tar.gz: 5be8ed5df551679263d0a9c20b9fd439d9820ec8fbb0a2fc88598b36e4ca10a5ec086884ebec0facf6e5fcaf8425ded182884eb4d3746567b737ea85e84e41cb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.611
|
data/lib/v20210526/client.rb
CHANGED
@@ -262,6 +262,30 @@ module TencentCloud
|
|
262
262
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
263
263
|
end
|
264
264
|
|
265
|
+
# 接口(ChannelCreateFlowGroupByTemplates)用于通过多模板创建合同组签署流程。
|
266
|
+
|
267
|
+
# @param request: Request instance for ChannelCreateFlowGroupByTemplates.
|
268
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowGroupByTemplatesRequest`
|
269
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowGroupByTemplatesResponse`
|
270
|
+
def ChannelCreateFlowGroupByTemplates(request)
|
271
|
+
body = send_request('ChannelCreateFlowGroupByTemplates', request.serialize)
|
272
|
+
response = JSON.parse(body)
|
273
|
+
if response['Response'].key?('Error') == false
|
274
|
+
model = ChannelCreateFlowGroupByTemplatesResponse.new
|
275
|
+
model.deserialize(response['Response'])
|
276
|
+
model
|
277
|
+
else
|
278
|
+
code = response['Response']['Error']['Code']
|
279
|
+
message = response['Response']['Error']['Message']
|
280
|
+
reqid = response['Response']['RequestId']
|
281
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
282
|
+
end
|
283
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
284
|
+
raise e
|
285
|
+
rescue StandardError => e
|
286
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
287
|
+
end
|
288
|
+
|
265
289
|
# 指定需要批量催办的签署流程Id,批量催办合同,最多100个;接口失败后返回错误信息
|
266
290
|
# 注意:
|
267
291
|
# 该接口不可直接调用,请联系客户经理申请使用
|
@@ -599,7 +623,7 @@ module TencentCloud
|
|
599
623
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
600
624
|
end
|
601
625
|
|
602
|
-
#
|
626
|
+
# 查询角色列表,支持根据类型和状态过滤角色列表
|
603
627
|
|
604
628
|
# @param request: Request instance for ChannelDescribeRoles.
|
605
629
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeRolesRequest`
|
data/lib/v20210526/models.rb
CHANGED
@@ -809,7 +809,7 @@ module TencentCloud
|
|
809
809
|
|
810
810
|
# ChannelCreateFlowGroupByFiles请求参数结构体
|
811
811
|
class ChannelCreateFlowGroupByFilesRequest < TencentCloud::Common::AbstractModel
|
812
|
-
# @param FlowFileInfos: 每个子合同的发起所需的信息,数量限制2-
|
812
|
+
# @param FlowFileInfos: 每个子合同的发起所需的信息,数量限制2-50
|
813
813
|
# @type FlowFileInfos: Array
|
814
814
|
# @param FlowGroupName: 合同组名称,长度不超过200个字符
|
815
815
|
# @type FlowGroupName: String
|
@@ -884,6 +884,76 @@ module TencentCloud
|
|
884
884
|
end
|
885
885
|
end
|
886
886
|
|
887
|
+
# ChannelCreateFlowGroupByTemplates请求参数结构体
|
888
|
+
class ChannelCreateFlowGroupByTemplatesRequest < TencentCloud::Common::AbstractModel
|
889
|
+
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 均必填。
|
890
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
891
|
+
# @param FlowInfos: 每个子合同的发起所需的信息,数量限制2-50(合同组暂不支持抄送功能)
|
892
|
+
# @type FlowInfos: Array
|
893
|
+
# @param FlowGroupName: 合同组名称,长度不超过200个字符
|
894
|
+
# @type FlowGroupName: String
|
895
|
+
|
896
|
+
attr_accessor :Agent, :FlowInfos, :FlowGroupName
|
897
|
+
|
898
|
+
def initialize(agent=nil, flowinfos=nil, flowgroupname=nil)
|
899
|
+
@Agent = agent
|
900
|
+
@FlowInfos = flowinfos
|
901
|
+
@FlowGroupName = flowgroupname
|
902
|
+
end
|
903
|
+
|
904
|
+
def deserialize(params)
|
905
|
+
unless params['Agent'].nil?
|
906
|
+
@Agent = Agent.new
|
907
|
+
@Agent.deserialize(params['Agent'])
|
908
|
+
end
|
909
|
+
unless params['FlowInfos'].nil?
|
910
|
+
@FlowInfos = []
|
911
|
+
params['FlowInfos'].each do |i|
|
912
|
+
flowinfo_tmp = FlowInfo.new
|
913
|
+
flowinfo_tmp.deserialize(i)
|
914
|
+
@FlowInfos << flowinfo_tmp
|
915
|
+
end
|
916
|
+
end
|
917
|
+
@FlowGroupName = params['FlowGroupName']
|
918
|
+
end
|
919
|
+
end
|
920
|
+
|
921
|
+
# ChannelCreateFlowGroupByTemplates返回参数结构体
|
922
|
+
class ChannelCreateFlowGroupByTemplatesResponse < TencentCloud::Common::AbstractModel
|
923
|
+
# @param FlowGroupId: 合同组ID
|
924
|
+
# @type FlowGroupId: String
|
925
|
+
# @param FlowIds: 子合同ID列表
|
926
|
+
# @type FlowIds: Array
|
927
|
+
# @param TaskInfos: 复杂文档合成任务(如,包含动态表格的预览任务)的任务信息数组;
|
928
|
+
# 如果文档需要异步合成,此字段会返回该异步任务的任务信息,后续可以通过ChannelGetTaskResultApi接口查询任务详情;
|
929
|
+
# @type TaskInfos: Array
|
930
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
931
|
+
# @type RequestId: String
|
932
|
+
|
933
|
+
attr_accessor :FlowGroupId, :FlowIds, :TaskInfos, :RequestId
|
934
|
+
|
935
|
+
def initialize(flowgroupid=nil, flowids=nil, taskinfos=nil, requestid=nil)
|
936
|
+
@FlowGroupId = flowgroupid
|
937
|
+
@FlowIds = flowids
|
938
|
+
@TaskInfos = taskinfos
|
939
|
+
@RequestId = requestid
|
940
|
+
end
|
941
|
+
|
942
|
+
def deserialize(params)
|
943
|
+
@FlowGroupId = params['FlowGroupId']
|
944
|
+
@FlowIds = params['FlowIds']
|
945
|
+
unless params['TaskInfos'].nil?
|
946
|
+
@TaskInfos = []
|
947
|
+
params['TaskInfos'].each do |i|
|
948
|
+
taskinfo_tmp = TaskInfo.new
|
949
|
+
taskinfo_tmp.deserialize(i)
|
950
|
+
@TaskInfos << taskinfo_tmp
|
951
|
+
end
|
952
|
+
end
|
953
|
+
@RequestId = params['RequestId']
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
887
957
|
# ChannelCreateFlowReminds请求参数结构体
|
888
958
|
class ChannelCreateFlowRemindsRequest < TencentCloud::Common::AbstractModel
|
889
959
|
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
|
@@ -3742,13 +3812,16 @@ module TencentCloud
|
|
3742
3812
|
# - 发起流程时系统自动补充
|
3743
3813
|
# - 创建签署链接时,可以通过查询详情接口获得签署人的SignId,然后可传入此值为该签署人创建签署链接,无需再传姓名、手机号、证件号等其他信息
|
3744
3814
|
# @type SignId: String
|
3815
|
+
# @param NotifyType: SMS: 短信; NONE: 不发信息
|
3816
|
+
# 默认为SMS(该字段对子客无效)
|
3817
|
+
# @type NotifyType: String
|
3745
3818
|
|
3746
|
-
attr_accessor :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationName, :NotChannelOrganization, :OpenId, :OrganizationOpenId, :ApproverType, :RecipientId, :Deadline, :CallbackUrl, :SignComponents, :ComponentLimitType, :PreReadTime, :JumpUrl, :ApproverOption, :ApproverNeedSignReview, :ApproverVerifyTypes, :ApproverSignTypes, :SignId
|
3819
|
+
attr_accessor :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationName, :NotChannelOrganization, :OpenId, :OrganizationOpenId, :ApproverType, :RecipientId, :Deadline, :CallbackUrl, :SignComponents, :ComponentLimitType, :PreReadTime, :JumpUrl, :ApproverOption, :ApproverNeedSignReview, :ApproverVerifyTypes, :ApproverSignTypes, :SignId, :NotifyType
|
3747
3820
|
extend Gem::Deprecate
|
3748
3821
|
deprecate :CallbackUrl, :none, 2023, 7
|
3749
3822
|
deprecate :CallbackUrl=, :none, 2023, 7
|
3750
3823
|
|
3751
|
-
def initialize(name=nil, idcardtype=nil, idcardnumber=nil, mobile=nil, organizationname=nil, notchannelorganization=nil, openid=nil, organizationopenid=nil, approvertype=nil, recipientid=nil, deadline=nil, callbackurl=nil, signcomponents=nil, componentlimittype=nil, prereadtime=nil, jumpurl=nil, approveroption=nil, approverneedsignreview=nil, approververifytypes=nil, approversigntypes=nil, signid=nil)
|
3824
|
+
def initialize(name=nil, idcardtype=nil, idcardnumber=nil, mobile=nil, organizationname=nil, notchannelorganization=nil, openid=nil, organizationopenid=nil, approvertype=nil, recipientid=nil, deadline=nil, callbackurl=nil, signcomponents=nil, componentlimittype=nil, prereadtime=nil, jumpurl=nil, approveroption=nil, approverneedsignreview=nil, approververifytypes=nil, approversigntypes=nil, signid=nil, notifytype=nil)
|
3752
3825
|
@Name = name
|
3753
3826
|
@IdCardType = idcardtype
|
3754
3827
|
@IdCardNumber = idcardnumber
|
@@ -3770,6 +3843,7 @@ module TencentCloud
|
|
3770
3843
|
@ApproverVerifyTypes = approververifytypes
|
3771
3844
|
@ApproverSignTypes = approversigntypes
|
3772
3845
|
@SignId = signid
|
3846
|
+
@NotifyType = notifytype
|
3773
3847
|
end
|
3774
3848
|
|
3775
3849
|
def deserialize(params)
|
@@ -3804,6 +3878,7 @@ module TencentCloud
|
|
3804
3878
|
@ApproverVerifyTypes = params['ApproverVerifyTypes']
|
3805
3879
|
@ApproverSignTypes = params['ApproverSignTypes']
|
3806
3880
|
@SignId = params['SignId']
|
3881
|
+
@NotifyType = params['NotifyType']
|
3807
3882
|
end
|
3808
3883
|
end
|
3809
3884
|
|
@@ -3939,14 +4014,16 @@ module TencentCloud
|
|
3939
4014
|
# @type CustomerData: String
|
3940
4015
|
# @param Unordered: 合同签署顺序类型(无序签,顺序签),默认为false,即有序签署
|
3941
4016
|
# @type Unordered: Boolean
|
4017
|
+
# @param Components: 签署文件中的发起方的填写控件,需要在发起的时候进行填充
|
4018
|
+
# @type Components: Array
|
3942
4019
|
# @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
|
3943
4020
|
# @type CustomShowMap: String
|
3944
4021
|
# @param NeedSignReview: 本企业(发起方企业)是否需要签署审批
|
3945
4022
|
# @type NeedSignReview: Boolean
|
3946
4023
|
|
3947
|
-
attr_accessor :FileIds, :FlowName, :FlowApprovers, :Deadline, :FlowDescription, :FlowType, :CallbackUrl, :CustomerData, :Unordered, :CustomShowMap, :NeedSignReview
|
4024
|
+
attr_accessor :FileIds, :FlowName, :FlowApprovers, :Deadline, :FlowDescription, :FlowType, :CallbackUrl, :CustomerData, :Unordered, :Components, :CustomShowMap, :NeedSignReview
|
3948
4025
|
|
3949
|
-
def initialize(fileids=nil, flowname=nil, flowapprovers=nil, deadline=nil, flowdescription=nil, flowtype=nil, callbackurl=nil, customerdata=nil, unordered=nil, customshowmap=nil, needsignreview=nil)
|
4026
|
+
def initialize(fileids=nil, flowname=nil, flowapprovers=nil, deadline=nil, flowdescription=nil, flowtype=nil, callbackurl=nil, customerdata=nil, unordered=nil, components=nil, customshowmap=nil, needsignreview=nil)
|
3950
4027
|
@FileIds = fileids
|
3951
4028
|
@FlowName = flowname
|
3952
4029
|
@FlowApprovers = flowapprovers
|
@@ -3956,6 +4033,7 @@ module TencentCloud
|
|
3956
4033
|
@CallbackUrl = callbackurl
|
3957
4034
|
@CustomerData = customerdata
|
3958
4035
|
@Unordered = unordered
|
4036
|
+
@Components = components
|
3959
4037
|
@CustomShowMap = customshowmap
|
3960
4038
|
@NeedSignReview = needsignreview
|
3961
4039
|
end
|
@@ -3977,6 +4055,14 @@ module TencentCloud
|
|
3977
4055
|
@CallbackUrl = params['CallbackUrl']
|
3978
4056
|
@CustomerData = params['CustomerData']
|
3979
4057
|
@Unordered = params['Unordered']
|
4058
|
+
unless params['Components'].nil?
|
4059
|
+
@Components = []
|
4060
|
+
params['Components'].each do |i|
|
4061
|
+
component_tmp = Component.new
|
4062
|
+
component_tmp.deserialize(i)
|
4063
|
+
@Components << component_tmp
|
4064
|
+
end
|
4065
|
+
end
|
3980
4066
|
@CustomShowMap = params['CustomShowMap']
|
3981
4067
|
@NeedSignReview = params['NeedSignReview']
|
3982
4068
|
end
|
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.611
|
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-07-
|
11
|
+
date: 2023-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20201222/client.rb
|
37
|
-
- lib/v20201222/models.rb
|
38
36
|
- lib/tencentcloud-sdk-essbasic.rb
|
39
|
-
- lib/v20210526/client.rb
|
40
37
|
- lib/v20210526/models.rb
|
38
|
+
- lib/v20210526/client.rb
|
39
|
+
- lib/v20201222/models.rb
|
40
|
+
- lib/v20201222/client.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|