tencentcloud-sdk-python-ess 3.1.124__tar.gz → 3.1.127__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_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/setup.py +1 -1
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud/ess/v20201111/ess_client.py +63 -0
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud/ess/v20201111/ess_client_async.py +53 -0
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud/ess/v20201111/models.py +362 -102
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud_sdk_python_ess.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ess-3.1.127/tencentcloud_sdk_python_ess.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ess-3.1.124/tencentcloud_sdk_python_ess.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/README.rst +0 -0
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud/ess/__init__.py +0 -0
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud/ess/v20201111/__init__.py +0 -0
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud/ess/v20201111/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud_sdk_python_ess.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud_sdk_python_ess.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ess-3.1.124 → tencentcloud_sdk_python_ess-3.1.127}/tencentcloud_sdk_python_ess.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ess
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.127
|
|
4
4
|
Summary: Tencent Cloud Ess 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.127
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ess',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.127,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ess SDK for Python',
|
|
@@ -701,6 +701,7 @@ class EssClient(AbstractClient):
|
|
|
701
701
|
适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
|
|
702
702
|
适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
|
|
703
703
|
转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
|
|
704
|
+
<font color="red">此接口于 2026 年 12月 31 日下线</font>,请使用新接口: <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateFileConvertTask" target="_blank">新建文件转换任务(CreateFileConvertTask)</a><br />
|
|
704
705
|
注:
|
|
705
706
|
1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
|
|
706
707
|
2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
|
|
@@ -993,6 +994,37 @@ class EssClient(AbstractClient):
|
|
|
993
994
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
994
995
|
|
|
995
996
|
|
|
997
|
+
def CreateFileConvertTask(self, request):
|
|
998
|
+
r"""此接口(CreateFileConvertTask)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />
|
|
999
|
+
<font color="red">原功能接口: </font><a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务(CreateConvertTaskApi)</a><br />
|
|
1000
|
+
前提条件:源文件已经通过 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />
|
|
1001
|
+
适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
|
|
1002
|
+
适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
|
|
1003
|
+
转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/DescribeFileConvertTask" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
|
|
1004
|
+
注:
|
|
1005
|
+
1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
|
|
1006
|
+
2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
|
|
1007
|
+
|
|
1008
|
+
:param request: Request instance for CreateFileConvertTask.
|
|
1009
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.CreateFileConvertTaskRequest`
|
|
1010
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.CreateFileConvertTaskResponse`
|
|
1011
|
+
|
|
1012
|
+
"""
|
|
1013
|
+
try:
|
|
1014
|
+
params = request._serialize()
|
|
1015
|
+
headers = request.headers
|
|
1016
|
+
body = self.call("CreateFileConvertTask", params, headers=headers)
|
|
1017
|
+
response = json.loads(body)
|
|
1018
|
+
model = models.CreateFileConvertTaskResponse()
|
|
1019
|
+
model._deserialize(response["Response"])
|
|
1020
|
+
return model
|
|
1021
|
+
except Exception as e:
|
|
1022
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1023
|
+
raise
|
|
1024
|
+
else:
|
|
1025
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1026
|
+
|
|
1027
|
+
|
|
996
1028
|
def CreateFileCounterSign(self, request):
|
|
997
1029
|
r"""此接口用于发起数字文件CA加签操作。可以使用同步或者异步模式进行。
|
|
998
1030
|
|
|
@@ -3332,6 +3364,36 @@ class EssClient(AbstractClient):
|
|
|
3332
3364
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3333
3365
|
|
|
3334
3366
|
|
|
3367
|
+
def DescribeFileConvertTask(self, request):
|
|
3368
|
+
r"""此接口(DescribeFileConvertTask)用来查询转换任务的状态。如需发起转换任务,请使用<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateFileConvertTask" target="_blank">创建文件转换任务接口</a>进行资源文件的转换操作<br />
|
|
3369
|
+
<font color="red">原功能接口: </font><a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态(GetTaskResultApi)</a><br />
|
|
3370
|
+
前提条件:已调用 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateFileConvertTask" target="_blank">创建文件转换任务接口</a>进行文件转换,并得到了返回的转换任务Id。<br />
|
|
3371
|
+
|
|
3372
|
+
适用场景:已创建一个文件转换任务,想查询该文件转换任务的状态,或获取转换后的文件资源Id。<br />
|
|
3373
|
+
注:
|
|
3374
|
+
1. `大文件转换所需的时间可能会比较长`
|
|
3375
|
+
2. `本接口返回的文件资源ID就是PDF资源ID,可以直接用于【用PDF文件创建签署流程】接口发起合同。`
|
|
3376
|
+
|
|
3377
|
+
:param request: Request instance for DescribeFileConvertTask.
|
|
3378
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.DescribeFileConvertTaskRequest`
|
|
3379
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.DescribeFileConvertTaskResponse`
|
|
3380
|
+
|
|
3381
|
+
"""
|
|
3382
|
+
try:
|
|
3383
|
+
params = request._serialize()
|
|
3384
|
+
headers = request.headers
|
|
3385
|
+
body = self.call("DescribeFileConvertTask", params, headers=headers)
|
|
3386
|
+
response = json.loads(body)
|
|
3387
|
+
model = models.DescribeFileConvertTaskResponse()
|
|
3388
|
+
model._deserialize(response["Response"])
|
|
3389
|
+
return model
|
|
3390
|
+
except Exception as e:
|
|
3391
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3392
|
+
raise
|
|
3393
|
+
else:
|
|
3394
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3395
|
+
|
|
3396
|
+
|
|
3335
3397
|
def DescribeFileCounterSignResult(self, request):
|
|
3336
3398
|
r"""文件CA加签任务结果查询接口,用于查询 CreateFileCounterSign接口 发起的异步加签任务。
|
|
3337
3399
|
|
|
@@ -4124,6 +4186,7 @@ class EssClient(AbstractClient):
|
|
|
4124
4186
|
前提条件:已调用 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行文件转换,并得到了返回的转换任务Id。<br />
|
|
4125
4187
|
|
|
4126
4188
|
适用场景:已创建一个文件转换任务,想查询该文件转换任务的状态,或获取转换后的文件资源Id。<br />
|
|
4189
|
+
<font color="red">此接口于 2026 年 12月 31 日下线</font>,请使用新接口: <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/DescribeFileConvertTask" target="_blank">查询文件转换任务状态(DescribeFileConvertTask)</a><br />
|
|
4127
4190
|
注:
|
|
4128
4191
|
1. `大文件转换所需的时间可能会比较长`
|
|
4129
4192
|
2. `本接口返回的文件资源ID就是PDF资源ID,可以直接用于【用PDF文件创建签署流程】接口发起合同。`
|
|
@@ -600,6 +600,7 @@ class EssClient(AbstractClient):
|
|
|
600
600
|
适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
|
|
601
601
|
适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
|
|
602
602
|
转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
|
|
603
|
+
<font color="red">此接口于 2026 年 12月 31 日下线</font>,请使用新接口: <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateFileConvertTask" target="_blank">新建文件转换任务(CreateFileConvertTask)</a><br />
|
|
603
604
|
注:
|
|
604
605
|
1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
|
|
605
606
|
2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
|
|
@@ -842,6 +843,32 @@ class EssClient(AbstractClient):
|
|
|
842
843
|
|
|
843
844
|
return await self.call_and_deserialize(**kwargs)
|
|
844
845
|
|
|
846
|
+
async def CreateFileConvertTask(
|
|
847
|
+
self,
|
|
848
|
+
request: models.CreateFileConvertTaskRequest,
|
|
849
|
+
opts: Dict = None,
|
|
850
|
+
) -> models.CreateFileConvertTaskResponse:
|
|
851
|
+
"""
|
|
852
|
+
此接口(CreateFileConvertTask)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />
|
|
853
|
+
<font color="red">原功能接口: </font><a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务(CreateConvertTaskApi)</a><br />
|
|
854
|
+
前提条件:源文件已经通过 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />
|
|
855
|
+
适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
|
|
856
|
+
适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
|
|
857
|
+
转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/DescribeFileConvertTask" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
|
|
858
|
+
注:
|
|
859
|
+
1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
|
|
860
|
+
2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
|
|
861
|
+
"""
|
|
862
|
+
|
|
863
|
+
kwargs = {}
|
|
864
|
+
kwargs["action"] = "CreateFileConvertTask"
|
|
865
|
+
kwargs["params"] = request._serialize()
|
|
866
|
+
kwargs["resp_cls"] = models.CreateFileConvertTaskResponse
|
|
867
|
+
kwargs["headers"] = request.headers
|
|
868
|
+
kwargs["opts"] = opts or {}
|
|
869
|
+
|
|
870
|
+
return await self.call_and_deserialize(**kwargs)
|
|
871
|
+
|
|
845
872
|
async def CreateFileCounterSign(
|
|
846
873
|
self,
|
|
847
874
|
request: models.CreateFileCounterSignRequest,
|
|
@@ -2811,6 +2838,31 @@ class EssClient(AbstractClient):
|
|
|
2811
2838
|
|
|
2812
2839
|
return await self.call_and_deserialize(**kwargs)
|
|
2813
2840
|
|
|
2841
|
+
async def DescribeFileConvertTask(
|
|
2842
|
+
self,
|
|
2843
|
+
request: models.DescribeFileConvertTaskRequest,
|
|
2844
|
+
opts: Dict = None,
|
|
2845
|
+
) -> models.DescribeFileConvertTaskResponse:
|
|
2846
|
+
"""
|
|
2847
|
+
此接口(DescribeFileConvertTask)用来查询转换任务的状态。如需发起转换任务,请使用<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateFileConvertTask" target="_blank">创建文件转换任务接口</a>进行资源文件的转换操作<br />
|
|
2848
|
+
<font color="red">原功能接口: </font><a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态(GetTaskResultApi)</a><br />
|
|
2849
|
+
前提条件:已调用 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateFileConvertTask" target="_blank">创建文件转换任务接口</a>进行文件转换,并得到了返回的转换任务Id。<br />
|
|
2850
|
+
|
|
2851
|
+
适用场景:已创建一个文件转换任务,想查询该文件转换任务的状态,或获取转换后的文件资源Id。<br />
|
|
2852
|
+
注:
|
|
2853
|
+
1. `大文件转换所需的时间可能会比较长`
|
|
2854
|
+
2. `本接口返回的文件资源ID就是PDF资源ID,可以直接用于【用PDF文件创建签署流程】接口发起合同。`
|
|
2855
|
+
"""
|
|
2856
|
+
|
|
2857
|
+
kwargs = {}
|
|
2858
|
+
kwargs["action"] = "DescribeFileConvertTask"
|
|
2859
|
+
kwargs["params"] = request._serialize()
|
|
2860
|
+
kwargs["resp_cls"] = models.DescribeFileConvertTaskResponse
|
|
2861
|
+
kwargs["headers"] = request.headers
|
|
2862
|
+
kwargs["opts"] = opts or {}
|
|
2863
|
+
|
|
2864
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2865
|
+
|
|
2814
2866
|
async def DescribeFileCounterSignResult(
|
|
2815
2867
|
self,
|
|
2816
2868
|
request: models.DescribeFileCounterSignResultRequest,
|
|
@@ -3463,6 +3515,7 @@ class EssClient(AbstractClient):
|
|
|
3463
3515
|
前提条件:已调用 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行文件转换,并得到了返回的转换任务Id。<br />
|
|
3464
3516
|
|
|
3465
3517
|
适用场景:已创建一个文件转换任务,想查询该文件转换任务的状态,或获取转换后的文件资源Id。<br />
|
|
3518
|
+
<font color="red">此接口于 2026 年 12月 31 日下线</font>,请使用新接口: <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/DescribeFileConvertTask" target="_blank">查询文件转换任务状态(DescribeFileConvertTask)</a><br />
|
|
3466
3519
|
注:
|
|
3467
3520
|
1. `大文件转换所需的时间可能会比较长`
|
|
3468
3521
|
2. `本接口返回的文件资源ID就是PDF资源ID,可以直接用于【用PDF文件创建签署流程】接口发起合同。`
|
|
@@ -6662,7 +6662,7 @@ class CreateBatchQuickSignUrlRequest(AbstractModel):
|
|
|
6662
6662
|
:type CacheApproverInfo: bool
|
|
6663
6663
|
:param _CanBatchReject: <p>是否允许此链接中签署方批量拒签。<br> <ul><li>false (默认): 不允许批量拒签</li> <li>true : 允许批量拒签。</li></ul></p><p>注:<code>当前合同组不支持批量拒签功能。请对合同组中的每个子合同逐一执行拒签操作,以达到拒签整个合同组的效果。</code></p>
|
|
6664
6664
|
:type CanBatchReject: bool
|
|
6665
|
-
:param _PresetApproverInfo: <p
|
|
6665
|
+
:param _PresetApproverInfo: <p>预设的动态签署方的补充信息,仅匹配对应信息的签署方才能领取合同。暂时仅对个人参与方生效。若为个人动态签署方,支持预设姓名、证件、手机号。若为企业员工动态签署方,仅支持预设企业名称。</p>
|
|
6666
6666
|
:type PresetApproverInfo: :class:`tencentcloud.ess.v20201111.models.PresetApproverInfo`
|
|
6667
6667
|
:param _CanSkipReadFlow: <p>是否允许此链接中签署方批量确认已读文件。 <ul><li>false (默认): 不允许批量确认已读文件。</li> <li>true : 允许批量确认已读文件。</li></ul>注:<code>1. 此功能为白名单功能,使用前请联系对应客户经理进行开通。2. 若批量签署的合同中第一份待签署合同所选择的印章或者签名无法完全覆盖后续合同要求,或者当前签署人没有指定印章使用权限,则无法使用此功能,会自动退化为逐份确认。</code></p>
|
|
6668
6668
|
:type CanSkipReadFlow: bool
|
|
@@ -6843,7 +6843,7 @@ class CreateBatchQuickSignUrlRequest(AbstractModel):
|
|
|
6843
6843
|
|
|
6844
6844
|
@property
|
|
6845
6845
|
def PresetApproverInfo(self):
|
|
6846
|
-
r"""<p
|
|
6846
|
+
r"""<p>预设的动态签署方的补充信息,仅匹配对应信息的签署方才能领取合同。暂时仅对个人参与方生效。若为个人动态签署方,支持预设姓名、证件、手机号。若为企业员工动态签署方,仅支持预设企业名称。</p>
|
|
6847
6847
|
:rtype: :class:`tencentcloud.ess.v20201111.models.PresetApproverInfo`
|
|
6848
6848
|
"""
|
|
6849
6849
|
return self._PresetApproverInfo
|
|
@@ -9680,6 +9680,149 @@ class CreateExtendedServiceAuthInfosResponse(AbstractModel):
|
|
|
9680
9680
|
self._RequestId = params.get("RequestId")
|
|
9681
9681
|
|
|
9682
9682
|
|
|
9683
|
+
class CreateFileConvertTaskRequest(AbstractModel):
|
|
9684
|
+
r"""CreateFileConvertTask请求参数结构体
|
|
9685
|
+
|
|
9686
|
+
"""
|
|
9687
|
+
|
|
9688
|
+
def __init__(self):
|
|
9689
|
+
r"""
|
|
9690
|
+
:param _ResourceType: <p>需要进行转换的资源文件类型<br>支持的文件类型如下:</p><p>枚举值:</p><ul><li>doc: doc</li><li>docx: docx</li><li>xls: xls</li><li>xlsx: xlsx</li><li>jpg: jpg</li><li>jpeg: jpeg</li><li>png: png</li><li>html: html</li><li>bmp: bmp</li></ul>
|
|
9691
|
+
:type ResourceType: str
|
|
9692
|
+
:param _ResourceName: <p>需要进行转换操作的文件资源名称,带资源后缀名。</p><p>注: <code>资源名称长度限制为256个字符</code></p>
|
|
9693
|
+
:type ResourceName: str
|
|
9694
|
+
:param _ResourceId: <p>需要进行转换操作的文件资源Id,通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">UploadFiles</a>接口获取文件资源Id。</p><p>注: <code>目前,此接口仅支持单个文件进行转换。</code></p>
|
|
9695
|
+
:type ResourceId: str
|
|
9696
|
+
:param _Operator: <p>执行本接口操作的员工信息。<br>注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
|
|
9697
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
9698
|
+
:param _Agent: <p>代理企业和员工的信息。<br>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。</p>
|
|
9699
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
9700
|
+
"""
|
|
9701
|
+
self._ResourceType = None
|
|
9702
|
+
self._ResourceName = None
|
|
9703
|
+
self._ResourceId = None
|
|
9704
|
+
self._Operator = None
|
|
9705
|
+
self._Agent = None
|
|
9706
|
+
|
|
9707
|
+
@property
|
|
9708
|
+
def ResourceType(self):
|
|
9709
|
+
r"""<p>需要进行转换的资源文件类型<br>支持的文件类型如下:</p><p>枚举值:</p><ul><li>doc: doc</li><li>docx: docx</li><li>xls: xls</li><li>xlsx: xlsx</li><li>jpg: jpg</li><li>jpeg: jpeg</li><li>png: png</li><li>html: html</li><li>bmp: bmp</li></ul>
|
|
9710
|
+
:rtype: str
|
|
9711
|
+
"""
|
|
9712
|
+
return self._ResourceType
|
|
9713
|
+
|
|
9714
|
+
@ResourceType.setter
|
|
9715
|
+
def ResourceType(self, ResourceType):
|
|
9716
|
+
self._ResourceType = ResourceType
|
|
9717
|
+
|
|
9718
|
+
@property
|
|
9719
|
+
def ResourceName(self):
|
|
9720
|
+
r"""<p>需要进行转换操作的文件资源名称,带资源后缀名。</p><p>注: <code>资源名称长度限制为256个字符</code></p>
|
|
9721
|
+
:rtype: str
|
|
9722
|
+
"""
|
|
9723
|
+
return self._ResourceName
|
|
9724
|
+
|
|
9725
|
+
@ResourceName.setter
|
|
9726
|
+
def ResourceName(self, ResourceName):
|
|
9727
|
+
self._ResourceName = ResourceName
|
|
9728
|
+
|
|
9729
|
+
@property
|
|
9730
|
+
def ResourceId(self):
|
|
9731
|
+
r"""<p>需要进行转换操作的文件资源Id,通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">UploadFiles</a>接口获取文件资源Id。</p><p>注: <code>目前,此接口仅支持单个文件进行转换。</code></p>
|
|
9732
|
+
:rtype: str
|
|
9733
|
+
"""
|
|
9734
|
+
return self._ResourceId
|
|
9735
|
+
|
|
9736
|
+
@ResourceId.setter
|
|
9737
|
+
def ResourceId(self, ResourceId):
|
|
9738
|
+
self._ResourceId = ResourceId
|
|
9739
|
+
|
|
9740
|
+
@property
|
|
9741
|
+
def Operator(self):
|
|
9742
|
+
r"""<p>执行本接口操作的员工信息。<br>注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
|
|
9743
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
9744
|
+
"""
|
|
9745
|
+
return self._Operator
|
|
9746
|
+
|
|
9747
|
+
@Operator.setter
|
|
9748
|
+
def Operator(self, Operator):
|
|
9749
|
+
self._Operator = Operator
|
|
9750
|
+
|
|
9751
|
+
@property
|
|
9752
|
+
def Agent(self):
|
|
9753
|
+
r"""<p>代理企业和员工的信息。<br>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。</p>
|
|
9754
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
9755
|
+
"""
|
|
9756
|
+
return self._Agent
|
|
9757
|
+
|
|
9758
|
+
@Agent.setter
|
|
9759
|
+
def Agent(self, Agent):
|
|
9760
|
+
self._Agent = Agent
|
|
9761
|
+
|
|
9762
|
+
|
|
9763
|
+
def _deserialize(self, params):
|
|
9764
|
+
self._ResourceType = params.get("ResourceType")
|
|
9765
|
+
self._ResourceName = params.get("ResourceName")
|
|
9766
|
+
self._ResourceId = params.get("ResourceId")
|
|
9767
|
+
if params.get("Operator") is not None:
|
|
9768
|
+
self._Operator = UserInfo()
|
|
9769
|
+
self._Operator._deserialize(params.get("Operator"))
|
|
9770
|
+
if params.get("Agent") is not None:
|
|
9771
|
+
self._Agent = Agent()
|
|
9772
|
+
self._Agent._deserialize(params.get("Agent"))
|
|
9773
|
+
memeber_set = set(params.keys())
|
|
9774
|
+
for name, value in vars(self).items():
|
|
9775
|
+
property_name = name[1:]
|
|
9776
|
+
if property_name in memeber_set:
|
|
9777
|
+
memeber_set.remove(property_name)
|
|
9778
|
+
if len(memeber_set) > 0:
|
|
9779
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9780
|
+
|
|
9781
|
+
|
|
9782
|
+
|
|
9783
|
+
class CreateFileConvertTaskResponse(AbstractModel):
|
|
9784
|
+
r"""CreateFileConvertTask返回参数结构体
|
|
9785
|
+
|
|
9786
|
+
"""
|
|
9787
|
+
|
|
9788
|
+
def __init__(self):
|
|
9789
|
+
r"""
|
|
9790
|
+
:param _TaskId: <p>接口返回的文件转换任务Id,可以调用接口<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态</a>获取转换任务的状态和转换后的文件资源Id。</p>
|
|
9791
|
+
:type TaskId: str
|
|
9792
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9793
|
+
:type RequestId: str
|
|
9794
|
+
"""
|
|
9795
|
+
self._TaskId = None
|
|
9796
|
+
self._RequestId = None
|
|
9797
|
+
|
|
9798
|
+
@property
|
|
9799
|
+
def TaskId(self):
|
|
9800
|
+
r"""<p>接口返回的文件转换任务Id,可以调用接口<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态</a>获取转换任务的状态和转换后的文件资源Id。</p>
|
|
9801
|
+
:rtype: str
|
|
9802
|
+
"""
|
|
9803
|
+
return self._TaskId
|
|
9804
|
+
|
|
9805
|
+
@TaskId.setter
|
|
9806
|
+
def TaskId(self, TaskId):
|
|
9807
|
+
self._TaskId = TaskId
|
|
9808
|
+
|
|
9809
|
+
@property
|
|
9810
|
+
def RequestId(self):
|
|
9811
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9812
|
+
:rtype: str
|
|
9813
|
+
"""
|
|
9814
|
+
return self._RequestId
|
|
9815
|
+
|
|
9816
|
+
@RequestId.setter
|
|
9817
|
+
def RequestId(self, RequestId):
|
|
9818
|
+
self._RequestId = RequestId
|
|
9819
|
+
|
|
9820
|
+
|
|
9821
|
+
def _deserialize(self, params):
|
|
9822
|
+
self._TaskId = params.get("TaskId")
|
|
9823
|
+
self._RequestId = params.get("RequestId")
|
|
9824
|
+
|
|
9825
|
+
|
|
9683
9826
|
class CreateFileCounterSignRequest(AbstractModel):
|
|
9684
9827
|
r"""CreateFileCounterSign请求参数结构体
|
|
9685
9828
|
|
|
@@ -18451,58 +18594,35 @@ class CreatePreparedPersonalEsignRequest(AbstractModel):
|
|
|
18451
18594
|
|
|
18452
18595
|
def __init__(self):
|
|
18453
18596
|
r"""
|
|
18454
|
-
:param _UserName:
|
|
18597
|
+
:param _UserName: <p>个人用户姓名</p>
|
|
18455
18598
|
:type UserName: str
|
|
18456
|
-
:param _IdCardNumber:
|
|
18457
|
-
<ul><li> 中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li>
|
|
18458
|
-
<li>中国港澳居民来往内地通行证号码共11位。第1位为字母,“H”字头签发给中国香港居民,“M”字头签发给中国澳门居民;第2位至第11位为数字。。</li>
|
|
18459
|
-
<li>中国港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
|
|
18599
|
+
:param _IdCardNumber: <p>证件号码,应符合以下规则</p><ul><li> 中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li><li>中国港澳居民来往内地通行证号码共11位。第1位为字母,“H”字头签发给中国香港居民,“M”字头签发给中国澳门居民;第2位至第11位为数字。。</li><li>中国港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
|
|
18460
18600
|
:type IdCardNumber: str
|
|
18461
|
-
:param _SealName:
|
|
18601
|
+
:param _SealName: <p>印章名称,长度1-50个字。</p>
|
|
18462
18602
|
:type SealName: str
|
|
18463
|
-
:param _Operator:
|
|
18464
|
-
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
18603
|
+
:param _Operator: <p>执行本接口操作的员工信息。<br>注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
|
|
18465
18604
|
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
18466
|
-
:param _IdCardType:
|
|
18467
|
-
<ul><li>ID_CARD : 中国大陆居民身份证 (默认值)</li>
|
|
18468
|
-
<li>HONGKONG_AND_MACAO : 中国港澳居民来往内地通行证</li>
|
|
18469
|
-
<li>HONGKONG_MACAO_AND_TAIWAN : 中国港澳台居民居住证(格式同 中国大陆居民身份证)</li></ul>
|
|
18605
|
+
:param _IdCardType: <p>证件类型,支持以下类型</p><ul><li>ID_CARD : 中国大陆居民身份证 (默认值)</li><li>HONGKONG_AND_MACAO : 中国港澳居民来往内地通行证</li><li>HONGKONG_MACAO_AND_TAIWAN : 中国港澳台居民居住证(格式同 中国大陆居民身份证)</li></ul>
|
|
18470
18606
|
:type IdCardType: str
|
|
18471
|
-
:param _SealImage:
|
|
18607
|
+
:param _SealImage: <p>该字段已不再使用</p>
|
|
18472
18608
|
:type SealImage: str
|
|
18473
|
-
:param _SealImageCompress:
|
|
18609
|
+
:param _SealImageCompress: <p>是否开启印章图片压缩处理,默认不开启,如需开启请设置为 true。当印章超过 2M 时建议开启,开启后图片的 hash 将发生变化。</p>
|
|
18474
18610
|
:type SealImageCompress: bool
|
|
18475
|
-
:param _Mobile:
|
|
18611
|
+
:param _Mobile: <p>手机号码;当需要开通自动签时,该参数必传</p>
|
|
18476
18612
|
:type Mobile: str
|
|
18477
|
-
:param _EnableAutoSign:
|
|
18613
|
+
:param _EnableAutoSign: <p>该字段已不再使用</p>
|
|
18478
18614
|
:type EnableAutoSign: bool
|
|
18479
|
-
:param _SealColor:
|
|
18480
|
-
默认值:BLACK黑色
|
|
18481
|
-
取值:
|
|
18482
|
-
BLACK 黑色,
|
|
18483
|
-
RED 红色,
|
|
18484
|
-
BLUE 蓝色。
|
|
18615
|
+
:param _SealColor: <p>印章颜色(参数ProcessSeal=true时生效)<br>默认值:BLACK黑色<br>取值:<br>BLACK 黑色,<br>RED 红色,<br>BLUE 蓝色。</p>
|
|
18485
18616
|
:type SealColor: str
|
|
18486
|
-
:param _ProcessSeal:
|
|
18487
|
-
取值如下:
|
|
18488
|
-
<ul>
|
|
18489
|
-
<li>false:不做任何处理;</li>
|
|
18490
|
-
<li>true:做透明化处理和颜色增强。</li>
|
|
18491
|
-
</ul>
|
|
18617
|
+
:param _ProcessSeal: <p>是否处理印章,默认不做印章处理。<br>取值如下:</p><ul><li>false:不做任何处理;</li><li>true:做透明化处理和颜色增强。</li></ul>
|
|
18492
18618
|
:type ProcessSeal: bool
|
|
18493
|
-
:param _FileId:
|
|
18494
|
-
取值:
|
|
18495
|
-
填写的FileId通过UploadFiles接口上传文件获取。
|
|
18619
|
+
:param _FileId: <p>印章图片文件 id<br>取值:<br>填写的FileId通过UploadFiles接口上传文件获取。</p>
|
|
18496
18620
|
:type FileId: str
|
|
18497
|
-
:param _Agent:
|
|
18498
|
-
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
18621
|
+
:param _Agent: <p>代理企业和员工的信息。<br>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。</p>
|
|
18499
18622
|
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
18500
|
-
:param _LicenseType:
|
|
18623
|
+
:param _LicenseType: <p>设置用户开通自动签时是否绑定个人自动签账号许可。一旦绑定后,将扣减购买的个人自动签账号许可一次(1年有效期),不可解绑释放。不传默认为绑定自动签账号许可。 0-绑定个人自动签账号许可,开通后将扣减购买的个人自动签账号许可一次 1-不绑定,发起合同时将按标准合同套餐进行扣减</p>
|
|
18501
18624
|
:type LicenseType: int
|
|
18502
|
-
:param _SceneKey:
|
|
18503
|
-
<ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li><li> **OTHER** : 通用场景</li></ul>
|
|
18504
|
-
|
|
18505
|
-
注: `不传默认为处方单场景,即E_PRESCRIPTION_AUTO_SIGN`
|
|
18625
|
+
:param _SceneKey: <p>自动签使用的场景值, 可以选择的场景值如下:</p><ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li><li> **OTHER** : 通用场景</li></ul><p>注: <code>不传默认为处方单场景,即E_PRESCRIPTION_AUTO_SIGN</code></p>
|
|
18506
18626
|
:type SceneKey: str
|
|
18507
18627
|
"""
|
|
18508
18628
|
self._UserName = None
|
|
@@ -18523,7 +18643,7 @@ BLUE 蓝色。
|
|
|
18523
18643
|
|
|
18524
18644
|
@property
|
|
18525
18645
|
def UserName(self):
|
|
18526
|
-
r"""
|
|
18646
|
+
r"""<p>个人用户姓名</p>
|
|
18527
18647
|
:rtype: str
|
|
18528
18648
|
"""
|
|
18529
18649
|
return self._UserName
|
|
@@ -18534,10 +18654,7 @@ BLUE 蓝色。
|
|
|
18534
18654
|
|
|
18535
18655
|
@property
|
|
18536
18656
|
def IdCardNumber(self):
|
|
18537
|
-
r"""
|
|
18538
|
-
<ul><li> 中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li>
|
|
18539
|
-
<li>中国港澳居民来往内地通行证号码共11位。第1位为字母,“H”字头签发给中国香港居民,“M”字头签发给中国澳门居民;第2位至第11位为数字。。</li>
|
|
18540
|
-
<li>中国港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
|
|
18657
|
+
r"""<p>证件号码,应符合以下规则</p><ul><li> 中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li><li>中国港澳居民来往内地通行证号码共11位。第1位为字母,“H”字头签发给中国香港居民,“M”字头签发给中国澳门居民;第2位至第11位为数字。。</li><li>中国港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
|
|
18541
18658
|
:rtype: str
|
|
18542
18659
|
"""
|
|
18543
18660
|
return self._IdCardNumber
|
|
@@ -18548,7 +18665,7 @@ BLUE 蓝色。
|
|
|
18548
18665
|
|
|
18549
18666
|
@property
|
|
18550
18667
|
def SealName(self):
|
|
18551
|
-
r"""
|
|
18668
|
+
r"""<p>印章名称,长度1-50个字。</p>
|
|
18552
18669
|
:rtype: str
|
|
18553
18670
|
"""
|
|
18554
18671
|
return self._SealName
|
|
@@ -18559,8 +18676,7 @@ BLUE 蓝色。
|
|
|
18559
18676
|
|
|
18560
18677
|
@property
|
|
18561
18678
|
def Operator(self):
|
|
18562
|
-
r"""
|
|
18563
|
-
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
18679
|
+
r"""<p>执行本接口操作的员工信息。<br>注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
|
|
18564
18680
|
:rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
18565
18681
|
"""
|
|
18566
18682
|
return self._Operator
|
|
@@ -18571,10 +18687,7 @@ BLUE 蓝色。
|
|
|
18571
18687
|
|
|
18572
18688
|
@property
|
|
18573
18689
|
def IdCardType(self):
|
|
18574
|
-
r"""
|
|
18575
|
-
<ul><li>ID_CARD : 中国大陆居民身份证 (默认值)</li>
|
|
18576
|
-
<li>HONGKONG_AND_MACAO : 中国港澳居民来往内地通行证</li>
|
|
18577
|
-
<li>HONGKONG_MACAO_AND_TAIWAN : 中国港澳台居民居住证(格式同 中国大陆居民身份证)</li></ul>
|
|
18690
|
+
r"""<p>证件类型,支持以下类型</p><ul><li>ID_CARD : 中国大陆居民身份证 (默认值)</li><li>HONGKONG_AND_MACAO : 中国港澳居民来往内地通行证</li><li>HONGKONG_MACAO_AND_TAIWAN : 中国港澳台居民居住证(格式同 中国大陆居民身份证)</li></ul>
|
|
18578
18691
|
:rtype: str
|
|
18579
18692
|
"""
|
|
18580
18693
|
return self._IdCardType
|
|
@@ -18587,7 +18700,7 @@ BLUE 蓝色。
|
|
|
18587
18700
|
def SealImage(self):
|
|
18588
18701
|
warnings.warn("parameter `SealImage` is deprecated", DeprecationWarning)
|
|
18589
18702
|
|
|
18590
|
-
r"""
|
|
18703
|
+
r"""<p>该字段已不再使用</p>
|
|
18591
18704
|
:rtype: str
|
|
18592
18705
|
"""
|
|
18593
18706
|
return self._SealImage
|
|
@@ -18600,7 +18713,7 @@ BLUE 蓝色。
|
|
|
18600
18713
|
|
|
18601
18714
|
@property
|
|
18602
18715
|
def SealImageCompress(self):
|
|
18603
|
-
r"""
|
|
18716
|
+
r"""<p>是否开启印章图片压缩处理,默认不开启,如需开启请设置为 true。当印章超过 2M 时建议开启,开启后图片的 hash 将发生变化。</p>
|
|
18604
18717
|
:rtype: bool
|
|
18605
18718
|
"""
|
|
18606
18719
|
return self._SealImageCompress
|
|
@@ -18611,7 +18724,7 @@ BLUE 蓝色。
|
|
|
18611
18724
|
|
|
18612
18725
|
@property
|
|
18613
18726
|
def Mobile(self):
|
|
18614
|
-
r"""
|
|
18727
|
+
r"""<p>手机号码;当需要开通自动签时,该参数必传</p>
|
|
18615
18728
|
:rtype: str
|
|
18616
18729
|
"""
|
|
18617
18730
|
return self._Mobile
|
|
@@ -18622,23 +18735,22 @@ BLUE 蓝色。
|
|
|
18622
18735
|
|
|
18623
18736
|
@property
|
|
18624
18737
|
def EnableAutoSign(self):
|
|
18625
|
-
|
|
18738
|
+
warnings.warn("parameter `EnableAutoSign` is deprecated", DeprecationWarning)
|
|
18739
|
+
|
|
18740
|
+
r"""<p>该字段已不再使用</p>
|
|
18626
18741
|
:rtype: bool
|
|
18627
18742
|
"""
|
|
18628
18743
|
return self._EnableAutoSign
|
|
18629
18744
|
|
|
18630
18745
|
@EnableAutoSign.setter
|
|
18631
18746
|
def EnableAutoSign(self, EnableAutoSign):
|
|
18747
|
+
warnings.warn("parameter `EnableAutoSign` is deprecated", DeprecationWarning)
|
|
18748
|
+
|
|
18632
18749
|
self._EnableAutoSign = EnableAutoSign
|
|
18633
18750
|
|
|
18634
18751
|
@property
|
|
18635
18752
|
def SealColor(self):
|
|
18636
|
-
r"""
|
|
18637
|
-
默认值:BLACK黑色
|
|
18638
|
-
取值:
|
|
18639
|
-
BLACK 黑色,
|
|
18640
|
-
RED 红色,
|
|
18641
|
-
BLUE 蓝色。
|
|
18753
|
+
r"""<p>印章颜色(参数ProcessSeal=true时生效)<br>默认值:BLACK黑色<br>取值:<br>BLACK 黑色,<br>RED 红色,<br>BLUE 蓝色。</p>
|
|
18642
18754
|
:rtype: str
|
|
18643
18755
|
"""
|
|
18644
18756
|
return self._SealColor
|
|
@@ -18649,12 +18761,7 @@ BLUE 蓝色。
|
|
|
18649
18761
|
|
|
18650
18762
|
@property
|
|
18651
18763
|
def ProcessSeal(self):
|
|
18652
|
-
r"""
|
|
18653
|
-
取值如下:
|
|
18654
|
-
<ul>
|
|
18655
|
-
<li>false:不做任何处理;</li>
|
|
18656
|
-
<li>true:做透明化处理和颜色增强。</li>
|
|
18657
|
-
</ul>
|
|
18764
|
+
r"""<p>是否处理印章,默认不做印章处理。<br>取值如下:</p><ul><li>false:不做任何处理;</li><li>true:做透明化处理和颜色增强。</li></ul>
|
|
18658
18765
|
:rtype: bool
|
|
18659
18766
|
"""
|
|
18660
18767
|
return self._ProcessSeal
|
|
@@ -18665,9 +18772,7 @@ BLUE 蓝色。
|
|
|
18665
18772
|
|
|
18666
18773
|
@property
|
|
18667
18774
|
def FileId(self):
|
|
18668
|
-
r"""
|
|
18669
|
-
取值:
|
|
18670
|
-
填写的FileId通过UploadFiles接口上传文件获取。
|
|
18775
|
+
r"""<p>印章图片文件 id<br>取值:<br>填写的FileId通过UploadFiles接口上传文件获取。</p>
|
|
18671
18776
|
:rtype: str
|
|
18672
18777
|
"""
|
|
18673
18778
|
return self._FileId
|
|
@@ -18678,8 +18783,7 @@ BLUE 蓝色。
|
|
|
18678
18783
|
|
|
18679
18784
|
@property
|
|
18680
18785
|
def Agent(self):
|
|
18681
|
-
r"""
|
|
18682
|
-
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
18786
|
+
r"""<p>代理企业和员工的信息。<br>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。</p>
|
|
18683
18787
|
:rtype: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
18684
18788
|
"""
|
|
18685
18789
|
return self._Agent
|
|
@@ -18690,7 +18794,7 @@ BLUE 蓝色。
|
|
|
18690
18794
|
|
|
18691
18795
|
@property
|
|
18692
18796
|
def LicenseType(self):
|
|
18693
|
-
r"""
|
|
18797
|
+
r"""<p>设置用户开通自动签时是否绑定个人自动签账号许可。一旦绑定后,将扣减购买的个人自动签账号许可一次(1年有效期),不可解绑释放。不传默认为绑定自动签账号许可。 0-绑定个人自动签账号许可,开通后将扣减购买的个人自动签账号许可一次 1-不绑定,发起合同时将按标准合同套餐进行扣减</p>
|
|
18694
18798
|
:rtype: int
|
|
18695
18799
|
"""
|
|
18696
18800
|
return self._LicenseType
|
|
@@ -18701,10 +18805,7 @@ BLUE 蓝色。
|
|
|
18701
18805
|
|
|
18702
18806
|
@property
|
|
18703
18807
|
def SceneKey(self):
|
|
18704
|
-
r"""
|
|
18705
|
-
<ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li><li> **OTHER** : 通用场景</li></ul>
|
|
18706
|
-
|
|
18707
|
-
注: `不传默认为处方单场景,即E_PRESCRIPTION_AUTO_SIGN`
|
|
18808
|
+
r"""<p>自动签使用的场景值, 可以选择的场景值如下:</p><ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li><li> **OTHER** : 通用场景</li></ul><p>注: <code>不传默认为处方单场景,即E_PRESCRIPTION_AUTO_SIGN</code></p>
|
|
18708
18809
|
:rtype: str
|
|
18709
18810
|
"""
|
|
18710
18811
|
return self._SceneKey
|
|
@@ -18751,8 +18852,7 @@ class CreatePreparedPersonalEsignResponse(AbstractModel):
|
|
|
18751
18852
|
|
|
18752
18853
|
def __init__(self):
|
|
18753
18854
|
r"""
|
|
18754
|
-
:param _SealId:
|
|
18755
|
-
建议开发者保存此印章ID,开头实名认证后,通过此 ID查询导入的印章。
|
|
18855
|
+
:param _SealId: <p>导入生成的印章ID,为32位字符串。<br>建议开发者保存此印章ID,开头实名认证后,通过此 ID查询导入的印章。</p>
|
|
18756
18856
|
:type SealId: str
|
|
18757
18857
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18758
18858
|
:type RequestId: str
|
|
@@ -18762,8 +18862,7 @@ class CreatePreparedPersonalEsignResponse(AbstractModel):
|
|
|
18762
18862
|
|
|
18763
18863
|
@property
|
|
18764
18864
|
def SealId(self):
|
|
18765
|
-
r"""
|
|
18766
|
-
建议开发者保存此印章ID,开头实名认证后,通过此 ID查询导入的印章。
|
|
18865
|
+
r"""<p>导入生成的印章ID,为32位字符串。<br>建议开发者保存此印章ID,开头实名认证后,通过此 ID查询导入的印章。</p>
|
|
18767
18866
|
:rtype: str
|
|
18768
18867
|
"""
|
|
18769
18868
|
return self._SealId
|
|
@@ -26291,6 +26390,164 @@ class DescribeExtendedServiceAuthInfosResponse(AbstractModel):
|
|
|
26291
26390
|
self._RequestId = params.get("RequestId")
|
|
26292
26391
|
|
|
26293
26392
|
|
|
26393
|
+
class DescribeFileConvertTaskRequest(AbstractModel):
|
|
26394
|
+
r"""DescribeFileConvertTask请求参数结构体
|
|
26395
|
+
|
|
26396
|
+
"""
|
|
26397
|
+
|
|
26398
|
+
def __init__(self):
|
|
26399
|
+
r"""
|
|
26400
|
+
:param _TaskId: <p>转换任务Id,通过接口<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateFileConvertTask" target="_blank">创建文件转换任务接口</a>得到的转换任务id</p>
|
|
26401
|
+
:type TaskId: str
|
|
26402
|
+
:param _Operator: <p>执行本接口操作的员工信息。<br>注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
|
|
26403
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
26404
|
+
:param _Agent: <p>代理企业和员工的信息。<br>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。</p>
|
|
26405
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
26406
|
+
"""
|
|
26407
|
+
self._TaskId = None
|
|
26408
|
+
self._Operator = None
|
|
26409
|
+
self._Agent = None
|
|
26410
|
+
|
|
26411
|
+
@property
|
|
26412
|
+
def TaskId(self):
|
|
26413
|
+
r"""<p>转换任务Id,通过接口<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateFileConvertTask" target="_blank">创建文件转换任务接口</a>得到的转换任务id</p>
|
|
26414
|
+
:rtype: str
|
|
26415
|
+
"""
|
|
26416
|
+
return self._TaskId
|
|
26417
|
+
|
|
26418
|
+
@TaskId.setter
|
|
26419
|
+
def TaskId(self, TaskId):
|
|
26420
|
+
self._TaskId = TaskId
|
|
26421
|
+
|
|
26422
|
+
@property
|
|
26423
|
+
def Operator(self):
|
|
26424
|
+
r"""<p>执行本接口操作的员工信息。<br>注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
|
|
26425
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
26426
|
+
"""
|
|
26427
|
+
return self._Operator
|
|
26428
|
+
|
|
26429
|
+
@Operator.setter
|
|
26430
|
+
def Operator(self, Operator):
|
|
26431
|
+
self._Operator = Operator
|
|
26432
|
+
|
|
26433
|
+
@property
|
|
26434
|
+
def Agent(self):
|
|
26435
|
+
r"""<p>代理企业和员工的信息。<br>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。</p>
|
|
26436
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
26437
|
+
"""
|
|
26438
|
+
return self._Agent
|
|
26439
|
+
|
|
26440
|
+
@Agent.setter
|
|
26441
|
+
def Agent(self, Agent):
|
|
26442
|
+
self._Agent = Agent
|
|
26443
|
+
|
|
26444
|
+
|
|
26445
|
+
def _deserialize(self, params):
|
|
26446
|
+
self._TaskId = params.get("TaskId")
|
|
26447
|
+
if params.get("Operator") is not None:
|
|
26448
|
+
self._Operator = UserInfo()
|
|
26449
|
+
self._Operator._deserialize(params.get("Operator"))
|
|
26450
|
+
if params.get("Agent") is not None:
|
|
26451
|
+
self._Agent = Agent()
|
|
26452
|
+
self._Agent._deserialize(params.get("Agent"))
|
|
26453
|
+
memeber_set = set(params.keys())
|
|
26454
|
+
for name, value in vars(self).items():
|
|
26455
|
+
property_name = name[1:]
|
|
26456
|
+
if property_name in memeber_set:
|
|
26457
|
+
memeber_set.remove(property_name)
|
|
26458
|
+
if len(memeber_set) > 0:
|
|
26459
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
26460
|
+
|
|
26461
|
+
|
|
26462
|
+
|
|
26463
|
+
class DescribeFileConvertTaskResponse(AbstractModel):
|
|
26464
|
+
r"""DescribeFileConvertTask返回参数结构体
|
|
26465
|
+
|
|
26466
|
+
"""
|
|
26467
|
+
|
|
26468
|
+
def __init__(self):
|
|
26469
|
+
r"""
|
|
26470
|
+
:param _TaskId: <p>任务Id</p>
|
|
26471
|
+
:type TaskId: str
|
|
26472
|
+
:param _TaskStatus: <p>任务状态,需要关注的状态</p><p>枚举值:</p><ul><li>0: NeedTranform - 任务已提交</li><li>4: Processing - 文档转换中</li><li>8: TaskEnd - 任务处理完成</li><li>-2: DownloadFailed - 下载失败</li><li>-6: ProcessFailed - 转换失败</li><li>-13: ProcessTimeout - 转换文件超时</li></ul>
|
|
26473
|
+
:type TaskStatus: int
|
|
26474
|
+
:param _TaskMessage: <p>状态描述,需要关注的状态</p><ul><li> **NeedTranform** : 任务已提交</li><li> **Processing** : 文档转换中</li><li> **TaskEnd** : 任务处理完成</li><li> **DownloadFailed** : 下载失败</li><li> **ProcessFailed** : 转换失败</li><li> **ProcessTimeout** : 转换文件超时</li></ul>
|
|
26475
|
+
:type TaskMessage: str
|
|
26476
|
+
:param _ResourceId: <p>资源Id(即FileId),用于<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowByFiles">用PDF文件创建签署流程</a></p>
|
|
26477
|
+
:type ResourceId: str
|
|
26478
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26479
|
+
:type RequestId: str
|
|
26480
|
+
"""
|
|
26481
|
+
self._TaskId = None
|
|
26482
|
+
self._TaskStatus = None
|
|
26483
|
+
self._TaskMessage = None
|
|
26484
|
+
self._ResourceId = None
|
|
26485
|
+
self._RequestId = None
|
|
26486
|
+
|
|
26487
|
+
@property
|
|
26488
|
+
def TaskId(self):
|
|
26489
|
+
r"""<p>任务Id</p>
|
|
26490
|
+
:rtype: str
|
|
26491
|
+
"""
|
|
26492
|
+
return self._TaskId
|
|
26493
|
+
|
|
26494
|
+
@TaskId.setter
|
|
26495
|
+
def TaskId(self, TaskId):
|
|
26496
|
+
self._TaskId = TaskId
|
|
26497
|
+
|
|
26498
|
+
@property
|
|
26499
|
+
def TaskStatus(self):
|
|
26500
|
+
r"""<p>任务状态,需要关注的状态</p><p>枚举值:</p><ul><li>0: NeedTranform - 任务已提交</li><li>4: Processing - 文档转换中</li><li>8: TaskEnd - 任务处理完成</li><li>-2: DownloadFailed - 下载失败</li><li>-6: ProcessFailed - 转换失败</li><li>-13: ProcessTimeout - 转换文件超时</li></ul>
|
|
26501
|
+
:rtype: int
|
|
26502
|
+
"""
|
|
26503
|
+
return self._TaskStatus
|
|
26504
|
+
|
|
26505
|
+
@TaskStatus.setter
|
|
26506
|
+
def TaskStatus(self, TaskStatus):
|
|
26507
|
+
self._TaskStatus = TaskStatus
|
|
26508
|
+
|
|
26509
|
+
@property
|
|
26510
|
+
def TaskMessage(self):
|
|
26511
|
+
r"""<p>状态描述,需要关注的状态</p><ul><li> **NeedTranform** : 任务已提交</li><li> **Processing** : 文档转换中</li><li> **TaskEnd** : 任务处理完成</li><li> **DownloadFailed** : 下载失败</li><li> **ProcessFailed** : 转换失败</li><li> **ProcessTimeout** : 转换文件超时</li></ul>
|
|
26512
|
+
:rtype: str
|
|
26513
|
+
"""
|
|
26514
|
+
return self._TaskMessage
|
|
26515
|
+
|
|
26516
|
+
@TaskMessage.setter
|
|
26517
|
+
def TaskMessage(self, TaskMessage):
|
|
26518
|
+
self._TaskMessage = TaskMessage
|
|
26519
|
+
|
|
26520
|
+
@property
|
|
26521
|
+
def ResourceId(self):
|
|
26522
|
+
r"""<p>资源Id(即FileId),用于<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowByFiles">用PDF文件创建签署流程</a></p>
|
|
26523
|
+
:rtype: str
|
|
26524
|
+
"""
|
|
26525
|
+
return self._ResourceId
|
|
26526
|
+
|
|
26527
|
+
@ResourceId.setter
|
|
26528
|
+
def ResourceId(self, ResourceId):
|
|
26529
|
+
self._ResourceId = ResourceId
|
|
26530
|
+
|
|
26531
|
+
@property
|
|
26532
|
+
def RequestId(self):
|
|
26533
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26534
|
+
:rtype: str
|
|
26535
|
+
"""
|
|
26536
|
+
return self._RequestId
|
|
26537
|
+
|
|
26538
|
+
@RequestId.setter
|
|
26539
|
+
def RequestId(self, RequestId):
|
|
26540
|
+
self._RequestId = RequestId
|
|
26541
|
+
|
|
26542
|
+
|
|
26543
|
+
def _deserialize(self, params):
|
|
26544
|
+
self._TaskId = params.get("TaskId")
|
|
26545
|
+
self._TaskStatus = params.get("TaskStatus")
|
|
26546
|
+
self._TaskMessage = params.get("TaskMessage")
|
|
26547
|
+
self._ResourceId = params.get("ResourceId")
|
|
26548
|
+
self._RequestId = params.get("RequestId")
|
|
26549
|
+
|
|
26550
|
+
|
|
26294
26551
|
class DescribeFileCounterSignResultRequest(AbstractModel):
|
|
26295
26552
|
r"""DescribeFileCounterSignResult请求参数结构体
|
|
26296
26553
|
|
|
@@ -41905,29 +42162,26 @@ class PresetApproverInfo(AbstractModel):
|
|
|
41905
42162
|
|
|
41906
42163
|
def __init__(self):
|
|
41907
42164
|
r"""
|
|
41908
|
-
:param _Name:
|
|
42165
|
+
:param _Name: <p>预设参与方姓名。</p>
|
|
41909
42166
|
:type Name: str
|
|
41910
|
-
:param _Mobile:
|
|
42167
|
+
:param _Mobile: <p>预设参与方手机号。</p>
|
|
41911
42168
|
:type Mobile: str
|
|
41912
|
-
:param _IdCardNumber:
|
|
41913
|
-
|
|
41914
|
-
证件号码,应符合以下规则
|
|
41915
|
-
<ul><li>中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li></ul>
|
|
42169
|
+
:param _IdCardNumber: <p>预设参与方证件号,需要和IdCardType同时传入。</p><p>证件号码,应符合以下规则</p><ul><li>中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li></ul>
|
|
41916
42170
|
:type IdCardNumber: str
|
|
41917
|
-
:param _IdCardType:
|
|
41918
|
-
|
|
41919
|
-
证件类型,支持以下类型
|
|
41920
|
-
<ul><li><b>ID_CARD</b>: 居民身份证</li></ul>
|
|
42171
|
+
:param _IdCardType: <p>预设参与方的证件类型,需要与IdCardNumber同时传入。</p><p>证件类型,支持以下类型</p><ul><li><b>ID_CARD</b>: 居民身份证</li></ul>
|
|
41921
42172
|
:type IdCardType: str
|
|
42173
|
+
:param _OrganizationName: <p>企业用户动态签署方场景指定预设企业名称。</p><p><code>注意:1. 若为企业动态签署方场景,此参数必须要指定。2. 企业动态签署方场景暂不支持指定姓名证件手机号等参数,仅支持指定企业名称。</code></p>
|
|
42174
|
+
:type OrganizationName: str
|
|
41922
42175
|
"""
|
|
41923
42176
|
self._Name = None
|
|
41924
42177
|
self._Mobile = None
|
|
41925
42178
|
self._IdCardNumber = None
|
|
41926
42179
|
self._IdCardType = None
|
|
42180
|
+
self._OrganizationName = None
|
|
41927
42181
|
|
|
41928
42182
|
@property
|
|
41929
42183
|
def Name(self):
|
|
41930
|
-
r"""
|
|
42184
|
+
r"""<p>预设参与方姓名。</p>
|
|
41931
42185
|
:rtype: str
|
|
41932
42186
|
"""
|
|
41933
42187
|
return self._Name
|
|
@@ -41938,7 +42192,7 @@ class PresetApproverInfo(AbstractModel):
|
|
|
41938
42192
|
|
|
41939
42193
|
@property
|
|
41940
42194
|
def Mobile(self):
|
|
41941
|
-
r"""
|
|
42195
|
+
r"""<p>预设参与方手机号。</p>
|
|
41942
42196
|
:rtype: str
|
|
41943
42197
|
"""
|
|
41944
42198
|
return self._Mobile
|
|
@@ -41949,10 +42203,7 @@ class PresetApproverInfo(AbstractModel):
|
|
|
41949
42203
|
|
|
41950
42204
|
@property
|
|
41951
42205
|
def IdCardNumber(self):
|
|
41952
|
-
r"""
|
|
41953
|
-
|
|
41954
|
-
证件号码,应符合以下规则
|
|
41955
|
-
<ul><li>中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li></ul>
|
|
42206
|
+
r"""<p>预设参与方证件号,需要和IdCardType同时传入。</p><p>证件号码,应符合以下规则</p><ul><li>中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li></ul>
|
|
41956
42207
|
:rtype: str
|
|
41957
42208
|
"""
|
|
41958
42209
|
return self._IdCardNumber
|
|
@@ -41963,10 +42214,7 @@ class PresetApproverInfo(AbstractModel):
|
|
|
41963
42214
|
|
|
41964
42215
|
@property
|
|
41965
42216
|
def IdCardType(self):
|
|
41966
|
-
r"""
|
|
41967
|
-
|
|
41968
|
-
证件类型,支持以下类型
|
|
41969
|
-
<ul><li><b>ID_CARD</b>: 居民身份证</li></ul>
|
|
42217
|
+
r"""<p>预设参与方的证件类型,需要与IdCardNumber同时传入。</p><p>证件类型,支持以下类型</p><ul><li><b>ID_CARD</b>: 居民身份证</li></ul>
|
|
41970
42218
|
:rtype: str
|
|
41971
42219
|
"""
|
|
41972
42220
|
return self._IdCardType
|
|
@@ -41975,12 +42223,24 @@ class PresetApproverInfo(AbstractModel):
|
|
|
41975
42223
|
def IdCardType(self, IdCardType):
|
|
41976
42224
|
self._IdCardType = IdCardType
|
|
41977
42225
|
|
|
42226
|
+
@property
|
|
42227
|
+
def OrganizationName(self):
|
|
42228
|
+
r"""<p>企业用户动态签署方场景指定预设企业名称。</p><p><code>注意:1. 若为企业动态签署方场景,此参数必须要指定。2. 企业动态签署方场景暂不支持指定姓名证件手机号等参数,仅支持指定企业名称。</code></p>
|
|
42229
|
+
:rtype: str
|
|
42230
|
+
"""
|
|
42231
|
+
return self._OrganizationName
|
|
42232
|
+
|
|
42233
|
+
@OrganizationName.setter
|
|
42234
|
+
def OrganizationName(self, OrganizationName):
|
|
42235
|
+
self._OrganizationName = OrganizationName
|
|
42236
|
+
|
|
41978
42237
|
|
|
41979
42238
|
def _deserialize(self, params):
|
|
41980
42239
|
self._Name = params.get("Name")
|
|
41981
42240
|
self._Mobile = params.get("Mobile")
|
|
41982
42241
|
self._IdCardNumber = params.get("IdCardNumber")
|
|
41983
42242
|
self._IdCardType = params.get("IdCardType")
|
|
42243
|
+
self._OrganizationName = params.get("OrganizationName")
|
|
41984
42244
|
memeber_set = set(params.keys())
|
|
41985
42245
|
for name, value in vars(self).items():
|
|
41986
42246
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ess
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.127
|
|
4
4
|
Summary: Tencent Cloud Ess 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.127
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.124
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|