tencentcloud-sdk-ess 3.0.683 → 3.0.684
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 +54 -2
- data/lib/v20201111/models.rb +116 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b0e06ccc9e48117541d40b45e0c53f25c630861
|
4
|
+
data.tar.gz: 213f376f9833001afae19bd09423611023b7be9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a95480617954616ad22b04ca1254d8345801cdd7a23f49e85707060b60117fe5c13a2e0e4b868c2af80944a1fb333f245cbac8c590c2bf91ddcc152b701d0d1
|
7
|
+
data.tar.gz: e07bf6dccc2cf46d70a3cecf30bf0fe3534c724ca866656612be9224940ea9bac00c58ed74fa1c4d17d2197de6c127b6cabd094302d946b9de473898622e0b4b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.684
|
data/lib/v20201111/client.rb
CHANGED
@@ -191,13 +191,13 @@ module TencentCloud
|
|
191
191
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
192
192
|
end
|
193
193
|
|
194
|
-
# 此接口(CreateConvertTaskApi)用来将word、excel、图片、txt类型文件转换为PDF文件。<br />
|
194
|
+
# 此接口(CreateConvertTaskApi)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />
|
195
195
|
# 前提条件:源文件已经通过 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />
|
196
196
|
# 适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
|
197
197
|
# 适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
|
198
198
|
# 转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
|
199
199
|
# 注:
|
200
|
-
# 1. `支持的文件类型有doc、docx、xls、xlsx、jpg、jpeg、png、bmp、txt`
|
200
|
+
# 1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
|
201
201
|
# 2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
|
202
202
|
|
203
203
|
# @param request: Request instance for CreateConvertTaskApi.
|
@@ -283,6 +283,32 @@ module TencentCloud
|
|
283
283
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
284
284
|
end
|
285
285
|
|
286
|
+
# 创建企业扩展服务授权,当前仅支持授权 “企业自动签” 给企业员工。
|
287
|
+
|
288
|
+
# 注:支持集团代子企业操作,请联系运营开通此功能。
|
289
|
+
|
290
|
+
# @param request: Request instance for CreateExtendedServiceAuthInfos.
|
291
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateExtendedServiceAuthInfosRequest`
|
292
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateExtendedServiceAuthInfosResponse`
|
293
|
+
def CreateExtendedServiceAuthInfos(request)
|
294
|
+
body = send_request('CreateExtendedServiceAuthInfos', request.serialize)
|
295
|
+
response = JSON.parse(body)
|
296
|
+
if response['Response'].key?('Error') == false
|
297
|
+
model = CreateExtendedServiceAuthInfosResponse.new
|
298
|
+
model.deserialize(response['Response'])
|
299
|
+
model
|
300
|
+
else
|
301
|
+
code = response['Response']['Error']['Code']
|
302
|
+
message = response['Response']['Error']['Message']
|
303
|
+
reqid = response['Response']['RequestId']
|
304
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
305
|
+
end
|
306
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
307
|
+
raise e
|
308
|
+
rescue StandardError => e
|
309
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
310
|
+
end
|
311
|
+
|
286
312
|
# 通过模板创建签署流程<br/>
|
287
313
|
# 适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。
|
288
314
|
|
@@ -1057,6 +1083,32 @@ module TencentCloud
|
|
1057
1083
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1058
1084
|
end
|
1059
1085
|
|
1086
|
+
# 删除企业扩展服务授权,当前仅支持 “企业自动签” 取消授权。
|
1087
|
+
|
1088
|
+
# 注:支持集团代子企业操作,请联系运营开通此功能。
|
1089
|
+
|
1090
|
+
# @param request: Request instance for DeleteExtendedServiceAuthInfos.
|
1091
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DeleteExtendedServiceAuthInfosRequest`
|
1092
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DeleteExtendedServiceAuthInfosResponse`
|
1093
|
+
def DeleteExtendedServiceAuthInfos(request)
|
1094
|
+
body = send_request('DeleteExtendedServiceAuthInfos', request.serialize)
|
1095
|
+
response = JSON.parse(body)
|
1096
|
+
if response['Response'].key?('Error') == false
|
1097
|
+
model = DeleteExtendedServiceAuthInfosResponse.new
|
1098
|
+
model.deserialize(response['Response'])
|
1099
|
+
model
|
1100
|
+
else
|
1101
|
+
code = response['Response']['Error']['Code']
|
1102
|
+
message = response['Response']['Error']['Message']
|
1103
|
+
reqid = response['Response']['RequestId']
|
1104
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1105
|
+
end
|
1106
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1107
|
+
raise e
|
1108
|
+
rescue StandardError => e
|
1109
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
|
+
end
|
1111
|
+
|
1060
1112
|
# 此接口(DeleteIntegrationDepartment)用于删除企业的部门信息。
|
1061
1113
|
|
1062
1114
|
# @param request: Request instance for DeleteIntegrationDepartment.
|
data/lib/v20201111/models.rb
CHANGED
@@ -1386,12 +1386,13 @@ module TencentCloud
|
|
1386
1386
|
# @param NeedPreview: 是否为预览模式,取值如下:
|
1387
1387
|
# <ul><li> **false**:非预览模式(默认),会产生合同流程并返回合同流程编号FlowId。</li>
|
1388
1388
|
# <li> **true**:预览模式,不产生合同流程,不返回合同流程编号FlowId,而是返回预览链接PreviewUrl,有效期为300秒,用于查看真实发起后合同的样子。</li></ul>
|
1389
|
-
# 注:
|
1389
|
+
# 注: `当使用的模板中存在动态表格控件时,预览结果中没有动态表格的填写内容,动态表格合成完后会触发文档合成完成的回调通知`
|
1390
1390
|
# @type NeedPreview: Boolean
|
1391
1391
|
# @param PreviewType: 预览模式下产生的预览链接类型
|
1392
1392
|
# <ul><li> **0** :(默认) 文件流 ,点开后后下载预览的合同PDF文件 </li>
|
1393
|
-
# <li> **1** :H5链接
|
1394
|
-
# 注:
|
1393
|
+
# <li> **1** :H5链接 ,点开后在浏览器中展示合同的样子。</li></ul>
|
1394
|
+
# 注: `1.此参数在NeedPreview 为true时有效`
|
1395
|
+
# `2.动态表格控件不支持H5链接方式预览`
|
1395
1396
|
# @type PreviewType: Integer
|
1396
1397
|
# @param Agent: 代理企业和员工的信息。
|
1397
1398
|
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
@@ -1565,6 +1566,62 @@ module TencentCloud
|
|
1565
1566
|
end
|
1566
1567
|
end
|
1567
1568
|
|
1569
|
+
# CreateExtendedServiceAuthInfos请求参数结构体
|
1570
|
+
class CreateExtendedServiceAuthInfosRequest < TencentCloud::Common::AbstractModel
|
1571
|
+
# @param Operator: 执行本接口操作的员工信息。
|
1572
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
1573
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1574
|
+
# @param UserIds: 本企业员工的id,需要已实名,正常在职员工
|
1575
|
+
# @type UserIds: Array
|
1576
|
+
# @param ExtendServiceType: 要查询的扩展服务类型。
|
1577
|
+
# 默认为空,即查询当前支持的所有扩展服务信息。
|
1578
|
+
# 若需查询单个扩展服务的开通情况,请传递相应的值,如下所示:
|
1579
|
+
# <ul><li>OPEN_SERVER_SIGN:企业自动签</li>
|
1580
|
+
# </ul>
|
1581
|
+
# @type ExtendServiceType: String
|
1582
|
+
# @param Agent: 代理企业和员工的信息。
|
1583
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
1584
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1585
|
+
|
1586
|
+
attr_accessor :Operator, :UserIds, :ExtendServiceType, :Agent
|
1587
|
+
|
1588
|
+
def initialize(operator=nil, userids=nil, extendservicetype=nil, agent=nil)
|
1589
|
+
@Operator = operator
|
1590
|
+
@UserIds = userids
|
1591
|
+
@ExtendServiceType = extendservicetype
|
1592
|
+
@Agent = agent
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
def deserialize(params)
|
1596
|
+
unless params['Operator'].nil?
|
1597
|
+
@Operator = UserInfo.new
|
1598
|
+
@Operator.deserialize(params['Operator'])
|
1599
|
+
end
|
1600
|
+
@UserIds = params['UserIds']
|
1601
|
+
@ExtendServiceType = params['ExtendServiceType']
|
1602
|
+
unless params['Agent'].nil?
|
1603
|
+
@Agent = Agent.new
|
1604
|
+
@Agent.deserialize(params['Agent'])
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
# CreateExtendedServiceAuthInfos返回参数结构体
|
1610
|
+
class CreateExtendedServiceAuthInfosResponse < TencentCloud::Common::AbstractModel
|
1611
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1612
|
+
# @type RequestId: String
|
1613
|
+
|
1614
|
+
attr_accessor :RequestId
|
1615
|
+
|
1616
|
+
def initialize(requestid=nil)
|
1617
|
+
@RequestId = requestid
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
def deserialize(params)
|
1621
|
+
@RequestId = params['RequestId']
|
1622
|
+
end
|
1623
|
+
end
|
1624
|
+
|
1568
1625
|
# CreateFlowApprovers请求参数结构体
|
1569
1626
|
class CreateFlowApproversRequest < TencentCloud::Common::AbstractModel
|
1570
1627
|
# @param Operator: 执行本接口操作的员工信息。
|
@@ -4189,6 +4246,62 @@ module TencentCloud
|
|
4189
4246
|
end
|
4190
4247
|
end
|
4191
4248
|
|
4249
|
+
# DeleteExtendedServiceAuthInfos请求参数结构体
|
4250
|
+
class DeleteExtendedServiceAuthInfosRequest < TencentCloud::Common::AbstractModel
|
4251
|
+
# @param Operator: 执行本接口操作的员工信息。
|
4252
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
4253
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
4254
|
+
# @param UserIds: 本企业员工的id,需要已实名,正常在职员工
|
4255
|
+
# @type UserIds: Array
|
4256
|
+
# @param ExtendServiceType: 要查询的扩展服务类型。
|
4257
|
+
# 默认为空,即查询当前支持的所有扩展服务信息。
|
4258
|
+
# 若需查询单个扩展服务的开通情况,请传递相应的值,如下所示:
|
4259
|
+
# <ul><li>OPEN_SERVER_SIGN:企业自动签</li>
|
4260
|
+
# </ul>
|
4261
|
+
# @type ExtendServiceType: String
|
4262
|
+
# @param Agent: 代理企业和员工的信息。
|
4263
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
4264
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
4265
|
+
|
4266
|
+
attr_accessor :Operator, :UserIds, :ExtendServiceType, :Agent
|
4267
|
+
|
4268
|
+
def initialize(operator=nil, userids=nil, extendservicetype=nil, agent=nil)
|
4269
|
+
@Operator = operator
|
4270
|
+
@UserIds = userids
|
4271
|
+
@ExtendServiceType = extendservicetype
|
4272
|
+
@Agent = agent
|
4273
|
+
end
|
4274
|
+
|
4275
|
+
def deserialize(params)
|
4276
|
+
unless params['Operator'].nil?
|
4277
|
+
@Operator = UserInfo.new
|
4278
|
+
@Operator.deserialize(params['Operator'])
|
4279
|
+
end
|
4280
|
+
@UserIds = params['UserIds']
|
4281
|
+
@ExtendServiceType = params['ExtendServiceType']
|
4282
|
+
unless params['Agent'].nil?
|
4283
|
+
@Agent = Agent.new
|
4284
|
+
@Agent.deserialize(params['Agent'])
|
4285
|
+
end
|
4286
|
+
end
|
4287
|
+
end
|
4288
|
+
|
4289
|
+
# DeleteExtendedServiceAuthInfos返回参数结构体
|
4290
|
+
class DeleteExtendedServiceAuthInfosResponse < TencentCloud::Common::AbstractModel
|
4291
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4292
|
+
# @type RequestId: String
|
4293
|
+
|
4294
|
+
attr_accessor :RequestId
|
4295
|
+
|
4296
|
+
def initialize(requestid=nil)
|
4297
|
+
@RequestId = requestid
|
4298
|
+
end
|
4299
|
+
|
4300
|
+
def deserialize(params)
|
4301
|
+
@RequestId = params['RequestId']
|
4302
|
+
end
|
4303
|
+
end
|
4304
|
+
|
4192
4305
|
# DeleteIntegrationDepartment请求参数结构体
|
4193
4306
|
class DeleteIntegrationDepartmentRequest < TencentCloud::Common::AbstractModel
|
4194
4307
|
# @param Operator: 执行本接口操作的员工信息。
|
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.684
|
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-10-
|
11
|
+
date: 2023-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20201111/models.rb
|
37
36
|
- lib/v20201111/client.rb
|
37
|
+
- lib/v20201111/models.rb
|
38
38
|
- lib/tencentcloud-sdk-ess.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|