tencentcloud-sdk-essbasic 3.0.434 → 3.0.435

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c8fe5b8c73ada4ed477ff795f4542531f7cedb9
4
- data.tar.gz: 557e784630b28cf3be994ffed0010a25d3e6bdfa
3
+ metadata.gz: 1bc24928567c87b7e5b60ccfc525c3d7c6e6f4e6
4
+ data.tar.gz: 0e0d3fccab55f32e1cd584adf66588c20f2b9314
5
5
  SHA512:
6
- metadata.gz: d4b59b93d79d70979ea156caa2a9ebdb0084d68823e6e2e8d0f9784c4d27ef9079b2f25387bddf4ad9fa612cedb4ce16d3b580cccb729cb53eef7c8ce75bef7f
7
- data.tar.gz: a5675f3f6d73d5121d007cc8cfc5d455b88b25f02bd221873c88591b445a9ebf9bcd3b9d65eddee527f86f67456825a963a29b3881830ff460d25dff16e2bfd4
6
+ metadata.gz: aeaa28adf6caa94a5107bf804686146bdd4b861e30735818bb196844d4b309bb63dd14cd01070dde269ac709b30b51342c0e2409d4854c4fd7431f6645e28da1
7
+ data.tar.gz: 76d4529e5624b21b0eca5470ea1cababcd1f86cb2a4b0cad57b74dc9a51a2cd48a50a10633963596b8d65a6b655624fdd70400c1e197114e7e9fc93415924e16
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.434
1
+ 3.0.435
@@ -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`
@@ -122,14 +122,24 @@ module TencentCloud
122
122
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
123
123
  # @param FlowIds: 签署流程Id数组,最多100个,超过100不处理
124
124
  # @type FlowIds: Array
125
+ # @param CancelMessage: 撤销理由
126
+ # @type CancelMessage: String
127
+ # @param CancelMessageFormat: 撤销理由自定义格式;选项:
128
+ # 0 默认格式
129
+ # 1 只保留身份信息:展示为【发起方】
130
+ # 2 保留身份信息+企业名称:展示为【发起方xxx公司】
131
+ # 3 保留身份信息+企业名称+经办人名称:展示为【发起方xxxx公司-经办人姓名】
132
+ # @type CancelMessageFormat: Integer
125
133
  # @param Operator: 操作人信息
126
134
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
127
135
 
128
- attr_accessor :Agent, :FlowIds, :Operator
136
+ attr_accessor :Agent, :FlowIds, :CancelMessage, :CancelMessageFormat, :Operator
129
137
 
130
- def initialize(agent=nil, flowids=nil, operator=nil)
138
+ def initialize(agent=nil, flowids=nil, cancelmessage=nil, cancelmessageformat=nil, operator=nil)
131
139
  @Agent = agent
132
140
  @FlowIds = flowids
141
+ @CancelMessage = cancelmessage
142
+ @CancelMessageFormat = cancelmessageformat
133
143
  @Operator = operator
134
144
  end
135
145
 
@@ -139,6 +149,8 @@ module TencentCloud
139
149
  @Agent.deserialize(params['Agent'])
140
150
  end
141
151
  @FlowIds = params['FlowIds']
152
+ @CancelMessage = params['CancelMessage']
153
+ @CancelMessageFormat = params['CancelMessageFormat']
142
154
  unless params['Operator'].nil?
143
155
  @Operator = UserInfo.new
144
156
  @Operator.deserialize(params['Operator'])
@@ -166,6 +178,64 @@ module TencentCloud
166
178
  end
167
179
  end
168
180
 
181
+ # ChannelCancelFlow请求参数结构体
182
+ class ChannelCancelFlowRequest < TencentCloud::Common::AbstractModel
183
+ # @param FlowId: 签署流程编号
184
+ # @type FlowId: String
185
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
186
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
187
+ # @param CancelMessage: 撤回原因,最大不超过200字符
188
+ # @type CancelMessage: String
189
+ # @param Operator: 操作者的信息
190
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
191
+ # @param CancelMessageFormat: 撤销理由自定义格式;选项:
192
+ # 0 默认格式
193
+ # 1 只保留身份信息:展示为【发起方】
194
+ # 2 保留身份信息+企业名称:展示为【发起方xxx公司】
195
+ # 3 保留身份信息+企业名称+经办人名称:展示为【发起方xxxx公司-经办人姓名】
196
+ # @type CancelMessageFormat: Integer
197
+
198
+ attr_accessor :FlowId, :Agent, :CancelMessage, :Operator, :CancelMessageFormat
199
+
200
+ def initialize(flowid=nil, agent=nil, cancelmessage=nil, operator=nil, cancelmessageformat=nil)
201
+ @FlowId = flowid
202
+ @Agent = agent
203
+ @CancelMessage = cancelmessage
204
+ @Operator = operator
205
+ @CancelMessageFormat = cancelmessageformat
206
+ end
207
+
208
+ def deserialize(params)
209
+ @FlowId = params['FlowId']
210
+ unless params['Agent'].nil?
211
+ @Agent = Agent.new
212
+ @Agent.deserialize(params['Agent'])
213
+ end
214
+ @CancelMessage = params['CancelMessage']
215
+ unless params['Operator'].nil?
216
+ @Operator = UserInfo.new
217
+ @Operator.deserialize(params['Operator'])
218
+ end
219
+ @CancelMessageFormat = params['CancelMessageFormat']
220
+ end
221
+ end
222
+
223
+ # ChannelCancelFlow返回参数结构体
224
+ class ChannelCancelFlowResponse < TencentCloud::Common::AbstractModel
225
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
226
+ # @type RequestId: String
227
+
228
+ attr_accessor :RequestId
229
+
230
+ def initialize(requestid=nil)
231
+ @RequestId = requestid
232
+ end
233
+
234
+ def deserialize(params)
235
+ @RequestId = params['RequestId']
236
+ end
237
+ end
238
+
169
239
  # ChannelCancelMultiFlowSignQRCode请求参数结构体
170
240
  class ChannelCancelMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
171
241
  # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
@@ -1528,7 +1598,7 @@ module TencentCloud
1528
1598
  class DescribeTemplatesRequest < TencentCloud::Common::AbstractModel
1529
1599
  # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1530
1600
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1531
- # @param TemplateId: 模板唯一标识,查询单个模版时使用
1601
+ # @param TemplateId: 模板唯一标识,查询单个模板时使用
1532
1602
  # @type TemplateId: String
1533
1603
  # @param ContentType: 查询内容:0-模板列表及详情(默认),1-仅模板列表
1534
1604
  # @type ContentType: Integer
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.434
4
+ version: 3.0.435
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-24 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common