tencentcloud-sdk-python-ess 3.1.108__tar.gz → 3.1.110__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud/ess/v20201111/ess_client.py +58 -1
  5. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud/ess/v20201111/ess_client_async.py +48 -1
  6. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud/ess/v20201111/models.py +650 -0
  7. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud_sdk_python_ess.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_ess-3.1.110/tencentcloud_sdk_python_ess.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_ess-3.1.108/tencentcloud_sdk_python_ess.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/README.rst +0 -0
  11. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud/ess/__init__.py +0 -0
  13. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud/ess/v20201111/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud/ess/v20201111/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud_sdk_python_ess.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/tencentcloud_sdk_python_ess.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ess-3.1.108 → tencentcloud_sdk_python_ess-3.1.110}/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.108
3
+ Version: 3.1.110
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.108
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.110
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.108,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.110,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Ess SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.108'
17
+ __version__ = '3.1.110'
@@ -180,6 +180,40 @@ class EssClient(AbstractClient):
180
180
  raise TencentCloudSDKException(type(e).__name__, str(e))
181
181
 
182
182
 
183
+ def CreateArchiveFlowTask(self, request):
184
+ r"""创建合同归档任务
185
+
186
+ 合同归档接口用于将外部系统生成的合同、线下签署完成的合同或历史存量合同归档至腾讯电子签系统,实现合同统一管理。
187
+
188
+ 调用方提交合同文件资源、合同基础信息、签署方信息等数据后,系统将异步创建归档任务进行处理。归档成功后,系统会生成唯一的归档合同 ID(ArchivedFlowId),用于后续合同查询和管理。
189
+
190
+ 合同归档流程:
191
+
192
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/1c99715285540088b97a0435895736a1.png)
193
+ 1. 使用<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">UploadFiles</a> 上传文件返回resourceId
194
+ 2. 根据resourceId调用CreateArchiveFlowTask创建合同归档任务返回任务id
195
+ 3. 通过任务ID查询合同归档任务状态
196
+
197
+ :param request: Request instance for CreateArchiveFlowTask.
198
+ :type request: :class:`tencentcloud.ess.v20201111.models.CreateArchiveFlowTaskRequest`
199
+ :rtype: :class:`tencentcloud.ess.v20201111.models.CreateArchiveFlowTaskResponse`
200
+
201
+ """
202
+ try:
203
+ params = request._serialize()
204
+ headers = request.headers
205
+ body = self.call("CreateArchiveFlowTask", params, headers=headers)
206
+ response = json.loads(body)
207
+ model = models.CreateArchiveFlowTaskResponse()
208
+ model._deserialize(response["Response"])
209
+ return model
210
+ except Exception as e:
211
+ if isinstance(e, TencentCloudSDKException):
212
+ raise
213
+ else:
214
+ raise TencentCloudSDKException(type(e).__name__, str(e))
215
+
216
+
183
217
  def CreateBatchAdminChangeInvitations(self, request):
184
218
  r"""本接口(CreateBatchAdminChangeInvitations)用于批量创建企业超管信息变更。
185
219
  该接口为提交任务接口,如果需要获得链接, 需要使用接口创建超管变更链接(CreateBatchAdminChangeInvitationsUrl)。
@@ -1356,7 +1390,7 @@ class EssClient(AbstractClient):
1356
1390
 
1357
1391
  1. 发起合同时,**签署人的NotifyType需设置为sms**
1358
1392
  2. 合同中当前状态为 **待签署** 的签署人是催办的对象
1359
- 3. **每个合同只能催办一次**
1393
+ 3. **每个合同的每个签署方只能催办一次**
1360
1394
 
1361
1395
  **催办的效果**: 对方会收到如下的短信通知
1362
1396
 
@@ -2708,6 +2742,29 @@ class EssClient(AbstractClient):
2708
2742
  raise TencentCloudSDKException(type(e).__name__, str(e))
2709
2743
 
2710
2744
 
2745
+ def DescribeArchiveFlowTask(self, request):
2746
+ r"""查询归档任务的执行结果, 用于获取合同归档任务的当前处理状态及执行结果。
2747
+
2748
+ :param request: Request instance for DescribeArchiveFlowTask.
2749
+ :type request: :class:`tencentcloud.ess.v20201111.models.DescribeArchiveFlowTaskRequest`
2750
+ :rtype: :class:`tencentcloud.ess.v20201111.models.DescribeArchiveFlowTaskResponse`
2751
+
2752
+ """
2753
+ try:
2754
+ params = request._serialize()
2755
+ headers = request.headers
2756
+ body = self.call("DescribeArchiveFlowTask", params, headers=headers)
2757
+ response = json.loads(body)
2758
+ model = models.DescribeArchiveFlowTaskResponse()
2759
+ model._deserialize(response["Response"])
2760
+ return model
2761
+ except Exception as e:
2762
+ if isinstance(e, TencentCloudSDKException):
2763
+ raise
2764
+ else:
2765
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2766
+
2767
+
2711
2768
  def DescribeBatchOrganizationRegistrationTasks(self, request):
2712
2769
  r"""本接口(DescribeBatchOrganizationRegistrationTasks)用于查询企业批量认证任务状态。
2713
2770
 
@@ -154,6 +154,35 @@ class EssClient(AbstractClient):
154
154
 
155
155
  return await self.call_and_deserialize(**kwargs)
156
156
 
157
+ async def CreateArchiveFlowTask(
158
+ self,
159
+ request: models.CreateArchiveFlowTaskRequest,
160
+ opts: Dict = None,
161
+ ) -> models.CreateArchiveFlowTaskResponse:
162
+ """
163
+ 创建合同归档任务
164
+
165
+ 合同归档接口用于将外部系统生成的合同、线下签署完成的合同或历史存量合同归档至腾讯电子签系统,实现合同统一管理。
166
+
167
+ 调用方提交合同文件资源、合同基础信息、签署方信息等数据后,系统将异步创建归档任务进行处理。归档成功后,系统会生成唯一的归档合同 ID(ArchivedFlowId),用于后续合同查询和管理。
168
+
169
+ 合同归档流程:
170
+
171
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/1c99715285540088b97a0435895736a1.png)
172
+ 1. 使用<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">UploadFiles</a> 上传文件返回resourceId
173
+ 2. 根据resourceId调用CreateArchiveFlowTask创建合同归档任务返回任务id
174
+ 3. 通过任务ID查询合同归档任务状态
175
+ """
176
+
177
+ kwargs = {}
178
+ kwargs["action"] = "CreateArchiveFlowTask"
179
+ kwargs["params"] = request._serialize()
180
+ kwargs["resp_cls"] = models.CreateArchiveFlowTaskResponse
181
+ kwargs["headers"] = request.headers
182
+ kwargs["opts"] = opts or {}
183
+
184
+ return await self.call_and_deserialize(**kwargs)
185
+
157
186
  async def CreateBatchAdminChangeInvitations(
158
187
  self,
159
188
  request: models.CreateBatchAdminChangeInvitationsRequest,
@@ -1170,7 +1199,7 @@ class EssClient(AbstractClient):
1170
1199
 
1171
1200
  1. 发起合同时,**签署人的NotifyType需设置为sms**
1172
1201
  2. 合同中当前状态为 **待签署** 的签署人是催办的对象
1173
- 3. **每个合同只能催办一次**
1202
+ 3. **每个合同的每个签署方只能催办一次**
1174
1203
 
1175
1204
  **催办的效果**: 对方会收到如下的短信通知
1176
1205
 
@@ -2297,6 +2326,24 @@ class EssClient(AbstractClient):
2297
2326
 
2298
2327
  return await self.call_and_deserialize(**kwargs)
2299
2328
 
2329
+ async def DescribeArchiveFlowTask(
2330
+ self,
2331
+ request: models.DescribeArchiveFlowTaskRequest,
2332
+ opts: Dict = None,
2333
+ ) -> models.DescribeArchiveFlowTaskResponse:
2334
+ """
2335
+ 查询归档任务的执行结果, 用于获取合同归档任务的当前处理状态及执行结果。
2336
+ """
2337
+
2338
+ kwargs = {}
2339
+ kwargs["action"] = "DescribeArchiveFlowTask"
2340
+ kwargs["params"] = request._serialize()
2341
+ kwargs["resp_cls"] = models.DescribeArchiveFlowTaskResponse
2342
+ kwargs["headers"] = request.headers
2343
+ kwargs["opts"] = opts or {}
2344
+
2345
+ return await self.call_and_deserialize(**kwargs)
2346
+
2300
2347
  async def DescribeBatchOrganizationRegistrationTasks(
2301
2348
  self,
2302
2349
  request: models.DescribeBatchOrganizationRegistrationTasksRequest,
@@ -1304,6 +1304,243 @@ class ArchiveDynamicFlowResponse(AbstractModel):
1304
1304
  self._RequestId = params.get("RequestId")
1305
1305
 
1306
1306
 
1307
+ class ArchiveFlowApproverInfo(AbstractModel):
1308
+ r"""归档合同的参与人信息
1309
+
1310
+ """
1311
+
1312
+ def __init__(self):
1313
+ r"""
1314
+ :param _ApproverName: <p>个人签署人姓名,如果传入,必须是证件上的真实中文名;中文名最长 25 个字符;</p>
1315
+ :type ApproverName: str
1316
+ :param _ApproverType: <p>参与者类型,用于区分个人或企业,可选类型如下:<br><strong>0</strong>:企业<br><strong>1</strong>:个人</p>
1317
+ :type ApproverType: int
1318
+ :param _OrganizationName: <p>企业签署方名称。长度不超过 200 个字符。<br>如果名称中包含英文括号(),请使用中文括号()代替。<br>如果签署方是企业签署方(approverType = 0 ), 则企业名称必填。</p>
1319
+ :type OrganizationName: str
1320
+ :param _ApproverMobile: <p>签署人手机号,必须是合法手机号。</p>
1321
+ :type ApproverMobile: str
1322
+ :param _ApproverEmail: <p>签署人邮箱, 必须是合法邮箱格式。</p>
1323
+ :type ApproverEmail: str
1324
+ :param _ApproverIdCardType: <p>签署方经办人的证件类型,支持以下类型,样式可以参考<a href="https://qian.tencent.com/developers/partner/id_card_support/" target="_blank">常见个人证件类型介绍</a></p><ul><li>ID_CARD 中国大陆居民身份证 (默认值)</li><li>HONGKONG_AND_MACAO 港澳居民来往内地通行证</li><li>HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)</li><li>OTHER_CARD_TYPE 其他证件</li></ul>
1325
+ :type ApproverIdCardType: str
1326
+ :param _ApproverIdCardNumber: <p>签署方经办人的证件号码,应符合以下规则</p><ul><li>中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li><li>中国港澳居民来往内地通行证号码共11位。第1位为字母,“H”字头签发给中国香港居民,“M”字头签发给中国澳门居民;第2位至第11位为数字。</li><li>中国港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
1327
+ :type ApproverIdCardNumber: str
1328
+ :param _ApproveTime: <p>当前参与者的签署时间,Unix 秒级时间戳。</p>
1329
+ :type ApproveTime: int
1330
+ """
1331
+ self._ApproverName = None
1332
+ self._ApproverType = None
1333
+ self._OrganizationName = None
1334
+ self._ApproverMobile = None
1335
+ self._ApproverEmail = None
1336
+ self._ApproverIdCardType = None
1337
+ self._ApproverIdCardNumber = None
1338
+ self._ApproveTime = None
1339
+
1340
+ @property
1341
+ def ApproverName(self):
1342
+ r"""<p>个人签署人姓名,如果传入,必须是证件上的真实中文名;中文名最长 25 个字符;</p>
1343
+ :rtype: str
1344
+ """
1345
+ return self._ApproverName
1346
+
1347
+ @ApproverName.setter
1348
+ def ApproverName(self, ApproverName):
1349
+ self._ApproverName = ApproverName
1350
+
1351
+ @property
1352
+ def ApproverType(self):
1353
+ r"""<p>参与者类型,用于区分个人或企业,可选类型如下:<br><strong>0</strong>:企业<br><strong>1</strong>:个人</p>
1354
+ :rtype: int
1355
+ """
1356
+ return self._ApproverType
1357
+
1358
+ @ApproverType.setter
1359
+ def ApproverType(self, ApproverType):
1360
+ self._ApproverType = ApproverType
1361
+
1362
+ @property
1363
+ def OrganizationName(self):
1364
+ r"""<p>企业签署方名称。长度不超过 200 个字符。<br>如果名称中包含英文括号(),请使用中文括号()代替。<br>如果签署方是企业签署方(approverType = 0 ), 则企业名称必填。</p>
1365
+ :rtype: str
1366
+ """
1367
+ return self._OrganizationName
1368
+
1369
+ @OrganizationName.setter
1370
+ def OrganizationName(self, OrganizationName):
1371
+ self._OrganizationName = OrganizationName
1372
+
1373
+ @property
1374
+ def ApproverMobile(self):
1375
+ r"""<p>签署人手机号,必须是合法手机号。</p>
1376
+ :rtype: str
1377
+ """
1378
+ return self._ApproverMobile
1379
+
1380
+ @ApproverMobile.setter
1381
+ def ApproverMobile(self, ApproverMobile):
1382
+ self._ApproverMobile = ApproverMobile
1383
+
1384
+ @property
1385
+ def ApproverEmail(self):
1386
+ r"""<p>签署人邮箱, 必须是合法邮箱格式。</p>
1387
+ :rtype: str
1388
+ """
1389
+ return self._ApproverEmail
1390
+
1391
+ @ApproverEmail.setter
1392
+ def ApproverEmail(self, ApproverEmail):
1393
+ self._ApproverEmail = ApproverEmail
1394
+
1395
+ @property
1396
+ def ApproverIdCardType(self):
1397
+ r"""<p>签署方经办人的证件类型,支持以下类型,样式可以参考<a href="https://qian.tencent.com/developers/partner/id_card_support/" target="_blank">常见个人证件类型介绍</a></p><ul><li>ID_CARD 中国大陆居民身份证 (默认值)</li><li>HONGKONG_AND_MACAO 港澳居民来往内地通行证</li><li>HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)</li><li>OTHER_CARD_TYPE 其他证件</li></ul>
1398
+ :rtype: str
1399
+ """
1400
+ return self._ApproverIdCardType
1401
+
1402
+ @ApproverIdCardType.setter
1403
+ def ApproverIdCardType(self, ApproverIdCardType):
1404
+ self._ApproverIdCardType = ApproverIdCardType
1405
+
1406
+ @property
1407
+ def ApproverIdCardNumber(self):
1408
+ r"""<p>签署方经办人的证件号码,应符合以下规则</p><ul><li>中国大陆居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li><li>中国港澳居民来往内地通行证号码共11位。第1位为字母,“H”字头签发给中国香港居民,“M”字头签发给中国澳门居民;第2位至第11位为数字。</li><li>中国港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
1409
+ :rtype: str
1410
+ """
1411
+ return self._ApproverIdCardNumber
1412
+
1413
+ @ApproverIdCardNumber.setter
1414
+ def ApproverIdCardNumber(self, ApproverIdCardNumber):
1415
+ self._ApproverIdCardNumber = ApproverIdCardNumber
1416
+
1417
+ @property
1418
+ def ApproveTime(self):
1419
+ r"""<p>当前参与者的签署时间,Unix 秒级时间戳。</p>
1420
+ :rtype: int
1421
+ """
1422
+ return self._ApproveTime
1423
+
1424
+ @ApproveTime.setter
1425
+ def ApproveTime(self, ApproveTime):
1426
+ self._ApproveTime = ApproveTime
1427
+
1428
+
1429
+ def _deserialize(self, params):
1430
+ self._ApproverName = params.get("ApproverName")
1431
+ self._ApproverType = params.get("ApproverType")
1432
+ self._OrganizationName = params.get("OrganizationName")
1433
+ self._ApproverMobile = params.get("ApproverMobile")
1434
+ self._ApproverEmail = params.get("ApproverEmail")
1435
+ self._ApproverIdCardType = params.get("ApproverIdCardType")
1436
+ self._ApproverIdCardNumber = params.get("ApproverIdCardNumber")
1437
+ self._ApproveTime = params.get("ApproveTime")
1438
+ memeber_set = set(params.keys())
1439
+ for name, value in vars(self).items():
1440
+ property_name = name[1:]
1441
+ if property_name in memeber_set:
1442
+ memeber_set.remove(property_name)
1443
+ if len(memeber_set) > 0:
1444
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1445
+
1446
+
1447
+
1448
+ class ArchiveFlowResult(AbstractModel):
1449
+ r"""归档合同结果
1450
+
1451
+ """
1452
+
1453
+ def __init__(self):
1454
+ r"""
1455
+ :param _FlowId: <p>归档合同id</p>
1456
+ :type FlowId: str
1457
+ :param _ArchiveFlowStatus: <p>合同处理结果</p><p>枚举值:</p><ul><li>0: 成功</li><li>1: 失败</li></ul>
1458
+ :type ArchiveFlowStatus: int
1459
+ :param _BusinessId: <p>业务自定义id</p>
1460
+ :type BusinessId: str
1461
+ :param _ResourceIdList: <p>资源ID列表</p>
1462
+ :type ResourceIdList: list of str
1463
+ :param _ErrorMessage: <p>错误信息</p>
1464
+ :type ErrorMessage: str
1465
+ """
1466
+ self._FlowId = None
1467
+ self._ArchiveFlowStatus = None
1468
+ self._BusinessId = None
1469
+ self._ResourceIdList = None
1470
+ self._ErrorMessage = None
1471
+
1472
+ @property
1473
+ def FlowId(self):
1474
+ r"""<p>归档合同id</p>
1475
+ :rtype: str
1476
+ """
1477
+ return self._FlowId
1478
+
1479
+ @FlowId.setter
1480
+ def FlowId(self, FlowId):
1481
+ self._FlowId = FlowId
1482
+
1483
+ @property
1484
+ def ArchiveFlowStatus(self):
1485
+ r"""<p>合同处理结果</p><p>枚举值:</p><ul><li>0: 成功</li><li>1: 失败</li></ul>
1486
+ :rtype: int
1487
+ """
1488
+ return self._ArchiveFlowStatus
1489
+
1490
+ @ArchiveFlowStatus.setter
1491
+ def ArchiveFlowStatus(self, ArchiveFlowStatus):
1492
+ self._ArchiveFlowStatus = ArchiveFlowStatus
1493
+
1494
+ @property
1495
+ def BusinessId(self):
1496
+ r"""<p>业务自定义id</p>
1497
+ :rtype: str
1498
+ """
1499
+ return self._BusinessId
1500
+
1501
+ @BusinessId.setter
1502
+ def BusinessId(self, BusinessId):
1503
+ self._BusinessId = BusinessId
1504
+
1505
+ @property
1506
+ def ResourceIdList(self):
1507
+ r"""<p>资源ID列表</p>
1508
+ :rtype: list of str
1509
+ """
1510
+ return self._ResourceIdList
1511
+
1512
+ @ResourceIdList.setter
1513
+ def ResourceIdList(self, ResourceIdList):
1514
+ self._ResourceIdList = ResourceIdList
1515
+
1516
+ @property
1517
+ def ErrorMessage(self):
1518
+ r"""<p>错误信息</p>
1519
+ :rtype: str
1520
+ """
1521
+ return self._ErrorMessage
1522
+
1523
+ @ErrorMessage.setter
1524
+ def ErrorMessage(self, ErrorMessage):
1525
+ self._ErrorMessage = ErrorMessage
1526
+
1527
+
1528
+ def _deserialize(self, params):
1529
+ self._FlowId = params.get("FlowId")
1530
+ self._ArchiveFlowStatus = params.get("ArchiveFlowStatus")
1531
+ self._BusinessId = params.get("BusinessId")
1532
+ self._ResourceIdList = params.get("ResourceIdList")
1533
+ self._ErrorMessage = params.get("ErrorMessage")
1534
+ memeber_set = set(params.keys())
1535
+ for name, value in vars(self).items():
1536
+ property_name = name[1:]
1537
+ if property_name in memeber_set:
1538
+ memeber_set.remove(property_name)
1539
+ if len(memeber_set) > 0:
1540
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1541
+
1542
+
1543
+
1307
1544
  class AuthInfoDetail(AbstractModel):
1308
1545
  r"""企业扩展服务授权列表详情
1309
1546
 
@@ -4762,6 +4999,303 @@ class ContractSummaryInfo(AbstractModel):
4762
4999
 
4763
5000
 
4764
5001
 
5002
+ class CreateArchiveFlow(AbstractModel):
5003
+ r"""创建归档合同信息
5004
+
5005
+ """
5006
+
5007
+ def __init__(self):
5008
+ r"""
5009
+ :param _ResourceIds: <p>合同文件的资源id,使用<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">UploadFiles</a> 上传文件返回resourceId,目前一个合同只能支持一个资源ID。</p>
5010
+ :type ResourceIds: list of str
5011
+ :param _FlowName: <p>合同名称,不传时系统会使用合同资源文件名作为合同名称;最终合同名称不能为空;长度不能超过200,只能由中文、字母、数字和下划线组成。</p>
5012
+ :type FlowName: str
5013
+ :param _FlowType: <p>合同类型,自定义文本字符串,长度不能超过200。</p>
5014
+ :type FlowType: str
5015
+ :param _BusinessId: <p>调用方业务系统中的合同业务编号,可以用于外部系统和归档合同做关联,长度不超过 128 字节</p>
5016
+ :type BusinessId: str
5017
+ :param _CreatorName: <p>合同发起方/创建人名称,用于归档合同展示和检索,长度不超过 32 字符</p>
5018
+ :type CreatorName: str
5019
+ :param _ApproverInfo: <p>签署人信息列表,用于记录合同由哪些个人或企业签署,最多 50 个参与者。</p>
5020
+ :type ApproverInfo: list of ArchiveFlowApproverInfo
5021
+ :param _CcInfo: <p>关注人信息列表,用于记录合同关注对象,最多 50 个关注者。</p>
5022
+ :type CcInfo: list of ArchiveFlowApproverInfo
5023
+ :param _UserData: <p>调用方自定义透传数据,可用于保存业务扩展信息,长度不超过 20480 字节。</p>
5024
+ :type UserData: str
5025
+ :param _FlowDescription: <p>合同描述/备注信息,长度不超过 1000 个字符</p>
5026
+ :type FlowDescription: str
5027
+ :param _ApproveTime: <p>合同签署完成时间,Unix 秒级时间戳</p>
5028
+ :type ApproveTime: int
5029
+ :param _CustomCreatedOn: <p>合同发起时间/合同原始创建时间,Unix 秒级时间戳</p>
5030
+ :type CustomCreatedOn: int
5031
+ """
5032
+ self._ResourceIds = None
5033
+ self._FlowName = None
5034
+ self._FlowType = None
5035
+ self._BusinessId = None
5036
+ self._CreatorName = None
5037
+ self._ApproverInfo = None
5038
+ self._CcInfo = None
5039
+ self._UserData = None
5040
+ self._FlowDescription = None
5041
+ self._ApproveTime = None
5042
+ self._CustomCreatedOn = None
5043
+
5044
+ @property
5045
+ def ResourceIds(self):
5046
+ r"""<p>合同文件的资源id,使用<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">UploadFiles</a> 上传文件返回resourceId,目前一个合同只能支持一个资源ID。</p>
5047
+ :rtype: list of str
5048
+ """
5049
+ return self._ResourceIds
5050
+
5051
+ @ResourceIds.setter
5052
+ def ResourceIds(self, ResourceIds):
5053
+ self._ResourceIds = ResourceIds
5054
+
5055
+ @property
5056
+ def FlowName(self):
5057
+ r"""<p>合同名称,不传时系统会使用合同资源文件名作为合同名称;最终合同名称不能为空;长度不能超过200,只能由中文、字母、数字和下划线组成。</p>
5058
+ :rtype: str
5059
+ """
5060
+ return self._FlowName
5061
+
5062
+ @FlowName.setter
5063
+ def FlowName(self, FlowName):
5064
+ self._FlowName = FlowName
5065
+
5066
+ @property
5067
+ def FlowType(self):
5068
+ r"""<p>合同类型,自定义文本字符串,长度不能超过200。</p>
5069
+ :rtype: str
5070
+ """
5071
+ return self._FlowType
5072
+
5073
+ @FlowType.setter
5074
+ def FlowType(self, FlowType):
5075
+ self._FlowType = FlowType
5076
+
5077
+ @property
5078
+ def BusinessId(self):
5079
+ r"""<p>调用方业务系统中的合同业务编号,可以用于外部系统和归档合同做关联,长度不超过 128 字节</p>
5080
+ :rtype: str
5081
+ """
5082
+ return self._BusinessId
5083
+
5084
+ @BusinessId.setter
5085
+ def BusinessId(self, BusinessId):
5086
+ self._BusinessId = BusinessId
5087
+
5088
+ @property
5089
+ def CreatorName(self):
5090
+ r"""<p>合同发起方/创建人名称,用于归档合同展示和检索,长度不超过 32 字符</p>
5091
+ :rtype: str
5092
+ """
5093
+ return self._CreatorName
5094
+
5095
+ @CreatorName.setter
5096
+ def CreatorName(self, CreatorName):
5097
+ self._CreatorName = CreatorName
5098
+
5099
+ @property
5100
+ def ApproverInfo(self):
5101
+ r"""<p>签署人信息列表,用于记录合同由哪些个人或企业签署,最多 50 个参与者。</p>
5102
+ :rtype: list of ArchiveFlowApproverInfo
5103
+ """
5104
+ return self._ApproverInfo
5105
+
5106
+ @ApproverInfo.setter
5107
+ def ApproverInfo(self, ApproverInfo):
5108
+ self._ApproverInfo = ApproverInfo
5109
+
5110
+ @property
5111
+ def CcInfo(self):
5112
+ r"""<p>关注人信息列表,用于记录合同关注对象,最多 50 个关注者。</p>
5113
+ :rtype: list of ArchiveFlowApproverInfo
5114
+ """
5115
+ return self._CcInfo
5116
+
5117
+ @CcInfo.setter
5118
+ def CcInfo(self, CcInfo):
5119
+ self._CcInfo = CcInfo
5120
+
5121
+ @property
5122
+ def UserData(self):
5123
+ r"""<p>调用方自定义透传数据,可用于保存业务扩展信息,长度不超过 20480 字节。</p>
5124
+ :rtype: str
5125
+ """
5126
+ return self._UserData
5127
+
5128
+ @UserData.setter
5129
+ def UserData(self, UserData):
5130
+ self._UserData = UserData
5131
+
5132
+ @property
5133
+ def FlowDescription(self):
5134
+ r"""<p>合同描述/备注信息,长度不超过 1000 个字符</p>
5135
+ :rtype: str
5136
+ """
5137
+ return self._FlowDescription
5138
+
5139
+ @FlowDescription.setter
5140
+ def FlowDescription(self, FlowDescription):
5141
+ self._FlowDescription = FlowDescription
5142
+
5143
+ @property
5144
+ def ApproveTime(self):
5145
+ r"""<p>合同签署完成时间,Unix 秒级时间戳</p>
5146
+ :rtype: int
5147
+ """
5148
+ return self._ApproveTime
5149
+
5150
+ @ApproveTime.setter
5151
+ def ApproveTime(self, ApproveTime):
5152
+ self._ApproveTime = ApproveTime
5153
+
5154
+ @property
5155
+ def CustomCreatedOn(self):
5156
+ r"""<p>合同发起时间/合同原始创建时间,Unix 秒级时间戳</p>
5157
+ :rtype: int
5158
+ """
5159
+ return self._CustomCreatedOn
5160
+
5161
+ @CustomCreatedOn.setter
5162
+ def CustomCreatedOn(self, CustomCreatedOn):
5163
+ self._CustomCreatedOn = CustomCreatedOn
5164
+
5165
+
5166
+ def _deserialize(self, params):
5167
+ self._ResourceIds = params.get("ResourceIds")
5168
+ self._FlowName = params.get("FlowName")
5169
+ self._FlowType = params.get("FlowType")
5170
+ self._BusinessId = params.get("BusinessId")
5171
+ self._CreatorName = params.get("CreatorName")
5172
+ if params.get("ApproverInfo") is not None:
5173
+ self._ApproverInfo = []
5174
+ for item in params.get("ApproverInfo"):
5175
+ obj = ArchiveFlowApproverInfo()
5176
+ obj._deserialize(item)
5177
+ self._ApproverInfo.append(obj)
5178
+ if params.get("CcInfo") is not None:
5179
+ self._CcInfo = []
5180
+ for item in params.get("CcInfo"):
5181
+ obj = ArchiveFlowApproverInfo()
5182
+ obj._deserialize(item)
5183
+ self._CcInfo.append(obj)
5184
+ self._UserData = params.get("UserData")
5185
+ self._FlowDescription = params.get("FlowDescription")
5186
+ self._ApproveTime = params.get("ApproveTime")
5187
+ self._CustomCreatedOn = params.get("CustomCreatedOn")
5188
+ memeber_set = set(params.keys())
5189
+ for name, value in vars(self).items():
5190
+ property_name = name[1:]
5191
+ if property_name in memeber_set:
5192
+ memeber_set.remove(property_name)
5193
+ if len(memeber_set) > 0:
5194
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5195
+
5196
+
5197
+
5198
+ class CreateArchiveFlowTaskRequest(AbstractModel):
5199
+ r"""CreateArchiveFlowTask请求参数结构体
5200
+
5201
+ """
5202
+
5203
+ def __init__(self):
5204
+ r"""
5205
+ :param _Operator: <p>执行本接口操作的员工信息。注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
5206
+ :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
5207
+ :param _ArchiveFlows: <p>归档合同列表,一次最多支持50个合同</p>
5208
+ :type ArchiveFlows: list of CreateArchiveFlow
5209
+ """
5210
+ self._Operator = None
5211
+ self._ArchiveFlows = None
5212
+
5213
+ @property
5214
+ def Operator(self):
5215
+ r"""<p>执行本接口操作的员工信息。注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
5216
+ :rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
5217
+ """
5218
+ return self._Operator
5219
+
5220
+ @Operator.setter
5221
+ def Operator(self, Operator):
5222
+ self._Operator = Operator
5223
+
5224
+ @property
5225
+ def ArchiveFlows(self):
5226
+ r"""<p>归档合同列表,一次最多支持50个合同</p>
5227
+ :rtype: list of CreateArchiveFlow
5228
+ """
5229
+ return self._ArchiveFlows
5230
+
5231
+ @ArchiveFlows.setter
5232
+ def ArchiveFlows(self, ArchiveFlows):
5233
+ self._ArchiveFlows = ArchiveFlows
5234
+
5235
+
5236
+ def _deserialize(self, params):
5237
+ if params.get("Operator") is not None:
5238
+ self._Operator = UserInfo()
5239
+ self._Operator._deserialize(params.get("Operator"))
5240
+ if params.get("ArchiveFlows") is not None:
5241
+ self._ArchiveFlows = []
5242
+ for item in params.get("ArchiveFlows"):
5243
+ obj = CreateArchiveFlow()
5244
+ obj._deserialize(item)
5245
+ self._ArchiveFlows.append(obj)
5246
+ memeber_set = set(params.keys())
5247
+ for name, value in vars(self).items():
5248
+ property_name = name[1:]
5249
+ if property_name in memeber_set:
5250
+ memeber_set.remove(property_name)
5251
+ if len(memeber_set) > 0:
5252
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5253
+
5254
+
5255
+
5256
+ class CreateArchiveFlowTaskResponse(AbstractModel):
5257
+ r"""CreateArchiveFlowTask返回参数结构体
5258
+
5259
+ """
5260
+
5261
+ def __init__(self):
5262
+ r"""
5263
+ :param _TaskId: <p>归档任务ID,后续使用 <a href="">查询归档任务状态</a>接口获取归档任务执行结果</p>
5264
+ :type TaskId: str
5265
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5266
+ :type RequestId: str
5267
+ """
5268
+ self._TaskId = None
5269
+ self._RequestId = None
5270
+
5271
+ @property
5272
+ def TaskId(self):
5273
+ r"""<p>归档任务ID,后续使用 <a href="">查询归档任务状态</a>接口获取归档任务执行结果</p>
5274
+ :rtype: str
5275
+ """
5276
+ return self._TaskId
5277
+
5278
+ @TaskId.setter
5279
+ def TaskId(self, TaskId):
5280
+ self._TaskId = TaskId
5281
+
5282
+ @property
5283
+ def RequestId(self):
5284
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5285
+ :rtype: str
5286
+ """
5287
+ return self._RequestId
5288
+
5289
+ @RequestId.setter
5290
+ def RequestId(self, RequestId):
5291
+ self._RequestId = RequestId
5292
+
5293
+
5294
+ def _deserialize(self, params):
5295
+ self._TaskId = params.get("TaskId")
5296
+ self._RequestId = params.get("RequestId")
5297
+
5298
+
4765
5299
  class CreateBatchAdminChangeInvitationsRequest(AbstractModel):
4766
5300
  r"""CreateBatchAdminChangeInvitations请求参数结构体
4767
5301
 
@@ -22822,6 +23356,122 @@ class Department(AbstractModel):
22822
23356
 
22823
23357
 
22824
23358
 
23359
+ class DescribeArchiveFlowTaskRequest(AbstractModel):
23360
+ r"""DescribeArchiveFlowTask请求参数结构体
23361
+
23362
+ """
23363
+
23364
+ def __init__(self):
23365
+ r"""
23366
+ :param _Operator: <p>执行本接口操作的员工信息。注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
23367
+ :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
23368
+ :param _TaskId: <p>任务id,<a href="">创建归档任务</a>时返回</p>
23369
+ :type TaskId: str
23370
+ """
23371
+ self._Operator = None
23372
+ self._TaskId = None
23373
+
23374
+ @property
23375
+ def Operator(self):
23376
+ r"""<p>执行本接口操作的员工信息。注: <code>在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。</code></p>
23377
+ :rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
23378
+ """
23379
+ return self._Operator
23380
+
23381
+ @Operator.setter
23382
+ def Operator(self, Operator):
23383
+ self._Operator = Operator
23384
+
23385
+ @property
23386
+ def TaskId(self):
23387
+ r"""<p>任务id,<a href="">创建归档任务</a>时返回</p>
23388
+ :rtype: str
23389
+ """
23390
+ return self._TaskId
23391
+
23392
+ @TaskId.setter
23393
+ def TaskId(self, TaskId):
23394
+ self._TaskId = TaskId
23395
+
23396
+
23397
+ def _deserialize(self, params):
23398
+ if params.get("Operator") is not None:
23399
+ self._Operator = UserInfo()
23400
+ self._Operator._deserialize(params.get("Operator"))
23401
+ self._TaskId = params.get("TaskId")
23402
+ memeber_set = set(params.keys())
23403
+ for name, value in vars(self).items():
23404
+ property_name = name[1:]
23405
+ if property_name in memeber_set:
23406
+ memeber_set.remove(property_name)
23407
+ if len(memeber_set) > 0:
23408
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23409
+
23410
+
23411
+
23412
+ class DescribeArchiveFlowTaskResponse(AbstractModel):
23413
+ r"""DescribeArchiveFlowTask返回参数结构体
23414
+
23415
+ """
23416
+
23417
+ def __init__(self):
23418
+ r"""
23419
+ :param _Status: <p>任务状态</p><p>枚举值:</p><ul><li>0: 待处理</li><li>1: 处理中</li><li>2: 任务完成</li><li>3: 任务完成(存在失败)</li></ul>
23420
+ :type Status: int
23421
+ :param _ArchiveFlowResults: <p>每条合同的处理结果,与创建任务的archive_flows列表顺序一致</p>
23422
+ :type ArchiveFlowResults: list of ArchiveFlowResult
23423
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23424
+ :type RequestId: str
23425
+ """
23426
+ self._Status = None
23427
+ self._ArchiveFlowResults = None
23428
+ self._RequestId = None
23429
+
23430
+ @property
23431
+ def Status(self):
23432
+ r"""<p>任务状态</p><p>枚举值:</p><ul><li>0: 待处理</li><li>1: 处理中</li><li>2: 任务完成</li><li>3: 任务完成(存在失败)</li></ul>
23433
+ :rtype: int
23434
+ """
23435
+ return self._Status
23436
+
23437
+ @Status.setter
23438
+ def Status(self, Status):
23439
+ self._Status = Status
23440
+
23441
+ @property
23442
+ def ArchiveFlowResults(self):
23443
+ r"""<p>每条合同的处理结果,与创建任务的archive_flows列表顺序一致</p>
23444
+ :rtype: list of ArchiveFlowResult
23445
+ """
23446
+ return self._ArchiveFlowResults
23447
+
23448
+ @ArchiveFlowResults.setter
23449
+ def ArchiveFlowResults(self, ArchiveFlowResults):
23450
+ self._ArchiveFlowResults = ArchiveFlowResults
23451
+
23452
+ @property
23453
+ def RequestId(self):
23454
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23455
+ :rtype: str
23456
+ """
23457
+ return self._RequestId
23458
+
23459
+ @RequestId.setter
23460
+ def RequestId(self, RequestId):
23461
+ self._RequestId = RequestId
23462
+
23463
+
23464
+ def _deserialize(self, params):
23465
+ self._Status = params.get("Status")
23466
+ if params.get("ArchiveFlowResults") is not None:
23467
+ self._ArchiveFlowResults = []
23468
+ for item in params.get("ArchiveFlowResults"):
23469
+ obj = ArchiveFlowResult()
23470
+ obj._deserialize(item)
23471
+ self._ArchiveFlowResults.append(obj)
23472
+ self._RequestId = params.get("RequestId")
23473
+
23474
+
22825
23475
  class DescribeBatchOrganizationRegistrationTasksRequest(AbstractModel):
22826
23476
  r"""DescribeBatchOrganizationRegistrationTasks请求参数结构体
22827
23477
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ess
3
- Version: 3.1.108
3
+ Version: 3.1.110
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.108
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.110
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.110
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.108