tencentcloud-sdk-python-faceid 3.0.1394__tar.gz → 3.0.1399__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.
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/setup.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud/faceid/v20180301/models.py +108 -6
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-faceid-3.0.1399/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-faceid-3.0.1394/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/README.rst +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/setup.cfg +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/setup.py
RENAMED
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1399"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Faceid SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -163,10 +163,11 @@ class BankCard2EVerificationResponse(AbstractModel):
|
|
|
163
163
|
'-13': '受限制的卡'。
|
|
164
164
|
'-14': '密码错误次数超限'。
|
|
165
165
|
'-15': '发卡行不支持此交易'。
|
|
166
|
+
'-18': '卡状态异常或卡号错误'。
|
|
166
167
|
|
|
167
168
|
- 不计费结果码:
|
|
168
169
|
'-2': '姓名校验不通过'。
|
|
169
|
-
'-3': '
|
|
170
|
+
'-3': '银行卡号格式有误'。
|
|
170
171
|
'-16': '验证中心服务繁忙'。
|
|
171
172
|
'-17': '验证次数超限,请次日重试'。
|
|
172
173
|
|
|
@@ -198,10 +199,11 @@ class BankCard2EVerificationResponse(AbstractModel):
|
|
|
198
199
|
'-13': '受限制的卡'。
|
|
199
200
|
'-14': '密码错误次数超限'。
|
|
200
201
|
'-15': '发卡行不支持此交易'。
|
|
202
|
+
'-18': '卡状态异常或卡号错误'。
|
|
201
203
|
|
|
202
204
|
- 不计费结果码:
|
|
203
205
|
'-2': '姓名校验不通过'。
|
|
204
|
-
'-3': '
|
|
206
|
+
'-3': '银行卡号格式有误'。
|
|
205
207
|
'-16': '验证中心服务繁忙'。
|
|
206
208
|
'-17': '验证次数超限,请次日重试'。
|
|
207
209
|
|
|
@@ -386,11 +388,12 @@ class BankCard4EVerificationResponse(AbstractModel):
|
|
|
386
388
|
'-15': '受限制的卡'。
|
|
387
389
|
'-16': '密码错误次数超限'。
|
|
388
390
|
'-17': '发卡行不支持此交易'。
|
|
391
|
+
'-21': '卡状态异常或卡号错误'。
|
|
389
392
|
|
|
390
393
|
- 不收费结果码:
|
|
391
394
|
'-2': '姓名校验不通过'。
|
|
392
395
|
'-3': '身份证号码有误'。
|
|
393
|
-
'-4': '
|
|
396
|
+
'-4': '银行卡号格式有误'。
|
|
394
397
|
'-5': '手机号码不合法'。
|
|
395
398
|
'-18': '验证中心服务繁忙'。
|
|
396
399
|
'-19': '验证次数超限,请次日重试'。
|
|
@@ -423,11 +426,12 @@ class BankCard4EVerificationResponse(AbstractModel):
|
|
|
423
426
|
'-15': '受限制的卡'。
|
|
424
427
|
'-16': '密码错误次数超限'。
|
|
425
428
|
'-17': '发卡行不支持此交易'。
|
|
429
|
+
'-21': '卡状态异常或卡号错误'。
|
|
426
430
|
|
|
427
431
|
- 不收费结果码:
|
|
428
432
|
'-2': '姓名校验不通过'。
|
|
429
433
|
'-3': '身份证号码有误'。
|
|
430
|
-
'-4': '
|
|
434
|
+
'-4': '银行卡号格式有误'。
|
|
431
435
|
'-5': '手机号码不合法'。
|
|
432
436
|
'-18': '验证中心服务繁忙'。
|
|
433
437
|
'-19': '验证次数超限,请次日重试'。
|
|
@@ -598,11 +602,12 @@ class BankCardVerificationResponse(AbstractModel):
|
|
|
598
602
|
'-14': '受限制的卡'。
|
|
599
603
|
'-15': '密码错误次数超限'。
|
|
600
604
|
'-16': '发卡行不支持此交易'。
|
|
605
|
+
'-20': '卡状态异常或卡号错误'。
|
|
601
606
|
|
|
602
607
|
- 不收费结果码:
|
|
603
608
|
'-2': '姓名校验不通过'。
|
|
604
609
|
'-3': '身份证号码有误'。
|
|
605
|
-
'-4': '
|
|
610
|
+
'-4': '银行卡号格式有误'。
|
|
606
611
|
'-17': '验证中心服务繁忙'。
|
|
607
612
|
'-18': '验证次数超限,请次日重试'。
|
|
608
613
|
'-19': '该证件号暂不支持核验,当前仅支持二代身份证'。
|
|
@@ -634,11 +639,12 @@ class BankCardVerificationResponse(AbstractModel):
|
|
|
634
639
|
'-14': '受限制的卡'。
|
|
635
640
|
'-15': '密码错误次数超限'。
|
|
636
641
|
'-16': '发卡行不支持此交易'。
|
|
642
|
+
'-20': '卡状态异常或卡号错误'。
|
|
637
643
|
|
|
638
644
|
- 不收费结果码:
|
|
639
645
|
'-2': '姓名校验不通过'。
|
|
640
646
|
'-3': '身份证号码有误'。
|
|
641
|
-
'-4': '
|
|
647
|
+
'-4': '银行卡号格式有误'。
|
|
642
648
|
'-17': '验证中心服务繁忙'。
|
|
643
649
|
'-18': '验证次数超限,请次日重试'。
|
|
644
650
|
'-19': '该证件号暂不支持核验,当前仅支持二代身份证'。
|
|
@@ -920,11 +926,13 @@ class CheckBankCardInformationResponse(AbstractModel):
|
|
|
920
926
|
- 收费结果码:
|
|
921
927
|
0: 查询成功
|
|
922
928
|
-1: 未查到信息
|
|
929
|
+
-5: 卡号无效
|
|
923
930
|
|
|
924
931
|
- 不收费结果码:
|
|
925
932
|
-2:验证中心服务繁忙
|
|
926
933
|
-3:银行卡不存在
|
|
927
934
|
-4:认证次数超过当日限制,请次日重试
|
|
935
|
+
-6: 暂不支持该银行卡种
|
|
928
936
|
|
|
929
937
|
:type Result: str
|
|
930
938
|
:param _Description: 业务结果描述。
|
|
@@ -953,11 +961,13 @@ class CheckBankCardInformationResponse(AbstractModel):
|
|
|
953
961
|
- 收费结果码:
|
|
954
962
|
0: 查询成功
|
|
955
963
|
-1: 未查到信息
|
|
964
|
+
-5: 卡号无效
|
|
956
965
|
|
|
957
966
|
- 不收费结果码:
|
|
958
967
|
-2:验证中心服务繁忙
|
|
959
968
|
-3:银行卡不存在
|
|
960
969
|
-4:认证次数超过当日限制,请次日重试
|
|
970
|
+
-6: 暂不支持该银行卡种
|
|
961
971
|
|
|
962
972
|
:rtype: str
|
|
963
973
|
"""
|
|
@@ -3551,8 +3561,12 @@ class DetectInfoVideoData(AbstractModel):
|
|
|
3551
3561
|
:param _LivenessVideo: 活体视频的base64编码。
|
|
3552
3562
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3553
3563
|
:type LivenessVideo: str
|
|
3564
|
+
:param _LivenessVideos: 当次token中所有用户活体视频的COS存储路径,仅当您开启数据存储服务且“IsReturnAllVideo”入参取值为true 时返回。
|
|
3565
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3566
|
+
:type LivenessVideos: list of VideoDetailData
|
|
3554
3567
|
"""
|
|
3555
3568
|
self._LivenessVideo = None
|
|
3569
|
+
self._LivenessVideos = None
|
|
3556
3570
|
|
|
3557
3571
|
@property
|
|
3558
3572
|
def LivenessVideo(self):
|
|
@@ -3566,9 +3580,27 @@ class DetectInfoVideoData(AbstractModel):
|
|
|
3566
3580
|
def LivenessVideo(self, LivenessVideo):
|
|
3567
3581
|
self._LivenessVideo = LivenessVideo
|
|
3568
3582
|
|
|
3583
|
+
@property
|
|
3584
|
+
def LivenessVideos(self):
|
|
3585
|
+
"""当次token中所有用户活体视频的COS存储路径,仅当您开启数据存储服务且“IsReturnAllVideo”入参取值为true 时返回。
|
|
3586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3587
|
+
:rtype: list of VideoDetailData
|
|
3588
|
+
"""
|
|
3589
|
+
return self._LivenessVideos
|
|
3590
|
+
|
|
3591
|
+
@LivenessVideos.setter
|
|
3592
|
+
def LivenessVideos(self, LivenessVideos):
|
|
3593
|
+
self._LivenessVideos = LivenessVideos
|
|
3594
|
+
|
|
3569
3595
|
|
|
3570
3596
|
def _deserialize(self, params):
|
|
3571
3597
|
self._LivenessVideo = params.get("LivenessVideo")
|
|
3598
|
+
if params.get("LivenessVideos") is not None:
|
|
3599
|
+
self._LivenessVideos = []
|
|
3600
|
+
for item in params.get("LivenessVideos"):
|
|
3601
|
+
obj = VideoDetailData()
|
|
3602
|
+
obj._deserialize(item)
|
|
3603
|
+
self._LivenessVideos.append(obj)
|
|
3572
3604
|
memeber_set = set(params.keys())
|
|
3573
3605
|
for name, value in vars(self).items():
|
|
3574
3606
|
property_name = name[1:]
|
|
@@ -4111,6 +4143,8 @@ class GetDetectInfoEnhancedRequest(AbstractModel):
|
|
|
4111
4143
|
:type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
|
|
4112
4144
|
:param _IsEncryptResponse: 是否对回包整体进行加密。
|
|
4113
4145
|
:type IsEncryptResponse: bool
|
|
4146
|
+
:param _IsReturnAllVideo: 是否需要返回认证中间过程的刷脸重试视频,默认不开启,多段视频需要存储到COS空间中,因此开启后还需要额外开启数据存储服务才可生效。详见[数据存储指引](https://cloud.tencent.com/document/product/1007/104229)。
|
|
4147
|
+
:type IsReturnAllVideo: bool
|
|
4114
4148
|
"""
|
|
4115
4149
|
self._BizToken = None
|
|
4116
4150
|
self._RuleId = None
|
|
@@ -4121,6 +4155,7 @@ class GetDetectInfoEnhancedRequest(AbstractModel):
|
|
|
4121
4155
|
self._IsEncrypt = None
|
|
4122
4156
|
self._Encryption = None
|
|
4123
4157
|
self._IsEncryptResponse = None
|
|
4158
|
+
self._IsReturnAllVideo = None
|
|
4124
4159
|
|
|
4125
4160
|
@property
|
|
4126
4161
|
def BizToken(self):
|
|
@@ -4233,6 +4268,17 @@ class GetDetectInfoEnhancedRequest(AbstractModel):
|
|
|
4233
4268
|
def IsEncryptResponse(self, IsEncryptResponse):
|
|
4234
4269
|
self._IsEncryptResponse = IsEncryptResponse
|
|
4235
4270
|
|
|
4271
|
+
@property
|
|
4272
|
+
def IsReturnAllVideo(self):
|
|
4273
|
+
"""是否需要返回认证中间过程的刷脸重试视频,默认不开启,多段视频需要存储到COS空间中,因此开启后还需要额外开启数据存储服务才可生效。详见[数据存储指引](https://cloud.tencent.com/document/product/1007/104229)。
|
|
4274
|
+
:rtype: bool
|
|
4275
|
+
"""
|
|
4276
|
+
return self._IsReturnAllVideo
|
|
4277
|
+
|
|
4278
|
+
@IsReturnAllVideo.setter
|
|
4279
|
+
def IsReturnAllVideo(self, IsReturnAllVideo):
|
|
4280
|
+
self._IsReturnAllVideo = IsReturnAllVideo
|
|
4281
|
+
|
|
4236
4282
|
|
|
4237
4283
|
def _deserialize(self, params):
|
|
4238
4284
|
self._BizToken = params.get("BizToken")
|
|
@@ -4246,6 +4292,7 @@ class GetDetectInfoEnhancedRequest(AbstractModel):
|
|
|
4246
4292
|
self._Encryption = Encryption()
|
|
4247
4293
|
self._Encryption._deserialize(params.get("Encryption"))
|
|
4248
4294
|
self._IsEncryptResponse = params.get("IsEncryptResponse")
|
|
4295
|
+
self._IsReturnAllVideo = params.get("IsReturnAllVideo")
|
|
4249
4296
|
memeber_set = set(params.keys())
|
|
4250
4297
|
for name, value in vars(self).items():
|
|
4251
4298
|
property_name = name[1:]
|
|
@@ -10783,6 +10830,61 @@ class RuleIdConfig(AbstractModel):
|
|
|
10783
10830
|
|
|
10784
10831
|
|
|
10785
10832
|
|
|
10833
|
+
class VideoDetailData(AbstractModel):
|
|
10834
|
+
"""核身过程视频信息。
|
|
10835
|
+
|
|
10836
|
+
"""
|
|
10837
|
+
|
|
10838
|
+
def __init__(self):
|
|
10839
|
+
r"""
|
|
10840
|
+
:param _Seq: 本次活体一比一请求的唯一标记。
|
|
10841
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10842
|
+
:type Seq: str
|
|
10843
|
+
:param _Video: 活体视频的base64编码。
|
|
10844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10845
|
+
:type Video: str
|
|
10846
|
+
"""
|
|
10847
|
+
self._Seq = None
|
|
10848
|
+
self._Video = None
|
|
10849
|
+
|
|
10850
|
+
@property
|
|
10851
|
+
def Seq(self):
|
|
10852
|
+
"""本次活体一比一请求的唯一标记。
|
|
10853
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10854
|
+
:rtype: str
|
|
10855
|
+
"""
|
|
10856
|
+
return self._Seq
|
|
10857
|
+
|
|
10858
|
+
@Seq.setter
|
|
10859
|
+
def Seq(self, Seq):
|
|
10860
|
+
self._Seq = Seq
|
|
10861
|
+
|
|
10862
|
+
@property
|
|
10863
|
+
def Video(self):
|
|
10864
|
+
"""活体视频的base64编码。
|
|
10865
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10866
|
+
:rtype: str
|
|
10867
|
+
"""
|
|
10868
|
+
return self._Video
|
|
10869
|
+
|
|
10870
|
+
@Video.setter
|
|
10871
|
+
def Video(self, Video):
|
|
10872
|
+
self._Video = Video
|
|
10873
|
+
|
|
10874
|
+
|
|
10875
|
+
def _deserialize(self, params):
|
|
10876
|
+
self._Seq = params.get("Seq")
|
|
10877
|
+
self._Video = params.get("Video")
|
|
10878
|
+
memeber_set = set(params.keys())
|
|
10879
|
+
for name, value in vars(self).items():
|
|
10880
|
+
property_name = name[1:]
|
|
10881
|
+
if property_name in memeber_set:
|
|
10882
|
+
memeber_set.remove(property_name)
|
|
10883
|
+
if len(memeber_set) > 0:
|
|
10884
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10885
|
+
|
|
10886
|
+
|
|
10887
|
+
|
|
10786
10888
|
class WeChatBillDetail(AbstractModel):
|
|
10787
10889
|
"""账单详情
|
|
10788
10890
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1399
|
tencentcloud-sdk-python-faceid-3.0.1394/tencentcloud_sdk_python_faceid.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1394
|
{tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-faceid-3.0.1394 → tencentcloud-sdk-python-faceid-3.0.1399}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|