tencentcloud-sdk-ess 3.0.1154 → 3.0.1156
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 +52 -0
- data/lib/v20201111/models.rb +136 -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: 73453811a0313cd0ec3c399c22bc0e5ec3d22d03
|
|
4
|
+
data.tar.gz: af9959a3a1573900bd9bce8b4f3ef5f4f4fdcc37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7f7988ebdb8610d40d9f85ead949759a5c5c7e2412a8de4e8976bb4902aababa79a03c3e629c39f37c031fef8a2879fd678a9fd51042e1958c5b1727025bbdf
|
|
7
|
+
data.tar.gz: 436ba991e12461925a4188990108b762ae25a106c6b0809bdb618c710f6140a8b4cbf283ae5381317d87b172e7f023e3abc6f9240d1b921c31f0d588786c4e26
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1156
|
data/lib/v20201111/client.rb
CHANGED
|
@@ -1361,6 +1361,34 @@ module TencentCloud
|
|
|
1361
1361
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1362
1362
|
end
|
|
1363
1363
|
|
|
1364
|
+
# 此接口(CreateInformationExtractionWebUrl)用来创建合同信息提取web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
|
1365
|
+
|
|
1366
|
+
# 注:
|
|
1367
|
+
# 1. pdf、word格式限制大小为10M以下
|
|
1368
|
+
# 2. pdg、jpeg、jpg格式限制大小为5M以下
|
|
1369
|
+
|
|
1370
|
+
# @param request: Request instance for CreateInformationExtractionWebUrl.
|
|
1371
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateInformationExtractionWebUrlRequest`
|
|
1372
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateInformationExtractionWebUrlResponse`
|
|
1373
|
+
def CreateInformationExtractionWebUrl(request)
|
|
1374
|
+
body = send_request('CreateInformationExtractionWebUrl', request.serialize)
|
|
1375
|
+
response = JSON.parse(body)
|
|
1376
|
+
if response['Response'].key?('Error') == false
|
|
1377
|
+
model = CreateInformationExtractionWebUrlResponse.new
|
|
1378
|
+
model.deserialize(response['Response'])
|
|
1379
|
+
model
|
|
1380
|
+
else
|
|
1381
|
+
code = response['Response']['Error']['Code']
|
|
1382
|
+
message = response['Response']['Error']['Message']
|
|
1383
|
+
reqid = response['Response']['RequestId']
|
|
1384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1385
|
+
end
|
|
1386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1387
|
+
raise e
|
|
1388
|
+
rescue StandardError => e
|
|
1389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1390
|
+
end
|
|
1391
|
+
|
|
1364
1392
|
# 此接口(CreateIntegrationDepartment)用于创建企业的部门信息,支持绑定客户系统部门ID。
|
|
1365
1393
|
|
|
1366
1394
|
# @param request: Request instance for CreateIntegrationDepartment.
|
|
@@ -3087,6 +3115,30 @@ module TencentCloud
|
|
|
3087
3115
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3088
3116
|
end
|
|
3089
3117
|
|
|
3118
|
+
# 此接口(DescribeInformationExtractionWebUrl)用来获取合同信息提取web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
|
3119
|
+
|
|
3120
|
+
# @param request: Request instance for DescribeInformationExtractionWebUrl.
|
|
3121
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeInformationExtractionWebUrlRequest`
|
|
3122
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeInformationExtractionWebUrlResponse`
|
|
3123
|
+
def DescribeInformationExtractionWebUrl(request)
|
|
3124
|
+
body = send_request('DescribeInformationExtractionWebUrl', request.serialize)
|
|
3125
|
+
response = JSON.parse(body)
|
|
3126
|
+
if response['Response'].key?('Error') == false
|
|
3127
|
+
model = DescribeInformationExtractionWebUrlResponse.new
|
|
3128
|
+
model.deserialize(response['Response'])
|
|
3129
|
+
model
|
|
3130
|
+
else
|
|
3131
|
+
code = response['Response']['Error']['Code']
|
|
3132
|
+
message = response['Response']['Error']['Message']
|
|
3133
|
+
reqid = response['Response']['RequestId']
|
|
3134
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3135
|
+
end
|
|
3136
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3137
|
+
raise e
|
|
3138
|
+
rescue StandardError => e
|
|
3139
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3140
|
+
end
|
|
3141
|
+
|
|
3090
3142
|
# 此接口(DescribeIntegrationDepartments)用于查询企业的部门信息列表,支持查询单个部门节点或单个部门节点及一级子节点部门列表。
|
|
3091
3143
|
|
|
3092
3144
|
# @param request: Request instance for DescribeIntegrationDepartments.
|
data/lib/v20201111/models.rb
CHANGED
|
@@ -4738,6 +4738,70 @@ module TencentCloud
|
|
|
4738
4738
|
end
|
|
4739
4739
|
end
|
|
4740
4740
|
|
|
4741
|
+
# CreateInformationExtractionWebUrl请求参数结构体
|
|
4742
|
+
class CreateInformationExtractionWebUrlRequest < TencentCloud::Common::AbstractModel
|
|
4743
|
+
# @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
|
4744
|
+
|
|
4745
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
4746
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
|
4747
|
+
# @param ResourceIds: 需要提取的合同文件资源ID,可通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">UploadFiles</a>接口获取文件资源ID。
|
|
4748
|
+
|
|
4749
|
+
# 注:
|
|
4750
|
+
# - `word、pdf文件每个文件限制在10M以下`
|
|
4751
|
+
# - `png、jpg、jpeg文件每个限制在5M以下`
|
|
4752
|
+
# @type ResourceIds: Array
|
|
4753
|
+
# @param UserData: 调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。
|
|
4754
|
+
|
|
4755
|
+
# 在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
|
4756
|
+
# @type UserData: String
|
|
4757
|
+
# @param Option: 个性化参数,用于控制页面展示内容
|
|
4758
|
+
# @type Option: :class:`Tencentcloud::Ess.v20201111.models.WebUrlOption`
|
|
4759
|
+
|
|
4760
|
+
attr_accessor :Operator, :ResourceIds, :UserData, :Option
|
|
4761
|
+
|
|
4762
|
+
def initialize(operator=nil, resourceids=nil, userdata=nil, option=nil)
|
|
4763
|
+
@Operator = operator
|
|
4764
|
+
@ResourceIds = resourceids
|
|
4765
|
+
@UserData = userdata
|
|
4766
|
+
@Option = option
|
|
4767
|
+
end
|
|
4768
|
+
|
|
4769
|
+
def deserialize(params)
|
|
4770
|
+
unless params['Operator'].nil?
|
|
4771
|
+
@Operator = UserInfo.new
|
|
4772
|
+
@Operator.deserialize(params['Operator'])
|
|
4773
|
+
end
|
|
4774
|
+
@ResourceIds = params['ResourceIds']
|
|
4775
|
+
@UserData = params['UserData']
|
|
4776
|
+
unless params['Option'].nil?
|
|
4777
|
+
@Option = WebUrlOption.new
|
|
4778
|
+
@Option.deserialize(params['Option'])
|
|
4779
|
+
end
|
|
4780
|
+
end
|
|
4781
|
+
end
|
|
4782
|
+
|
|
4783
|
+
# CreateInformationExtractionWebUrl返回参数结构体
|
|
4784
|
+
class CreateInformationExtractionWebUrlResponse < TencentCloud::Common::AbstractModel
|
|
4785
|
+
# @param Url: 合同信息提取嵌入式web页面链接。
|
|
4786
|
+
|
|
4787
|
+
# 注意:`链接有效期为5分钟,且链接仅能使用一次。`
|
|
4788
|
+
# @type Url: String
|
|
4789
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4790
|
+
# @type RequestId: String
|
|
4791
|
+
|
|
4792
|
+
attr_accessor :Url, :RequestId
|
|
4793
|
+
|
|
4794
|
+
def initialize(url=nil, requestid=nil)
|
|
4795
|
+
@Url = url
|
|
4796
|
+
@RequestId = requestid
|
|
4797
|
+
end
|
|
4798
|
+
|
|
4799
|
+
def deserialize(params)
|
|
4800
|
+
@Url = params['Url']
|
|
4801
|
+
@RequestId = params['RequestId']
|
|
4802
|
+
end
|
|
4803
|
+
end
|
|
4804
|
+
|
|
4741
4805
|
# CreateIntegrationDepartment请求参数结构体
|
|
4742
4806
|
class CreateIntegrationDepartmentRequest < TencentCloud::Common::AbstractModel
|
|
4743
4807
|
# @param Operator: 执行本接口操作的员工信息。
|
|
@@ -9735,6 +9799,54 @@ module TencentCloud
|
|
|
9735
9799
|
end
|
|
9736
9800
|
end
|
|
9737
9801
|
|
|
9802
|
+
# DescribeInformationExtractionWebUrl请求参数结构体
|
|
9803
|
+
class DescribeInformationExtractionWebUrlRequest < TencentCloud::Common::AbstractModel
|
|
9804
|
+
# @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
|
9805
|
+
|
|
9806
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
9807
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
|
9808
|
+
# @param TaskId: 合同信息提取任务ID,该参数可通过回调事件[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)获取或者从控制台信息提取任务列表获取。
|
|
9809
|
+
|
|
9810
|
+
# 注意:`不填写任务ID时返回信息提取任务列表URL,填写任务ID时返回信息提取任务详情URL`
|
|
9811
|
+
# @type TaskId: String
|
|
9812
|
+
|
|
9813
|
+
attr_accessor :Operator, :TaskId
|
|
9814
|
+
|
|
9815
|
+
def initialize(operator=nil, taskid=nil)
|
|
9816
|
+
@Operator = operator
|
|
9817
|
+
@TaskId = taskid
|
|
9818
|
+
end
|
|
9819
|
+
|
|
9820
|
+
def deserialize(params)
|
|
9821
|
+
unless params['Operator'].nil?
|
|
9822
|
+
@Operator = UserInfo.new
|
|
9823
|
+
@Operator.deserialize(params['Operator'])
|
|
9824
|
+
end
|
|
9825
|
+
@TaskId = params['TaskId']
|
|
9826
|
+
end
|
|
9827
|
+
end
|
|
9828
|
+
|
|
9829
|
+
# DescribeInformationExtractionWebUrl返回参数结构体
|
|
9830
|
+
class DescribeInformationExtractionWebUrlResponse < TencentCloud::Common::AbstractModel
|
|
9831
|
+
# @param Url: 合同信息提取嵌入式web页面链接。
|
|
9832
|
+
# 注意:`链接有效期为5分钟,且链接仅能使用一次。`
|
|
9833
|
+
# @type Url: String
|
|
9834
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9835
|
+
# @type RequestId: String
|
|
9836
|
+
|
|
9837
|
+
attr_accessor :Url, :RequestId
|
|
9838
|
+
|
|
9839
|
+
def initialize(url=nil, requestid=nil)
|
|
9840
|
+
@Url = url
|
|
9841
|
+
@RequestId = requestid
|
|
9842
|
+
end
|
|
9843
|
+
|
|
9844
|
+
def deserialize(params)
|
|
9845
|
+
@Url = params['Url']
|
|
9846
|
+
@RequestId = params['RequestId']
|
|
9847
|
+
end
|
|
9848
|
+
end
|
|
9849
|
+
|
|
9738
9850
|
# DescribeIntegrationDepartments请求参数结构体
|
|
9739
9851
|
class DescribeIntegrationDepartmentsRequest < TencentCloud::Common::AbstractModel
|
|
9740
9852
|
# @param Operator: 执行本接口操作的员工信息。
|
|
@@ -16670,6 +16782,30 @@ module TencentCloud
|
|
|
16670
16782
|
end
|
|
16671
16783
|
end
|
|
16672
16784
|
|
|
16785
|
+
# 提取web嵌入页面个性化设置
|
|
16786
|
+
class WebUrlOption < TencentCloud::Common::AbstractModel
|
|
16787
|
+
# @param DisableLinkPreview: 禁用链接预览
|
|
16788
|
+
# @type DisableLinkPreview: Boolean
|
|
16789
|
+
# @param DisableTaskEditing: 禁用任务编辑
|
|
16790
|
+
# @type DisableTaskEditing: Boolean
|
|
16791
|
+
# @param DisableTaskResultEditing: 禁用任务结果编辑
|
|
16792
|
+
# @type DisableTaskResultEditing: Boolean
|
|
16793
|
+
|
|
16794
|
+
attr_accessor :DisableLinkPreview, :DisableTaskEditing, :DisableTaskResultEditing
|
|
16795
|
+
|
|
16796
|
+
def initialize(disablelinkpreview=nil, disabletaskediting=nil, disabletaskresultediting=nil)
|
|
16797
|
+
@DisableLinkPreview = disablelinkpreview
|
|
16798
|
+
@DisableTaskEditing = disabletaskediting
|
|
16799
|
+
@DisableTaskResultEditing = disabletaskresultediting
|
|
16800
|
+
end
|
|
16801
|
+
|
|
16802
|
+
def deserialize(params)
|
|
16803
|
+
@DisableLinkPreview = params['DisableLinkPreview']
|
|
16804
|
+
@DisableTaskEditing = params['DisableTaskEditing']
|
|
16805
|
+
@DisableTaskResultEditing = params['DisableTaskResultEditing']
|
|
16806
|
+
end
|
|
16807
|
+
end
|
|
16808
|
+
|
|
16673
16809
|
end
|
|
16674
16810
|
end
|
|
16675
16811
|
end
|
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.1156
|
|
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-10-
|
|
11
|
+
date: 2025-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|