@alicloud/cas20200407 3.2.7 → 3.2.8

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 (49) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +99 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchUpdateNoticeStatusRequest.d.ts +44 -0
  5. package/dist/models/BatchUpdateNoticeStatusRequest.js +66 -0
  6. package/dist/models/BatchUpdateNoticeStatusRequest.js.map +1 -0
  7. package/dist/models/BatchUpdateNoticeStatusResponse.d.ts +19 -0
  8. package/dist/models/BatchUpdateNoticeStatusResponse.js +69 -0
  9. package/dist/models/BatchUpdateNoticeStatusResponse.js.map +1 -0
  10. package/dist/models/BatchUpdateNoticeStatusResponseBody.d.ts +18 -0
  11. package/dist/models/BatchUpdateNoticeStatusResponseBody.js +58 -0
  12. package/dist/models/BatchUpdateNoticeStatusResponseBody.js.map +1 -0
  13. package/dist/models/GetCertificateDetailResponseBody.d.ts +1 -0
  14. package/dist/models/GetCertificateDetailResponseBody.js +2 -0
  15. package/dist/models/GetCertificateDetailResponseBody.js.map +1 -1
  16. package/dist/models/GetInstanceDetailResponseBody.d.ts +2 -0
  17. package/dist/models/GetInstanceDetailResponseBody.js +4 -0
  18. package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
  19. package/dist/models/GetMatchedResourcesRequest.d.ts +32 -0
  20. package/dist/models/GetMatchedResourcesRequest.js +64 -0
  21. package/dist/models/GetMatchedResourcesRequest.js.map +1 -0
  22. package/dist/models/GetMatchedResourcesResponse.d.ts +19 -0
  23. package/dist/models/GetMatchedResourcesResponse.js +69 -0
  24. package/dist/models/GetMatchedResourcesResponse.js.map +1 -0
  25. package/dist/models/GetMatchedResourcesResponseBody.d.ts +33 -0
  26. package/dist/models/GetMatchedResourcesResponseBody.js +64 -0
  27. package/dist/models/GetMatchedResourcesResponseBody.js.map +1 -0
  28. package/dist/models/GetUserCertificateDetailResponseBody.d.ts +1 -0
  29. package/dist/models/GetUserCertificateDetailResponseBody.js +2 -0
  30. package/dist/models/GetUserCertificateDetailResponseBody.js.map +1 -1
  31. package/dist/models/ListInstancesResponseBody.d.ts +3 -0
  32. package/dist/models/ListInstancesResponseBody.js +9 -0
  33. package/dist/models/ListInstancesResponseBody.js.map +1 -1
  34. package/dist/models/model.d.ts +6 -0
  35. package/dist/models/model.js +17 -5
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +112 -0
  39. package/src/models/BatchUpdateNoticeStatusRequest.ts +65 -0
  40. package/src/models/BatchUpdateNoticeStatusResponse.ts +40 -0
  41. package/src/models/BatchUpdateNoticeStatusResponseBody.ts +31 -0
  42. package/src/models/GetCertificateDetailResponseBody.ts +3 -0
  43. package/src/models/GetInstanceDetailResponseBody.ts +6 -0
  44. package/src/models/GetMatchedResourcesRequest.ts +51 -0
  45. package/src/models/GetMatchedResourcesResponse.ts +40 -0
  46. package/src/models/GetMatchedResourcesResponseBody.ts +52 -0
  47. package/src/models/GetUserCertificateDetailResponseBody.ts +3 -0
  48. package/src/models/ListInstancesResponseBody.ts +12 -0
  49. package/src/models/model.ts +6 -0
@@ -0,0 +1,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetMatchedResourcesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 19736665
12
+ */
13
+ certIds?: string;
14
+ /**
15
+ * @example
16
+ * 2000
17
+ */
18
+ maxResults?: number;
19
+ /**
20
+ * @example
21
+ * 666
22
+ */
23
+ nextToken?: string;
24
+ resourceScope?: string;
25
+ static names(): { [key: string]: string } {
26
+ return {
27
+ certIds: 'CertIds',
28
+ maxResults: 'MaxResults',
29
+ nextToken: 'NextToken',
30
+ resourceScope: 'ResourceScope',
31
+ };
32
+ }
33
+
34
+ static types(): { [key: string]: any } {
35
+ return {
36
+ certIds: 'string',
37
+ maxResults: 'number',
38
+ nextToken: 'string',
39
+ resourceScope: 'string',
40
+ };
41
+ }
42
+
43
+ validate() {
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetMatchedResourcesResponseBody } from "./GetMatchedResourcesResponseBody";
4
+
5
+
6
+ export class GetMatchedResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetMatchedResourcesResponseBody;
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: GetMatchedResourcesResponseBody,
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,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetMatchedResourcesResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * []
9
+ */
10
+ data?: any;
11
+ /**
12
+ * @example
13
+ * 20
14
+ */
15
+ maxResults?: number;
16
+ /**
17
+ * @example
18
+ * 1d2db86sca4384811e0b5e8707e68181f
19
+ */
20
+ nextToken?: string;
21
+ /**
22
+ * @example
23
+ * 26F62CED-1E0E-51AA-B8EB-BCD61C5B0C50
24
+ */
25
+ requestId?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ data: 'Data',
29
+ maxResults: 'MaxResults',
30
+ nextToken: 'NextToken',
31
+ requestId: 'RequestId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ data: 'any',
38
+ maxResults: 'number',
39
+ nextToken: 'string',
40
+ requestId: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -139,6 +139,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
139
139
  * 10741304-cn-hangzhou
140
140
  */
141
141
  certIdentifier?: string;
142
+ certSha2?: string;
142
143
  /**
143
144
  * @remarks
144
145
  * The city of the company or organization to which the certificate purchaser belongs.
@@ -366,6 +367,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
366
367
  cert: 'Cert',
367
368
  certChain: 'CertChain',
368
369
  certIdentifier: 'CertIdentifier',
370
+ certSha2: 'CertSha2',
369
371
  city: 'City',
370
372
  common: 'Common',
371
373
  country: 'Country',
@@ -403,6 +405,7 @@ export class GetUserCertificateDetailResponseBody extends $dara.Model {
403
405
  cert: 'string',
404
406
  certChain: { 'type': 'array', 'itemType': GetUserCertificateDetailResponseBodyCertChain },
405
407
  certIdentifier: 'string',
408
+ certSha2: 'string',
406
409
  city: 'string',
407
410
  common: 'string',
408
411
  country: 'string',
@@ -18,6 +18,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
18
18
  * 21795675-cn-hangzhou
19
19
  */
20
20
  certIdentifier?: string;
21
+ certificateDomain?: string;
21
22
  /**
22
23
  * @example
23
24
  * 18541349
@@ -98,6 +99,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
98
99
  * pending
99
100
  */
100
101
  pendingResult?: string;
102
+ resourceGroupId?: string;
101
103
  /**
102
104
  * @example
103
105
  * ss.dv.t
@@ -108,6 +110,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
108
110
  * inactive
109
111
  */
110
112
  status?: string;
113
+ usingProductList?: string[];
111
114
  /**
112
115
  * @example
113
116
  * 0
@@ -118,6 +121,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
118
121
  autoReissue: 'AutoReissue',
119
122
  brand: 'Brand',
120
123
  certIdentifier: 'CertIdentifier',
124
+ certificateDomain: 'CertificateDomain',
121
125
  certificateId: 'CertificateId',
122
126
  certificateName: 'CertificateName',
123
127
  certificateNotAfter: 'CertificateNotAfter',
@@ -134,8 +138,10 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
134
138
  orderEndTime: 'OrderEndTime',
135
139
  orderStartTime: 'OrderStartTime',
136
140
  pendingResult: 'PendingResult',
141
+ resourceGroupId: 'ResourceGroupId',
137
142
  spec: 'Spec',
138
143
  status: 'Status',
144
+ usingProductList: 'UsingProductList',
139
145
  wildcardDomainCount: 'WildcardDomainCount',
140
146
  };
141
147
  }
@@ -145,6 +151,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
145
151
  autoReissue: 'string',
146
152
  brand: 'string',
147
153
  certIdentifier: 'string',
154
+ certificateDomain: 'string',
148
155
  certificateId: 'number',
149
156
  certificateName: 'string',
150
157
  certificateNotAfter: 'number',
@@ -161,13 +168,18 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
161
168
  orderEndTime: 'number',
162
169
  orderStartTime: 'number',
163
170
  pendingResult: 'string',
171
+ resourceGroupId: 'string',
164
172
  spec: 'string',
165
173
  status: 'string',
174
+ usingProductList: { 'type': 'array', 'itemType': 'string' },
166
175
  wildcardDomainCount: 'number',
167
176
  };
168
177
  }
169
178
 
170
179
  validate() {
180
+ if(Array.isArray(this.usingProductList)) {
181
+ $dara.Model.validateArray(this.usingProductList);
182
+ }
171
183
  super.validate();
172
184
  }
173
185
 
@@ -35,6 +35,9 @@ export { AddCloudAccessResponse } from './AddCloudAccessResponse';
35
35
  export { ApplyCertificateRequest } from './ApplyCertificateRequest';
36
36
  export { ApplyCertificateResponseBody } from './ApplyCertificateResponseBody';
37
37
  export { ApplyCertificateResponse } from './ApplyCertificateResponse';
38
+ export { BatchUpdateNoticeStatusRequest } from './BatchUpdateNoticeStatusRequest';
39
+ export { BatchUpdateNoticeStatusResponseBody } from './BatchUpdateNoticeStatusResponseBody';
40
+ export { BatchUpdateNoticeStatusResponse } from './BatchUpdateNoticeStatusResponse';
38
41
  export { CancelCertificateForPackageRequestRequest } from './CancelCertificateForPackageRequestRequest';
39
42
  export { CancelCertificateForPackageRequestResponseBody } from './CancelCertificateForPackageRequestResponseBody';
40
43
  export { CancelCertificateForPackageRequestResponse } from './CancelCertificateForPackageRequestResponse';
@@ -132,6 +135,9 @@ export { GetInstanceDetailResponse } from './GetInstanceDetailResponse';
132
135
  export { GetInstanceSummaryRequest } from './GetInstanceSummaryRequest';
133
136
  export { GetInstanceSummaryResponseBody } from './GetInstanceSummaryResponseBody';
134
137
  export { GetInstanceSummaryResponse } from './GetInstanceSummaryResponse';
138
+ export { GetMatchedResourcesRequest } from './GetMatchedResourcesRequest';
139
+ export { GetMatchedResourcesResponseBody } from './GetMatchedResourcesResponseBody';
140
+ export { GetMatchedResourcesResponse } from './GetMatchedResourcesResponse';
135
141
  export { GetRiskCountResponseBody } from './GetRiskCountResponseBody';
136
142
  export { GetRiskCountResponse } from './GetRiskCountResponse';
137
143
  export { GetTaskAttributeRequest } from './GetTaskAttributeRequest';