tencentcloud-sdk-python-intl-en 3.0.1265__py2.py3-none-any.whl → 3.0.1274__py2.py3-none-any.whl

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 (32) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ccc/v20200210/ccc_client.py +115 -0
  3. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  4. tencentcloud/ccc/v20200210/models.py +2166 -304
  5. tencentcloud/cmq/v20190304/cmq_client.py +0 -345
  6. tencentcloud/cmq/v20190304/models.py +325 -2466
  7. tencentcloud/cvm/v20170312/cvm_client.py +76 -0
  8. tencentcloud/cvm/v20170312/errorcodes.py +18 -0
  9. tencentcloud/cvm/v20170312/models.py +320 -0
  10. tencentcloud/faceid/v20180301/models.py +144 -46
  11. tencentcloud/lke/v20231130/lke_client.py +3 -3
  12. tencentcloud/lke/v20231130/models.py +265 -6
  13. tencentcloud/lkeap/__init__.py +0 -0
  14. tencentcloud/lkeap/v20240522/__init__.py +0 -0
  15. tencentcloud/lkeap/v20240522/errorcodes.py +57 -0
  16. tencentcloud/lkeap/v20240522/lkeap_client.py +167 -0
  17. tencentcloud/lkeap/v20240522/models.py +1361 -0
  18. tencentcloud/mps/v20190612/models.py +351 -28
  19. tencentcloud/ocr/v20181119/models.py +1245 -0
  20. tencentcloud/ocr/v20181119/ocr_client.py +26 -1
  21. tencentcloud/sqlserver/v20180328/errorcodes.py +24 -0
  22. tencentcloud/sqlserver/v20180328/models.py +17068 -7048
  23. tencentcloud/sqlserver/v20180328/sqlserver_client.py +1242 -23
  24. tencentcloud/teo/v20220901/models.py +28 -126
  25. tencentcloud/teo/v20220901/teo_client.py +8 -2
  26. tencentcloud/waf/v20180125/errorcodes.py +9 -0
  27. tencentcloud/waf/v20180125/models.py +4532 -2484
  28. tencentcloud/waf/v20180125/waf_client.py +253 -0
  29. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/METADATA +1 -1
  30. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/RECORD +32 -27
  31. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/WHEEL +0 -0
  32. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/top_level.txt +0 -0
@@ -522,28 +522,20 @@ Default value: 1
522
522
  4: Motion- and reflection-based liveness detection
523
523
  Default value: 4
524
524
  :type SecurityLevel: int
525
- :param _IdCardType: The identity document type. Valid values:
526
- 1. HK (default): Identity card of Hong Kong (China)
527
- 2. ML: Malaysian identity card
528
- 3. IndonesiaIDCard: Indonesian identity card
529
- 4. PhilippinesVoteID: Philippine voters ID card
530
- 5. PhilippinesDrivingLicense: Philippine driver's license
531
- 6. PhilippinesTinID: Philippine TIN ID card
532
- 7. PhilippinesSSSID: Philippine SSS ID card
533
- 8. PhilippinesUMID: Philippine UMID card
534
- 9. MLIDPassport: Passport issued in Hong Kong/Macao/Taiwan (China) or other countries/regions
535
- 10..MacaoIDCard: Macao ID Card
536
- 11.ThailandIDCard: Thailand ID Card
537
- 12.MainlandIDCard: Mainland ID Card
538
- 13.SingaporeIDCard: Singapore ID Card
539
- 14.JapanIDCard: Japan ID Card
540
- 15.MLDrivingLicense: Malaysian Driving License
541
- 16.IndonesiaDrivingLicense: Indonesia Driving License
542
- 17.ThailandDrivingLicense: Thailand Driving License
543
- 18.SingaporeDrivingLicense: Singapore Driving License
544
- 19.JapanDrivingLicense: Japan Driving License
545
- 20.TaiWanIDCard:Taiwan ID Card
546
- 21.HMTPermit: exit/entry permit (card) for traveling to and from Hong Kong, Macao, or Taiwan
525
+ :param _IdCardType: Card Types Supported for Authentication: Currently supported types are as follows:
526
+ 1.HK (Default): Hong Kong (China) Identity Card
527
+ 2.ML: Malaysia Identity Card
528
+ 3.IndonesiaIDCard: Indonesia Identity Card
529
+ 4.PhilippinesVoteID: Philippines Voter ID
530
+ 5.PhilippinesDrivingLicense: Philippines Driving License
531
+ 6.PhilippinesTinID: Philippines Tin ID
532
+ 7.PhilippinesSSSID: Philippines SSS ID
533
+ 8.PhilippinesUMID: Philippines UMID
534
+ 9.MLIDPassport: Passports of Hong Kong, Macao, Taiwan Regions (China) and Foreign Countries
535
+ 10.ThailandIDCard: Thailand Identity Card
536
+ 11.MainlandIDCard: Mainland China Identity Card
537
+ 12.SingaporeIDCard: Singapore Identity Card
538
+ 13.HMTPermit: Exit-Entry Permit for Travel to and from Hong Kong, Macao and Taiwan (China)
547
539
  :type IdCardType: str
548
540
  :param _CompareImage: The Base64-encoded value of the photo to compare, which is required only when `CheckMode` is set to `2`.
549
541
  :type CompareImage: str
@@ -556,6 +548,8 @@ This feature applies only to Hong Kong (China) identity cards, Malaysian identit
556
548
  :type DisableCheckOcrWarnings: bool
557
549
  :param _Extra: A passthrough field, which is returned together with the verification result and can contain up to 1,024 bits.
558
550
  :type Extra: str
551
+ :param _SdkVersion: ENHANCED: Enhanced Version, BASIC: Basic Version (Default)
552
+ :type SdkVersion: str
559
553
  :param _ActionList: This interface is used to control th action sequences.
560
554
  Action types are as follows:
561
555
  "blink"
@@ -576,6 +570,7 @@ The default value is blink. The different action types passed in this parameter
576
570
  self._DisableChangeOcrResult = None
577
571
  self._DisableCheckOcrWarnings = None
578
572
  self._Extra = None
573
+ self._SdkVersion = None
579
574
  self._ActionList = None
580
575
 
581
576
  @property
@@ -611,28 +606,20 @@ Default value: 4
611
606
 
612
607
  @property
613
608
  def IdCardType(self):
614
- """The identity document type. Valid values:
615
- 1. HK (default): Identity card of Hong Kong (China)
616
- 2. ML: Malaysian identity card
617
- 3. IndonesiaIDCard: Indonesian identity card
618
- 4. PhilippinesVoteID: Philippine voters ID card
619
- 5. PhilippinesDrivingLicense: Philippine driver's license
620
- 6. PhilippinesTinID: Philippine TIN ID card
621
- 7. PhilippinesSSSID: Philippine SSS ID card
622
- 8. PhilippinesUMID: Philippine UMID card
623
- 9. MLIDPassport: Passport issued in Hong Kong/Macao/Taiwan (China) or other countries/regions
624
- 10..MacaoIDCard: Macao ID Card
625
- 11.ThailandIDCard: Thailand ID Card
626
- 12.MainlandIDCard: Mainland ID Card
627
- 13.SingaporeIDCard: Singapore ID Card
628
- 14.JapanIDCard: Japan ID Card
629
- 15.MLDrivingLicense: Malaysian Driving License
630
- 16.IndonesiaDrivingLicense: Indonesia Driving License
631
- 17.ThailandDrivingLicense: Thailand Driving License
632
- 18.SingaporeDrivingLicense: Singapore Driving License
633
- 19.JapanDrivingLicense: Japan Driving License
634
- 20.TaiWanIDCard:Taiwan ID Card
635
- 21.HMTPermit: exit/entry permit (card) for traveling to and from Hong Kong, Macao, or Taiwan
609
+ """Card Types Supported for Authentication: Currently supported types are as follows:
610
+ 1.HK (Default): Hong Kong (China) Identity Card
611
+ 2.ML: Malaysia Identity Card
612
+ 3.IndonesiaIDCard: Indonesia Identity Card
613
+ 4.PhilippinesVoteID: Philippines Voter ID
614
+ 5.PhilippinesDrivingLicense: Philippines Driving License
615
+ 6.PhilippinesTinID: Philippines Tin ID
616
+ 7.PhilippinesSSSID: Philippines SSS ID
617
+ 8.PhilippinesUMID: Philippines UMID
618
+ 9.MLIDPassport: Passports of Hong Kong, Macao, Taiwan Regions (China) and Foreign Countries
619
+ 10.ThailandIDCard: Thailand Identity Card
620
+ 11.MainlandIDCard: Mainland China Identity Card
621
+ 12.SingaporeIDCard: Singapore Identity Card
622
+ 13.HMTPermit: Exit-Entry Permit for Travel to and from Hong Kong, Macao and Taiwan (China)
636
623
  :rtype: str
637
624
  """
638
625
  return self._IdCardType
@@ -701,6 +688,17 @@ This feature applies only to Hong Kong (China) identity cards, Malaysian identit
701
688
  def Extra(self, Extra):
702
689
  self._Extra = Extra
703
690
 
691
+ @property
692
+ def SdkVersion(self):
693
+ """ENHANCED: Enhanced Version, BASIC: Basic Version (Default)
694
+ :rtype: str
695
+ """
696
+ return self._SdkVersion
697
+
698
+ @SdkVersion.setter
699
+ def SdkVersion(self, SdkVersion):
700
+ self._SdkVersion = SdkVersion
701
+
704
702
  @property
705
703
  def ActionList(self):
706
704
  """This interface is used to control th action sequences.
@@ -731,6 +729,7 @@ The default value is blink. The different action types passed in this parameter
731
729
  self._DisableChangeOcrResult = params.get("DisableChangeOcrResult")
732
730
  self._DisableCheckOcrWarnings = params.get("DisableCheckOcrWarnings")
733
731
  self._Extra = params.get("Extra")
732
+ self._SdkVersion = params.get("SdkVersion")
734
733
  self._ActionList = params.get("ActionList")
735
734
  memeber_set = set(params.keys())
736
735
  for name, value in vars(self).items():
@@ -4079,6 +4078,14 @@ Note: This field may return `null`, indicating that no valid values can be obtai
4079
4078
  :param _Extra: The pass-through parameter.
4080
4079
  Note: This field may return null, indicating that no valid values can be obtained.
4081
4080
  :type Extra: str
4081
+ :param _DeviceInfoLevel: Describe the risk level of the device where the current request is located, with a total of 4 levels. The details are as follows:
4082
+ 1 - Secure
4083
+ 2 - Low Risk
4084
+ 3 - Medium Risk
4085
+ 4 - High Risk
4086
+ Empty - Risk level not obtained.
4087
+ Only returned for the ENHANCED version, with the default value being empty.
4088
+ :type DeviceInfoLevel: str
4082
4089
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
4083
4090
  :type RequestId: str
4084
4091
  """
@@ -4089,6 +4096,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
4089
4096
  self._ActionVideo = None
4090
4097
  self._Similarity = None
4091
4098
  self._Extra = None
4099
+ self._DeviceInfoLevel = None
4092
4100
  self._RequestId = None
4093
4101
 
4094
4102
  @property
@@ -4180,6 +4188,23 @@ Note: This field may return null, indicating that no valid values can be obtaine
4180
4188
  def Extra(self, Extra):
4181
4189
  self._Extra = Extra
4182
4190
 
4191
+ @property
4192
+ def DeviceInfoLevel(self):
4193
+ """Describe the risk level of the device where the current request is located, with a total of 4 levels. The details are as follows:
4194
+ 1 - Secure
4195
+ 2 - Low Risk
4196
+ 3 - Medium Risk
4197
+ 4 - High Risk
4198
+ Empty - Risk level not obtained.
4199
+ Only returned for the ENHANCED version, with the default value being empty.
4200
+ :rtype: str
4201
+ """
4202
+ return self._DeviceInfoLevel
4203
+
4204
+ @DeviceInfoLevel.setter
4205
+ def DeviceInfoLevel(self, DeviceInfoLevel):
4206
+ self._DeviceInfoLevel = DeviceInfoLevel
4207
+
4183
4208
  @property
4184
4209
  def RequestId(self):
4185
4210
  """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
@@ -4200,6 +4225,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
4200
4225
  self._ActionVideo = params.get("ActionVideo")
4201
4226
  self._Similarity = params.get("Similarity")
4202
4227
  self._Extra = params.get("Extra")
4228
+ self._DeviceInfoLevel = params.get("DeviceInfoLevel")
4203
4229
  self._RequestId = params.get("RequestId")
4204
4230
 
4205
4231
 
@@ -4212,7 +4238,7 @@ class GetFaceIdTokenIntlRequest(AbstractModel):
4212
4238
  r"""
4213
4239
  :param _CheckMode: The detection mode. Valid values:
4214
4240
  `liveness`: Liveness detection only.
4215
- `compare`: Selfie verification.
4241
+ `compare`: Selfie Verification(liveness detection and face comparison).
4216
4242
  Default value: `liveness`.
4217
4243
  :type CheckMode: str
4218
4244
  :param _SecureLevel: The verification security level. Valid values:
@@ -4237,18 +4263,21 @@ Single action example: "blink"
4237
4263
  Multiple action example: "blink,mouth"
4238
4264
  The default value is blink. The different action types passed in this parameter take effect only when the SecurityLevel is 2 or 4; otherwise, the interface reports an error.
4239
4265
  :type ActionList: str
4266
+ :param _SdkVersion: ENHANCED: Enhanced Version, BASIC: Basic Version (Default)
4267
+ :type SdkVersion: str
4240
4268
  """
4241
4269
  self._CheckMode = None
4242
4270
  self._SecureLevel = None
4243
4271
  self._Image = None
4244
4272
  self._Extra = None
4245
4273
  self._ActionList = None
4274
+ self._SdkVersion = None
4246
4275
 
4247
4276
  @property
4248
4277
  def CheckMode(self):
4249
4278
  """The detection mode. Valid values:
4250
4279
  `liveness`: Liveness detection only.
4251
- `compare`: Selfie verification.
4280
+ `compare`: Selfie Verification(liveness detection and face comparison).
4252
4281
  Default value: `liveness`.
4253
4282
  :rtype: str
4254
4283
  """
@@ -4316,6 +4345,17 @@ The default value is blink. The different action types passed in this parameter
4316
4345
  def ActionList(self, ActionList):
4317
4346
  self._ActionList = ActionList
4318
4347
 
4348
+ @property
4349
+ def SdkVersion(self):
4350
+ """ENHANCED: Enhanced Version, BASIC: Basic Version (Default)
4351
+ :rtype: str
4352
+ """
4353
+ return self._SdkVersion
4354
+
4355
+ @SdkVersion.setter
4356
+ def SdkVersion(self, SdkVersion):
4357
+ self._SdkVersion = SdkVersion
4358
+
4319
4359
 
4320
4360
  def _deserialize(self, params):
4321
4361
  self._CheckMode = params.get("CheckMode")
@@ -4323,6 +4363,7 @@ The default value is blink. The different action types passed in this parameter
4323
4363
  self._Image = params.get("Image")
4324
4364
  self._Extra = params.get("Extra")
4325
4365
  self._ActionList = params.get("ActionList")
4366
+ self._SdkVersion = params.get("SdkVersion")
4326
4367
  memeber_set = set(params.keys())
4327
4368
  for name, value in vars(self).items():
4328
4369
  property_name = name[1:]
@@ -4559,6 +4600,14 @@ class GetSdkVerificationResultResponse(AbstractModel):
4559
4600
  :type CompareResults: list of CompareResult
4560
4601
  :param _Extra: Data passed through in the process of getting the token.
4561
4602
  :type Extra: str
4603
+ :param _DeviceInfoLevel: Describe the risk level of the device where the current request is located, with a total of 4 levels. The details are as follows:
4604
+ 1 - Secure
4605
+ 2 - Low Risk
4606
+ 3 - Medium Risk
4607
+ 4 - High Risk
4608
+ Empty - Risk level not obtained.
4609
+ Only returned for the ENHANCED version, with the default value being empty.
4610
+ :type DeviceInfoLevel: str
4562
4611
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
4563
4612
  :type RequestId: str
4564
4613
  """
@@ -4568,6 +4617,7 @@ class GetSdkVerificationResultResponse(AbstractModel):
4568
4617
  self._CardVerifyResults = None
4569
4618
  self._CompareResults = None
4570
4619
  self._Extra = None
4620
+ self._DeviceInfoLevel = None
4571
4621
  self._RequestId = None
4572
4622
 
4573
4623
  @property
@@ -4636,6 +4686,23 @@ class GetSdkVerificationResultResponse(AbstractModel):
4636
4686
  def Extra(self, Extra):
4637
4687
  self._Extra = Extra
4638
4688
 
4689
+ @property
4690
+ def DeviceInfoLevel(self):
4691
+ """Describe the risk level of the device where the current request is located, with a total of 4 levels. The details are as follows:
4692
+ 1 - Secure
4693
+ 2 - Low Risk
4694
+ 3 - Medium Risk
4695
+ 4 - High Risk
4696
+ Empty - Risk level not obtained.
4697
+ Only returned for the ENHANCED version, with the default value being empty.
4698
+ :rtype: str
4699
+ """
4700
+ return self._DeviceInfoLevel
4701
+
4702
+ @DeviceInfoLevel.setter
4703
+ def DeviceInfoLevel(self, DeviceInfoLevel):
4704
+ self._DeviceInfoLevel = DeviceInfoLevel
4705
+
4639
4706
  @property
4640
4707
  def RequestId(self):
4641
4708
  """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
@@ -4665,6 +4732,7 @@ class GetSdkVerificationResultResponse(AbstractModel):
4665
4732
  obj._deserialize(item)
4666
4733
  self._CompareResults.append(obj)
4667
4734
  self._Extra = params.get("Extra")
4735
+ self._DeviceInfoLevel = params.get("DeviceInfoLevel")
4668
4736
  self._RequestId = params.get("RequestId")
4669
4737
 
4670
4738
 
@@ -10675,6 +10743,10 @@ The default value is blink. The different action types passed in this parameter
10675
10743
  :type ActionList: str
10676
10744
  :param _LivenessRetryLimit: Control liveness retry number.The value range is 1-99.
10677
10745
  :type LivenessRetryLimit: int
10746
+ :param _LivenessTimeout: Specifies the liveness detection timeout period in seconds. value range: (0,600].
10747
+ :type LivenessTimeout: int
10748
+ :param _SelectedWarningCodes: Selects OCR alarms requiring attention. When an OCR Alarm occurs, the identity verification process will be interrupted. Default value is empty, indicating all alarms are monitored. This feature requires the parameter DisableCheckOcrWarnings=false. If the Alarm is disabled, this parameter will not be effective.
10749
+ :type SelectedWarningCodes: str
10678
10750
  """
10679
10751
  self._AutoSkipStartPage = None
10680
10752
  self._AutoSkip = None
@@ -10689,6 +10761,8 @@ The default value is blink. The different action types passed in this parameter
10689
10761
  self._AutoDowngrade = None
10690
10762
  self._ActionList = None
10691
10763
  self._LivenessRetryLimit = None
10764
+ self._LivenessTimeout = None
10765
+ self._SelectedWarningCodes = None
10692
10766
 
10693
10767
  @property
10694
10768
  def AutoSkipStartPage(self):
@@ -10862,6 +10936,28 @@ The default value is blink. The different action types passed in this parameter
10862
10936
  def LivenessRetryLimit(self, LivenessRetryLimit):
10863
10937
  self._LivenessRetryLimit = LivenessRetryLimit
10864
10938
 
10939
+ @property
10940
+ def LivenessTimeout(self):
10941
+ """Specifies the liveness detection timeout period in seconds. value range: (0,600].
10942
+ :rtype: int
10943
+ """
10944
+ return self._LivenessTimeout
10945
+
10946
+ @LivenessTimeout.setter
10947
+ def LivenessTimeout(self, LivenessTimeout):
10948
+ self._LivenessTimeout = LivenessTimeout
10949
+
10950
+ @property
10951
+ def SelectedWarningCodes(self):
10952
+ """Selects OCR alarms requiring attention. When an OCR Alarm occurs, the identity verification process will be interrupted. Default value is empty, indicating all alarms are monitored. This feature requires the parameter DisableCheckOcrWarnings=false. If the Alarm is disabled, this parameter will not be effective.
10953
+ :rtype: str
10954
+ """
10955
+ return self._SelectedWarningCodes
10956
+
10957
+ @SelectedWarningCodes.setter
10958
+ def SelectedWarningCodes(self, SelectedWarningCodes):
10959
+ self._SelectedWarningCodes = SelectedWarningCodes
10960
+
10865
10961
 
10866
10962
  def _deserialize(self, params):
10867
10963
  self._AutoSkipStartPage = params.get("AutoSkipStartPage")
@@ -10877,6 +10973,8 @@ The default value is blink. The different action types passed in this parameter
10877
10973
  self._AutoDowngrade = params.get("AutoDowngrade")
10878
10974
  self._ActionList = params.get("ActionList")
10879
10975
  self._LivenessRetryLimit = params.get("LivenessRetryLimit")
10976
+ self._LivenessTimeout = params.get("LivenessTimeout")
10977
+ self._SelectedWarningCodes = params.get("SelectedWarningCodes")
10880
10978
  memeber_set = set(params.keys())
10881
10979
  for name, value in vars(self).items():
10882
10980
  property_name = name[1:]
@@ -2009,9 +2009,9 @@ class LkeClient(AbstractClient):
2009
2009
  def SaveDoc(self, request):
2010
2010
  """This API is used to save a knowledge base document Q&As.
2011
2011
  Three steps to store a file in the knowledge library of the application:
2012
- 1. Obtain a temporary key. For more information, see [API Documentation](https://cloud.tencent.com/document/product/1759/105050). Different parameter combinations of the temporary key have different permissions. For more information, see [Tencent Cloud Agent Development Platform/TCADP COS Guide](https://cloud.tencent.com/document/product/1759/116238).
2013
- 2. Call the COS storage API provided by Tencent Cloud to store the file in the COS of TCADP. For details, see [COS SDK Overview](https://cloud.tencent.com/document/product/436/6474). Note that the temporary key method is used to operate COS.
2014
- 3. Call this API to store the basic information of the file in TCADP.
2012
+ 1. Obtain a temporary key. For more information, see [API Documentation](https://cloud.tencent.com/document/product/1759/105050). Different parameter combinations of the temporary key have different permissions. For more information, see [Tencent Cloud Agent Development Platform/ADP COS Guide](https://cloud.tencent.com/document/product/1759/116238).
2013
+ 2. Call the COS storage API provided by Tencent Cloud to store the file in the COS of ADP. For details, see [COS SDK Overview](https://cloud.tencent.com/document/product/436/6474). Note that the temporary key method is used to operate COS.
2014
+ 3. Call this API to store the basic information of the file in ADP.
2015
2015
  For the above steps, see [Documentation](https://cloud.tencent.com/document/product/1759/108903). At the end of the documentation, there is a [code demo](https://cloud.tencent.com/document/product/1759/108903#demo), which can be used as a reference.
2016
2016
 
2017
2017
  :param request: Request instance for SaveDoc.