tencentcloud-sdk-python-faceid 3.0.1422__tar.gz → 3.0.1447__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.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/setup.py +1 -1
  3. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud/faceid/v20180301/models.py +98 -6
  5. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-faceid-3.0.1447/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-faceid-3.0.1422/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/README.rst +0 -0
  9. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud/faceid/__init__.py +0 -0
  11. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud/faceid/v20180301/__init__.py +0 -0
  12. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
  14. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-faceid-3.0.1422 → tencentcloud-sdk-python-faceid-3.0.1447}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.0.1422
3
+ Version: 3.0.1447
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.1422,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1447,<4.0.0"],
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.1422'
17
+ __version__ = '3.0.1447'
@@ -4316,7 +4316,7 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
4316
4316
 
4317
4317
  def __init__(self):
4318
4318
  r"""
4319
- :param _Text: 文本类信息。
4319
+ :param _Text: 人脸核身识别结果及文本类信息。
4320
4320
  注意:此字段可能返回 null,表示取不到有效值。
4321
4321
  :type Text: :class:`tencentcloud.faceid.v20180301.models.DetectInfoText`
4322
4322
  :param _IdCardData: 身份证照片信息。
@@ -4347,6 +4347,18 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
4347
4347
  :param _EncryptedBody: 加密后的数据。
4348
4348
  注意:此字段可能返回 null,表示取不到有效值。
4349
4349
  :type EncryptedBody: str
4350
+ :param _IsVerifyIntention: 本次请求是否配置开启意愿校验。
4351
+ false:未开启意愿校验
4352
+ true:已开启意愿校验
4353
+ 说明:若请求开启了意愿校验,可结合IntentionVerifyType中具体使用的校验模式从对应的出参Result中获取最终的核验结果;若请求没有开启意愿校验,则可在出参Text中获取最终的核验结果。
4354
+ :type IsVerifyIntention: bool
4355
+ :param _IntentionVerifyType: 本次请求意愿校验使用的具体模式。
4356
+ 0:问答模式
4357
+ 1:点头确认模式
4358
+ 2:朗读模式
4359
+ 若未使用意愿核身功能,该字段返回值可以不处理。
4360
+ 注意:此字段可能返回 null,表示取不到有效值
4361
+ :type IntentionVerifyType: str
4350
4362
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4351
4363
  :type RequestId: str
4352
4364
  """
@@ -4359,11 +4371,13 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
4359
4371
  self._IntentionQuestionResult = None
4360
4372
  self._IntentionActionResult = None
4361
4373
  self._EncryptedBody = None
4374
+ self._IsVerifyIntention = None
4375
+ self._IntentionVerifyType = None
4362
4376
  self._RequestId = None
4363
4377
 
4364
4378
  @property
4365
4379
  def Text(self):
4366
- """文本类信息。
4380
+ """人脸核身识别结果及文本类信息。
4367
4381
  注意:此字段可能返回 null,表示取不到有效值。
4368
4382
  :rtype: :class:`tencentcloud.faceid.v20180301.models.DetectInfoText`
4369
4383
  """
@@ -4473,6 +4487,36 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
4473
4487
  def EncryptedBody(self, EncryptedBody):
4474
4488
  self._EncryptedBody = EncryptedBody
4475
4489
 
4490
+ @property
4491
+ def IsVerifyIntention(self):
4492
+ """本次请求是否配置开启意愿校验。
4493
+ false:未开启意愿校验
4494
+ true:已开启意愿校验
4495
+ 说明:若请求开启了意愿校验,可结合IntentionVerifyType中具体使用的校验模式从对应的出参Result中获取最终的核验结果;若请求没有开启意愿校验,则可在出参Text中获取最终的核验结果。
4496
+ :rtype: bool
4497
+ """
4498
+ return self._IsVerifyIntention
4499
+
4500
+ @IsVerifyIntention.setter
4501
+ def IsVerifyIntention(self, IsVerifyIntention):
4502
+ self._IsVerifyIntention = IsVerifyIntention
4503
+
4504
+ @property
4505
+ def IntentionVerifyType(self):
4506
+ """本次请求意愿校验使用的具体模式。
4507
+ 0:问答模式
4508
+ 1:点头确认模式
4509
+ 2:朗读模式
4510
+ 若未使用意愿核身功能,该字段返回值可以不处理。
4511
+ 注意:此字段可能返回 null,表示取不到有效值
4512
+ :rtype: str
4513
+ """
4514
+ return self._IntentionVerifyType
4515
+
4516
+ @IntentionVerifyType.setter
4517
+ def IntentionVerifyType(self, IntentionVerifyType):
4518
+ self._IntentionVerifyType = IntentionVerifyType
4519
+
4476
4520
  @property
4477
4521
  def RequestId(self):
4478
4522
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -4511,6 +4555,8 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
4511
4555
  self._IntentionActionResult = IntentionActionResult()
4512
4556
  self._IntentionActionResult._deserialize(params.get("IntentionActionResult"))
4513
4557
  self._EncryptedBody = params.get("EncryptedBody")
4558
+ self._IsVerifyIntention = params.get("IsVerifyIntention")
4559
+ self._IntentionVerifyType = params.get("IntentionVerifyType")
4514
4560
  self._RequestId = params.get("RequestId")
4515
4561
 
4516
4562
 
@@ -4856,7 +4902,7 @@ class GetEidResultResponse(AbstractModel):
4856
4902
 
4857
4903
  def __init__(self):
4858
4904
  r"""
4859
- :param _Text: 文本类信息。
4905
+ :param _Text: 人脸核身识别结果及文本类信息。
4860
4906
  - 基于对敏感信息的保护,验证使用的姓名和身份证号统一通过加密后从EidInfo参数中返回。
4861
4907
  - 如需获取请在控制台申请返回身份信息,详见[E证通获取实名信息指引](https://cloud.tencent.com/document/product/1007/63370)。
4862
4908
  注意:此字段可能返回 null,表示取不到有效值。
@@ -4886,6 +4932,18 @@ class GetEidResultResponse(AbstractModel):
4886
4932
  - 若未使用该意愿核身功能,该字段返回值可以不处理。
4887
4933
  注意:此字段可能返回 null,表示取不到有效值。
4888
4934
  :type IntentionActionResult: :class:`tencentcloud.faceid.v20180301.models.IntentionActionResult`
4935
+ :param _IsVerifyIntention: 本次请求是否配置开启意愿校验。
4936
+ false:未开启意愿校验
4937
+ true:已开启意愿校验
4938
+ 说明:若请求开启了意愿校验,可结合IntentionVerifyType中具体使用的校验模式从对应的出参Result中获取最终的核验结果;若请求没有开启意愿校验,则可在出参Text中获取最终的核验结果。
4939
+ :type IsVerifyIntention: bool
4940
+ :param _IntentionVerifyType: 本次请求意愿校验使用的具体模式。
4941
+ 0:问答模式
4942
+ 1:点头确认模式
4943
+ 2:朗读模式
4944
+ 若未使用意愿核身功能,该字段返回值可以不处理。
4945
+ 注意:此字段可能返回 null,表示取不到有效值
4946
+ :type IntentionVerifyType: str
4889
4947
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4890
4948
  :type RequestId: str
4891
4949
  """
@@ -4896,11 +4954,13 @@ class GetEidResultResponse(AbstractModel):
4896
4954
  self._IntentionVerifyData = None
4897
4955
  self._IntentionQuestionResult = None
4898
4956
  self._IntentionActionResult = None
4957
+ self._IsVerifyIntention = None
4958
+ self._IntentionVerifyType = None
4899
4959
  self._RequestId = None
4900
4960
 
4901
4961
  @property
4902
4962
  def Text(self):
4903
- """文本类信息。
4963
+ """人脸核身识别结果及文本类信息。
4904
4964
  - 基于对敏感信息的保护,验证使用的姓名和身份证号统一通过加密后从EidInfo参数中返回。
4905
4965
  - 如需获取请在控制台申请返回身份信息,详见[E证通获取实名信息指引](https://cloud.tencent.com/document/product/1007/63370)。
4906
4966
  注意:此字段可能返回 null,表示取不到有效值。
@@ -4991,6 +5051,36 @@ class GetEidResultResponse(AbstractModel):
4991
5051
  def IntentionActionResult(self, IntentionActionResult):
4992
5052
  self._IntentionActionResult = IntentionActionResult
4993
5053
 
5054
+ @property
5055
+ def IsVerifyIntention(self):
5056
+ """本次请求是否配置开启意愿校验。
5057
+ false:未开启意愿校验
5058
+ true:已开启意愿校验
5059
+ 说明:若请求开启了意愿校验,可结合IntentionVerifyType中具体使用的校验模式从对应的出参Result中获取最终的核验结果;若请求没有开启意愿校验,则可在出参Text中获取最终的核验结果。
5060
+ :rtype: bool
5061
+ """
5062
+ return self._IsVerifyIntention
5063
+
5064
+ @IsVerifyIntention.setter
5065
+ def IsVerifyIntention(self, IsVerifyIntention):
5066
+ self._IsVerifyIntention = IsVerifyIntention
5067
+
5068
+ @property
5069
+ def IntentionVerifyType(self):
5070
+ """本次请求意愿校验使用的具体模式。
5071
+ 0:问答模式
5072
+ 1:点头确认模式
5073
+ 2:朗读模式
5074
+ 若未使用意愿核身功能,该字段返回值可以不处理。
5075
+ 注意:此字段可能返回 null,表示取不到有效值
5076
+ :rtype: str
5077
+ """
5078
+ return self._IntentionVerifyType
5079
+
5080
+ @IntentionVerifyType.setter
5081
+ def IntentionVerifyType(self, IntentionVerifyType):
5082
+ self._IntentionVerifyType = IntentionVerifyType
5083
+
4994
5084
  @property
4995
5085
  def RequestId(self):
4996
5086
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -5025,6 +5115,8 @@ class GetEidResultResponse(AbstractModel):
5025
5115
  if params.get("IntentionActionResult") is not None:
5026
5116
  self._IntentionActionResult = IntentionActionResult()
5027
5117
  self._IntentionActionResult._deserialize(params.get("IntentionActionResult"))
5118
+ self._IsVerifyIntention = params.get("IsVerifyIntention")
5119
+ self._IntentionVerifyType = params.get("IntentionVerifyType")
5028
5120
  self._RequestId = params.get("RequestId")
5029
5121
 
5030
5122
 
@@ -10900,7 +10992,7 @@ class WeChatBillDetail(AbstractModel):
10900
10992
  r"""
10901
10993
  :param _BizToken: token
10902
10994
  :type BizToken: str
10903
- :param _ChargeCount: 本token收费次数
10995
+ :param _ChargeCount: 本token收费次数。(说明:一次核身过程用户可能会重试多次,因此一个biztoken可能会对应多次计费,如需配置重试上限,请[联系我们](https://cloud.tencent.com/document/product/1007/56130)配置。)
10904
10996
  :type ChargeCount: int
10905
10997
  :param _ChargeDetails: 本token计费详情
10906
10998
  :type ChargeDetails: list of ChargeDetail
@@ -10925,7 +11017,7 @@ class WeChatBillDetail(AbstractModel):
10925
11017
 
10926
11018
  @property
10927
11019
  def ChargeCount(self):
10928
- """本token收费次数
11020
+ """本token收费次数。(说明:一次核身过程用户可能会重试多次,因此一个biztoken可能会对应多次计费,如需配置重试上限,请[联系我们](https://cloud.tencent.com/document/product/1007/56130)配置。)
10929
11021
  :rtype: int
10930
11022
  """
10931
11023
  return self._ChargeCount
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.0.1422
3
+ Version: 3.0.1447
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<4.0.0,>=3.0.1447
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1422