tencentcloud-sdk-essbasic 3.0.1009 → 3.0.1010
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 +31 -0
- data/lib/v20210526/models.rb +107 -0
- 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: dbd3d932a2b06167f4137cb7fa8c039923cf03f4
|
4
|
+
data.tar.gz: 62f4783f951d4ed33ac208b14d3b6e80862f6dcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe6a58930a13bb2f4cc12bcac280bf20e33aa8a79378a153b2445f78da2394bd03a4b0e2a35b0d7dd3ca118777ee35551bce7b0732ad34d1eacf475daefe3375
|
7
|
+
data.tar.gz: d6c2efd062d31a7687b37fc63a2074cc9e171a8f67f05fa55201d5ea5cb2362d1602c448745f865639440bad1b0dc09a10a6f530bb7df64ba7f40975cd79201f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1010
|
data/lib/v20210526/client.rb
CHANGED
@@ -2112,6 +2112,37 @@ module TencentCloud
|
|
2112
2112
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2113
2113
|
end
|
2114
2114
|
|
2115
|
+
# 该接口用于将合同中本企业当前经办人转为本企业其他员工进行操作。
|
2116
|
+
|
2117
|
+
# 注意:
|
2118
|
+
# 1. 转交的目标经办人需要已经加入企业,且完成实名。
|
2119
|
+
# 2. 仅企业拥有`超管`或`法人角色`的员工才有调用本接口的权限。
|
2120
|
+
# 3. 仅支持当前经办人为待签署或待填写状态时进行转交操作。
|
2121
|
+
# 4. 若原合同有填写控件,且当前经办人已经完成填写,则不支持进行转交。
|
2122
|
+
# 5. 若当前经办人已签署完成,或者处于签署流程中,则不支持进行转交。
|
2123
|
+
|
2124
|
+
# @param request: Request instance for CreateFlowForwards.
|
2125
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::CreateFlowForwardsRequest`
|
2126
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::CreateFlowForwardsResponse`
|
2127
|
+
def CreateFlowForwards(request)
|
2128
|
+
body = send_request('CreateFlowForwards', request.serialize)
|
2129
|
+
response = JSON.parse(body)
|
2130
|
+
if response['Response'].key?('Error') == false
|
2131
|
+
model = CreateFlowForwardsResponse.new
|
2132
|
+
model.deserialize(response['Response'])
|
2133
|
+
model
|
2134
|
+
else
|
2135
|
+
code = response['Response']['Error']['Code']
|
2136
|
+
message = response['Response']['Error']['Message']
|
2137
|
+
reqid = response['Response']['RequestId']
|
2138
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2139
|
+
end
|
2140
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2141
|
+
raise e
|
2142
|
+
rescue StandardError => e
|
2143
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2144
|
+
end
|
2145
|
+
|
2115
2146
|
# 1. 在使用[通过多文件创建合同组签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowGroupByFiles)或[通过多模板创建合同组签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowGroupByTemplates)创建合同组签署流程时,若指定了参数以下参数为true,则可以调用此接口提交企业内部签署审批结果,即使是自动签署也需要进行审核通过才会进行签署。
|
2116
2147
|
# - [FlowInfo.NeedSignReview](https://qian.tencent.com/developers/partnerApis/dataTypes/#flowinfo)
|
2117
2148
|
# - [FlowFileInfo.NeedSignReview](https://qian.tencent.com/developers/partnerApis/dataTypes/#flowfileinfo)
|
data/lib/v20210526/models.rb
CHANGED
@@ -6285,6 +6285,73 @@ module TencentCloud
|
|
6285
6285
|
end
|
6286
6286
|
end
|
6287
6287
|
|
6288
|
+
# CreateFlowForwards请求参数结构体
|
6289
|
+
class CreateFlowForwardsRequest < TencentCloud::Common::AbstractModel
|
6290
|
+
# @param TargetOpenId: 合同对应参与方需要修改的目标经办人对应的OpenId。
|
6291
|
+
|
6292
|
+
# 注意:`需要保证目标经办人已经加入企业且已实名`
|
6293
|
+
# @type TargetOpenId: String
|
6294
|
+
# @param FlowForwardInfos: 企业签署方的合同及对应签署方
|
6295
|
+
# @type FlowForwardInfos: Array
|
6296
|
+
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。此接口下面信息必填。<ul><li>渠道应用标识: Agent.AppId</li><li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li><li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li></ul>第三方平台子客企业和员工必须已经经过实名认证
|
6297
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
6298
|
+
|
6299
|
+
attr_accessor :TargetOpenId, :FlowForwardInfos, :Agent
|
6300
|
+
|
6301
|
+
def initialize(targetopenid=nil, flowforwardinfos=nil, agent=nil)
|
6302
|
+
@TargetOpenId = targetopenid
|
6303
|
+
@FlowForwardInfos = flowforwardinfos
|
6304
|
+
@Agent = agent
|
6305
|
+
end
|
6306
|
+
|
6307
|
+
def deserialize(params)
|
6308
|
+
@TargetOpenId = params['TargetOpenId']
|
6309
|
+
unless params['FlowForwardInfos'].nil?
|
6310
|
+
@FlowForwardInfos = []
|
6311
|
+
params['FlowForwardInfos'].each do |i|
|
6312
|
+
flowforwardinfo_tmp = FlowForwardInfo.new
|
6313
|
+
flowforwardinfo_tmp.deserialize(i)
|
6314
|
+
@FlowForwardInfos << flowforwardinfo_tmp
|
6315
|
+
end
|
6316
|
+
end
|
6317
|
+
unless params['Agent'].nil?
|
6318
|
+
@Agent = Agent.new
|
6319
|
+
@Agent.deserialize(params['Agent'])
|
6320
|
+
end
|
6321
|
+
end
|
6322
|
+
end
|
6323
|
+
|
6324
|
+
# CreateFlowForwards返回参数结构体
|
6325
|
+
class CreateFlowForwardsResponse < TencentCloud::Common::AbstractModel
|
6326
|
+
# @param FailedFlows: 失败的合同id以及错误详情
|
6327
|
+
# @type FailedFlows: Array
|
6328
|
+
# @param SuccessFlows: 成功的合同id
|
6329
|
+
# @type SuccessFlows: Array
|
6330
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6331
|
+
# @type RequestId: String
|
6332
|
+
|
6333
|
+
attr_accessor :FailedFlows, :SuccessFlows, :RequestId
|
6334
|
+
|
6335
|
+
def initialize(failedflows=nil, successflows=nil, requestid=nil)
|
6336
|
+
@FailedFlows = failedflows
|
6337
|
+
@SuccessFlows = successflows
|
6338
|
+
@RequestId = requestid
|
6339
|
+
end
|
6340
|
+
|
6341
|
+
def deserialize(params)
|
6342
|
+
unless params['FailedFlows'].nil?
|
6343
|
+
@FailedFlows = []
|
6344
|
+
params['FailedFlows'].each do |i|
|
6345
|
+
flowforwardresult_tmp = FlowForwardResult.new
|
6346
|
+
flowforwardresult_tmp.deserialize(i)
|
6347
|
+
@FailedFlows << flowforwardresult_tmp
|
6348
|
+
end
|
6349
|
+
end
|
6350
|
+
@SuccessFlows = params['SuccessFlows']
|
6351
|
+
@RequestId = params['RequestId']
|
6352
|
+
end
|
6353
|
+
end
|
6354
|
+
|
6288
6355
|
# CreateFlowGroupSignReview请求参数结构体
|
6289
6356
|
class CreateFlowGroupSignReviewRequest < TencentCloud::Common::AbstractModel
|
6290
6357
|
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
@@ -9150,6 +9217,46 @@ module TencentCloud
|
|
9150
9217
|
end
|
9151
9218
|
end
|
9152
9219
|
|
9220
|
+
# 合同转交相关信息
|
9221
|
+
class FlowForwardInfo < TencentCloud::Common::AbstractModel
|
9222
|
+
# @param FlowId: 合同流程ID,为32位字符串。此接口的合同流程ID需要由[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)接口创建得到。
|
9223
|
+
# @type FlowId: String
|
9224
|
+
# @param RecipientId: 签署方经办人在合同中的参与方ID,为32位字符串。
|
9225
|
+
# @type RecipientId: String
|
9226
|
+
|
9227
|
+
attr_accessor :FlowId, :RecipientId
|
9228
|
+
|
9229
|
+
def initialize(flowid=nil, recipientid=nil)
|
9230
|
+
@FlowId = flowid
|
9231
|
+
@RecipientId = recipientid
|
9232
|
+
end
|
9233
|
+
|
9234
|
+
def deserialize(params)
|
9235
|
+
@FlowId = params['FlowId']
|
9236
|
+
@RecipientId = params['RecipientId']
|
9237
|
+
end
|
9238
|
+
end
|
9239
|
+
|
9240
|
+
# 转交合同结果
|
9241
|
+
class FlowForwardResult < TencentCloud::Common::AbstractModel
|
9242
|
+
# @param FlowId: 合同流程ID为32位字符串。您可以登录腾讯电子签控制台,在 "合同" -> "合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。[点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)。
|
9243
|
+
# @type FlowId: String
|
9244
|
+
# @param ErrorDetail: 如果失败,返回的错误细节。
|
9245
|
+
# @type ErrorDetail: String
|
9246
|
+
|
9247
|
+
attr_accessor :FlowId, :ErrorDetail
|
9248
|
+
|
9249
|
+
def initialize(flowid=nil, errordetail=nil)
|
9250
|
+
@FlowId = flowid
|
9251
|
+
@ErrorDetail = errordetail
|
9252
|
+
end
|
9253
|
+
|
9254
|
+
def deserialize(params)
|
9255
|
+
@FlowId = params['FlowId']
|
9256
|
+
@ErrorDetail = params['ErrorDetail']
|
9257
|
+
end
|
9258
|
+
end
|
9259
|
+
|
9153
9260
|
# 合同组相关信息,指定合同组子合同和签署方的信息,用于补充动态签署人。
|
9154
9261
|
class FlowGroupApproverInfo < TencentCloud::Common::AbstractModel
|
9155
9262
|
# @param FlowId: 合同流程ID。
|
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.1010
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|