tencentcloud-sdk-nodejs 4.1.84 → 4.1.86
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/es/common/sdk_version.js +1 -1
- package/es/services/index.js +1 -0
- package/es/services/ocr/v20181119/ocr_client.js +3 -0
- package/es/services/wedata/v20210820/wedata_client.js +28 -4
- package/es/services/wsa/index.js +4 -0
- package/es/services/wsa/v20250508/index.js +6 -0
- package/es/services/wsa/v20250508/wsa_client.js +9 -0
- package/es/services/wsa/v20250508/wsa_models.js +0 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +6 -6
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -6
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +90 -78
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +12 -4
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +12 -4
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +14 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +17 -6
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +15 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +3 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +3 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +5 -5
- package/tencentcloud/services/live/v20180801/live_models.d.ts +21 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +9 -1
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +5 -5
- package/tencentcloud/services/mps/v20190612/mps_client.js +5 -5
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +251 -76
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +11 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +106 -64
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +9 -9
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +9 -9
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +195 -181
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +13 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +94 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +38 -6
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +55 -7
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +639 -222
- package/tencentcloud/services/wsa/index.d.ts +6 -0
- package/tencentcloud/services/wsa/index.js +7 -0
- package/tencentcloud/services/wsa/v20250508/index.d.ts +6 -0
- package/tencentcloud/services/wsa/v20250508/index.js +10 -0
- package/tencentcloud/services/wsa/v20250508/wsa_client.d.ts +14 -0
- package/tencentcloud/services/wsa/v20250508/wsa_client.js +37 -0
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +46 -0
- package/tencentcloud/services/wsa/v20250508/wsa_models.js +18 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.v20250508 = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const Models = tslib_1.__importStar(require("./wsa_models"));
|
6
|
+
const wsa_client_1 = require("./wsa_client");
|
7
|
+
exports.v20250508 = {
|
8
|
+
Client: wsa_client_1.Client,
|
9
|
+
Models: Models
|
10
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
3
|
+
import { SearchProRequest, SearchProResponse } from "./wsa_models";
|
4
|
+
/**
|
5
|
+
* wsa client
|
6
|
+
* @class
|
7
|
+
*/
|
8
|
+
export declare class Client extends AbstractClient {
|
9
|
+
constructor(clientConfig: ClientConfig);
|
10
|
+
/**
|
11
|
+
* 联网搜索API,以json形式向客户提供搜索结果数据,包含不仅限于标题、摘要、内容来源url等信息
|
12
|
+
*/
|
13
|
+
SearchPro(req: SearchProRequest, cb?: (error: string, rep: SearchProResponse) => void): Promise<SearchProResponse>;
|
14
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Client = void 0;
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
5
|
+
/*
|
6
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
7
|
+
*
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
+
* you may not use this file except in compliance with the License.
|
10
|
+
* You may obtain a copy of the License at
|
11
|
+
*
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
*
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
15
|
+
* software distributed under the License is distributed on an
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
17
|
+
* KIND, either express or implied. See the License for the
|
18
|
+
* specific language governing permissions and limitations
|
19
|
+
* under the License.
|
20
|
+
*/
|
21
|
+
const abstract_client_1 = require("../../../common/abstract_client");
|
22
|
+
/**
|
23
|
+
* wsa client
|
24
|
+
* @class
|
25
|
+
*/
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
27
|
+
constructor(clientConfig) {
|
28
|
+
super("wsa.tencentcloudapi.com", "2025-05-08", clientConfig);
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* 联网搜索API,以json形式向客户提供搜索结果数据,包含不仅限于标题、摘要、内容来源url等信息
|
32
|
+
*/
|
33
|
+
async SearchPro(req, cb) {
|
34
|
+
return this.request("SearchPro", req, cb);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
exports.Client = Client;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/**
|
2
|
+
* SearchPro请求参数结构体
|
3
|
+
*/
|
4
|
+
export interface SearchProRequest {
|
5
|
+
/**
|
6
|
+
* 搜索词
|
7
|
+
*/
|
8
|
+
Query: string;
|
9
|
+
/**
|
10
|
+
* 返回结果类型,0-自然检索结果(默认),1-垂类VR结果,2-混合结果(垂类VR结果+自然检索结果)
|
11
|
+
*/
|
12
|
+
Mode?: number;
|
13
|
+
/**
|
14
|
+
* 指定域名站内搜索(用于过滤自然检索结果) 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
|
15
|
+
*/
|
16
|
+
Site?: string;
|
17
|
+
/**
|
18
|
+
* 起始时间(用于过滤自然检索结果),精确到秒时间戳格式 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
|
19
|
+
*/
|
20
|
+
FromTime?: number;
|
21
|
+
/**
|
22
|
+
* 结束时间(用于过滤自然检索结果),精确到秒时间戳格式 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
|
23
|
+
*/
|
24
|
+
ToTime?: number;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* SearchPro返回参数结构体
|
28
|
+
*/
|
29
|
+
export interface SearchProResponse {
|
30
|
+
/**
|
31
|
+
* 原始查询语
|
32
|
+
*/
|
33
|
+
Query?: string;
|
34
|
+
/**
|
35
|
+
* 搜索结果页面
|
36
|
+
*/
|
37
|
+
Pages?: Array<string>;
|
38
|
+
/**
|
39
|
+
* 提示信息
|
40
|
+
*/
|
41
|
+
Msg?: string;
|
42
|
+
/**
|
43
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
44
|
+
*/
|
45
|
+
RequestId?: string;
|
46
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
12
|
+
* software distributed under the License is distributed on an
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
* KIND, either express or implied. See the License for the
|
15
|
+
* specific language governing permissions and limitations
|
16
|
+
* under the License.
|
17
|
+
*/
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|