tencentcloud-sdk-nodejs-intl-en 3.0.1197 → 3.0.1198

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1197",
3
+ "version": "3.0.1198",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -25,36 +25,34 @@ class DescribeCaptchaResultResponse extends AbstractModel {
25
25
  super();
26
26
 
27
27
  /**
28
- * `1 OK`: Verification passed
29
- `7 captcha no match`: The passed in `Randstr` is invalid. Make sure it is the same as the `Randstr` returned from the frontend.
30
- `8 ticket expired`: The `Ticket` has expired. A ticket is valid for five minutes. Please generate a new `Ticket` and `Randstr`.
31
- `9 ticket reused`: The specified `Ticket` has been used. Please generate a new `Ticket` and `Randstr`.
32
- `15 decrypt fail`: The specified `Ticket` is invalid. Make sure it's the same as the Ticket returned from the frontend.
33
- `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**.
34
- `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.
35
- `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`.
28
+ * OK indicates verification passed.
29
+ 7 captcha no match. the passed in Randstr is invalid. please check if the Randstr is consistent with the Randstr returned by the frontend.
30
+ The passed-in ticket has expired (the valid period of the ticket is 5 minutes). generate the ticket and Randstr again for validation.
31
+ The passed-in ticket is reused. generate the ticket and Randstr again for verification.
32
+ 15 decrypt fail. the passed-in Ticket is invalid. please check if the Ticket is consistent with the Ticket returned by the frontend.
33
+ 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].
34
+ 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.
35
+ 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.
36
36
  * @type {number || null}
37
37
  */
38
38
  this.CaptchaCode = null;
39
39
 
40
40
  /**
41
- * Status description and verification error message
42
- Note: This field may return `null`, indicating that no valid value was found.
41
+ * Status description and verification error message.
43
42
  * @type {string || null}
44
43
  */
45
44
  this.CaptchaMsg = null;
46
45
 
47
46
  /**
48
- * This parameter returns the result of imperceptible verification.
49
- `0`: The request is trusted.
50
- `100`: The request is malicious.
47
+ * In invisible verification mode, this parameter returns the verification result.
48
+ EvilLevel=0 indicates that the request is not malicious.
49
+ The parameter EvilLevel = 100 indicates that the request is malicious.
51
50
  * @type {number || null}
52
51
  */
53
52
  this.EvilLevel = null;
54
53
 
55
54
  /**
56
- * The timestamp when the frontend obtains the CAPTCHA.
57
- Note: This field may return `null`, indicating that no valid value was found.
55
+ * Frontend retrieval time of the captcha-intl, timestamp format.
58
56
  * @type {number || null}
59
57
  */
60
58
  this.GetCaptchaTime = null;
@@ -73,11 +71,21 @@ Note: This field may return null, indicating that no valid values can be obtaine
73
71
  this.SubmitCaptchaTime = null;
74
72
 
75
73
  /**
76
- * Device Risk Category.
74
+ * Device risk category.
75
+ Note: This field may return null, indicating that no valid values can be obtained.
77
76
  * @type {string || null}
78
77
  */
79
78
  this.DeviceRiskCategory = null;
80
79
 
80
+ /**
81
+ * CAPTCHA-Intl score.
82
+ Note:The score ranges from 0 to 100 (e.g., 20, 70, 90).
83
+ A higher score indicates a greater probability that the interaction was initiated by a bot or represents a bot attack.
84
+ A lower score indicates a greater probability that the interaction was performed by a real human user.
85
+ * @type {number || null}
86
+ */
87
+ this.Score = null;
88
+
81
89
  /**
82
90
  * 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.
83
91
  * @type {string || null}
@@ -100,6 +108,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
100
108
  this.EvilBitmap = 'EvilBitmap' in params ? params.EvilBitmap : null;
101
109
  this.SubmitCaptchaTime = 'SubmitCaptchaTime' in params ? params.SubmitCaptchaTime : null;
102
110
  this.DeviceRiskCategory = 'DeviceRiskCategory' in params ? params.DeviceRiskCategory : null;
111
+ this.Score = 'Score' in params ? params.Score : null;
103
112
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
104
113
 
105
114
  }
@@ -114,7 +123,7 @@ class DescribeCaptchaResultRequest extends AbstractModel {
114
123
  super();
115
124
 
116
125
  /**
117
- * It must be `9` here.
126
+ * Fill with fixed value: 9.
118
127
  * @type {number || null}
119
128
  */
120
129
  this.CaptchaType = null;
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1197";
1
+ const sdkVersion = "3.0.1198";
2
2
  module.exports = sdkVersion