tencentcloud-sdk-python-ess 3.1.176__tar.gz → 3.1.187__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.176 → tencentcloud_sdk_python_ess-3.1.187}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/setup.py +1 -1
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud/ess/v20201111/models.py +98 -105
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud_sdk_python_ess.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ess-3.1.187/tencentcloud_sdk_python_ess.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ess-3.1.176/tencentcloud_sdk_python_ess.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/README.rst +0 -0
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud/ess/__init__.py +0 -0
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud/ess/v20201111/__init__.py +0 -0
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud/ess/v20201111/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud/ess/v20201111/ess_client.py +0 -0
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud/ess/v20201111/ess_client_async.py +0 -0
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud_sdk_python_ess.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/tencentcloud_sdk_python_ess.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ess-3.1.176 → tencentcloud_sdk_python_ess-3.1.187}/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.187
|
|
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.187
|
|
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.187,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ess SDK for Python',
|
|
@@ -3722,36 +3722,20 @@ class ComparisonDetail(AbstractModel):
|
|
|
3722
3722
|
|
|
3723
3723
|
def __init__(self):
|
|
3724
3724
|
r"""
|
|
3725
|
-
:param _ComparisonPointId:
|
|
3725
|
+
:param _ComparisonPointId: <p>合同对比差异点唯一ID。</p>
|
|
3726
3726
|
:type ComparisonPointId: str
|
|
3727
|
-
:param _ComparisonType:
|
|
3728
|
-
<ul><li> **add**:新增</li>
|
|
3729
|
-
<li> **change**:变更</li>
|
|
3730
|
-
<li> **delete**:删除</li>
|
|
3731
|
-
</ul>
|
|
3727
|
+
:param _ComparisonType: <p>对比前后差异类型,具体如下:</p><ul><li> **add**:新增</li><li> **change**:变更</li><li> **delete**:删除</li></ul>
|
|
3732
3728
|
:type ComparisonType: str
|
|
3733
|
-
:param _ContentType:
|
|
3734
|
-
<ul><li> **text**:文本</li>
|
|
3735
|
-
<li> **table**:表格</li>
|
|
3736
|
-
<li> **picture**:图片</li>
|
|
3737
|
-
</ul>
|
|
3729
|
+
:param _ContentType: <p>对比内容类型,具体如下:</p><ul><li> **text**:文本</li><li> **table**:表格</li><li> **picture**:图片</li></ul>
|
|
3738
3730
|
:type ContentType: str
|
|
3739
|
-
:param _OriginText:
|
|
3731
|
+
:param _OriginText: <p>原文文本。</p>
|
|
3740
3732
|
:type OriginText: str
|
|
3741
|
-
:param _DiffText:
|
|
3733
|
+
:param _DiffText: <p>对比文本。</p>
|
|
3742
3734
|
:type DiffText: str
|
|
3743
|
-
:param _FormatType:
|
|
3744
|
-
类型如下:
|
|
3745
|
-
<ul><li> **0**:段落(正文)</li>
|
|
3746
|
-
<li> **1**:标点符号</li>
|
|
3747
|
-
<li> **2**:页眉页脚</li>
|
|
3748
|
-
<li> **3**:目录</li>
|
|
3749
|
-
<li> **4**:印章</li>
|
|
3750
|
-
<li> **5**:序号</li>
|
|
3751
|
-
<li> **6**:水印</li>
|
|
3752
|
-
<li> **7**:下划线内容(填写区)</li>
|
|
3753
|
-
</ul>
|
|
3735
|
+
:param _FormatType: <p>合同文本的格式类型。<br>类型如下:</p><ul><li> **0**:段落(正文)</li><li> **1**:标点符号</li><li> **2**:页眉页脚</li><li> **3**:目录</li><li> **4**:印章</li><li> **5**:序号</li><li> **6**:水印</li><li> **7**:下划线内容(填写区)</li></ul>
|
|
3754
3736
|
:type FormatType: int
|
|
3737
|
+
:param _PageNumber: <p>页码:对比点所在页码。</p>
|
|
3738
|
+
:type PageNumber: int
|
|
3755
3739
|
"""
|
|
3756
3740
|
self._ComparisonPointId = None
|
|
3757
3741
|
self._ComparisonType = None
|
|
@@ -3759,10 +3743,11 @@ class ComparisonDetail(AbstractModel):
|
|
|
3759
3743
|
self._OriginText = None
|
|
3760
3744
|
self._DiffText = None
|
|
3761
3745
|
self._FormatType = None
|
|
3746
|
+
self._PageNumber = None
|
|
3762
3747
|
|
|
3763
3748
|
@property
|
|
3764
3749
|
def ComparisonPointId(self):
|
|
3765
|
-
r"""
|
|
3750
|
+
r"""<p>合同对比差异点唯一ID。</p>
|
|
3766
3751
|
:rtype: str
|
|
3767
3752
|
"""
|
|
3768
3753
|
return self._ComparisonPointId
|
|
@@ -3773,11 +3758,7 @@ class ComparisonDetail(AbstractModel):
|
|
|
3773
3758
|
|
|
3774
3759
|
@property
|
|
3775
3760
|
def ComparisonType(self):
|
|
3776
|
-
r"""
|
|
3777
|
-
<ul><li> **add**:新增</li>
|
|
3778
|
-
<li> **change**:变更</li>
|
|
3779
|
-
<li> **delete**:删除</li>
|
|
3780
|
-
</ul>
|
|
3761
|
+
r"""<p>对比前后差异类型,具体如下:</p><ul><li> **add**:新增</li><li> **change**:变更</li><li> **delete**:删除</li></ul>
|
|
3781
3762
|
:rtype: str
|
|
3782
3763
|
"""
|
|
3783
3764
|
return self._ComparisonType
|
|
@@ -3788,11 +3769,7 @@ class ComparisonDetail(AbstractModel):
|
|
|
3788
3769
|
|
|
3789
3770
|
@property
|
|
3790
3771
|
def ContentType(self):
|
|
3791
|
-
r"""
|
|
3792
|
-
<ul><li> **text**:文本</li>
|
|
3793
|
-
<li> **table**:表格</li>
|
|
3794
|
-
<li> **picture**:图片</li>
|
|
3795
|
-
</ul>
|
|
3772
|
+
r"""<p>对比内容类型,具体如下:</p><ul><li> **text**:文本</li><li> **table**:表格</li><li> **picture**:图片</li></ul>
|
|
3796
3773
|
:rtype: str
|
|
3797
3774
|
"""
|
|
3798
3775
|
return self._ContentType
|
|
@@ -3803,7 +3780,7 @@ class ComparisonDetail(AbstractModel):
|
|
|
3803
3780
|
|
|
3804
3781
|
@property
|
|
3805
3782
|
def OriginText(self):
|
|
3806
|
-
r"""
|
|
3783
|
+
r"""<p>原文文本。</p>
|
|
3807
3784
|
:rtype: str
|
|
3808
3785
|
"""
|
|
3809
3786
|
return self._OriginText
|
|
@@ -3814,7 +3791,7 @@ class ComparisonDetail(AbstractModel):
|
|
|
3814
3791
|
|
|
3815
3792
|
@property
|
|
3816
3793
|
def DiffText(self):
|
|
3817
|
-
r"""
|
|
3794
|
+
r"""<p>对比文本。</p>
|
|
3818
3795
|
:rtype: str
|
|
3819
3796
|
"""
|
|
3820
3797
|
return self._DiffText
|
|
@@ -3825,17 +3802,7 @@ class ComparisonDetail(AbstractModel):
|
|
|
3825
3802
|
|
|
3826
3803
|
@property
|
|
3827
3804
|
def FormatType(self):
|
|
3828
|
-
r"""
|
|
3829
|
-
类型如下:
|
|
3830
|
-
<ul><li> **0**:段落(正文)</li>
|
|
3831
|
-
<li> **1**:标点符号</li>
|
|
3832
|
-
<li> **2**:页眉页脚</li>
|
|
3833
|
-
<li> **3**:目录</li>
|
|
3834
|
-
<li> **4**:印章</li>
|
|
3835
|
-
<li> **5**:序号</li>
|
|
3836
|
-
<li> **6**:水印</li>
|
|
3837
|
-
<li> **7**:下划线内容(填写区)</li>
|
|
3838
|
-
</ul>
|
|
3805
|
+
r"""<p>合同文本的格式类型。<br>类型如下:</p><ul><li> **0**:段落(正文)</li><li> **1**:标点符号</li><li> **2**:页眉页脚</li><li> **3**:目录</li><li> **4**:印章</li><li> **5**:序号</li><li> **6**:水印</li><li> **7**:下划线内容(填写区)</li></ul>
|
|
3839
3806
|
:rtype: int
|
|
3840
3807
|
"""
|
|
3841
3808
|
return self._FormatType
|
|
@@ -3844,6 +3811,17 @@ class ComparisonDetail(AbstractModel):
|
|
|
3844
3811
|
def FormatType(self, FormatType):
|
|
3845
3812
|
self._FormatType = FormatType
|
|
3846
3813
|
|
|
3814
|
+
@property
|
|
3815
|
+
def PageNumber(self):
|
|
3816
|
+
r"""<p>页码:对比点所在页码。</p>
|
|
3817
|
+
:rtype: int
|
|
3818
|
+
"""
|
|
3819
|
+
return self._PageNumber
|
|
3820
|
+
|
|
3821
|
+
@PageNumber.setter
|
|
3822
|
+
def PageNumber(self, PageNumber):
|
|
3823
|
+
self._PageNumber = PageNumber
|
|
3824
|
+
|
|
3847
3825
|
|
|
3848
3826
|
def _deserialize(self, params):
|
|
3849
3827
|
self._ComparisonPointId = params.get("ComparisonPointId")
|
|
@@ -3852,6 +3830,7 @@ class ComparisonDetail(AbstractModel):
|
|
|
3852
3830
|
self._OriginText = params.get("OriginText")
|
|
3853
3831
|
self._DiffText = params.get("DiffText")
|
|
3854
3832
|
self._FormatType = params.get("FormatType")
|
|
3833
|
+
self._PageNumber = params.get("PageNumber")
|
|
3855
3834
|
memeber_set = set(params.keys())
|
|
3856
3835
|
for name, value in vars(self).items():
|
|
3857
3836
|
property_name = name[1:]
|
|
@@ -17255,10 +17234,10 @@ class CreatePrepareFlowRequest(AbstractModel):
|
|
|
17255
17234
|
r"""
|
|
17256
17235
|
:param _Operator: <p>执行本接口操作的员工信息。使用此接口时,必须填写userId。<br>支持填入集团子公司经办人 userId 代发合同。</p><p>注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
|
|
17257
17236
|
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
17258
|
-
:param _ResourceId: <p>资源id,与ResourceType相对应,取值范围:</p><ul><li>文件Id(通过UploadFiles获取文件资源Id)</li><li>模板Id(通过控制台创建模板后获取模板Id)</li><li>草稿Id(通过嵌入页面保存草稿后获取草稿Id)</li></ul>注意:需要同时设置 ResourceType 参数指定资源类型
|
|
17259
|
-
:type ResourceId: str
|
|
17260
17237
|
:param _FlowName: <p>自定义的合同流程的名称,长度不能超过200个字符,只能由中文汉字、中文标点、英文字母、阿拉伯数字、空格、小括号、中括号、中划线、下划线以及(,)、(;)、(.)、(&)、(+)组成。</p><p>该名称还将用于合同签署完成后文件下载的默认文件名称。</p>
|
|
17261
17238
|
:type FlowName: str
|
|
17239
|
+
:param _ResourceId: <p>资源id,与ResourceType相对应,取值范围:</p><ul><li>文件Id(通过UploadFiles获取文件资源Id)</li><li>模板Id(通过控制台创建模板后获取模板Id)</li><li>草稿Id(通过嵌入页面保存草稿后获取草稿Id)</li></ul>注意:需要同时设置 ResourceType 参数指定资源类型
|
|
17240
|
+
:type ResourceId: str
|
|
17262
17241
|
:param _ResourceType: <p>资源类型,取值有:</p><ul><li> **1**:模板</li><li> **2**:文件(默认值)</li><li> **3**:草稿</li></ul>
|
|
17263
17242
|
:type ResourceType: int
|
|
17264
17243
|
:param _Unordered: <p>合同流程的签署顺序类型:</p><ul><li> **false**:(默认)有序签署, 本合同多个参与人需要依次签署 </li><li> **true**:无序签署, 本合同多个参与人没有先后签署限制</li></ul>
|
|
@@ -17299,8 +17278,8 @@ class CreatePrepareFlowRequest(AbstractModel):
|
|
|
17299
17278
|
:type Workflow: bool
|
|
17300
17279
|
"""
|
|
17301
17280
|
self._Operator = None
|
|
17302
|
-
self._ResourceId = None
|
|
17303
17281
|
self._FlowName = None
|
|
17282
|
+
self._ResourceId = None
|
|
17304
17283
|
self._ResourceType = None
|
|
17305
17284
|
self._Unordered = None
|
|
17306
17285
|
self._Deadline = None
|
|
@@ -17332,17 +17311,6 @@ class CreatePrepareFlowRequest(AbstractModel):
|
|
|
17332
17311
|
def Operator(self, Operator):
|
|
17333
17312
|
self._Operator = Operator
|
|
17334
17313
|
|
|
17335
|
-
@property
|
|
17336
|
-
def ResourceId(self):
|
|
17337
|
-
r"""<p>资源id,与ResourceType相对应,取值范围:</p><ul><li>文件Id(通过UploadFiles获取文件资源Id)</li><li>模板Id(通过控制台创建模板后获取模板Id)</li><li>草稿Id(通过嵌入页面保存草稿后获取草稿Id)</li></ul>注意:需要同时设置 ResourceType 参数指定资源类型
|
|
17338
|
-
:rtype: str
|
|
17339
|
-
"""
|
|
17340
|
-
return self._ResourceId
|
|
17341
|
-
|
|
17342
|
-
@ResourceId.setter
|
|
17343
|
-
def ResourceId(self, ResourceId):
|
|
17344
|
-
self._ResourceId = ResourceId
|
|
17345
|
-
|
|
17346
17314
|
@property
|
|
17347
17315
|
def FlowName(self):
|
|
17348
17316
|
r"""<p>自定义的合同流程的名称,长度不能超过200个字符,只能由中文汉字、中文标点、英文字母、阿拉伯数字、空格、小括号、中括号、中划线、下划线以及(,)、(;)、(.)、(&)、(+)组成。</p><p>该名称还将用于合同签署完成后文件下载的默认文件名称。</p>
|
|
@@ -17354,6 +17322,17 @@ class CreatePrepareFlowRequest(AbstractModel):
|
|
|
17354
17322
|
def FlowName(self, FlowName):
|
|
17355
17323
|
self._FlowName = FlowName
|
|
17356
17324
|
|
|
17325
|
+
@property
|
|
17326
|
+
def ResourceId(self):
|
|
17327
|
+
r"""<p>资源id,与ResourceType相对应,取值范围:</p><ul><li>文件Id(通过UploadFiles获取文件资源Id)</li><li>模板Id(通过控制台创建模板后获取模板Id)</li><li>草稿Id(通过嵌入页面保存草稿后获取草稿Id)</li></ul>注意:需要同时设置 ResourceType 参数指定资源类型
|
|
17328
|
+
:rtype: str
|
|
17329
|
+
"""
|
|
17330
|
+
return self._ResourceId
|
|
17331
|
+
|
|
17332
|
+
@ResourceId.setter
|
|
17333
|
+
def ResourceId(self, ResourceId):
|
|
17334
|
+
self._ResourceId = ResourceId
|
|
17335
|
+
|
|
17357
17336
|
@property
|
|
17358
17337
|
def ResourceType(self):
|
|
17359
17338
|
r"""<p>资源类型,取值有:</p><ul><li> **1**:模板</li><li> **2**:文件(默认值)</li><li> **3**:草稿</li></ul>
|
|
@@ -17572,8 +17551,8 @@ class CreatePrepareFlowRequest(AbstractModel):
|
|
|
17572
17551
|
if params.get("Operator") is not None:
|
|
17573
17552
|
self._Operator = UserInfo()
|
|
17574
17553
|
self._Operator._deserialize(params.get("Operator"))
|
|
17575
|
-
self._ResourceId = params.get("ResourceId")
|
|
17576
17554
|
self._FlowName = params.get("FlowName")
|
|
17555
|
+
self._ResourceId = params.get("ResourceId")
|
|
17577
17556
|
self._ResourceType = params.get("ResourceType")
|
|
17578
17557
|
self._Unordered = params.get("Unordered")
|
|
17579
17558
|
self._Deadline = params.get("Deadline")
|
|
@@ -40582,40 +40561,36 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40582
40561
|
|
|
40583
40562
|
def __init__(self):
|
|
40584
40563
|
r"""
|
|
40585
|
-
:param _VerifyResult:
|
|
40564
|
+
:param _VerifyResult: <p>验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。</p>
|
|
40586
40565
|
:type VerifyResult: int
|
|
40587
|
-
:param _SignPlatform:
|
|
40588
|
-
如果文件是在腾讯电子签平台签署,则为**腾讯电子签**,
|
|
40589
|
-
如果文件不在腾讯电子签平台签署,则为**其他平台**。
|
|
40566
|
+
:param _SignPlatform: <p>签署平台<br>如果文件是在腾讯电子签平台签署,则为<strong>腾讯电子签</strong>,<br>如果文件不在腾讯电子签平台签署,则为<strong>其他平台</strong>。</p>
|
|
40590
40567
|
:type SignPlatform: str
|
|
40591
|
-
:param _SignerName:
|
|
40592
|
-
|
|
40593
|
-
如果是在腾讯电子签平台签署, 则对应的主体的名字个数如下
|
|
40594
|
-
**企业**: ESS@企业名称@编码
|
|
40595
|
-
**个人**: ESS@个人姓名@证件号@808854
|
|
40596
|
-
|
|
40597
|
-
如果在其他平台签署的, 主体的名字参考其他平台的说明
|
|
40568
|
+
:param _SignerName: <p>申请证书的主体的名字</p><p>如果是在腾讯电子签平台签署, 则对应的主体的名字个数如下<br><strong>企业</strong>: ESS@企业名称@编码<br><strong>个人</strong>: ESS@个人姓名@证件号@808854</p><p>如果在其他平台签署的, 主体的名字参考其他平台的说明</p>
|
|
40598
40569
|
:type SignerName: str
|
|
40599
|
-
:param _SignTime:
|
|
40570
|
+
:param _SignTime: <p>签署时间的Unix时间戳,单位毫秒</p>
|
|
40600
40571
|
:type SignTime: int
|
|
40601
|
-
:param _SignAlgorithm:
|
|
40572
|
+
:param _SignAlgorithm: <p>证书签名算法, 如SHA1withRSA等算法</p>
|
|
40602
40573
|
:type SignAlgorithm: str
|
|
40603
|
-
:param _CertSn:
|
|
40574
|
+
:param _CertSn: <p>在数字证书申请过程中,系统会自动生成一个独一无二的序列号。</p>
|
|
40604
40575
|
:type CertSn: str
|
|
40605
|
-
:param _CertNotBefore:
|
|
40576
|
+
:param _CertNotBefore: <p>证书起始时间的Unix时间戳,单位毫秒</p>
|
|
40606
40577
|
:type CertNotBefore: int
|
|
40607
|
-
:param _CertNotAfter:
|
|
40578
|
+
:param _CertNotAfter: <p>证书过期时间的时间戳,单位毫秒</p>
|
|
40608
40579
|
:type CertNotAfter: int
|
|
40609
|
-
:param _ComponentPosX:
|
|
40580
|
+
:param _ComponentPosX: <p>签名域横坐标,单位px</p>
|
|
40610
40581
|
:type ComponentPosX: float
|
|
40611
|
-
:param _ComponentPosY:
|
|
40582
|
+
:param _ComponentPosY: <p>签名域纵坐标,单位px</p>
|
|
40612
40583
|
:type ComponentPosY: float
|
|
40613
|
-
:param _ComponentWidth:
|
|
40584
|
+
:param _ComponentWidth: <p>签名域宽度,单位px</p>
|
|
40614
40585
|
:type ComponentWidth: float
|
|
40615
|
-
:param _ComponentHeight:
|
|
40586
|
+
:param _ComponentHeight: <p>签名域高度,单位px</p>
|
|
40616
40587
|
:type ComponentHeight: float
|
|
40617
|
-
:param _ComponentPage:
|
|
40588
|
+
:param _ComponentPage: <p>签名域所在页码,1~N</p>
|
|
40618
40589
|
:type ComponentPage: int
|
|
40590
|
+
:param _CertProvider: <p>证书颁发机构</p>
|
|
40591
|
+
:type CertProvider: str
|
|
40592
|
+
:param _IsTimestampTrust: <p>是否有可信时间戳</p>
|
|
40593
|
+
:type IsTimestampTrust: bool
|
|
40619
40594
|
"""
|
|
40620
40595
|
self._VerifyResult = None
|
|
40621
40596
|
self._SignPlatform = None
|
|
@@ -40630,10 +40605,12 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40630
40605
|
self._ComponentWidth = None
|
|
40631
40606
|
self._ComponentHeight = None
|
|
40632
40607
|
self._ComponentPage = None
|
|
40608
|
+
self._CertProvider = None
|
|
40609
|
+
self._IsTimestampTrust = None
|
|
40633
40610
|
|
|
40634
40611
|
@property
|
|
40635
40612
|
def VerifyResult(self):
|
|
40636
|
-
r"""
|
|
40613
|
+
r"""<p>验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。</p>
|
|
40637
40614
|
:rtype: int
|
|
40638
40615
|
"""
|
|
40639
40616
|
return self._VerifyResult
|
|
@@ -40644,9 +40621,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40644
40621
|
|
|
40645
40622
|
@property
|
|
40646
40623
|
def SignPlatform(self):
|
|
40647
|
-
r"""
|
|
40648
|
-
如果文件是在腾讯电子签平台签署,则为**腾讯电子签**,
|
|
40649
|
-
如果文件不在腾讯电子签平台签署,则为**其他平台**。
|
|
40624
|
+
r"""<p>签署平台<br>如果文件是在腾讯电子签平台签署,则为<strong>腾讯电子签</strong>,<br>如果文件不在腾讯电子签平台签署,则为<strong>其他平台</strong>。</p>
|
|
40650
40625
|
:rtype: str
|
|
40651
40626
|
"""
|
|
40652
40627
|
return self._SignPlatform
|
|
@@ -40657,13 +40632,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40657
40632
|
|
|
40658
40633
|
@property
|
|
40659
40634
|
def SignerName(self):
|
|
40660
|
-
r"""
|
|
40661
|
-
|
|
40662
|
-
如果是在腾讯电子签平台签署, 则对应的主体的名字个数如下
|
|
40663
|
-
**企业**: ESS@企业名称@编码
|
|
40664
|
-
**个人**: ESS@个人姓名@证件号@808854
|
|
40665
|
-
|
|
40666
|
-
如果在其他平台签署的, 主体的名字参考其他平台的说明
|
|
40635
|
+
r"""<p>申请证书的主体的名字</p><p>如果是在腾讯电子签平台签署, 则对应的主体的名字个数如下<br><strong>企业</strong>: ESS@企业名称@编码<br><strong>个人</strong>: ESS@个人姓名@证件号@808854</p><p>如果在其他平台签署的, 主体的名字参考其他平台的说明</p>
|
|
40667
40636
|
:rtype: str
|
|
40668
40637
|
"""
|
|
40669
40638
|
return self._SignerName
|
|
@@ -40674,7 +40643,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40674
40643
|
|
|
40675
40644
|
@property
|
|
40676
40645
|
def SignTime(self):
|
|
40677
|
-
r"""
|
|
40646
|
+
r"""<p>签署时间的Unix时间戳,单位毫秒</p>
|
|
40678
40647
|
:rtype: int
|
|
40679
40648
|
"""
|
|
40680
40649
|
return self._SignTime
|
|
@@ -40685,7 +40654,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40685
40654
|
|
|
40686
40655
|
@property
|
|
40687
40656
|
def SignAlgorithm(self):
|
|
40688
|
-
r"""
|
|
40657
|
+
r"""<p>证书签名算法, 如SHA1withRSA等算法</p>
|
|
40689
40658
|
:rtype: str
|
|
40690
40659
|
"""
|
|
40691
40660
|
return self._SignAlgorithm
|
|
@@ -40696,7 +40665,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40696
40665
|
|
|
40697
40666
|
@property
|
|
40698
40667
|
def CertSn(self):
|
|
40699
|
-
r"""
|
|
40668
|
+
r"""<p>在数字证书申请过程中,系统会自动生成一个独一无二的序列号。</p>
|
|
40700
40669
|
:rtype: str
|
|
40701
40670
|
"""
|
|
40702
40671
|
return self._CertSn
|
|
@@ -40707,7 +40676,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40707
40676
|
|
|
40708
40677
|
@property
|
|
40709
40678
|
def CertNotBefore(self):
|
|
40710
|
-
r"""
|
|
40679
|
+
r"""<p>证书起始时间的Unix时间戳,单位毫秒</p>
|
|
40711
40680
|
:rtype: int
|
|
40712
40681
|
"""
|
|
40713
40682
|
return self._CertNotBefore
|
|
@@ -40718,7 +40687,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40718
40687
|
|
|
40719
40688
|
@property
|
|
40720
40689
|
def CertNotAfter(self):
|
|
40721
|
-
r"""
|
|
40690
|
+
r"""<p>证书过期时间的时间戳,单位毫秒</p>
|
|
40722
40691
|
:rtype: int
|
|
40723
40692
|
"""
|
|
40724
40693
|
return self._CertNotAfter
|
|
@@ -40729,7 +40698,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40729
40698
|
|
|
40730
40699
|
@property
|
|
40731
40700
|
def ComponentPosX(self):
|
|
40732
|
-
r"""
|
|
40701
|
+
r"""<p>签名域横坐标,单位px</p>
|
|
40733
40702
|
:rtype: float
|
|
40734
40703
|
"""
|
|
40735
40704
|
return self._ComponentPosX
|
|
@@ -40740,7 +40709,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40740
40709
|
|
|
40741
40710
|
@property
|
|
40742
40711
|
def ComponentPosY(self):
|
|
40743
|
-
r"""
|
|
40712
|
+
r"""<p>签名域纵坐标,单位px</p>
|
|
40744
40713
|
:rtype: float
|
|
40745
40714
|
"""
|
|
40746
40715
|
return self._ComponentPosY
|
|
@@ -40751,7 +40720,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40751
40720
|
|
|
40752
40721
|
@property
|
|
40753
40722
|
def ComponentWidth(self):
|
|
40754
|
-
r"""
|
|
40723
|
+
r"""<p>签名域宽度,单位px</p>
|
|
40755
40724
|
:rtype: float
|
|
40756
40725
|
"""
|
|
40757
40726
|
return self._ComponentWidth
|
|
@@ -40762,7 +40731,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40762
40731
|
|
|
40763
40732
|
@property
|
|
40764
40733
|
def ComponentHeight(self):
|
|
40765
|
-
r"""
|
|
40734
|
+
r"""<p>签名域高度,单位px</p>
|
|
40766
40735
|
:rtype: float
|
|
40767
40736
|
"""
|
|
40768
40737
|
return self._ComponentHeight
|
|
@@ -40773,7 +40742,7 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40773
40742
|
|
|
40774
40743
|
@property
|
|
40775
40744
|
def ComponentPage(self):
|
|
40776
|
-
r"""
|
|
40745
|
+
r"""<p>签名域所在页码,1~N</p>
|
|
40777
40746
|
:rtype: int
|
|
40778
40747
|
"""
|
|
40779
40748
|
return self._ComponentPage
|
|
@@ -40782,6 +40751,28 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40782
40751
|
def ComponentPage(self, ComponentPage):
|
|
40783
40752
|
self._ComponentPage = ComponentPage
|
|
40784
40753
|
|
|
40754
|
+
@property
|
|
40755
|
+
def CertProvider(self):
|
|
40756
|
+
r"""<p>证书颁发机构</p>
|
|
40757
|
+
:rtype: str
|
|
40758
|
+
"""
|
|
40759
|
+
return self._CertProvider
|
|
40760
|
+
|
|
40761
|
+
@CertProvider.setter
|
|
40762
|
+
def CertProvider(self, CertProvider):
|
|
40763
|
+
self._CertProvider = CertProvider
|
|
40764
|
+
|
|
40765
|
+
@property
|
|
40766
|
+
def IsTimestampTrust(self):
|
|
40767
|
+
r"""<p>是否有可信时间戳</p>
|
|
40768
|
+
:rtype: bool
|
|
40769
|
+
"""
|
|
40770
|
+
return self._IsTimestampTrust
|
|
40771
|
+
|
|
40772
|
+
@IsTimestampTrust.setter
|
|
40773
|
+
def IsTimestampTrust(self, IsTimestampTrust):
|
|
40774
|
+
self._IsTimestampTrust = IsTimestampTrust
|
|
40775
|
+
|
|
40785
40776
|
|
|
40786
40777
|
def _deserialize(self, params):
|
|
40787
40778
|
self._VerifyResult = params.get("VerifyResult")
|
|
@@ -40797,6 +40788,8 @@ class PdfVerifyResult(AbstractModel):
|
|
|
40797
40788
|
self._ComponentWidth = params.get("ComponentWidth")
|
|
40798
40789
|
self._ComponentHeight = params.get("ComponentHeight")
|
|
40799
40790
|
self._ComponentPage = params.get("ComponentPage")
|
|
40791
|
+
self._CertProvider = params.get("CertProvider")
|
|
40792
|
+
self._IsTimestampTrust = params.get("IsTimestampTrust")
|
|
40800
40793
|
memeber_set = set(params.keys())
|
|
40801
40794
|
for name, value in vars(self).items():
|
|
40802
40795
|
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.187
|
|
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.187
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.187
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.176
|
|
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
|