@alicloud/esa20240910 2.34.2 → 2.35.1
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 +16 -1
- package/dist/client.js +120 -34
- package/dist/client.js.map +1 -1
- package/dist/models/CreateOriginPoolRequest.d.ts +1 -0
- package/dist/models/CreateOriginPoolRequest.js +2 -0
- package/dist/models/CreateOriginPoolRequest.js.map +1 -1
- package/dist/models/GetApiSchemaUsageRequest.d.ts +29 -0
- package/dist/models/GetApiSchemaUsageRequest.js +60 -0
- package/dist/models/GetApiSchemaUsageRequest.js.map +1 -0
- package/dist/models/GetApiSchemaUsageResponse.d.ts +19 -0
- package/dist/models/GetApiSchemaUsageResponse.js +69 -0
- package/dist/models/GetApiSchemaUsageResponse.js.map +1 -0
- package/dist/models/GetApiSchemaUsageResponseBody.d.ts +78 -0
- package/dist/models/GetApiSchemaUsageResponseBody.js +90 -0
- package/dist/models/GetApiSchemaUsageResponseBody.js.map +1 -0
- package/dist/models/GetOriginPoolResponseBody.d.ts +1 -0
- package/dist/models/GetOriginPoolResponseBody.js +2 -0
- package/dist/models/GetOriginPoolResponseBody.js.map +1 -1
- package/dist/models/ListOriginPoolsResponseBody.d.ts +1 -0
- package/dist/models/ListOriginPoolsResponseBody.js +2 -0
- package/dist/models/ListOriginPoolsResponseBody.js.map +1 -1
- package/dist/models/ListUserRatePlanInstancesRequest.d.ts +1 -0
- package/dist/models/ListUserRatePlanInstancesRequest.js +2 -0
- package/dist/models/ListUserRatePlanInstancesRequest.js.map +1 -1
- package/dist/models/UpdateOriginPoolRequest.d.ts +1 -0
- package/dist/models/UpdateOriginPoolRequest.js +2 -0
- package/dist/models/UpdateOriginPoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +35 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +131 -39
- package/src/models/CreateOriginPoolRequest.ts +3 -0
- package/src/models/GetApiSchemaUsageRequest.ts +44 -0
- package/src/models/GetApiSchemaUsageResponse.ts +40 -0
- package/src/models/GetApiSchemaUsageResponseBody.ts +114 -0
- package/src/models/GetOriginPoolResponseBody.ts +3 -0
- package/src/models/ListOriginPoolsResponseBody.ts +3 -0
- package/src/models/ListUserRatePlanInstancesRequest.ts +3 -0
- package/src/models/UpdateOriginPoolRequest.ts +3 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetApiSchemaUsageResponseBodyUsages extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The website ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 40000449
|
|
12
|
+
*/
|
|
13
|
+
id?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The website name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* test
|
|
20
|
+
*/
|
|
21
|
+
name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of files uploaded for the website.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 0
|
|
28
|
+
*/
|
|
29
|
+
usage?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
id: 'Id',
|
|
33
|
+
name: 'Name',
|
|
34
|
+
usage: 'Usage',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
id: 'number',
|
|
41
|
+
name: 'string',
|
|
42
|
+
usage: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class GetApiSchemaUsageResponseBody extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The plan ID.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* esa-site-agknce3n****
|
|
62
|
+
*/
|
|
63
|
+
instanceId?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The number of files uploaded for schema verification in the plan instance of the website.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 10
|
|
70
|
+
*/
|
|
71
|
+
instanceUsage?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* Id of the request
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* 952ea16b-1f05-4a76-bb32-420282d8****
|
|
78
|
+
*/
|
|
79
|
+
requestId?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Usage details for websites.
|
|
83
|
+
*/
|
|
84
|
+
usages?: GetApiSchemaUsageResponseBodyUsages[];
|
|
85
|
+
static names(): { [key: string]: string } {
|
|
86
|
+
return {
|
|
87
|
+
instanceId: 'InstanceId',
|
|
88
|
+
instanceUsage: 'InstanceUsage',
|
|
89
|
+
requestId: 'RequestId',
|
|
90
|
+
usages: 'Usages',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
instanceId: 'string',
|
|
97
|
+
instanceUsage: 'number',
|
|
98
|
+
requestId: 'string',
|
|
99
|
+
usages: { 'type': 'array', 'itemType': GetApiSchemaUsageResponseBodyUsages },
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
validate() {
|
|
104
|
+
if(Array.isArray(this.usages)) {
|
|
105
|
+
$dara.Model.validateArray(this.usages);
|
|
106
|
+
}
|
|
107
|
+
super.validate();
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
constructor(map?: { [key: string]: any }) {
|
|
111
|
+
super(map);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -122,6 +122,7 @@ export class GetOriginPoolResponseBodyOrigins extends $dara.Model {
|
|
|
122
122
|
* 99750209487****
|
|
123
123
|
*/
|
|
124
124
|
id?: number;
|
|
125
|
+
ipVersionPolicy?: string;
|
|
125
126
|
/**
|
|
126
127
|
* @remarks
|
|
127
128
|
* The name of the origin.
|
|
@@ -157,6 +158,7 @@ export class GetOriginPoolResponseBodyOrigins extends $dara.Model {
|
|
|
157
158
|
enabled: 'Enabled',
|
|
158
159
|
header: 'Header',
|
|
159
160
|
id: 'Id',
|
|
161
|
+
ipVersionPolicy: 'IpVersionPolicy',
|
|
160
162
|
name: 'Name',
|
|
161
163
|
type: 'Type',
|
|
162
164
|
weight: 'Weight',
|
|
@@ -170,6 +172,7 @@ export class GetOriginPoolResponseBodyOrigins extends $dara.Model {
|
|
|
170
172
|
enabled: 'boolean',
|
|
171
173
|
header: 'any',
|
|
172
174
|
id: 'number',
|
|
175
|
+
ipVersionPolicy: 'string',
|
|
173
176
|
name: 'string',
|
|
174
177
|
type: 'string',
|
|
175
178
|
weight: 'number',
|
|
@@ -122,6 +122,7 @@ export class ListOriginPoolsResponseBodyOriginPoolsOrigins extends $dara.Model {
|
|
|
122
122
|
* 997502094872132
|
|
123
123
|
*/
|
|
124
124
|
id?: number;
|
|
125
|
+
ipVersionPolicy?: string;
|
|
125
126
|
/**
|
|
126
127
|
* @remarks
|
|
127
128
|
* Origin name.
|
|
@@ -156,6 +157,7 @@ export class ListOriginPoolsResponseBodyOriginPoolsOrigins extends $dara.Model {
|
|
|
156
157
|
enabled: 'Enabled',
|
|
157
158
|
header: 'Header',
|
|
158
159
|
id: 'Id',
|
|
160
|
+
ipVersionPolicy: 'IpVersionPolicy',
|
|
159
161
|
name: 'Name',
|
|
160
162
|
type: 'Type',
|
|
161
163
|
weight: 'Weight',
|
|
@@ -169,6 +171,7 @@ export class ListOriginPoolsResponseBodyOriginPoolsOrigins extends $dara.Model {
|
|
|
169
171
|
enabled: 'boolean',
|
|
170
172
|
header: 'any',
|
|
171
173
|
id: 'number',
|
|
174
|
+
ipVersionPolicy: 'string',
|
|
172
175
|
name: 'string',
|
|
173
176
|
type: 'string',
|
|
174
177
|
weight: 'number',
|
|
@@ -38,6 +38,7 @@ export class ListUserRatePlanInstancesRequest extends $dara.Model {
|
|
|
38
38
|
* 500
|
|
39
39
|
*/
|
|
40
40
|
pageSize?: number;
|
|
41
|
+
planType?: string;
|
|
41
42
|
remainingExpireDays?: number;
|
|
42
43
|
/**
|
|
43
44
|
* @remarks
|
|
@@ -84,6 +85,7 @@ export class ListUserRatePlanInstancesRequest extends $dara.Model {
|
|
|
84
85
|
instanceId: 'InstanceId',
|
|
85
86
|
pageNumber: 'PageNumber',
|
|
86
87
|
pageSize: 'PageSize',
|
|
88
|
+
planType: 'PlanType',
|
|
87
89
|
remainingExpireDays: 'RemainingExpireDays',
|
|
88
90
|
sortBy: 'SortBy',
|
|
89
91
|
sortOrder: 'SortOrder',
|
|
@@ -98,6 +100,7 @@ export class ListUserRatePlanInstancesRequest extends $dara.Model {
|
|
|
98
100
|
instanceId: 'string',
|
|
99
101
|
pageNumber: 'number',
|
|
100
102
|
pageSize: 'number',
|
|
103
|
+
planType: 'string',
|
|
101
104
|
remainingExpireDays: 'number',
|
|
102
105
|
sortBy: 'string',
|
|
103
106
|
sortOrder: 'string',
|
|
@@ -114,6 +114,7 @@ export class UpdateOriginPoolRequestOrigins extends $dara.Model {
|
|
|
114
114
|
* }
|
|
115
115
|
*/
|
|
116
116
|
header?: any;
|
|
117
|
+
ipVersionPolicy?: string;
|
|
117
118
|
/**
|
|
118
119
|
* @remarks
|
|
119
120
|
* The name of the origin, which must be unique under one origin pool.
|
|
@@ -148,6 +149,7 @@ export class UpdateOriginPoolRequestOrigins extends $dara.Model {
|
|
|
148
149
|
authConf: 'AuthConf',
|
|
149
150
|
enabled: 'Enabled',
|
|
150
151
|
header: 'Header',
|
|
152
|
+
ipVersionPolicy: 'IpVersionPolicy',
|
|
151
153
|
name: 'Name',
|
|
152
154
|
type: 'Type',
|
|
153
155
|
weight: 'Weight',
|
|
@@ -160,6 +162,7 @@ export class UpdateOriginPoolRequestOrigins extends $dara.Model {
|
|
|
160
162
|
authConf: UpdateOriginPoolRequestOriginsAuthConf,
|
|
161
163
|
enabled: 'boolean',
|
|
162
164
|
header: 'any',
|
|
165
|
+
ipVersionPolicy: 'string',
|
|
163
166
|
name: 'string',
|
|
164
167
|
type: 'string',
|
|
165
168
|
weight: 'number',
|
package/src/models/model.ts
CHANGED
|
@@ -102,6 +102,7 @@ export { DescribeSiteTopDataRequestFields } from './DescribeSiteTopDataRequest';
|
|
|
102
102
|
export { DescribeSiteTopDataResponseBodyDataDetailData } from './DescribeSiteTopDataResponseBody';
|
|
103
103
|
export { DescribeSiteTopDataResponseBodyData } from './DescribeSiteTopDataResponseBody';
|
|
104
104
|
export { DescribeUrlObservationDataResponseBodyUrlDetailData } from './DescribeUrlObservationDataResponseBody';
|
|
105
|
+
export { GetApiSchemaUsageResponseBodyUsages } from './GetApiSchemaUsageResponseBody';
|
|
105
106
|
export { GetCertificateResponseBodyResultDCV } from './GetCertificateResponseBody';
|
|
106
107
|
export { GetCertificateResponseBodyResult } from './GetCertificateResponseBody';
|
|
107
108
|
export { GetCertificateQuotaResponseBodySiteUsage } from './GetCertificateQuotaResponseBody';
|
|
@@ -735,6 +736,9 @@ export { EnableCustomScenePolicyResponse } from './EnableCustomScenePolicyRespon
|
|
|
735
736
|
export { ExportRecordsRequest } from './ExportRecordsRequest';
|
|
736
737
|
export { ExportRecordsResponseBody } from './ExportRecordsResponseBody';
|
|
737
738
|
export { ExportRecordsResponse } from './ExportRecordsResponse';
|
|
739
|
+
export { GetApiSchemaUsageRequest } from './GetApiSchemaUsageRequest';
|
|
740
|
+
export { GetApiSchemaUsageResponseBody } from './GetApiSchemaUsageResponseBody';
|
|
741
|
+
export { GetApiSchemaUsageResponse } from './GetApiSchemaUsageResponse';
|
|
738
742
|
export { GetCacheReserveSpecificationResponseBody } from './GetCacheReserveSpecificationResponseBody';
|
|
739
743
|
export { GetCacheReserveSpecificationResponse } from './GetCacheReserveSpecificationResponse';
|
|
740
744
|
export { GetCacheRuleRequest } from './GetCacheRuleRequest';
|