@alicloud/waf-openapi20211001 5.5.2 → 5.6.0

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.
Files changed (96) hide show
  1. package/dist/client.d.ts +105 -0
  2. package/dist/client.js +342 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateMajorProtectionBlackIpV2request.d.ts +68 -0
  5. package/dist/models/CreateMajorProtectionBlackIpV2request.js +72 -0
  6. package/dist/models/CreateMajorProtectionBlackIpV2request.js.map +1 -0
  7. package/dist/models/CreateMajorProtectionBlackIpV2response.d.ts +19 -0
  8. package/dist/models/CreateMajorProtectionBlackIpV2response.js +69 -0
  9. package/dist/models/CreateMajorProtectionBlackIpV2response.js.map +1 -0
  10. package/dist/models/CreateMajorProtectionBlackIpV2responseBody.d.ts +18 -0
  11. package/dist/models/CreateMajorProtectionBlackIpV2responseBody.js +58 -0
  12. package/dist/models/CreateMajorProtectionBlackIpV2responseBody.js.map +1 -0
  13. package/dist/models/CreatePocFunctionRequest.d.ts +39 -0
  14. package/dist/models/CreatePocFunctionRequest.js +64 -0
  15. package/dist/models/CreatePocFunctionRequest.js.map +1 -0
  16. package/dist/models/CreatePocFunctionResponse.d.ts +19 -0
  17. package/dist/models/CreatePocFunctionResponse.js +69 -0
  18. package/dist/models/CreatePocFunctionResponse.js.map +1 -0
  19. package/dist/models/CreatePocFunctionResponseBody.d.ts +18 -0
  20. package/dist/models/CreatePocFunctionResponseBody.js +58 -0
  21. package/dist/models/CreatePocFunctionResponseBody.js.map +1 -0
  22. package/dist/models/DescribeChargeModuleRequest.d.ts +31 -0
  23. package/dist/models/DescribeChargeModuleRequest.js +62 -0
  24. package/dist/models/DescribeChargeModuleRequest.js.map +1 -0
  25. package/dist/models/DescribeChargeModuleResponse.d.ts +19 -0
  26. package/dist/models/DescribeChargeModuleResponse.js +69 -0
  27. package/dist/models/DescribeChargeModuleResponse.js.map +1 -0
  28. package/dist/models/DescribeChargeModuleResponseBody.d.ts +57 -0
  29. package/dist/models/DescribeChargeModuleResponseBody.js +95 -0
  30. package/dist/models/DescribeChargeModuleResponseBody.js.map +1 -0
  31. package/dist/models/DescribeChargeResultRequest.d.ts +63 -0
  32. package/dist/models/DescribeChargeResultRequest.js +90 -0
  33. package/dist/models/DescribeChargeResultRequest.js.map +1 -0
  34. package/dist/models/DescribeChargeResultResponse.d.ts +19 -0
  35. package/dist/models/DescribeChargeResultResponse.js +69 -0
  36. package/dist/models/DescribeChargeResultResponse.js.map +1 -0
  37. package/dist/models/DescribeChargeResultResponseBody.d.ts +46 -0
  38. package/dist/models/DescribeChargeResultResponseBody.js +86 -0
  39. package/dist/models/DescribeChargeResultResponseBody.js.map +1 -0
  40. package/dist/models/DescribeDefenseRulesResponseBody.d.ts +30 -0
  41. package/dist/models/DescribeDefenseRulesResponseBody.js.map +1 -1
  42. package/dist/models/DescribePocFunctionsRequest.d.ts +31 -0
  43. package/dist/models/DescribePocFunctionsRequest.js +62 -0
  44. package/dist/models/DescribePocFunctionsRequest.js.map +1 -0
  45. package/dist/models/DescribePocFunctionsResponse.d.ts +19 -0
  46. package/dist/models/DescribePocFunctionsResponse.js +69 -0
  47. package/dist/models/DescribePocFunctionsResponse.js.map +1 -0
  48. package/dist/models/DescribePocFunctionsResponseBody.d.ts +41 -0
  49. package/dist/models/DescribePocFunctionsResponseBody.js +84 -0
  50. package/dist/models/DescribePocFunctionsResponseBody.js.map +1 -0
  51. package/dist/models/DescribeVerifyContentRequest.d.ts +37 -0
  52. package/dist/models/DescribeVerifyContentRequest.js +62 -0
  53. package/dist/models/DescribeVerifyContentRequest.js.map +1 -0
  54. package/dist/models/DescribeVerifyContentResponse.d.ts +19 -0
  55. package/dist/models/DescribeVerifyContentResponse.js +69 -0
  56. package/dist/models/DescribeVerifyContentResponse.js.map +1 -0
  57. package/dist/models/DescribeVerifyContentResponseBody.d.ts +89 -0
  58. package/dist/models/DescribeVerifyContentResponseBody.js +120 -0
  59. package/dist/models/DescribeVerifyContentResponseBody.js.map +1 -0
  60. package/dist/models/VerifyDomainOwnerRequest.d.ts +61 -0
  61. package/dist/models/VerifyDomainOwnerRequest.js +64 -0
  62. package/dist/models/VerifyDomainOwnerRequest.js.map +1 -0
  63. package/dist/models/VerifyDomainOwnerResponse.d.ts +19 -0
  64. package/dist/models/VerifyDomainOwnerResponse.js +69 -0
  65. package/dist/models/VerifyDomainOwnerResponse.js.map +1 -0
  66. package/dist/models/VerifyDomainOwnerResponseBody.d.ts +63 -0
  67. package/dist/models/VerifyDomainOwnerResponseBody.js +84 -0
  68. package/dist/models/VerifyDomainOwnerResponseBody.js.map +1 -0
  69. package/dist/models/model.d.ts +28 -0
  70. package/dist/models/model.js +73 -16
  71. package/dist/models/model.js.map +1 -1
  72. package/package.json +1 -1
  73. package/src/client.ts +386 -0
  74. package/src/models/CreateMajorProtectionBlackIpV2request.ts +95 -0
  75. package/src/models/CreateMajorProtectionBlackIpV2response.ts +40 -0
  76. package/src/models/CreateMajorProtectionBlackIpV2responseBody.ts +31 -0
  77. package/src/models/CreatePocFunctionRequest.ts +58 -0
  78. package/src/models/CreatePocFunctionResponse.ts +40 -0
  79. package/src/models/CreatePocFunctionResponseBody.ts +31 -0
  80. package/src/models/DescribeChargeModuleRequest.ts +48 -0
  81. package/src/models/DescribeChargeModuleResponse.ts +40 -0
  82. package/src/models/DescribeChargeModuleResponseBody.ts +98 -0
  83. package/src/models/DescribeChargeResultRequest.ts +99 -0
  84. package/src/models/DescribeChargeResultResponse.ts +40 -0
  85. package/src/models/DescribeChargeResultResponseBody.ts +78 -0
  86. package/src/models/DescribeDefenseRulesResponseBody.ts +30 -0
  87. package/src/models/DescribePocFunctionsRequest.ts +48 -0
  88. package/src/models/DescribePocFunctionsResponse.ts +40 -0
  89. package/src/models/DescribePocFunctionsResponseBody.ts +71 -0
  90. package/src/models/DescribeVerifyContentRequest.ts +54 -0
  91. package/src/models/DescribeVerifyContentResponse.ts +40 -0
  92. package/src/models/DescribeVerifyContentResponseBody.ts +146 -0
  93. package/src/models/VerifyDomainOwnerRequest.ts +80 -0
  94. package/src/models/VerifyDomainOwnerResponse.ts +40 -0
  95. package/src/models/VerifyDomainOwnerResponseBody.ts +93 -0
  96. package/src/models/model.ts +28 -0
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
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
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeChargeModuleRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeChargeModuleRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ payType: 'PayType',
43
+ regionId: 'RegionId',
44
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ payType: 'string',
50
+ regionId: 'string',
51
+ resourceManagerResourceGroupId: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.DescribeChargeModuleRequest = DescribeChargeModuleRequest;
62
+ //# sourceMappingURL=DescribeChargeModuleRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeChargeModuleRequest.js","sourceRoot":"","sources":["../../src/models/DescribeChargeModuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAmB1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1CD,kEA0CC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeChargeModuleResponseBody } from "./DescribeChargeModuleResponseBody";
3
+ export declare class DescribeChargeModuleResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeChargeModuleResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
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
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeChargeModuleResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeChargeModuleResponseBody_1 = require("./DescribeChargeModuleResponseBody");
40
+ class DescribeChargeModuleResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DescribeChargeModuleResponseBody_1.DescribeChargeModuleResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribeChargeModuleResponse = DescribeChargeModuleResponse;
69
+ //# sourceMappingURL=DescribeChargeModuleResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeChargeModuleResponse.js","sourceRoot":"","sources":["../../src/models/DescribeChargeModuleResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yFAAsF;AAGtF,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAI3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,mEAAgC;SACvC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,oEAiCC"}
@@ -0,0 +1,57 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeChargeModuleResponseBodyChargeModules extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * NORMAL_PRICE
6
+ */
7
+ chargeMode?: string;
8
+ chargeModeDetails?: string[];
9
+ /**
10
+ * @example
11
+ * domainCount
12
+ */
13
+ moduleCode?: string;
14
+ /**
15
+ * @example
16
+ * Hour
17
+ */
18
+ periodType?: string;
19
+ /**
20
+ * @example
21
+ * domain
22
+ */
23
+ usageType?: string;
24
+ /**
25
+ * @example
26
+ * 1
27
+ */
28
+ usageUnitFactor?: number;
29
+ static names(): {
30
+ [key: string]: string;
31
+ };
32
+ static types(): {
33
+ [key: string]: any;
34
+ };
35
+ validate(): void;
36
+ constructor(map?: {
37
+ [key: string]: any;
38
+ });
39
+ }
40
+ export declare class DescribeChargeModuleResponseBody extends $dara.Model {
41
+ chargeModules?: DescribeChargeModuleResponseBodyChargeModules[];
42
+ /**
43
+ * @example
44
+ * D7861F61-5B61-46CE-A47C-6B19160D5EB0
45
+ */
46
+ requestId?: string;
47
+ static names(): {
48
+ [key: string]: string;
49
+ };
50
+ static types(): {
51
+ [key: string]: any;
52
+ };
53
+ validate(): void;
54
+ constructor(map?: {
55
+ [key: string]: any;
56
+ });
57
+ }
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
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
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeChargeModuleResponseBody = exports.DescribeChargeModuleResponseBodyChargeModules = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeChargeModuleResponseBodyChargeModules extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ chargeMode: 'ChargeMode',
43
+ chargeModeDetails: 'ChargeModeDetails',
44
+ moduleCode: 'ModuleCode',
45
+ periodType: 'PeriodType',
46
+ usageType: 'UsageType',
47
+ usageUnitFactor: 'UsageUnitFactor',
48
+ };
49
+ }
50
+ static types() {
51
+ return {
52
+ chargeMode: 'string',
53
+ chargeModeDetails: { 'type': 'array', 'itemType': 'string' },
54
+ moduleCode: 'string',
55
+ periodType: 'string',
56
+ usageType: 'string',
57
+ usageUnitFactor: 'number',
58
+ };
59
+ }
60
+ validate() {
61
+ if (Array.isArray(this.chargeModeDetails)) {
62
+ $dara.Model.validateArray(this.chargeModeDetails);
63
+ }
64
+ super.validate();
65
+ }
66
+ constructor(map) {
67
+ super(map);
68
+ }
69
+ }
70
+ exports.DescribeChargeModuleResponseBodyChargeModules = DescribeChargeModuleResponseBodyChargeModules;
71
+ class DescribeChargeModuleResponseBody extends $dara.Model {
72
+ static names() {
73
+ return {
74
+ chargeModules: 'ChargeModules',
75
+ requestId: 'RequestId',
76
+ };
77
+ }
78
+ static types() {
79
+ return {
80
+ chargeModules: { 'type': 'array', 'itemType': DescribeChargeModuleResponseBodyChargeModules },
81
+ requestId: 'string',
82
+ };
83
+ }
84
+ validate() {
85
+ if (Array.isArray(this.chargeModules)) {
86
+ $dara.Model.validateArray(this.chargeModules);
87
+ }
88
+ super.validate();
89
+ }
90
+ constructor(map) {
91
+ super(map);
92
+ }
93
+ }
94
+ exports.DescribeChargeModuleResponseBody = DescribeChargeModuleResponseBody;
95
+ //# sourceMappingURL=DescribeChargeModuleResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeChargeModuleResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeChargeModuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IA2B5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,iBAAiB,EAAE,mBAAmB;YACtC,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC5D,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;YACzC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3DD,sGA2DC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAO/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6CAA6C,EAAE;YAC7F,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;YACrC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,4EA+BC"}
@@ -0,0 +1,63 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeChargeResultRequestChargeModules extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * domainCount
6
+ */
7
+ moduleCode?: string;
8
+ /**
9
+ * @example
10
+ * 10
11
+ */
12
+ usage?: number;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
24
+ export declare class DescribeChargeResultRequest extends $dara.Model {
25
+ /**
26
+ * @example
27
+ * Day
28
+ */
29
+ chargeCycle?: string;
30
+ /**
31
+ * @remarks
32
+ * This parameter is required.
33
+ */
34
+ chargeModules?: DescribeChargeResultRequestChargeModules[];
35
+ /**
36
+ * @remarks
37
+ * This parameter is required.
38
+ *
39
+ * @example
40
+ * POSTPAY
41
+ */
42
+ payType?: string;
43
+ /**
44
+ * @example
45
+ * cn-hangzhou
46
+ */
47
+ regionId?: string;
48
+ /**
49
+ * @example
50
+ * rg-acfm***q
51
+ */
52
+ resourceManagerResourceGroupId?: string;
53
+ static names(): {
54
+ [key: string]: string;
55
+ };
56
+ static types(): {
57
+ [key: string]: any;
58
+ };
59
+ validate(): void;
60
+ constructor(map?: {
61
+ [key: string]: any;
62
+ });
63
+ }
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
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
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeChargeResultRequest = exports.DescribeChargeResultRequestChargeModules = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeChargeResultRequestChargeModules extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ moduleCode: 'ModuleCode',
43
+ usage: 'Usage',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ moduleCode: 'string',
49
+ usage: 'number',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribeChargeResultRequestChargeModules = DescribeChargeResultRequestChargeModules;
60
+ class DescribeChargeResultRequest extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ chargeCycle: 'ChargeCycle',
64
+ chargeModules: 'ChargeModules',
65
+ payType: 'PayType',
66
+ regionId: 'RegionId',
67
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
68
+ };
69
+ }
70
+ static types() {
71
+ return {
72
+ chargeCycle: 'string',
73
+ chargeModules: { 'type': 'array', 'itemType': DescribeChargeResultRequestChargeModules },
74
+ payType: 'string',
75
+ regionId: 'string',
76
+ resourceManagerResourceGroupId: 'string',
77
+ };
78
+ }
79
+ validate() {
80
+ if (Array.isArray(this.chargeModules)) {
81
+ $dara.Model.validateArray(this.chargeModules);
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.DescribeChargeResultRequest = DescribeChargeResultRequest;
90
+ //# sourceMappingURL=DescribeChargeResultRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeChargeResultRequest.js","sourceRoot":"","sources":["../../src/models/DescribeChargeResultRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAWvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhCD,4FAgCC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IA6B1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,wCAAwC,EAAE;YACxF,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;YACrC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3DD,kEA2DC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeChargeResultResponseBody } from "./DescribeChargeResultResponseBody";
3
+ export declare class DescribeChargeResultResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeChargeResultResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
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
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeChargeResultResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeChargeResultResponseBody_1 = require("./DescribeChargeResultResponseBody");
40
+ class DescribeChargeResultResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DescribeChargeResultResponseBody_1.DescribeChargeResultResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribeChargeResultResponse = DescribeChargeResultResponse;
69
+ //# sourceMappingURL=DescribeChargeResultResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeChargeResultResponse.js","sourceRoot":"","sources":["../../src/models/DescribeChargeResultResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yFAAsF;AAGtF,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAI3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,mEAAgC;SACvC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,oEAiCC"}
@@ -0,0 +1,46 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeChargeResultResponseBodyModuleDetails extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * domainCount
6
+ */
7
+ moduleCode?: string;
8
+ /**
9
+ * @example
10
+ * 1080
11
+ */
12
+ seCu?: number;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
24
+ export declare class DescribeChargeResultResponseBody extends $dara.Model {
25
+ moduleDetails?: DescribeChargeResultResponseBodyModuleDetails[];
26
+ /**
27
+ * @example
28
+ * D7861F61-5B61-46CE-A47C-6B19160D5EB0
29
+ */
30
+ requestId?: string;
31
+ /**
32
+ * @example
33
+ * 1080
34
+ */
35
+ totalSeCu?: number;
36
+ static names(): {
37
+ [key: string]: string;
38
+ };
39
+ static types(): {
40
+ [key: string]: any;
41
+ };
42
+ validate(): void;
43
+ constructor(map?: {
44
+ [key: string]: any;
45
+ });
46
+ }