tencentcloud-sdk-python-faceid 3.0.1183__tar.gz → 3.0.1214__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-faceid might be problematic. Click here for more details.

Files changed (16) hide show
  1. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/setup.py +1 -1
  3. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/v20180301/errorcodes.py +1 -1
  5. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/v20180301/models.py +32 -1
  6. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-faceid-3.0.1214/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-faceid-3.0.1183/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/README.rst +0 -0
  10. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/__init__.py +0 -0
  12. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/v20180301/__init__.py +0 -0
  13. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
  14. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-faceid-3.0.1183 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.0.1183
3
+ Version: 3.0.1214
4
4
  Summary: Tencent Cloud Faceid SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-faceid',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1183"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1214"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Faceid SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1183'
17
+ __version__ = '3.0.1214'
@@ -104,7 +104,7 @@ FAILEDOPERATION_IDPHOTOPOORQUALITY = 'FailedOperation.IdPhotoPoorQuality'
104
104
  # 客户库自建库或认证中心返照失败,请稍后再试。
105
105
  FAILEDOPERATION_IDPHOTOSYSTEMNOANSWER = 'FailedOperation.IdPhotoSystemNoanswer'
106
106
 
107
- # 身份认证次数超限。默认:同一身份证号,1分钟15次,1天30次。如需提高限频,请联系慧眼小助手。
107
+ # 姓名/身份证号认证次数超过当日限制,请次日重试
108
108
  FAILEDOPERATION_IDENTITYAUTHLIMITEXCEEDED = 'FailedOperation.IdentityAuthLimitExceeded'
109
109
 
110
110
  # 图片模糊。
@@ -314,6 +314,7 @@ class BankCard4EVerificationResponse(AbstractModel):
314
314
  '-5': '手机号码不合法'
315
315
  '-18': '验证中心服务繁忙'
316
316
  '-19': '验证次数超限,请次日重试'
317
+ '-20': '该证件号暂不支持核验,当前仅支持二代身份证'
317
318
  :type Result: str
318
319
  :param _Description: 业务结果描述。
319
320
  :type Description: str
@@ -468,6 +469,7 @@ class BankCardVerificationResponse(AbstractModel):
468
469
  '-4': '银行卡号码有误'
469
470
  '-17': '验证中心服务繁忙'
470
471
  '-18': '验证次数超限,请次日重试'
472
+ '-19': '该证件号暂不支持核验,当前仅支持二代身份证'
471
473
  :type Result: str
472
474
  :param _Description: 业务结果描述。
473
475
  :type Description: str
@@ -1237,6 +1239,7 @@ class CheckIdNameDateResponse(AbstractModel):
1237
1239
  -5: 身份信息无效
1238
1240
  -6: 证件库服务异常
1239
1241
  -7: 证件库中无此身份证记录
1242
+ -8: 认证次数超过当日限制,请次日重试
1240
1243
  :type Result: str
1241
1244
  :param _Description: 业务结果描述。
1242
1245
  :type Description: str
@@ -1354,6 +1357,7 @@ class CheckPhoneAndNameResponse(AbstractModel):
1354
1357
  -3:引擎服务异常
1355
1358
  -4:姓名校验不通过
1356
1359
  -5:手机号码不合法
1360
+ -6: 认证次数超过当日限制,请次日重试
1357
1361
  :type Result: str
1358
1362
  :param _Description: 业务结果描述
1359
1363
  :type Description: str
@@ -1419,9 +1423,15 @@ Base64编码后的大小不超过8M,支持mp4、avi、flv格式。
1419
1423
  2- 传入的是视频类型
1420
1424
  其他 - 返回错误码InvalidParameter
1421
1425
  :type FaceInputType: int
1426
+ :param _Encryption: 是否需要对请求信息进行全包体加密; 支持的加密算法:AES-256-CBC、SM4-GCM; 有加密需求的用户可使用此参数,详情请点击左侧链接。
1427
+ :type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
1428
+ :param _EncryptedBody: 加密后的密文; 加密前的数据格式如下:{"FaceInput":"AAAAA","FaceInputType":1}
1429
+ :type EncryptedBody: str
1422
1430
  """
1423
1431
  self._FaceInput = None
1424
1432
  self._FaceInputType = None
1433
+ self._Encryption = None
1434
+ self._EncryptedBody = None
1425
1435
 
1426
1436
  @property
1427
1437
  def FaceInput(self):
@@ -1439,10 +1449,30 @@ Base64编码后的大小不超过8M,支持mp4、avi、flv格式。
1439
1449
  def FaceInputType(self, FaceInputType):
1440
1450
  self._FaceInputType = FaceInputType
1441
1451
 
1452
+ @property
1453
+ def Encryption(self):
1454
+ return self._Encryption
1455
+
1456
+ @Encryption.setter
1457
+ def Encryption(self, Encryption):
1458
+ self._Encryption = Encryption
1459
+
1460
+ @property
1461
+ def EncryptedBody(self):
1462
+ return self._EncryptedBody
1463
+
1464
+ @EncryptedBody.setter
1465
+ def EncryptedBody(self, EncryptedBody):
1466
+ self._EncryptedBody = EncryptedBody
1467
+
1442
1468
 
1443
1469
  def _deserialize(self, params):
1444
1470
  self._FaceInput = params.get("FaceInput")
1445
1471
  self._FaceInputType = params.get("FaceInputType")
1472
+ if params.get("Encryption") is not None:
1473
+ self._Encryption = Encryption()
1474
+ self._Encryption._deserialize(params.get("Encryption"))
1475
+ self._EncryptedBody = params.get("EncryptedBody")
1446
1476
  memeber_set = set(params.keys())
1447
1477
  for name, value in vars(self).items():
1448
1478
  property_name = name[1:]
@@ -2819,7 +2849,7 @@ class Encryption(AbstractModel):
2819
2849
  :param _EncryptList: 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
2820
2850
  注意:此字段可能返回 null,表示取不到有效值。
2821
2851
  :type EncryptList: list of str
2822
- :param _CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅<a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
2852
+ :param _CiphertextBlob: 加密后的对称密钥,关于密钥的生成和使用请查阅<a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
2823
2853
  注意:此字段可能返回 null,表示取不到有效值。
2824
2854
  :type CiphertextBlob: str
2825
2855
  :param _Iv: 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符)。
@@ -7708,6 +7738,7 @@ class PhoneVerificationResponse(AbstractModel):
7708
7738
  -8: 姓名校验不通过
7709
7739
  -9: 没有记录
7710
7740
  -11: 验证中心服务繁忙
7741
+ -12: 认证次数超过当日限制,请次日重试
7711
7742
  :type Result: str
7712
7743
  :param _Description: 业务结果描述。
7713
7744
  :type Description: str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.0.1183
3
+ Version: 3.0.1214
4
4
  Summary: Tencent Cloud Faceid SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1214
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1183