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

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.1199",
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.1199";
2
2
  module.exports = sdkVersion
@@ -9611,7 +9611,7 @@ class CreateBackupRequest extends AbstractModel {
9611
9611
  this.BackupName = null;
9612
9612
 
9613
9613
  /**
9614
- *
9614
+ * Backup storage policy. 0: Follow the custom backup retention policy; 1: Follow the instance lifecycle until the instance is eliminated. Default value: 0.
9615
9615
  * @type {number || null}
9616
9616
  */
9617
9617
  this.StorageStrategy = null;
@@ -640,6 +640,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
640
640
  */
641
641
  this.PrivateParameters = null;
642
642
 
643
+ /**
644
+ * current configured origin HOST header.
645
+ * @type {string || null}
646
+ */
647
+ this.HostHeader = null;
648
+
643
649
  /**
644
650
  * MO sub-application ID
645
651
  * @type {number || null}
@@ -658,6 +664,19 @@ Note: This field may return null, indicating that no valid values can be obtaine
658
664
  */
659
665
  this.VodeoBucketId = null;
660
666
 
667
+ /**
668
+ * VOD origin-pull range. this parameter returns a value when OriginType = VOD. valid values: <li>all: all files in the VOD application corresponding to the current origin server. the default value is all;</li> <li>bucket: files in a specified bucket under the VOD application corresponding to the current origin server. specify the bucket by the VodBucketId parameter.</li>.
669
+ </li>
670
+ * @type {string || null}
671
+ */
672
+ this.VodOriginScope = null;
673
+
674
+ /**
675
+ * VOD bucket ID. this parameter is required when OriginType = VOD and VodOriginScope = bucket. data source: storage ID of the bucket under the VOD professional application.
676
+ * @type {string || null}
677
+ */
678
+ this.VodBucketId = null;
679
+
661
680
  }
662
681
 
663
682
  /**
@@ -682,9 +701,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
682
701
  this.PrivateParameters.push(obj);
683
702
  }
684
703
  }
704
+ this.HostHeader = 'HostHeader' in params ? params.HostHeader : null;
685
705
  this.VodeoSubAppId = 'VodeoSubAppId' in params ? params.VodeoSubAppId : null;
686
706
  this.VodeoDistributionRange = 'VodeoDistributionRange' in params ? params.VodeoDistributionRange : null;
687
707
  this.VodeoBucketId = 'VodeoBucketId' in params ? params.VodeoBucketId : null;
708
+ this.VodOriginScope = 'VodOriginScope' in params ? params.VodOriginScope : null;
709
+ this.VodBucketId = 'VodBucketId' in params ? params.VodBucketId : null;
688
710
 
689
711
  }
690
712
  }
@@ -17014,6 +17036,16 @@ If it is not specified, the default value is off.
17014
17036
  */
17015
17037
  this.PrivateParameters = null;
17016
17038
 
17039
+ /**
17040
+ * Custom origin HOST header, this parameter only takes effect when OriginType=IP_DOMAIN.
17041
+
17042
+ - If OriginType=COS or AWS_S3, the origin HOST header will be consistent with the origin domain name.
17043
+ - If OriginType=ORIGIN_GROUP, the origin HOST header follows the configuration within the origin group;if not configured, it defaults to the acceleration domain name.
17044
+ - If OriginType=VOD or SPACE, there is no need to configure this header, and it will take effect according to the corresponding origin domain name.
17045
+ * @type {string || null}
17046
+ */
17047
+ this.HostHeader = null;
17048
+
17017
17049
  /**
17018
17050
  * VODEO sub-application ID. This parameter is required when OriginType is VODEO.
17019
17051
  * @type {number || null}
@@ -17034,6 +17066,19 @@ If it is not specified, the default value is off.
17034
17066
  */
17035
17067
  this.VodeoBucketId = null;
17036
17068
 
17069
+ /**
17070
+ * VOD origin-pull scope. this parameter is valid only when OriginType = VOD. valid values: <li>all: all files in the VOD application corresponding to the current origin server. the default value is all;</li> <li>bucket: files in a specified bucket under the VOD application corresponding to the current origin server. specify the bucket by the parameter VodBucketId.</li>.
17071
+ </li>
17072
+ * @type {string || null}
17073
+ */
17074
+ this.VodOriginScope = null;
17075
+
17076
+ /**
17077
+ * VOD bucket ID. this parameter is required when OriginType = VOD and VodOriginScope = bucket. data source: storage ID of the bucket under the VOD professional edition application.
17078
+ * @type {string || null}
17079
+ */
17080
+ this.VodBucketId = null;
17081
+
17037
17082
  }
17038
17083
 
17039
17084
  /**
@@ -17056,9 +17101,12 @@ If it is not specified, the default value is off.
17056
17101
  this.PrivateParameters.push(obj);
17057
17102
  }
17058
17103
  }
17104
+ this.HostHeader = 'HostHeader' in params ? params.HostHeader : null;
17059
17105
  this.VodeoSubAppId = 'VodeoSubAppId' in params ? params.VodeoSubAppId : null;
17060
17106
  this.VodeoDistributionRange = 'VodeoDistributionRange' in params ? params.VodeoDistributionRange : null;
17061
17107
  this.VodeoBucketId = 'VodeoBucketId' in params ? params.VodeoBucketId : null;
17108
+ this.VodOriginScope = 'VodOriginScope' in params ? params.VodOriginScope : null;
17109
+ this.VodBucketId = 'VodBucketId' in params ? params.VodBucketId : null;
17062
17110
 
17063
17111
  }
17064
17112
  }