@huaweicloud/huaweicloud-sdk-cfw 3.1.77 → 3.1.80

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-cfw",
3
- "version": "3.1.77",
3
+ "version": "3.1.80",
4
4
  "description": "Huaweicloud SDK for cfw",
5
5
  "main": "huaweicloud-sdk-cfw.js",
6
6
  "typings": "huaweicloud-sdk-cfw.d.ts",
@@ -14,7 +14,7 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.1.77"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.80"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/node": "^14.14.37",
@@ -7,7 +7,7 @@ export declare class CreateFirewallReq {
7
7
  tags?: Array<CreateFirewallReqTags>;
8
8
  flavor?: CreateFirewallReqFlavor;
9
9
  private 'charge_info'?;
10
- constructor(name?: string, enterpriseProjectId?: string, chargeInfo?: CreateFirewallReqChargeInfo);
10
+ constructor(name?: string, chargeInfo?: CreateFirewallReqChargeInfo);
11
11
  withName(name: string): CreateFirewallReq;
12
12
  withEnterpriseProjectId(enterpriseProjectId: string): CreateFirewallReq;
13
13
  set enterpriseProjectId(enterpriseProjectId: string | undefined);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateFirewallReq.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReq.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,qBAAa,iBAAiB;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,uBAAuB,CAAC,CAAS;IAClC,IAAI,CAAC,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BACjC,IAAI,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,2BAA2B;IAInE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB;IAIzC,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,iBAAiB;IAI9E,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,iBAAiB;IAI/D,UAAU,CAAC,MAAM,EAAE,uBAAuB,GAAG,iBAAiB;IAI9D,cAAc,CAAC,UAAU,EAAE,2BAA2B,GAAG,iBAAiB;IAIjF,IAAW,UAAU,CAAC,UAAU,EAAE,2BAA2B,GAAI,SAAS,EAEzE;IACD,IAAW,UAAU,IAAI,2BAA2B,GAAG,SAAS,CAE/D;CACJ"}
@@ -2,9 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateFirewallReq = void 0;
4
4
  class CreateFirewallReq {
5
- constructor(name, enterpriseProjectId, chargeInfo) {
5
+ constructor(name, chargeInfo) {
6
6
  this['name'] = name;
7
- this['enterprise_project_id'] = enterpriseProjectId;
8
7
  this['charge_info'] = chargeInfo;
9
8
  }
10
9
  withName(name) {
@@ -1 +1 @@
1
- {"version":3,"file":"CreateFirewallReq.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReq.ts"],"names":[],"mappings":";;;AAKA,MAAa,iBAAiB;IAM1B,YAAmB,IAAa,EAAE,mBAA4B,EAAE,UAAwC;QACpG,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mBAAmB,CAAC,mBAAwC;QACnE,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;IACxD,CAAC;IACD,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACzC,CAAC;IACM,QAAQ,CAAC,IAAkC;QAC9C,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAA+B;QAC7C,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAAuC;QACzD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAAoD;QACtE,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;CACJ;AA3CD,8CA2CC"}
1
+ {"version":3,"file":"CreateFirewallReq.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReq.ts"],"names":[],"mappings":";;;AAKA,MAAa,iBAAiB;IAM1B,YAAmB,IAAa,EAAE,UAAwC;QACtE,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mBAAmB,CAAC,mBAAwC;QACnE,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;IACxD,CAAC;IACD,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACzC,CAAC;IACM,QAAQ,CAAC,IAAkC;QAC9C,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAA+B;QAC7C,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAAuC;QACzD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAAoD;QACtE,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;CACJ;AA1CD,8CA0CC"}
@@ -4,7 +4,7 @@ export declare class CreateFirewallReqChargeInfo {
4
4
  private 'period_num'?;
5
5
  private 'is_auto_renew'?;
6
6
  private 'is_auto_pay'?;
7
- constructor(chargeMode?: string);
7
+ constructor(chargeMode?: string, isAutoRenew?: boolean, isAutoPay?: boolean);
8
8
  withChargeMode(chargeMode: string): CreateFirewallReqChargeInfo;
9
9
  set chargeMode(chargeMode: string | undefined);
10
10
  get chargeMode(): string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateFirewallReqChargeInfo.d.ts","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReqChargeInfo.ts"],"names":[],"mappings":"AAE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AAa,CAAC,CAAS;IAC/B,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,eAAe,CAAC,CAAU;IAClC,OAAO,CAAC,aAAa,CAAC,CAAU;gBACb,UAAU,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,OAAO;IAK3E,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,2BAA2B;IAItE,IAAW,UAAU,CAAC,UAAU,EAAE,MAAM,GAAI,SAAS,EAEpD;IACD,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;IACM,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,2BAA2B;IAItE,IAAW,UAAU,CAAC,UAAU,EAAE,MAAM,GAAI,SAAS,EAEpD;IACD,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;IACM,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,2BAA2B;IAIpE,IAAW,SAAS,CAAC,SAAS,EAAE,MAAM,GAAI,SAAS,EAElD;IACD,IAAW,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;IACM,eAAe,CAAC,WAAW,EAAE,OAAO,GAAG,2BAA2B;IAIzE,IAAW,WAAW,CAAC,WAAW,EAAE,OAAO,GAAI,SAAS,EAEvD;IACD,IAAW,WAAW,IAAI,OAAO,GAAG,SAAS,CAE5C;IACM,aAAa,CAAC,SAAS,EAAE,OAAO,GAAG,2BAA2B;IAIrE,IAAW,SAAS,CAAC,SAAS,EAAE,OAAO,GAAI,SAAS,EAEnD;IACD,IAAW,SAAS,IAAI,OAAO,GAAG,SAAS,CAE1C;CACJ"}
@@ -2,8 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateFirewallReqChargeInfo = void 0;
4
4
  class CreateFirewallReqChargeInfo {
5
- constructor(chargeMode) {
5
+ constructor(chargeMode, isAutoRenew, isAutoPay) {
6
6
  this['charge_mode'] = chargeMode;
7
+ this['is_auto_renew'] = isAutoRenew;
8
+ this['is_auto_pay'] = isAutoPay;
7
9
  }
8
10
  withChargeMode(chargeMode) {
9
11
  this['charge_mode'] = chargeMode;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateFirewallReqChargeInfo.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReqChargeInfo.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;IAMpC,YAAmB,UAAmB;QAClC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B;QACjD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B;QACjD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAA8B;QAC/C,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;IACM,eAAe,CAAC,WAAoB;QACvC,IAAI,CAAC,eAAe,CAAC,GAAG,WAAW,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,WAAW,CAAC,WAAiC;QACpD,IAAI,CAAC,eAAe,CAAC,GAAG,WAAW,CAAC;IACxC,CAAC;IACD,IAAW,WAAW;QAClB,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC;IACjC,CAAC;IACM,aAAa,CAAC,SAAkB;QACnC,IAAI,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAA+B;QAChD,IAAI,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;IACpC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;CACJ;AA3DD,kEA2DC"}
1
+ {"version":3,"file":"CreateFirewallReqChargeInfo.js","sourceRoot":"","sources":["../../../../../services/cfw/v1/model/CreateFirewallReqChargeInfo.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;IAMpC,YAAmB,UAAmB,EAAE,WAAqB,EAAE,SAAmB;QAC9E,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,IAAI,CAAC,eAAe,CAAC,GAAG,WAAW,CAAC;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;IACpC,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B;QACjD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B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