tencentcloud-sdk-nodejs-cdn 4.1.115 → 4.1.119

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.
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cdn",
3
- "version": "4.1.115",
3
+ "version": "4.1.119",
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,8 @@
44
45
  "url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
45
46
  },
46
47
  "devDependencies": {
47
- "@types/form-data": "^2.5.0",
48
48
  "@types/json-bigint": "^1.0.1",
49
- "@types/node": "^14.0.26",
49
+ "@types/node": "^18.0.0",
50
50
  "@types/node-fetch": "^2.5.7",
51
51
  "@types/uuid": "^9.0.8",
52
52
  "@typescript-eslint/eslint-plugin": "^2.34.0",
@@ -61,6 +61,7 @@
61
61
  "prettier": "^2.3.0",
62
62
  "rimraf": "^5.0.10",
63
63
  "ts-node": "^8.10.2",
64
- "typescript": "^3.9.7"
64
+ "typescript": "^5.9.2",
65
+ "vitest": "2.1.9"
65
66
  }
66
67
  }
@@ -769,7 +769,7 @@ export interface HttpsPackage {
769
769
  /**
770
770
  * DescribePurgeQuota请求参数结构体
771
771
  */
772
- export declare type DescribePurgeQuotaRequest = null;
772
+ export type DescribePurgeQuotaRequest = null;
773
773
  /**
774
774
  * ModifyPurgeFetchTaskStatus请求参数结构体
775
775
  */
@@ -1421,7 +1421,6 @@ export interface Origin {
1421
1421
  以下备源源站类型尚未全量支持,需要申请试用:
1422
1422
  ipv6_domain: 源站列表为多个 IPv6 地址以及域名
1423
1423
  ip_ipv6:源站列表为多个 IPv4 地址和IPv6 地址
1424
- ipv6_domain: 源站列表为多个 IPv6 地址以及域名
1425
1424
  ip_ipv6_domain:源站列表为多个 IPv4 地址IPv6 地址以及域名
1426
1425
  注意:此字段可能返回 null,表示取不到有效值。
1427
1426
  */
@@ -1715,7 +1714,7 @@ export interface DescribeDistrictIspDataResponse {
1715
1714
  /**
1716
1715
  * DescribeCdnOriginIp请求参数结构体
1717
1716
  */
1718
- export declare type DescribeCdnOriginIpRequest = null;
1717
+ export type DescribeCdnOriginIpRequest = null;
1719
1718
  /**
1720
1719
  * 排序类型的数据结构,同时附带上该项的在总值的占比
1721
1720
  */
@@ -2060,6 +2059,10 @@ export interface ListClsTopicDomainsResponse {
2060
2059
  * 日志主题最近更新时间
2061
2060
  */
2062
2061
  UpdateTime?: string;
2062
+ /**
2063
+ * 是否继承域名标签
2064
+ */
2065
+ InheritDomainTags?: boolean;
2063
2066
  /**
2064
2067
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2065
2068
  */
@@ -3906,10 +3909,7 @@ export interface DescribeIpStatusRequest {
3906
3909
  */
3907
3910
  Layer?: string;
3908
3911
  /**
3909
- * 查询区域:
3910
- mainland: 国内节点
3911
- overseas: 海外节点
3912
- global: 全球节点
3912
+ * 查询区域:mainland: 中国境内节点overseas: 海外节点global: 全球节点
3913
3913
  */
3914
3914
  Area?: string;
3915
3915
  /**
@@ -4420,6 +4420,10 @@ export interface ManageClsTopicDomainsRequest {
4420
4420
  * 域名区域配置,注意:如果此字段为空,则表示解绑对应主题下的所有域名
4421
4421
  */
4422
4422
  DomainAreaConfigs?: Array<DomainAreaConfig>;
4423
+ /**
4424
+ * 是否继承域名标签
4425
+ */
4426
+ InheritDomainTags?: boolean;
4423
4427
  }
4424
4428
  /**
4425
4429
  * AddCLSTopicDomains请求参数结构体
@@ -4441,6 +4445,10 @@ export interface AddCLSTopicDomainsRequest {
4441
4445
  * 接入渠道,cdn或者ecdn,默认值为cdn
4442
4446
  */
4443
4447
  Channel?: string;
4448
+ /**
4449
+ * 是否继承域名标签, 默认保留上一次更改的值
4450
+ */
4451
+ InheritDomainTags?: boolean;
4444
4452
  }
4445
4453
  /**
4446
4454
  * ListDiagnoseReport请求参数结构体
@@ -5145,6 +5153,10 @@ export interface CreateClsLogTopicRequest {
5145
5153
  * 域名区域信息
5146
5154
  */
5147
5155
  DomainAreaConfigs?: Array<DomainAreaConfig>;
5156
+ /**
5157
+ * 是否继承域名标签,默认为false
5158
+ */
5159
+ InheritDomainTags?: boolean;
5148
5160
  }
5149
5161
  /**
5150
5162
  * UpdatePayType返回参数结构体
@@ -6485,7 +6497,7 @@ export interface StartCdnDomainResponse {
6485
6497
  /**
6486
6498
  * DescribePushQuota请求参数结构体
6487
6499
  */
6488
- export declare type DescribePushQuotaRequest = null;
6500
+ export type DescribePushQuotaRequest = null;
6489
6501
  /**
6490
6502
  * 排序类型的数据结构
6491
6503
  */
@@ -7064,7 +7076,7 @@ export interface IpFilter {
7064
7076
  */
7065
7077
  Filters?: Array<string>;
7066
7078
  /**
7067
- * IP 黑白名单分路径配置,白名单功能。黑白名单 IP 总数不能超过 1000 个。
7079
+ * IP 黑白名单分路径配置。黑白名单 IP 总数不能超过 1000 个。
7068
7080
  注意:此字段可能返回 null,表示取不到有效值。
7069
7081
  */
7070
7082
  FilterRules?: Array<IpFilterPathRule>;
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cdn = void 0;
3
4
  var cdn_1 = require("./cdn");
4
5
  Object.defineProperty(exports, "cdn", { enumerable: true, get: function () { return cdn_1.cdn; } });