tencentcloud-sdk-python-faceid 3.0.1196__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.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/setup.py +1 -1
  3. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/v20180301/models.py +29 -1
  5. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-faceid-3.0.1214/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-faceid-3.0.1196/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/README.rst +0 -0
  9. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/__init__.py +0 -0
  11. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/v20180301/__init__.py +0 -0
  12. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
  14. {tencentcloud-sdk-python-faceid-3.0.1196 → tencentcloud-sdk-python-faceid-3.0.1214}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-faceid-3.0.1196 → 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.1196 → 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.1196
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.1196"],
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.1196'
17
+ __version__ = '3.0.1214'
@@ -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
@@ -1421,9 +1423,15 @@ Base64编码后的大小不超过8M,支持mp4、avi、flv格式。
1421
1423
  2- 传入的是视频类型
1422
1424
  其他 - 返回错误码InvalidParameter
1423
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
1424
1430
  """
1425
1431
  self._FaceInput = None
1426
1432
  self._FaceInputType = None
1433
+ self._Encryption = None
1434
+ self._EncryptedBody = None
1427
1435
 
1428
1436
  @property
1429
1437
  def FaceInput(self):
@@ -1441,10 +1449,30 @@ Base64编码后的大小不超过8M,支持mp4、avi、flv格式。
1441
1449
  def FaceInputType(self, FaceInputType):
1442
1450
  self._FaceInputType = FaceInputType
1443
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
+
1444
1468
 
1445
1469
  def _deserialize(self, params):
1446
1470
  self._FaceInput = params.get("FaceInput")
1447
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")
1448
1476
  memeber_set = set(params.keys())
1449
1477
  for name, value in vars(self).items():
1450
1478
  property_name = name[1:]
@@ -2821,7 +2849,7 @@ class Encryption(AbstractModel):
2821
2849
  :param _EncryptList: 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
2822
2850
  注意:此字段可能返回 null,表示取不到有效值。
2823
2851
  :type EncryptList: list of str
2824
- :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> 文档。
2825
2853
  注意:此字段可能返回 null,表示取不到有效值。
2826
2854
  :type CiphertextBlob: str
2827
2855
  :param _Iv: 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符)。
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.0.1196
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.1196