tencentcloud-sdk-nodejs-intl-en 3.0.1435 → 3.0.1437
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 +1 -1
- package/tencentcloud/antiddos/index.js +1 -1
- package/tencentcloud/captcha/v20190722/captcha_client.js +110 -1
- package/tencentcloud/captcha/v20190722/models.js +1390 -43
- package/tencentcloud/ciam/index.js +1 -1
- package/tencentcloud/clb/index.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/models.js +4 -3
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/dts/index.js +1 -1
- package/tencentcloud/es/index.js +1 -1
- package/tencentcloud/monitor/index.js +1 -1
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/rce/index.js +1 -1
- package/tencentcloud/teo/index.js +1 -1
- package/tencentcloud/tke/index.js +1 -1
- package/tencentcloud/vm/index.js +1 -1
- package/tencentcloud/vod/v20180717/models.js +1 -1
package/package.json
CHANGED
|
@@ -16,8 +16,29 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const
|
|
19
|
+
const ModifyCaptchaInfoInternationalRequest = models.ModifyCaptchaInfoInternationalRequest;
|
|
20
|
+
const DeleteIpWhiteListInternationalResponse = models.DeleteIpWhiteListInternationalResponse;
|
|
21
|
+
const DescribeCaptchaConsoleDataInternational = models.DescribeCaptchaConsoleDataInternational;
|
|
22
|
+
const RemoveCaptchaInfoInternationalRequest = models.RemoveCaptchaInfoInternationalRequest;
|
|
23
|
+
const CreateCaptchaInfoInternationalResponse = models.CreateCaptchaInfoInternationalResponse;
|
|
24
|
+
const ModifyIpWhiteListInternationalResponse = models.ModifyIpWhiteListInternationalResponse;
|
|
25
|
+
const ModifyIpWhiteListInternationalRequest = models.ModifyIpWhiteListInternationalRequest;
|
|
26
|
+
const CreateIpWhiteListInternationalRequest = models.CreateIpWhiteListInternationalRequest;
|
|
27
|
+
const DescribeIpWhiteListInternationalRequest = models.DescribeIpWhiteListInternationalRequest;
|
|
28
|
+
const ModifyCaptchaInfoInternationalResponse = models.ModifyCaptchaInfoInternationalResponse;
|
|
29
|
+
const DescribeCaptchaConsoleSubDataInternational = models.DescribeCaptchaConsoleSubDataInternational;
|
|
30
|
+
const OrderByInternational = models.OrderByInternational;
|
|
31
|
+
const DescribeCaptchaInfoListInternationalRequest = models.DescribeCaptchaInfoListInternationalRequest;
|
|
32
|
+
const DescribeCaptchaWhiteListItem = models.DescribeCaptchaWhiteListItem;
|
|
33
|
+
const DescribeIpWhiteListInternationalResponse = models.DescribeIpWhiteListInternationalResponse;
|
|
34
|
+
const CreateIpWhiteListInternationalResponse = models.CreateIpWhiteListInternationalResponse;
|
|
35
|
+
const DescribeCaptchaIpWhiteListDataNew = models.DescribeCaptchaIpWhiteListDataNew;
|
|
36
|
+
const CreateCaptchaInfoInternationalRequest = models.CreateCaptchaInfoInternationalRequest;
|
|
20
37
|
const DescribeCaptchaResultRequest = models.DescribeCaptchaResultRequest;
|
|
38
|
+
const DescribeCaptchaResultResponse = models.DescribeCaptchaResultResponse;
|
|
39
|
+
const DescribeCaptchaInfoListInternationalResponse = models.DescribeCaptchaInfoListInternationalResponse;
|
|
40
|
+
const DeleteIpWhiteListInternationalRequest = models.DeleteIpWhiteListInternationalRequest;
|
|
41
|
+
const RemoveCaptchaInfoInternationalResponse = models.RemoveCaptchaInfoInternationalResponse;
|
|
21
42
|
|
|
22
43
|
|
|
23
44
|
/**
|
|
@@ -30,6 +51,50 @@ class CaptchaClient extends AbstractClient {
|
|
|
30
51
|
super("captcha.intl.tencentcloudapi.com", "2019-07-22", credential, region, profile);
|
|
31
52
|
}
|
|
32
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Create a captcha: You can create multiple Captcha based on different business needs. Each verification has different client types and security policies. The limit for new Captcha is 50.
|
|
56
|
+
* @param {CreateCaptchaInfoInternationalRequest} req
|
|
57
|
+
* @param {function(string, CreateCaptchaInfoInternationalResponse):void} cb
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
CreateCaptchaInfoInternational(req, cb) {
|
|
61
|
+
let resp = new CreateCaptchaInfoInternationalResponse();
|
|
62
|
+
this.request("CreateCaptchaInfoInternational", req, resp, cb);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Delete a captcha: once deleted, verification scenarios using this CaptchaAppId will fail to load the verification code on the frontend, and invoice verification will report an error on the backend. Proceed with caution.
|
|
67
|
+
* @param {RemoveCaptchaInfoInternationalRequest} req
|
|
68
|
+
* @param {function(string, RemoveCaptchaInfoInternationalResponse):void} cb
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
RemoveCaptchaInfoInternational(req, cb) {
|
|
72
|
+
let resp = new RemoveCaptchaInfoInternationalResponse();
|
|
73
|
+
this.request("RemoveCaptchaInfoInternational", req, resp, cb);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Delete an IP allowlist: You can delete an IP allowlist based on different business needs.
|
|
78
|
+
* @param {DeleteIpWhiteListInternationalRequest} req
|
|
79
|
+
* @param {function(string, DeleteIpWhiteListInternationalResponse):void} cb
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
DeleteIpWhiteListInternational(req, cb) {
|
|
83
|
+
let resp = new DeleteIpWhiteListInternationalResponse();
|
|
84
|
+
this.request("DeleteIpWhiteListInternational", req, resp, cb);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Edit IP allowlist: You can edit the IP allowlist based on different business needs.
|
|
89
|
+
* @param {ModifyIpWhiteListInternationalRequest} req
|
|
90
|
+
* @param {function(string, ModifyIpWhiteListInternationalResponse):void} cb
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
ModifyIpWhiteListInternational(req, cb) {
|
|
94
|
+
let resp = new ModifyIpWhiteListInternationalResponse();
|
|
95
|
+
this.request("ModifyIpWhiteListInternational", req, resp, cb);
|
|
96
|
+
}
|
|
97
|
+
|
|
33
98
|
/**
|
|
34
99
|
* This API is used to query the result of CAPTCHA ticket verification (web and app).
|
|
35
100
|
* @param {DescribeCaptchaResultRequest} req
|
|
@@ -41,6 +106,50 @@ class CaptchaClient extends AbstractClient {
|
|
|
41
106
|
this.request("DescribeCaptchaResult", req, resp, cb);
|
|
42
107
|
}
|
|
43
108
|
|
|
109
|
+
/**
|
|
110
|
+
* Create an IP allowlist: You can create an IP allowlist based on different business needs.
|
|
111
|
+
* @param {CreateIpWhiteListInternationalRequest} req
|
|
112
|
+
* @param {function(string, CreateIpWhiteListInternationalResponse):void} cb
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
CreateIpWhiteListInternational(req, cb) {
|
|
116
|
+
let resp = new CreateIpWhiteListInternationalResponse();
|
|
117
|
+
this.request("CreateIpWhiteListInternational", req, resp, cb);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* IP allowlist list: You can query the IP whitelist list based on different business needs.
|
|
122
|
+
* @param {DescribeIpWhiteListInternationalRequest} req
|
|
123
|
+
* @param {function(string, DescribeIpWhiteListInternationalResponse):void} cb
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
DescribeIpWhiteListInternational(req, cb) {
|
|
127
|
+
let resp = new DescribeIpWhiteListInternationalResponse();
|
|
128
|
+
this.request("DescribeIpWhiteListInternational", req, resp, cb);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Change the captcha configuration, including basic, appearance, and security settings such as captcha name, prompt language, and validation type.
|
|
133
|
+
* @param {ModifyCaptchaInfoInternationalRequest} req
|
|
134
|
+
* @param {function(string, ModifyCaptchaInfoInternationalResponse):void} cb
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
ModifyCaptchaInfoInternational(req, cb) {
|
|
138
|
+
let resp = new ModifyCaptchaInfoInternationalResponse();
|
|
139
|
+
this.request("ModifyCaptchaInfoInternational", req, resp, cb);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Query the Captcha list to obtain all verification CaptchaAppIds, verification names, and other information internationally.
|
|
144
|
+
* @param {DescribeCaptchaInfoListInternationalRequest} req
|
|
145
|
+
* @param {function(string, DescribeCaptchaInfoListInternationalResponse):void} cb
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
DescribeCaptchaInfoListInternational(req, cb) {
|
|
149
|
+
let resp = new DescribeCaptchaInfoListInternationalResponse();
|
|
150
|
+
this.request("DescribeCaptchaInfoListInternational", req, resp, cb);
|
|
151
|
+
}
|
|
152
|
+
|
|
44
153
|
|
|
45
154
|
}
|
|
46
155
|
module.exports = CaptchaClient;
|