tencentcloud-sdk-ess 3.0.608 → 3.0.610
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/v20201111/client.rb +51 -0
- data/lib/v20201111/models.rb +287 -16
- 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: 837410fd96c1d599b5f036f60f3da66967358c3f
|
4
|
+
data.tar.gz: 8e5400cf0efb6b7a8d93a117aab20352f0110f2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca4e13ed04efa4e637b9e71982365cd34697c712e3c16e040d4b89b69ad51ff2262ef917fcfea29d6e6f4df535552e9d8b3e330c45ede20a010c1ce673cd6914
|
7
|
+
data.tar.gz: 64e1fcc821b0d38f831f630c3bf35c1ffc0116263af062d3893f4b769f435d592288b47023c018781bcc7c6973f7b671d7e0f9bcf5d36787bf7e8d297c9d399c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.610
|
data/lib/v20201111/client.rb
CHANGED
@@ -334,6 +334,57 @@ module TencentCloud
|
|
334
334
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
335
335
|
end
|
336
336
|
|
337
|
+
# 此接口(CreateFlowGroupByFiles)通过多文件创建合同组签署流程。<br/>
|
338
|
+
# PDF资源Id 通过上传文件接口获取
|
339
|
+
# 此接口合同组中的子合同必须都是文件发起的合同
|
340
|
+
|
341
|
+
# @param request: Request instance for CreateFlowGroupByFiles.
|
342
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateFlowGroupByFilesRequest`
|
343
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateFlowGroupByFilesResponse`
|
344
|
+
def CreateFlowGroupByFiles(request)
|
345
|
+
body = send_request('CreateFlowGroupByFiles', request.serialize)
|
346
|
+
response = JSON.parse(body)
|
347
|
+
if response['Response'].key?('Error') == false
|
348
|
+
model = CreateFlowGroupByFilesResponse.new
|
349
|
+
model.deserialize(response['Response'])
|
350
|
+
model
|
351
|
+
else
|
352
|
+
code = response['Response']['Error']['Code']
|
353
|
+
message = response['Response']['Error']['Message']
|
354
|
+
reqid = response['Response']['RequestId']
|
355
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
356
|
+
end
|
357
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
358
|
+
raise e
|
359
|
+
rescue StandardError => e
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
361
|
+
end
|
362
|
+
|
363
|
+
# 此接口(CreateFlowGroupByTemplates)通过多模板创建合同组签署流程。<br/>
|
364
|
+
# 此接口合同组中的子合同必须都是模板发起的合同。 <br/>目前最大仅支持50个子合同
|
365
|
+
|
366
|
+
# @param request: Request instance for CreateFlowGroupByTemplates.
|
367
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateFlowGroupByTemplatesRequest`
|
368
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateFlowGroupByTemplatesResponse`
|
369
|
+
def CreateFlowGroupByTemplates(request)
|
370
|
+
body = send_request('CreateFlowGroupByTemplates', request.serialize)
|
371
|
+
response = JSON.parse(body)
|
372
|
+
if response['Response'].key?('Error') == false
|
373
|
+
model = CreateFlowGroupByTemplatesResponse.new
|
374
|
+
model.deserialize(response['Response'])
|
375
|
+
model
|
376
|
+
else
|
377
|
+
code = response['Response']['Error']['Code']
|
378
|
+
message = response['Response']['Error']['Message']
|
379
|
+
reqid = response['Response']['RequestId']
|
380
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
381
|
+
end
|
382
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
383
|
+
raise e
|
384
|
+
rescue StandardError => e
|
385
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
386
|
+
end
|
387
|
+
|
337
388
|
# 指定需要批量催办的签署流程Id,批量催办合同,最多100个; 接口失败后返回错误信息
|
338
389
|
# 注意:
|
339
390
|
# 该接口不可直接调用,请联系客户经理申请使用
|
data/lib/v20201111/models.rb
CHANGED
@@ -86,10 +86,10 @@ module TencentCloud
|
|
86
86
|
# @type ApproverName: String
|
87
87
|
# @param ApproverMobile: 签署人的手机号,11位数字
|
88
88
|
# @type ApproverMobile: String
|
89
|
-
# @param SignComponents: 签署人的签署控件列表
|
90
|
-
# @type SignComponents: Array
|
91
89
|
# @param OrganizationName: 如果签署方是企业签署方,则为企业名
|
92
90
|
# @type OrganizationName: String
|
91
|
+
# @param SignComponents: 签署人的签署控件列表
|
92
|
+
# @type SignComponents: Array
|
93
93
|
# @param ApproverIdCardNumber: 签署人的身份证号
|
94
94
|
# @type ApproverIdCardNumber: String
|
95
95
|
# @param ApproverIdCardType: 签署人的身份证件类型
|
@@ -124,14 +124,14 @@ module TencentCloud
|
|
124
124
|
# @param ApproverNeedSignReview: 当前签署方进行签署操作是否需要企业内部审批,true 则为需要。为个人签署方时则由发起方企业审核。
|
125
125
|
# @type ApproverNeedSignReview: Boolean
|
126
126
|
|
127
|
-
attr_accessor :ApproverType, :ApproverName, :ApproverMobile, :
|
127
|
+
attr_accessor :ApproverType, :ApproverName, :ApproverMobile, :OrganizationName, :SignComponents, :ApproverIdCardNumber, :ApproverIdCardType, :NotifyType, :ApproverRole, :VerifyChannel, :PreReadTime, :UserId, :ApproverSource, :CustomApproverTag, :ApproverOption, :ApproverVerifyTypes, :ApproverSignTypes, :ApproverNeedSignReview
|
128
128
|
|
129
|
-
def initialize(approvertype=nil, approvername=nil, approvermobile=nil,
|
129
|
+
def initialize(approvertype=nil, approvername=nil, approvermobile=nil, organizationname=nil, signcomponents=nil, approveridcardnumber=nil, approveridcardtype=nil, notifytype=nil, approverrole=nil, verifychannel=nil, prereadtime=nil, userid=nil, approversource=nil, customapprovertag=nil, approveroption=nil, approververifytypes=nil, approversigntypes=nil, approverneedsignreview=nil)
|
130
130
|
@ApproverType = approvertype
|
131
131
|
@ApproverName = approvername
|
132
132
|
@ApproverMobile = approvermobile
|
133
|
-
@SignComponents = signcomponents
|
134
133
|
@OrganizationName = organizationname
|
134
|
+
@SignComponents = signcomponents
|
135
135
|
@ApproverIdCardNumber = approveridcardnumber
|
136
136
|
@ApproverIdCardType = approveridcardtype
|
137
137
|
@NotifyType = notifytype
|
@@ -151,6 +151,7 @@ module TencentCloud
|
|
151
151
|
@ApproverType = params['ApproverType']
|
152
152
|
@ApproverName = params['ApproverName']
|
153
153
|
@ApproverMobile = params['ApproverMobile']
|
154
|
+
@OrganizationName = params['OrganizationName']
|
154
155
|
unless params['SignComponents'].nil?
|
155
156
|
@SignComponents = []
|
156
157
|
params['SignComponents'].each do |i|
|
@@ -159,7 +160,6 @@ module TencentCloud
|
|
159
160
|
@SignComponents << component_tmp
|
160
161
|
end
|
161
162
|
end
|
162
|
-
@OrganizationName = params['OrganizationName']
|
163
163
|
@ApproverIdCardNumber = params['ApproverIdCardNumber']
|
164
164
|
@ApproverIdCardType = params['ApproverIdCardType']
|
165
165
|
@NotifyType = params['NotifyType']
|
@@ -1354,6 +1354,154 @@ module TencentCloud
|
|
1354
1354
|
end
|
1355
1355
|
end
|
1356
1356
|
|
1357
|
+
# CreateFlowGroupByFiles请求参数结构体
|
1358
|
+
class CreateFlowGroupByFilesRequest < TencentCloud::Common::AbstractModel
|
1359
|
+
# @param Operator: 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId 代发合同
|
1360
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1361
|
+
# @param FlowGroupName: 合同(流程)组名称,最大长度200个字符
|
1362
|
+
# @type FlowGroupName: String
|
1363
|
+
# @param FlowGroupInfos: 合同(流程)组的子合同信息,支持2-50个子合同
|
1364
|
+
# @type FlowGroupInfos: Array
|
1365
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
1366
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1367
|
+
# @param FlowGroupOptions: 合同(流程)组的配置项信息。包括是否通知本企业签署方,是否通知其他签署方
|
1368
|
+
# @type FlowGroupOptions: :class:`Tencentcloud::Ess.v20201111.models.FlowGroupOptions`
|
1369
|
+
|
1370
|
+
attr_accessor :Operator, :FlowGroupName, :FlowGroupInfos, :Agent, :FlowGroupOptions
|
1371
|
+
|
1372
|
+
def initialize(operator=nil, flowgroupname=nil, flowgroupinfos=nil, agent=nil, flowgroupoptions=nil)
|
1373
|
+
@Operator = operator
|
1374
|
+
@FlowGroupName = flowgroupname
|
1375
|
+
@FlowGroupInfos = flowgroupinfos
|
1376
|
+
@Agent = agent
|
1377
|
+
@FlowGroupOptions = flowgroupoptions
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
def deserialize(params)
|
1381
|
+
unless params['Operator'].nil?
|
1382
|
+
@Operator = UserInfo.new
|
1383
|
+
@Operator.deserialize(params['Operator'])
|
1384
|
+
end
|
1385
|
+
@FlowGroupName = params['FlowGroupName']
|
1386
|
+
unless params['FlowGroupInfos'].nil?
|
1387
|
+
@FlowGroupInfos = []
|
1388
|
+
params['FlowGroupInfos'].each do |i|
|
1389
|
+
flowgroupinfo_tmp = FlowGroupInfo.new
|
1390
|
+
flowgroupinfo_tmp.deserialize(i)
|
1391
|
+
@FlowGroupInfos << flowgroupinfo_tmp
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
unless params['Agent'].nil?
|
1395
|
+
@Agent = Agent.new
|
1396
|
+
@Agent.deserialize(params['Agent'])
|
1397
|
+
end
|
1398
|
+
unless params['FlowGroupOptions'].nil?
|
1399
|
+
@FlowGroupOptions = FlowGroupOptions.new
|
1400
|
+
@FlowGroupOptions.deserialize(params['FlowGroupOptions'])
|
1401
|
+
end
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
# CreateFlowGroupByFiles返回参数结构体
|
1406
|
+
class CreateFlowGroupByFilesResponse < TencentCloud::Common::AbstractModel
|
1407
|
+
# @param FlowGroupId: 合同(流程)组的合同组Id
|
1408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1409
|
+
# @type FlowGroupId: String
|
1410
|
+
# @param FlowIds: 合同(流程)组中子合同列表.
|
1411
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1412
|
+
# @type FlowIds: Array
|
1413
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1414
|
+
# @type RequestId: String
|
1415
|
+
|
1416
|
+
attr_accessor :FlowGroupId, :FlowIds, :RequestId
|
1417
|
+
|
1418
|
+
def initialize(flowgroupid=nil, flowids=nil, requestid=nil)
|
1419
|
+
@FlowGroupId = flowgroupid
|
1420
|
+
@FlowIds = flowids
|
1421
|
+
@RequestId = requestid
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
def deserialize(params)
|
1425
|
+
@FlowGroupId = params['FlowGroupId']
|
1426
|
+
@FlowIds = params['FlowIds']
|
1427
|
+
@RequestId = params['RequestId']
|
1428
|
+
end
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
# CreateFlowGroupByTemplates请求参数结构体
|
1432
|
+
class CreateFlowGroupByTemplatesRequest < TencentCloud::Common::AbstractModel
|
1433
|
+
# @param Operator: 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId 代发合同
|
1434
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1435
|
+
# @param FlowGroupName: 合同组名称,最大长度200个字符
|
1436
|
+
# @type FlowGroupName: String
|
1437
|
+
# @param FlowGroupInfos: 合同组的子合同信息,支持2-50个子合同
|
1438
|
+
# @type FlowGroupInfos: Array
|
1439
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
1440
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1441
|
+
# @param FlowGroupOptions: 合同组的配置信息。包括是否通知本企业签署方,是否通知其他签署方
|
1442
|
+
# @type FlowGroupOptions: :class:`Tencentcloud::Ess.v20201111.models.FlowGroupOptions`
|
1443
|
+
|
1444
|
+
attr_accessor :Operator, :FlowGroupName, :FlowGroupInfos, :Agent, :FlowGroupOptions
|
1445
|
+
|
1446
|
+
def initialize(operator=nil, flowgroupname=nil, flowgroupinfos=nil, agent=nil, flowgroupoptions=nil)
|
1447
|
+
@Operator = operator
|
1448
|
+
@FlowGroupName = flowgroupname
|
1449
|
+
@FlowGroupInfos = flowgroupinfos
|
1450
|
+
@Agent = agent
|
1451
|
+
@FlowGroupOptions = flowgroupoptions
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
def deserialize(params)
|
1455
|
+
unless params['Operator'].nil?
|
1456
|
+
@Operator = UserInfo.new
|
1457
|
+
@Operator.deserialize(params['Operator'])
|
1458
|
+
end
|
1459
|
+
@FlowGroupName = params['FlowGroupName']
|
1460
|
+
unless params['FlowGroupInfos'].nil?
|
1461
|
+
@FlowGroupInfos = []
|
1462
|
+
params['FlowGroupInfos'].each do |i|
|
1463
|
+
flowgroupinfo_tmp = FlowGroupInfo.new
|
1464
|
+
flowgroupinfo_tmp.deserialize(i)
|
1465
|
+
@FlowGroupInfos << flowgroupinfo_tmp
|
1466
|
+
end
|
1467
|
+
end
|
1468
|
+
unless params['Agent'].nil?
|
1469
|
+
@Agent = Agent.new
|
1470
|
+
@Agent.deserialize(params['Agent'])
|
1471
|
+
end
|
1472
|
+
unless params['FlowGroupOptions'].nil?
|
1473
|
+
@FlowGroupOptions = FlowGroupOptions.new
|
1474
|
+
@FlowGroupOptions.deserialize(params['FlowGroupOptions'])
|
1475
|
+
end
|
1476
|
+
end
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# CreateFlowGroupByTemplates返回参数结构体
|
1480
|
+
class CreateFlowGroupByTemplatesResponse < TencentCloud::Common::AbstractModel
|
1481
|
+
# @param FlowGroupId: 合同(流程)组的合同组Id
|
1482
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1483
|
+
# @type FlowGroupId: String
|
1484
|
+
# @param FlowIds: 合同(流程)组中子合同列表.
|
1485
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1486
|
+
# @type FlowIds: Array
|
1487
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1488
|
+
# @type RequestId: String
|
1489
|
+
|
1490
|
+
attr_accessor :FlowGroupId, :FlowIds, :RequestId
|
1491
|
+
|
1492
|
+
def initialize(flowgroupid=nil, flowids=nil, requestid=nil)
|
1493
|
+
@FlowGroupId = flowgroupid
|
1494
|
+
@FlowIds = flowids
|
1495
|
+
@RequestId = requestid
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
def deserialize(params)
|
1499
|
+
@FlowGroupId = params['FlowGroupId']
|
1500
|
+
@FlowIds = params['FlowIds']
|
1501
|
+
@RequestId = params['RequestId']
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1357
1505
|
# CreateFlowReminds请求参数结构体
|
1358
1506
|
class CreateFlowRemindsRequest < TencentCloud::Common::AbstractModel
|
1359
1507
|
# @param Operator: 调用方用户信息,userId 必填
|
@@ -2245,6 +2393,8 @@ module TencentCloud
|
|
2245
2393
|
# @type EndPoint: String
|
2246
2394
|
# @param FlowId: 签署流程编号 (PathType=1时必传)
|
2247
2395
|
# @type FlowId: String
|
2396
|
+
# @param FlowGroupId: 合同组ID
|
2397
|
+
# @type FlowGroupId: String
|
2248
2398
|
# @param PathType: 跳转页面 1: 小程序合同详情 2: 小程序合同列表页 0: 不传, 默认主页
|
2249
2399
|
# @type PathType: Integer
|
2250
2400
|
# @param AutoJumpBack: 是否自动回跳 true:是, false:否。该参数只针对"APP" 类型的签署链接有效
|
@@ -2252,15 +2402,16 @@ module TencentCloud
|
|
2252
2402
|
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
2253
2403
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2254
2404
|
|
2255
|
-
attr_accessor :Operator, :OrganizationName, :Name, :Mobile, :EndPoint, :FlowId, :PathType, :AutoJumpBack, :Agent
|
2405
|
+
attr_accessor :Operator, :OrganizationName, :Name, :Mobile, :EndPoint, :FlowId, :FlowGroupId, :PathType, :AutoJumpBack, :Agent
|
2256
2406
|
|
2257
|
-
def initialize(operator=nil, organizationname=nil, name=nil, mobile=nil, endpoint=nil, flowid=nil, pathtype=nil, autojumpback=nil, agent=nil)
|
2407
|
+
def initialize(operator=nil, organizationname=nil, name=nil, mobile=nil, endpoint=nil, flowid=nil, flowgroupid=nil, pathtype=nil, autojumpback=nil, agent=nil)
|
2258
2408
|
@Operator = operator
|
2259
2409
|
@OrganizationName = organizationname
|
2260
2410
|
@Name = name
|
2261
2411
|
@Mobile = mobile
|
2262
2412
|
@EndPoint = endpoint
|
2263
2413
|
@FlowId = flowid
|
2414
|
+
@FlowGroupId = flowgroupid
|
2264
2415
|
@PathType = pathtype
|
2265
2416
|
@AutoJumpBack = autojumpback
|
2266
2417
|
@Agent = agent
|
@@ -2276,6 +2427,7 @@ module TencentCloud
|
|
2276
2427
|
@Mobile = params['Mobile']
|
2277
2428
|
@EndPoint = params['EndPoint']
|
2278
2429
|
@FlowId = params['FlowId']
|
2430
|
+
@FlowGroupId = params['FlowGroupId']
|
2279
2431
|
@PathType = params['PathType']
|
2280
2432
|
@AutoJumpBack = params['AutoJumpBack']
|
2281
2433
|
unless params['Agent'].nil?
|
@@ -3219,31 +3371,35 @@ module TencentCloud
|
|
3219
3371
|
|
3220
3372
|
# DescribeFlowInfo请求参数结构体
|
3221
3373
|
class DescribeFlowInfoRequest < TencentCloud::Common::AbstractModel
|
3222
|
-
# @param FlowIds: 需要查询的流程ID列表,限制最大100个
|
3223
|
-
# @type FlowIds: Array
|
3224
3374
|
# @param Operator: 调用方用户信息,userId 必填
|
3225
3375
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
3376
|
+
# @param FlowIds: 需要查询的流程ID列表,限制最大100个
|
3377
|
+
# @type FlowIds: Array
|
3226
3378
|
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
3227
3379
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
3380
|
+
# @param FlowGroupId: 合同组ID
|
3381
|
+
# @type FlowGroupId: String
|
3228
3382
|
|
3229
|
-
attr_accessor :FlowIds, :
|
3383
|
+
attr_accessor :Operator, :FlowIds, :Agent, :FlowGroupId
|
3230
3384
|
|
3231
|
-
def initialize(
|
3232
|
-
@FlowIds = flowids
|
3385
|
+
def initialize(operator=nil, flowids=nil, agent=nil, flowgroupid=nil)
|
3233
3386
|
@Operator = operator
|
3387
|
+
@FlowIds = flowids
|
3234
3388
|
@Agent = agent
|
3389
|
+
@FlowGroupId = flowgroupid
|
3235
3390
|
end
|
3236
3391
|
|
3237
3392
|
def deserialize(params)
|
3238
|
-
@FlowIds = params['FlowIds']
|
3239
3393
|
unless params['Operator'].nil?
|
3240
3394
|
@Operator = UserInfo.new
|
3241
3395
|
@Operator.deserialize(params['Operator'])
|
3242
3396
|
end
|
3397
|
+
@FlowIds = params['FlowIds']
|
3243
3398
|
unless params['Agent'].nil?
|
3244
3399
|
@Agent = Agent.new
|
3245
3400
|
@Agent.deserialize(params['Agent'])
|
3246
3401
|
end
|
3402
|
+
@FlowGroupId = params['FlowGroupId']
|
3247
3403
|
end
|
3248
3404
|
end
|
3249
3405
|
|
@@ -3251,13 +3407,19 @@ module TencentCloud
|
|
3251
3407
|
class DescribeFlowInfoResponse < TencentCloud::Common::AbstractModel
|
3252
3408
|
# @param FlowDetailInfos: 签署流程信息
|
3253
3409
|
# @type FlowDetailInfos: Array
|
3410
|
+
# @param FlowGroupId: 合同组ID
|
3411
|
+
# @type FlowGroupId: String
|
3412
|
+
# @param FlowGroupName: 合同组名称
|
3413
|
+
# @type FlowGroupName: String
|
3254
3414
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3255
3415
|
# @type RequestId: String
|
3256
3416
|
|
3257
|
-
attr_accessor :FlowDetailInfos, :RequestId
|
3417
|
+
attr_accessor :FlowDetailInfos, :FlowGroupId, :FlowGroupName, :RequestId
|
3258
3418
|
|
3259
|
-
def initialize(flowdetailinfos=nil, requestid=nil)
|
3419
|
+
def initialize(flowdetailinfos=nil, flowgroupid=nil, flowgroupname=nil, requestid=nil)
|
3260
3420
|
@FlowDetailInfos = flowdetailinfos
|
3421
|
+
@FlowGroupId = flowgroupid
|
3422
|
+
@FlowGroupName = flowgroupname
|
3261
3423
|
@RequestId = requestid
|
3262
3424
|
end
|
3263
3425
|
|
@@ -3270,6 +3432,8 @@ module TencentCloud
|
|
3270
3432
|
@FlowDetailInfos << flowdetailinfo_tmp
|
3271
3433
|
end
|
3272
3434
|
end
|
3435
|
+
@FlowGroupId = params['FlowGroupId']
|
3436
|
+
@FlowGroupName = params['FlowGroupName']
|
3273
3437
|
@RequestId = params['RequestId']
|
3274
3438
|
end
|
3275
3439
|
end
|
@@ -4648,6 +4812,113 @@ module TencentCloud
|
|
4648
4812
|
end
|
4649
4813
|
end
|
4650
4814
|
|
4815
|
+
# 此结构体(FlowGroupInfo)描述的是合同组(流程组)的单个合同(流程)信息
|
4816
|
+
class FlowGroupInfo < TencentCloud::Common::AbstractModel
|
4817
|
+
# @param FlowName: 合同(流程)的名称
|
4818
|
+
# @type FlowName: String
|
4819
|
+
# @param Approvers: 合同(流程)的签署方信息
|
4820
|
+
# @type Approvers: Array
|
4821
|
+
# @param FileIds: 发起合同(流程)的资源Id,此资源必须是PDF文件,来自UploadFiles,使用文件发起合同(流程)组时必传
|
4822
|
+
# @type FileIds: Array
|
4823
|
+
# @param TemplateId: 发起合同(流程)的模板Id,用模板发起合同(流程)组时必填
|
4824
|
+
# @type TemplateId: String
|
4825
|
+
# @param FlowType: 合同(流程)的类型
|
4826
|
+
# @type FlowType: String
|
4827
|
+
# @param FlowDescription: 合同(流程)的描述
|
4828
|
+
# @type FlowDescription: String
|
4829
|
+
# @param Deadline: 合同(流程)的截止时间戳,单位秒。默认是一年
|
4830
|
+
# @type Deadline: Integer
|
4831
|
+
# @param CallbackUrl: 合同(流程)的回调地址
|
4832
|
+
# @type CallbackUrl: String
|
4833
|
+
# @param UserData: 第三方平台传递过来的信息, 限制1024字符 格式必须是base64的
|
4834
|
+
# @type UserData: String
|
4835
|
+
# @param Unordered: 合同(流程)的签署是否是无序签, true - 无序。 false - 有序, 默认
|
4836
|
+
# @type Unordered: Boolean
|
4837
|
+
# @param Components: 合同(流程)发起方的填写控件,用户
|
4838
|
+
# @type Components: Array
|
4839
|
+
# @param NeedSignReview: 本企业(发起方)是否需要签署审批,若需要审批则只允许查看不允许签署,需要您调用接口CreateFlowSignReview提交审批结果。
|
4840
|
+
# @type NeedSignReview: Boolean
|
4841
|
+
# @param AutoSignScene: 本企业(发起方)自动签署,需要您在发起合同时给印章控件指定自动签的印章。
|
4842
|
+
# @type AutoSignScene: String
|
4843
|
+
|
4844
|
+
attr_accessor :FlowName, :Approvers, :FileIds, :TemplateId, :FlowType, :FlowDescription, :Deadline, :CallbackUrl, :UserData, :Unordered, :Components, :NeedSignReview, :AutoSignScene
|
4845
|
+
|
4846
|
+
def initialize(flowname=nil, approvers=nil, fileids=nil, templateid=nil, flowtype=nil, flowdescription=nil, deadline=nil, callbackurl=nil, userdata=nil, unordered=nil, components=nil, needsignreview=nil, autosignscene=nil)
|
4847
|
+
@FlowName = flowname
|
4848
|
+
@Approvers = approvers
|
4849
|
+
@FileIds = fileids
|
4850
|
+
@TemplateId = templateid
|
4851
|
+
@FlowType = flowtype
|
4852
|
+
@FlowDescription = flowdescription
|
4853
|
+
@Deadline = deadline
|
4854
|
+
@CallbackUrl = callbackurl
|
4855
|
+
@UserData = userdata
|
4856
|
+
@Unordered = unordered
|
4857
|
+
@Components = components
|
4858
|
+
@NeedSignReview = needsignreview
|
4859
|
+
@AutoSignScene = autosignscene
|
4860
|
+
end
|
4861
|
+
|
4862
|
+
def deserialize(params)
|
4863
|
+
@FlowName = params['FlowName']
|
4864
|
+
unless params['Approvers'].nil?
|
4865
|
+
@Approvers = []
|
4866
|
+
params['Approvers'].each do |i|
|
4867
|
+
approverinfo_tmp = ApproverInfo.new
|
4868
|
+
approverinfo_tmp.deserialize(i)
|
4869
|
+
@Approvers << approverinfo_tmp
|
4870
|
+
end
|
4871
|
+
end
|
4872
|
+
@FileIds = params['FileIds']
|
4873
|
+
@TemplateId = params['TemplateId']
|
4874
|
+
@FlowType = params['FlowType']
|
4875
|
+
@FlowDescription = params['FlowDescription']
|
4876
|
+
@Deadline = params['Deadline']
|
4877
|
+
@CallbackUrl = params['CallbackUrl']
|
4878
|
+
@UserData = params['UserData']
|
4879
|
+
@Unordered = params['Unordered']
|
4880
|
+
unless params['Components'].nil?
|
4881
|
+
@Components = []
|
4882
|
+
params['Components'].each do |i|
|
4883
|
+
component_tmp = Component.new
|
4884
|
+
component_tmp.deserialize(i)
|
4885
|
+
@Components << component_tmp
|
4886
|
+
end
|
4887
|
+
end
|
4888
|
+
@NeedSignReview = params['NeedSignReview']
|
4889
|
+
@AutoSignScene = params['AutoSignScene']
|
4890
|
+
end
|
4891
|
+
end
|
4892
|
+
|
4893
|
+
# 此结构体(FlowGroupOptions)描述的是合同组的个性化配置,支持控制是否发送短信、未实名个人签署方查看合同组时是否需要实名认证(仅在合同组文件发起配置时生效)
|
4894
|
+
class FlowGroupOptions < TencentCloud::Common::AbstractModel
|
4895
|
+
# @param ApproverVerifyType: 发起合同(流程)组的合同(流程)签署人校验方式
|
4896
|
+
# VerifyCheck: 人脸识别(默认)
|
4897
|
+
# MobileCheck:手机号验证
|
4898
|
+
# 参数说明:此参数仅在合同组文件发起有效,可选人脸识别或手机号验证两种方式,若选择后者,未实名个人签署方在签署合同时,无需经过实名认证和意愿确认两次人脸识别,该能力仅适用于个人签署方。
|
4899
|
+
# @type ApproverVerifyType: String
|
4900
|
+
# @param SelfOrganizationApproverNotifyType: 发起合同(流程)组本方企业经办人通知方式
|
4901
|
+
# 签署通知类型:sms--短信,none--不通知
|
4902
|
+
# @type SelfOrganizationApproverNotifyType: String
|
4903
|
+
# @param OtherApproverNotifyType: 发起合同(流程)组他方经办人通知方式
|
4904
|
+
# 签署通知类型:sms--短信,none--不通知
|
4905
|
+
# @type OtherApproverNotifyType: String
|
4906
|
+
|
4907
|
+
attr_accessor :ApproverVerifyType, :SelfOrganizationApproverNotifyType, :OtherApproverNotifyType
|
4908
|
+
|
4909
|
+
def initialize(approververifytype=nil, selforganizationapprovernotifytype=nil, otherapprovernotifytype=nil)
|
4910
|
+
@ApproverVerifyType = approververifytype
|
4911
|
+
@SelfOrganizationApproverNotifyType = selforganizationapprovernotifytype
|
4912
|
+
@OtherApproverNotifyType = otherapprovernotifytype
|
4913
|
+
end
|
4914
|
+
|
4915
|
+
def deserialize(params)
|
4916
|
+
@ApproverVerifyType = params['ApproverVerifyType']
|
4917
|
+
@SelfOrganizationApproverNotifyType = params['SelfOrganizationApproverNotifyType']
|
4918
|
+
@OtherApproverNotifyType = params['OtherApproverNotifyType']
|
4919
|
+
end
|
4920
|
+
end
|
4921
|
+
|
4651
4922
|
# 电子文档的控件填充信息。按照控件类型进行相应的填充。
|
4652
4923
|
|
4653
4924
|
# 【数据表格传参说明】
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ess
|
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
|