@alicloud/adb20211201 5.3.0 → 5.4.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 +54 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListKnowledgeFilesRequest.d.ts +46 -0
- package/dist/models/ListKnowledgeFilesRequest.js +68 -0
- package/dist/models/ListKnowledgeFilesRequest.js.map +1 -0
- package/dist/models/ListKnowledgeFilesResponse.d.ts +19 -0
- package/dist/models/ListKnowledgeFilesResponse.js +69 -0
- package/dist/models/ListKnowledgeFilesResponse.js.map +1 -0
- package/dist/models/ListKnowledgeFilesResponseBody.d.ts +124 -0
- package/dist/models/ListKnowledgeFilesResponseBody.js +134 -0
- package/dist/models/ListKnowledgeFilesResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +30 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +62 -0
- package/src/models/ListKnowledgeFilesRequest.ts +69 -0
- package/src/models/ListKnowledgeFilesResponse.ts +40 -0
- package/src/models/ListKnowledgeFilesResponseBody.ts +195 -0
- package/src/models/model.ts +5 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListKnowledgeFilesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* am-bp19aaaaaa****
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* [1001,1002,1003]
|
|
17
|
+
*/
|
|
18
|
+
fileIds?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
23
|
+
page?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* 20
|
|
27
|
+
*/
|
|
28
|
+
pageSize?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* FAILED
|
|
32
|
+
*/
|
|
33
|
+
status?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* u123
|
|
37
|
+
*/
|
|
38
|
+
user?: string;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
DBClusterId: 'DBClusterId',
|
|
42
|
+
fileIds: 'FileIds',
|
|
43
|
+
page: 'Page',
|
|
44
|
+
pageSize: 'PageSize',
|
|
45
|
+
status: 'Status',
|
|
46
|
+
user: 'User',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
DBClusterId: 'string',
|
|
53
|
+
fileIds: 'string',
|
|
54
|
+
page: 'string',
|
|
55
|
+
pageSize: 'string',
|
|
56
|
+
status: 'string',
|
|
57
|
+
user: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
validate() {
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
constructor(map?: { [key: string]: any }) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListKnowledgeFilesResponseBody } from "./ListKnowledgeFilesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListKnowledgeFilesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListKnowledgeFilesResponseBody;
|
|
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: ListKnowledgeFilesResponseBody,
|
|
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,195 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListKnowledgeFilesResponseBodyDataFiles extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 2026-06-09 10:27:35
|
|
9
|
+
*/
|
|
10
|
+
createdAt?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 137
|
|
14
|
+
*/
|
|
15
|
+
fileId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1024
|
|
19
|
+
*/
|
|
20
|
+
fileSizeBytes?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* oss://bucketName/path/to/file
|
|
24
|
+
*/
|
|
25
|
+
fileUrl?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* mp4
|
|
29
|
+
*/
|
|
30
|
+
format?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* false
|
|
34
|
+
*/
|
|
35
|
+
isDirectory?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 122
|
|
39
|
+
*/
|
|
40
|
+
ownerFileId?: number;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 2
|
|
44
|
+
*/
|
|
45
|
+
pageCount?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* successful
|
|
49
|
+
*/
|
|
50
|
+
processMessage?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* Finished
|
|
54
|
+
*/
|
|
55
|
+
processStatus?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* 2026-06-10 10:23:46
|
|
59
|
+
*/
|
|
60
|
+
updatedAt?: string;
|
|
61
|
+
static names(): { [key: string]: string } {
|
|
62
|
+
return {
|
|
63
|
+
createdAt: 'CreatedAt',
|
|
64
|
+
fileId: 'FileId',
|
|
65
|
+
fileSizeBytes: 'FileSizeBytes',
|
|
66
|
+
fileUrl: 'FileUrl',
|
|
67
|
+
format: 'Format',
|
|
68
|
+
isDirectory: 'IsDirectory',
|
|
69
|
+
ownerFileId: 'OwnerFileId',
|
|
70
|
+
pageCount: 'PageCount',
|
|
71
|
+
processMessage: 'ProcessMessage',
|
|
72
|
+
processStatus: 'ProcessStatus',
|
|
73
|
+
updatedAt: 'UpdatedAt',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static types(): { [key: string]: any } {
|
|
78
|
+
return {
|
|
79
|
+
createdAt: 'string',
|
|
80
|
+
fileId: 'number',
|
|
81
|
+
fileSizeBytes: 'number',
|
|
82
|
+
fileUrl: 'string',
|
|
83
|
+
format: 'string',
|
|
84
|
+
isDirectory: 'boolean',
|
|
85
|
+
ownerFileId: 'number',
|
|
86
|
+
pageCount: 'number',
|
|
87
|
+
processMessage: 'string',
|
|
88
|
+
processStatus: 'string',
|
|
89
|
+
updatedAt: 'string',
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
validate() {
|
|
94
|
+
super.validate();
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
constructor(map?: { [key: string]: any }) {
|
|
98
|
+
super(map);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export class ListKnowledgeFilesResponseBodyData extends $dara.Model {
|
|
103
|
+
files?: ListKnowledgeFilesResponseBodyDataFiles[];
|
|
104
|
+
/**
|
|
105
|
+
* @example
|
|
106
|
+
* Successful
|
|
107
|
+
*/
|
|
108
|
+
message?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* 1
|
|
112
|
+
*/
|
|
113
|
+
page?: number;
|
|
114
|
+
/**
|
|
115
|
+
* @example
|
|
116
|
+
* 20
|
|
117
|
+
*/
|
|
118
|
+
pageSize?: number;
|
|
119
|
+
/**
|
|
120
|
+
* @example
|
|
121
|
+
* true
|
|
122
|
+
*/
|
|
123
|
+
success?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* @example
|
|
126
|
+
* 100
|
|
127
|
+
*/
|
|
128
|
+
total?: number;
|
|
129
|
+
static names(): { [key: string]: string } {
|
|
130
|
+
return {
|
|
131
|
+
files: 'Files',
|
|
132
|
+
message: 'Message',
|
|
133
|
+
page: 'Page',
|
|
134
|
+
pageSize: 'PageSize',
|
|
135
|
+
success: 'Success',
|
|
136
|
+
total: 'Total',
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
static types(): { [key: string]: any } {
|
|
141
|
+
return {
|
|
142
|
+
files: { 'type': 'array', 'itemType': ListKnowledgeFilesResponseBodyDataFiles },
|
|
143
|
+
message: 'string',
|
|
144
|
+
page: 'number',
|
|
145
|
+
pageSize: 'number',
|
|
146
|
+
success: 'boolean',
|
|
147
|
+
total: 'number',
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
validate() {
|
|
152
|
+
if(Array.isArray(this.files)) {
|
|
153
|
+
$dara.Model.validateArray(this.files);
|
|
154
|
+
}
|
|
155
|
+
super.validate();
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
constructor(map?: { [key: string]: any }) {
|
|
159
|
+
super(map);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export class ListKnowledgeFilesResponseBody extends $dara.Model {
|
|
164
|
+
data?: ListKnowledgeFilesResponseBodyData;
|
|
165
|
+
/**
|
|
166
|
+
* @example
|
|
167
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
168
|
+
*/
|
|
169
|
+
requestId?: string;
|
|
170
|
+
static names(): { [key: string]: string } {
|
|
171
|
+
return {
|
|
172
|
+
data: 'Data',
|
|
173
|
+
requestId: 'RequestId',
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
static types(): { [key: string]: any } {
|
|
178
|
+
return {
|
|
179
|
+
data: ListKnowledgeFilesResponseBodyData,
|
|
180
|
+
requestId: 'string',
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
validate() {
|
|
185
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
186
|
+
(this.data as any).validate();
|
|
187
|
+
}
|
|
188
|
+
super.validate();
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
constructor(map?: { [key: string]: any }) {
|
|
192
|
+
super(map);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -247,6 +247,8 @@ export { GetTableObjectsResponseBodyData } from './GetTableObjectsResponseBody';
|
|
|
247
247
|
export { GetViewObjectsResponseBodyData } from './GetViewObjectsResponseBody';
|
|
248
248
|
export { KillSparkAppResponseBodyData } from './KillSparkAppResponseBody';
|
|
249
249
|
export { ListApsWebhookResponseBodyWebhook } from './ListApsWebhookResponseBody';
|
|
250
|
+
export { ListKnowledgeFilesResponseBodyDataFiles } from './ListKnowledgeFilesResponseBody';
|
|
251
|
+
export { ListKnowledgeFilesResponseBodyData } from './ListKnowledgeFilesResponseBody';
|
|
250
252
|
export { ListKnowledgeTagsResponseBodyDataTags } from './ListKnowledgeTagsResponseBody';
|
|
251
253
|
export { ListKnowledgeTagsResponseBodyData } from './ListKnowledgeTagsResponseBody';
|
|
252
254
|
export { ListKnowledgeUploadUserResponseBodyData } from './ListKnowledgeUploadUserResponseBody';
|
|
@@ -923,6 +925,9 @@ export { KillSparkSQLEngineResponse } from './KillSparkSqlengineResponse';
|
|
|
923
925
|
export { ListApsWebhookRequest } from './ListApsWebhookRequest';
|
|
924
926
|
export { ListApsWebhookResponseBody } from './ListApsWebhookResponseBody';
|
|
925
927
|
export { ListApsWebhookResponse } from './ListApsWebhookResponse';
|
|
928
|
+
export { ListKnowledgeFilesRequest } from './ListKnowledgeFilesRequest';
|
|
929
|
+
export { ListKnowledgeFilesResponseBody } from './ListKnowledgeFilesResponseBody';
|
|
930
|
+
export { ListKnowledgeFilesResponse } from './ListKnowledgeFilesResponse';
|
|
926
931
|
export { ListKnowledgeTagsRequest } from './ListKnowledgeTagsRequest';
|
|
927
932
|
export { ListKnowledgeTagsResponseBody } from './ListKnowledgeTagsResponseBody';
|
|
928
933
|
export { ListKnowledgeTagsResponse } from './ListKnowledgeTagsResponse';
|