tencentcloud-sdk-nodejs-intl-en 3.0.1438 → 3.0.1439
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/common/sdk_version.js +1 -1
- package/tencentcloud/ga2/index.js +3 -0
- package/tencentcloud/ga2/v20250115/ga2_client.js +46 -0
- package/tencentcloud/ga2/v20250115/index.js +4 -0
- package/tencentcloud/ga2/v20250115/models.js +86 -0
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/ocr/v20181119/models.js +456 -192
- package/tencentcloud/ocr/v20181119/ocr_client.js +19 -2
- package/tencentcloud/rce/v20260130/models.js +3846 -202
- package/tencentcloud/rce/v20260130/rce_client.js +65 -8
- package/tencentcloud/tcsas/v20250106/models.js +1809 -360
- package/tencentcloud/tcsas/v20250106/tcsas_client.js +83 -20
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1439";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const models = require("./models");
|
|
18
|
+
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const DescribeTaskResultRequest = models.DescribeTaskResultRequest;
|
|
20
|
+
const DescribeTaskResultResponse = models.DescribeTaskResultResponse;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* ga2 client
|
|
25
|
+
* @class
|
|
26
|
+
*/
|
|
27
|
+
class Ga2Client extends AbstractClient {
|
|
28
|
+
|
|
29
|
+
constructor(credential, region, profile) {
|
|
30
|
+
super("ga2.intl.tencentcloudapi.com", "2025-01-15", credential, region, profile);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Query asynchronous task result
|
|
35
|
+
* @param {DescribeTaskResultRequest} req
|
|
36
|
+
* @param {function(string, DescribeTaskResultResponse):void} cb
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
DescribeTaskResult(req, cb) {
|
|
40
|
+
let resp = new DescribeTaskResultResponse();
|
|
41
|
+
this.request("DescribeTaskResult", req, resp, cb);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
module.exports = Ga2Client;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const AbstractModel = require("../../common/abstract_model");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* DescribeTaskResult request structure.
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class DescribeTaskResultRequest extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Asynchronous task ID.
|
|
29
|
+
* @type {string || null}
|
|
30
|
+
*/
|
|
31
|
+
this.TaskId = null;
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @private
|
|
37
|
+
*/
|
|
38
|
+
deserialize(params) {
|
|
39
|
+
if (!params) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* DescribeTaskResult response structure.
|
|
49
|
+
* @class
|
|
50
|
+
*/
|
|
51
|
+
class DescribeTaskResultResponse extends AbstractModel {
|
|
52
|
+
constructor(){
|
|
53
|
+
super();
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Task status.
|
|
57
|
+
* @type {string || null}
|
|
58
|
+
*/
|
|
59
|
+
this.Status = null;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 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.
|
|
63
|
+
* @type {string || null}
|
|
64
|
+
*/
|
|
65
|
+
this.RequestId = null;
|
|
66
|
+
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @private
|
|
71
|
+
*/
|
|
72
|
+
deserialize(params) {
|
|
73
|
+
if (!params) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
77
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
module.exports = {
|
|
83
|
+
DescribeTaskResultRequest: DescribeTaskResultRequest,
|
|
84
|
+
DescribeTaskResultResponse: DescribeTaskResultResponse,
|
|
85
|
+
|
|
86
|
+
}
|