tencentcloud-sdk-essbasic 3.0.609 → 3.0.610
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 +84 -3
- 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: 53fb30e1d8e6ffca977cb2e91cec4a51998f0641
|
4
|
+
data.tar.gz: f4cc1834a99882724795a31cc20eaf309d92aab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f18244a0f02a3046e28b658e21137f92109cb05e06ebbfaded5f98c86a9f57dfac6ff947d0692b2886be0e643e063ef5d222dccd9392bd8551b0594437f985dc
|
7
|
+
data.tar.gz: eb8e538b8b994ed804b3ae45f331951adba70866230c95f16d718ed7f8f9e144a5da3367f8d722e44cf101c58a1c717a099dc8520c9d1df089af0b323f56ce80
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.610
|
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 必填。
|
@@ -3939,14 +4009,16 @@ module TencentCloud
|
|
3939
4009
|
# @type CustomerData: String
|
3940
4010
|
# @param Unordered: 合同签署顺序类型(无序签,顺序签),默认为false,即有序签署
|
3941
4011
|
# @type Unordered: Boolean
|
4012
|
+
# @param Components: 签署文件中的发起方的填写控件,需要在发起的时候进行填充
|
4013
|
+
# @type Components: Array
|
3942
4014
|
# @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
|
3943
4015
|
# @type CustomShowMap: String
|
3944
4016
|
# @param NeedSignReview: 本企业(发起方企业)是否需要签署审批
|
3945
4017
|
# @type NeedSignReview: Boolean
|
3946
4018
|
|
3947
|
-
attr_accessor :FileIds, :FlowName, :FlowApprovers, :Deadline, :FlowDescription, :FlowType, :CallbackUrl, :CustomerData, :Unordered, :CustomShowMap, :NeedSignReview
|
4019
|
+
attr_accessor :FileIds, :FlowName, :FlowApprovers, :Deadline, :FlowDescription, :FlowType, :CallbackUrl, :CustomerData, :Unordered, :Components, :CustomShowMap, :NeedSignReview
|
3948
4020
|
|
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)
|
4021
|
+
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
4022
|
@FileIds = fileids
|
3951
4023
|
@FlowName = flowname
|
3952
4024
|
@FlowApprovers = flowapprovers
|
@@ -3956,6 +4028,7 @@ module TencentCloud
|
|
3956
4028
|
@CallbackUrl = callbackurl
|
3957
4029
|
@CustomerData = customerdata
|
3958
4030
|
@Unordered = unordered
|
4031
|
+
@Components = components
|
3959
4032
|
@CustomShowMap = customshowmap
|
3960
4033
|
@NeedSignReview = needsignreview
|
3961
4034
|
end
|
@@ -3977,6 +4050,14 @@ module TencentCloud
|
|
3977
4050
|
@CallbackUrl = params['CallbackUrl']
|
3978
4051
|
@CustomerData = params['CustomerData']
|
3979
4052
|
@Unordered = params['Unordered']
|
4053
|
+
unless params['Components'].nil?
|
4054
|
+
@Components = []
|
4055
|
+
params['Components'].each do |i|
|
4056
|
+
component_tmp = Component.new
|
4057
|
+
component_tmp.deserialize(i)
|
4058
|
+
@Components << component_tmp
|
4059
|
+
end
|
4060
|
+
end
|
3980
4061
|
@CustomShowMap = params['CustomShowMap']
|
3981
4062
|
@NeedSignReview = params['NeedSignReview']
|
3982
4063
|
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.610
|
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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|