@alicloud/aidge20260428 1.0.0 → 2.0.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 +150 -16
- package/dist/client.js +235 -20
- package/dist/client.js.map +1 -1
- package/dist/models/ImageTranslationPlusRequest.d.ts +75 -0
- package/dist/models/ImageTranslationPlusRequest.js +70 -0
- package/dist/models/ImageTranslationPlusRequest.js.map +1 -0
- package/dist/models/ImageTranslationPlusResponse.d.ts +19 -0
- package/dist/models/ImageTranslationPlusResponse.js +69 -0
- package/dist/models/ImageTranslationPlusResponse.js.map +1 -0
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +72 -0
- package/dist/models/ImageTranslationPlusResponseBody.js +88 -0
- package/dist/models/ImageTranslationPlusResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationProRequest.d.ts +8 -15
- package/dist/models/ImageTranslationProRequest.js +2 -2
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +55 -55
- package/dist/models/MaterialInspectionRequest.d.ts +41 -0
- package/dist/models/MaterialInspectionRequest.js +66 -0
- package/dist/models/MaterialInspectionRequest.js.map +1 -0
- package/dist/models/MaterialInspectionResponse.d.ts +19 -0
- package/dist/models/MaterialInspectionResponse.js +69 -0
- package/dist/models/MaterialInspectionResponse.js.map +1 -0
- package/dist/models/MaterialInspectionResponseBody.d.ts +109 -0
- package/dist/models/MaterialInspectionResponseBody.js +147 -0
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +10 -0
- package/dist/models/model.js +23 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +252 -21
- package/src/models/ImageTranslationPlusRequest.ts +100 -0
- package/src/models/ImageTranslationPlusResponse.ts +40 -0
- package/src/models/ImageTranslationPlusResponseBody.ts +106 -0
- package/src/models/ImageTranslationProRequest.ts +10 -17
- package/src/models/ImageTranslationProResponseBody.ts +55 -55
- package/src/models/MaterialInspectionRequest.ts +62 -0
- package/src/models/MaterialInspectionResponse.ts +40 -0
- package/src/models/MaterialInspectionResponseBody.ts +182 -0
- package/src/models/model.ts +10 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class MaterialInspectionResponseBodyDataResultSteps extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* PASS
|
|
9
|
+
*/
|
|
10
|
+
result?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* XXX
|
|
14
|
+
*/
|
|
15
|
+
stepId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
result: 'Result',
|
|
19
|
+
stepId: 'StepId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
result: 'string',
|
|
26
|
+
stepId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class MaterialInspectionResponseBodyDataResult extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* 1项规则:1 PASS,所有检测项合规
|
|
43
|
+
*/
|
|
44
|
+
evidence?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* PASS
|
|
48
|
+
*/
|
|
49
|
+
overallResult?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* req-001
|
|
53
|
+
*/
|
|
54
|
+
reqId?: string;
|
|
55
|
+
steps?: MaterialInspectionResponseBodyDataResultSteps[];
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* Stamp
|
|
59
|
+
*/
|
|
60
|
+
type?: string;
|
|
61
|
+
static names(): { [key: string]: string } {
|
|
62
|
+
return {
|
|
63
|
+
evidence: 'Evidence',
|
|
64
|
+
overallResult: 'OverallResult',
|
|
65
|
+
reqId: 'ReqId',
|
|
66
|
+
steps: 'Steps',
|
|
67
|
+
type: 'Type',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static types(): { [key: string]: any } {
|
|
72
|
+
return {
|
|
73
|
+
evidence: 'string',
|
|
74
|
+
overallResult: 'string',
|
|
75
|
+
reqId: 'string',
|
|
76
|
+
steps: { 'type': 'array', 'itemType': MaterialInspectionResponseBodyDataResultSteps },
|
|
77
|
+
type: 'string',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
if(Array.isArray(this.steps)) {
|
|
83
|
+
$dara.Model.validateArray(this.steps);
|
|
84
|
+
}
|
|
85
|
+
super.validate();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
constructor(map?: { [key: string]: any }) {
|
|
89
|
+
super(map);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export class MaterialInspectionResponseBodyData extends $dara.Model {
|
|
94
|
+
result?: MaterialInspectionResponseBodyDataResult;
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* {"ProcessingCount":1}
|
|
98
|
+
*/
|
|
99
|
+
usageMap?: { [key: string]: number };
|
|
100
|
+
static names(): { [key: string]: string } {
|
|
101
|
+
return {
|
|
102
|
+
result: 'Result',
|
|
103
|
+
usageMap: 'UsageMap',
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
static types(): { [key: string]: any } {
|
|
108
|
+
return {
|
|
109
|
+
result: MaterialInspectionResponseBodyDataResult,
|
|
110
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
validate() {
|
|
115
|
+
if(this.result && typeof (this.result as any).validate === 'function') {
|
|
116
|
+
(this.result as any).validate();
|
|
117
|
+
}
|
|
118
|
+
if(this.usageMap) {
|
|
119
|
+
$dara.Model.validateMap(this.usageMap);
|
|
120
|
+
}
|
|
121
|
+
super.validate();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
constructor(map?: { [key: string]: any }) {
|
|
125
|
+
super(map);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export class MaterialInspectionResponseBody extends $dara.Model {
|
|
130
|
+
/**
|
|
131
|
+
* @example
|
|
132
|
+
* 200
|
|
133
|
+
*/
|
|
134
|
+
code?: string;
|
|
135
|
+
data?: MaterialInspectionResponseBodyData;
|
|
136
|
+
/**
|
|
137
|
+
* @example
|
|
138
|
+
* OK
|
|
139
|
+
*/
|
|
140
|
+
message?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @example
|
|
143
|
+
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
144
|
+
*/
|
|
145
|
+
requestId?: string;
|
|
146
|
+
/**
|
|
147
|
+
* @example
|
|
148
|
+
* True
|
|
149
|
+
*/
|
|
150
|
+
success?: boolean;
|
|
151
|
+
static names(): { [key: string]: string } {
|
|
152
|
+
return {
|
|
153
|
+
code: 'Code',
|
|
154
|
+
data: 'Data',
|
|
155
|
+
message: 'Message',
|
|
156
|
+
requestId: 'RequestId',
|
|
157
|
+
success: 'Success',
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
static types(): { [key: string]: any } {
|
|
162
|
+
return {
|
|
163
|
+
code: 'string',
|
|
164
|
+
data: MaterialInspectionResponseBodyData,
|
|
165
|
+
message: 'string',
|
|
166
|
+
requestId: 'string',
|
|
167
|
+
success: 'boolean',
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
validate() {
|
|
172
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
173
|
+
(this.data as any).validate();
|
|
174
|
+
}
|
|
175
|
+
super.validate();
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
constructor(map?: { [key: string]: any }) {
|
|
179
|
+
super(map);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { ImageCroppingResponseBodyData } from './ImageCroppingResponseBody';
|
|
|
9
9
|
export { ImageMattingResponseBodyData } from './ImageMattingResponseBody';
|
|
10
10
|
export { ImageRecognitionResponseBodyData } from './ImageRecognitionResponseBody';
|
|
11
11
|
export { ImageRemoveResponseBodyData } from './ImageRemoveResponseBody';
|
|
12
|
+
export { ImageTranslationPlusResponseBodyData } from './ImageTranslationPlusResponseBody';
|
|
12
13
|
export { ImageTranslationProResponseBodyDataGenFilesEditInfoGoodsRects } from './ImageTranslationProResponseBody';
|
|
13
14
|
export { ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsImageRect } from './ImageTranslationProResponseBody';
|
|
14
15
|
export { ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsTextRect } from './ImageTranslationProResponseBody';
|
|
@@ -21,6 +22,9 @@ export { ImageTranslationProResponseBodyDataResultList } from './ImageTranslatio
|
|
|
21
22
|
export { ImageTranslationProResponseBodyData } from './ImageTranslationProResponseBody';
|
|
22
23
|
export { ImageTranslationStandardResponseBodyData } from './ImageTranslationStandardResponseBody';
|
|
23
24
|
export { LanguageDetectResponseBodyData } from './LanguageDetectResponseBody';
|
|
25
|
+
export { MaterialInspectionResponseBodyDataResultSteps } from './MaterialInspectionResponseBody';
|
|
26
|
+
export { MaterialInspectionResponseBodyDataResult } from './MaterialInspectionResponseBody';
|
|
27
|
+
export { MaterialInspectionResponseBodyData } from './MaterialInspectionResponseBody';
|
|
24
28
|
export { PackageWeightSizeCheckResponseBodyData } from './PackageWeightSizeCheckResponseBody';
|
|
25
29
|
export { QueryAsyncTaskResultResponseBodyData } from './QueryAsyncTaskResultResponseBody';
|
|
26
30
|
export { SizeChartDetectResponseBodyData } from './SizeChartDetectResponseBody';
|
|
@@ -60,6 +64,9 @@ export { ImageRemoveRequest } from './ImageRemoveRequest';
|
|
|
60
64
|
export { ImageRemoveShrinkRequest } from './ImageRemoveShrinkRequest';
|
|
61
65
|
export { ImageRemoveResponseBody } from './ImageRemoveResponseBody';
|
|
62
66
|
export { ImageRemoveResponse } from './ImageRemoveResponse';
|
|
67
|
+
export { ImageTranslationPlusRequest } from './ImageTranslationPlusRequest';
|
|
68
|
+
export { ImageTranslationPlusResponseBody } from './ImageTranslationPlusResponseBody';
|
|
69
|
+
export { ImageTranslationPlusResponse } from './ImageTranslationPlusResponse';
|
|
63
70
|
export { ImageTranslationProRequest } from './ImageTranslationProRequest';
|
|
64
71
|
export { ImageTranslationProResponseBody } from './ImageTranslationProResponseBody';
|
|
65
72
|
export { ImageTranslationProResponse } from './ImageTranslationProResponse';
|
|
@@ -69,6 +76,9 @@ export { ImageTranslationStandardResponse } from './ImageTranslationStandardResp
|
|
|
69
76
|
export { LanguageDetectRequest } from './LanguageDetectRequest';
|
|
70
77
|
export { LanguageDetectResponseBody } from './LanguageDetectResponseBody';
|
|
71
78
|
export { LanguageDetectResponse } from './LanguageDetectResponse';
|
|
79
|
+
export { MaterialInspectionRequest } from './MaterialInspectionRequest';
|
|
80
|
+
export { MaterialInspectionResponseBody } from './MaterialInspectionResponseBody';
|
|
81
|
+
export { MaterialInspectionResponse } from './MaterialInspectionResponse';
|
|
72
82
|
export { PackageWeightSizeCheckRequest } from './PackageWeightSizeCheckRequest';
|
|
73
83
|
export { PackageWeightSizeCheckResponseBody } from './PackageWeightSizeCheckResponseBody';
|
|
74
84
|
export { PackageWeightSizeCheckResponse } from './PackageWeightSizeCheckResponse';
|