@alicloud/cas20200407 3.2.11 → 3.2.12
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 +2 -2
- package/dist/client.js +2 -6
- package/dist/client.js.map +1 -1
- package/dist/models/GetContactResponseBody.d.ts +1 -0
- package/dist/models/GetContactResponseBody.js +5 -0
- package/dist/models/GetContactResponseBody.js.map +1 -1
- package/dist/models/GetInstanceDetailResponseBody.d.ts +17 -10
- package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
- package/dist/models/GetUserCertificateDetailRequest.d.ts +2 -6
- package/dist/models/GetUserCertificateDetailRequest.js.map +1 -1
- package/dist/models/GetUserCertificateDetailResponseBody.d.ts +12 -9
- package/dist/models/GetUserCertificateDetailResponseBody.js.map +1 -1
- package/dist/models/ListContactResponseBody.d.ts +1 -0
- package/dist/models/ListContactResponseBody.js +5 -0
- package/dist/models/ListContactResponseBody.js.map +1 -1
- package/dist/models/ListInstancesRequest.d.ts +9 -9
- package/dist/models/ListInstancesResponseBody.d.ts +18 -18
- package/dist/models/RevokeCertificateRequest.d.ts +4 -0
- package/dist/models/RevokeCertificateRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -6
- package/src/models/GetContactResponseBody.ts +6 -0
- package/src/models/GetInstanceDetailResponseBody.ts +17 -10
- package/src/models/GetUserCertificateDetailRequest.ts +2 -6
- package/src/models/GetUserCertificateDetailResponseBody.ts +12 -9
- package/src/models/ListContactResponseBody.ts +6 -0
- package/src/models/ListInstancesRequest.ts +9 -9
- package/src/models/ListInstancesResponseBody.ts +18 -18
- package/src/models/RevokeCertificateRequest.ts +4 -0
|
@@ -5,11 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetUserCertificateDetailRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to filter certificate content
|
|
9
|
-
* - **true**: The Cert, Key, EncryptCert, EncryptPrivateKey, SignCert, and SignPrivateKey fields are not returned.
|
|
10
|
-
* - **false**: All fields are returned.
|
|
11
|
-
*
|
|
12
|
-
* Default value: false.
|
|
8
|
+
* Specifies whether to filter certificate content. If set to **true**, the Cert, Key, EncryptCert, EncryptPrivateKey, SignCert, and SignPrivateKey fields are not returned. If set to **false**, these fields are returned. Default value: false.
|
|
13
9
|
*
|
|
14
10
|
* @example
|
|
15
11
|
* false
|
|
@@ -18,7 +14,7 @@ export class GetUserCertificateDetailRequest extends $dara.Model {
|
|
|
18
14
|
/**
|
|
19
15
|
* @remarks
|
|
20
16
|
* The certificate ID.
|
|
21
|
-
* > You can
|
|
17
|
+
* > You can obtain this ID by calling [ListUserCertificateOrder](https://help.aliyun.com/document_detail/455804.html).
|
|
22
18
|
*
|
|
23
19
|
* This parameter is required.
|
|
24
20
|
*
|
|
@@ -135,7 +135,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
135
135
|
buyInAliyun?: boolean;
|
|
136
136
|
/**
|
|
137
137
|
* @remarks
|
|
138
|
-
* The certificate content that uses a non-Chinese cryptographic algorithm. This field is returned when the CertFilter
|
|
138
|
+
* The certificate content that uses a non-Chinese cryptographic algorithm. This field is returned when the CertFilter parameter is set to false, and is not returned when set to true.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* ---BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
|
|
@@ -155,6 +155,9 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
155
155
|
*/
|
|
156
156
|
certIdentifier?: string;
|
|
157
157
|
/**
|
|
158
|
+
* @remarks
|
|
159
|
+
* The SHA-2 algorithm value of the certificate.
|
|
160
|
+
*
|
|
158
161
|
* @example
|
|
159
162
|
* E696C2DB574DF99467A90BEF62B341294A9B0C731D228A0BD38265E1467D8EF0
|
|
160
163
|
*/
|
|
@@ -185,7 +188,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
185
188
|
country?: string;
|
|
186
189
|
/**
|
|
187
190
|
* @remarks
|
|
188
|
-
* The encryption certificate content in PEM format that uses a Chinese cryptographic algorithm. This field is returned when the CertFilter
|
|
191
|
+
* The encryption certificate content in PEM format that uses a Chinese cryptographic algorithm. This field is returned when the CertFilter parameter is set to false, and is not returned when set to true.
|
|
189
192
|
*
|
|
190
193
|
* @example
|
|
191
194
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -195,7 +198,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
195
198
|
encryptCert?: string;
|
|
196
199
|
/**
|
|
197
200
|
* @remarks
|
|
198
|
-
* The private key of the encryption certificate in PEM format that uses a Chinese cryptographic algorithm. This field is returned when the CertFilter
|
|
201
|
+
* The private key of the encryption certificate in PEM format that uses a Chinese cryptographic algorithm. This field is returned when the CertFilter parameter is set to false, and is not returned when set to true.
|
|
199
202
|
*
|
|
200
203
|
* @example
|
|
201
204
|
* -----BEGIN EC PRIVATE KEY-----
|
|
@@ -205,7 +208,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
205
208
|
encryptPrivateKey?: string;
|
|
206
209
|
/**
|
|
207
210
|
* @remarks
|
|
208
|
-
* The certificate expiration date
|
|
211
|
+
* The certificate expiration date in the format of YYYY-MM-DD.
|
|
209
212
|
*
|
|
210
213
|
* @example
|
|
211
214
|
* 2023-10-25
|
|
@@ -255,7 +258,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
255
258
|
issuer?: string;
|
|
256
259
|
/**
|
|
257
260
|
* @remarks
|
|
258
|
-
* The private key that uses a non-Chinese cryptographic algorithm. This field is returned when the CertFilter
|
|
261
|
+
* The private key that uses a non-Chinese cryptographic algorithm. This field is returned when the CertFilter parameter is set to false, and is not returned when set to true.
|
|
259
262
|
*
|
|
260
263
|
* @example
|
|
261
264
|
* -----BEGIN RSA PRIVATE KEY----- MII.... -----END RSA PRIVATE KEY-----
|
|
@@ -311,7 +314,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
311
314
|
province?: string;
|
|
312
315
|
/**
|
|
313
316
|
* @remarks
|
|
314
|
-
* The request ID. Alibaba Cloud generates a unique
|
|
317
|
+
* The request ID. Alibaba Cloud generates a unique identifier for each request, which can be used to troubleshoot issues.
|
|
315
318
|
*
|
|
316
319
|
* @example
|
|
317
320
|
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
@@ -351,7 +354,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
351
354
|
sha2?: string;
|
|
352
355
|
/**
|
|
353
356
|
* @remarks
|
|
354
|
-
* The signing certificate content in PEM format that uses a Chinese cryptographic algorithm. This field is returned when the CertFilter
|
|
357
|
+
* The signing certificate content in PEM format that uses a Chinese cryptographic algorithm. This field is returned when the CertFilter parameter is set to false, and is not returned when set to true.
|
|
355
358
|
*
|
|
356
359
|
* @example
|
|
357
360
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -361,7 +364,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
361
364
|
signCert?: string;
|
|
362
365
|
/**
|
|
363
366
|
* @remarks
|
|
364
|
-
* The private key of the signing certificate in PEM format that uses a Chinese cryptographic algorithm. This field is returned when the CertFilter
|
|
367
|
+
* The private key of the signing certificate in PEM format that uses a Chinese cryptographic algorithm. This field is returned when the CertFilter parameter is set to false, and is not returned when set to true.
|
|
365
368
|
*
|
|
366
369
|
* @example
|
|
367
370
|
* -----BEGIN EC PRIVATE KEY-----
|
|
@@ -371,7 +374,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
|
|
|
371
374
|
signPrivateKey?: string;
|
|
372
375
|
/**
|
|
373
376
|
* @remarks
|
|
374
|
-
* The certificate issuance date
|
|
377
|
+
* The certificate issuance date in the format of YYYY-MM-DD.
|
|
375
378
|
*
|
|
376
379
|
* @example
|
|
377
380
|
* 2018-07-13
|
|
@@ -51,6 +51,7 @@ export class ListContactResponseBodyContactList extends $dara.Model {
|
|
|
51
51
|
* John
|
|
52
52
|
*/
|
|
53
53
|
name?: string;
|
|
54
|
+
webhookList?: string[];
|
|
54
55
|
/**
|
|
55
56
|
* @remarks
|
|
56
57
|
* The webhook URL.
|
|
@@ -67,6 +68,7 @@ export class ListContactResponseBodyContactList extends $dara.Model {
|
|
|
67
68
|
mobile: 'Mobile',
|
|
68
69
|
mobileStatus: 'MobileStatus',
|
|
69
70
|
name: 'Name',
|
|
71
|
+
webhookList: 'WebhookList',
|
|
70
72
|
webhooks: 'Webhooks',
|
|
71
73
|
};
|
|
72
74
|
}
|
|
@@ -79,11 +81,15 @@ export class ListContactResponseBodyContactList extends $dara.Model {
|
|
|
79
81
|
mobile: 'string',
|
|
80
82
|
mobileStatus: 'number',
|
|
81
83
|
name: 'string',
|
|
84
|
+
webhookList: { 'type': 'array', 'itemType': 'string' },
|
|
82
85
|
webhooks: 'string',
|
|
83
86
|
};
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
validate() {
|
|
90
|
+
if(Array.isArray(this.webhookList)) {
|
|
91
|
+
$dara.Model.validateArray(this.webhookList);
|
|
92
|
+
}
|
|
87
93
|
super.validate();
|
|
88
94
|
}
|
|
89
95
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListInstancesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The CA brand. Valid values: WoSign, CFCA, DigiCert, GeoTrust, GlobalSign, vTrus, and Alibaba.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Digicert
|
|
@@ -51,7 +51,7 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
51
51
|
instanceType?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The keyword for fuzzy
|
|
54
|
+
* The keyword for fuzzy search. Matches domain names, instance names, or corresponding resource IDs.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* test
|
|
@@ -76,13 +76,13 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
78
|
* The instance status. Valid values:
|
|
79
|
-
* - **inactive**:
|
|
80
|
-
* - **pending**:
|
|
81
|
-
* - **willExpire**:
|
|
82
|
-
* - **expired**:
|
|
83
|
-
* - **refund**:
|
|
84
|
-
* - **normal**:
|
|
85
|
-
* - **closed**:
|
|
79
|
+
* - **inactive**: Pending use.
|
|
80
|
+
* - **pending**: Under review. The latest certificate is being reviewed.
|
|
81
|
+
* - **willExpire**: About to expire.
|
|
82
|
+
* - **expired**: Expired.
|
|
83
|
+
* - **refund**: Refunded.
|
|
84
|
+
* - **normal**: Normal.
|
|
85
|
+
* - **closed**: Closed and unavailable.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* inactive
|
|
@@ -23,11 +23,11 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
23
23
|
brand?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The global certificate ID
|
|
26
|
+
* The global certificate ID in the format of certificate ID + "-" + site region ID. This ID is commonly used across Alibaba Cloud services.
|
|
27
27
|
* - For the China site: certificate ID + "-cn-hangzhou"
|
|
28
28
|
* - For the China site: certificate ID + "-ap-southeast-1"
|
|
29
29
|
*
|
|
30
|
-
* For example, if the certificate ID is 123, the CertIdentifier
|
|
30
|
+
* For example, if the certificate ID is 123, the CertIdentifier for the China site is "123-cn-hangzhou", and the CertIdentifier for the International site is "123-ap-southeast-1".
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* 21795675-cn-hangzhou
|
|
@@ -59,7 +59,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
59
59
|
certificateName?: string;
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* The end time of the latest certificate
|
|
62
|
+
* The end time of the latest certificate. The value is a UNIX timestamp accurate to seconds. If no certificate has been issued, this field is empty.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* 1801324800000
|
|
@@ -67,7 +67,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
67
67
|
certificateNotAfter?: number;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* The start time of the latest certificate
|
|
70
|
+
* The start time of the latest certificate. The value is a UNIX timestamp accurate to seconds. If no certificate has been issued, this field is empty.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* 1776988800000
|
|
@@ -75,7 +75,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
75
75
|
certificateNotBefore?: number;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The revocation time of the latest certificate
|
|
78
|
+
* The revocation time of the latest certificate. The value is a UNIX timestamp accurate to seconds.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* 1801324800000
|
|
@@ -119,7 +119,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
119
119
|
fullDomainCount?: number;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* The expiration time of the instance
|
|
122
|
+
* The expiration time of the instance. The value is a UNIX timestamp accurate to seconds. If no certificate has been issued, this field is empty.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
125
|
* 1801324800000
|
|
@@ -135,7 +135,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
135
135
|
instanceId?: string;
|
|
136
136
|
/**
|
|
137
137
|
* @remarks
|
|
138
|
-
* The start time of the instance
|
|
138
|
+
* The start time of the instance. The value is a UNIX timestamp accurate to seconds. If no certificate has been issued, this field is empty.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* 1801324800000
|
|
@@ -166,7 +166,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
166
166
|
keyAlgorithm?: string;
|
|
167
167
|
/**
|
|
168
168
|
* @remarks
|
|
169
|
-
* The end time of the instance purchase
|
|
169
|
+
* The end time of the instance purchase. The value is a UNIX timestamp accurate to seconds. Used to determine the purchase duration of the instance.
|
|
170
170
|
*
|
|
171
171
|
* @example
|
|
172
172
|
* 1801324800000
|
|
@@ -174,7 +174,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
174
174
|
orderEndTime?: number;
|
|
175
175
|
/**
|
|
176
176
|
* @remarks
|
|
177
|
-
* The start time of the instance purchase
|
|
177
|
+
* The start time of the instance purchase. The value is a UNIX timestamp accurate to seconds. Used to determine the refund time limit.
|
|
178
178
|
*
|
|
179
179
|
* @example
|
|
180
180
|
* 1801324800000
|
|
@@ -207,13 +207,13 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
207
207
|
/**
|
|
208
208
|
* @remarks
|
|
209
209
|
* The instance status. Valid values:
|
|
210
|
-
* - **inactive**:
|
|
211
|
-
* - **pending**:
|
|
212
|
-
* - **willExpire**:
|
|
213
|
-
* - **expired**:
|
|
214
|
-
* - **refund**:
|
|
215
|
-
* - **normal**:
|
|
216
|
-
* - **closed**:
|
|
210
|
+
* - **inactive**: Pending use.
|
|
211
|
+
* - **pending**: Under review. The latest certificate is being reviewed.
|
|
212
|
+
* - **willExpire**: About to expire.
|
|
213
|
+
* - **expired**: Expired.
|
|
214
|
+
* - **refund**: Refunded.
|
|
215
|
+
* - **normal**: Normal.
|
|
216
|
+
* - **closed**: Closed and unavailable.
|
|
217
217
|
*
|
|
218
218
|
* @example
|
|
219
219
|
* inactive
|
|
@@ -309,7 +309,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
309
309
|
export class ListInstancesResponseBody extends $dara.Model {
|
|
310
310
|
/**
|
|
311
311
|
* @remarks
|
|
312
|
-
* The current page number in
|
|
312
|
+
* The current page number in the paged query.
|
|
313
313
|
*
|
|
314
314
|
* @example
|
|
315
315
|
* 1
|
|
@@ -330,7 +330,7 @@ export class ListInstancesResponseBody extends $dara.Model {
|
|
|
330
330
|
requestId?: string;
|
|
331
331
|
/**
|
|
332
332
|
* @remarks
|
|
333
|
-
* The number of records per page.
|
|
333
|
+
* The number of records displayed per page.
|
|
334
334
|
*
|
|
335
335
|
* @example
|
|
336
336
|
* 20
|