tencentcloud-sdk-python-ess 3.0.1103__tar.gz → 3.0.1104__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.1103 → tencentcloud-sdk-python-ess-3.0.1104}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/setup.py +1 -1
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/v20201111/errorcodes.py +3 -0
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/v20201111/ess_client.py +6 -5
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/v20201111/models.py +117 -0
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud_sdk_python_ess.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ess-3.0.1104/tencentcloud_sdk_python_ess.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ess-3.0.1103/tencentcloud_sdk_python_ess.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/README.rst +0 -0
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/__init__.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/v20201111/__init__.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud_sdk_python_ess.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud_sdk_python_ess.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ess-3.0.1103 → tencentcloud-sdk-python-ess-3.0.1104}/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.1104"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ess SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -305,6 +305,9 @@ INVALIDPARAMETER_SEALID = 'InvalidParameter.SealId'
|
|
|
305
305
|
# 参数包含有敏感词
|
|
306
306
|
INVALIDPARAMETER_SENSITIVE = 'InvalidParameter.Sensitive'
|
|
307
307
|
|
|
308
|
+
# 上传的文件包含敏感(不合规)的内容,请确认。
|
|
309
|
+
INVALIDPARAMETER_SENSITIVEFILECONTENT = 'InvalidParameter.SensitiveFileContent'
|
|
310
|
+
|
|
308
311
|
# 参数错误,暂不支持该种签署控件类型
|
|
309
312
|
INVALIDPARAMETER_SIGNCOMPONENTTYPE = 'InvalidParameter.SignComponentType'
|
|
310
313
|
|
|
@@ -445,13 +445,14 @@ class EssClient(AbstractClient):
|
|
|
445
445
|
|
|
446
446
|
|
|
447
447
|
def CreateFlowApprovers(self, request):
|
|
448
|
-
"""适用场景:
|
|
449
|
-
当通过模板或文件发起合同时,若未指定企业签署人信息,则可调用此接口补充或添加签署人。同一签署人可补充多个员工作为或签署人,最终实际签署人取决于谁先领取合同完成签署。
|
|
448
|
+
"""适用场景: 当通过模板或文件发起合同时,若未指定企业签署人信息,则可调用此接口补充或添加签署人。同一签署人可补充多个员工作为或签署人,最终实际签署人取决于谁先领取合同完成签署。
|
|
450
449
|
|
|
451
450
|
限制条件:
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
451
|
+
|
|
452
|
+
1.本企业(发起方企业)企业微信签署人仅支持通过企业微信UserId或姓名+手机号进行补充。
|
|
453
|
+
2.本企业(发起方企业)非企业微信签署人仅支持通过姓名+手机号进行补充。
|
|
454
|
+
3.他方企业仅支持通过姓名+手机号进行补充。
|
|
455
|
+
4.个人签署人支持通过姓名+手机号进行补充,补充动态签署人时:若个人用户已完成实名,则可通过姓名+证件号码进行补充。
|
|
455
456
|
|
|
456
457
|
:param request: Request instance for CreateFlowApprovers.
|
|
457
458
|
:type request: :class:`tencentcloud.ess.v20201111.models.CreateFlowApproversRequest`
|
|
@@ -13392,6 +13392,7 @@ class FillApproverInfo(AbstractModel):
|
|
|
13392
13392
|
- RecipientId 必须指定
|
|
13393
13393
|
- 通过企业微信自定义账号ID补充签署人时,ApproverSource 和 CustomUserId 必填,ApproverSource取值:WEWORKAPP
|
|
13394
13394
|
- 通过二要素(姓名/手机号)补充签署人时,ApproverName 和 ApproverMobile 必填,ApproverSource设置为空
|
|
13395
|
+
- 补充个人签署方时,若该用户已在电子签完成实名则可通过指定姓名和证件类型、证件号码完成补充
|
|
13395
13396
|
|
|
13396
13397
|
"""
|
|
13397
13398
|
|
|
@@ -13415,6 +13416,22 @@ WEWORKAPP: 企业微信
|
|
|
13415
13416
|
:type ApproverMobile: str
|
|
13416
13417
|
:param _OrganizationName: 补充企业动态签署人时,需要指定对应企业名称
|
|
13417
13418
|
:type OrganizationName: str
|
|
13419
|
+
:param _ApproverIdCardType: 签署方经办人的证件类型,支持以下类型
|
|
13420
|
+
<ul><li>ID_CARD 居民身份证</li>
|
|
13421
|
+
<li>HONGKONG_AND_MACAO 港澳居民来往内地通行证</li>
|
|
13422
|
+
<li>HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)</li>
|
|
13423
|
+
<li>OTHER_CARD_TYPE 其他证件</li></ul>
|
|
13424
|
+
|
|
13425
|
+
注: `1.其他证件类型为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
13426
|
+
`2.补充个人签署方时,若该用户已在电子签完成实名则可通过指定姓名和证件类型、证件号码完成补充。`
|
|
13427
|
+
:type ApproverIdCardType: str
|
|
13428
|
+
:param _ApproverIdCardNumber: 签署方经办人的证件号码,应符合以下规则
|
|
13429
|
+
<ul><li>居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li>
|
|
13430
|
+
<li>港澳居民来往内地通行证号码应为9位字符串,第1位为“C”,第2位为英文字母(但“I”、“O”除外),后7位为阿拉伯数字。</li>
|
|
13431
|
+
<li>港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
|
|
13432
|
+
|
|
13433
|
+
注:`补充个人签署方时,若该用户已在电子签完成实名则可通过指定姓名和证件类型、证件号码完成补充。`
|
|
13434
|
+
:type ApproverIdCardNumber: str
|
|
13418
13435
|
"""
|
|
13419
13436
|
self._RecipientId = None
|
|
13420
13437
|
self._ApproverSource = None
|
|
@@ -13422,6 +13439,8 @@ WEWORKAPP: 企业微信
|
|
|
13422
13439
|
self._ApproverName = None
|
|
13423
13440
|
self._ApproverMobile = None
|
|
13424
13441
|
self._OrganizationName = None
|
|
13442
|
+
self._ApproverIdCardType = None
|
|
13443
|
+
self._ApproverIdCardNumber = None
|
|
13425
13444
|
|
|
13426
13445
|
@property
|
|
13427
13446
|
def RecipientId(self):
|
|
@@ -13471,6 +13490,22 @@ WEWORKAPP: 企业微信
|
|
|
13471
13490
|
def OrganizationName(self, OrganizationName):
|
|
13472
13491
|
self._OrganizationName = OrganizationName
|
|
13473
13492
|
|
|
13493
|
+
@property
|
|
13494
|
+
def ApproverIdCardType(self):
|
|
13495
|
+
return self._ApproverIdCardType
|
|
13496
|
+
|
|
13497
|
+
@ApproverIdCardType.setter
|
|
13498
|
+
def ApproverIdCardType(self, ApproverIdCardType):
|
|
13499
|
+
self._ApproverIdCardType = ApproverIdCardType
|
|
13500
|
+
|
|
13501
|
+
@property
|
|
13502
|
+
def ApproverIdCardNumber(self):
|
|
13503
|
+
return self._ApproverIdCardNumber
|
|
13504
|
+
|
|
13505
|
+
@ApproverIdCardNumber.setter
|
|
13506
|
+
def ApproverIdCardNumber(self, ApproverIdCardNumber):
|
|
13507
|
+
self._ApproverIdCardNumber = ApproverIdCardNumber
|
|
13508
|
+
|
|
13474
13509
|
|
|
13475
13510
|
def _deserialize(self, params):
|
|
13476
13511
|
self._RecipientId = params.get("RecipientId")
|
|
@@ -13479,6 +13514,8 @@ WEWORKAPP: 企业微信
|
|
|
13479
13514
|
self._ApproverName = params.get("ApproverName")
|
|
13480
13515
|
self._ApproverMobile = params.get("ApproverMobile")
|
|
13481
13516
|
self._OrganizationName = params.get("OrganizationName")
|
|
13517
|
+
self._ApproverIdCardType = params.get("ApproverIdCardType")
|
|
13518
|
+
self._ApproverIdCardNumber = params.get("ApproverIdCardNumber")
|
|
13482
13519
|
memeber_set = set(params.keys())
|
|
13483
13520
|
for name, value in vars(self).items():
|
|
13484
13521
|
property_name = name[1:]
|
|
@@ -19378,6 +19415,14 @@ class TemplateInfo(AbstractModel):
|
|
|
19378
19415
|
可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
|
|
19379
19416
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19380
19417
|
:type PreviewUrl: str
|
|
19418
|
+
:param _UserFlowType: 用户自定义合同类型。
|
|
19419
|
+
|
|
19420
|
+
返回配置模板的时候选择的合同类型。[点击查看配置的位置](https://qcloudimg.tencent-cloud.cn/raw/4a766f0540253bf2a05d50c58bd14990.png)
|
|
19421
|
+
|
|
19422
|
+
自定义合同类型配置的地方如链接图所示。[点击查看自定义合同类型管理的位置](https://qcloudimg.tencent-cloud.cn/raw/36582cea03ae6a2559894844942b5d5c.png)
|
|
19423
|
+
|
|
19424
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19425
|
+
:type UserFlowType: :class:`tencentcloud.ess.v20201111.models.UserFlowType`
|
|
19381
19426
|
:param _TemplateVersion: 模板版本的编号,旨在标识其独特的版本信息,通常呈现为一串字符串,由日期和递增的数字组成
|
|
19382
19427
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19383
19428
|
:type TemplateVersion: str
|
|
@@ -19416,6 +19461,7 @@ class TemplateInfo(AbstractModel):
|
|
|
19416
19461
|
self._OrganizationId = None
|
|
19417
19462
|
self._CreatorId = None
|
|
19418
19463
|
self._PreviewUrl = None
|
|
19464
|
+
self._UserFlowType = None
|
|
19419
19465
|
self._TemplateVersion = None
|
|
19420
19466
|
self._Published = None
|
|
19421
19467
|
self._ShareTemplateId = None
|
|
@@ -19574,6 +19620,14 @@ class TemplateInfo(AbstractModel):
|
|
|
19574
19620
|
def PreviewUrl(self, PreviewUrl):
|
|
19575
19621
|
self._PreviewUrl = PreviewUrl
|
|
19576
19622
|
|
|
19623
|
+
@property
|
|
19624
|
+
def UserFlowType(self):
|
|
19625
|
+
return self._UserFlowType
|
|
19626
|
+
|
|
19627
|
+
@UserFlowType.setter
|
|
19628
|
+
def UserFlowType(self, UserFlowType):
|
|
19629
|
+
self._UserFlowType = UserFlowType
|
|
19630
|
+
|
|
19577
19631
|
@property
|
|
19578
19632
|
def TemplateVersion(self):
|
|
19579
19633
|
return self._TemplateVersion
|
|
@@ -19661,6 +19715,9 @@ class TemplateInfo(AbstractModel):
|
|
|
19661
19715
|
self._OrganizationId = params.get("OrganizationId")
|
|
19662
19716
|
self._CreatorId = params.get("CreatorId")
|
|
19663
19717
|
self._PreviewUrl = params.get("PreviewUrl")
|
|
19718
|
+
if params.get("UserFlowType") is not None:
|
|
19719
|
+
self._UserFlowType = UserFlowType()
|
|
19720
|
+
self._UserFlowType._deserialize(params.get("UserFlowType"))
|
|
19664
19721
|
self._TemplateVersion = params.get("TemplateVersion")
|
|
19665
19722
|
self._Published = params.get("Published")
|
|
19666
19723
|
self._ShareTemplateId = params.get("ShareTemplateId")
|
|
@@ -20208,6 +20265,66 @@ class UploadFilesResponse(AbstractModel):
|
|
|
20208
20265
|
self._RequestId = params.get("RequestId")
|
|
20209
20266
|
|
|
20210
20267
|
|
|
20268
|
+
class UserFlowType(AbstractModel):
|
|
20269
|
+
"""用户自定义合同类型, 自定义合同类型的管理可以[点击查看在控制台位置的截图](https://qcloudimg.tencent-cloud.cn/raw/85a9b2ebce07b0cd6d75d5327d538235.png)
|
|
20270
|
+
|
|
20271
|
+
"""
|
|
20272
|
+
|
|
20273
|
+
def __init__(self):
|
|
20274
|
+
r"""
|
|
20275
|
+
:param _UserFlowTypeId: 合同类型ID
|
|
20276
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20277
|
+
:type UserFlowTypeId: str
|
|
20278
|
+
:param _Name: 合同类型名称
|
|
20279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20280
|
+
:type Name: str
|
|
20281
|
+
:param _Description: 合同类型说明
|
|
20282
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20283
|
+
:type Description: str
|
|
20284
|
+
"""
|
|
20285
|
+
self._UserFlowTypeId = None
|
|
20286
|
+
self._Name = None
|
|
20287
|
+
self._Description = None
|
|
20288
|
+
|
|
20289
|
+
@property
|
|
20290
|
+
def UserFlowTypeId(self):
|
|
20291
|
+
return self._UserFlowTypeId
|
|
20292
|
+
|
|
20293
|
+
@UserFlowTypeId.setter
|
|
20294
|
+
def UserFlowTypeId(self, UserFlowTypeId):
|
|
20295
|
+
self._UserFlowTypeId = UserFlowTypeId
|
|
20296
|
+
|
|
20297
|
+
@property
|
|
20298
|
+
def Name(self):
|
|
20299
|
+
return self._Name
|
|
20300
|
+
|
|
20301
|
+
@Name.setter
|
|
20302
|
+
def Name(self, Name):
|
|
20303
|
+
self._Name = Name
|
|
20304
|
+
|
|
20305
|
+
@property
|
|
20306
|
+
def Description(self):
|
|
20307
|
+
return self._Description
|
|
20308
|
+
|
|
20309
|
+
@Description.setter
|
|
20310
|
+
def Description(self, Description):
|
|
20311
|
+
self._Description = Description
|
|
20312
|
+
|
|
20313
|
+
|
|
20314
|
+
def _deserialize(self, params):
|
|
20315
|
+
self._UserFlowTypeId = params.get("UserFlowTypeId")
|
|
20316
|
+
self._Name = params.get("Name")
|
|
20317
|
+
self._Description = params.get("Description")
|
|
20318
|
+
memeber_set = set(params.keys())
|
|
20319
|
+
for name, value in vars(self).items():
|
|
20320
|
+
property_name = name[1:]
|
|
20321
|
+
if property_name in memeber_set:
|
|
20322
|
+
memeber_set.remove(property_name)
|
|
20323
|
+
if len(memeber_set) > 0:
|
|
20324
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20325
|
+
|
|
20326
|
+
|
|
20327
|
+
|
|
20211
20328
|
class UserInfo(AbstractModel):
|
|
20212
20329
|
"""用户信息
|
|
20213
20330
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1104
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1103
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|