tencentcloud-sdk-python-intl-en 3.0.1221__py2.py3-none-any.whl → 3.0.1222__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1221'
16
+ __version__ = '3.0.1222'
@@ -25,7 +25,7 @@ class DescribeCaptchaResultRequest(AbstractModel):
25
25
 
26
26
  def __init__(self):
27
27
  r"""
28
- :param _CaptchaType: It must be `9` here.
28
+ :param _CaptchaType: Fill with fixed value: 9.
29
29
  :type CaptchaType: int
30
30
  :param _Ticket: The user verification ticket returned by the frontend callback function
31
31
  :type Ticket: str
@@ -62,7 +62,7 @@ class DescribeCaptchaResultRequest(AbstractModel):
62
62
 
63
63
  @property
64
64
  def CaptchaType(self):
65
- """It must be `9` here.
65
+ """Fill with fixed value: 9.
66
66
  :rtype: int
67
67
  """
68
68
  return self._CaptchaType
@@ -211,32 +211,36 @@ class DescribeCaptchaResultResponse(AbstractModel):
211
211
 
212
212
  def __init__(self):
213
213
  r"""
214
- :param _CaptchaCode: `1 OK`: Verification passed
215
- `7 captcha no match`: The passed in `Randstr` is invalid. Make sure it is the same as the `Randstr` returned from the frontend.
216
- `8 ticket expired`: The `Ticket` has expired. A ticket is valid for five minutes. Please generate a new `Ticket` and `Randstr`.
217
- `9 ticket reused`: The specified `Ticket` has been used. Please generate a new `Ticket` and `Randstr`.
218
- `15 decrypt fail`: The specified `Ticket` is invalid. Make sure it's the same as the Ticket returned from the frontend.
219
- `16 appid-ticket mismatch`: The specified `CaptchaAppId` is invalid. Make sure it's the same as the `CaptchaAppId` returned from the frontend. You can obtain it from the CAPTCHA console in **Verification management** > **Basic configuration**.
220
- `21 diff`. Ticket verification error. Possible reasons: 1) If the ticket contains the `terror` prefix, it's usually the case that a disaster recovery ticket is generated due to the network connection problems of the user. You can choose to ignore it or verify again. 2) If the ticket does not include the `terror` prefix, Captcha detects security risk on this request . You can choose to block it or not.
221
- `100 appid-secretkey-ticket mismatch`: Parameter error. 1) Make sure `CaptchaAppId` and `AppSecretKey` are correct. `CaptchaAppId` and `AppSecretKey` in the CAPTACHA console under **Verification management** > **Basic configuration**. 2) Make sure the passed-in `Ticket` is generated by using the passed-in `CaptchaAppId`.
214
+ :param _CaptchaCode: OK indicates verification passed.
215
+ 7 captcha no match. the passed in Randstr is invalid. please check if the Randstr is consistent with the Randstr returned by the frontend.
216
+ The passed-in ticket has expired (the valid period of the ticket is 5 minutes). generate the ticket and Randstr again for validation.
217
+ The passed-in ticket is reused. generate the ticket and Randstr again for verification.
218
+ 15 decrypt fail. the passed-in Ticket is invalid. please check if the Ticket is consistent with the Ticket returned by the frontend.
219
+ 16 appid-ticket mismatch. the passed in CaptchaAppId is incorrect. please check if the CaptchaAppId is consistent with the CaptchaAppId passed in by the frontend, and ensure that the CaptchaAppId is obtained from the verification code console [verification management] -> [basic configuration].
220
+ 21 diff invoice verification exception. possible reasons: (1) if the Ticket contains the trerror prefix, generally because the user has a poor network connection, resulting in the frontend's automatic disaster recovery and generation of a disaster recovery Ticket. the business side may skip or post-process as needed. (2) if the Ticket does not include the trerror prefix, it is because the security risk of the request was detected by the CAPTCHA-intl risk control system. the business side may intercept as needed.
221
+ 100 appid-secretkey-ticket mismatch. parameter validation error. (1) please check whether the CaptchaAppId and AppSecretKey are correct. the CaptchaAppId and AppSecretKey need to be obtained from verification code console > verification management > basic configuration. (2) please check whether the passed-in ticket is generated by the passed-in CaptchaAppId.
222
222
  :type CaptchaCode: int
223
- :param _CaptchaMsg: Status description and verification error message
224
- Note: This field may return `null`, indicating that no valid value was found.
223
+ :param _CaptchaMsg: Status description and verification error message.
225
224
  :type CaptchaMsg: str
226
- :param _EvilLevel: This parameter returns the result of imperceptible verification.
227
- `0`: The request is trusted.
228
- `100`: The request is malicious.
225
+ :param _EvilLevel: In invisible verification mode, this parameter returns the verification result.
226
+ EvilLevel=0 indicates that the request is not malicious.
227
+ The parameter EvilLevel = 100 indicates that the request is malicious.
229
228
  :type EvilLevel: int
230
- :param _GetCaptchaTime: The timestamp when the frontend obtains the CAPTCHA.
231
- Note: This field may return `null`, indicating that no valid value was found.
229
+ :param _GetCaptchaTime: Frontend retrieval time of the captcha-intl, timestamp format.
232
230
  :type GetCaptchaTime: int
233
231
  :param _EvilBitmap: Blocking type
234
232
  Note: This field may return null, indicating that no valid values can be obtained.
235
233
  :type EvilBitmap: int
236
234
  :param _SubmitCaptchaTime: The time when the CAPTCHA is submitted.
237
235
  :type SubmitCaptchaTime: int
238
- :param _DeviceRiskCategory: Device Risk Category.
236
+ :param _DeviceRiskCategory: Device risk category.
237
+ Note: This field may return null, indicating that no valid values can be obtained.
239
238
  :type DeviceRiskCategory: str
239
+ :param _Score: CAPTCHA-Intl score.
240
+ Note:The score ranges from 0 to 100 (e.g., 20, 70, 90).
241
+ A higher score indicates a greater probability that the interaction was initiated by a bot or represents a bot attack.
242
+ A lower score indicates a greater probability that the interaction was performed by a real human user.
243
+ :type Score: int
240
244
  :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.
241
245
  :type RequestId: str
242
246
  """
@@ -247,18 +251,19 @@ Note: This field may return null, indicating that no valid values can be obtaine
247
251
  self._EvilBitmap = None
248
252
  self._SubmitCaptchaTime = None
249
253
  self._DeviceRiskCategory = None
254
+ self._Score = None
250
255
  self._RequestId = None
251
256
 
252
257
  @property
253
258
  def CaptchaCode(self):
254
- """`1 OK`: Verification passed
255
- `7 captcha no match`: The passed in `Randstr` is invalid. Make sure it is the same as the `Randstr` returned from the frontend.
256
- `8 ticket expired`: The `Ticket` has expired. A ticket is valid for five minutes. Please generate a new `Ticket` and `Randstr`.
257
- `9 ticket reused`: The specified `Ticket` has been used. Please generate a new `Ticket` and `Randstr`.
258
- `15 decrypt fail`: The specified `Ticket` is invalid. Make sure it's the same as the Ticket returned from the frontend.
259
- `16 appid-ticket mismatch`: The specified `CaptchaAppId` is invalid. Make sure it's the same as the `CaptchaAppId` returned from the frontend. You can obtain it from the CAPTCHA console in **Verification management** > **Basic configuration**.
260
- `21 diff`. Ticket verification error. Possible reasons: 1) If the ticket contains the `terror` prefix, it's usually the case that a disaster recovery ticket is generated due to the network connection problems of the user. You can choose to ignore it or verify again. 2) If the ticket does not include the `terror` prefix, Captcha detects security risk on this request . You can choose to block it or not.
261
- `100 appid-secretkey-ticket mismatch`: Parameter error. 1) Make sure `CaptchaAppId` and `AppSecretKey` are correct. `CaptchaAppId` and `AppSecretKey` in the CAPTACHA console under **Verification management** > **Basic configuration**. 2) Make sure the passed-in `Ticket` is generated by using the passed-in `CaptchaAppId`.
259
+ """OK indicates verification passed.
260
+ 7 captcha no match. the passed in Randstr is invalid. please check if the Randstr is consistent with the Randstr returned by the frontend.
261
+ The passed-in ticket has expired (the valid period of the ticket is 5 minutes). generate the ticket and Randstr again for validation.
262
+ The passed-in ticket is reused. generate the ticket and Randstr again for verification.
263
+ 15 decrypt fail. the passed-in Ticket is invalid. please check if the Ticket is consistent with the Ticket returned by the frontend.
264
+ 16 appid-ticket mismatch. the passed in CaptchaAppId is incorrect. please check if the CaptchaAppId is consistent with the CaptchaAppId passed in by the frontend, and ensure that the CaptchaAppId is obtained from the verification code console [verification management] -> [basic configuration].
265
+ 21 diff invoice verification exception. possible reasons: (1) if the Ticket contains the trerror prefix, generally because the user has a poor network connection, resulting in the frontend's automatic disaster recovery and generation of a disaster recovery Ticket. the business side may skip or post-process as needed. (2) if the Ticket does not include the trerror prefix, it is because the security risk of the request was detected by the CAPTCHA-intl risk control system. the business side may intercept as needed.
266
+ 100 appid-secretkey-ticket mismatch. parameter validation error. (1) please check whether the CaptchaAppId and AppSecretKey are correct. the CaptchaAppId and AppSecretKey need to be obtained from verification code console > verification management > basic configuration. (2) please check whether the passed-in ticket is generated by the passed-in CaptchaAppId.
262
267
  :rtype: int
263
268
  """
264
269
  return self._CaptchaCode
@@ -269,8 +274,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
269
274
 
270
275
  @property
271
276
  def CaptchaMsg(self):
272
- """Status description and verification error message
273
- Note: This field may return `null`, indicating that no valid value was found.
277
+ """Status description and verification error message.
274
278
  :rtype: str
275
279
  """
276
280
  return self._CaptchaMsg
@@ -281,9 +285,9 @@ Note: This field may return `null`, indicating that no valid value was found.
281
285
 
282
286
  @property
283
287
  def EvilLevel(self):
284
- """This parameter returns the result of imperceptible verification.
285
- `0`: The request is trusted.
286
- `100`: The request is malicious.
288
+ """In invisible verification mode, this parameter returns the verification result.
289
+ EvilLevel=0 indicates that the request is not malicious.
290
+ The parameter EvilLevel = 100 indicates that the request is malicious.
287
291
  :rtype: int
288
292
  """
289
293
  return self._EvilLevel
@@ -294,8 +298,7 @@ Note: This field may return `null`, indicating that no valid value was found.
294
298
 
295
299
  @property
296
300
  def GetCaptchaTime(self):
297
- """The timestamp when the frontend obtains the CAPTCHA.
298
- Note: This field may return `null`, indicating that no valid value was found.
301
+ """Frontend retrieval time of the captcha-intl, timestamp format.
299
302
  :rtype: int
300
303
  """
301
304
  return self._GetCaptchaTime
@@ -329,7 +332,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
329
332
 
330
333
  @property
331
334
  def DeviceRiskCategory(self):
332
- """Device Risk Category.
335
+ """Device risk category.
336
+ Note: This field may return null, indicating that no valid values can be obtained.
333
337
  :rtype: str
334
338
  """
335
339
  return self._DeviceRiskCategory
@@ -338,6 +342,20 @@ Note: This field may return null, indicating that no valid values can be obtaine
338
342
  def DeviceRiskCategory(self, DeviceRiskCategory):
339
343
  self._DeviceRiskCategory = DeviceRiskCategory
340
344
 
345
+ @property
346
+ def Score(self):
347
+ """CAPTCHA-Intl score.
348
+ Note:The score ranges from 0 to 100 (e.g., 20, 70, 90).
349
+ A higher score indicates a greater probability that the interaction was initiated by a bot or represents a bot attack.
350
+ A lower score indicates a greater probability that the interaction was performed by a real human user.
351
+ :rtype: int
352
+ """
353
+ return self._Score
354
+
355
+ @Score.setter
356
+ def Score(self, Score):
357
+ self._Score = Score
358
+
341
359
  @property
342
360
  def RequestId(self):
343
361
  """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.
@@ -358,4 +376,5 @@ Note: This field may return null, indicating that no valid values can be obtaine
358
376
  self._EvilBitmap = params.get("EvilBitmap")
359
377
  self._SubmitCaptchaTime = params.get("SubmitCaptchaTime")
360
378
  self._DeviceRiskCategory = params.get("DeviceRiskCategory")
379
+ self._Score = params.get("Score")
361
380
  self._RequestId = params.get("RequestId")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1221
3
+ Version: 3.0.1222
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=F2Yvo5Qa7jyHDMsBqz1Kq-ob8p-8DucM7sshZUcNMrI,630
1
+ tencentcloud/__init__.py,sha256=rqCE83tRVfMDzeA-AaDrcQysEFmVIlg5-0w8YNEhQXM,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=FuBG5ZJpmnVpDyVC84G_cjEWSa-mm6oyBvOIDe5SP-g,2924
@@ -58,7 +58,7 @@ tencentcloud/captcha/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
58
58
  tencentcloud/captcha/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
59
59
  tencentcloud/captcha/v20190722/captcha_client.py,sha256=y1RxdI4xBT_kunM86dE8gbeFxpLNUfLhRFZU9FTSPKU,1983
60
60
  tencentcloud/captcha/v20190722/errorcodes.py,sha256=EHjS9VcOBIw7wkIBSufMJiTJQ0rIlC-64mnmTZz-Xqg,995
61
- tencentcloud/captcha/v20190722/models.py,sha256=1R994E5gpKOn4IBBLEl7T5l3wHxqedfgsQHk68wX80Q,14827
61
+ tencentcloud/captcha/v20190722/models.py,sha256=VtDO3hYdtqFE-nVNTzNcAzpMntrJ4GA1jJcx0Feg1yo,16211
62
62
  tencentcloud/car/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
63
  tencentcloud/car/v20220110/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
64
  tencentcloud/car/v20220110/car_client.py,sha256=ZEr-xENXcBWeIKdJEJCPEIXx5SYJwHmf8S50w1tbWsM,33215
@@ -659,7 +659,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
659
659
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
660
660
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
661
661
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=LY01pPiy1k_AXnHgG0FonGekRSFMY3t9pcYH8aE27oQ,67389
662
- tencentcloud_sdk_python_intl_en-3.0.1221.dist-info/METADATA,sha256=ciWcA_5Jab1vslFVdm81t2ZuYG5cDiZLgrho4BPQVNI,1628
663
- tencentcloud_sdk_python_intl_en-3.0.1221.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
664
- tencentcloud_sdk_python_intl_en-3.0.1221.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
665
- tencentcloud_sdk_python_intl_en-3.0.1221.dist-info/RECORD,,
662
+ tencentcloud_sdk_python_intl_en-3.0.1222.dist-info/METADATA,sha256=aD8ftaF0m9chNYlZDypmAsR2Nzo23A09Z5ypegeo0fo,1628
663
+ tencentcloud_sdk_python_intl_en-3.0.1222.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
664
+ tencentcloud_sdk_python_intl_en-3.0.1222.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
665
+ tencentcloud_sdk_python_intl_en-3.0.1222.dist-info/RECORD,,