@huaweicloud/huaweicloud-sdk-cdn 3.1.24 → 3.1.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,3 @@
1
1
  export * from './v1/public-api';
2
- export * from './v2/public-api';
2
+ export * as v1 from './v1/public-api';
3
+ export * as v2 from './v2/public-api';
@@ -10,9 +10,23 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
13
18
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
19
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
20
  };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
16
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.v2 = exports.v1 = void 0;
17
30
  __exportStar(require("./v1/public-api"), exports);
18
- __exportStar(require("./v2/public-api"), exports);
31
+ exports.v1 = __importStar(require("./v1/public-api"));
32
+ exports.v2 = __importStar(require("./v2/public-api"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-cdn",
3
- "version": "3.1.24",
3
+ "version": "3.1.26",
4
4
  "description": "Huaweicloud SDK for cdn",
5
5
  "main": "huaweicloud-sdk-cdn.js",
6
6
  "typings": "huaweicloud-sdk-cdn.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.1.24"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.26"
18
18
  }
19
19
  }
@@ -3,12 +3,12 @@ export declare class ErrorCodeRedirectRules {
3
3
  private 'target_code';
4
4
  private 'target_link';
5
5
  constructor(errorCode?: any, targetCode?: any, targetLink?: any);
6
- withErrorCode(errorCode: string): ErrorCodeRedirectRules;
7
- set errorCode(errorCode: string | undefined);
8
- get errorCode(): string | undefined;
9
- withTargetCode(targetCode: string): ErrorCodeRedirectRules;
10
- set targetCode(targetCode: string | undefined);
11
- get targetCode(): string | undefined;
6
+ withErrorCode(errorCode: number): ErrorCodeRedirectRules;
7
+ set errorCode(errorCode: number | undefined);
8
+ get errorCode(): number | undefined;
9
+ withTargetCode(targetCode: number): ErrorCodeRedirectRules;
10
+ set targetCode(targetCode: number | undefined);
11
+ get targetCode(): number | undefined;
12
12
  withTargetLink(targetLink: string): ErrorCodeRedirectRules;
13
13
  set targetLink(targetLink: string | undefined);
14
14
  get targetLink(): string | undefined;
package/v2/CdnClient.d.ts CHANGED
@@ -97,7 +97,7 @@ export declare class CdnClient {
97
97
  *
98
98
  * - 服务区域仅支持mainland_china(国内)
99
99
  *
100
- * - 计费模式仅支持设置flux(流量),bw(带宽)
100
+ * - 计费模式仅支持设置flux(流量),v2及以上客户支持bw(带宽)
101
101
  *
102
102
  * - 加速类型仅支持base(基础加速)
103
103
  *
@@ -349,7 +349,7 @@ export declare const ParamCreater: () => {
349
349
  *
350
350
  * - 服务区域仅支持mainland_china(国内)
351
351
  *
352
- * - 计费模式仅支持设置flux(流量),bw(带宽)
352
+ * - 计费模式仅支持设置flux(流量),v2及以上客户支持bw(带宽)
353
353
  *
354
354
  * - 加速类型仅支持base(基础加速)
355
355
  *
package/v2/CdnClient.js CHANGED
@@ -126,7 +126,7 @@ var CdnClient = /** @class */ (function () {
126
126
  *
127
127
  * - 服务区域仅支持mainland_china(国内)
128
128
  *
129
- * - 计费模式仅支持设置flux(流量),bw(带宽)
129
+ * - 计费模式仅支持设置flux(流量),v2及以上客户支持bw(带宽)
130
130
  *
131
131
  * - 加速类型仅支持base(基础加速)
132
132
  *
@@ -593,7 +593,7 @@ var ParamCreater = function () {
593
593
  *
594
594
  * - 服务区域仅支持mainland_china(国内)
595
595
  *
596
- * - 计费模式仅支持设置flux(流量),bw(带宽)
596
+ * - 计费模式仅支持设置flux(流量),v2及以上客户支持bw(带宽)
597
597
  *
598
598
  * - 加速类型仅支持base(基础加速)
599
599
  *