tencentcloud-sdk-python-faceid 3.0.935__tar.gz → 3.0.954__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.
Files changed (15) hide show
  1. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/setup.py +1 -0
  3. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/tencentcloud/faceid/v20180301/faceid_client.py +33 -33
  5. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/tencentcloud/faceid/v20180301/models.py +14 -5
  6. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
  7. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +1 -0
  8. tencentcloud-sdk-python-faceid-3.0.954/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
  9. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/README.rst +0 -0
  10. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/tencentcloud/faceid/__init__.py +0 -0
  12. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/tencentcloud/faceid/v20180301/__init__.py +0 -0
  13. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
  15. {tencentcloud-sdk-python-faceid-3.0.935 → tencentcloud-sdk-python-faceid-3.0.954}/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.935
3
+ Version: 3.0.954
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,6 +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.954"],
11
12
  version=tencentcloud.__version__,
12
13
  description='Tencent Cloud Faceid SDK for Python',
13
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.935'
17
+ __version__ = '3.0.954'
@@ -46,7 +46,7 @@ class FaceidClient(AbstractClient):
46
46
  if isinstance(e, TencentCloudSDKException):
47
47
  raise
48
48
  else:
49
- raise TencentCloudSDKException(e.message, e.message)
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
50
 
51
51
 
52
52
  def BankCard4EVerification(self, request):
@@ -69,7 +69,7 @@ class FaceidClient(AbstractClient):
69
69
  if isinstance(e, TencentCloudSDKException):
70
70
  raise
71
71
  else:
72
- raise TencentCloudSDKException(e.message, e.message)
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
73
 
74
74
 
75
75
  def BankCardVerification(self, request):
@@ -92,7 +92,7 @@ class FaceidClient(AbstractClient):
92
92
  if isinstance(e, TencentCloudSDKException):
93
93
  raise
94
94
  else:
95
- raise TencentCloudSDKException(e.message, e.message)
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
96
96
 
97
97
 
98
98
  def CheckBankCardInformation(self, request):
@@ -115,7 +115,7 @@ class FaceidClient(AbstractClient):
115
115
  if isinstance(e, TencentCloudSDKException):
116
116
  raise
117
117
  else:
118
- raise TencentCloudSDKException(e.message, e.message)
118
+ raise TencentCloudSDKException(type(e).__name__, str(e))
119
119
 
120
120
 
121
121
  def CheckEidTokenStatus(self, request):
@@ -138,7 +138,7 @@ class FaceidClient(AbstractClient):
138
138
  if isinstance(e, TencentCloudSDKException):
139
139
  raise
140
140
  else:
141
- raise TencentCloudSDKException(e.message, e.message)
141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
142
142
 
143
143
 
144
144
  def CheckIdCardInformation(self, request):
@@ -161,7 +161,7 @@ class FaceidClient(AbstractClient):
161
161
  if isinstance(e, TencentCloudSDKException):
162
162
  raise
163
163
  else:
164
- raise TencentCloudSDKException(e.message, e.message)
164
+ raise TencentCloudSDKException(type(e).__name__, str(e))
165
165
 
166
166
 
167
167
  def CheckIdNameDate(self, request):
@@ -184,7 +184,7 @@ class FaceidClient(AbstractClient):
184
184
  if isinstance(e, TencentCloudSDKException):
185
185
  raise
186
186
  else:
187
- raise TencentCloudSDKException(e.message, e.message)
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
188
 
189
189
 
190
190
  def CheckPhoneAndName(self, request):
@@ -207,7 +207,7 @@ class FaceidClient(AbstractClient):
207
207
  if isinstance(e, TencentCloudSDKException):
208
208
  raise
209
209
  else:
210
- raise TencentCloudSDKException(e.message, e.message)
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
211
211
 
212
212
 
213
213
  def DetectAuth(self, request):
@@ -230,7 +230,7 @@ class FaceidClient(AbstractClient):
230
230
  if isinstance(e, TencentCloudSDKException):
231
231
  raise
232
232
  else:
233
- raise TencentCloudSDKException(e.message, e.message)
233
+ raise TencentCloudSDKException(type(e).__name__, str(e))
234
234
 
235
235
 
236
236
  def EncryptedPhoneVerification(self, request):
@@ -253,7 +253,7 @@ class FaceidClient(AbstractClient):
253
253
  if isinstance(e, TencentCloudSDKException):
254
254
  raise
255
255
  else:
256
- raise TencentCloudSDKException(e.message, e.message)
256
+ raise TencentCloudSDKException(type(e).__name__, str(e))
257
257
 
258
258
 
259
259
  def GetActionSequence(self, request):
@@ -276,7 +276,7 @@ class FaceidClient(AbstractClient):
276
276
  if isinstance(e, TencentCloudSDKException):
277
277
  raise
278
278
  else:
279
- raise TencentCloudSDKException(e.message, e.message)
279
+ raise TencentCloudSDKException(type(e).__name__, str(e))
280
280
 
281
281
 
282
282
  def GetDetectInfo(self, request):
@@ -299,7 +299,7 @@ class FaceidClient(AbstractClient):
299
299
  if isinstance(e, TencentCloudSDKException):
300
300
  raise
301
301
  else:
302
- raise TencentCloudSDKException(e.message, e.message)
302
+ raise TencentCloudSDKException(type(e).__name__, str(e))
303
303
 
304
304
 
305
305
  def GetDetectInfoEnhanced(self, request):
@@ -322,7 +322,7 @@ class FaceidClient(AbstractClient):
322
322
  if isinstance(e, TencentCloudSDKException):
323
323
  raise
324
324
  else:
325
- raise TencentCloudSDKException(e.message, e.message)
325
+ raise TencentCloudSDKException(type(e).__name__, str(e))
326
326
 
327
327
 
328
328
  def GetEidResult(self, request):
@@ -345,7 +345,7 @@ class FaceidClient(AbstractClient):
345
345
  if isinstance(e, TencentCloudSDKException):
346
346
  raise
347
347
  else:
348
- raise TencentCloudSDKException(e.message, e.message)
348
+ raise TencentCloudSDKException(type(e).__name__, str(e))
349
349
 
350
350
 
351
351
  def GetEidToken(self, request):
@@ -368,7 +368,7 @@ class FaceidClient(AbstractClient):
368
368
  if isinstance(e, TencentCloudSDKException):
369
369
  raise
370
370
  else:
371
- raise TencentCloudSDKException(e.message, e.message)
371
+ raise TencentCloudSDKException(type(e).__name__, str(e))
372
372
 
373
373
 
374
374
  def GetFaceIdResult(self, request):
@@ -391,7 +391,7 @@ class FaceidClient(AbstractClient):
391
391
  if isinstance(e, TencentCloudSDKException):
392
392
  raise
393
393
  else:
394
- raise TencentCloudSDKException(e.message, e.message)
394
+ raise TencentCloudSDKException(type(e).__name__, str(e))
395
395
 
396
396
 
397
397
  def GetFaceIdToken(self, request):
@@ -414,7 +414,7 @@ class FaceidClient(AbstractClient):
414
414
  if isinstance(e, TencentCloudSDKException):
415
415
  raise
416
416
  else:
417
- raise TencentCloudSDKException(e.message, e.message)
417
+ raise TencentCloudSDKException(type(e).__name__, str(e))
418
418
 
419
419
 
420
420
  def GetLiveCode(self, request):
@@ -437,7 +437,7 @@ class FaceidClient(AbstractClient):
437
437
  if isinstance(e, TencentCloudSDKException):
438
438
  raise
439
439
  else:
440
- raise TencentCloudSDKException(e.message, e.message)
440
+ raise TencentCloudSDKException(type(e).__name__, str(e))
441
441
 
442
442
 
443
443
  def GetWeChatBillDetails(self, request):
@@ -460,7 +460,7 @@ class FaceidClient(AbstractClient):
460
460
  if isinstance(e, TencentCloudSDKException):
461
461
  raise
462
462
  else:
463
- raise TencentCloudSDKException(e.message, e.message)
463
+ raise TencentCloudSDKException(type(e).__name__, str(e))
464
464
 
465
465
 
466
466
  def IdCardOCRVerification(self, request):
@@ -483,7 +483,7 @@ class FaceidClient(AbstractClient):
483
483
  if isinstance(e, TencentCloudSDKException):
484
484
  raise
485
485
  else:
486
- raise TencentCloudSDKException(e.message, e.message)
486
+ raise TencentCloudSDKException(type(e).__name__, str(e))
487
487
 
488
488
 
489
489
  def IdCardVerification(self, request):
@@ -506,7 +506,7 @@ class FaceidClient(AbstractClient):
506
506
  if isinstance(e, TencentCloudSDKException):
507
507
  raise
508
508
  else:
509
- raise TencentCloudSDKException(e.message, e.message)
509
+ raise TencentCloudSDKException(type(e).__name__, str(e))
510
510
 
511
511
 
512
512
  def ImageRecognition(self, request):
@@ -529,7 +529,7 @@ class FaceidClient(AbstractClient):
529
529
  if isinstance(e, TencentCloudSDKException):
530
530
  raise
531
531
  else:
532
- raise TencentCloudSDKException(e.message, e.message)
532
+ raise TencentCloudSDKException(type(e).__name__, str(e))
533
533
 
534
534
 
535
535
  def Liveness(self, request):
@@ -552,7 +552,7 @@ class FaceidClient(AbstractClient):
552
552
  if isinstance(e, TencentCloudSDKException):
553
553
  raise
554
554
  else:
555
- raise TencentCloudSDKException(e.message, e.message)
555
+ raise TencentCloudSDKException(type(e).__name__, str(e))
556
556
 
557
557
 
558
558
  def LivenessCompare(self, request):
@@ -575,7 +575,7 @@ class FaceidClient(AbstractClient):
575
575
  if isinstance(e, TencentCloudSDKException):
576
576
  raise
577
577
  else:
578
- raise TencentCloudSDKException(e.message, e.message)
578
+ raise TencentCloudSDKException(type(e).__name__, str(e))
579
579
 
580
580
 
581
581
  def LivenessRecognition(self, request):
@@ -598,7 +598,7 @@ class FaceidClient(AbstractClient):
598
598
  if isinstance(e, TencentCloudSDKException):
599
599
  raise
600
600
  else:
601
- raise TencentCloudSDKException(e.message, e.message)
601
+ raise TencentCloudSDKException(type(e).__name__, str(e))
602
602
 
603
603
 
604
604
  def MinorsVerification(self, request):
@@ -621,7 +621,7 @@ class FaceidClient(AbstractClient):
621
621
  if isinstance(e, TencentCloudSDKException):
622
622
  raise
623
623
  else:
624
- raise TencentCloudSDKException(e.message, e.message)
624
+ raise TencentCloudSDKException(type(e).__name__, str(e))
625
625
 
626
626
 
627
627
  def MobileNetworkTimeVerification(self, request):
@@ -644,7 +644,7 @@ class FaceidClient(AbstractClient):
644
644
  if isinstance(e, TencentCloudSDKException):
645
645
  raise
646
646
  else:
647
- raise TencentCloudSDKException(e.message, e.message)
647
+ raise TencentCloudSDKException(type(e).__name__, str(e))
648
648
 
649
649
 
650
650
  def MobileStatus(self, request):
@@ -667,7 +667,7 @@ class FaceidClient(AbstractClient):
667
667
  if isinstance(e, TencentCloudSDKException):
668
668
  raise
669
669
  else:
670
- raise TencentCloudSDKException(e.message, e.message)
670
+ raise TencentCloudSDKException(type(e).__name__, str(e))
671
671
 
672
672
 
673
673
  def ParseNfcData(self, request):
@@ -690,7 +690,7 @@ class FaceidClient(AbstractClient):
690
690
  if isinstance(e, TencentCloudSDKException):
691
691
  raise
692
692
  else:
693
- raise TencentCloudSDKException(e.message, e.message)
693
+ raise TencentCloudSDKException(type(e).__name__, str(e))
694
694
 
695
695
 
696
696
  def PhoneVerification(self, request):
@@ -713,7 +713,7 @@ class FaceidClient(AbstractClient):
713
713
  if isinstance(e, TencentCloudSDKException):
714
714
  raise
715
715
  else:
716
- raise TencentCloudSDKException(e.message, e.message)
716
+ raise TencentCloudSDKException(type(e).__name__, str(e))
717
717
 
718
718
 
719
719
  def PhoneVerificationCMCC(self, request):
@@ -736,7 +736,7 @@ class FaceidClient(AbstractClient):
736
736
  if isinstance(e, TencentCloudSDKException):
737
737
  raise
738
738
  else:
739
- raise TencentCloudSDKException(e.message, e.message)
739
+ raise TencentCloudSDKException(type(e).__name__, str(e))
740
740
 
741
741
 
742
742
  def PhoneVerificationCTCC(self, request):
@@ -759,7 +759,7 @@ class FaceidClient(AbstractClient):
759
759
  if isinstance(e, TencentCloudSDKException):
760
760
  raise
761
761
  else:
762
- raise TencentCloudSDKException(e.message, e.message)
762
+ raise TencentCloudSDKException(type(e).__name__, str(e))
763
763
 
764
764
 
765
765
  def PhoneVerificationCUCC(self, request):
@@ -782,4 +782,4 @@ class FaceidClient(AbstractClient):
782
782
  if isinstance(e, TencentCloudSDKException):
783
783
  raise
784
784
  else:
785
- raise TencentCloudSDKException(e.message, e.message)
785
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -104,6 +104,8 @@ class BankCard2EVerificationResponse(AbstractModel):
104
104
  '-2': '姓名校验不通过'
105
105
  '-3': '银行卡号码有误'
106
106
  '-16': '验证中心服务繁忙'
107
+ '-17': '验证次数超限,请次日重试'
108
+
107
109
  :type Result: str
108
110
  :param _Description: 业务结果描述。
109
111
  :type Description: str
@@ -270,6 +272,7 @@ class BankCard4EVerificationResponse(AbstractModel):
270
272
  '-4': '银行卡号码有误'
271
273
  '-5': '手机号码不合法'
272
274
  '-18': '验证中心服务繁忙'
275
+ '-19': '验证次数超限,请次日重试'
273
276
  :type Result: str
274
277
  :param _Description: 业务结果描述。
275
278
  :type Description: str
@@ -423,6 +426,7 @@ class BankCardVerificationResponse(AbstractModel):
423
426
  '-3': '身份证号码有误'
424
427
  '-4': '银行卡号码有误'
425
428
  '-17': '验证中心服务繁忙'
429
+ '-18': '验证次数超限,请次日重试'
426
430
  :type Result: str
427
431
  :param _Description: 业务结果描述。
428
432
  :type Description: str
@@ -816,7 +820,7 @@ ImageBase64、ImageUrl二者必须提供其中之一。若都提供了,则按
816
820
  CopyWarn,复印件告警
817
821
  BorderCheckWarn,边框和框内遮挡告警
818
822
  ReshootWarn,翻拍告警
819
- DetectPsWarn,PS检测告警
823
+ DetectPsWarn,PS检测告警(疑似存在PS痕迹)
820
824
  TempIdWarn,临时身份证告警
821
825
  Quality,图片质量告警(评价图片模糊程度)
822
826
 
@@ -916,7 +920,7 @@ class CheckIdCardInformationResponse(AbstractModel):
916
920
  -9103 身份证翻拍告警,
917
921
  -9105 身份证框内遮挡告警,
918
922
  -9104 临时身份证告警,
919
- -9106 身份证 PS 告警。
923
+ -9106 身份证 PS 告警(疑似存在PS痕迹)。
920
924
  -8001 图片模糊告警
921
925
  多个会 | 隔开如 "-9101|-9106|-9104"
922
926
  :type Warnings: str
@@ -1834,7 +1838,7 @@ class DetectInfoIdCardData(AbstractModel):
1834
1838
  -9103 身份证翻拍告警,
1835
1839
  -9105 身份证框内遮挡告警,
1836
1840
  -9104 临时身份证告警,
1837
- -9106 身份证 PS 告警,
1841
+ -9106 身份证 PS 告警(疑似存在PS痕迹),
1838
1842
  -9107 身份证反光告警。
1839
1843
  注意:此字段可能返回 null,表示取不到有效值。
1840
1844
  :type WarnInfos: list of int
@@ -1845,7 +1849,7 @@ class DetectInfoIdCardData(AbstractModel):
1845
1849
  -9103 身份证翻拍告警,
1846
1850
  -9105 身份证框内遮挡告警,
1847
1851
  -9104 临时身份证告警,
1848
- -9106 身份证 PS 告警,
1852
+ -9106 身份证 PS 告警(疑似存在PS痕迹),
1849
1853
  -9107 身份证反光告警。
1850
1854
  注意:此字段可能返回 null,表示取不到有效值。
1851
1855
  :type BackWarnInfos: list of int
@@ -2604,14 +2608,19 @@ class Encryption(AbstractModel):
2604
2608
  def __init__(self):
2605
2609
  r"""
2606
2610
  :param _EncryptList: 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
2611
+ 注意:此字段可能返回 null,表示取不到有效值。
2607
2612
  :type EncryptList: list of str
2608
2613
  :param _CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅<a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
2614
+ 注意:此字段可能返回 null,表示取不到有效值。
2609
2615
  :type CiphertextBlob: str
2610
2616
  :param _Iv: 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符)。
2617
+ 注意:此字段可能返回 null,表示取不到有效值。
2611
2618
  :type Iv: str
2612
2619
  :param _Algorithm: 加密使用的算法(支持'AES-256-CBC'、'SM4-GCM'),不传默认为'AES-256-CBC'
2620
+ 注意:此字段可能返回 null,表示取不到有效值。
2613
2621
  :type Algorithm: str
2614
2622
  :param _TagList: SM4-GCM算法生成的消息摘要(校验消息完整性时使用)
2623
+ 注意:此字段可能返回 null,表示取不到有效值。
2615
2624
  :type TagList: list of str
2616
2625
  """
2617
2626
  self._EncryptList = None
@@ -2890,7 +2899,7 @@ class GetDetectInfoEnhancedResponse(AbstractModel):
2890
2899
  :param _Encryption: 敏感数据加密信息。
2891
2900
  注意:此字段可能返回 null,表示取不到有效值。
2892
2901
  :type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
2893
- :param _IntentionVerifyData: 意愿核身相关信息。若未使用意愿核身功能,该字段返回值可以不处理。
2902
+ :param _IntentionVerifyData: 意愿核身朗读模式结果信息。若未使用意愿核身功能,该字段返回值可以不处理。
2894
2903
  注意:此字段可能返回 null,表示取不到有效值。
2895
2904
  :type IntentionVerifyData: :class:`tencentcloud.faceid.v20180301.models.IntentionVerifyData`
2896
2905
  :param _IntentionQuestionResult: 意愿核身问答模式结果。若未使用该意愿核身功能,该字段返回值可以不处理。
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.0.935
3
+ Version: 3.0.954
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
@@ -10,4 +10,5 @@ tencentcloud/faceid/v20180301/models.py
10
10
  tencentcloud_sdk_python_faceid.egg-info/PKG-INFO
11
11
  tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt
12
12
  tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt
13
+ tencentcloud_sdk_python_faceid.egg-info/requires.txt
13
14
  tencentcloud_sdk_python_faceid.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.954