tencentcloud-sdk-essbasic 3.0.434 → 3.0.436
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210526/client.rb +27 -1
- data/lib/v20210526/models.rb +105 -8
- 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: fdc7a95dca98bedc2cedccb5a42a14ac30e728b3
|
4
|
+
data.tar.gz: edb2d0ef1e951bd246ecb33450030f5382848311
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b33a8dfac6641e61c3ad9af0f84cb71ed4464acd13988a8dda973c18636fe3a8ac6bafeb4c7b4be0e03262c60105aea5758fd3c8b625e7ccb325c7692e4b78e8
|
7
|
+
data.tar.gz: c512ef04039b9b6b2633af33035237c941be7fb6c4bef78c23ca46e99e4ec4c7545004ef639d7a31238b98e3a454caaaaa5214c639914d4389ffc0c6551f6f01
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.436
|
data/lib/v20210526/client.rb
CHANGED
@@ -56,6 +56,32 @@ module TencentCloud
|
|
56
56
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
57
57
|
end
|
58
58
|
|
59
|
+
# 渠道版撤销签署流程接口
|
60
|
+
# 注意:
|
61
|
+
# 能撤回合同的只能是合同的发起人或者发起企业的超管、法人
|
62
|
+
|
63
|
+
# @param request: Request instance for ChannelCancelFlow.
|
64
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCancelFlowRequest`
|
65
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCancelFlowResponse`
|
66
|
+
def ChannelCancelFlow(request)
|
67
|
+
body = send_request('ChannelCancelFlow', request.serialize)
|
68
|
+
response = JSON.parse(body)
|
69
|
+
if response['Response'].key?('Error') == false
|
70
|
+
model = ChannelCancelFlowResponse.new
|
71
|
+
model.deserialize(response['Response'])
|
72
|
+
model
|
73
|
+
else
|
74
|
+
code = response['Response']['Error']['Code']
|
75
|
+
message = response['Response']['Error']['Message']
|
76
|
+
reqid = response['Response']['RequestId']
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
78
|
+
end
|
79
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
80
|
+
raise e
|
81
|
+
rescue StandardError => e
|
82
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
83
|
+
end
|
84
|
+
|
59
85
|
# 此接口(ChannelCancelMultiFlowSignQRCode)用于取消一码多扫二维码。该接口对传入的二维码ID,若还在有效期内,可以提前失效。
|
60
86
|
|
61
87
|
# @param request: Request instance for ChannelCancelMultiFlowSignQRCode.
|
@@ -470,7 +496,7 @@ module TencentCloud
|
|
470
496
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
471
497
|
end
|
472
498
|
|
473
|
-
# 通过此接口(DescribeTemplates
|
499
|
+
# 通过此接口(DescribeTemplates)查询该子客企业在电子签拥有的有效模板,不包括渠道模板
|
474
500
|
|
475
501
|
# @param request: Request instance for DescribeTemplates.
|
476
502
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::DescribeTemplatesRequest`
|
data/lib/v20210526/models.rb
CHANGED
@@ -52,6 +52,22 @@ module TencentCloud
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
+
# 签署人个性化能力信息
|
56
|
+
class ApproverOption < TencentCloud::Common::AbstractModel
|
57
|
+
# @param HideOneKeySign: 是否隐藏一键签署 false-不隐藏,默认 true-隐藏
|
58
|
+
# @type HideOneKeySign: Boolean
|
59
|
+
|
60
|
+
attr_accessor :HideOneKeySign
|
61
|
+
|
62
|
+
def initialize(hideonekeysign=nil)
|
63
|
+
@HideOneKeySign = hideonekeysign
|
64
|
+
end
|
65
|
+
|
66
|
+
def deserialize(params)
|
67
|
+
@HideOneKeySign = params['HideOneKeySign']
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
55
71
|
# 指定签署人限制项
|
56
72
|
class ApproverRestriction < TencentCloud::Common::AbstractModel
|
57
73
|
# @param Name: 指定签署人名字
|
@@ -122,14 +138,24 @@ module TencentCloud
|
|
122
138
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
123
139
|
# @param FlowIds: 签署流程Id数组,最多100个,超过100不处理
|
124
140
|
# @type FlowIds: Array
|
141
|
+
# @param CancelMessage: 撤销理由
|
142
|
+
# @type CancelMessage: String
|
143
|
+
# @param CancelMessageFormat: 撤销理由自定义格式;选项:
|
144
|
+
# 0 默认格式
|
145
|
+
# 1 只保留身份信息:展示为【发起方】
|
146
|
+
# 2 保留身份信息+企业名称:展示为【发起方xxx公司】
|
147
|
+
# 3 保留身份信息+企业名称+经办人名称:展示为【发起方xxxx公司-经办人姓名】
|
148
|
+
# @type CancelMessageFormat: Integer
|
125
149
|
# @param Operator: 操作人信息
|
126
150
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
127
151
|
|
128
|
-
attr_accessor :Agent, :FlowIds, :Operator
|
152
|
+
attr_accessor :Agent, :FlowIds, :CancelMessage, :CancelMessageFormat, :Operator
|
129
153
|
|
130
|
-
def initialize(agent=nil, flowids=nil, operator=nil)
|
154
|
+
def initialize(agent=nil, flowids=nil, cancelmessage=nil, cancelmessageformat=nil, operator=nil)
|
131
155
|
@Agent = agent
|
132
156
|
@FlowIds = flowids
|
157
|
+
@CancelMessage = cancelmessage
|
158
|
+
@CancelMessageFormat = cancelmessageformat
|
133
159
|
@Operator = operator
|
134
160
|
end
|
135
161
|
|
@@ -139,6 +165,8 @@ module TencentCloud
|
|
139
165
|
@Agent.deserialize(params['Agent'])
|
140
166
|
end
|
141
167
|
@FlowIds = params['FlowIds']
|
168
|
+
@CancelMessage = params['CancelMessage']
|
169
|
+
@CancelMessageFormat = params['CancelMessageFormat']
|
142
170
|
unless params['Operator'].nil?
|
143
171
|
@Operator = UserInfo.new
|
144
172
|
@Operator.deserialize(params['Operator'])
|
@@ -166,6 +194,64 @@ module TencentCloud
|
|
166
194
|
end
|
167
195
|
end
|
168
196
|
|
197
|
+
# ChannelCancelFlow请求参数结构体
|
198
|
+
class ChannelCancelFlowRequest < TencentCloud::Common::AbstractModel
|
199
|
+
# @param FlowId: 签署流程编号
|
200
|
+
# @type FlowId: String
|
201
|
+
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
202
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
203
|
+
# @param CancelMessage: 撤回原因,最大不超过200字符
|
204
|
+
# @type CancelMessage: String
|
205
|
+
# @param Operator: 操作者的信息
|
206
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
207
|
+
# @param CancelMessageFormat: 撤销理由自定义格式;选项:
|
208
|
+
# 0 默认格式
|
209
|
+
# 1 只保留身份信息:展示为【发起方】
|
210
|
+
# 2 保留身份信息+企业名称:展示为【发起方xxx公司】
|
211
|
+
# 3 保留身份信息+企业名称+经办人名称:展示为【发起方xxxx公司-经办人姓名】
|
212
|
+
# @type CancelMessageFormat: Integer
|
213
|
+
|
214
|
+
attr_accessor :FlowId, :Agent, :CancelMessage, :Operator, :CancelMessageFormat
|
215
|
+
|
216
|
+
def initialize(flowid=nil, agent=nil, cancelmessage=nil, operator=nil, cancelmessageformat=nil)
|
217
|
+
@FlowId = flowid
|
218
|
+
@Agent = agent
|
219
|
+
@CancelMessage = cancelmessage
|
220
|
+
@Operator = operator
|
221
|
+
@CancelMessageFormat = cancelmessageformat
|
222
|
+
end
|
223
|
+
|
224
|
+
def deserialize(params)
|
225
|
+
@FlowId = params['FlowId']
|
226
|
+
unless params['Agent'].nil?
|
227
|
+
@Agent = Agent.new
|
228
|
+
@Agent.deserialize(params['Agent'])
|
229
|
+
end
|
230
|
+
@CancelMessage = params['CancelMessage']
|
231
|
+
unless params['Operator'].nil?
|
232
|
+
@Operator = UserInfo.new
|
233
|
+
@Operator.deserialize(params['Operator'])
|
234
|
+
end
|
235
|
+
@CancelMessageFormat = params['CancelMessageFormat']
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
# ChannelCancelFlow返回参数结构体
|
240
|
+
class ChannelCancelFlowResponse < TencentCloud::Common::AbstractModel
|
241
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
242
|
+
# @type RequestId: String
|
243
|
+
|
244
|
+
attr_accessor :RequestId
|
245
|
+
|
246
|
+
def initialize(requestid=nil)
|
247
|
+
@RequestId = requestid
|
248
|
+
end
|
249
|
+
|
250
|
+
def deserialize(params)
|
251
|
+
@RequestId = params['RequestId']
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
169
255
|
# ChannelCancelMultiFlowSignQRCode请求参数结构体
|
170
256
|
class ChannelCancelMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
|
171
257
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
@@ -1528,7 +1614,7 @@ module TencentCloud
|
|
1528
1614
|
class DescribeTemplatesRequest < TencentCloud::Common::AbstractModel
|
1529
1615
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
1530
1616
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1531
|
-
# @param TemplateId:
|
1617
|
+
# @param TemplateId: 模板唯一标识,查询单个模板时使用
|
1532
1618
|
# @type TemplateId: String
|
1533
1619
|
# @param ContentType: 查询内容:0-模板列表及详情(默认),1-仅模板列表
|
1534
1620
|
# @type ContentType: Integer
|
@@ -1798,14 +1884,14 @@ module TencentCloud
|
|
1798
1884
|
# 创建签署流程签署人入参。
|
1799
1885
|
|
1800
1886
|
# 其中签署方FlowApproverInfo需要传递的参数
|
1801
|
-
# 非单C、单B、B2C合同,ApproverType、RecipientId
|
1887
|
+
# 非单C、单B、B2C合同,ApproverType、RecipientId(模板发起合同时)必传,建议都传。其他身份标识
|
1802
1888
|
# 1-个人:Name、Mobile必传
|
1803
1889
|
# 2-渠道子客企业指定经办人:OpenId必传,OrgName必传、OrgOpenId必传;
|
1804
1890
|
# 3-渠道合作企业不指定经办人:(暂不支持)
|
1805
1891
|
# 4-非渠道合作企业:Name、Mobile必传,OrgName必传,且NotChannelOrganization=True。
|
1806
1892
|
|
1807
1893
|
# RecipientId参数:
|
1808
|
-
# 从DescribeTemplates
|
1894
|
+
# 从DescribeTemplates接口中,可以得到模板下的签署方Recipient列表,根据模板自定义的Rolename在此结构体中确定其RecipientId
|
1809
1895
|
class FlowApproverInfo < TencentCloud::Common::AbstractModel
|
1810
1896
|
# @param Name: 签署人姓名,最大长度50个字符
|
1811
1897
|
# @type Name: String
|
@@ -1831,7 +1917,7 @@ module TencentCloud
|
|
1831
1917
|
# PERSON_AUTO_SIGN-个人自动签;
|
1832
1918
|
# ORGANIZATION-企业;
|
1833
1919
|
# ENTERPRISESERVER-企业静默签;
|
1834
|
-
# 注:ENTERPRISESERVER 类型仅用于使用文件创建签署流程(ChannelCreateFlowByFiles
|
1920
|
+
# 注:ENTERPRISESERVER 类型仅用于使用文件创建签署流程(ChannelCreateFlowByFiles)接口;
|
1835
1921
|
# @type ApproverType: String
|
1836
1922
|
# @param RecipientId: 签署流程签署人在模板中对应的签署人Id;在非单方签署、以及非B2C签署的场景下必传,用于指定当前签署方在签署流程中的位置;
|
1837
1923
|
# @type RecipientId: String
|
@@ -1847,10 +1933,14 @@ module TencentCloud
|
|
1847
1933
|
# @type PreReadTime: Integer
|
1848
1934
|
# @param JumpUrl: 签署完前端跳转的url,暂未使用
|
1849
1935
|
# @type JumpUrl: String
|
1936
|
+
# @param ApproverOption: 签署人个性化能力值
|
1937
|
+
# @type ApproverOption: :class:`Tencentcloud::Essbasic.v20210526.models.ApproverOption`
|
1938
|
+
# @param ApproverNeedSignReview: 当前签署方进行签署操作是否需要企业内部审批,true 则为需要
|
1939
|
+
# @type ApproverNeedSignReview: Boolean
|
1850
1940
|
|
1851
|
-
attr_accessor :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationName, :NotChannelOrganization, :OpenId, :OrganizationOpenId, :ApproverType, :RecipientId, :Deadline, :CallbackUrl, :SignComponents, :ComponentLimitType, :PreReadTime, :JumpUrl
|
1941
|
+
attr_accessor :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationName, :NotChannelOrganization, :OpenId, :OrganizationOpenId, :ApproverType, :RecipientId, :Deadline, :CallbackUrl, :SignComponents, :ComponentLimitType, :PreReadTime, :JumpUrl, :ApproverOption, :ApproverNeedSignReview
|
1852
1942
|
|
1853
|
-
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)
|
1943
|
+
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)
|
1854
1944
|
@Name = name
|
1855
1945
|
@IdCardType = idcardtype
|
1856
1946
|
@IdCardNumber = idcardnumber
|
@@ -1867,6 +1957,8 @@ module TencentCloud
|
|
1867
1957
|
@ComponentLimitType = componentlimittype
|
1868
1958
|
@PreReadTime = prereadtime
|
1869
1959
|
@JumpUrl = jumpurl
|
1960
|
+
@ApproverOption = approveroption
|
1961
|
+
@ApproverNeedSignReview = approverneedsignreview
|
1870
1962
|
end
|
1871
1963
|
|
1872
1964
|
def deserialize(params)
|
@@ -1893,6 +1985,11 @@ module TencentCloud
|
|
1893
1985
|
@ComponentLimitType = params['ComponentLimitType']
|
1894
1986
|
@PreReadTime = params['PreReadTime']
|
1895
1987
|
@JumpUrl = params['JumpUrl']
|
1988
|
+
unless params['ApproverOption'].nil?
|
1989
|
+
@ApproverOption = ApproverOption.new
|
1990
|
+
@ApproverOption.deserialize(params['ApproverOption'])
|
1991
|
+
end
|
1992
|
+
@ApproverNeedSignReview = params['ApproverNeedSignReview']
|
1896
1993
|
end
|
1897
1994
|
end
|
1898
1995
|
|
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.436
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|