tencentcloud-sdk-nodejs 4.1.163 → 4.1.165
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/cfw/v20190904/cfw_client.js +6 -0
- package/es/services/cwp/v20180228/cwp_client.js +9 -33
- package/es/services/dbbrain/v20210527/dbbrain_client.js +5 -2
- package/es/services/index.js +1 -0
- package/es/services/tdmq/v20200217/tdmq_client.js +5 -2
- package/es/services/vdb/v20230616/vdb_client.js +13 -4
- package/es/services/waf/v20180125/waf_client.js +3 -0
- package/es/services/wedata/v20250806/wedata_client.js +189 -24
- package/es/services/wimgs/index.js +4 -0
- package/es/services/wimgs/v20251106/index.js +6 -0
- package/es/services/wimgs/v20251106/wimgs_client.js +9 -0
- package/es/services/wimgs/v20251106/wimgs_models.js +1 -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/ai3d/v20250513/ai3d_models.d.ts +4 -0
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +7 -7
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +9 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +12 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +329 -127
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +12 -9
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +37 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +11 -47
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +15 -67
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +701 -903
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +7 -3
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +9 -3
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +88 -22
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -3
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +2 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +3 -1
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +17 -18
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +57 -4
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +5 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +24 -30
- package/tencentcloud/services/svp/v20240125/svp_models.d.ts +14 -10
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +8 -3
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +10 -3
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +94 -20
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +14 -11
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +66 -22
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +66 -22
- package/tencentcloud/services/vdb/v20230616/vdb_client.d.ts +17 -5
- package/tencentcloud/services/vdb/v20230616/vdb_client.js +24 -6
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +186 -25
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +42 -28
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +159 -6
- package/tencentcloud/services/wedata/v20250806/wedata_client.d.ts +245 -25
- package/tencentcloud/services/wedata/v20250806/wedata_client.js +366 -36
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +8276 -1813
- package/tencentcloud/services/wimgs/index.d.ts +6 -0
- package/tencentcloud/services/wimgs/index.js +7 -0
- package/tencentcloud/services/wimgs/v20251106/index.d.ts +6 -0
- package/tencentcloud/services/wimgs/v20251106/index.js +10 -0
- package/tencentcloud/services/wimgs/v20251106/wimgs_client.d.ts +14 -0
- package/tencentcloud/services/wimgs/v20251106/wimgs_client.js +37 -0
- package/tencentcloud/services/wimgs/v20251106/wimgs_models.d.ts +36 -0
- package/tencentcloud/services/wimgs/v20251106/wimgs_models.js +18 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20251106 = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Models = tslib_1.__importStar(require("./wimgs_models"));
|
|
6
|
+
const wimgs_client_1 = require("./wimgs_client");
|
|
7
|
+
exports.v20251106 = {
|
|
8
|
+
Client: wimgs_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 { SearchByTextResponse, SearchByTextRequest } from "./wimgs_models";
|
|
4
|
+
/**
|
|
5
|
+
* wimgs client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 文搜图接口,本服务将针对您输入的搜索关键词,检索并以JSON形式返回相关图片的标题、宽高、缩略图、内容来源url等信息。
|
|
12
|
+
*/
|
|
13
|
+
SearchByText(req: SearchByTextRequest, cb?: (error: string, rep: SearchByTextResponse) => void): Promise<SearchByTextResponse>;
|
|
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
|
+
* wimgs client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("wimgs.tencentcloudapi.com", "2025-11-06", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 文搜图接口,本服务将针对您输入的搜索关键词,检索并以JSON形式返回相关图片的标题、宽高、缩略图、内容来源url等信息。
|
|
32
|
+
*/
|
|
33
|
+
async SearchByText(req, cb) {
|
|
34
|
+
return this.request("SearchByText", req, cb);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SearchByText返回参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface SearchByTextResponse {
|
|
5
|
+
/**
|
|
6
|
+
* 原始查询词
|
|
7
|
+
*/
|
|
8
|
+
Query?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 搜索结果图片列表,格式为json字符串。
|
|
11
|
+
|
|
12
|
+
- thumbnailUrl:缩略图地址。
|
|
13
|
+
- thumbnailWidth:缩略图宽度。
|
|
14
|
+
- thumbnailHeight:缩略图高度。
|
|
15
|
+
- origPicUrl:原图地址。
|
|
16
|
+
- origPicWidth:原图宽度。
|
|
17
|
+
- siteUrl:站点地址,原图来源网页URL。
|
|
18
|
+
- siteName:站点名称。
|
|
19
|
+
- title:标题,原图标题或原图来源网页标题。
|
|
20
|
+
- date:内容发布时间。
|
|
21
|
+
*/
|
|
22
|
+
Images?: Array<string>;
|
|
23
|
+
/**
|
|
24
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25
|
+
*/
|
|
26
|
+
RequestId?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* SearchByText请求参数结构体
|
|
30
|
+
*/
|
|
31
|
+
export interface SearchByTextRequest {
|
|
32
|
+
/**
|
|
33
|
+
* 查询词
|
|
34
|
+
*/
|
|
35
|
+
Query: string;
|
|
36
|
+
}
|
|
@@ -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 });
|