@alicloud/ecd20200930 4.19.2 → 4.20.0
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 +15 -0
- package/dist/client.js +42 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeDesktopMetadataResponseBody.d.ts +3 -0
- package/dist/models/DescribeDesktopMetadataResponseBody.js +6 -0
- package/dist/models/DescribeDesktopMetadataResponseBody.js.map +1 -1
- package/dist/models/DescribeDesktopTypesResponseBody.d.ts +1 -0
- package/dist/models/DescribeDesktopTypesResponseBody.js +2 -0
- package/dist/models/DescribeDesktopTypesResponseBody.js.map +1 -1
- package/dist/models/ListTransferFileDownloadUrlRequest.d.ts +19 -0
- package/dist/models/ListTransferFileDownloadUrlRequest.js +63 -0
- package/dist/models/ListTransferFileDownloadUrlRequest.js.map +1 -0
- package/dist/models/ListTransferFileDownloadUrlResponse.d.ts +19 -0
- package/dist/models/ListTransferFileDownloadUrlResponse.js +69 -0
- package/dist/models/ListTransferFileDownloadUrlResponse.js.map +1 -0
- package/dist/models/ListTransferFileDownloadUrlResponseBody.d.ts +51 -0
- package/dist/models/ListTransferFileDownloadUrlResponseBody.js +88 -0
- package/dist/models/ListTransferFileDownloadUrlResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +27 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +46 -0
- package/src/models/DescribeDesktopMetadataResponseBody.ts +9 -0
- package/src/models/DescribeDesktopTypesResponseBody.ts +3 -0
- package/src/models/ListTransferFileDownloadUrlRequest.ts +37 -0
- package/src/models/ListTransferFileDownloadUrlResponse.ts +40 -0
- package/src/models/ListTransferFileDownloadUrlResponseBody.ts +85 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTransferFileDownloadUrlRequest extends $dara.Model {
|
|
6
|
+
fileIds?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* trt-hffhi4nmqoi4****
|
|
10
|
+
*/
|
|
11
|
+
taskId?: string;
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
fileIds: 'FileIds',
|
|
15
|
+
taskId: 'TaskId',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
fileIds: { 'type': 'array', 'itemType': 'string' },
|
|
22
|
+
taskId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(Array.isArray(this.fileIds)) {
|
|
28
|
+
$dara.Model.validateArray(this.fileIds);
|
|
29
|
+
}
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListTransferFileDownloadUrlResponseBody } from "./ListTransferFileDownloadUrlResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTransferFileDownloadUrlResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListTransferFileDownloadUrlResponseBody;
|
|
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: ListTransferFileDownloadUrlResponseBody,
|
|
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,85 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTransferFileDownloadUrlResponseBodyUrls extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* trf-i4pz8emx2k2fr****
|
|
9
|
+
*/
|
|
10
|
+
fileId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* document.txt
|
|
14
|
+
*/
|
|
15
|
+
fileName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* DELETED
|
|
19
|
+
*/
|
|
20
|
+
status?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* http://xxsy-transfer.oss-cn-beijing.aliyuncs.com/xxxx
|
|
24
|
+
*/
|
|
25
|
+
url?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
fileId: 'FileId',
|
|
29
|
+
fileName: 'FileName',
|
|
30
|
+
status: 'Status',
|
|
31
|
+
url: 'Url',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
fileId: 'string',
|
|
38
|
+
fileName: 'string',
|
|
39
|
+
status: 'string',
|
|
40
|
+
url: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class ListTransferFileDownloadUrlResponseBody extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* F1F01499-8F3D-5657-91AD-48177EB****
|
|
57
|
+
*/
|
|
58
|
+
requestId?: string;
|
|
59
|
+
urls?: ListTransferFileDownloadUrlResponseBodyUrls[];
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
requestId: 'RequestId',
|
|
63
|
+
urls: 'Urls',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
requestId: 'string',
|
|
70
|
+
urls: { 'type': 'array', 'itemType': ListTransferFileDownloadUrlResponseBodyUrls },
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
if(Array.isArray(this.urls)) {
|
|
76
|
+
$dara.Model.validateArray(this.urls);
|
|
77
|
+
}
|
|
78
|
+
super.validate();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
constructor(map?: { [key: string]: any }) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -221,6 +221,7 @@ export { ListOfficeSiteOverviewResponseBodyOfficeSiteOverviewResults } from './L
|
|
|
221
221
|
export { ListOfficeSiteUsersResponseBodyUsers } from './ListOfficeSiteUsersResponseBody';
|
|
222
222
|
export { ListTagResourcesRequestTag } from './ListTagResourcesRequest';
|
|
223
223
|
export { ListTagResourcesResponseBodyTagResources } from './ListTagResourcesResponseBody';
|
|
224
|
+
export { ListTransferFileDownloadUrlResponseBodyUrls } from './ListTransferFileDownloadUrlResponseBody';
|
|
224
225
|
export { ListTransferFilesResponseBodyFiles } from './ListTransferFilesResponseBody';
|
|
225
226
|
export { ListUserAdOrganizationUnitsResponseBodyOUNames } from './ListUserAdOrganizationUnitsResponseBody';
|
|
226
227
|
export { ModifyCenterPolicyRequestAuthorizeAccessPolicyRule } from './ModifyCenterPolicyRequest';
|
|
@@ -847,6 +848,9 @@ export { ListOfficeSiteUsersResponse } from './ListOfficeSiteUsersResponse';
|
|
|
847
848
|
export { ListTagResourcesRequest } from './ListTagResourcesRequest';
|
|
848
849
|
export { ListTagResourcesResponseBody } from './ListTagResourcesResponseBody';
|
|
849
850
|
export { ListTagResourcesResponse } from './ListTagResourcesResponse';
|
|
851
|
+
export { ListTransferFileDownloadUrlRequest } from './ListTransferFileDownloadUrlRequest';
|
|
852
|
+
export { ListTransferFileDownloadUrlResponseBody } from './ListTransferFileDownloadUrlResponseBody';
|
|
853
|
+
export { ListTransferFileDownloadUrlResponse } from './ListTransferFileDownloadUrlResponse';
|
|
850
854
|
export { ListTransferFilesRequest } from './ListTransferFilesRequest';
|
|
851
855
|
export { ListTransferFilesResponseBody } from './ListTransferFilesResponseBody';
|
|
852
856
|
export { ListTransferFilesResponse } from './ListTransferFilesResponse';
|