@alicloud/quanmiaolightapp20240801 2.9.2 → 2.10.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 +183 -0
- package/dist/client.js +1209 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetFileContentRequest.d.ts +18 -0
- package/dist/models/GetFileContentRequest.js +58 -0
- package/dist/models/GetFileContentRequest.js.map +1 -0
- package/dist/models/GetFileContentResponse.d.ts +19 -0
- package/dist/models/GetFileContentResponse.js +69 -0
- package/dist/models/GetFileContentResponse.js.map +1 -0
- package/dist/models/GetFileContentResponseBody.d.ts +59 -0
- package/dist/models/GetFileContentResponseBody.js +90 -0
- package/dist/models/GetFileContentResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +14 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1251 -72
- package/src/models/GetFileContentRequest.ts +31 -0
- package/src/models/GetFileContentResponse.ts +40 -0
- package/src/models/GetFileContentResponseBody.ts +95 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetFileContentRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* oss://default/aimiaobi-service-prod/aimiaobi/temp/1154600634854327_10045847/300469535473178749_300469535473178749_ee11508152b74137ac5747a6f632256e.docx
|
|
9
|
+
*/
|
|
10
|
+
fileKey?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
fileKey: 'fileKey',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
fileKey: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetFileContentResponseBody } from "./GetFileContentResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetFileContentResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetFileContentResponseBody;
|
|
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: GetFileContentResponseBody,
|
|
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,95 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetFileContentResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxxx
|
|
9
|
+
*/
|
|
10
|
+
content?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
content: 'content',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
content: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class GetFileContentResponseBody extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* successful
|
|
36
|
+
*/
|
|
37
|
+
code?: string;
|
|
38
|
+
data?: GetFileContentResponseBodyData;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* 200
|
|
42
|
+
*/
|
|
43
|
+
httpStatusCode?: number;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* successful
|
|
47
|
+
*/
|
|
48
|
+
message?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* Id of the request
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* BE603C85-90AA-50FC-A2D6-128AA9FA200D
|
|
55
|
+
*/
|
|
56
|
+
requestId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* true
|
|
60
|
+
*/
|
|
61
|
+
success?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
code: 'code',
|
|
65
|
+
data: 'data',
|
|
66
|
+
httpStatusCode: 'httpStatusCode',
|
|
67
|
+
message: 'message',
|
|
68
|
+
requestId: 'requestId',
|
|
69
|
+
success: 'success',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static types(): { [key: string]: any } {
|
|
74
|
+
return {
|
|
75
|
+
code: 'string',
|
|
76
|
+
data: GetFileContentResponseBodyData,
|
|
77
|
+
httpStatusCode: 'number',
|
|
78
|
+
message: 'string',
|
|
79
|
+
requestId: 'string',
|
|
80
|
+
success: 'string',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
validate() {
|
|
85
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
86
|
+
(this.data as any).validate();
|
|
87
|
+
}
|
|
88
|
+
super.validate();
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
constructor(map?: { [key: string]: any }) {
|
|
92
|
+
super(map);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { GetEnterpriseVocAnalysisTaskResponseBodyDataUsage } from './GetEnterpri
|
|
|
13
13
|
export { GetEnterpriseVocAnalysisTaskResponseBodyData } from './GetEnterpriseVocAnalysisTaskResponseBody';
|
|
14
14
|
export { GetEssayCorrectionTaskResponseBodyDataResults } from './GetEssayCorrectionTaskResponseBody';
|
|
15
15
|
export { GetEssayCorrectionTaskResponseBodyData } from './GetEssayCorrectionTaskResponseBody';
|
|
16
|
+
export { GetFileContentResponseBodyData } from './GetFileContentResponseBody';
|
|
16
17
|
export { GetTagMiningAnalysisTaskResponseBodyDataResultsHeader } from './GetTagMiningAnalysisTaskResponseBody';
|
|
17
18
|
export { GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput } from './GetTagMiningAnalysisTaskResponseBody';
|
|
18
19
|
export { GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage } from './GetTagMiningAnalysisTaskResponseBody';
|
|
@@ -193,6 +194,9 @@ export { GetEnterpriseVocAnalysisTaskResponse } from './GetEnterpriseVocAnalysis
|
|
|
193
194
|
export { GetEssayCorrectionTaskRequest } from './GetEssayCorrectionTaskRequest';
|
|
194
195
|
export { GetEssayCorrectionTaskResponseBody } from './GetEssayCorrectionTaskResponseBody';
|
|
195
196
|
export { GetEssayCorrectionTaskResponse } from './GetEssayCorrectionTaskResponse';
|
|
197
|
+
export { GetFileContentRequest } from './GetFileContentRequest';
|
|
198
|
+
export { GetFileContentResponseBody } from './GetFileContentResponseBody';
|
|
199
|
+
export { GetFileContentResponse } from './GetFileContentResponse';
|
|
196
200
|
export { GetTagMiningAnalysisTaskRequest } from './GetTagMiningAnalysisTaskRequest';
|
|
197
201
|
export { GetTagMiningAnalysisTaskResponseBody } from './GetTagMiningAnalysisTaskResponseBody';
|
|
198
202
|
export { GetTagMiningAnalysisTaskResponse } from './GetTagMiningAnalysisTaskResponse';
|