@alicloud/waf-openapi20211001 6.7.2 → 6.8.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.
- package/dist/client.d.ts +15 -0
- package/dist/client.js +60 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribePostpayBillsRequest.d.ts +56 -0
- package/dist/models/DescribePostpayBillsRequest.js +72 -0
- package/dist/models/DescribePostpayBillsRequest.js.map +1 -0
- package/dist/models/DescribePostpayBillsResponse.d.ts +19 -0
- package/dist/models/DescribePostpayBillsResponse.js +69 -0
- package/dist/models/DescribePostpayBillsResponse.js.map +1 -0
- package/dist/models/DescribePostpayBillsResponseBody.d.ts +71 -0
- package/dist/models/DescribePostpayBillsResponseBody.js +96 -0
- package/dist/models/DescribePostpayBillsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +25 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +70 -0
- package/src/models/DescribePostpayBillsRequest.ts +83 -0
- package/src/models/DescribePostpayBillsResponse.ts +40 -0
- package/src/models/DescribePostpayBillsResponseBody.ts +113 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribePostpayBillsResponseBody } from "./DescribePostpayBillsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribePostpayBillsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribePostpayBillsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribePostpayBillsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePostpayBillsResponseBodyBillDetail extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* {\\"aiWhiteListTemplateCount\\":4,\\"apisecResourceCount\\":2,\\"botAppTemplateCount\\":1,\\"botWebTemplateCount\\":4,\\"ccRuleCount\\":1,\\"customAclAdvanceRuleCount\\":4,\\"customResponseRuleCount\\":5,\\"dlpRuleCount\\":1,\\"gslb\\":1,\\"instanceFee\\":1,\\"ipv6\\":1,\\"nonPort\\":1,\\"qps\\":0,\\"regionBlockRuleCount\\":1,\\"threatIntelligenceTemplateCount\\":1,\\"wafBaseTemplateCount\\":4}
|
|
9
|
+
*/
|
|
10
|
+
chargeData?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 51
|
|
14
|
+
*/
|
|
15
|
+
cu?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1779123599
|
|
19
|
+
*/
|
|
20
|
+
endTime?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 30
|
|
24
|
+
*/
|
|
25
|
+
functionCu?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 1779120000
|
|
29
|
+
*/
|
|
30
|
+
startTime?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 21
|
|
34
|
+
*/
|
|
35
|
+
trafficCu?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
chargeData: 'ChargeData',
|
|
39
|
+
cu: 'Cu',
|
|
40
|
+
endTime: 'EndTime',
|
|
41
|
+
functionCu: 'FunctionCu',
|
|
42
|
+
startTime: 'StartTime',
|
|
43
|
+
trafficCu: 'TrafficCu',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
chargeData: 'string',
|
|
50
|
+
cu: 'string',
|
|
51
|
+
endTime: 'number',
|
|
52
|
+
functionCu: 'string',
|
|
53
|
+
startTime: 'number',
|
|
54
|
+
trafficCu: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class DescribePostpayBillsResponseBody extends $dara.Model {
|
|
68
|
+
billDetail?: DescribePostpayBillsResponseBodyBillDetail[];
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* 24
|
|
72
|
+
*/
|
|
73
|
+
maxResults?: number;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* caeba0bbb2be03f84eb48b699f0*****
|
|
77
|
+
*/
|
|
78
|
+
nextToken?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 0FBBDE11-C35F-531B-96BA-64CA****C875
|
|
82
|
+
*/
|
|
83
|
+
requestId?: string;
|
|
84
|
+
static names(): { [key: string]: string } {
|
|
85
|
+
return {
|
|
86
|
+
billDetail: 'BillDetail',
|
|
87
|
+
maxResults: 'MaxResults',
|
|
88
|
+
nextToken: 'NextToken',
|
|
89
|
+
requestId: 'RequestId',
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
static types(): { [key: string]: any } {
|
|
94
|
+
return {
|
|
95
|
+
billDetail: { 'type': 'array', 'itemType': DescribePostpayBillsResponseBodyBillDetail },
|
|
96
|
+
maxResults: 'number',
|
|
97
|
+
nextToken: 'string',
|
|
98
|
+
requestId: 'string',
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
validate() {
|
|
103
|
+
if(Array.isArray(this.billDetail)) {
|
|
104
|
+
$dara.Model.validateArray(this.billDetail);
|
|
105
|
+
}
|
|
106
|
+
super.validate();
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
constructor(map?: { [key: string]: any }) {
|
|
110
|
+
super(map);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -131,6 +131,7 @@ export { DescribeNetworkFlowTopNMetricResponseBodyTopNMetaDataDateRange } from '
|
|
|
131
131
|
export { DescribeNetworkFlowTopNMetricResponseBodyTopNMetaData } from './DescribeNetworkFlowTopNmetricResponseBody';
|
|
132
132
|
export { DescribePeakTrendResponseBodyFlowChart } from './DescribePeakTrendResponseBody';
|
|
133
133
|
export { DescribePocFunctionsResponseBodyFunctions } from './DescribePocFunctionsResponseBody';
|
|
134
|
+
export { DescribePostpayBillsResponseBodyBillDetail } from './DescribePostpayBillsResponseBody';
|
|
134
135
|
export { DescribePrepayDailyBillsResponseBodyBills } from './DescribePrepayDailyBillsResponseBody';
|
|
135
136
|
export { DescribeProductInstancesResponseBodyProductInstancesAccessPortAndProtocols } from './DescribeProductInstancesResponseBody';
|
|
136
137
|
export { DescribeProductInstancesResponseBodyProductInstancesResourcePortsCertificates } from './DescribeProductInstancesResponseBody';
|
|
@@ -629,6 +630,9 @@ export { DescribePeakTrendResponse } from './DescribePeakTrendResponse';
|
|
|
629
630
|
export { DescribePocFunctionsRequest } from './DescribePocFunctionsRequest';
|
|
630
631
|
export { DescribePocFunctionsResponseBody } from './DescribePocFunctionsResponseBody';
|
|
631
632
|
export { DescribePocFunctionsResponse } from './DescribePocFunctionsResponse';
|
|
633
|
+
export { DescribePostpayBillsRequest } from './DescribePostpayBillsRequest';
|
|
634
|
+
export { DescribePostpayBillsResponseBody } from './DescribePostpayBillsResponseBody';
|
|
635
|
+
export { DescribePostpayBillsResponse } from './DescribePostpayBillsResponse';
|
|
632
636
|
export { DescribePrepayDailyBillsRequest } from './DescribePrepayDailyBillsRequest';
|
|
633
637
|
export { DescribePrepayDailyBillsResponseBody } from './DescribePrepayDailyBillsResponseBody';
|
|
634
638
|
export { DescribePrepayDailyBillsResponse } from './DescribePrepayDailyBillsResponse';
|