tencentcloud-sdk-python-ess 3.0.985__tar.gz → 3.0.986__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.0.985 → tencentcloud-sdk-python-ess-3.0.986}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/setup.py +1 -1
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud/ess/v20201111/ess_client.py +24 -1
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud/ess/v20201111/models.py +197 -10
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud_sdk_python_ess.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ess-3.0.986/tencentcloud_sdk_python_ess.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ess-3.0.985/tencentcloud_sdk_python_ess.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/README.rst +0 -0
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud/ess/__init__.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud/ess/v20201111/__init__.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud/ess/v20201111/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud_sdk_python_ess.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud_sdk_python_ess.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ess-3.0.985 → tencentcloud-sdk-python-ess-3.0.986}/tencentcloud_sdk_python_ess.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.986"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ess SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1158,7 +1158,7 @@ class EssClient(AbstractClient):
|
|
|
1158
1158
|
|
|
1159
1159
|
|
|
1160
1160
|
def DescribeFlowInfo(self, request):
|
|
1161
|
-
"""
|
|
1161
|
+
"""此接口用于查询合同流程的详情信息,支持查询多个(数量不能超过100)。
|
|
1162
1162
|
|
|
1163
1163
|
适用场景:可用于主动查询某个合同详情信息。
|
|
1164
1164
|
|
|
@@ -1336,6 +1336,29 @@ class EssClient(AbstractClient):
|
|
|
1336
1336
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1337
1337
|
|
|
1338
1338
|
|
|
1339
|
+
def DescribePersonCertificate(self, request):
|
|
1340
|
+
"""此接口(DescribePersonCertificate)用于查询个人数字证书信息。<br />注:`1.目前仅用于查询开通了医疗自动签署功能的个人数字证书。`<br />`2.调用此接口需要开通白名单,使用前请联系相关人员开通白名单。`
|
|
1341
|
+
|
|
1342
|
+
:param request: Request instance for DescribePersonCertificate.
|
|
1343
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.DescribePersonCertificateRequest`
|
|
1344
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.DescribePersonCertificateResponse`
|
|
1345
|
+
|
|
1346
|
+
"""
|
|
1347
|
+
try:
|
|
1348
|
+
params = request._serialize()
|
|
1349
|
+
headers = request.headers
|
|
1350
|
+
body = self.call("DescribePersonCertificate", params, headers=headers)
|
|
1351
|
+
response = json.loads(body)
|
|
1352
|
+
model = models.DescribePersonCertificateResponse()
|
|
1353
|
+
model._deserialize(response["Response"])
|
|
1354
|
+
return model
|
|
1355
|
+
except Exception as e:
|
|
1356
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1357
|
+
raise
|
|
1358
|
+
else:
|
|
1359
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1360
|
+
|
|
1361
|
+
|
|
1339
1362
|
def DescribeThirdPartyAuthCode(self, request):
|
|
1340
1363
|
"""通过AuthCode查询个人用户是否实名
|
|
1341
1364
|
|
|
@@ -148,6 +148,59 @@ class Agent(AbstractModel):
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
+
class ApproverComponentLimitType(AbstractModel):
|
|
152
|
+
"""签署方在使用个人印章签署控件(SIGN_SIGNATURE) 时可使用的签署方式
|
|
153
|
+
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
def __init__(self):
|
|
157
|
+
r"""
|
|
158
|
+
:param _RecipientId: 签署方经办人在模板中配置的参与方ID,与控件绑定,是控件的归属方,ID为32位字符串。
|
|
159
|
+
:type RecipientId: str
|
|
160
|
+
:param _Values: 签署方经办人控件类型是个人印章签署控件(SIGN_SIGNATURE) 时,可选的签名方式,可多选
|
|
161
|
+
|
|
162
|
+
签名方式:
|
|
163
|
+
<ul>
|
|
164
|
+
<li>HANDWRITE-手写签名</li>
|
|
165
|
+
<li>ESIGN-个人印章类型</li>
|
|
166
|
+
<li>OCR_ESIGN-AI智能识别手写签名</li>
|
|
167
|
+
<li>SYSTEM_ESIGN-系统签名</li>
|
|
168
|
+
</ul>
|
|
169
|
+
:type Values: list of str
|
|
170
|
+
"""
|
|
171
|
+
self._RecipientId = None
|
|
172
|
+
self._Values = None
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def RecipientId(self):
|
|
176
|
+
return self._RecipientId
|
|
177
|
+
|
|
178
|
+
@RecipientId.setter
|
|
179
|
+
def RecipientId(self, RecipientId):
|
|
180
|
+
self._RecipientId = RecipientId
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
def Values(self):
|
|
184
|
+
return self._Values
|
|
185
|
+
|
|
186
|
+
@Values.setter
|
|
187
|
+
def Values(self, Values):
|
|
188
|
+
self._Values = Values
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
def _deserialize(self, params):
|
|
192
|
+
self._RecipientId = params.get("RecipientId")
|
|
193
|
+
self._Values = params.get("Values")
|
|
194
|
+
memeber_set = set(params.keys())
|
|
195
|
+
for name, value in vars(self).items():
|
|
196
|
+
property_name = name[1:]
|
|
197
|
+
if property_name in memeber_set:
|
|
198
|
+
memeber_set.remove(property_name)
|
|
199
|
+
if len(memeber_set) > 0:
|
|
200
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
151
204
|
class ApproverInfo(AbstractModel):
|
|
152
205
|
"""参与者信息。
|
|
153
206
|
|
|
@@ -3657,7 +3710,7 @@ class CreateFlowGroupByTemplatesRequest(AbstractModel):
|
|
|
3657
3710
|
def __init__(self):
|
|
3658
3711
|
r"""
|
|
3659
3712
|
:param _Operator: 执行本接口操作的员工信息。
|
|
3660
|
-
注:
|
|
3713
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
3661
3714
|
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
3662
3715
|
:param _FlowGroupName: 合同(流程)组名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成。
|
|
3663
3716
|
:type FlowGroupName: str
|
|
@@ -5267,6 +5320,8 @@ class CreateMultiFlowSignQRCodeRequest(AbstractModel):
|
|
|
5267
5320
|
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
5268
5321
|
:param _ApproverRestrictions: 限制二维码用户条件(已弃用)
|
|
5269
5322
|
:type ApproverRestrictions: :class:`tencentcloud.ess.v20201111.models.ApproverRestriction`
|
|
5323
|
+
:param _ApproverComponentLimitTypes: 指定签署方在使用个人印章签署控件(SIGN_SIGNATURE) 时可使用的签署方式:自由书写、正楷临摹、系统签名、个人印章。
|
|
5324
|
+
:type ApproverComponentLimitTypes: list of ApproverComponentLimitType
|
|
5270
5325
|
"""
|
|
5271
5326
|
self._Operator = None
|
|
5272
5327
|
self._TemplateId = None
|
|
@@ -5279,6 +5334,7 @@ class CreateMultiFlowSignQRCodeRequest(AbstractModel):
|
|
|
5279
5334
|
self._CallbackUrl = None
|
|
5280
5335
|
self._Agent = None
|
|
5281
5336
|
self._ApproverRestrictions = None
|
|
5337
|
+
self._ApproverComponentLimitTypes = None
|
|
5282
5338
|
|
|
5283
5339
|
@property
|
|
5284
5340
|
def Operator(self):
|
|
@@ -5376,6 +5432,14 @@ class CreateMultiFlowSignQRCodeRequest(AbstractModel):
|
|
|
5376
5432
|
|
|
5377
5433
|
self._ApproverRestrictions = ApproverRestrictions
|
|
5378
5434
|
|
|
5435
|
+
@property
|
|
5436
|
+
def ApproverComponentLimitTypes(self):
|
|
5437
|
+
return self._ApproverComponentLimitTypes
|
|
5438
|
+
|
|
5439
|
+
@ApproverComponentLimitTypes.setter
|
|
5440
|
+
def ApproverComponentLimitTypes(self, ApproverComponentLimitTypes):
|
|
5441
|
+
self._ApproverComponentLimitTypes = ApproverComponentLimitTypes
|
|
5442
|
+
|
|
5379
5443
|
|
|
5380
5444
|
def _deserialize(self, params):
|
|
5381
5445
|
if params.get("Operator") is not None:
|
|
@@ -5400,6 +5464,12 @@ class CreateMultiFlowSignQRCodeRequest(AbstractModel):
|
|
|
5400
5464
|
if params.get("ApproverRestrictions") is not None:
|
|
5401
5465
|
self._ApproverRestrictions = ApproverRestriction()
|
|
5402
5466
|
self._ApproverRestrictions._deserialize(params.get("ApproverRestrictions"))
|
|
5467
|
+
if params.get("ApproverComponentLimitTypes") is not None:
|
|
5468
|
+
self._ApproverComponentLimitTypes = []
|
|
5469
|
+
for item in params.get("ApproverComponentLimitTypes"):
|
|
5470
|
+
obj = ApproverComponentLimitType()
|
|
5471
|
+
obj._deserialize(item)
|
|
5472
|
+
self._ApproverComponentLimitTypes.append(obj)
|
|
5403
5473
|
memeber_set = set(params.keys())
|
|
5404
5474
|
for name, value in vars(self).items():
|
|
5405
5475
|
property_name = name[1:]
|
|
@@ -8862,15 +8932,12 @@ class DescribeFlowInfoRequest(AbstractModel):
|
|
|
8862
8932
|
r"""
|
|
8863
8933
|
:param _Operator: 执行本接口操作的员工信息。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
8864
8934
|
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
8865
|
-
:param _FlowIds: 需要查询的流程ID
|
|
8866
|
-
|
|
8867
|
-
如果查询合同组的信息,不要传此参数
|
|
8935
|
+
:param _FlowIds: 需要查询的流程ID列表,最多可传入100个ID。
|
|
8936
|
+
如果要查询合同组的信息,则不需要传入此参数,只需传入 FlowGroupId 参数即可。
|
|
8868
8937
|
:type FlowIds: list of str
|
|
8869
8938
|
:param _Agent: 代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
8870
8939
|
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
8871
|
-
:param _FlowGroupId:
|
|
8872
|
-
所以如传此参数不要传FlowIds参数
|
|
8873
|
-
|
|
8940
|
+
:param _FlowGroupId: 需要查询的流程组ID,如果传入此参数,则会忽略 FlowIds 参数。该合同组由<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowGroupByFiles" target="_blank">通过多文件创建合同组签署流程</a>等接口创建。
|
|
8874
8941
|
:type FlowGroupId: str
|
|
8875
8942
|
"""
|
|
8876
8943
|
self._Operator = None
|
|
@@ -8937,11 +9004,12 @@ class DescribeFlowInfoResponse(AbstractModel):
|
|
|
8937
9004
|
|
|
8938
9005
|
def __init__(self):
|
|
8939
9006
|
r"""
|
|
8940
|
-
:param _FlowDetailInfos:
|
|
9007
|
+
:param _FlowDetailInfos: 合同流程的详细信息。
|
|
9008
|
+
如果查询的是合同组信息,则返回的是组内所有子合同流程的详细信息。
|
|
8941
9009
|
:type FlowDetailInfos: list of FlowDetailInfo
|
|
8942
|
-
:param _FlowGroupId: 合同组ID
|
|
9010
|
+
:param _FlowGroupId: 合同组ID,只有在查询合同组信息时才会返回。
|
|
8943
9011
|
:type FlowGroupId: str
|
|
8944
|
-
:param _FlowGroupName:
|
|
9012
|
+
:param _FlowGroupName: 合同组名称,只有在查询合同组信息时才会返回。
|
|
8945
9013
|
:type FlowGroupName: str
|
|
8946
9014
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8947
9015
|
:type RequestId: str
|
|
@@ -10150,6 +10218,125 @@ class DescribeOrganizationSealsResponse(AbstractModel):
|
|
|
10150
10218
|
self._RequestId = params.get("RequestId")
|
|
10151
10219
|
|
|
10152
10220
|
|
|
10221
|
+
class DescribePersonCertificateRequest(AbstractModel):
|
|
10222
|
+
"""DescribePersonCertificate请求参数结构体
|
|
10223
|
+
|
|
10224
|
+
"""
|
|
10225
|
+
|
|
10226
|
+
def __init__(self):
|
|
10227
|
+
r"""
|
|
10228
|
+
:param _Operator: 执行本接口操作的员工信息。
|
|
10229
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
10230
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
10231
|
+
:param _UserInfo: 个人用户的三要素信息:
|
|
10232
|
+
<ul><li>姓名</li>
|
|
10233
|
+
<li>证件号</li>
|
|
10234
|
+
<li>证件类型</li></ul>
|
|
10235
|
+
:type UserInfo: :class:`tencentcloud.ess.v20201111.models.UserThreeFactor`
|
|
10236
|
+
:param _Agent: 代理企业和员工的信息。
|
|
10237
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
10238
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
10239
|
+
:param _SceneKey: 证书使用场景,可以选择的场景值如下:
|
|
10240
|
+
<ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li></ul>
|
|
10241
|
+
注: `现在仅支持电子处方场景`
|
|
10242
|
+
:type SceneKey: str
|
|
10243
|
+
"""
|
|
10244
|
+
self._Operator = None
|
|
10245
|
+
self._UserInfo = None
|
|
10246
|
+
self._Agent = None
|
|
10247
|
+
self._SceneKey = None
|
|
10248
|
+
|
|
10249
|
+
@property
|
|
10250
|
+
def Operator(self):
|
|
10251
|
+
return self._Operator
|
|
10252
|
+
|
|
10253
|
+
@Operator.setter
|
|
10254
|
+
def Operator(self, Operator):
|
|
10255
|
+
self._Operator = Operator
|
|
10256
|
+
|
|
10257
|
+
@property
|
|
10258
|
+
def UserInfo(self):
|
|
10259
|
+
return self._UserInfo
|
|
10260
|
+
|
|
10261
|
+
@UserInfo.setter
|
|
10262
|
+
def UserInfo(self, UserInfo):
|
|
10263
|
+
self._UserInfo = UserInfo
|
|
10264
|
+
|
|
10265
|
+
@property
|
|
10266
|
+
def Agent(self):
|
|
10267
|
+
return self._Agent
|
|
10268
|
+
|
|
10269
|
+
@Agent.setter
|
|
10270
|
+
def Agent(self, Agent):
|
|
10271
|
+
self._Agent = Agent
|
|
10272
|
+
|
|
10273
|
+
@property
|
|
10274
|
+
def SceneKey(self):
|
|
10275
|
+
return self._SceneKey
|
|
10276
|
+
|
|
10277
|
+
@SceneKey.setter
|
|
10278
|
+
def SceneKey(self, SceneKey):
|
|
10279
|
+
self._SceneKey = SceneKey
|
|
10280
|
+
|
|
10281
|
+
|
|
10282
|
+
def _deserialize(self, params):
|
|
10283
|
+
if params.get("Operator") is not None:
|
|
10284
|
+
self._Operator = UserInfo()
|
|
10285
|
+
self._Operator._deserialize(params.get("Operator"))
|
|
10286
|
+
if params.get("UserInfo") is not None:
|
|
10287
|
+
self._UserInfo = UserThreeFactor()
|
|
10288
|
+
self._UserInfo._deserialize(params.get("UserInfo"))
|
|
10289
|
+
if params.get("Agent") is not None:
|
|
10290
|
+
self._Agent = Agent()
|
|
10291
|
+
self._Agent._deserialize(params.get("Agent"))
|
|
10292
|
+
self._SceneKey = params.get("SceneKey")
|
|
10293
|
+
memeber_set = set(params.keys())
|
|
10294
|
+
for name, value in vars(self).items():
|
|
10295
|
+
property_name = name[1:]
|
|
10296
|
+
if property_name in memeber_set:
|
|
10297
|
+
memeber_set.remove(property_name)
|
|
10298
|
+
if len(memeber_set) > 0:
|
|
10299
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10300
|
+
|
|
10301
|
+
|
|
10302
|
+
|
|
10303
|
+
class DescribePersonCertificateResponse(AbstractModel):
|
|
10304
|
+
"""DescribePersonCertificate返回参数结构体
|
|
10305
|
+
|
|
10306
|
+
"""
|
|
10307
|
+
|
|
10308
|
+
def __init__(self):
|
|
10309
|
+
r"""
|
|
10310
|
+
:param _Cert: 证书的Base64
|
|
10311
|
+
:type Cert: str
|
|
10312
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10313
|
+
:type RequestId: str
|
|
10314
|
+
"""
|
|
10315
|
+
self._Cert = None
|
|
10316
|
+
self._RequestId = None
|
|
10317
|
+
|
|
10318
|
+
@property
|
|
10319
|
+
def Cert(self):
|
|
10320
|
+
return self._Cert
|
|
10321
|
+
|
|
10322
|
+
@Cert.setter
|
|
10323
|
+
def Cert(self, Cert):
|
|
10324
|
+
self._Cert = Cert
|
|
10325
|
+
|
|
10326
|
+
@property
|
|
10327
|
+
def RequestId(self):
|
|
10328
|
+
return self._RequestId
|
|
10329
|
+
|
|
10330
|
+
@RequestId.setter
|
|
10331
|
+
def RequestId(self, RequestId):
|
|
10332
|
+
self._RequestId = RequestId
|
|
10333
|
+
|
|
10334
|
+
|
|
10335
|
+
def _deserialize(self, params):
|
|
10336
|
+
self._Cert = params.get("Cert")
|
|
10337
|
+
self._RequestId = params.get("RequestId")
|
|
10338
|
+
|
|
10339
|
+
|
|
10153
10340
|
class DescribeThirdPartyAuthCodeRequest(AbstractModel):
|
|
10154
10341
|
"""DescribeThirdPartyAuthCode请求参数结构体
|
|
10155
10342
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.986
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.985
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|