tencentcloud-sdk-nodejs-gaap 4.1.70 → 4.1.133

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/README.md CHANGED
@@ -62,6 +62,8 @@ npm install tencentcloud-sdk-slim-nodejs --save
62
62
 
63
63
  1. clone 代码到本地:
64
64
  ```
65
+ git clone https://cnb.cool/tencent/cloud/api/sdk/tencentcloud-sdk-nodejs
66
+ # 或者
65
67
  git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
66
68
  # 或者
67
69
  git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
@@ -135,7 +137,7 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
135
137
  // ...
136
138
  ```
137
139
 
138
- 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts)。
140
+ 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](src/common/interface.ts)。
139
141
 
140
142
  ## Common Client
141
143
 
@@ -143,17 +145,17 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
143
145
 
144
146
  **注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
145
147
 
146
- 详细使用请参阅示例:[使用 Common Client 进行调用](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples/common)
148
+ 详细使用请参阅示例:[使用 Common Client 进行调用](examples/common)
147
149
 
148
150
  ## 更多示例
149
151
 
150
- 请参考 [examples](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples) 目录。
152
+ 请参考 [examples](examples) 目录。
151
153
 
152
154
  # 相关配置
153
155
 
154
156
  ## 代理
155
157
 
156
- 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
158
+ 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
157
159
 
158
160
  # 凭证管理
159
161
 
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-gaap",
3
- "version": "4.1.70",
3
+ "version": "4.1.133",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -12,7 +12,8 @@
12
12
  "build:es": "tsc -p tsconfig.es.json",
13
13
  "build:slim": "node ./scripts/build_slim.js",
14
14
  "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
15
- "clean": "rimraf tencentcloud es"
15
+ "clean": "rimraf tencentcloud es",
16
+ "test:common": "vitest run"
16
17
  },
17
18
  "engines": {
18
19
  "node": ">=10"
@@ -44,9 +45,9 @@
44
45
  "url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
45
46
  },
46
47
  "devDependencies": {
47
- "@types/form-data": "^2.5.0",
48
+ "@types/ini": "^4.1.1",
48
49
  "@types/json-bigint": "^1.0.1",
49
- "@types/node": "^14.0.26",
50
+ "@types/node": "^18.0.0",
50
51
  "@types/node-fetch": "^2.5.7",
51
52
  "@types/uuid": "^9.0.8",
52
53
  "@typescript-eslint/eslint-plugin": "^2.34.0",
@@ -61,6 +62,7 @@
61
62
  "prettier": "^2.3.0",
62
63
  "rimraf": "^5.0.10",
63
64
  "ts-node": "^8.10.2",
64
- "typescript": "^3.9.7"
65
+ "typescript": "^5.9.2",
66
+ "vitest": "2.1.9"
65
67
  }
66
68
  }
@@ -257,7 +257,7 @@ export interface DeleteRuleRequest {
257
257
  /**
258
258
  * DescribeCrossBorderProxies请求参数结构体
259
259
  */
260
- export declare type DescribeCrossBorderProxiesRequest = null;
260
+ export type DescribeCrossBorderProxiesRequest = null;
261
261
  /**
262
262
  * BindRuleRealServers请求参数结构体
263
263
  */
@@ -716,7 +716,7 @@ export interface DescribeAccessRegionsByDestRegionResponse {
716
716
  /**
717
717
  * DescribeCountryAreaMapping请求参数结构体
718
718
  */
719
- export declare type DescribeCountryAreaMappingRequest = null;
719
+ export type DescribeCountryAreaMappingRequest = null;
720
720
  /**
721
721
  * CheckProxyCreate返回参数结构体
722
722
  */
@@ -1394,7 +1394,7 @@ export interface RuleInfo {
1394
1394
  RealServerSet?: Array<BindRealServer>;
1395
1395
  /**
1396
1396
  * 源站的服务状态,0表示异常,1表示正常。
1397
- 未开启健康检查时,该状态始终未正常。
1397
+ 未开启健康检查时,该状态始终为正常。
1398
1398
  只要有一个源站健康状态为异常时,该状态为异常,具体源站的状态请查看RealServerSet。
1399
1399
  */
1400
1400
  BindStatus?: number;
@@ -1417,6 +1417,10 @@ export interface RuleInfo {
1417
1417
  注意:此字段可能返回 null,表示取不到有效值。
1418
1418
  */
1419
1419
  ForcedRedirect?: string;
1420
+ /**
1421
+ * 七层转发规则的回源协议类型
1422
+ */
1423
+ ForwardProtocol?: string;
1420
1424
  }
1421
1425
  /**
1422
1426
  * 源站绑定信息查询,BindStatus, 0: 未被绑定 1:被规则或者监听器绑定
@@ -2073,7 +2077,7 @@ export interface CreateSecurityRulesResponse {
2073
2077
  /**
2074
2078
  * DescribeAccessRegions请求参数结构体
2075
2079
  */
2076
- export declare type DescribeAccessRegionsRequest = null;
2080
+ export type DescribeAccessRegionsRequest = null;
2077
2081
  /**
2078
2082
  * CreateCertificate请求参数结构体
2079
2083
  */
@@ -2220,7 +2224,7 @@ export interface Domain {
2220
2224
  /**
2221
2225
  * BanAndRecoverProxy请求参数结构体
2222
2226
  */
2223
- export declare type BanAndRecoverProxyRequest = null;
2227
+ export type BanAndRecoverProxyRequest = null;
2224
2228
  /**
2225
2229
  * CloseSecurityPolicy请求参数结构体
2226
2230
  */
@@ -2397,7 +2401,7 @@ export interface EnableGlobalDomainRequest {
2397
2401
  /**
2398
2402
  * DescribeAuthSignature请求参数结构体
2399
2403
  */
2400
- export declare type DescribeAuthSignatureRequest = null;
2404
+ export type DescribeAuthSignatureRequest = null;
2401
2405
  /**
2402
2406
  * ModifyDomain请求参数结构体
2403
2407
  */
@@ -4535,7 +4539,7 @@ export interface CreateCertificateResponse {
4535
4539
  /**
4536
4540
  * DescribeBlackHeader请求参数结构体
4537
4541
  */
4538
- export declare type DescribeBlackHeaderRequest = null;
4542
+ export type DescribeBlackHeaderRequest = null;
4539
4543
  /**
4540
4544
  * DescribeProxyStatistics返回参数结构体
4541
4545
  */
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.gaap = void 0;
3
4
  var gaap_1 = require("./gaap");
4
5
  Object.defineProperty(exports, "gaap", { enumerable: true, get: function () { return gaap_1.gaap; } });