@alicloud/cas20200407 3.2.9 → 3.2.10
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 +171 -36
- package/dist/client.js +492 -36
- package/dist/client.js.map +1 -1
- package/dist/models/ApplyCertificateRequest.d.ts +1 -1
- package/dist/models/CancelPendingCertificateResponseBody.d.ts +1 -1
- package/dist/models/CreateCompanyRequest.d.ts +129 -0
- package/dist/models/CreateCompanyRequest.js +80 -0
- package/dist/models/CreateCompanyRequest.js.map +1 -0
- package/dist/models/CreateCompanyResponse.d.ts +19 -0
- package/dist/models/CreateCompanyResponse.js +69 -0
- package/dist/models/CreateCompanyResponse.js.map +1 -0
- package/dist/models/CreateCompanyResponseBody.d.ts +29 -0
- package/dist/models/CreateCompanyResponseBody.js +60 -0
- package/dist/models/CreateCompanyResponseBody.js.map +1 -0
- package/dist/models/CreateContactRequest.d.ts +57 -0
- package/dist/models/CreateContactRequest.js +66 -0
- package/dist/models/CreateContactRequest.js.map +1 -0
- package/dist/models/CreateContactResponse.d.ts +19 -0
- package/dist/models/CreateContactResponse.js +69 -0
- package/dist/models/CreateContactResponse.js.map +1 -0
- package/dist/models/CreateContactResponseBody.d.ts +29 -0
- package/dist/models/CreateContactResponseBody.js +60 -0
- package/dist/models/CreateContactResponseBody.js.map +1 -0
- package/dist/models/DeleteCompanyRequest.d.ts +23 -0
- package/dist/models/DeleteCompanyRequest.js +58 -0
- package/dist/models/DeleteCompanyRequest.js.map +1 -0
- package/dist/models/DeleteCompanyResponse.d.ts +19 -0
- package/dist/models/DeleteCompanyResponse.js +69 -0
- package/dist/models/DeleteCompanyResponse.js.map +1 -0
- package/dist/models/DeleteCompanyResponseBody.d.ts +21 -0
- package/dist/models/DeleteCompanyResponseBody.js +58 -0
- package/dist/models/DeleteCompanyResponseBody.js.map +1 -0
- package/dist/models/DeleteContactRequest.d.ts +23 -0
- package/dist/models/DeleteContactRequest.js +58 -0
- package/dist/models/DeleteContactRequest.js.map +1 -0
- package/dist/models/DeleteContactResponse.d.ts +19 -0
- package/dist/models/DeleteContactResponse.js +69 -0
- package/dist/models/DeleteContactResponse.js.map +1 -0
- package/dist/models/DeleteContactResponseBody.d.ts +21 -0
- package/dist/models/DeleteContactResponseBody.js +58 -0
- package/dist/models/DeleteContactResponseBody.js.map +1 -0
- package/dist/models/GetAssetCountResponseBody.d.ts +13 -13
- package/dist/models/GetCompanyRequest.d.ts +23 -0
- package/dist/models/GetCompanyRequest.js +58 -0
- package/dist/models/GetCompanyRequest.js.map +1 -0
- package/dist/models/GetCompanyResponse.d.ts +19 -0
- package/dist/models/GetCompanyResponse.js +69 -0
- package/dist/models/GetCompanyResponse.js.map +1 -0
- package/dist/models/GetCompanyResponseBody.d.ts +125 -0
- package/dist/models/GetCompanyResponseBody.js +84 -0
- package/dist/models/GetCompanyResponseBody.js.map +1 -0
- package/dist/models/GetContactRequest.d.ts +21 -0
- package/dist/models/GetContactRequest.js +58 -0
- package/dist/models/GetContactRequest.js.map +1 -0
- package/dist/models/GetContactResponse.d.ts +19 -0
- package/dist/models/GetContactResponse.js +69 -0
- package/dist/models/GetContactResponse.js.map +1 -0
- package/dist/models/GetContactResponseBody.d.ts +85 -0
- package/dist/models/GetContactResponseBody.js +74 -0
- package/dist/models/GetContactResponseBody.js.map +1 -0
- package/dist/models/GetInstanceDetailResponseBody.d.ts +12 -12
- package/dist/models/GetUserCertificateDetailRequest.d.ts +7 -2
- package/dist/models/GetUserCertificateDetailRequest.js.map +1 -1
- package/dist/models/GetUserCertificateDetailResponseBody.d.ts +37 -35
- package/dist/models/GetUserCertificateDetailResponseBody.js.map +1 -1
- package/dist/models/ListAssetCountRequest.d.ts +5 -5
- package/dist/models/ListAssetCountResponseBody.d.ts +6 -6
- package/dist/models/ListCompaniesRequest.d.ts +45 -0
- package/dist/models/ListCompaniesRequest.js +64 -0
- package/dist/models/ListCompaniesRequest.js.map +1 -0
- package/dist/models/ListCompaniesResponse.d.ts +19 -0
- package/dist/models/ListCompaniesResponse.js +69 -0
- package/dist/models/ListCompaniesResponse.js.map +1 -0
- package/dist/models/ListCompaniesResponseBody.d.ts +166 -0
- package/dist/models/ListCompaniesResponseBody.js +112 -0
- package/dist/models/ListCompaniesResponseBody.js.map +1 -0
- package/dist/models/ListContactRequest.d.ts +3 -3
- package/dist/models/ListContactResponseBody.d.ts +12 -12
- package/dist/models/ListDeploymentJobRequest.d.ts +3 -23
- package/dist/models/ListDeploymentJobRequest.js.map +1 -1
- package/dist/models/ListDeploymentJobResponseBody.d.ts +29 -39
- package/dist/models/ListDeploymentJobResponseBody.js.map +1 -1
- package/dist/models/ListInstancesRequest.d.ts +7 -5
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +23 -14
- package/dist/models/ListInstancesResponseBody.js.map +1 -1
- package/dist/models/ListUserCertificateOrderRequest.d.ts +20 -30
- package/dist/models/ListUserCertificateOrderRequest.js.map +1 -1
- package/dist/models/ListUserCertificateOrderResponseBody.d.ts +59 -76
- package/dist/models/ListUserCertificateOrderResponseBody.js.map +1 -1
- package/dist/models/RefundInstanceRequest.d.ts +1 -1
- package/dist/models/RefundInstanceResponseBody.d.ts +1 -1
- package/dist/models/RevokeCertificateResponseBody.d.ts +1 -1
- package/dist/models/UpdateCompanyRequest.d.ts +137 -0
- package/dist/models/UpdateCompanyRequest.js +82 -0
- package/dist/models/UpdateCompanyRequest.js.map +1 -0
- package/dist/models/UpdateCompanyResponse.d.ts +19 -0
- package/dist/models/UpdateCompanyResponse.js +69 -0
- package/dist/models/UpdateCompanyResponse.js.map +1 -0
- package/dist/models/UpdateCompanyResponseBody.d.ts +29 -0
- package/dist/models/UpdateCompanyResponseBody.js +60 -0
- package/dist/models/UpdateCompanyResponseBody.js.map +1 -0
- package/dist/models/UpdateContactRequest.d.ts +63 -0
- package/dist/models/UpdateContactRequest.js +68 -0
- package/dist/models/UpdateContactRequest.js.map +1 -0
- package/dist/models/UpdateContactResponse.d.ts +19 -0
- package/dist/models/UpdateContactResponse.js +69 -0
- package/dist/models/UpdateContactResponse.js.map +1 -0
- package/dist/models/UpdateContactResponseBody.d.ts +29 -0
- package/dist/models/UpdateContactResponseBody.js +60 -0
- package/dist/models/UpdateContactResponseBody.js.map +1 -0
- package/dist/models/UpdateCsrRequest.d.ts +2 -2
- package/dist/models/UpdateCsrResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +28 -0
- package/dist/models/model.js +62 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +554 -36
- package/src/models/ApplyCertificateRequest.ts +1 -1
- package/src/models/CancelPendingCertificateResponseBody.ts +1 -1
- package/src/models/CreateCompanyRequest.ts +164 -0
- package/src/models/CreateCompanyResponse.ts +40 -0
- package/src/models/CreateCompanyResponseBody.ts +44 -0
- package/src/models/CreateContactRequest.ts +78 -0
- package/src/models/CreateContactResponse.ts +40 -0
- package/src/models/CreateContactResponseBody.ts +44 -0
- package/src/models/DeleteCompanyRequest.ts +36 -0
- package/src/models/DeleteCompanyResponse.ts +40 -0
- package/src/models/DeleteCompanyResponseBody.ts +34 -0
- package/src/models/DeleteContactRequest.ts +36 -0
- package/src/models/DeleteContactResponse.ts +40 -0
- package/src/models/DeleteContactResponseBody.ts +34 -0
- package/src/models/GetAssetCountResponseBody.ts +13 -13
- package/src/models/GetCompanyRequest.ts +36 -0
- package/src/models/GetCompanyResponse.ts +40 -0
- package/src/models/GetCompanyResponseBody.ts +164 -0
- package/src/models/GetContactRequest.ts +34 -0
- package/src/models/GetContactResponse.ts +40 -0
- package/src/models/GetContactResponseBody.ts +114 -0
- package/src/models/GetInstanceDetailResponseBody.ts +12 -12
- package/src/models/GetUserCertificateDetailRequest.ts +7 -2
- package/src/models/GetUserCertificateDetailResponseBody.ts +37 -35
- package/src/models/ListAssetCountRequest.ts +5 -5
- package/src/models/ListAssetCountResponseBody.ts +6 -6
- package/src/models/ListCompaniesRequest.ts +64 -0
- package/src/models/ListCompaniesResponse.ts +40 -0
- package/src/models/ListCompaniesResponseBody.ts +224 -0
- package/src/models/ListContactRequest.ts +3 -3
- package/src/models/ListContactResponseBody.ts +12 -12
- package/src/models/ListDeploymentJobRequest.ts +3 -23
- package/src/models/ListDeploymentJobResponseBody.ts +29 -39
- package/src/models/ListInstancesRequest.ts +7 -5
- package/src/models/ListInstancesResponseBody.ts +23 -14
- package/src/models/ListUserCertificateOrderRequest.ts +20 -30
- package/src/models/ListUserCertificateOrderResponseBody.ts +59 -76
- package/src/models/RefundInstanceRequest.ts +1 -1
- package/src/models/RefundInstanceResponseBody.ts +1 -1
- package/src/models/RevokeCertificateResponseBody.ts +1 -1
- package/src/models/UpdateCompanyRequest.ts +174 -0
- package/src/models/UpdateCompanyResponse.ts +40 -0
- package/src/models/UpdateCompanyResponseBody.ts +44 -0
- package/src/models/UpdateContactRequest.ts +86 -0
- package/src/models/UpdateContactResponse.ts +40 -0
- package/src/models/UpdateContactResponseBody.ts +44 -0
- package/src/models/UpdateCsrRequest.ts +2 -2
- package/src/models/UpdateCsrResponseBody.ts +1 -1
- package/src/models/model.ts +28 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetAssetCountResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The total number of Alibaba Cloud resources.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 10
|
|
@@ -13,7 +13,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
13
13
|
aliyunAssetCount?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The total number of Amazon Web Services (AWS) resources.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 10
|
|
@@ -21,7 +21,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
21
21
|
awsAssetCount?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* The number of paid certificates.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 10
|
|
@@ -29,7 +29,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
29
29
|
buyCertificateCount?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
*
|
|
32
|
+
* The total number of domain name resources.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 10
|
|
@@ -37,7 +37,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
37
37
|
domainAssetCount?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* The number of free certificates.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 10
|
|
@@ -45,7 +45,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
45
45
|
freeCertificateCount?: number;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* The total number of Huawei Cloud resources.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 10
|
|
@@ -53,7 +53,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
53
53
|
huaweiAssetCount?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* The previous health score.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 60
|
|
@@ -61,7 +61,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
61
61
|
lastPoint?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
*
|
|
64
|
+
* The generated perspective.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 50
|
|
@@ -69,7 +69,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
69
69
|
point?: number;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
*
|
|
72
|
+
* The health score ratio.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* 1
|
|
@@ -77,7 +77,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
77
77
|
pointRatio?: number;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
*
|
|
80
|
+
* The time when the health score was updated (in timestamp format, accurate to seconds).
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* 1767681210879
|
|
@@ -85,7 +85,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
85
85
|
pointTime?: number;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
*
|
|
88
|
+
* The request ID. Alibaba Cloud generates a unique identifier for each API request. You can use this ID to troubleshoot issues.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* EECA10D5-BD0F-4EF1-B3EA-B4578E5C6F8E
|
|
@@ -93,7 +93,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
93
93
|
requestId?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
*
|
|
96
|
+
* The total number of Tencent Cloud resources.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* 10
|
|
@@ -101,7 +101,7 @@ export class GetAssetCountResponseBody extends $dara.Model {
|
|
|
101
101
|
tencentAssetCount?: number;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
*
|
|
104
|
+
* The number of uploaded certificates.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* 10
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetCompanyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The company ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 51001
|
|
14
|
+
*/
|
|
15
|
+
companyId?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
companyId: 'CompanyId',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
companyId: 'number',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetCompanyResponseBody } from "./GetCompanyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetCompanyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetCompanyResponseBody;
|
|
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: GetCompanyResponseBody,
|
|
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,164 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetCompanyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The city.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* Beijing
|
|
12
|
+
*/
|
|
13
|
+
city?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The address of the company.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* test
|
|
20
|
+
*/
|
|
21
|
+
companyAddress?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The company code.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* xxx
|
|
28
|
+
*/
|
|
29
|
+
companyCode?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The email address of the company.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* test@163.com
|
|
36
|
+
*/
|
|
37
|
+
companyEmail?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The company ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 51001
|
|
44
|
+
*/
|
|
45
|
+
companyId?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The name of the company or organization.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* testYanwen045
|
|
52
|
+
*/
|
|
53
|
+
companyName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The phone number of the company.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 1511
|
|
60
|
+
*/
|
|
61
|
+
companyPhone?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The company type.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 0
|
|
68
|
+
*/
|
|
69
|
+
companyType?: number;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The country code.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* CN
|
|
76
|
+
*/
|
|
77
|
+
countryCode?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The department.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* test
|
|
84
|
+
*/
|
|
85
|
+
department?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The language.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* zh
|
|
92
|
+
*/
|
|
93
|
+
lang?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The postal code.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 100000
|
|
100
|
+
*/
|
|
101
|
+
postCode?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The province.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* Beijing
|
|
108
|
+
*/
|
|
109
|
+
province?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The request ID.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* 0068247C-A454-5FC9-93BF-C41CBB5CD19E
|
|
116
|
+
*/
|
|
117
|
+
requestId?: string;
|
|
118
|
+
static names(): { [key: string]: string } {
|
|
119
|
+
return {
|
|
120
|
+
city: 'City',
|
|
121
|
+
companyAddress: 'CompanyAddress',
|
|
122
|
+
companyCode: 'CompanyCode',
|
|
123
|
+
companyEmail: 'CompanyEmail',
|
|
124
|
+
companyId: 'CompanyId',
|
|
125
|
+
companyName: 'CompanyName',
|
|
126
|
+
companyPhone: 'CompanyPhone',
|
|
127
|
+
companyType: 'CompanyType',
|
|
128
|
+
countryCode: 'CountryCode',
|
|
129
|
+
department: 'Department',
|
|
130
|
+
lang: 'Lang',
|
|
131
|
+
postCode: 'PostCode',
|
|
132
|
+
province: 'Province',
|
|
133
|
+
requestId: 'RequestId',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static types(): { [key: string]: any } {
|
|
138
|
+
return {
|
|
139
|
+
city: 'string',
|
|
140
|
+
companyAddress: 'string',
|
|
141
|
+
companyCode: 'string',
|
|
142
|
+
companyEmail: 'string',
|
|
143
|
+
companyId: 'number',
|
|
144
|
+
companyName: 'string',
|
|
145
|
+
companyPhone: 'string',
|
|
146
|
+
companyType: 'number',
|
|
147
|
+
countryCode: 'string',
|
|
148
|
+
department: 'string',
|
|
149
|
+
lang: 'string',
|
|
150
|
+
postCode: 'string',
|
|
151
|
+
province: 'string',
|
|
152
|
+
requestId: 'string',
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
validate() {
|
|
157
|
+
super.validate();
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
constructor(map?: { [key: string]: any }) {
|
|
161
|
+
super(map);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetContactRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The contact ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1397591
|
|
12
|
+
*/
|
|
13
|
+
contactId?: number;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
contactId: 'ContactId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
contactId: 'number',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetContactResponseBody } from "./GetContactResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetContactResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetContactResponseBody;
|
|
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: GetContactResponseBody,
|
|
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,114 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetContactResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The contact ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1352570
|
|
12
|
+
*/
|
|
13
|
+
contactId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The email address of the contact.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* test@163.com
|
|
20
|
+
*/
|
|
21
|
+
email?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Indicates whether the email address is verified.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1
|
|
28
|
+
*/
|
|
29
|
+
emailStatus?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The ID card number of the contact. This parameter is required for the CFCA certificate brand and is not required for other brands.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 142***************
|
|
36
|
+
*/
|
|
37
|
+
idCard?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The phone number of the contact.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 1510108****
|
|
44
|
+
*/
|
|
45
|
+
mobile?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Indicates whether the phone number is verified.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 1
|
|
52
|
+
*/
|
|
53
|
+
mobileStatus?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The name of the certificate contact.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* zhang san
|
|
60
|
+
*/
|
|
61
|
+
name?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The request ID.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* EECA10D5-BD0F-4EF1-B3EA-B4578E5C6F8E
|
|
68
|
+
*/
|
|
69
|
+
requestId?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The webhook URLs of DingTalk, WeCom, or Lark chatbots. The value is a string in list format.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* [\\"https://open.feishu.cn/open-apis/bot/v2/hook/dc1aa9b9-47cd-4b34-91ef-73c1034208e5\\"]
|
|
76
|
+
*/
|
|
77
|
+
webhooks?: string;
|
|
78
|
+
static names(): { [key: string]: string } {
|
|
79
|
+
return {
|
|
80
|
+
contactId: 'ContactId',
|
|
81
|
+
email: 'Email',
|
|
82
|
+
emailStatus: 'EmailStatus',
|
|
83
|
+
idCard: 'IdCard',
|
|
84
|
+
mobile: 'Mobile',
|
|
85
|
+
mobileStatus: 'MobileStatus',
|
|
86
|
+
name: 'Name',
|
|
87
|
+
requestId: 'RequestId',
|
|
88
|
+
webhooks: 'Webhooks',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static types(): { [key: string]: any } {
|
|
93
|
+
return {
|
|
94
|
+
contactId: 'number',
|
|
95
|
+
email: 'string',
|
|
96
|
+
emailStatus: 'number',
|
|
97
|
+
idCard: 'string',
|
|
98
|
+
mobile: 'string',
|
|
99
|
+
mobileStatus: 'number',
|
|
100
|
+
name: 'string',
|
|
101
|
+
requestId: 'string',
|
|
102
|
+
webhooks: 'string',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
validate() {
|
|
107
|
+
super.validate();
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
constructor(map?: { [key: string]: any }) {
|
|
111
|
+
super(map);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -31,7 +31,7 @@ export class GetInstanceDetailResponseBodyDingGroupList extends $dara.Model {
|
|
|
31
31
|
dingGroupType?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The
|
|
34
|
+
* The URL for joining the expert service DingTalk group.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* https://123.com
|
|
@@ -67,7 +67,7 @@ export class GetInstanceDetailResponseBodyDingGroupList extends $dara.Model {
|
|
|
67
67
|
export class GetInstanceDetailResponseBodyDomainValidationList extends $dara.Model {
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* The CNAME record value for verification-free authorization. This
|
|
70
|
+
* The CNAME record value for verification-free authorization. This value may be empty.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* 123.com
|
|
@@ -115,7 +115,7 @@ export class GetInstanceDetailResponseBodyDomainValidationList extends $dara.Mod
|
|
|
115
115
|
validationType?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The host record value
|
|
118
|
+
* The validation host record value.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* 123
|
|
@@ -197,7 +197,7 @@ export class GetInstanceDetailResponseBodyTags extends $dara.Model {
|
|
|
197
197
|
export class GetInstanceDetailResponseBody extends $dara.Model {
|
|
198
198
|
/**
|
|
199
199
|
* @remarks
|
|
200
|
-
*
|
|
200
|
+
* Indicates whether automatic managed renewal is enabled. Valid values:
|
|
201
201
|
* - enable: Enabled.
|
|
202
202
|
* - disable: Disabled.
|
|
203
203
|
*
|
|
@@ -250,7 +250,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
|
|
|
250
250
|
certificateName?: string;
|
|
251
251
|
/**
|
|
252
252
|
* @remarks
|
|
253
|
-
* The end time of the latest certificate
|
|
253
|
+
* The end time of the latest certificate, in timestamp format. This value is empty if no certificate has been issued.
|
|
254
254
|
*
|
|
255
255
|
* @example
|
|
256
256
|
* 1801324800000
|
|
@@ -259,7 +259,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
|
|
|
259
259
|
certificateNotBefore?: number;
|
|
260
260
|
/**
|
|
261
261
|
* @remarks
|
|
262
|
-
* The revocation time of the latest certificate
|
|
262
|
+
* The revocation time of the latest certificate, in timestamp format.
|
|
263
263
|
*
|
|
264
264
|
* @example
|
|
265
265
|
* 1801324800000
|
|
@@ -360,7 +360,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
|
|
|
360
360
|
generateCsrMethod?: string;
|
|
361
361
|
/**
|
|
362
362
|
* @remarks
|
|
363
|
-
* The expiration time of the instance.
|
|
363
|
+
* The expiration time of the instance, in timestamp format. This value is empty if no certificate has been issued.
|
|
364
364
|
*
|
|
365
365
|
* @example
|
|
366
366
|
* 1801324800000
|
|
@@ -376,7 +376,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
|
|
|
376
376
|
instanceId?: string;
|
|
377
377
|
/**
|
|
378
378
|
* @remarks
|
|
379
|
-
* The start time of the instance.
|
|
379
|
+
* The start time of the instance, in timestamp format. This value is empty if no certificate has been issued.
|
|
380
380
|
*
|
|
381
381
|
* @example
|
|
382
382
|
* 1801324800000
|
|
@@ -399,7 +399,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
|
|
|
399
399
|
* - **RSA_3072**
|
|
400
400
|
* - **RSA_4096**
|
|
401
401
|
* - **ECC_256**
|
|
402
|
-
* - **SM2
|
|
402
|
+
* - **SM2**
|
|
403
403
|
*
|
|
404
404
|
* @example
|
|
405
405
|
* RSA_2048
|
|
@@ -407,7 +407,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
|
|
|
407
407
|
keyAlgorithm?: string;
|
|
408
408
|
/**
|
|
409
409
|
* @remarks
|
|
410
|
-
* The end time of the instance purchase
|
|
410
|
+
* The end time of the instance purchase, in timestamp format. This value is used to determine the purchase duration of the instance.
|
|
411
411
|
*
|
|
412
412
|
* @example
|
|
413
413
|
* 1801324800000
|
|
@@ -415,7 +415,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
|
|
|
415
415
|
orderEndTime?: number;
|
|
416
416
|
/**
|
|
417
417
|
* @remarks
|
|
418
|
-
* The start time of the instance purchase
|
|
418
|
+
* The start time of the instance purchase, in timestamp format. This value is used to determine the refund time limit.
|
|
419
419
|
*
|
|
420
420
|
* @example
|
|
421
421
|
* 1801324800000
|
|
@@ -489,7 +489,7 @@ export class GetInstanceDetailResponseBody extends $dara.Model {
|
|
|
489
489
|
*
|
|
490
490
|
* - payed: the instance upgrade has been paid.
|
|
491
491
|
*
|
|
492
|
-
* - issued: the latest certificate has been issued
|
|
492
|
+
* - issued: the latest certificate has been issued for the upgraded instance.
|
|
493
493
|
*
|
|
494
494
|
* @example
|
|
495
495
|
* none
|
|
@@ -5,7 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetUserCertificateDetailRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to filter
|
|
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.
|
|
9
13
|
*
|
|
10
14
|
* @example
|
|
11
15
|
* false
|
|
@@ -13,7 +17,8 @@ export class GetUserCertificateDetailRequest extends $dara.Model {
|
|
|
13
17
|
certFilter?: boolean;
|
|
14
18
|
/**
|
|
15
19
|
* @remarks
|
|
16
|
-
* The
|
|
20
|
+
* The certificate ID.
|
|
21
|
+
* > You can call [ListUserCertificateOrder](https://help.aliyun.com/document_detail/455804.html) to obtain the certificate ID.
|
|
17
22
|
*
|
|
18
23
|
* This parameter is required.
|
|
19
24
|
*
|