@alicloud/esa20240910 2.40.0 → 2.41.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 +15 -0
- package/dist/client.js +89 -8
- package/dist/client.js.map +1 -1
- package/dist/models/GetCertificateResponseBody.d.ts +1 -0
- package/dist/models/GetCertificateResponseBody.js +2 -0
- package/dist/models/GetCertificateResponseBody.js.map +1 -1
- package/dist/models/ListCertificatesByRecordResponseBody.d.ts +1 -0
- package/dist/models/ListCertificatesByRecordResponseBody.js +2 -0
- package/dist/models/ListCertificatesByRecordResponseBody.js.map +1 -1
- package/dist/models/ListCertificatesResponseBody.d.ts +1 -0
- package/dist/models/ListCertificatesResponseBody.js +2 -0
- package/dist/models/ListCertificatesResponseBody.js.map +1 -1
- package/dist/models/ListSiteOriginClientCertificatesRequest.d.ts +39 -0
- package/dist/models/ListSiteOriginClientCertificatesRequest.js +62 -0
- package/dist/models/ListSiteOriginClientCertificatesRequest.js.map +1 -0
- package/dist/models/ListSiteOriginClientCertificatesResponse.d.ts +19 -0
- package/dist/models/ListSiteOriginClientCertificatesResponse.js +69 -0
- package/dist/models/ListSiteOriginClientCertificatesResponse.js.map +1 -0
- package/dist/models/ListSiteOriginClientCertificatesResponseBody.d.ts +198 -0
- package/dist/models/ListSiteOriginClientCertificatesResponseBody.js +120 -0
- package/dist/models/ListSiteOriginClientCertificatesResponseBody.js.map +1 -0
- package/dist/models/SetCertificateRequest.d.ts +1 -0
- package/dist/models/SetCertificateRequest.js +2 -0
- package/dist/models/SetCertificateRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +34 -26
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +106 -8
- package/src/models/GetCertificateResponseBody.ts +3 -0
- package/src/models/ListCertificatesByRecordResponseBody.ts +3 -0
- package/src/models/ListCertificatesResponseBody.ts +3 -0
- package/src/models/ListSiteOriginClientCertificatesRequest.ts +56 -0
- package/src/models/ListSiteOriginClientCertificatesResponse.ts +40 -0
- package/src/models/ListSiteOriginClientCertificatesResponseBody.ts +264 -0
- package/src/models/SetCertificateRequest.ts +3 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListSiteOriginClientCertificatesResponseBodyResult extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The Common Name of the certificate.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* www.example.com
|
|
12
|
+
*/
|
|
13
|
+
commonName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The time when the certificate was created.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2024-06-24 07:48:51
|
|
20
|
+
*/
|
|
21
|
+
createTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The SHA-256 fingerprint of the certificate.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a****
|
|
28
|
+
*/
|
|
29
|
+
fingerprintSha256?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The certificate ID on ESA.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* babaabcd****
|
|
36
|
+
*/
|
|
37
|
+
id?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The certificate authority (CA) that issued the certificate.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* DigiCert
|
|
44
|
+
*/
|
|
45
|
+
issuer?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The certificate name.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* yourCertName
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The time when the certificate expires.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 2024-03-31 02:08:00
|
|
60
|
+
*/
|
|
61
|
+
notAfter?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The time when the certificate takes effect.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 2023-03-31 02:08:00
|
|
68
|
+
*/
|
|
69
|
+
notBefore?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The public key algorithm of the certificate.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* RSA
|
|
76
|
+
*/
|
|
77
|
+
pubkeyAlgorithm?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The Subject Alternative Name (SAN) of the certificate.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* www.example.com,*.example.com
|
|
84
|
+
*/
|
|
85
|
+
SAN?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The serial number of the certificate.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* babaded901474b9693acf530e0fb1d**
|
|
92
|
+
*/
|
|
93
|
+
serialNumber?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The signature algorithm of the certificate.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* SHA256-RSA
|
|
100
|
+
*/
|
|
101
|
+
signatureAlgorithm?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The certificate status.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* OK
|
|
108
|
+
*/
|
|
109
|
+
status?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The certificate type.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* upload
|
|
116
|
+
*/
|
|
117
|
+
type?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The time when the certificate was updated.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* 2022-09-22 05:33:13
|
|
124
|
+
*/
|
|
125
|
+
updateTime?: string;
|
|
126
|
+
static names(): { [key: string]: string } {
|
|
127
|
+
return {
|
|
128
|
+
commonName: 'CommonName',
|
|
129
|
+
createTime: 'CreateTime',
|
|
130
|
+
fingerprintSha256: 'FingerprintSha256',
|
|
131
|
+
id: 'Id',
|
|
132
|
+
issuer: 'Issuer',
|
|
133
|
+
name: 'Name',
|
|
134
|
+
notAfter: 'NotAfter',
|
|
135
|
+
notBefore: 'NotBefore',
|
|
136
|
+
pubkeyAlgorithm: 'PubkeyAlgorithm',
|
|
137
|
+
SAN: 'SAN',
|
|
138
|
+
serialNumber: 'SerialNumber',
|
|
139
|
+
signatureAlgorithm: 'SignatureAlgorithm',
|
|
140
|
+
status: 'Status',
|
|
141
|
+
type: 'Type',
|
|
142
|
+
updateTime: 'UpdateTime',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
static types(): { [key: string]: any } {
|
|
147
|
+
return {
|
|
148
|
+
commonName: 'string',
|
|
149
|
+
createTime: 'string',
|
|
150
|
+
fingerprintSha256: 'string',
|
|
151
|
+
id: 'string',
|
|
152
|
+
issuer: 'string',
|
|
153
|
+
name: 'string',
|
|
154
|
+
notAfter: 'string',
|
|
155
|
+
notBefore: 'string',
|
|
156
|
+
pubkeyAlgorithm: 'string',
|
|
157
|
+
SAN: 'string',
|
|
158
|
+
serialNumber: 'string',
|
|
159
|
+
signatureAlgorithm: 'string',
|
|
160
|
+
status: 'string',
|
|
161
|
+
type: 'string',
|
|
162
|
+
updateTime: 'string',
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
validate() {
|
|
167
|
+
super.validate();
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
constructor(map?: { [key: string]: any }) {
|
|
171
|
+
super(map);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export class ListSiteOriginClientCertificatesResponseBody extends $dara.Model {
|
|
176
|
+
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* The page number.
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* 1
|
|
182
|
+
*/
|
|
183
|
+
pageNumber?: number;
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* The number of entries per page.
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* 1024
|
|
190
|
+
*/
|
|
191
|
+
pageSize?: number;
|
|
192
|
+
/**
|
|
193
|
+
* @remarks
|
|
194
|
+
* The request ID.
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
198
|
+
*/
|
|
199
|
+
requestId?: string;
|
|
200
|
+
/**
|
|
201
|
+
* @remarks
|
|
202
|
+
* Details of the certificates.
|
|
203
|
+
*/
|
|
204
|
+
result?: ListSiteOriginClientCertificatesResponseBodyResult[];
|
|
205
|
+
/**
|
|
206
|
+
* @remarks
|
|
207
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
208
|
+
*
|
|
209
|
+
* @example
|
|
210
|
+
* 123456789****
|
|
211
|
+
*/
|
|
212
|
+
siteId?: number;
|
|
213
|
+
/**
|
|
214
|
+
* @remarks
|
|
215
|
+
* The website name.
|
|
216
|
+
*
|
|
217
|
+
* @example
|
|
218
|
+
* example.com
|
|
219
|
+
*/
|
|
220
|
+
siteName?: string;
|
|
221
|
+
/**
|
|
222
|
+
* @remarks
|
|
223
|
+
* The total number of certificate.
|
|
224
|
+
*
|
|
225
|
+
* @example
|
|
226
|
+
* 90
|
|
227
|
+
*/
|
|
228
|
+
totalCount?: number;
|
|
229
|
+
static names(): { [key: string]: string } {
|
|
230
|
+
return {
|
|
231
|
+
pageNumber: 'PageNumber',
|
|
232
|
+
pageSize: 'PageSize',
|
|
233
|
+
requestId: 'RequestId',
|
|
234
|
+
result: 'Result',
|
|
235
|
+
siteId: 'SiteId',
|
|
236
|
+
siteName: 'SiteName',
|
|
237
|
+
totalCount: 'TotalCount',
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
static types(): { [key: string]: any } {
|
|
242
|
+
return {
|
|
243
|
+
pageNumber: 'number',
|
|
244
|
+
pageSize: 'number',
|
|
245
|
+
requestId: 'string',
|
|
246
|
+
result: { 'type': 'array', 'itemType': ListSiteOriginClientCertificatesResponseBodyResult },
|
|
247
|
+
siteId: 'number',
|
|
248
|
+
siteName: 'string',
|
|
249
|
+
totalCount: 'number',
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
validate() {
|
|
254
|
+
if(Array.isArray(this.result)) {
|
|
255
|
+
$dara.Model.validateArray(this.result);
|
|
256
|
+
}
|
|
257
|
+
super.validate();
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
constructor(map?: { [key: string]: any }) {
|
|
261
|
+
super(map);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
@@ -27,6 +27,7 @@ export class SetCertificateRequest extends $dara.Model {
|
|
|
27
27
|
* 30001303
|
|
28
28
|
*/
|
|
29
29
|
id?: string;
|
|
30
|
+
keyServerId?: string;
|
|
30
31
|
/**
|
|
31
32
|
* @remarks
|
|
32
33
|
* The certificate name.
|
|
@@ -81,6 +82,7 @@ export class SetCertificateRequest extends $dara.Model {
|
|
|
81
82
|
casId: 'CasId',
|
|
82
83
|
certificate: 'Certificate',
|
|
83
84
|
id: 'Id',
|
|
85
|
+
keyServerId: 'KeyServerId',
|
|
84
86
|
name: 'Name',
|
|
85
87
|
ownerId: 'OwnerId',
|
|
86
88
|
privateKey: 'PrivateKey',
|
|
@@ -96,6 +98,7 @@ export class SetCertificateRequest extends $dara.Model {
|
|
|
96
98
|
casId: 'number',
|
|
97
99
|
certificate: 'string',
|
|
98
100
|
id: 'string',
|
|
101
|
+
keyServerId: 'string',
|
|
99
102
|
name: 'string',
|
|
100
103
|
ownerId: 'number',
|
|
101
104
|
privateKey: 'string',
|
package/src/models/model.ts
CHANGED
|
@@ -261,6 +261,7 @@ export { ListRoutineRoutesResponseBodyConfigs } from './ListRoutineRoutesRespons
|
|
|
261
261
|
export { ListScheduledPreloadExecutionsResponseBodyExecutions } from './ListScheduledPreloadExecutionsResponseBody';
|
|
262
262
|
export { ListScheduledPreloadJobsResponseBodyJobs } from './ListScheduledPreloadJobsResponseBody';
|
|
263
263
|
export { ListSiteDeliveryTasksResponseBodyTasks } from './ListSiteDeliveryTasksResponseBody';
|
|
264
|
+
export { ListSiteOriginClientCertificatesResponseBodyResult } from './ListSiteOriginClientCertificatesResponseBody';
|
|
264
265
|
export { ListSiteRoutesResponseBodyConfigs } from './ListSiteRoutesResponseBody';
|
|
265
266
|
export { ListSitesRequestTagFilter } from './ListSitesRequest';
|
|
266
267
|
export { ListSitesResponseBodySites } from './ListSitesResponseBody';
|
|
@@ -1159,6 +1160,9 @@ export { ListScheduledPreloadJobsResponse } from './ListScheduledPreloadJobsResp
|
|
|
1159
1160
|
export { ListSiteDeliveryTasksRequest } from './ListSiteDeliveryTasksRequest';
|
|
1160
1161
|
export { ListSiteDeliveryTasksResponseBody } from './ListSiteDeliveryTasksResponseBody';
|
|
1161
1162
|
export { ListSiteDeliveryTasksResponse } from './ListSiteDeliveryTasksResponse';
|
|
1163
|
+
export { ListSiteOriginClientCertificatesRequest } from './ListSiteOriginClientCertificatesRequest';
|
|
1164
|
+
export { ListSiteOriginClientCertificatesResponseBody } from './ListSiteOriginClientCertificatesResponseBody';
|
|
1165
|
+
export { ListSiteOriginClientCertificatesResponse } from './ListSiteOriginClientCertificatesResponse';
|
|
1162
1166
|
export { ListSiteRoutesRequest } from './ListSiteRoutesRequest';
|
|
1163
1167
|
export { ListSiteRoutesResponseBody } from './ListSiteRoutesResponseBody';
|
|
1164
1168
|
export { ListSiteRoutesResponse } from './ListSiteRoutesResponse';
|