@alicloud/cas20200407 3.2.11 → 3.2.13

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 (31) hide show
  1. package/dist/client.d.ts +4 -4
  2. package/dist/client.js +4 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetContactResponseBody.d.ts +7 -2
  5. package/dist/models/GetContactResponseBody.js +5 -0
  6. package/dist/models/GetContactResponseBody.js.map +1 -1
  7. package/dist/models/GetInstanceDetailResponseBody.d.ts +17 -10
  8. package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
  9. package/dist/models/GetUserCertificateDetailRequest.d.ts +2 -6
  10. package/dist/models/GetUserCertificateDetailRequest.js.map +1 -1
  11. package/dist/models/GetUserCertificateDetailResponseBody.d.ts +12 -9
  12. package/dist/models/GetUserCertificateDetailResponseBody.js.map +1 -1
  13. package/dist/models/ListContactRequest.d.ts +2 -2
  14. package/dist/models/ListContactResponseBody.d.ts +5 -0
  15. package/dist/models/ListContactResponseBody.js +5 -0
  16. package/dist/models/ListContactResponseBody.js.map +1 -1
  17. package/dist/models/ListInstancesRequest.d.ts +9 -9
  18. package/dist/models/ListInstancesResponseBody.d.ts +18 -18
  19. package/dist/models/RevokeCertificateRequest.d.ts +4 -0
  20. package/dist/models/RevokeCertificateRequest.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/client.ts +4 -8
  23. package/src/models/GetContactResponseBody.ts +12 -2
  24. package/src/models/GetInstanceDetailResponseBody.ts +17 -10
  25. package/src/models/GetUserCertificateDetailRequest.ts +2 -6
  26. package/src/models/GetUserCertificateDetailResponseBody.ts +12 -9
  27. package/src/models/ListContactRequest.ts +2 -2
  28. package/src/models/ListContactResponseBody.ts +10 -0
  29. package/src/models/ListInstancesRequest.ts +9 -9
  30. package/src/models/ListInstancesResponseBody.ts +18 -18
  31. package/src/models/RevokeCertificateRequest.ts +4 -0
@@ -250,16 +250,23 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
250
250
  certificateName?: string;
251
251
  /**
252
252
  * @remarks
253
- * The end time of the latest certificate, in timestamp format. This value is empty if no certificate has been issued.
253
+ * The end time of the latest certificate, in UNIX timestamp format. This value is empty if no certificate has been issued. The value is accurate to the second.
254
254
  *
255
255
  * @example
256
256
  * 1801324800000
257
257
  */
258
258
  certificateNotAfter?: number;
259
+ /**
260
+ * @remarks
261
+ * The start time of the latest certificate, in UNIX timestamp format. This value is empty if no certificate has been issued. The value is accurate to the second.
262
+ *
263
+ * @example
264
+ * 1781568000000
265
+ */
259
266
  certificateNotBefore?: number;
260
267
  /**
261
268
  * @remarks
262
- * The revocation time of the latest certificate, in timestamp format.
269
+ * The revocation time of the latest certificate, in UNIX timestamp format. The value is accurate to the second.
263
270
  *
264
271
  * @example
265
272
  * 1801324800000
@@ -308,7 +315,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
308
315
  contactIdList?: number[];
309
316
  /**
310
317
  * @remarks
311
- * The code of the country or region where the certificate organization is located. For example, CN indicates China, and US indicates the United States. This field is required when generating a certificate signing request. Default value: CN.
318
+ * The country or region code of the certificate organization. For example, CN indicates China, and US indicates the United States. This field is required when generating a certificate signing request. Default value: CN.
312
319
  *
313
320
  * @example
314
321
  * CN
@@ -337,7 +344,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
337
344
  domain?: string;
338
345
  /**
339
346
  * @remarks
340
- * The list of domain names to be validated.
347
+ * The list of domain validations.
341
348
  */
342
349
  domainValidationList?: GetInstanceDetailResponseBodyDomainValidationList[];
343
350
  /**
@@ -360,7 +367,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
360
367
  generateCsrMethod?: string;
361
368
  /**
362
369
  * @remarks
363
- * The expiration time of the instance, in timestamp format. This value is empty if no certificate has been issued.
370
+ * The expiration time of the instance, in UNIX timestamp format. This value is empty if no certificate has been issued. The value is accurate to the second.
364
371
  *
365
372
  * @example
366
373
  * 1801324800000
@@ -376,7 +383,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
376
383
  instanceId?: string;
377
384
  /**
378
385
  * @remarks
379
- * The start time of the instance, in timestamp format. This value is empty if no certificate has been issued.
386
+ * The start time of the instance, in UNIX timestamp format. This value is empty if no certificate has been issued. The value is accurate to the second.
380
387
  *
381
388
  * @example
382
389
  * 1801324800000
@@ -407,7 +414,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
407
414
  keyAlgorithm?: string;
408
415
  /**
409
416
  * @remarks
410
- * The end time of the instance purchase, in timestamp format. This value is used to determine the purchase duration of the instance.
417
+ * The end time of the instance purchase, in UNIX timestamp format. This value is used to determine the purchase duration of the instance.
411
418
  *
412
419
  * @example
413
420
  * 1801324800000
@@ -415,7 +422,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
415
422
  orderEndTime?: number;
416
423
  /**
417
424
  * @remarks
418
- * The start time of the instance purchase, in timestamp format. This value is used to determine the refund time limit.
425
+ * The start time of the instance purchase, in UNIX timestamp format. This value is used to determine the refund time limit. The value is accurate to the second.
419
426
  *
420
427
  * @example
421
428
  * 1801324800000
@@ -489,7 +496,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
489
496
  *
490
497
  * - payed: the instance upgrade has been paid.
491
498
  *
492
- * - issued: the latest certificate has been issued for the upgraded instance.
499
+ * - issued: the latest certificate has been issued after the instance upgrade.
493
500
  *
494
501
  * @example
495
502
  * none
@@ -497,7 +504,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
497
504
  upgradeStatus?: string;
498
505
  /**
499
506
  * @remarks
500
- * The validation method for the certificate application. Valid values:
507
+ * The certificate validation method. Valid values:
501
508
  * - DNS: DNS validation, using TXT or CNAME.
502
509
  * - HTTP: file-based validation.
503
510
  *
@@ -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 from the response. Valid values:
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 call [ListUserCertificateOrder](https://help.aliyun.com/document_detail/455804.html) to obtain the certificate ID.
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 request parameter is set to false, and is not returned when set to true.
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 request parameter is set to false, and is not returned when set to true.
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 request parameter is set to false, and is not returned when set to true.
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, in the format of YYYY-MM-DD.
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 request parameter is set to false, and is not returned when set to true.
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 ID for each request. You can use this ID to troubleshoot issues.
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 request parameter is set to false, and is not returned when set to true.
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 request parameter is set to false, and is not returned when set to true.
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, in the format of YYYY-MM-DD.
377
+ * The certificate issuance date in the format of YYYY-MM-DD.
375
378
  *
376
379
  * @example
377
380
  * 2018-07-13
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListContactRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The current page number for paged queries. Default value: **1**.
8
+ * The current page number for pagination. Default value: 1.
9
9
  *
10
10
  * @example
11
11
  * 1
@@ -13,7 +13,7 @@ export class ListContactRequest extends $dara.Model {
13
13
  currentPage?: number;
14
14
  /**
15
15
  * @remarks
16
- * The search keyword, such as a keyword in the name, email address, or phone number.
16
+ * The search keyword. For example, a keyword in the name, email address, or phone number.
17
17
  *
18
18
  * @example
19
19
  * 186
@@ -51,6 +51,11 @@ export class ListContactResponseBodyContactList extends $dara.Model {
51
51
  * John
52
52
  */
53
53
  name?: string;
54
+ /**
55
+ * @remarks
56
+ * The webhook URL.
57
+ */
58
+ webhookList?: string[];
54
59
  /**
55
60
  * @remarks
56
61
  * The webhook URL.
@@ -67,6 +72,7 @@ export class ListContactResponseBodyContactList extends $dara.Model {
67
72
  mobile: 'Mobile',
68
73
  mobileStatus: 'MobileStatus',
69
74
  name: 'Name',
75
+ webhookList: 'WebhookList',
70
76
  webhooks: 'Webhooks',
71
77
  };
72
78
  }
@@ -79,11 +85,15 @@ export class ListContactResponseBodyContactList extends $dara.Model {
79
85
  mobile: 'string',
80
86
  mobileStatus: 'number',
81
87
  name: 'string',
88
+ webhookList: { 'type': 'array', 'itemType': 'string' },
82
89
  webhooks: 'string',
83
90
  };
84
91
  }
85
92
 
86
93
  validate() {
94
+ if(Array.isArray(this.webhookList)) {
95
+ $dara.Model.validateArray(this.webhookList);
96
+ }
87
97
  super.validate();
88
98
  }
89
99
 
@@ -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 certification authority (CA) brand. Valid values: WoSign, CFCA, DigiCert, GeoTrust, GlobalSign, vTrus, and Alibaba.
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 match. Matches domain names, instance names, or corresponding resource IDs.
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**: 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.
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, in the format of certificate ID + "-" + site region ID. This ID is commonly used across Alibaba Cloud services.
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 on the China site is "123-cn-hangzhou", and the CertIdentifier on the International site is "123-ap-southeast-1".
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, in timestamp format. If no certificate has been issued, this field is empty.
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, in timestamp format. If no certificate has been issued, this field is empty.
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, in timestamp format.
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, in timestamp format. If no certificate has been issued, this field is empty.
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, in timestamp format. If no certificate has been issued, this field is empty.
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, in timestamp format. Used to determine the purchase duration of the instance.
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, in timestamp format. Used to determine the refund time limit.
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**: 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.
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 a paged query.
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
@@ -3,6 +3,10 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class RevokeCertificateRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 51001
9
+ */
6
10
  certificateId?: number;
7
11
  /**
8
12
  * @remarks