tencentcloud-sdk-python-faceid 3.0.1056__tar.gz → 3.0.1062__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.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/setup.py +1 -1
  3. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/tencentcloud/faceid/v20180301/models.py +115 -2
  5. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-faceid-3.0.1062/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-faceid-3.0.1056/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/README.rst +0 -0
  9. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/tencentcloud/faceid/__init__.py +0 -0
  11. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/tencentcloud/faceid/v20180301/__init__.py +0 -0
  12. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
  14. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-faceid-3.0.1056 → tencentcloud-sdk-python-faceid-3.0.1062}/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.1056
3
+ Version: 3.0.1062
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.1056"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1062"],
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.1056'
17
+ __version__ = '3.0.1062'
@@ -1465,11 +1465,14 @@ High:高度疑似攻击
1465
1465
  说明:未检测到攻击痕迹时,返回空数组
1466
1466
  此出参仅作为结果判断的参考,实际应用仍建议使用AttackRiskLevel的结果。
1467
1467
  :type AttackRiskDetailList: list of AttackRiskDetail
1468
+ :param _ExtraInfo: 额外信息
1469
+ :type ExtraInfo: :class:`tencentcloud.faceid.v20180301.models.ExtraInfo`
1468
1470
  :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1469
1471
  :type RequestId: str
1470
1472
  """
1471
1473
  self._AttackRiskLevel = None
1472
1474
  self._AttackRiskDetailList = None
1475
+ self._ExtraInfo = None
1473
1476
  self._RequestId = None
1474
1477
 
1475
1478
  @property
@@ -1488,6 +1491,14 @@ High:高度疑似攻击
1488
1491
  def AttackRiskDetailList(self, AttackRiskDetailList):
1489
1492
  self._AttackRiskDetailList = AttackRiskDetailList
1490
1493
 
1494
+ @property
1495
+ def ExtraInfo(self):
1496
+ return self._ExtraInfo
1497
+
1498
+ @ExtraInfo.setter
1499
+ def ExtraInfo(self, ExtraInfo):
1500
+ self._ExtraInfo = ExtraInfo
1501
+
1491
1502
  @property
1492
1503
  def RequestId(self):
1493
1504
  return self._RequestId
@@ -1505,6 +1516,9 @@ High:高度疑似攻击
1505
1516
  obj = AttackRiskDetail()
1506
1517
  obj._deserialize(item)
1507
1518
  self._AttackRiskDetailList.append(obj)
1519
+ if params.get("ExtraInfo") is not None:
1520
+ self._ExtraInfo = ExtraInfo()
1521
+ self._ExtraInfo._deserialize(params.get("ExtraInfo"))
1508
1522
  self._RequestId = params.get("RequestId")
1509
1523
 
1510
1524
 
@@ -2875,6 +2889,45 @@ class Encryption(AbstractModel):
2875
2889
 
2876
2890
 
2877
2891
 
2892
+ class ExtraInfo(AbstractModel):
2893
+ """额外的详细信息
2894
+
2895
+ """
2896
+
2897
+ def __init__(self):
2898
+ r"""
2899
+ :param _RetrievalLivenessExtraInfo: 命中模板的详细信息,仅返回命中的相似度最高的模板信息
2900
+ 注意:此字段可能返回 null,表示取不到有效值。
2901
+ :type RetrievalLivenessExtraInfo: list of RetrievalLivenessExtraInfo
2902
+ """
2903
+ self._RetrievalLivenessExtraInfo = None
2904
+
2905
+ @property
2906
+ def RetrievalLivenessExtraInfo(self):
2907
+ return self._RetrievalLivenessExtraInfo
2908
+
2909
+ @RetrievalLivenessExtraInfo.setter
2910
+ def RetrievalLivenessExtraInfo(self, RetrievalLivenessExtraInfo):
2911
+ self._RetrievalLivenessExtraInfo = RetrievalLivenessExtraInfo
2912
+
2913
+
2914
+ def _deserialize(self, params):
2915
+ if params.get("RetrievalLivenessExtraInfo") is not None:
2916
+ self._RetrievalLivenessExtraInfo = []
2917
+ for item in params.get("RetrievalLivenessExtraInfo"):
2918
+ obj = RetrievalLivenessExtraInfo()
2919
+ obj._deserialize(item)
2920
+ self._RetrievalLivenessExtraInfo.append(obj)
2921
+ memeber_set = set(params.keys())
2922
+ for name, value in vars(self).items():
2923
+ property_name = name[1:]
2924
+ if property_name in memeber_set:
2925
+ memeber_set.remove(property_name)
2926
+ if len(memeber_set) > 0:
2927
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2928
+
2929
+
2930
+
2878
2931
  class GetActionSequenceRequest(AbstractModel):
2879
2932
  """GetActionSequence请求参数结构体
2880
2933
 
@@ -5091,7 +5144,7 @@ class IntentionActionResult(AbstractModel):
5091
5144
  -301: "意愿核验不通过"
5092
5145
  -800: "前端不兼容错误"
5093
5146
  -801: "用户未授权摄像头和麦克风权限"
5094
- -802: "获取视频流失败"
5147
+ -802: "核验流程异常中断,请勿切屏或进行其他操作"
5095
5148
  -803: "用户主动关闭链接/异常断开链接"
5096
5149
  -998: "系统数据异常"
5097
5150
  -999: "系统未知错误,请联系人工核实"
@@ -5267,7 +5320,7 @@ class IntentionQuestionResult(AbstractModel):
5267
5320
  -301: "意愿核验不通过"
5268
5321
  -800: "前端不兼容错误"
5269
5322
  -801: "用户未授权摄像头和麦克风权限"
5270
- -802: "获取视频流失败"
5323
+ -802: "核验流程异常中断,请勿切屏或进行其他操作"
5271
5324
  -803: "用户主动关闭链接/异常断开链接"
5272
5325
  -998: "系统数据异常"
5273
5326
  -999: "系统未知错误,请联系人工核实"
@@ -7385,6 +7438,66 @@ class PhoneVerificationResponse(AbstractModel):
7385
7438
  self._RequestId = params.get("RequestId")
7386
7439
 
7387
7440
 
7441
+ class RetrievalLivenessExtraInfo(AbstractModel):
7442
+ """模版检索详细信息
7443
+
7444
+ """
7445
+
7446
+ def __init__(self):
7447
+ r"""
7448
+ :param _HitGroup: 命中的模版类型,其中Common-公共库;Auto-自动聚类库;Owner-自建模版库
7449
+ 注意:此字段可能返回 null,表示取不到有效值。
7450
+ :type HitGroup: str
7451
+ :param _SimilarityScore: 命中的相似度
7452
+ 注意:此字段可能返回 null,表示取不到有效值。
7453
+ :type SimilarityScore: float
7454
+ :param _HitTemplate: 命中的模板id
7455
+ 注意:此字段可能返回 null,表示取不到有效值。
7456
+ :type HitTemplate: str
7457
+ """
7458
+ self._HitGroup = None
7459
+ self._SimilarityScore = None
7460
+ self._HitTemplate = None
7461
+
7462
+ @property
7463
+ def HitGroup(self):
7464
+ return self._HitGroup
7465
+
7466
+ @HitGroup.setter
7467
+ def HitGroup(self, HitGroup):
7468
+ self._HitGroup = HitGroup
7469
+
7470
+ @property
7471
+ def SimilarityScore(self):
7472
+ return self._SimilarityScore
7473
+
7474
+ @SimilarityScore.setter
7475
+ def SimilarityScore(self, SimilarityScore):
7476
+ self._SimilarityScore = SimilarityScore
7477
+
7478
+ @property
7479
+ def HitTemplate(self):
7480
+ return self._HitTemplate
7481
+
7482
+ @HitTemplate.setter
7483
+ def HitTemplate(self, HitTemplate):
7484
+ self._HitTemplate = HitTemplate
7485
+
7486
+
7487
+ def _deserialize(self, params):
7488
+ self._HitGroup = params.get("HitGroup")
7489
+ self._SimilarityScore = params.get("SimilarityScore")
7490
+ self._HitTemplate = params.get("HitTemplate")
7491
+ memeber_set = set(params.keys())
7492
+ for name, value in vars(self).items():
7493
+ property_name = name[1:]
7494
+ if property_name in memeber_set:
7495
+ memeber_set.remove(property_name)
7496
+ if len(memeber_set) > 0:
7497
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7498
+
7499
+
7500
+
7388
7501
  class RuleIdConfig(AbstractModel):
7389
7502
  """RuleId相关配置
7390
7503
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.0.1056
3
+ Version: 3.0.1062
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.1062
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1056