tencentcloud-sdk-python-ess 3.0.1102__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.1102 → tencentcloud-sdk-python-ess-3.0.1104}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/setup.py +1 -1
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/v20201111/errorcodes.py +3 -0
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/v20201111/ess_client.py +6 -5
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/v20201111/models.py +120 -0
- {tencentcloud-sdk-python-ess-3.0.1102 → 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.1102/tencentcloud_sdk_python_ess.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/README.rst +0 -0
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/__init__.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud/ess/v20201111/__init__.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud_sdk_python_ess.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ess-3.0.1102 → tencentcloud-sdk-python-ess-3.0.1104}/tencentcloud_sdk_python_ess.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ess-3.0.1102 → 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`
|
|
@@ -3900,6 +3900,8 @@ class CreateFlowByFilesRequest(AbstractModel):
|
|
|
3900
3900
|
:param _FlowDescription: 合同流程描述信息(可自定义此描述),最大长度1000个字符。
|
|
3901
3901
|
:type FlowDescription: str
|
|
3902
3902
|
:param _FlowType: 合同流程的类别分类(可自定义名称,如销售合同/入职合同等),最大长度为200个字符,仅限中文、字母、数字和下划线组成。
|
|
3903
|
+
如果用户已经在控制台创建了自定义合同类型,可以将这里的类型名称传入。 如果没有创建,我们会自动给发起方公司创建此自定义合同类型。
|
|
3904
|
+

|
|
3903
3905
|
:type FlowType: str
|
|
3904
3906
|
:param _Components: 模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体
|
|
3905
3907
|
<ul><li> 单行文本控件 </li>
|
|
@@ -5176,6 +5178,7 @@ class CreateFlowRequest(AbstractModel):
|
|
|
5176
5178
|
:param _FlowDescription: 合同流程描述信息(可自定义此描述),最大长度1000个字符。
|
|
5177
5179
|
:type FlowDescription: str
|
|
5178
5180
|
:param _FlowType: 合同流程的类别分类(可自定义名称,如销售合同/入职合同等),最大长度为200个字符,仅限中文、字母、数字和下划线组成。
|
|
5181
|
+
此合同类型需要跟模板配置的合同类型保持一致。
|
|
5179
5182
|
:type FlowType: str
|
|
5180
5183
|
:param _ClientToken: 已经废弃字段,客户端Token,保持接口幂等性,最大长度64个字符
|
|
5181
5184
|
:type ClientToken: str
|
|
@@ -13389,6 +13392,7 @@ class FillApproverInfo(AbstractModel):
|
|
|
13389
13392
|
- RecipientId 必须指定
|
|
13390
13393
|
- 通过企业微信自定义账号ID补充签署人时,ApproverSource 和 CustomUserId 必填,ApproverSource取值:WEWORKAPP
|
|
13391
13394
|
- 通过二要素(姓名/手机号)补充签署人时,ApproverName 和 ApproverMobile 必填,ApproverSource设置为空
|
|
13395
|
+
- 补充个人签署方时,若该用户已在电子签完成实名则可通过指定姓名和证件类型、证件号码完成补充
|
|
13392
13396
|
|
|
13393
13397
|
"""
|
|
13394
13398
|
|
|
@@ -13412,6 +13416,22 @@ WEWORKAPP: 企业微信
|
|
|
13412
13416
|
:type ApproverMobile: str
|
|
13413
13417
|
:param _OrganizationName: 补充企业动态签署人时,需要指定对应企业名称
|
|
13414
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
|
|
13415
13435
|
"""
|
|
13416
13436
|
self._RecipientId = None
|
|
13417
13437
|
self._ApproverSource = None
|
|
@@ -13419,6 +13439,8 @@ WEWORKAPP: 企业微信
|
|
|
13419
13439
|
self._ApproverName = None
|
|
13420
13440
|
self._ApproverMobile = None
|
|
13421
13441
|
self._OrganizationName = None
|
|
13442
|
+
self._ApproverIdCardType = None
|
|
13443
|
+
self._ApproverIdCardNumber = None
|
|
13422
13444
|
|
|
13423
13445
|
@property
|
|
13424
13446
|
def RecipientId(self):
|
|
@@ -13468,6 +13490,22 @@ WEWORKAPP: 企业微信
|
|
|
13468
13490
|
def OrganizationName(self, OrganizationName):
|
|
13469
13491
|
self._OrganizationName = OrganizationName
|
|
13470
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
|
+
|
|
13471
13509
|
|
|
13472
13510
|
def _deserialize(self, params):
|
|
13473
13511
|
self._RecipientId = params.get("RecipientId")
|
|
@@ -13476,6 +13514,8 @@ WEWORKAPP: 企业微信
|
|
|
13476
13514
|
self._ApproverName = params.get("ApproverName")
|
|
13477
13515
|
self._ApproverMobile = params.get("ApproverMobile")
|
|
13478
13516
|
self._OrganizationName = params.get("OrganizationName")
|
|
13517
|
+
self._ApproverIdCardType = params.get("ApproverIdCardType")
|
|
13518
|
+
self._ApproverIdCardNumber = params.get("ApproverIdCardNumber")
|
|
13479
13519
|
memeber_set = set(params.keys())
|
|
13480
13520
|
for name, value in vars(self).items():
|
|
13481
13521
|
property_name = name[1:]
|
|
@@ -19375,6 +19415,14 @@ class TemplateInfo(AbstractModel):
|
|
|
19375
19415
|
可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
|
|
19376
19416
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19377
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`
|
|
19378
19426
|
:param _TemplateVersion: 模板版本的编号,旨在标识其独特的版本信息,通常呈现为一串字符串,由日期和递增的数字组成
|
|
19379
19427
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19380
19428
|
:type TemplateVersion: str
|
|
@@ -19413,6 +19461,7 @@ class TemplateInfo(AbstractModel):
|
|
|
19413
19461
|
self._OrganizationId = None
|
|
19414
19462
|
self._CreatorId = None
|
|
19415
19463
|
self._PreviewUrl = None
|
|
19464
|
+
self._UserFlowType = None
|
|
19416
19465
|
self._TemplateVersion = None
|
|
19417
19466
|
self._Published = None
|
|
19418
19467
|
self._ShareTemplateId = None
|
|
@@ -19571,6 +19620,14 @@ class TemplateInfo(AbstractModel):
|
|
|
19571
19620
|
def PreviewUrl(self, PreviewUrl):
|
|
19572
19621
|
self._PreviewUrl = PreviewUrl
|
|
19573
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
|
+
|
|
19574
19631
|
@property
|
|
19575
19632
|
def TemplateVersion(self):
|
|
19576
19633
|
return self._TemplateVersion
|
|
@@ -19658,6 +19715,9 @@ class TemplateInfo(AbstractModel):
|
|
|
19658
19715
|
self._OrganizationId = params.get("OrganizationId")
|
|
19659
19716
|
self._CreatorId = params.get("CreatorId")
|
|
19660
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"))
|
|
19661
19721
|
self._TemplateVersion = params.get("TemplateVersion")
|
|
19662
19722
|
self._Published = params.get("Published")
|
|
19663
19723
|
self._ShareTemplateId = params.get("ShareTemplateId")
|
|
@@ -20205,6 +20265,66 @@ class UploadFilesResponse(AbstractModel):
|
|
|
20205
20265
|
self._RequestId = params.get("RequestId")
|
|
20206
20266
|
|
|
20207
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
|
+
|
|
20208
20328
|
class UserInfo(AbstractModel):
|
|
20209
20329
|
"""用户信息
|
|
20210
20330
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1104
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1102
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|