tencentcloud-sdk-python-essbasic 3.1.169__tar.gz → 3.1.171__tar.gz
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.
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/setup.py +1 -1
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20210526/essbasic_client.py +1 -62
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20210526/essbasic_client_async.py +1 -52
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20210526/models.py +41 -520
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud_sdk_python_essbasic.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_essbasic-3.1.171/tencentcloud_sdk_python_essbasic.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_essbasic-3.1.169/tencentcloud_sdk_python_essbasic.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/README.rst +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/setup.cfg +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/__init__.py +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20201222/__init__.py +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20201222/errorcodes.py +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20201222/essbasic_client.py +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20201222/essbasic_client_async.py +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20201222/models.py +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20210526/__init__.py +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud/essbasic/v20210526/errorcodes.py +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud_sdk_python_essbasic.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud_sdk_python_essbasic.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/tencentcloud_sdk_python_essbasic.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-essbasic
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.171
|
|
4
4
|
Summary: Tencent Cloud Essbasic SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.171
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-essbasic',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.171,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Essbasic SDK for Python',
|
|
@@ -367,37 +367,6 @@ class EssbasicClient(AbstractClient):
|
|
|
367
367
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
368
368
|
|
|
369
369
|
|
|
370
|
-
def ChannelCreateConvertTaskApi(self, request):
|
|
371
|
-
r"""此接口(ChannelCreateConvertTaskApi)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />
|
|
372
|
-
前提条件:源文件已经通过 <a href="https://qian.tencent.com/developers/partnerApis/files/UploadFiles" target="_blank">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />
|
|
373
|
-
适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
|
|
374
|
-
适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
|
|
375
|
-
转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/partnerApis/files/ChannelGetTaskResultApi" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
|
|
376
|
-
<font color="red">此接口于 2026 年 12月 31 日下线</font>,请使用新接口: <a href="https://qian.tencent.com/developers/partnerApis/files/CreateFileConvertTask" target="_blank">新建文件转换任务(CreateFileConvertTask)</a><br />
|
|
377
|
-
注:
|
|
378
|
-
1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
|
|
379
|
-
2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
|
|
380
|
-
|
|
381
|
-
:param request: Request instance for ChannelCreateConvertTaskApi.
|
|
382
|
-
:type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateConvertTaskApiRequest`
|
|
383
|
-
:rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateConvertTaskApiResponse`
|
|
384
|
-
|
|
385
|
-
"""
|
|
386
|
-
try:
|
|
387
|
-
params = request._serialize()
|
|
388
|
-
headers = request.headers
|
|
389
|
-
body = self.call("ChannelCreateConvertTaskApi", params, headers=headers)
|
|
390
|
-
response = json.loads(body)
|
|
391
|
-
model = models.ChannelCreateConvertTaskApiResponse()
|
|
392
|
-
model._deserialize(response["Response"])
|
|
393
|
-
return model
|
|
394
|
-
except Exception as e:
|
|
395
|
-
if isinstance(e, TencentCloudSDKException):
|
|
396
|
-
raise
|
|
397
|
-
else:
|
|
398
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
399
|
-
|
|
400
|
-
|
|
401
370
|
def ChannelCreateDynamicFlowApprover(self, request):
|
|
402
371
|
r"""接口(ChannelCreateDynamicFlowApprover)用来补充<a href="https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowByFiles" target="_blank">用PDF文件创建签署流程</a>发起的动态合同的签署人信息
|
|
403
372
|
**注**:
|
|
@@ -1576,36 +1545,6 @@ class EssbasicClient(AbstractClient):
|
|
|
1576
1545
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1577
1546
|
|
|
1578
1547
|
|
|
1579
|
-
def ChannelGetTaskResultApi(self, request):
|
|
1580
|
-
r"""此接口(ChannelGetTaskResultApi)用来查询转换任务的状态。如需发起转换任务,请使用<a href="https://qian.tencent.com/developers/partnerApis/files/ChannelCreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行资源文件的转换操作<br />
|
|
1581
|
-
前提条件:已调用 <a href="https://qian.tencent.com/developers/partnerApis/files/ChannelCreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行文件转换,并得到了返回的转换任务Id。<br />
|
|
1582
|
-
|
|
1583
|
-
适用场景:已创建一个文件转换任务,想查询该文件转换任务的状态,或获取转换后的文件资源ID。<br />
|
|
1584
|
-
<font color="red">此接口于 2026 年 12月 31 日下线</font>,请使用新接口: <a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask" target="_blank">查询文件转换任务状态(DescribeFileConvertTask)</a><br />
|
|
1585
|
-
注:
|
|
1586
|
-
1. `大文件转换所需的时间可能会比较长。`
|
|
1587
|
-
2. `本接口返回的文件资源ID就是PDF资源ID,可以直接用于【用PDF文件创建签署流程】接口发起合同。`
|
|
1588
|
-
|
|
1589
|
-
:param request: Request instance for ChannelGetTaskResultApi.
|
|
1590
|
-
:type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelGetTaskResultApiRequest`
|
|
1591
|
-
:rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelGetTaskResultApiResponse`
|
|
1592
|
-
|
|
1593
|
-
"""
|
|
1594
|
-
try:
|
|
1595
|
-
params = request._serialize()
|
|
1596
|
-
headers = request.headers
|
|
1597
|
-
body = self.call("ChannelGetTaskResultApi", params, headers=headers)
|
|
1598
|
-
response = json.loads(body)
|
|
1599
|
-
model = models.ChannelGetTaskResultApiResponse()
|
|
1600
|
-
model._deserialize(response["Response"])
|
|
1601
|
-
return model
|
|
1602
|
-
except Exception as e:
|
|
1603
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1604
|
-
raise
|
|
1605
|
-
else:
|
|
1606
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
1548
|
def ChannelModifyRole(self, request):
|
|
1610
1549
|
r"""此接口(ChannelModifyRole)用来更新企业自定义角色。
|
|
1611
1550
|
|
|
@@ -3555,7 +3494,7 @@ class EssbasicClient(AbstractClient):
|
|
|
3555
3494
|
|
|
3556
3495
|
适用场景:用于合同,印章的文件上传。文件上传以后,
|
|
3557
3496
|
如果是PDF格式文件可配合<a href="https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowByFiles" target="_blank">用PDF文件创建签署流程</a>接口进行合同流程的发起
|
|
3558
|
-
如果是其他类型可以配合<a href="https://qian.tencent.com/developers/partnerApis/files/
|
|
3497
|
+
如果是其他类型可以配合<a href="https://qian.tencent.com/developers/partnerApis/files/CreateFileConvertTask" target="_blank">创建文件转换任务</a>接口转换成PDF文件
|
|
3559
3498
|
|
|
3560
3499
|
注:
|
|
3561
3500
|
1. 图片类型(png/jpg/jpeg)限制大小为8M以下, PDF/word/excel等其他格式限制大小为60M以下
|
|
@@ -316,32 +316,6 @@ class EssbasicClient(AbstractClient):
|
|
|
316
316
|
|
|
317
317
|
return await self.call_and_deserialize(**kwargs)
|
|
318
318
|
|
|
319
|
-
async def ChannelCreateConvertTaskApi(
|
|
320
|
-
self,
|
|
321
|
-
request: models.ChannelCreateConvertTaskApiRequest,
|
|
322
|
-
opts: Dict = None,
|
|
323
|
-
) -> models.ChannelCreateConvertTaskApiResponse:
|
|
324
|
-
"""
|
|
325
|
-
此接口(ChannelCreateConvertTaskApi)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />
|
|
326
|
-
前提条件:源文件已经通过 <a href="https://qian.tencent.com/developers/partnerApis/files/UploadFiles" target="_blank">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />
|
|
327
|
-
适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
|
|
328
|
-
适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
|
|
329
|
-
转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/partnerApis/files/ChannelGetTaskResultApi" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
|
|
330
|
-
<font color="red">此接口于 2026 年 12月 31 日下线</font>,请使用新接口: <a href="https://qian.tencent.com/developers/partnerApis/files/CreateFileConvertTask" target="_blank">新建文件转换任务(CreateFileConvertTask)</a><br />
|
|
331
|
-
注:
|
|
332
|
-
1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
|
|
333
|
-
2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
|
|
334
|
-
"""
|
|
335
|
-
|
|
336
|
-
kwargs = {}
|
|
337
|
-
kwargs["action"] = "ChannelCreateConvertTaskApi"
|
|
338
|
-
kwargs["params"] = request._serialize()
|
|
339
|
-
kwargs["resp_cls"] = models.ChannelCreateConvertTaskApiResponse
|
|
340
|
-
kwargs["headers"] = request.headers
|
|
341
|
-
kwargs["opts"] = opts or {}
|
|
342
|
-
|
|
343
|
-
return await self.call_and_deserialize(**kwargs)
|
|
344
|
-
|
|
345
319
|
async def ChannelCreateDynamicFlowApprover(
|
|
346
320
|
self,
|
|
347
321
|
request: models.ChannelCreateDynamicFlowApproverRequest,
|
|
@@ -1350,31 +1324,6 @@ class EssbasicClient(AbstractClient):
|
|
|
1350
1324
|
|
|
1351
1325
|
return await self.call_and_deserialize(**kwargs)
|
|
1352
1326
|
|
|
1353
|
-
async def ChannelGetTaskResultApi(
|
|
1354
|
-
self,
|
|
1355
|
-
request: models.ChannelGetTaskResultApiRequest,
|
|
1356
|
-
opts: Dict = None,
|
|
1357
|
-
) -> models.ChannelGetTaskResultApiResponse:
|
|
1358
|
-
"""
|
|
1359
|
-
此接口(ChannelGetTaskResultApi)用来查询转换任务的状态。如需发起转换任务,请使用<a href="https://qian.tencent.com/developers/partnerApis/files/ChannelCreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行资源文件的转换操作<br />
|
|
1360
|
-
前提条件:已调用 <a href="https://qian.tencent.com/developers/partnerApis/files/ChannelCreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行文件转换,并得到了返回的转换任务Id。<br />
|
|
1361
|
-
|
|
1362
|
-
适用场景:已创建一个文件转换任务,想查询该文件转换任务的状态,或获取转换后的文件资源ID。<br />
|
|
1363
|
-
<font color="red">此接口于 2026 年 12月 31 日下线</font>,请使用新接口: <a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask" target="_blank">查询文件转换任务状态(DescribeFileConvertTask)</a><br />
|
|
1364
|
-
注:
|
|
1365
|
-
1. `大文件转换所需的时间可能会比较长。`
|
|
1366
|
-
2. `本接口返回的文件资源ID就是PDF资源ID,可以直接用于【用PDF文件创建签署流程】接口发起合同。`
|
|
1367
|
-
"""
|
|
1368
|
-
|
|
1369
|
-
kwargs = {}
|
|
1370
|
-
kwargs["action"] = "ChannelGetTaskResultApi"
|
|
1371
|
-
kwargs["params"] = request._serialize()
|
|
1372
|
-
kwargs["resp_cls"] = models.ChannelGetTaskResultApiResponse
|
|
1373
|
-
kwargs["headers"] = request.headers
|
|
1374
|
-
kwargs["opts"] = opts or {}
|
|
1375
|
-
|
|
1376
|
-
return await self.call_and_deserialize(**kwargs)
|
|
1377
|
-
|
|
1378
1327
|
async def ChannelModifyRole(
|
|
1379
1328
|
self,
|
|
1380
1329
|
request: models.ChannelModifyRoleRequest,
|
|
@@ -3059,7 +3008,7 @@ class EssbasicClient(AbstractClient):
|
|
|
3059
3008
|
|
|
3060
3009
|
适用场景:用于合同,印章的文件上传。文件上传以后,
|
|
3061
3010
|
如果是PDF格式文件可配合<a href="https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowByFiles" target="_blank">用PDF文件创建签署流程</a>接口进行合同流程的发起
|
|
3062
|
-
如果是其他类型可以配合<a href="https://qian.tencent.com/developers/partnerApis/files/
|
|
3011
|
+
如果是其他类型可以配合<a href="https://qian.tencent.com/developers/partnerApis/files/CreateFileConvertTask" target="_blank">创建文件转换任务</a>接口转换成PDF文件
|
|
3063
3012
|
|
|
3064
3013
|
注:
|
|
3065
3014
|
1. 图片类型(png/jpg/jpeg)限制大小为8M以下, PDF/word/excel等其他格式限制大小为60M以下
|
|
@@ -3714,220 +3714,6 @@ class ChannelCreateBoundFlowsResponse(AbstractModel):
|
|
|
3714
3714
|
self._RequestId = params.get("RequestId")
|
|
3715
3715
|
|
|
3716
3716
|
|
|
3717
|
-
class ChannelCreateConvertTaskApiRequest(AbstractModel):
|
|
3718
|
-
r"""ChannelCreateConvertTaskApi请求参数结构体
|
|
3719
|
-
|
|
3720
|
-
"""
|
|
3721
|
-
|
|
3722
|
-
def __init__(self):
|
|
3723
|
-
r"""
|
|
3724
|
-
:param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
3725
|
-
|
|
3726
|
-
此接口下面信息必填。
|
|
3727
|
-
<ul>
|
|
3728
|
-
<li>渠道应用标识: Agent.AppId</li>
|
|
3729
|
-
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
|
3730
|
-
<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
|
3731
|
-
</ul>
|
|
3732
|
-
第三方平台子客企业和员工必须已经经过实名认证
|
|
3733
|
-
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
3734
|
-
:param _ResourceType: 需要进行转换的资源文件类型
|
|
3735
|
-
支持的文件类型如下:
|
|
3736
|
-
<ul><li>doc</li>
|
|
3737
|
-
<li>docx</li>
|
|
3738
|
-
<li>xls</li>
|
|
3739
|
-
<li>xlsx</li>
|
|
3740
|
-
<li>jpg</li>
|
|
3741
|
-
<li>jpeg</li>
|
|
3742
|
-
<li>png</li>
|
|
3743
|
-
<li>bmp</li>
|
|
3744
|
-
<li>html</li>
|
|
3745
|
-
<li>txt</li></ul>
|
|
3746
|
-
:type ResourceType: str
|
|
3747
|
-
:param _ResourceName: 需要进行转换操作的文件资源名称,带资源后缀名。
|
|
3748
|
-
|
|
3749
|
-
注: `资源名称长度限制为256个字符`
|
|
3750
|
-
:type ResourceName: str
|
|
3751
|
-
:param _ResourceId: 需要进行转换操作的文件资源Id,通过<a href="https://qian.tencent.com/developers/partnerApis/files/UploadFiles" target="_blank">UploadFiles</a>接口获取文件资源Id。
|
|
3752
|
-
|
|
3753
|
-
注: `目前,此接口仅支持单个文件进行转换。`
|
|
3754
|
-
:type ResourceId: str
|
|
3755
|
-
:param _Operator: 调用方用户信息,不用传
|
|
3756
|
-
:type Operator: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
|
|
3757
|
-
:param _Organization: 暂未开放
|
|
3758
|
-
:type Organization: :class:`tencentcloud.essbasic.v20210526.models.OrganizationInfo`
|
|
3759
|
-
"""
|
|
3760
|
-
self._Agent = None
|
|
3761
|
-
self._ResourceType = None
|
|
3762
|
-
self._ResourceName = None
|
|
3763
|
-
self._ResourceId = None
|
|
3764
|
-
self._Operator = None
|
|
3765
|
-
self._Organization = None
|
|
3766
|
-
|
|
3767
|
-
@property
|
|
3768
|
-
def Agent(self):
|
|
3769
|
-
r"""关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
3770
|
-
|
|
3771
|
-
此接口下面信息必填。
|
|
3772
|
-
<ul>
|
|
3773
|
-
<li>渠道应用标识: Agent.AppId</li>
|
|
3774
|
-
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
|
3775
|
-
<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
|
3776
|
-
</ul>
|
|
3777
|
-
第三方平台子客企业和员工必须已经经过实名认证
|
|
3778
|
-
:rtype: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
3779
|
-
"""
|
|
3780
|
-
return self._Agent
|
|
3781
|
-
|
|
3782
|
-
@Agent.setter
|
|
3783
|
-
def Agent(self, Agent):
|
|
3784
|
-
self._Agent = Agent
|
|
3785
|
-
|
|
3786
|
-
@property
|
|
3787
|
-
def ResourceType(self):
|
|
3788
|
-
r"""需要进行转换的资源文件类型
|
|
3789
|
-
支持的文件类型如下:
|
|
3790
|
-
<ul><li>doc</li>
|
|
3791
|
-
<li>docx</li>
|
|
3792
|
-
<li>xls</li>
|
|
3793
|
-
<li>xlsx</li>
|
|
3794
|
-
<li>jpg</li>
|
|
3795
|
-
<li>jpeg</li>
|
|
3796
|
-
<li>png</li>
|
|
3797
|
-
<li>bmp</li>
|
|
3798
|
-
<li>html</li>
|
|
3799
|
-
<li>txt</li></ul>
|
|
3800
|
-
:rtype: str
|
|
3801
|
-
"""
|
|
3802
|
-
return self._ResourceType
|
|
3803
|
-
|
|
3804
|
-
@ResourceType.setter
|
|
3805
|
-
def ResourceType(self, ResourceType):
|
|
3806
|
-
self._ResourceType = ResourceType
|
|
3807
|
-
|
|
3808
|
-
@property
|
|
3809
|
-
def ResourceName(self):
|
|
3810
|
-
r"""需要进行转换操作的文件资源名称,带资源后缀名。
|
|
3811
|
-
|
|
3812
|
-
注: `资源名称长度限制为256个字符`
|
|
3813
|
-
:rtype: str
|
|
3814
|
-
"""
|
|
3815
|
-
return self._ResourceName
|
|
3816
|
-
|
|
3817
|
-
@ResourceName.setter
|
|
3818
|
-
def ResourceName(self, ResourceName):
|
|
3819
|
-
self._ResourceName = ResourceName
|
|
3820
|
-
|
|
3821
|
-
@property
|
|
3822
|
-
def ResourceId(self):
|
|
3823
|
-
r"""需要进行转换操作的文件资源Id,通过<a href="https://qian.tencent.com/developers/partnerApis/files/UploadFiles" target="_blank">UploadFiles</a>接口获取文件资源Id。
|
|
3824
|
-
|
|
3825
|
-
注: `目前,此接口仅支持单个文件进行转换。`
|
|
3826
|
-
:rtype: str
|
|
3827
|
-
"""
|
|
3828
|
-
return self._ResourceId
|
|
3829
|
-
|
|
3830
|
-
@ResourceId.setter
|
|
3831
|
-
def ResourceId(self, ResourceId):
|
|
3832
|
-
self._ResourceId = ResourceId
|
|
3833
|
-
|
|
3834
|
-
@property
|
|
3835
|
-
def Operator(self):
|
|
3836
|
-
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
|
3837
|
-
|
|
3838
|
-
r"""调用方用户信息,不用传
|
|
3839
|
-
:rtype: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
|
|
3840
|
-
"""
|
|
3841
|
-
return self._Operator
|
|
3842
|
-
|
|
3843
|
-
@Operator.setter
|
|
3844
|
-
def Operator(self, Operator):
|
|
3845
|
-
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
|
3846
|
-
|
|
3847
|
-
self._Operator = Operator
|
|
3848
|
-
|
|
3849
|
-
@property
|
|
3850
|
-
def Organization(self):
|
|
3851
|
-
warnings.warn("parameter `Organization` is deprecated", DeprecationWarning)
|
|
3852
|
-
|
|
3853
|
-
r"""暂未开放
|
|
3854
|
-
:rtype: :class:`tencentcloud.essbasic.v20210526.models.OrganizationInfo`
|
|
3855
|
-
"""
|
|
3856
|
-
return self._Organization
|
|
3857
|
-
|
|
3858
|
-
@Organization.setter
|
|
3859
|
-
def Organization(self, Organization):
|
|
3860
|
-
warnings.warn("parameter `Organization` is deprecated", DeprecationWarning)
|
|
3861
|
-
|
|
3862
|
-
self._Organization = Organization
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
def _deserialize(self, params):
|
|
3866
|
-
if params.get("Agent") is not None:
|
|
3867
|
-
self._Agent = Agent()
|
|
3868
|
-
self._Agent._deserialize(params.get("Agent"))
|
|
3869
|
-
self._ResourceType = params.get("ResourceType")
|
|
3870
|
-
self._ResourceName = params.get("ResourceName")
|
|
3871
|
-
self._ResourceId = params.get("ResourceId")
|
|
3872
|
-
if params.get("Operator") is not None:
|
|
3873
|
-
self._Operator = UserInfo()
|
|
3874
|
-
self._Operator._deserialize(params.get("Operator"))
|
|
3875
|
-
if params.get("Organization") is not None:
|
|
3876
|
-
self._Organization = OrganizationInfo()
|
|
3877
|
-
self._Organization._deserialize(params.get("Organization"))
|
|
3878
|
-
memeber_set = set(params.keys())
|
|
3879
|
-
for name, value in vars(self).items():
|
|
3880
|
-
property_name = name[1:]
|
|
3881
|
-
if property_name in memeber_set:
|
|
3882
|
-
memeber_set.remove(property_name)
|
|
3883
|
-
if len(memeber_set) > 0:
|
|
3884
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
class ChannelCreateConvertTaskApiResponse(AbstractModel):
|
|
3889
|
-
r"""ChannelCreateConvertTaskApi返回参数结构体
|
|
3890
|
-
|
|
3891
|
-
"""
|
|
3892
|
-
|
|
3893
|
-
def __init__(self):
|
|
3894
|
-
r"""
|
|
3895
|
-
:param _TaskId: 接口返回的文件转换任务Id,可以调用接口<a href="https://qian.tencent.com/developers/partnerApis/files/ChannelGetTaskResultApi" target="_blank">查询转换任务状态</a>获取转换任务的状态和转换后的文件资源Id。
|
|
3896
|
-
:type TaskId: str
|
|
3897
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3898
|
-
:type RequestId: str
|
|
3899
|
-
"""
|
|
3900
|
-
self._TaskId = None
|
|
3901
|
-
self._RequestId = None
|
|
3902
|
-
|
|
3903
|
-
@property
|
|
3904
|
-
def TaskId(self):
|
|
3905
|
-
r"""接口返回的文件转换任务Id,可以调用接口<a href="https://qian.tencent.com/developers/partnerApis/files/ChannelGetTaskResultApi" target="_blank">查询转换任务状态</a>获取转换任务的状态和转换后的文件资源Id。
|
|
3906
|
-
:rtype: str
|
|
3907
|
-
"""
|
|
3908
|
-
return self._TaskId
|
|
3909
|
-
|
|
3910
|
-
@TaskId.setter
|
|
3911
|
-
def TaskId(self, TaskId):
|
|
3912
|
-
self._TaskId = TaskId
|
|
3913
|
-
|
|
3914
|
-
@property
|
|
3915
|
-
def RequestId(self):
|
|
3916
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3917
|
-
:rtype: str
|
|
3918
|
-
"""
|
|
3919
|
-
return self._RequestId
|
|
3920
|
-
|
|
3921
|
-
@RequestId.setter
|
|
3922
|
-
def RequestId(self, RequestId):
|
|
3923
|
-
self._RequestId = RequestId
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
def _deserialize(self, params):
|
|
3927
|
-
self._TaskId = params.get("TaskId")
|
|
3928
|
-
self._RequestId = params.get("RequestId")
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
3717
|
class ChannelCreateDynamicFlowApproverRequest(AbstractModel):
|
|
3932
3718
|
r"""ChannelCreateDynamicFlowApprover请求参数结构体
|
|
3933
3719
|
|
|
@@ -4047,7 +3833,7 @@ class ChannelCreateEmbedWebUrlRequest(AbstractModel):
|
|
|
4047
3833
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
4048
3834
|
:param _EmbedType: <p>要生成WEB嵌入界面的类型, 可以选择的值如下: </p><ul><li>CREATE_SEAL: 生成创建印章的嵌入页面</li><li>CREATE_TEMPLATE:生成创建模板的嵌入页面</li><li>MODIFY_TEMPLATE:生成修改模板的嵌入页面</li><li>PREVIEW_TEMPLATE:生成预览模板的嵌入页面</li><li>PREVIEW_FLOW:生成预览合同文档的嵌入页面(H5链接,支持移动端的浏览器中打开)</li><li>PREVIEW_FLOW_DETAIL:生成预览合同详情的嵌入页面(仅支持PC的浏览器中打开)</li><li>PREVIEW_SEAL_LIST:生成预览印章列表的嵌入页面</li><li>PREVIEW_SEAL_DETAIL:生成预览印章详情的嵌入页面</li><li>EXTEND_SERVICE:生成扩展服务的嵌入页面</li></ul>
|
|
4049
3835
|
:type EmbedType: str
|
|
4050
|
-
:param _BusinessId: <p>WEB嵌入的业务资源ID</p><p>当EmbedType取值</p><ul><li>为MODIFY_TEMPLATE,PREVIEW_TEMPLATE必填,取值为模板id</li><li>为CREATE_TEMPLATE,非必填,取值为资源id。*资源Id获取可使用接口[上传文件](https://qian.tencent.com/developers/partnerApis/files/UploadFiles)*</li><li>为PREVIEW_FLOW,PREVIEW_FLOW_DETAIL必填,取值为合同id</li><li>为PREVIEW_SEAL_DETAIL必填,取值为印章id</li></ul><p>注意:</p><ol><li>CREATE_TEMPLATE中的BusinessId仅支持PDF文件类型, 如果您的文件不是PDF, 请使用接口<a href="https://qian.tencent.com/developers/partnerApis/files/
|
|
3836
|
+
:param _BusinessId: <p>WEB嵌入的业务资源ID</p><p>当EmbedType取值</p><ul><li>为MODIFY_TEMPLATE,PREVIEW_TEMPLATE必填,取值为模板id</li><li>为CREATE_TEMPLATE,非必填,取值为资源id。*资源Id获取可使用接口[上传文件](https://qian.tencent.com/developers/partnerApis/files/UploadFiles)*</li><li>为PREVIEW_FLOW,PREVIEW_FLOW_DETAIL必填,取值为合同id</li><li>为PREVIEW_SEAL_DETAIL必填,取值为印章id</li></ul><p>注意:</p><ol><li>CREATE_TEMPLATE中的BusinessId仅支持PDF文件类型, 如果您的文件不是PDF, 请使用接口<a href="https://qian.tencent.com/developers/partnerApis/files/CreateFileConvertTask">创建文件转换任务</a> 和<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a> 来进行转换成PDF资源。</li></ol>
|
|
4051
3837
|
:type BusinessId: str
|
|
4052
3838
|
:param _HiddenComponents: <p>是否隐藏控件,只有预览模板时生效,目前字段已废弃,请使用<a href="https://qian.tencent.com/developers/partnerApis/dataTypes#embedurloption">嵌入式页面url个性化参数Option</a> 的ShowTemplateComponent来指定是否展示or隐藏控件</p>
|
|
4053
3839
|
:type HiddenComponents: bool
|
|
@@ -4090,7 +3876,7 @@ class ChannelCreateEmbedWebUrlRequest(AbstractModel):
|
|
|
4090
3876
|
|
|
4091
3877
|
@property
|
|
4092
3878
|
def BusinessId(self):
|
|
4093
|
-
r"""<p>WEB嵌入的业务资源ID</p><p>当EmbedType取值</p><ul><li>为MODIFY_TEMPLATE,PREVIEW_TEMPLATE必填,取值为模板id</li><li>为CREATE_TEMPLATE,非必填,取值为资源id。*资源Id获取可使用接口[上传文件](https://qian.tencent.com/developers/partnerApis/files/UploadFiles)*</li><li>为PREVIEW_FLOW,PREVIEW_FLOW_DETAIL必填,取值为合同id</li><li>为PREVIEW_SEAL_DETAIL必填,取值为印章id</li></ul><p>注意:</p><ol><li>CREATE_TEMPLATE中的BusinessId仅支持PDF文件类型, 如果您的文件不是PDF, 请使用接口<a href="https://qian.tencent.com/developers/partnerApis/files/
|
|
3879
|
+
r"""<p>WEB嵌入的业务资源ID</p><p>当EmbedType取值</p><ul><li>为MODIFY_TEMPLATE,PREVIEW_TEMPLATE必填,取值为模板id</li><li>为CREATE_TEMPLATE,非必填,取值为资源id。*资源Id获取可使用接口[上传文件](https://qian.tencent.com/developers/partnerApis/files/UploadFiles)*</li><li>为PREVIEW_FLOW,PREVIEW_FLOW_DETAIL必填,取值为合同id</li><li>为PREVIEW_SEAL_DETAIL必填,取值为印章id</li></ul><p>注意:</p><ol><li>CREATE_TEMPLATE中的BusinessId仅支持PDF文件类型, 如果您的文件不是PDF, 请使用接口<a href="https://qian.tencent.com/developers/partnerApis/files/CreateFileConvertTask">创建文件转换任务</a> 和<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a> 来进行转换成PDF资源。</li></ol>
|
|
4094
3880
|
:rtype: str
|
|
4095
3881
|
"""
|
|
4096
3882
|
return self._BusinessId
|
|
@@ -5177,20 +4963,11 @@ class ChannelCreateFlowGroupByTemplatesRequest(AbstractModel):
|
|
|
5177
4963
|
|
|
5178
4964
|
def __init__(self):
|
|
5179
4965
|
r"""
|
|
5180
|
-
:param _Agent:
|
|
5181
|
-
|
|
5182
|
-
此接口下面信息必填。
|
|
5183
|
-
<ul>
|
|
5184
|
-
<li>渠道应用标识: <a href="https://qcloudimg.tencent-cloud.cn/raw/a71872de3d540d55451e3e73a2ad1a6e.png" target="_blank">Agent.AppId</a></li>
|
|
5185
|
-
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId(合同的发起企业)</li>
|
|
5186
|
-
<li>第三方平台子客企业中的员工标识: Agent.ProxyOperator.OpenId (合同的发起人)</li>
|
|
5187
|
-
</ul>
|
|
5188
|
-
|
|
5189
|
-
合同的发起企业和发起人必需已经完成实名,并加入企业
|
|
4966
|
+
:param _Agent: <p>合同的发起企业和发起人信息,<a href="https://qcloudimg.tencent-cloud.cn/raw/b69f8aad306c40b7b78d096e39b2edbb.png" target="_blank">点击查看合同发起企业和人展示的位置</a></p><p>此接口下面信息必填。</p><ul><li>渠道应用标识: <a href="https://qcloudimg.tencent-cloud.cn/raw/a71872de3d540d55451e3e73a2ad1a6e.png" target="_blank">Agent.AppId</a></li><li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId(合同的发起企业)</li><li>第三方平台子客企业中的员工标识: Agent.ProxyOperator.OpenId (合同的发起人)</li></ul><p>合同的发起企业和发起人必需已经完成实名,并加入企业</p>
|
|
5190
4967
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
5191
|
-
:param _FlowInfos:
|
|
4968
|
+
:param _FlowInfos: <p>合同组中每个合同签署流程的信息,合同组中最少包含2个合同,不能超过50个合同。</p>
|
|
5192
4969
|
:type FlowInfos: list of FlowInfo
|
|
5193
|
-
:param _FlowGroupName:
|
|
4970
|
+
:param _FlowGroupName: <p>合同组的名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成。</p>
|
|
5194
4971
|
:type FlowGroupName: str
|
|
5195
4972
|
"""
|
|
5196
4973
|
self._Agent = None
|
|
@@ -5199,16 +4976,7 @@ class ChannelCreateFlowGroupByTemplatesRequest(AbstractModel):
|
|
|
5199
4976
|
|
|
5200
4977
|
@property
|
|
5201
4978
|
def Agent(self):
|
|
5202
|
-
r"""
|
|
5203
|
-
|
|
5204
|
-
此接口下面信息必填。
|
|
5205
|
-
<ul>
|
|
5206
|
-
<li>渠道应用标识: <a href="https://qcloudimg.tencent-cloud.cn/raw/a71872de3d540d55451e3e73a2ad1a6e.png" target="_blank">Agent.AppId</a></li>
|
|
5207
|
-
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId(合同的发起企业)</li>
|
|
5208
|
-
<li>第三方平台子客企业中的员工标识: Agent.ProxyOperator.OpenId (合同的发起人)</li>
|
|
5209
|
-
</ul>
|
|
5210
|
-
|
|
5211
|
-
合同的发起企业和发起人必需已经完成实名,并加入企业
|
|
4979
|
+
r"""<p>合同的发起企业和发起人信息,<a href="https://qcloudimg.tencent-cloud.cn/raw/b69f8aad306c40b7b78d096e39b2edbb.png" target="_blank">点击查看合同发起企业和人展示的位置</a></p><p>此接口下面信息必填。</p><ul><li>渠道应用标识: <a href="https://qcloudimg.tencent-cloud.cn/raw/a71872de3d540d55451e3e73a2ad1a6e.png" target="_blank">Agent.AppId</a></li><li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId(合同的发起企业)</li><li>第三方平台子客企业中的员工标识: Agent.ProxyOperator.OpenId (合同的发起人)</li></ul><p>合同的发起企业和发起人必需已经完成实名,并加入企业</p>
|
|
5212
4980
|
:rtype: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
5213
4981
|
"""
|
|
5214
4982
|
return self._Agent
|
|
@@ -5219,7 +4987,7 @@ class ChannelCreateFlowGroupByTemplatesRequest(AbstractModel):
|
|
|
5219
4987
|
|
|
5220
4988
|
@property
|
|
5221
4989
|
def FlowInfos(self):
|
|
5222
|
-
r"""
|
|
4990
|
+
r"""<p>合同组中每个合同签署流程的信息,合同组中最少包含2个合同,不能超过50个合同。</p>
|
|
5223
4991
|
:rtype: list of FlowInfo
|
|
5224
4992
|
"""
|
|
5225
4993
|
return self._FlowInfos
|
|
@@ -5230,7 +4998,7 @@ class ChannelCreateFlowGroupByTemplatesRequest(AbstractModel):
|
|
|
5230
4998
|
|
|
5231
4999
|
@property
|
|
5232
5000
|
def FlowGroupName(self):
|
|
5233
|
-
r"""
|
|
5001
|
+
r"""<p>合同组的名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成。</p>
|
|
5234
5002
|
:rtype: str
|
|
5235
5003
|
"""
|
|
5236
5004
|
return self._FlowGroupName
|
|
@@ -5268,18 +5036,13 @@ class ChannelCreateFlowGroupByTemplatesResponse(AbstractModel):
|
|
|
5268
5036
|
|
|
5269
5037
|
def __init__(self):
|
|
5270
5038
|
r"""
|
|
5271
|
-
:param _FlowGroupId:
|
|
5272
|
-
建议开发者妥善保存此合同组ID,以便于顺利进行后续操作。
|
|
5039
|
+
:param _FlowGroupId: <p>合同组ID,为32位字符串。<br>建议开发者妥善保存此合同组ID,以便于顺利进行后续操作。</p>
|
|
5273
5040
|
:type FlowGroupId: str
|
|
5274
|
-
:param _FlowIds:
|
|
5275
|
-
|
|
5276
|
-
注:
|
|
5277
|
-
`此数组的顺序和入参中的FlowInfos顺序一致`
|
|
5041
|
+
:param _FlowIds: <p>合同组中每个合同流程ID,每个ID均为32位字符串。</p><p>注:<br><code>此数组的顺序和入参中的FlowInfos顺序一致</code></p>
|
|
5278
5042
|
:type FlowIds: list of str
|
|
5279
|
-
:param _TaskInfos:
|
|
5280
|
-
如果文档需要异步合成,此字段会返回该异步任务的任务信息,后续可以通过ChannelGetTaskResultApi接口查询任务详情;
|
|
5043
|
+
:param _TaskInfos: <p>复杂文档合成任务(如,包含动态表格的预览任务)的任务信息数组;<br>如果文档需要异步合成,此字段会返回该异步任务的任务信息,后续可以通过<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a>接口查询任务详情;</p>
|
|
5281
5044
|
:type TaskInfos: list of TaskInfo
|
|
5282
|
-
:param _Approvers:
|
|
5045
|
+
:param _Approvers: <p>合同组签署方信息</p>
|
|
5283
5046
|
:type Approvers: list of FlowGroupApprovers
|
|
5284
5047
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5285
5048
|
:type RequestId: str
|
|
@@ -5292,8 +5055,7 @@ class ChannelCreateFlowGroupByTemplatesResponse(AbstractModel):
|
|
|
5292
5055
|
|
|
5293
5056
|
@property
|
|
5294
5057
|
def FlowGroupId(self):
|
|
5295
|
-
r"""
|
|
5296
|
-
建议开发者妥善保存此合同组ID,以便于顺利进行后续操作。
|
|
5058
|
+
r"""<p>合同组ID,为32位字符串。<br>建议开发者妥善保存此合同组ID,以便于顺利进行后续操作。</p>
|
|
5297
5059
|
:rtype: str
|
|
5298
5060
|
"""
|
|
5299
5061
|
return self._FlowGroupId
|
|
@@ -5304,10 +5066,7 @@ class ChannelCreateFlowGroupByTemplatesResponse(AbstractModel):
|
|
|
5304
5066
|
|
|
5305
5067
|
@property
|
|
5306
5068
|
def FlowIds(self):
|
|
5307
|
-
r"""
|
|
5308
|
-
|
|
5309
|
-
注:
|
|
5310
|
-
`此数组的顺序和入参中的FlowInfos顺序一致`
|
|
5069
|
+
r"""<p>合同组中每个合同流程ID,每个ID均为32位字符串。</p><p>注:<br><code>此数组的顺序和入参中的FlowInfos顺序一致</code></p>
|
|
5311
5070
|
:rtype: list of str
|
|
5312
5071
|
"""
|
|
5313
5072
|
return self._FlowIds
|
|
@@ -5318,8 +5077,7 @@ class ChannelCreateFlowGroupByTemplatesResponse(AbstractModel):
|
|
|
5318
5077
|
|
|
5319
5078
|
@property
|
|
5320
5079
|
def TaskInfos(self):
|
|
5321
|
-
r"""
|
|
5322
|
-
如果文档需要异步合成,此字段会返回该异步任务的任务信息,后续可以通过ChannelGetTaskResultApi接口查询任务详情;
|
|
5080
|
+
r"""<p>复杂文档合成任务(如,包含动态表格的预览任务)的任务信息数组;<br>如果文档需要异步合成,此字段会返回该异步任务的任务信息,后续可以通过<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a>接口查询任务详情;</p>
|
|
5323
5081
|
:rtype: list of TaskInfo
|
|
5324
5082
|
"""
|
|
5325
5083
|
return self._TaskInfos
|
|
@@ -5330,7 +5088,7 @@ class ChannelCreateFlowGroupByTemplatesResponse(AbstractModel):
|
|
|
5330
5088
|
|
|
5331
5089
|
@property
|
|
5332
5090
|
def Approvers(self):
|
|
5333
|
-
r"""
|
|
5091
|
+
r"""<p>合同组签署方信息</p>
|
|
5334
5092
|
:rtype: list of FlowGroupApprovers
|
|
5335
5093
|
"""
|
|
5336
5094
|
return self._Approvers
|
|
@@ -10854,250 +10612,6 @@ class ChannelDisableUserAutoSignResponse(AbstractModel):
|
|
|
10854
10612
|
self._RequestId = params.get("RequestId")
|
|
10855
10613
|
|
|
10856
10614
|
|
|
10857
|
-
class ChannelGetTaskResultApiRequest(AbstractModel):
|
|
10858
|
-
r"""ChannelGetTaskResultApi请求参数结构体
|
|
10859
|
-
|
|
10860
|
-
"""
|
|
10861
|
-
|
|
10862
|
-
def __init__(self):
|
|
10863
|
-
r"""
|
|
10864
|
-
:param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
10865
|
-
|
|
10866
|
-
此接口下面信息必填。
|
|
10867
|
-
<ul>
|
|
10868
|
-
<li>渠道应用标识: Agent.AppId</li>
|
|
10869
|
-
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
|
10870
|
-
<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
|
10871
|
-
</ul>
|
|
10872
|
-
第三方平台子客企业和员工必须已经经过实名认证
|
|
10873
|
-
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
10874
|
-
:param _TaskId: 转换任务Id,通过接口<a href="https://qian.tencent.com/developers/partnerApis/files/ChannelCreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>得到的转换任务id
|
|
10875
|
-
:type TaskId: str
|
|
10876
|
-
:param _Operator: 操作者的信息,不用传
|
|
10877
|
-
:type Operator: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
|
|
10878
|
-
:param _Organization: 暂未开放
|
|
10879
|
-
:type Organization: :class:`tencentcloud.essbasic.v20210526.models.OrganizationInfo`
|
|
10880
|
-
"""
|
|
10881
|
-
self._Agent = None
|
|
10882
|
-
self._TaskId = None
|
|
10883
|
-
self._Operator = None
|
|
10884
|
-
self._Organization = None
|
|
10885
|
-
|
|
10886
|
-
@property
|
|
10887
|
-
def Agent(self):
|
|
10888
|
-
r"""关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
10889
|
-
|
|
10890
|
-
此接口下面信息必填。
|
|
10891
|
-
<ul>
|
|
10892
|
-
<li>渠道应用标识: Agent.AppId</li>
|
|
10893
|
-
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
|
10894
|
-
<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
|
10895
|
-
</ul>
|
|
10896
|
-
第三方平台子客企业和员工必须已经经过实名认证
|
|
10897
|
-
:rtype: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
10898
|
-
"""
|
|
10899
|
-
return self._Agent
|
|
10900
|
-
|
|
10901
|
-
@Agent.setter
|
|
10902
|
-
def Agent(self, Agent):
|
|
10903
|
-
self._Agent = Agent
|
|
10904
|
-
|
|
10905
|
-
@property
|
|
10906
|
-
def TaskId(self):
|
|
10907
|
-
r"""转换任务Id,通过接口<a href="https://qian.tencent.com/developers/partnerApis/files/ChannelCreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>得到的转换任务id
|
|
10908
|
-
:rtype: str
|
|
10909
|
-
"""
|
|
10910
|
-
return self._TaskId
|
|
10911
|
-
|
|
10912
|
-
@TaskId.setter
|
|
10913
|
-
def TaskId(self, TaskId):
|
|
10914
|
-
self._TaskId = TaskId
|
|
10915
|
-
|
|
10916
|
-
@property
|
|
10917
|
-
def Operator(self):
|
|
10918
|
-
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
|
10919
|
-
|
|
10920
|
-
r"""操作者的信息,不用传
|
|
10921
|
-
:rtype: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
|
|
10922
|
-
"""
|
|
10923
|
-
return self._Operator
|
|
10924
|
-
|
|
10925
|
-
@Operator.setter
|
|
10926
|
-
def Operator(self, Operator):
|
|
10927
|
-
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
|
10928
|
-
|
|
10929
|
-
self._Operator = Operator
|
|
10930
|
-
|
|
10931
|
-
@property
|
|
10932
|
-
def Organization(self):
|
|
10933
|
-
warnings.warn("parameter `Organization` is deprecated", DeprecationWarning)
|
|
10934
|
-
|
|
10935
|
-
r"""暂未开放
|
|
10936
|
-
:rtype: :class:`tencentcloud.essbasic.v20210526.models.OrganizationInfo`
|
|
10937
|
-
"""
|
|
10938
|
-
return self._Organization
|
|
10939
|
-
|
|
10940
|
-
@Organization.setter
|
|
10941
|
-
def Organization(self, Organization):
|
|
10942
|
-
warnings.warn("parameter `Organization` is deprecated", DeprecationWarning)
|
|
10943
|
-
|
|
10944
|
-
self._Organization = Organization
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
def _deserialize(self, params):
|
|
10948
|
-
if params.get("Agent") is not None:
|
|
10949
|
-
self._Agent = Agent()
|
|
10950
|
-
self._Agent._deserialize(params.get("Agent"))
|
|
10951
|
-
self._TaskId = params.get("TaskId")
|
|
10952
|
-
if params.get("Operator") is not None:
|
|
10953
|
-
self._Operator = UserInfo()
|
|
10954
|
-
self._Operator._deserialize(params.get("Operator"))
|
|
10955
|
-
if params.get("Organization") is not None:
|
|
10956
|
-
self._Organization = OrganizationInfo()
|
|
10957
|
-
self._Organization._deserialize(params.get("Organization"))
|
|
10958
|
-
memeber_set = set(params.keys())
|
|
10959
|
-
for name, value in vars(self).items():
|
|
10960
|
-
property_name = name[1:]
|
|
10961
|
-
if property_name in memeber_set:
|
|
10962
|
-
memeber_set.remove(property_name)
|
|
10963
|
-
if len(memeber_set) > 0:
|
|
10964
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10965
|
-
|
|
10966
|
-
|
|
10967
|
-
|
|
10968
|
-
class ChannelGetTaskResultApiResponse(AbstractModel):
|
|
10969
|
-
r"""ChannelGetTaskResultApi返回参数结构体
|
|
10970
|
-
|
|
10971
|
-
"""
|
|
10972
|
-
|
|
10973
|
-
def __init__(self):
|
|
10974
|
-
r"""
|
|
10975
|
-
:param _TaskId: 任务Id
|
|
10976
|
-
:type TaskId: str
|
|
10977
|
-
:param _TaskStatus: 任务状态,需要关注的状态
|
|
10978
|
-
<ul><li>**0** :NeedTranform - 任务已提交</li>
|
|
10979
|
-
<li>**4** :Processing - 文档转换中</li>
|
|
10980
|
-
<li>**8** :TaskEnd - 任务处理完成</li>
|
|
10981
|
-
<li>**-2** :DownloadFailed - 下载失败</li>
|
|
10982
|
-
<li>**-6** :ProcessFailed - 转换失败</li>
|
|
10983
|
-
<li>**-13**:ProcessTimeout - 转换文件超时</li></ul>
|
|
10984
|
-
:type TaskStatus: int
|
|
10985
|
-
:param _TaskMessage: 状态描述,需要关注的状态
|
|
10986
|
-
<ul><li> **NeedTranform** : 任务已提交</li>
|
|
10987
|
-
<li> **Processing** : 文档转换中</li>
|
|
10988
|
-
<li> **TaskEnd** : 任务处理完成</li>
|
|
10989
|
-
<li> **DownloadFailed** : 下载失败</li>
|
|
10990
|
-
<li> **ProcessFailed** : 转换失败</li>
|
|
10991
|
-
<li> **ProcessTimeout** : 转换文件超时</li></ul>
|
|
10992
|
-
:type TaskMessage: str
|
|
10993
|
-
:param _ResourceId: 资源Id(即FileId),用于[用PDF文件创建签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowByFiles)
|
|
10994
|
-
:type ResourceId: str
|
|
10995
|
-
:param _PreviewUrl: 预览文件Url,有效期30分钟
|
|
10996
|
-
当前字段返回为空,发起的时候,将ResourceId 放入发起即可
|
|
10997
|
-
:type PreviewUrl: str
|
|
10998
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10999
|
-
:type RequestId: str
|
|
11000
|
-
"""
|
|
11001
|
-
self._TaskId = None
|
|
11002
|
-
self._TaskStatus = None
|
|
11003
|
-
self._TaskMessage = None
|
|
11004
|
-
self._ResourceId = None
|
|
11005
|
-
self._PreviewUrl = None
|
|
11006
|
-
self._RequestId = None
|
|
11007
|
-
|
|
11008
|
-
@property
|
|
11009
|
-
def TaskId(self):
|
|
11010
|
-
r"""任务Id
|
|
11011
|
-
:rtype: str
|
|
11012
|
-
"""
|
|
11013
|
-
return self._TaskId
|
|
11014
|
-
|
|
11015
|
-
@TaskId.setter
|
|
11016
|
-
def TaskId(self, TaskId):
|
|
11017
|
-
self._TaskId = TaskId
|
|
11018
|
-
|
|
11019
|
-
@property
|
|
11020
|
-
def TaskStatus(self):
|
|
11021
|
-
r"""任务状态,需要关注的状态
|
|
11022
|
-
<ul><li>**0** :NeedTranform - 任务已提交</li>
|
|
11023
|
-
<li>**4** :Processing - 文档转换中</li>
|
|
11024
|
-
<li>**8** :TaskEnd - 任务处理完成</li>
|
|
11025
|
-
<li>**-2** :DownloadFailed - 下载失败</li>
|
|
11026
|
-
<li>**-6** :ProcessFailed - 转换失败</li>
|
|
11027
|
-
<li>**-13**:ProcessTimeout - 转换文件超时</li></ul>
|
|
11028
|
-
:rtype: int
|
|
11029
|
-
"""
|
|
11030
|
-
return self._TaskStatus
|
|
11031
|
-
|
|
11032
|
-
@TaskStatus.setter
|
|
11033
|
-
def TaskStatus(self, TaskStatus):
|
|
11034
|
-
self._TaskStatus = TaskStatus
|
|
11035
|
-
|
|
11036
|
-
@property
|
|
11037
|
-
def TaskMessage(self):
|
|
11038
|
-
r"""状态描述,需要关注的状态
|
|
11039
|
-
<ul><li> **NeedTranform** : 任务已提交</li>
|
|
11040
|
-
<li> **Processing** : 文档转换中</li>
|
|
11041
|
-
<li> **TaskEnd** : 任务处理完成</li>
|
|
11042
|
-
<li> **DownloadFailed** : 下载失败</li>
|
|
11043
|
-
<li> **ProcessFailed** : 转换失败</li>
|
|
11044
|
-
<li> **ProcessTimeout** : 转换文件超时</li></ul>
|
|
11045
|
-
:rtype: str
|
|
11046
|
-
"""
|
|
11047
|
-
return self._TaskMessage
|
|
11048
|
-
|
|
11049
|
-
@TaskMessage.setter
|
|
11050
|
-
def TaskMessage(self, TaskMessage):
|
|
11051
|
-
self._TaskMessage = TaskMessage
|
|
11052
|
-
|
|
11053
|
-
@property
|
|
11054
|
-
def ResourceId(self):
|
|
11055
|
-
r"""资源Id(即FileId),用于[用PDF文件创建签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowByFiles)
|
|
11056
|
-
:rtype: str
|
|
11057
|
-
"""
|
|
11058
|
-
return self._ResourceId
|
|
11059
|
-
|
|
11060
|
-
@ResourceId.setter
|
|
11061
|
-
def ResourceId(self, ResourceId):
|
|
11062
|
-
self._ResourceId = ResourceId
|
|
11063
|
-
|
|
11064
|
-
@property
|
|
11065
|
-
def PreviewUrl(self):
|
|
11066
|
-
warnings.warn("parameter `PreviewUrl` is deprecated", DeprecationWarning)
|
|
11067
|
-
|
|
11068
|
-
r"""预览文件Url,有效期30分钟
|
|
11069
|
-
当前字段返回为空,发起的时候,将ResourceId 放入发起即可
|
|
11070
|
-
:rtype: str
|
|
11071
|
-
"""
|
|
11072
|
-
return self._PreviewUrl
|
|
11073
|
-
|
|
11074
|
-
@PreviewUrl.setter
|
|
11075
|
-
def PreviewUrl(self, PreviewUrl):
|
|
11076
|
-
warnings.warn("parameter `PreviewUrl` is deprecated", DeprecationWarning)
|
|
11077
|
-
|
|
11078
|
-
self._PreviewUrl = PreviewUrl
|
|
11079
|
-
|
|
11080
|
-
@property
|
|
11081
|
-
def RequestId(self):
|
|
11082
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11083
|
-
:rtype: str
|
|
11084
|
-
"""
|
|
11085
|
-
return self._RequestId
|
|
11086
|
-
|
|
11087
|
-
@RequestId.setter
|
|
11088
|
-
def RequestId(self, RequestId):
|
|
11089
|
-
self._RequestId = RequestId
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
def _deserialize(self, params):
|
|
11093
|
-
self._TaskId = params.get("TaskId")
|
|
11094
|
-
self._TaskStatus = params.get("TaskStatus")
|
|
11095
|
-
self._TaskMessage = params.get("TaskMessage")
|
|
11096
|
-
self._ResourceId = params.get("ResourceId")
|
|
11097
|
-
self._PreviewUrl = params.get("PreviewUrl")
|
|
11098
|
-
self._RequestId = params.get("RequestId")
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
10615
|
class ChannelModifyRoleRequest(AbstractModel):
|
|
11102
10616
|
r"""ChannelModifyRole请求参数结构体
|
|
11103
10617
|
|
|
@@ -16245,7 +15759,7 @@ class CreateFlowsByTemplatesRequest(AbstractModel):
|
|
|
16245
15759
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
16246
15760
|
:param _FlowInfos: <p>要创建的合同信息列表,最多支持一次创建20个合同</p>
|
|
16247
15761
|
:type FlowInfos: list of FlowInfo
|
|
16248
|
-
:param _NeedPreview: <p>是否为预览模式,取值如下:</p><ul><li> **false**:非预览模式(默认),会产生合同流程并返回合同流程编号FlowId。</li><li> **true**:预览模式,不产生合同流程,不返回合同流程编号FlowId,而是返回预览链接PreviewUrl,有效期为300秒,用于查看真实发起后合同的样子。 <font color="red">注意: 以预览模式创建的合同仅供查看,因此参与方无法进行签署操作</font></li></ul><p><strong>注1</strong>: 如果预览的文件中指定了动态表格控件,此时此接口返回的是合成前的文档预览链接,合成完成后的文档预览链接需要通过回调通知的方式或使用返回的TaskInfo中的TaskId
|
|
15762
|
+
:param _NeedPreview: <p>是否为预览模式,取值如下:</p><ul><li> **false**:非预览模式(默认),会产生合同流程并返回合同流程编号FlowId。</li><li> **true**:预览模式,不产生合同流程,不返回合同流程编号FlowId,而是返回预览链接PreviewUrl,有效期为300秒,用于查看真实发起后合同的样子。 <font color="red">注意: 以预览模式创建的合同仅供查看,因此参与方无法进行签署操作</font></li></ul><p><strong>注1</strong>: 如果预览的文件中指定了动态表格控件,此时此接口返回的是合成前的文档预览链接,合成完成后的文档预览链接需要通过回调通知的方式或使用返回的TaskInfo中的TaskId通过<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a>接口查询得到</p><p><strong>注2</strong>: 预览服务按照合同份额 1:2的比例赠送预览次数。例如:购买 100 份合同,将赠送 200 次合同预览额度。当赠送的预览额度使用完后,如需继续使用预览服务,则需要单独购买预览服务额度。</p>
|
|
16249
15763
|
:type NeedPreview: bool
|
|
16250
15764
|
:param _PreviewType: <p>预览模式下产生的预览链接类型 </p><ul><li> **0** :(默认) 文件流 ,点开后下载预览的合同PDF文件 </li><li> **1** :H5链接 ,点开后在浏览器中展示合同的样子</li></ul>注: <code>此参数在NeedPreview 为true时有效</code>
|
|
16251
15765
|
:type PreviewType: int
|
|
@@ -16282,7 +15796,7 @@ class CreateFlowsByTemplatesRequest(AbstractModel):
|
|
|
16282
15796
|
|
|
16283
15797
|
@property
|
|
16284
15798
|
def NeedPreview(self):
|
|
16285
|
-
r"""<p>是否为预览模式,取值如下:</p><ul><li> **false**:非预览模式(默认),会产生合同流程并返回合同流程编号FlowId。</li><li> **true**:预览模式,不产生合同流程,不返回合同流程编号FlowId,而是返回预览链接PreviewUrl,有效期为300秒,用于查看真实发起后合同的样子。 <font color="red">注意: 以预览模式创建的合同仅供查看,因此参与方无法进行签署操作</font></li></ul><p><strong>注1</strong>: 如果预览的文件中指定了动态表格控件,此时此接口返回的是合成前的文档预览链接,合成完成后的文档预览链接需要通过回调通知的方式或使用返回的TaskInfo中的TaskId
|
|
15799
|
+
r"""<p>是否为预览模式,取值如下:</p><ul><li> **false**:非预览模式(默认),会产生合同流程并返回合同流程编号FlowId。</li><li> **true**:预览模式,不产生合同流程,不返回合同流程编号FlowId,而是返回预览链接PreviewUrl,有效期为300秒,用于查看真实发起后合同的样子。 <font color="red">注意: 以预览模式创建的合同仅供查看,因此参与方无法进行签署操作</font></li></ul><p><strong>注1</strong>: 如果预览的文件中指定了动态表格控件,此时此接口返回的是合成前的文档预览链接,合成完成后的文档预览链接需要通过回调通知的方式或使用返回的TaskInfo中的TaskId通过<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a>接口查询得到</p><p><strong>注2</strong>: 预览服务按照合同份额 1:2的比例赠送预览次数。例如:购买 100 份合同,将赠送 200 次合同预览额度。当赠送的预览额度使用完后,如需继续使用预览服务,则需要单独购买预览服务额度。</p>
|
|
16286
15800
|
:rtype: bool
|
|
16287
15801
|
"""
|
|
16288
15802
|
return self._NeedPreview
|
|
@@ -16356,9 +15870,9 @@ class CreateFlowsByTemplatesResponse(AbstractModel):
|
|
|
16356
15870
|
:type CustomerData: list of str
|
|
16357
15871
|
:param _ErrorMessages: <p>创建消息,对应多个合同ID,<br>成功为“”,创建失败则对应失败消息</p>
|
|
16358
15872
|
:type ErrorMessages: list of str
|
|
16359
|
-
:param _PreviewUrls: <p>合同预览链接URL数组。</p><p>注:如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL<br>如果预览的文件中指定了动态表格控件,此时此接口返回的是合成前的文档预览链接,合成完成后的文档预览链接需要通过<a href="https://qian.tencent.com/developers/partner/callback_types_contracts_sign#%E5%8D%81%E4%B8%80-%E5%90%88%E5%90%8C%E6%96%87%E6%A1%A3%E5%90%88%E6%88%90%E5%AE%8C%E6%88%90%E5%9B%9E%E8%B0%83">合同文档合成完成回调</a>获取或使用返回的TaskInfo中的TaskId通过<a href="https://qian.tencent.com/developers/partnerApis/files/
|
|
15873
|
+
:param _PreviewUrls: <p>合同预览链接URL数组。</p><p>注:如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL<br>如果预览的文件中指定了动态表格控件,此时此接口返回的是合成前的文档预览链接,合成完成后的文档预览链接需要通过<a href="https://qian.tencent.com/developers/partner/callback_types_contracts_sign#%E5%8D%81%E4%B8%80-%E5%90%88%E5%90%8C%E6%96%87%E6%A1%A3%E5%90%88%E6%88%90%E5%AE%8C%E6%88%90%E5%9B%9E%E8%B0%83">合同文档合成完成回调</a>获取或使用返回的TaskInfo中的TaskId通过<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a>接口查询得到</p>
|
|
16360
15874
|
:type PreviewUrls: list of str
|
|
16361
|
-
:param _TaskInfos: <p>复杂文档合成任务(如,包含动态表格的预览任务)的任务信息数组;<br
|
|
15875
|
+
:param _TaskInfos: <p>复杂文档合成任务(如,包含动态表格的预览任务)的任务信息数组;<br>如果文档需要异步合成,此字段会返回该异步任务的任务信息,后续可以通过<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a>接口查询任务详情;</p>
|
|
16362
15876
|
:type TaskInfos: list of TaskInfo
|
|
16363
15877
|
:param _FlowApprovers: <p>签署方信息,如角色ID、角色名称等</p>
|
|
16364
15878
|
:type FlowApprovers: list of FlowApproverItem
|
|
@@ -16408,7 +15922,7 @@ class CreateFlowsByTemplatesResponse(AbstractModel):
|
|
|
16408
15922
|
|
|
16409
15923
|
@property
|
|
16410
15924
|
def PreviewUrls(self):
|
|
16411
|
-
r"""<p>合同预览链接URL数组。</p><p>注:如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL<br>如果预览的文件中指定了动态表格控件,此时此接口返回的是合成前的文档预览链接,合成完成后的文档预览链接需要通过<a href="https://qian.tencent.com/developers/partner/callback_types_contracts_sign#%E5%8D%81%E4%B8%80-%E5%90%88%E5%90%8C%E6%96%87%E6%A1%A3%E5%90%88%E6%88%90%E5%AE%8C%E6%88%90%E5%9B%9E%E8%B0%83">合同文档合成完成回调</a>获取或使用返回的TaskInfo中的TaskId通过<a href="https://qian.tencent.com/developers/partnerApis/files/
|
|
15925
|
+
r"""<p>合同预览链接URL数组。</p><p>注:如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL<br>如果预览的文件中指定了动态表格控件,此时此接口返回的是合成前的文档预览链接,合成完成后的文档预览链接需要通过<a href="https://qian.tencent.com/developers/partner/callback_types_contracts_sign#%E5%8D%81%E4%B8%80-%E5%90%88%E5%90%8C%E6%96%87%E6%A1%A3%E5%90%88%E6%88%90%E5%AE%8C%E6%88%90%E5%9B%9E%E8%B0%83">合同文档合成完成回调</a>获取或使用返回的TaskInfo中的TaskId通过<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a>接口查询得到</p>
|
|
16412
15926
|
:rtype: list of str
|
|
16413
15927
|
"""
|
|
16414
15928
|
return self._PreviewUrls
|
|
@@ -16419,7 +15933,7 @@ class CreateFlowsByTemplatesResponse(AbstractModel):
|
|
|
16419
15933
|
|
|
16420
15934
|
@property
|
|
16421
15935
|
def TaskInfos(self):
|
|
16422
|
-
r"""<p>复杂文档合成任务(如,包含动态表格的预览任务)的任务信息数组;<br
|
|
15936
|
+
r"""<p>复杂文档合成任务(如,包含动态表格的预览任务)的任务信息数组;<br>如果文档需要异步合成,此字段会返回该异步任务的任务信息,后续可以通过<a href="https://qian.tencent.com/developers/partnerApis/files/DescribeFileConvertTask">查询转换任务状态</a>接口查询任务详情;</p>
|
|
16423
15937
|
:rtype: list of TaskInfo
|
|
16424
15938
|
"""
|
|
16425
15939
|
return self._TaskInfos
|
|
@@ -29836,22 +29350,17 @@ class SignComponentConfig(AbstractModel):
|
|
|
29836
29350
|
|
|
29837
29351
|
def __init__(self):
|
|
29838
29352
|
r"""
|
|
29839
|
-
:param _HideDate:
|
|
29840
|
-
|
|
29841
|
-
- false 展示签署日期(默认)
|
|
29842
|
-
- true 不展示签署日期
|
|
29843
|
-
。
|
|
29353
|
+
:param _HideDate: <p>签署控件默认属性配置,是否默认展示签署日期, 在页面中可以进行修改。</p><ul><li>false 展示签署日期(默认)</li><li>true 不展示签署日期<br><img src="https://qcloudimg.tencent-cloud.cn/raw/448514412e2f69f6129425beda4ff568.png" alt="image">。</li></ul>
|
|
29844
29354
|
:type HideDate: bool
|
|
29355
|
+
:param _AddSignComponentUseSealSize: <p>【仅 SignBeanTag=1 时有效】 签署方自行添加签署印章类控件(SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL)时,「盖章区适配签署方印章尺寸」开关的控制策略</p><p>枚举值:</p><ul><li>0: 默认关闭,可开启。与现网一致</li><li>1: 关闭且置灰——按控件默认的4.2cm尺寸盖章,签署方无法开启开关</li><li>2: 默认开启且可修改——默认按印章实际尺寸盖章,签署方可手动关闭</li><li>3: 开启且置灰——强制按印章实际尺寸盖章,签署方不可修改</li></ul><p>默认值:0</p>
|
|
29356
|
+
:type AddSignComponentUseSealSize: int
|
|
29845
29357
|
"""
|
|
29846
29358
|
self._HideDate = None
|
|
29359
|
+
self._AddSignComponentUseSealSize = None
|
|
29847
29360
|
|
|
29848
29361
|
@property
|
|
29849
29362
|
def HideDate(self):
|
|
29850
|
-
r"""
|
|
29851
|
-
|
|
29852
|
-
- false 展示签署日期(默认)
|
|
29853
|
-
- true 不展示签署日期
|
|
29854
|
-
。
|
|
29363
|
+
r"""<p>签署控件默认属性配置,是否默认展示签署日期, 在页面中可以进行修改。</p><ul><li>false 展示签署日期(默认)</li><li>true 不展示签署日期<br><img src="https://qcloudimg.tencent-cloud.cn/raw/448514412e2f69f6129425beda4ff568.png" alt="image">。</li></ul>
|
|
29855
29364
|
:rtype: bool
|
|
29856
29365
|
"""
|
|
29857
29366
|
return self._HideDate
|
|
@@ -29860,9 +29369,21 @@ class SignComponentConfig(AbstractModel):
|
|
|
29860
29369
|
def HideDate(self, HideDate):
|
|
29861
29370
|
self._HideDate = HideDate
|
|
29862
29371
|
|
|
29372
|
+
@property
|
|
29373
|
+
def AddSignComponentUseSealSize(self):
|
|
29374
|
+
r"""<p>【仅 SignBeanTag=1 时有效】 签署方自行添加签署印章类控件(SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL)时,「盖章区适配签署方印章尺寸」开关的控制策略</p><p>枚举值:</p><ul><li>0: 默认关闭,可开启。与现网一致</li><li>1: 关闭且置灰——按控件默认的4.2cm尺寸盖章,签署方无法开启开关</li><li>2: 默认开启且可修改——默认按印章实际尺寸盖章,签署方可手动关闭</li><li>3: 开启且置灰——强制按印章实际尺寸盖章,签署方不可修改</li></ul><p>默认值:0</p>
|
|
29375
|
+
:rtype: int
|
|
29376
|
+
"""
|
|
29377
|
+
return self._AddSignComponentUseSealSize
|
|
29378
|
+
|
|
29379
|
+
@AddSignComponentUseSealSize.setter
|
|
29380
|
+
def AddSignComponentUseSealSize(self, AddSignComponentUseSealSize):
|
|
29381
|
+
self._AddSignComponentUseSealSize = AddSignComponentUseSealSize
|
|
29382
|
+
|
|
29863
29383
|
|
|
29864
29384
|
def _deserialize(self, params):
|
|
29865
29385
|
self._HideDate = params.get("HideDate")
|
|
29386
|
+
self._AddSignComponentUseSealSize = params.get("AddSignComponentUseSealSize")
|
|
29866
29387
|
memeber_set = set(params.keys())
|
|
29867
29388
|
for name, value in vars(self).items():
|
|
29868
29389
|
property_name = name[1:]
|
|
@@ -31509,7 +31030,7 @@ class UploadFilesRequest(AbstractModel):
|
|
|
31509
31030
|
r"""
|
|
31510
31031
|
:param _Agent: <p>关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。</p><p>此接口下面信息必填。</p><ul><li>渠道应用标识: Agent.AppId</li><li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li><li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li></ul>第三方平台子客企业和员工必须已经经过实名认证
|
|
31511
31032
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
31512
|
-
:param _BusinessType: <p>文件对应业务类型,可以选择的类型如下</p><p>枚举值:</p><ul><li>TEMPLATE: 此上传的文件用户生成合同模板,文件类型支持.pdf/.doc/.docx/.html格式,如果非pdf文件需要通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务</a>转换后才能使用</li><li>DOCUMENT: 此文件用来发起合同流程,文件类型支持.pdf/.doc/.docx/.jpg/.png/.xls.xlsx/.html。如果上传的是非pdf文件,用来发起流程,还需要通过<a href="https://qian.tencent.com/developers/
|
|
31033
|
+
:param _BusinessType: <p>文件对应业务类型,可以选择的类型如下</p><p>枚举值:</p><ul><li>TEMPLATE: 此上传的文件用户生成合同模板,文件类型支持.pdf/.doc/.docx/.html格式,如果非pdf文件需要通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务</a>转换后才能使用</li><li>DOCUMENT: 此文件用来发起合同流程,文件类型支持.pdf/.doc/.docx/.jpg/.png/.xls.xlsx/.html。如果上传的是非pdf文件,用来发起流程,还需要通过<a href="https://qian.tencent.com/developers/partnerApis/files/CreateFileConvertTask" target="_blank">创建文件转换任务</a>转换后得到的pdf文件才能用于发起合同接口。如果上传的文件不是用来发起合同,直接上传后使用返回的文件资源Id即可</li><li>SEAL: 此文件用于印章的生成,文件类型支持.jpg/.jpeg/.png</li><li>ARCHIVE: 此文件用于归档文件夹,文件类型支持.pdf/.zip格式</li><li>BUSINESSLICENSE: 此文件用于上传营业执照,用于后续<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateConsoleLoginUrl" target="_blank">生成子客登录链接</a>认证子客的时候提供营业执照,文件类型支持.jpg/.jpeg/.png,限制8M以内</li></ul>
|
|
31513
31034
|
:type BusinessType: str
|
|
31514
31035
|
:param _FileInfos: <p>上传文件内容数组,一次最多可上传20个文件。</p><p><b>若上传多个文件,所有文件必须为相同类型</b>,例如全部为PDF或全部为Word文件。不支持混合文件类型的上传。</p>
|
|
31515
31036
|
:type FileInfos: list of UploadFile
|
|
@@ -31537,7 +31058,7 @@ class UploadFilesRequest(AbstractModel):
|
|
|
31537
31058
|
|
|
31538
31059
|
@property
|
|
31539
31060
|
def BusinessType(self):
|
|
31540
|
-
r"""<p>文件对应业务类型,可以选择的类型如下</p><p>枚举值:</p><ul><li>TEMPLATE: 此上传的文件用户生成合同模板,文件类型支持.pdf/.doc/.docx/.html格式,如果非pdf文件需要通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务</a>转换后才能使用</li><li>DOCUMENT: 此文件用来发起合同流程,文件类型支持.pdf/.doc/.docx/.jpg/.png/.xls.xlsx/.html。如果上传的是非pdf文件,用来发起流程,还需要通过<a href="https://qian.tencent.com/developers/
|
|
31061
|
+
r"""<p>文件对应业务类型,可以选择的类型如下</p><p>枚举值:</p><ul><li>TEMPLATE: 此上传的文件用户生成合同模板,文件类型支持.pdf/.doc/.docx/.html格式,如果非pdf文件需要通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务</a>转换后才能使用</li><li>DOCUMENT: 此文件用来发起合同流程,文件类型支持.pdf/.doc/.docx/.jpg/.png/.xls.xlsx/.html。如果上传的是非pdf文件,用来发起流程,还需要通过<a href="https://qian.tencent.com/developers/partnerApis/files/CreateFileConvertTask" target="_blank">创建文件转换任务</a>转换后得到的pdf文件才能用于发起合同接口。如果上传的文件不是用来发起合同,直接上传后使用返回的文件资源Id即可</li><li>SEAL: 此文件用于印章的生成,文件类型支持.jpg/.jpeg/.png</li><li>ARCHIVE: 此文件用于归档文件夹,文件类型支持.pdf/.zip格式</li><li>BUSINESSLICENSE: 此文件用于上传营业执照,用于后续<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateConsoleLoginUrl" target="_blank">生成子客登录链接</a>认证子客的时候提供营业执照,文件类型支持.jpg/.jpeg/.png,限制8M以内</li></ul>
|
|
31541
31062
|
:rtype: str
|
|
31542
31063
|
"""
|
|
31543
31064
|
return self._BusinessType
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-essbasic
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.171
|
|
4
4
|
Summary: Tencent Cloud Essbasic SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.171
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_essbasic-3.1.171/tencentcloud_sdk_python_essbasic.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.171
|
tencentcloud_sdk_python_essbasic-3.1.169/tencentcloud_sdk_python_essbasic.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
{tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_essbasic-3.1.169 → tencentcloud_sdk_python_essbasic-3.1.171}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|