tencentcloud-sdk-ess 3.0.1126 → 3.0.1128
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 +58 -0
- data/lib/v20201111/models.rb +200 -13
- 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: 74f46911859935afedd3d2f1a54b1b7879e9f6a3
|
4
|
+
data.tar.gz: 7dbe248d3307accfd0350c74b7b3ea9031dc3030
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 153eaf6fc8ced759185c26f2ee8fa2278adb21dee12a44a353441ddf2078b6550a5d6a23dd1b52b5003a08e73c9d03ab03550336f66850ed6bd773971a8b7794
|
7
|
+
data.tar.gz: 0d8c38b92528eb9a3c6d230f706b3fb4009a5c0874f358c8853d58c1f60c24a21ac59f17394de2508c7bcf80e5b7f2ffe6d18f1fb772a9fa12967ec3cddaa51f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1128
|
data/lib/v20201111/client.rb
CHANGED
@@ -481,6 +481,36 @@ module TencentCloud
|
|
481
481
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
482
482
|
end
|
483
483
|
|
484
|
+
# 此接口(CreateContractReviewWebUrl)用来创建合同审查web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
485
|
+
|
486
|
+
# 适用场景:根据合同内容识别出合同的风险信息。审查结果由AI生成,仅供参考。请结合相关法律法规和公司制度要求综合判断。
|
487
|
+
|
488
|
+
# 注:
|
489
|
+
# 1. pdf、word格式限制大小为10M以下
|
490
|
+
# 2. 如果文件资源为word类型生成的链接不能进行iframe嵌入,需要在单独窗口打开
|
491
|
+
|
492
|
+
# @param request: Request instance for CreateContractReviewWebUrl.
|
493
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateContractReviewWebUrlRequest`
|
494
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateContractReviewWebUrlResponse`
|
495
|
+
def CreateContractReviewWebUrl(request)
|
496
|
+
body = send_request('CreateContractReviewWebUrl', request.serialize)
|
497
|
+
response = JSON.parse(body)
|
498
|
+
if response['Response'].key?('Error') == false
|
499
|
+
model = CreateContractReviewWebUrlResponse.new
|
500
|
+
model.deserialize(response['Response'])
|
501
|
+
model
|
502
|
+
else
|
503
|
+
code = response['Response']['Error']['Code']
|
504
|
+
message = response['Response']['Error']['Message']
|
505
|
+
reqid = response['Response']['RequestId']
|
506
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
507
|
+
end
|
508
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
509
|
+
raise e
|
510
|
+
rescue StandardError => e
|
511
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
512
|
+
end
|
513
|
+
|
484
514
|
# 此接口(CreateConvertTaskApi)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />
|
485
515
|
# 前提条件:源文件已经通过 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />
|
486
516
|
# 适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
|
@@ -2587,6 +2617,34 @@ module TencentCloud
|
|
2587
2617
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2588
2618
|
end
|
2589
2619
|
|
2620
|
+
# 此接口(DescribeContractReviewWebUrl)用来创建合同审查web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
2621
|
+
|
2622
|
+
# 适用场景:根据合同内容识别出合同的风险信息。审查结果由AI生成,仅供参考。请结合相关法律法规和公司制度要求综合判断。
|
2623
|
+
|
2624
|
+
# 注意: `如果文件资源为word类型生成的链接不能进行iframe嵌入,需要在单独窗口打开`
|
2625
|
+
|
2626
|
+
# @param request: Request instance for DescribeContractReviewWebUrl.
|
2627
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeContractReviewWebUrlRequest`
|
2628
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeContractReviewWebUrlResponse`
|
2629
|
+
def DescribeContractReviewWebUrl(request)
|
2630
|
+
body = send_request('DescribeContractReviewWebUrl', request.serialize)
|
2631
|
+
response = JSON.parse(body)
|
2632
|
+
if response['Response'].key?('Error') == false
|
2633
|
+
model = DescribeContractReviewWebUrlResponse.new
|
2634
|
+
model.deserialize(response['Response'])
|
2635
|
+
model
|
2636
|
+
else
|
2637
|
+
code = response['Response']['Error']['Code']
|
2638
|
+
message = response['Response']['Error']['Message']
|
2639
|
+
reqid = response['Response']['RequestId']
|
2640
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2641
|
+
end
|
2642
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2643
|
+
raise e
|
2644
|
+
rescue StandardError => e
|
2645
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2646
|
+
end
|
2647
|
+
|
2590
2648
|
# 查询企业扩展服务的授权详情(列表),当前支持查询以下内容:
|
2591
2649
|
# 1. 企业自动签(本企业授权、集团企业授权、合作企业授权)
|
2592
2650
|
# 2. 批量签署能力
|
data/lib/v20201111/models.rb
CHANGED
@@ -1677,33 +1677,41 @@ module TencentCloud
|
|
1677
1677
|
|
1678
1678
|
# 注: `目前,此接口仅支持5个文件发起。每个文件限制在10M以下,文件必须是PDF格式`
|
1679
1679
|
# @type ResourceIds: Array
|
1680
|
-
# @param PolicyType:
|
1680
|
+
# @param PolicyType: 合同审查的审查尺度。默认为`0`严格尺度
|
1681
1681
|
|
1682
|
-
#
|
1682
|
+
# 审查尺度如下:
|
1683
1683
|
# <ul>
|
1684
1684
|
# <li>**0** - 【严格】以保护己方利益为核心,对合同条款进行严格把控,尽可能争取对己方有利的条款,同时对对方提出的不合理条款可进行坚决修改或删除。</li>
|
1685
1685
|
# <li>**1** - 【中立】以公平合理为原则,平衡双方的权利义务,既不过分强调己方利益,也不过度让步,力求达成双方均可接受的条款。</li>
|
1686
1686
|
# <li>**2** - 【宽松】以促成交易为核心,对合同条款的修改要求较为宽松,倾向于接受对方提出的条款,以尽快达成合作。</li>
|
1687
1687
|
# </ul>
|
1688
1688
|
# @type PolicyType: Integer
|
1689
|
-
# @param Role:
|
1689
|
+
# @param Role: 合同审查中的角色信息,通过明确入参角色的名称和描述,可以提高合同审查的效率和准确性。用户不做配置时大模型会根据合同内容推荐出风险识别角色的名称和描述信息。
|
1690
1690
|
# @type Role: :class:`Tencentcloud::Ess.v20201111.models.RiskIdentificationRoleInfo`
|
1691
1691
|
# @param ChecklistId: 用户配置的审查清单ID,基于此清单ID批量创建合同审查任务,为32位字符串。
|
1692
|
-
# [点击查看审查清单ID在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/2c6588549e28ca49bd8bb7f4a072b19e.png)
|
1692
|
+
# [点击查看审查清单ID在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/2c6588549e28ca49bd8bb7f4a072b19e.png)。如果用户不做此配置大模型会根据合同内容在当前企业下的审查清单和系统默认的清单中选择一个清单进行审查。
|
1693
1693
|
# @type ChecklistId: String
|
1694
1694
|
# @param Agent: 代理企业和员工的信息。
|
1695
1695
|
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
1696
1696
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1697
|
+
# @param Comment: 备注信息,长度不能超过100个字符
|
1698
|
+
# @type Comment: String
|
1699
|
+
# @param UserData: 调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。
|
1700
|
+
|
1701
|
+
# 在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
1702
|
+
# @type UserData: String
|
1697
1703
|
|
1698
|
-
attr_accessor :Operator, :ResourceIds, :PolicyType, :Role, :ChecklistId, :Agent
|
1704
|
+
attr_accessor :Operator, :ResourceIds, :PolicyType, :Role, :ChecklistId, :Agent, :Comment, :UserData
|
1699
1705
|
|
1700
|
-
def initialize(operator=nil, resourceids=nil, policytype=nil, role=nil, checklistid=nil, agent=nil)
|
1706
|
+
def initialize(operator=nil, resourceids=nil, policytype=nil, role=nil, checklistid=nil, agent=nil, comment=nil, userdata=nil)
|
1701
1707
|
@Operator = operator
|
1702
1708
|
@ResourceIds = resourceids
|
1703
1709
|
@PolicyType = policytype
|
1704
1710
|
@Role = role
|
1705
1711
|
@ChecklistId = checklistid
|
1706
1712
|
@Agent = agent
|
1713
|
+
@Comment = comment
|
1714
|
+
@UserData = userdata
|
1707
1715
|
end
|
1708
1716
|
|
1709
1717
|
def deserialize(params)
|
@@ -1722,6 +1730,8 @@ module TencentCloud
|
|
1722
1730
|
@Agent = Agent.new
|
1723
1731
|
@Agent.deserialize(params['Agent'])
|
1724
1732
|
end
|
1733
|
+
@Comment = params['Comment']
|
1734
|
+
@UserData = params['UserData']
|
1725
1735
|
end
|
1726
1736
|
end
|
1727
1737
|
|
@@ -2479,6 +2489,67 @@ module TencentCloud
|
|
2479
2489
|
end
|
2480
2490
|
end
|
2481
2491
|
|
2492
|
+
# CreateContractReviewWebUrl请求参数结构体
|
2493
|
+
class CreateContractReviewWebUrlRequest < TencentCloud::Common::AbstractModel
|
2494
|
+
# @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
2495
|
+
|
2496
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
2497
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2498
|
+
# @param ResourceId: 需要审查的合同文件资源ID,可通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">UploadFiles</a>接口获取文件资源ID。
|
2499
|
+
|
2500
|
+
# 注: `目前,每个文件限制在10M以下,文件仅支持pdf、doc、docx格式`
|
2501
|
+
# @type ResourceId: String
|
2502
|
+
# @param UserData: 调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。
|
2503
|
+
|
2504
|
+
# 在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
2505
|
+
# @type UserData: String
|
2506
|
+
|
2507
|
+
attr_accessor :Operator, :ResourceId, :UserData
|
2508
|
+
|
2509
|
+
def initialize(operator=nil, resourceid=nil, userdata=nil)
|
2510
|
+
@Operator = operator
|
2511
|
+
@ResourceId = resourceid
|
2512
|
+
@UserData = userdata
|
2513
|
+
end
|
2514
|
+
|
2515
|
+
def deserialize(params)
|
2516
|
+
unless params['Operator'].nil?
|
2517
|
+
@Operator = UserInfo.new
|
2518
|
+
@Operator.deserialize(params['Operator'])
|
2519
|
+
end
|
2520
|
+
@ResourceId = params['ResourceId']
|
2521
|
+
@UserData = params['UserData']
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
# CreateContractReviewWebUrl返回参数结构体
|
2526
|
+
class CreateContractReviewWebUrlResponse < TencentCloud::Common::AbstractModel
|
2527
|
+
# @param TaskId: 接口返回的合同审查任务ID,可以调用接口<a href="https://qian.tencent.com/developers/companyApis/embedPages/DescribeContractReviewWebUrl" target="_blank">获取合同审查结果web页面</a>查看审查任务的结果。
|
2528
|
+
|
2529
|
+
# 注意: `当ResourceId参数不为空时才会返回此值。`
|
2530
|
+
# @type TaskId: String
|
2531
|
+
# @param WebUrl: 合同审查嵌入式web页面链接。
|
2532
|
+
|
2533
|
+
# 注意:`链接有效期为5分钟,且链接仅能使用一次。如果上传的合同文件为word时不能进行iframe方式嵌入到贵方系统的网页中,需要单独页面打开此链接显示`
|
2534
|
+
# @type WebUrl: String
|
2535
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2536
|
+
# @type RequestId: String
|
2537
|
+
|
2538
|
+
attr_accessor :TaskId, :WebUrl, :RequestId
|
2539
|
+
|
2540
|
+
def initialize(taskid=nil, weburl=nil, requestid=nil)
|
2541
|
+
@TaskId = taskid
|
2542
|
+
@WebUrl = weburl
|
2543
|
+
@RequestId = requestid
|
2544
|
+
end
|
2545
|
+
|
2546
|
+
def deserialize(params)
|
2547
|
+
@TaskId = params['TaskId']
|
2548
|
+
@WebUrl = params['WebUrl']
|
2549
|
+
@RequestId = params['RequestId']
|
2550
|
+
end
|
2551
|
+
end
|
2552
|
+
|
2482
2553
|
# CreateConvertTaskApi请求参数结构体
|
2483
2554
|
class CreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
|
2484
2555
|
# @param ResourceType: 需要进行转换的资源文件类型
|
@@ -8298,7 +8369,7 @@ module TencentCloud
|
|
8298
8369
|
|
8299
8370
|
# DescribeContractReviewTask返回参数结构体
|
8300
8371
|
class DescribeContractReviewTaskResponse < TencentCloud::Common::AbstractModel
|
8301
|
-
# @param ChecklistId: 用于审查任务的审查清单ID
|
8372
|
+
# @param ChecklistId: 用于审查任务的审查清单ID。注意:如果用户没有配置清单时此值可能为空,需要等大模型根据合同内容推荐出可以使用的审查清单。
|
8302
8373
|
# @type ChecklistId: String
|
8303
8374
|
# @param CreatedOn: 合同审查任务创建时间。
|
8304
8375
|
# @type CreatedOn: Integer
|
@@ -8319,7 +8390,8 @@ module TencentCloud
|
|
8319
8390
|
|
8320
8391
|
# 注意:`审查结果由AI生成,仅供参考。请结合相关法律法规和公司制度要求综合判断。`
|
8321
8392
|
# @type Risks: Array
|
8322
|
-
# @param Role:
|
8393
|
+
# @param Role: 合同审查中的角色信息。注意:注意:如果用户没有配置审查角色时此值可能为null,需要等大模型根据合同内容推荐出审查角色信息。
|
8394
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8323
8395
|
# @type Role: :class:`Tencentcloud::Ess.v20201111.models.RiskIdentificationRoleInfo`
|
8324
8396
|
# @param Status: 合同审查任务状态。
|
8325
8397
|
# 状态如下:
|
@@ -8333,12 +8405,18 @@ module TencentCloud
|
|
8333
8405
|
# @type Status: Integer
|
8334
8406
|
# @param TaskId: 合同审查任务ID
|
8335
8407
|
# @type TaskId: String
|
8408
|
+
# @param Comment: 审查任务备注信息,长度不能超过100个字符
|
8409
|
+
# @type Comment: String
|
8410
|
+
# @param UserData: 调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。
|
8411
|
+
|
8412
|
+
# 在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
8413
|
+
# @type UserData: String
|
8336
8414
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8337
8415
|
# @type RequestId: String
|
8338
8416
|
|
8339
|
-
attr_accessor :ChecklistId, :CreatedOn, :FinishedOn, :PolicyType, :ResourceId, :Risks, :Role, :Status, :TaskId, :RequestId
|
8417
|
+
attr_accessor :ChecklistId, :CreatedOn, :FinishedOn, :PolicyType, :ResourceId, :Risks, :Role, :Status, :TaskId, :Comment, :UserData, :RequestId
|
8340
8418
|
|
8341
|
-
def initialize(checklistid=nil, createdon=nil, finishedon=nil, policytype=nil, resourceid=nil, risks=nil, role=nil, status=nil, taskid=nil, requestid=nil)
|
8419
|
+
def initialize(checklistid=nil, createdon=nil, finishedon=nil, policytype=nil, resourceid=nil, risks=nil, role=nil, status=nil, taskid=nil, comment=nil, userdata=nil, requestid=nil)
|
8342
8420
|
@ChecklistId = checklistid
|
8343
8421
|
@CreatedOn = createdon
|
8344
8422
|
@FinishedOn = finishedon
|
@@ -8348,6 +8426,8 @@ module TencentCloud
|
|
8348
8426
|
@Role = role
|
8349
8427
|
@Status = status
|
8350
8428
|
@TaskId = taskid
|
8429
|
+
@Comment = comment
|
8430
|
+
@UserData = userdata
|
8351
8431
|
@RequestId = requestid
|
8352
8432
|
end
|
8353
8433
|
|
@@ -8371,6 +8451,66 @@ module TencentCloud
|
|
8371
8451
|
end
|
8372
8452
|
@Status = params['Status']
|
8373
8453
|
@TaskId = params['TaskId']
|
8454
|
+
@Comment = params['Comment']
|
8455
|
+
@UserData = params['UserData']
|
8456
|
+
@RequestId = params['RequestId']
|
8457
|
+
end
|
8458
|
+
end
|
8459
|
+
|
8460
|
+
# DescribeContractReviewWebUrl请求参数结构体
|
8461
|
+
class DescribeContractReviewWebUrlRequest < TencentCloud::Common::AbstractModel
|
8462
|
+
# @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
8463
|
+
|
8464
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
8465
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
8466
|
+
# @param TaskId: 合同审查任务ID,该参数通过调用接口<a href="https://qian.tencent.com/developers/companyApis/embedPages/CreateContractReviewWebUrl" target="_blank">创建合同审查web页面</a>获取。
|
8467
|
+
# @type TaskId: String
|
8468
|
+
|
8469
|
+
attr_accessor :Operator, :TaskId
|
8470
|
+
|
8471
|
+
def initialize(operator=nil, taskid=nil)
|
8472
|
+
@Operator = operator
|
8473
|
+
@TaskId = taskid
|
8474
|
+
end
|
8475
|
+
|
8476
|
+
def deserialize(params)
|
8477
|
+
unless params['Operator'].nil?
|
8478
|
+
@Operator = UserInfo.new
|
8479
|
+
@Operator.deserialize(params['Operator'])
|
8480
|
+
end
|
8481
|
+
@TaskId = params['TaskId']
|
8482
|
+
end
|
8483
|
+
end
|
8484
|
+
|
8485
|
+
# DescribeContractReviewWebUrl返回参数结构体
|
8486
|
+
class DescribeContractReviewWebUrlResponse < TencentCloud::Common::AbstractModel
|
8487
|
+
# @param WebUrl: 合同审查嵌入式web页面链接。
|
8488
|
+
# 注意:`链接有效期为5分钟,且链接仅能使用一次。如果上传的合同文件为word时不能进行iframe方式嵌入到贵方系统的网页中,需要单独页面打开此链接显示`
|
8489
|
+
# @type WebUrl: String
|
8490
|
+
# @param Status: 合同审查任务状态。任务状态为`5`时没有WebUrl链接。
|
8491
|
+
# 状态如下:
|
8492
|
+
# <ul>
|
8493
|
+
# <li>**1** - 合同审查任务创建成功</li>
|
8494
|
+
# <li>**2** - 合同审查任务排队中</li>
|
8495
|
+
# <li>**3** - 合同审查任务执行中</li>
|
8496
|
+
# <li>**4** - 合同审查任务执行成功</li>
|
8497
|
+
# <li>**5** - 合同审查任务执行失败</li>
|
8498
|
+
# </ul>
|
8499
|
+
# @type Status: Integer
|
8500
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8501
|
+
# @type RequestId: String
|
8502
|
+
|
8503
|
+
attr_accessor :WebUrl, :Status, :RequestId
|
8504
|
+
|
8505
|
+
def initialize(weburl=nil, status=nil, requestid=nil)
|
8506
|
+
@WebUrl = weburl
|
8507
|
+
@Status = status
|
8508
|
+
@RequestId = requestid
|
8509
|
+
end
|
8510
|
+
|
8511
|
+
def deserialize(params)
|
8512
|
+
@WebUrl = params['WebUrl']
|
8513
|
+
@Status = params['Status']
|
8374
8514
|
@RequestId = params['RequestId']
|
8375
8515
|
end
|
8376
8516
|
end
|
@@ -10296,7 +10436,7 @@ module TencentCloud
|
|
10296
10436
|
# @type SealDescription: String
|
10297
10437
|
# @param ForbidEditSealDescription: 是否禁止编辑印章描述内容
|
10298
10438
|
# <ul><li>(默认) false -否</li> <li> true - 禁止编辑</li></ul>
|
10299
|
-
# @type ForbidEditSealDescription:
|
10439
|
+
# @type ForbidEditSealDescription: Boolean
|
10300
10440
|
|
10301
10441
|
attr_accessor :ShowFlowDetailComponent, :ShowTemplateComponent, :SkipUploadFile, :ForbidEditWatermark, :SealDescription, :ForbidEditSealDescription
|
10302
10442
|
|
@@ -13636,12 +13776,14 @@ module TencentCloud
|
|
13636
13776
|
# @type RiskPresentation: Array
|
13637
13777
|
# @param Content: PDF风险原文内容
|
13638
13778
|
# @type Content: String
|
13779
|
+
# @param Positions: 审查出的PDF段落位置信息
|
13780
|
+
# @type Positions: Array
|
13639
13781
|
# @param RiskBasis: 审查依据
|
13640
13782
|
# @type RiskBasis: String
|
13641
13783
|
|
13642
|
-
attr_accessor :RiskId, :RiskName, :RiskDescription, :RiskLevel, :RiskAdvice, :RiskPresentation, :Content, :RiskBasis
|
13784
|
+
attr_accessor :RiskId, :RiskName, :RiskDescription, :RiskLevel, :RiskAdvice, :RiskPresentation, :Content, :Positions, :RiskBasis
|
13643
13785
|
|
13644
|
-
def initialize(riskid=nil, riskname=nil, riskdescription=nil, risklevel=nil, riskadvice=nil, riskpresentation=nil, content=nil, riskbasis=nil)
|
13786
|
+
def initialize(riskid=nil, riskname=nil, riskdescription=nil, risklevel=nil, riskadvice=nil, riskpresentation=nil, content=nil, positions=nil, riskbasis=nil)
|
13645
13787
|
@RiskId = riskid
|
13646
13788
|
@RiskName = riskname
|
13647
13789
|
@RiskDescription = riskdescription
|
@@ -13649,6 +13791,7 @@ module TencentCloud
|
|
13649
13791
|
@RiskAdvice = riskadvice
|
13650
13792
|
@RiskPresentation = riskpresentation
|
13651
13793
|
@Content = content
|
13794
|
+
@Positions = positions
|
13652
13795
|
@RiskBasis = riskbasis
|
13653
13796
|
end
|
13654
13797
|
|
@@ -13660,6 +13803,14 @@ module TencentCloud
|
|
13660
13803
|
@RiskAdvice = params['RiskAdvice']
|
13661
13804
|
@RiskPresentation = params['RiskPresentation']
|
13662
13805
|
@Content = params['Content']
|
13806
|
+
unless params['Positions'].nil?
|
13807
|
+
@Positions = []
|
13808
|
+
params['Positions'].each do |i|
|
13809
|
+
positioninfo_tmp = PositionInfo.new
|
13810
|
+
positioninfo_tmp.deserialize(i)
|
13811
|
+
@Positions << positioninfo_tmp
|
13812
|
+
end
|
13813
|
+
end
|
13663
13814
|
@RiskBasis = params['RiskBasis']
|
13664
13815
|
end
|
13665
13816
|
end
|
@@ -13834,6 +13985,42 @@ module TencentCloud
|
|
13834
13985
|
end
|
13835
13986
|
end
|
13836
13987
|
|
13988
|
+
# 坐标详情
|
13989
|
+
class PositionInfo < TencentCloud::Common::AbstractModel
|
13990
|
+
# @param X: PDF文件页X坐标位置,以PDF单页左上角为坐标原点
|
13991
|
+
# @type X: Float
|
13992
|
+
# @param Y: PDF文件页Y坐标位置,以PDF单页左上角为坐标原点
|
13993
|
+
# @type Y: Float
|
13994
|
+
# @param Width: 距离X坐标的宽度,用于在PDF文件进行画框。
|
13995
|
+
# @type Width: Float
|
13996
|
+
# @param Height: 距离Y坐标的高度,用于在PDF文件进行画框。
|
13997
|
+
# @type Height: Float
|
13998
|
+
# @param PageIndex: PDF文件页码索引,此值加1就是对应PDF文件的页码。
|
13999
|
+
# @type PageIndex: Integer
|
14000
|
+
# @param Id: 系统生成的唯一ID值
|
14001
|
+
# @type Id: String
|
14002
|
+
|
14003
|
+
attr_accessor :X, :Y, :Width, :Height, :PageIndex, :Id
|
14004
|
+
|
14005
|
+
def initialize(x=nil, y=nil, width=nil, height=nil, pageindex=nil, id=nil)
|
14006
|
+
@X = x
|
14007
|
+
@Y = y
|
14008
|
+
@Width = width
|
14009
|
+
@Height = height
|
14010
|
+
@PageIndex = pageindex
|
14011
|
+
@Id = id
|
14012
|
+
end
|
14013
|
+
|
14014
|
+
def deserialize(params)
|
14015
|
+
@X = params['X']
|
14016
|
+
@Y = params['Y']
|
14017
|
+
@Width = params['Width']
|
14018
|
+
@Height = params['Height']
|
14019
|
+
@PageIndex = params['PageIndex']
|
14020
|
+
@Id = params['Id']
|
14021
|
+
end
|
14022
|
+
end
|
14023
|
+
|
13837
14024
|
# 预设的动态签署方的补充信息,仅匹配对应信息的签署方才能领取合同。暂时仅对个人参与方生效。
|
13838
14025
|
class PresetApproverInfo < TencentCloud::Common::AbstractModel
|
13839
14026
|
# @param Name: 预设参与方姓名。
|
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.1128
|
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-08-
|
11
|
+
date: 2025-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|