@alicloud/aidge20260428 5.0.0 → 5.2.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 +166 -2
- package/dist/client.js +255 -2
- 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 +70 -0
- package/dist/models/ImageTranslationPlusResponseBody.js +88 -0
- package/dist/models/ImageTranslationPlusResponseBody.js.map +1 -0
- package/dist/models/PrepaidTextTranslateRequest.d.ts +73 -0
- package/dist/models/PrepaidTextTranslateRequest.js +73 -0
- package/dist/models/PrepaidTextTranslateRequest.js.map +1 -0
- package/dist/models/PrepaidTextTranslateResponse.d.ts +19 -0
- package/dist/models/PrepaidTextTranslateResponse.js +69 -0
- package/dist/models/PrepaidTextTranslateResponse.js.map +1 -0
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +110 -0
- package/dist/models/PrepaidTextTranslateResponseBody.js +119 -0
- package/dist/models/PrepaidTextTranslateResponseBody.js.map +1 -0
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +73 -0
- package/dist/models/PrepaidTextTranslateShrinkRequest.js +70 -0
- package/dist/models/PrepaidTextTranslateShrinkRequest.js.map +1 -0
- package/dist/models/VideoGenerationRequest.d.ts +50 -0
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +31 -4
- package/dist/models/VideoGenerationResponseBody.js.map +1 -1
- package/dist/models/VideoGenerationShrinkRequest.d.ts +8 -0
- package/dist/models/VideoGenerationShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +10 -0
- package/dist/models/model.js +23 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +274 -2
- package/src/models/ImageTranslationPlusRequest.ts +100 -0
- package/src/models/ImageTranslationPlusResponse.ts +40 -0
- package/src/models/ImageTranslationPlusResponseBody.ts +104 -0
- package/src/models/PrepaidTextTranslateRequest.ts +101 -0
- package/src/models/PrepaidTextTranslateResponse.ts +40 -0
- package/src/models/PrepaidTextTranslateResponseBody.ts +164 -0
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +98 -0
- package/src/models/VideoGenerationRequest.ts +50 -0
- package/src/models/VideoGenerationResponseBody.ts +31 -4
- package/src/models/VideoGenerationShrinkRequest.ts +8 -0
- package/src/models/model.ts +10 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { PrepaidTextTranslateResponseBody } from "./PrepaidTextTranslateResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class PrepaidTextTranslateResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: PrepaidTextTranslateResponseBody;
|
|
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: PrepaidTextTranslateResponseBody,
|
|
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,164 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PrepaidTextTranslateResponseBodyDataTranslations extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The character count of the source text.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 11
|
|
12
|
+
*/
|
|
13
|
+
characters?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The automatically detected source language.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* en
|
|
20
|
+
*/
|
|
21
|
+
detectedLanguage?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The translated text.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 你好世界
|
|
28
|
+
*/
|
|
29
|
+
translatedText?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
characters: 'Characters',
|
|
33
|
+
detectedLanguage: 'DetectedLanguage',
|
|
34
|
+
translatedText: 'TranslatedText',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
characters: 'number',
|
|
41
|
+
detectedLanguage: 'string',
|
|
42
|
+
translatedText: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class PrepaidTextTranslateResponseBodyData extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The translation result list. Each element corresponds to a translation result for an entry in the input text list.
|
|
59
|
+
*/
|
|
60
|
+
translations?: PrepaidTextTranslateResponseBodyDataTranslations[];
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The usage information, including the input character count.
|
|
64
|
+
*/
|
|
65
|
+
usageMap?: { [key: string]: number };
|
|
66
|
+
static names(): { [key: string]: string } {
|
|
67
|
+
return {
|
|
68
|
+
translations: 'Translations',
|
|
69
|
+
usageMap: 'UsageMap',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static types(): { [key: string]: any } {
|
|
74
|
+
return {
|
|
75
|
+
translations: { 'type': 'array', 'itemType': PrepaidTextTranslateResponseBodyDataTranslations },
|
|
76
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
validate() {
|
|
81
|
+
if(Array.isArray(this.translations)) {
|
|
82
|
+
$dara.Model.validateArray(this.translations);
|
|
83
|
+
}
|
|
84
|
+
if(this.usageMap) {
|
|
85
|
+
$dara.Model.validateMap(this.usageMap);
|
|
86
|
+
}
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The response code. Returns "success" for normal calls.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* success
|
|
102
|
+
*/
|
|
103
|
+
code?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The translation result data, including the translation list and usage information.
|
|
107
|
+
*/
|
|
108
|
+
data?: PrepaidTextTranslateResponseBodyData;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The error message. Returns "Success" for normal calls. Returns specific error information for exceptions, such as "The parameters contain sensitive information. Try other input."
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* Success
|
|
115
|
+
*/
|
|
116
|
+
message?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The request ID, used to identify a unique request call.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
123
|
+
*/
|
|
124
|
+
requestId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* Indicates whether the call is successful. true indicates success. false indicates failure.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* True
|
|
131
|
+
*/
|
|
132
|
+
success?: boolean;
|
|
133
|
+
static names(): { [key: string]: string } {
|
|
134
|
+
return {
|
|
135
|
+
code: 'Code',
|
|
136
|
+
data: 'Data',
|
|
137
|
+
message: 'Message',
|
|
138
|
+
requestId: 'RequestId',
|
|
139
|
+
success: 'Success',
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
static types(): { [key: string]: any } {
|
|
144
|
+
return {
|
|
145
|
+
code: 'string',
|
|
146
|
+
data: PrepaidTextTranslateResponseBodyData,
|
|
147
|
+
message: 'string',
|
|
148
|
+
requestId: 'string',
|
|
149
|
+
success: 'boolean',
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
validate() {
|
|
154
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
155
|
+
(this.data as any).validate();
|
|
156
|
+
}
|
|
157
|
+
super.validate();
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
constructor(map?: { [key: string]: any }) {
|
|
161
|
+
super(map);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PrepaidTextTranslateShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or an invalid value is passed, the general translation strategy is used by default.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* Alibaba-商品
|
|
12
|
+
*/
|
|
13
|
+
bizName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The format type of the source text. This parameter is optional. Supports text (plain text format) and html (web page format, preserving HTML tags).
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* text
|
|
20
|
+
*/
|
|
21
|
+
formatType?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation result is not modified.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* custom_glossary
|
|
28
|
+
*/
|
|
29
|
+
glossary?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The source language code. This parameter is optional. If not specified, the language is automatically detected. You can pass auto for language detection.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* auto
|
|
36
|
+
*/
|
|
37
|
+
sourceLanguage?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
|
|
41
|
+
*
|
|
42
|
+
* This parameter is required.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ["Hello world"]
|
|
46
|
+
*/
|
|
47
|
+
sourceTextListShrink?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The target language code. This parameter is required. More than 100 language directions are supported. For details, refer to the supported language directions list.
|
|
51
|
+
*
|
|
52
|
+
* This parameter is required.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* zh
|
|
56
|
+
*/
|
|
57
|
+
targetLanguage?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The format of the translation text. html (web page format. This setting processes both the source text and translated text in HTML format) or text (text format. This setting processes both the source text and translated result as plain text without format processing).
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* e-commerce-title
|
|
64
|
+
*/
|
|
65
|
+
translateScene?: string;
|
|
66
|
+
static names(): { [key: string]: string } {
|
|
67
|
+
return {
|
|
68
|
+
bizName: 'BizName',
|
|
69
|
+
formatType: 'FormatType',
|
|
70
|
+
glossary: 'Glossary',
|
|
71
|
+
sourceLanguage: 'SourceLanguage',
|
|
72
|
+
sourceTextListShrink: 'SourceTextList',
|
|
73
|
+
targetLanguage: 'TargetLanguage',
|
|
74
|
+
translateScene: 'TranslateScene',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static types(): { [key: string]: any } {
|
|
79
|
+
return {
|
|
80
|
+
bizName: 'string',
|
|
81
|
+
formatType: 'string',
|
|
82
|
+
glossary: 'string',
|
|
83
|
+
sourceLanguage: 'string',
|
|
84
|
+
sourceTextListShrink: 'string',
|
|
85
|
+
targetLanguage: 'string',
|
|
86
|
+
translateScene: 'string',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
validate() {
|
|
91
|
+
super.validate();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
constructor(map?: { [key: string]: any }) {
|
|
95
|
+
super(map);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
@@ -3,15 +3,26 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class VideoGenerationRequestInput extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The extended information.
|
|
9
|
+
*/
|
|
6
10
|
extra?: { [key: string]: any };
|
|
7
11
|
/**
|
|
8
12
|
* @remarks
|
|
13
|
+
* The list of product image URLs (1 to 6 images). The URLs must be publicly accessible.
|
|
14
|
+
*
|
|
9
15
|
* This parameter is required.
|
|
10
16
|
*/
|
|
11
17
|
images?: string[];
|
|
12
18
|
/**
|
|
13
19
|
* @remarks
|
|
20
|
+
* The product title. A maximum of the first 60 characters are used.
|
|
21
|
+
*
|
|
14
22
|
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* 2026 New Slimming Women\\"s Summer Dress with Mid-Length Design, High-Quality Waist Definition for a Slender Look
|
|
15
26
|
*/
|
|
16
27
|
title?: string;
|
|
17
28
|
static names(): { [key: string]: string } {
|
|
@@ -46,7 +57,21 @@ export class VideoGenerationRequestInput extends $dara.Model {
|
|
|
46
57
|
}
|
|
47
58
|
|
|
48
59
|
export class VideoGenerationRequestIntent extends $dara.Model {
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The distribution channel.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* -
|
|
66
|
+
*/
|
|
49
67
|
channel?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The business goal.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* -
|
|
74
|
+
*/
|
|
50
75
|
goal?: string;
|
|
51
76
|
static names(): { [key: string]: string } {
|
|
52
77
|
return {
|
|
@@ -74,14 +99,31 @@ export class VideoGenerationRequestIntent extends $dara.Model {
|
|
|
74
99
|
export class VideoGenerationRequestOutput extends $dara.Model {
|
|
75
100
|
/**
|
|
76
101
|
* @remarks
|
|
102
|
+
* The video duration in seconds. Currently supports integers between 5 and 15. More options will be available in the future.
|
|
103
|
+
*
|
|
77
104
|
* This parameter is required.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* 10
|
|
78
108
|
*/
|
|
79
109
|
duration?: number;
|
|
80
110
|
/**
|
|
81
111
|
* @remarks
|
|
112
|
+
* The output resolution.
|
|
113
|
+
*
|
|
82
114
|
* This parameter is required.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* 1080p
|
|
83
118
|
*/
|
|
84
119
|
quality?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The video aspect ratio.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* 9:16
|
|
126
|
+
*/
|
|
85
127
|
ratio?: string;
|
|
86
128
|
static names(): { [key: string]: string } {
|
|
87
129
|
return {
|
|
@@ -111,12 +153,20 @@ export class VideoGenerationRequestOutput extends $dara.Model {
|
|
|
111
153
|
export class VideoGenerationRequest extends $dara.Model {
|
|
112
154
|
/**
|
|
113
155
|
* @remarks
|
|
156
|
+
* The product input.
|
|
157
|
+
*
|
|
114
158
|
* This parameter is required.
|
|
115
159
|
*/
|
|
116
160
|
input?: VideoGenerationRequestInput;
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* The intent parameters. Currently unavailable.
|
|
164
|
+
*/
|
|
117
165
|
intent?: VideoGenerationRequestIntent;
|
|
118
166
|
/**
|
|
119
167
|
* @remarks
|
|
168
|
+
* The output parameters.
|
|
169
|
+
*
|
|
120
170
|
* This parameter is required.
|
|
121
171
|
*/
|
|
122
172
|
output?: VideoGenerationRequestOutput;
|
|
@@ -3,7 +3,18 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class VideoGenerationResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The downstream task ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 778fa8bd21804828a5d147050e30edac
|
|
12
|
+
*/
|
|
6
13
|
taskId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The metering usage information.
|
|
17
|
+
*/
|
|
7
18
|
usageMap?: { [key: string]: number };
|
|
8
19
|
static names(): { [key: string]: string } {
|
|
9
20
|
return {
|
|
@@ -33,24 +44,40 @@ export class VideoGenerationResponseBodyData extends $dara.Model {
|
|
|
33
44
|
|
|
34
45
|
export class VideoGenerationResponseBody extends $dara.Model {
|
|
35
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The response code. A value of success indicates a successful call, and a value of failed indicates a failure.
|
|
49
|
+
*
|
|
36
50
|
* @example
|
|
37
|
-
*
|
|
51
|
+
* success
|
|
38
52
|
*/
|
|
39
53
|
code?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The struct of the returned result.
|
|
57
|
+
*/
|
|
40
58
|
data?: VideoGenerationResponseBodyData;
|
|
41
59
|
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The response message. An error message is returned if the call fails.
|
|
62
|
+
*
|
|
42
63
|
* @example
|
|
43
|
-
*
|
|
64
|
+
* Success
|
|
44
65
|
*/
|
|
45
66
|
message?: string;
|
|
46
67
|
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The request ID, used to identify a unique request call.
|
|
70
|
+
*
|
|
47
71
|
* @example
|
|
48
|
-
*
|
|
72
|
+
* 70CBEFDF-BB17-1EB3-8A21-569F3124738F
|
|
49
73
|
*/
|
|
50
74
|
requestId?: string;
|
|
51
75
|
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* Indicates whether the call is successful. A value of true indicates success, and a value of false indicates failure.
|
|
78
|
+
*
|
|
52
79
|
* @example
|
|
53
|
-
*
|
|
80
|
+
* true
|
|
54
81
|
*/
|
|
55
82
|
success?: boolean;
|
|
56
83
|
static names(): { [key: string]: string } {
|
|
@@ -5,12 +5,20 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class VideoGenerationShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The product input.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*/
|
|
10
12
|
inputShrink?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The intent parameters. Currently unavailable.
|
|
16
|
+
*/
|
|
11
17
|
intentShrink?: string;
|
|
12
18
|
/**
|
|
13
19
|
* @remarks
|
|
20
|
+
* The output parameters.
|
|
21
|
+
*
|
|
14
22
|
* This parameter is required.
|
|
15
23
|
*/
|
|
16
24
|
outputShrink?: string;
|
package/src/models/model.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { ImageMattingResponseBodyData } from './ImageMattingResponseBody';
|
|
|
10
10
|
export { ImageRecognitionResponseBodyData } from './ImageRecognitionResponseBody';
|
|
11
11
|
export { ImageRemovalProResponseBodyData } from './ImageRemovalProResponseBody';
|
|
12
12
|
export { ImageRemoveResponseBodyData } from './ImageRemoveResponseBody';
|
|
13
|
+
export { ImageTranslationPlusResponseBodyData } from './ImageTranslationPlusResponseBody';
|
|
13
14
|
export { ImageTranslationProResponseBodyDataGenFilesEditInfoGoodsRects } from './ImageTranslationProResponseBody';
|
|
14
15
|
export { ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsImageRect } from './ImageTranslationProResponseBody';
|
|
15
16
|
export { ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsTextRect } from './ImageTranslationProResponseBody';
|
|
@@ -36,6 +37,8 @@ export { MerchandisePlacementDetectionResponseBodyDataDataTopk } from './Merchan
|
|
|
36
37
|
export { MerchandisePlacementDetectionResponseBodyDataData } from './MerchandisePlacementDetectionResponseBody';
|
|
37
38
|
export { MerchandisePlacementDetectionResponseBodyData } from './MerchandisePlacementDetectionResponseBody';
|
|
38
39
|
export { PackageWeightSizeCheckResponseBodyData } from './PackageWeightSizeCheckResponseBody';
|
|
40
|
+
export { PrepaidTextTranslateResponseBodyDataTranslations } from './PrepaidTextTranslateResponseBody';
|
|
41
|
+
export { PrepaidTextTranslateResponseBodyData } from './PrepaidTextTranslateResponseBody';
|
|
39
42
|
export { QueryAsyncTaskResultResponseBodyData } from './QueryAsyncTaskResultResponseBody';
|
|
40
43
|
export { SizeChartDetectResponseBodyData } from './SizeChartDetectResponseBody';
|
|
41
44
|
export { SizeChartExtractResponseBodyData } from './SizeChartExtractResponseBody';
|
|
@@ -82,6 +85,9 @@ export { ImageRemoveRequest } from './ImageRemoveRequest';
|
|
|
82
85
|
export { ImageRemoveShrinkRequest } from './ImageRemoveShrinkRequest';
|
|
83
86
|
export { ImageRemoveResponseBody } from './ImageRemoveResponseBody';
|
|
84
87
|
export { ImageRemoveResponse } from './ImageRemoveResponse';
|
|
88
|
+
export { ImageTranslationPlusRequest } from './ImageTranslationPlusRequest';
|
|
89
|
+
export { ImageTranslationPlusResponseBody } from './ImageTranslationPlusResponseBody';
|
|
90
|
+
export { ImageTranslationPlusResponse } from './ImageTranslationPlusResponse';
|
|
85
91
|
export { ImageTranslationProRequest } from './ImageTranslationProRequest';
|
|
86
92
|
export { ImageTranslationProResponseBody } from './ImageTranslationProResponseBody';
|
|
87
93
|
export { ImageTranslationProResponse } from './ImageTranslationProResponse';
|
|
@@ -100,6 +106,10 @@ export { MerchandisePlacementDetectionResponse } from './MerchandisePlacementDet
|
|
|
100
106
|
export { PackageWeightSizeCheckRequest } from './PackageWeightSizeCheckRequest';
|
|
101
107
|
export { PackageWeightSizeCheckResponseBody } from './PackageWeightSizeCheckResponseBody';
|
|
102
108
|
export { PackageWeightSizeCheckResponse } from './PackageWeightSizeCheckResponse';
|
|
109
|
+
export { PrepaidTextTranslateRequest } from './PrepaidTextTranslateRequest';
|
|
110
|
+
export { PrepaidTextTranslateShrinkRequest } from './PrepaidTextTranslateShrinkRequest';
|
|
111
|
+
export { PrepaidTextTranslateResponseBody } from './PrepaidTextTranslateResponseBody';
|
|
112
|
+
export { PrepaidTextTranslateResponse } from './PrepaidTextTranslateResponse';
|
|
103
113
|
export { QueryAsyncTaskResultRequest } from './QueryAsyncTaskResultRequest';
|
|
104
114
|
export { QueryAsyncTaskResultResponseBody } from './QueryAsyncTaskResultResponseBody';
|
|
105
115
|
export { QueryAsyncTaskResultResponse } from './QueryAsyncTaskResultResponse';
|