@alicloud/cas20200407 3.2.9 → 3.2.11
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 ApplyCertificateRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the instance.
|
|
8
|
+
* The ID of the instance. You must call the UpdateInstance operation in advance to ensure that all application information for the instance has been updated and completed before applying for a certificate.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CancelPendingCertificateResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The request ID. Alibaba Cloud generates a unique identifier for each API request. You can use this ID to troubleshoot issues.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 12345678-1234-1234-1234-123456789ABC
|
|
@@ -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 CreateCompanyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The city.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* Beijing
|
|
14
|
+
*/
|
|
15
|
+
city?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The address of the company.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* test
|
|
24
|
+
*/
|
|
25
|
+
companyAddress?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The company code.
|
|
29
|
+
*
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* xxx
|
|
34
|
+
*/
|
|
35
|
+
companyCode?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The email address of the company.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* test@123.com
|
|
42
|
+
*/
|
|
43
|
+
companyEmail?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The name of the company or organization.
|
|
47
|
+
*
|
|
48
|
+
* This parameter is required.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* testYanwen045
|
|
52
|
+
*/
|
|
53
|
+
companyName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The phone number of the company.
|
|
57
|
+
*
|
|
58
|
+
* This parameter is required.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 1999
|
|
62
|
+
*/
|
|
63
|
+
companyPhone?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The company type.
|
|
67
|
+
*
|
|
68
|
+
* This parameter is required.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* 0
|
|
72
|
+
*/
|
|
73
|
+
companyType?: number;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The country code.
|
|
77
|
+
*
|
|
78
|
+
* This parameter is required.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* CN
|
|
82
|
+
*/
|
|
83
|
+
countryCode?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The department.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* test
|
|
90
|
+
*/
|
|
91
|
+
department?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The language.
|
|
95
|
+
*
|
|
96
|
+
* This parameter is required.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* zh
|
|
100
|
+
*/
|
|
101
|
+
lang?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The postal code.
|
|
105
|
+
*
|
|
106
|
+
* This parameter is required.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* 100000
|
|
110
|
+
*/
|
|
111
|
+
postCode?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The province.
|
|
115
|
+
*
|
|
116
|
+
* This parameter is required.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* Beijing
|
|
120
|
+
*/
|
|
121
|
+
province?: string;
|
|
122
|
+
static names(): { [key: string]: string } {
|
|
123
|
+
return {
|
|
124
|
+
city: 'City',
|
|
125
|
+
companyAddress: 'CompanyAddress',
|
|
126
|
+
companyCode: 'CompanyCode',
|
|
127
|
+
companyEmail: 'CompanyEmail',
|
|
128
|
+
companyName: 'CompanyName',
|
|
129
|
+
companyPhone: 'CompanyPhone',
|
|
130
|
+
companyType: 'CompanyType',
|
|
131
|
+
countryCode: 'CountryCode',
|
|
132
|
+
department: 'Department',
|
|
133
|
+
lang: 'Lang',
|
|
134
|
+
postCode: 'PostCode',
|
|
135
|
+
province: 'Province',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
static types(): { [key: string]: any } {
|
|
140
|
+
return {
|
|
141
|
+
city: 'string',
|
|
142
|
+
companyAddress: 'string',
|
|
143
|
+
companyCode: 'string',
|
|
144
|
+
companyEmail: 'string',
|
|
145
|
+
companyName: 'string',
|
|
146
|
+
companyPhone: 'string',
|
|
147
|
+
companyType: 'number',
|
|
148
|
+
countryCode: 'string',
|
|
149
|
+
department: 'string',
|
|
150
|
+
lang: 'string',
|
|
151
|
+
postCode: 'string',
|
|
152
|
+
province: '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,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateCompanyResponseBody } from "./CreateCompanyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateCompanyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateCompanyResponseBody;
|
|
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: CreateCompanyResponseBody,
|
|
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,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateCompanyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The company ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 51001
|
|
12
|
+
*/
|
|
13
|
+
companyId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The request ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 838603C0-72A1-5070-A2E6-16E43861DB71
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
companyId: 'CompanyId',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
companyId: 'number',
|
|
32
|
+
requestId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateContactRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The email address of the contact.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* test@126.com
|
|
12
|
+
*/
|
|
13
|
+
email?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID card number of the contact. This parameter is required for the CFCA certificate brand and is not required for other brands.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 123
|
|
20
|
+
*/
|
|
21
|
+
idcard?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The phone number of the contact.
|
|
25
|
+
*
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 1335678****
|
|
30
|
+
*/
|
|
31
|
+
mobile?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The name of the certificate contact.
|
|
35
|
+
*
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* zhang san
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The webhook URLs of DingTalk, WeCom, or Lark chatbots. The value is a string in list format.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* [\\"https://open.feishu.cn/open-apis/bot/v2/hook/dc1aa9b9-47cd-4b34-91ef-73c1034208e5\\"]
|
|
48
|
+
*/
|
|
49
|
+
webhooks?: string;
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
email: 'Email',
|
|
53
|
+
idcard: 'Idcard',
|
|
54
|
+
mobile: 'Mobile',
|
|
55
|
+
name: 'Name',
|
|
56
|
+
webhooks: 'Webhooks',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static types(): { [key: string]: any } {
|
|
61
|
+
return {
|
|
62
|
+
email: 'string',
|
|
63
|
+
idcard: 'string',
|
|
64
|
+
mobile: 'string',
|
|
65
|
+
name: 'string',
|
|
66
|
+
webhooks: 'string',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateContactResponseBody } from "./CreateContactResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateContactResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateContactResponseBody;
|
|
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: CreateContactResponseBody,
|
|
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,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateContactResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The contact ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1352570
|
|
12
|
+
*/
|
|
13
|
+
contactId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The request ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 71CE8C5B-3737-52A9-97D0-2A9746059A45
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
contactId: 'ContactId',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
contactId: 'number',
|
|
32
|
+
requestId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -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 DeleteCompanyRequest 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 { DeleteCompanyResponseBody } from "./DeleteCompanyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteCompanyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteCompanyResponseBody;
|
|
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: DeleteCompanyResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteCompanyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 28627F67-2F87-55E6-B9C6-CE32FEC91315
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
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,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteContactRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The contact ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 1352570
|
|
14
|
+
*/
|
|
15
|
+
contactId?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
contactId: 'ContactId',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
contactId: '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 { DeleteContactResponseBody } from "./DeleteContactResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteContactResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteContactResponseBody;
|
|
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: DeleteContactResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteContactResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1F1E4D86-B70B-5352-A641-8CC80D13A37F
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|