@alicloud/aidge20260428 5.10.0 → 5.10.1
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 +186 -186
- package/dist/client.js +210 -186
- package/dist/client.js.map +1 -1
- package/dist/models/ImageMattingAsyncRequest.d.ts +9 -1
- package/dist/models/ImageMattingAsyncRequest.js +2 -0
- package/dist/models/ImageMattingAsyncRequest.js.map +1 -1
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +33 -25
- package/dist/models/ImageRecognitionAsyncRequest.js +2 -0
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +6 -6
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +33 -25
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js +2 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +10 -1
- package/dist/models/ImageRemovalProAsyncRequest.js +2 -0
- package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +7 -5
- package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncRequest.d.ts +25 -6
- package/dist/models/ImageRemoveAsyncRequest.js +2 -0
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +6 -4
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +25 -6
- package/dist/models/ImageRemoveAsyncShrinkRequest.js +2 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +17 -9
- package/dist/models/ImageTranslationPlusAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +15 -7
- package/dist/models/ImageTranslationProAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +4 -4
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +10 -2
- package/dist/models/ImageTranslationStandardAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +4 -4
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +13 -7
- package/dist/models/QueryAsyncTaskResultResponseBody.js +2 -0
- package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +9 -1
- package/dist/models/SizeChartExtractAsyncRequest.js +2 -0
- package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +5 -5
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +9 -1
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js +2 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +12 -12
- package/dist/models/VideoTranslationResponseBody.d.ts +4 -4
- package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
- package/package.json +1 -1
- package/src/client.ts +222 -190
- package/src/models/ImageMattingAsyncRequest.ts +11 -1
- package/src/models/ImageMattingAsyncResponseBody.ts +5 -5
- package/src/models/ImageRecognitionAsyncRequest.ts +35 -25
- package/src/models/ImageRecognitionAsyncResponseBody.ts +6 -6
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +35 -25
- package/src/models/ImageRemovalProAsyncRequest.ts +12 -1
- package/src/models/ImageRemovalProAsyncResponseBody.ts +7 -5
- package/src/models/ImageRemoveAsyncRequest.ts +27 -6
- package/src/models/ImageRemoveAsyncResponseBody.ts +6 -4
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +27 -6
- package/src/models/ImageTranslationPlusAsyncRequest.ts +19 -9
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +5 -5
- package/src/models/ImageTranslationProAsyncRequest.ts +17 -7
- package/src/models/ImageTranslationProAsyncResponseBody.ts +4 -4
- package/src/models/ImageTranslationStandardAsyncRequest.ts +12 -2
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +4 -4
- package/src/models/QueryAsyncTaskResultResponseBody.ts +15 -7
- package/src/models/SizeChartExtractAsyncRequest.ts +11 -1
- package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
- package/src/models/VideoTranslationRequest.ts +12 -12
- package/src/models/VideoTranslationResponseBody.ts +4 -4
- package/src/models/VideoTranslationShrinkRequest.ts +12 -12
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationPlusAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The identifier of the asynchronous task, which is used for result
|
|
5
|
+
* The identifier of the asynchronous task, which is used for result queries and notification association. Do not use the example prefix as a business validation rule.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -22,7 +22,7 @@ export declare class ImageTranslationPlusAsyncResponseBodyData extends $dara.Mod
|
|
|
22
22
|
export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The response code
|
|
25
|
+
* The response code for the submission call. A successful call returns success.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* success
|
|
@@ -30,7 +30,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
|
|
|
30
30
|
code?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The submission result of the
|
|
33
|
+
* The submission result of the asynchronous task for the Plus edition of image translation.
|
|
34
34
|
*/
|
|
35
35
|
data?: ImageTranslationPlusAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
@@ -43,7 +43,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
|
|
|
43
43
|
message?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The unique identifier of the request, which is used for troubleshooting and
|
|
46
|
+
* The unique identifier of the request, which is used for troubleshooting and tracing analysis.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -51,7 +51,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
|
|
|
51
51
|
requestId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
*
|
|
54
|
+
* Specifies whether the submission call is successful. This does not indicate that the translation is complete. A value of true indicates success, and a value of false indicates failure.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* True
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ImageTranslationProAsyncRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The business ID of the caller. This ID is recorded when the request is accepted and returned as-is when you query the asynchronous task result.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* order-20260928-001
|
|
9
|
+
*/
|
|
10
|
+
bizId?: string;
|
|
3
11
|
/**
|
|
4
12
|
* @remarks
|
|
5
13
|
* The ID of the intervention glossary. You must create the glossary in the console and provide its ID. If this parameter is left empty, the translation results are not modified.
|
|
@@ -10,10 +18,10 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
|
|
|
10
18
|
glossary?: string;
|
|
11
19
|
/**
|
|
12
20
|
* @remarks
|
|
13
|
-
* • Image URL:
|
|
14
|
-
* •
|
|
15
|
-
* • Pixels:
|
|
16
|
-
* • File size: The original file size
|
|
21
|
+
* • Image URL: The URL must be publicly accessible over the Internet.
|
|
22
|
+
* • Formats: PNG, JPEG, JPG, BMP, and WEBP.
|
|
23
|
+
* • Pixels: The width and height cannot exceed 4,000 pixels.
|
|
24
|
+
* • File size: The original file size cannot exceed 10 MB.
|
|
17
25
|
*
|
|
18
26
|
* This parameter is required.
|
|
19
27
|
*
|
|
@@ -23,7 +31,7 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
|
|
|
23
31
|
imageUrl?: string;
|
|
24
32
|
/**
|
|
25
33
|
* @remarks
|
|
26
|
-
* Specifies whether to translate the text on the
|
|
34
|
+
* Specifies whether to translate the text on the image subject. Set this parameter to false to protect the subject information, such as the product name, from being translated. Default value: false.
|
|
27
35
|
*
|
|
28
36
|
* @example
|
|
29
37
|
* false
|
|
@@ -51,7 +59,7 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
|
|
|
51
59
|
targetLanguage?: string;
|
|
52
60
|
/**
|
|
53
61
|
* @remarks
|
|
54
|
-
* Specifies whether to translate
|
|
62
|
+
* Specifies whether to translate brand names in the image. Default value: false, which indicates that brand names are not translated.
|
|
55
63
|
*
|
|
56
64
|
* @example
|
|
57
65
|
* false
|
|
@@ -59,7 +67,7 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
|
|
|
59
67
|
translatingBrandInTheProduct?: boolean;
|
|
60
68
|
/**
|
|
61
69
|
* @remarks
|
|
62
|
-
* Specifies whether to return layout information such as the position, font, and color of the text. If you set this parameter to true, layer information is returned, which can be used for secondary editing
|
|
70
|
+
* Specifies whether to return layout information such as the position, font, and color of the text. If you set this parameter to true, layer information is returned, which can be used for secondary editing when you integrate an image editor. Default value: false.
|
|
63
71
|
*
|
|
64
72
|
* @example
|
|
65
73
|
* false
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ImageTranslationProAsyncRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
bizId: 'BizId',
|
|
42
43
|
glossary: 'Glossary',
|
|
43
44
|
imageUrl: 'ImageUrl',
|
|
44
45
|
includingProductArea: 'IncludingProductArea',
|
|
@@ -50,6 +51,7 @@ class ImageTranslationProAsyncRequest extends $dara.Model {
|
|
|
50
51
|
}
|
|
51
52
|
static types() {
|
|
52
53
|
return {
|
|
54
|
+
bizId: 'string',
|
|
53
55
|
glossary: 'string',
|
|
54
56
|
imageUrl: 'string',
|
|
55
57
|
includingProductArea: 'boolean',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageTranslationProAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationProAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageTranslationProAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationProAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IA0E9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,4BAA4B,EAAE,SAAS;YACvC,cAAc,EAAE,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3GD,0EA2GC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationProAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the asynchronous task.
|
|
5
|
+
* The ID of the asynchronous task. This ID is used to query results and associate notifications. Do not use the example prefix as a business validation rule.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -22,7 +22,7 @@ export declare class ImageTranslationProAsyncResponseBodyData extends $dara.Mode
|
|
|
22
22
|
export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The response code. A value of success indicates that the task is submitted
|
|
25
|
+
* The response code. A value of success indicates that the task is submitted.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* success
|
|
@@ -35,7 +35,7 @@ export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
|
|
|
35
35
|
data?: ImageTranslationProAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The call description. A successful call
|
|
38
|
+
* The call description. A value of Success indicates a successful call. If the call fails, read the actual error message.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* success
|
|
@@ -43,7 +43,7 @@ export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
|
|
|
43
43
|
message?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The ID of the submission request.
|
|
46
|
+
* The ID of the submission request. This ID is used for troubleshooting.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ImageTranslationStandardAsyncRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The business order ID of the caller. It is recorded upon acceptance and returned as-is when querying the asynchronous task result.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* order-20260928-001
|
|
9
|
+
*/
|
|
10
|
+
bizId?: string;
|
|
3
11
|
/**
|
|
4
12
|
* @remarks
|
|
5
13
|
* The intervention glossary.
|
|
@@ -20,7 +28,7 @@ export declare class ImageTranslationStandardAsyncRequest extends $dara.Model {
|
|
|
20
28
|
imageUrl?: string;
|
|
21
29
|
/**
|
|
22
30
|
* @remarks
|
|
23
|
-
* Specifies whether to include the
|
|
31
|
+
* Specifies whether to include the translation of the product area.
|
|
24
32
|
*
|
|
25
33
|
* @example
|
|
26
34
|
* false
|
|
@@ -48,7 +56,7 @@ export declare class ImageTranslationStandardAsyncRequest extends $dara.Model {
|
|
|
48
56
|
targetLanguage?: string;
|
|
49
57
|
/**
|
|
50
58
|
* @remarks
|
|
51
|
-
* Specifies whether to translate brand text in the product area.
|
|
59
|
+
* Specifies whether to translate the brand text in the product area.
|
|
52
60
|
*
|
|
53
61
|
* @example
|
|
54
62
|
* false
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ImageTranslationStandardAsyncRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
bizId: 'BizId',
|
|
42
43
|
glossary: 'Glossary',
|
|
43
44
|
imageUrl: 'ImageUrl',
|
|
44
45
|
includingProductArea: 'IncludingProductArea',
|
|
@@ -50,6 +51,7 @@ class ImageTranslationStandardAsyncRequest extends $dara.Model {
|
|
|
50
51
|
}
|
|
51
52
|
static types() {
|
|
52
53
|
return {
|
|
54
|
+
bizId: 'string',
|
|
53
55
|
glossary: 'string',
|
|
54
56
|
imageUrl: 'string',
|
|
55
57
|
includingProductArea: 'boolean',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageTranslationStandardAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationStandardAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageTranslationStandardAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationStandardAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAuEnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,4BAA4B,EAAE,SAAS;YACvC,cAAc,EAAE,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxGD,oFAwGC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationStandardAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID
|
|
5
|
+
* The task ID used to query the asynchronous task result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -22,7 +22,7 @@ export declare class ImageTranslationStandardAsyncResponseBodyData extends $dara
|
|
|
22
22
|
export declare class ImageTranslationStandardAsyncResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The error code. This parameter is not returned for
|
|
25
|
+
* The error code. This parameter is not returned for normal calls.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 200
|
|
@@ -30,12 +30,12 @@ export declare class ImageTranslationStandardAsyncResponseBody extends $dara.Mod
|
|
|
30
30
|
code?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The submission result of
|
|
33
|
+
* The asynchronous task submission result of Image Translation Standard Edition.
|
|
34
34
|
*/
|
|
35
35
|
data?: ImageTranslationStandardAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message. This parameter is not returned for
|
|
38
|
+
* The error message. This parameter is not returned for normal calls.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The business ID.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* order-20260928-001
|
|
9
|
+
*/
|
|
10
|
+
bizId?: string;
|
|
3
11
|
/**
|
|
4
12
|
* @remarks
|
|
5
13
|
* The task result.
|
|
@@ -18,7 +26,7 @@ export declare class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
|
|
|
18
26
|
status?: string;
|
|
19
27
|
/**
|
|
20
28
|
* @remarks
|
|
21
|
-
* The downstream task
|
|
29
|
+
* The ID of the downstream task.
|
|
22
30
|
*
|
|
23
31
|
* @example
|
|
24
32
|
* task-xxxxx
|
|
@@ -45,7 +53,7 @@ export declare class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
|
|
|
45
53
|
export declare class QueryAsyncTaskResultResponseBody extends $dara.Model {
|
|
46
54
|
/**
|
|
47
55
|
* @remarks
|
|
48
|
-
* The error code. This parameter is not returned
|
|
56
|
+
* The error code. This parameter is not returned when the call is successful.
|
|
49
57
|
*
|
|
50
58
|
* @example
|
|
51
59
|
* 200
|
|
@@ -53,12 +61,12 @@ export declare class QueryAsyncTaskResultResponseBody extends $dara.Model {
|
|
|
53
61
|
code?: string;
|
|
54
62
|
/**
|
|
55
63
|
* @remarks
|
|
56
|
-
* The asynchronous task
|
|
64
|
+
* The result of the asynchronous task.
|
|
57
65
|
*/
|
|
58
66
|
data?: QueryAsyncTaskResultResponseBodyData;
|
|
59
67
|
/**
|
|
60
68
|
* @remarks
|
|
61
|
-
* The error message. This parameter is not returned
|
|
69
|
+
* The error message. This parameter is not returned when the call is successful.
|
|
62
70
|
*
|
|
63
71
|
* @example
|
|
64
72
|
* OK
|
|
@@ -74,9 +82,7 @@ export declare class QueryAsyncTaskResultResponseBody extends $dara.Model {
|
|
|
74
82
|
requestId?: string;
|
|
75
83
|
/**
|
|
76
84
|
* @remarks
|
|
77
|
-
* Indicates whether the call is successful. Valid values:
|
|
78
|
-
* - true: The call is successful.
|
|
79
|
-
* - false: The call failed.
|
|
85
|
+
* Indicates whether the call is successful. Valid values: true: The call is successful. false: The call fails.
|
|
80
86
|
*
|
|
81
87
|
* @example
|
|
82
88
|
* True
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
bizId: 'BizId',
|
|
42
43
|
result: 'Result',
|
|
43
44
|
status: 'Status',
|
|
44
45
|
taskId: 'TaskId',
|
|
@@ -47,6 +48,7 @@ class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
|
|
|
47
48
|
}
|
|
48
49
|
static types() {
|
|
49
50
|
return {
|
|
51
|
+
bizId: 'string',
|
|
50
52
|
result: 'string',
|
|
51
53
|
status: 'string',
|
|
52
54
|
taskId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryAsyncTaskResultResponseBody.js","sourceRoot":"","sources":["../../src/models/QueryAsyncTaskResultResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"QueryAsyncTaskResultResponseBody.js","sourceRoot":"","sources":["../../src/models/QueryAsyncTaskResultResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAsCnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;SACrE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,oFAoEC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAsC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,oCAAoC;YAC1C,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,4EAoEC"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class SizeChartExtractAsyncRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The business order number of the caller. It is recorded when the request is accepted and returned as is when you query the asynchronous task result.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* order-20260928-001
|
|
9
|
+
*/
|
|
10
|
+
bizId?: string;
|
|
3
11
|
/**
|
|
4
12
|
* @remarks
|
|
5
13
|
* The list of column names to extract, such as Size, Bust, and Length.
|
|
@@ -7,7 +15,7 @@ export declare class SizeChartExtractAsyncRequest extends $dara.Model {
|
|
|
7
15
|
columnNameList?: string[];
|
|
8
16
|
/**
|
|
9
17
|
* @remarks
|
|
10
|
-
* The image URL. The image must be in the JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 pixels and 3000 × 3000 pixels
|
|
18
|
+
* The image URL. The image must be in the JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 pixels and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
|
|
11
19
|
*
|
|
12
20
|
* This parameter is required.
|
|
13
21
|
*
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class SizeChartExtractAsyncRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
bizId: 'BizId',
|
|
42
43
|
columnNameList: 'ColumnNameList',
|
|
43
44
|
imageUrl: 'ImageUrl',
|
|
44
45
|
languageModel: 'LanguageModel',
|
|
@@ -46,6 +47,7 @@ class SizeChartExtractAsyncRequest extends $dara.Model {
|
|
|
46
47
|
}
|
|
47
48
|
static types() {
|
|
48
49
|
return {
|
|
50
|
+
bizId: 'string',
|
|
49
51
|
columnNameList: { 'type': 'array', 'itemType': 'string' },
|
|
50
52
|
imageUrl: 'string',
|
|
51
53
|
languageModel: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SizeChartExtractAsyncRequest.js","sourceRoot":"","sources":["../../src/models/SizeChartExtractAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"SizeChartExtractAsyncRequest.js","sourceRoot":"","sources":["../../src/models/SizeChartExtractAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAgC3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5DD,oEA4DC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class SizeChartExtractAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID
|
|
5
|
+
* The task ID used to query the asynchronous task result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -22,7 +22,7 @@ export declare class SizeChartExtractAsyncResponseBodyData extends $dara.Model {
|
|
|
22
22
|
export declare class SizeChartExtractAsyncResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The error code. This parameter is not returned
|
|
25
|
+
* The error code. This parameter is not returned for normal calls.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* success
|
|
@@ -30,12 +30,12 @@ export declare class SizeChartExtractAsyncResponseBody extends $dara.Model {
|
|
|
30
30
|
code?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The
|
|
33
|
+
* The commit result of the size chart fetch asynchronous task node.
|
|
34
34
|
*/
|
|
35
35
|
data?: SizeChartExtractAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message. This parameter is not returned
|
|
38
|
+
* The error message. This parameter is not returned for normal calls.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -51,7 +51,7 @@ export declare class SizeChartExtractAsyncResponseBody extends $dara.Model {
|
|
|
51
51
|
requestId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* Indicates whether the call is successful. Valid values: true
|
|
54
|
+
* Indicates whether the call is successful. Valid values: true for success and false for failure.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* True
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The business order number of the caller. It is recorded when the request is accepted and returned as is when you query the asynchronous task result.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* order-20260928-001
|
|
9
|
+
*/
|
|
10
|
+
bizId?: string;
|
|
3
11
|
/**
|
|
4
12
|
* @remarks
|
|
5
13
|
* The list of column names to extract, such as Size, Bust, and Length.
|
|
@@ -7,7 +15,7 @@ export declare class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
|
|
|
7
15
|
columnNameListShrink?: string;
|
|
8
16
|
/**
|
|
9
17
|
* @remarks
|
|
10
|
-
* The image URL. The image must be in the JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 pixels and 3000 × 3000 pixels
|
|
18
|
+
* The image URL. The image must be in the JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 pixels and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
|
|
11
19
|
*
|
|
12
20
|
* This parameter is required.
|
|
13
21
|
*
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
bizId: 'BizId',
|
|
42
43
|
columnNameListShrink: 'ColumnNameList',
|
|
43
44
|
imageUrl: 'ImageUrl',
|
|
44
45
|
languageModel: 'LanguageModel',
|
|
@@ -46,6 +47,7 @@ class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
|
|
|
46
47
|
}
|
|
47
48
|
static types() {
|
|
48
49
|
return {
|
|
50
|
+
bizId: 'string',
|
|
49
51
|
columnNameListShrink: 'string',
|
|
50
52
|
imageUrl: 'string',
|
|
51
53
|
languageModel: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SizeChartExtractAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/SizeChartExtractAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"SizeChartExtractAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/SizeChartExtractAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAgCjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,oBAAoB,EAAE,gBAAgB;YACtC,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,oBAAoB,EAAE,QAAQ;YAC9B,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzDD,gFAyDC"}
|
|
@@ -2,38 +2,38 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class VideoTranslationRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The list of translation features. Valid values:
|
|
5
|
+
* The list of translation features. Valid values: speech and visual. You can select both. At least one feature is required. Duplicate values are not accepted.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*/
|
|
9
9
|
capabilities?: string[];
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* Specifies whether to enable
|
|
12
|
+
* Specifies whether to enable quality inspection for on-screen text processing. Effective only when visual is included and this parameter is explicitly set to true. If only speech is selected, this parameter is ignored, no quality inspection is performed, no quality inspection fields are returned, and no error is reported due to this parameter. Enabling quality inspection may increase the processing time. Do not enable it unless necessary. Default value: false.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
*
|
|
15
|
+
* false
|
|
16
16
|
*/
|
|
17
17
|
enableQualityCheck?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
*
|
|
20
|
+
* Applicable only when visual is included. Specifies whether to erase on-screen text without translation. Valid values: true: erases on-screen text without translation. false: translates on-screen text. Default value: false.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
|
-
*
|
|
23
|
+
* false
|
|
24
24
|
*/
|
|
25
25
|
eraseOnly?: boolean;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
*
|
|
28
|
+
* Applicable only when visual is included. Specifies whether to erase brand logos. Valid values: true: erases brand logos. false: retains brand logos. Default value: false. This parameter is independent of EraseOnly.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
|
-
*
|
|
31
|
+
* false
|
|
32
32
|
*/
|
|
33
33
|
removeLogo?: boolean;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The source language. For supported languages, see Language support.
|
|
36
|
+
* The original language of the video (source language). For supported languages, see Language support.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* zh
|
|
@@ -41,18 +41,18 @@ export declare class VideoTranslationRequest extends $dara.Model {
|
|
|
41
41
|
sourceLanguage?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
44
|
+
* Applicable only when speech is included. Valid values: erase: erases the original subtitles only. replace: replaces the original subtitles with translated subtitles, which means erasing the original subtitles and adding subtitles synchronized with the translated speech. If not specified, the original subtitles are not processed, which means neither erasing the original subtitles nor adding new subtitles.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
|
-
*
|
|
47
|
+
* replace
|
|
48
48
|
*/
|
|
49
49
|
subtitleMode?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
*
|
|
52
|
+
* Required when speech is included. Optional when only visual is included and EraseOnly is set to true. If specified in this case, it is ignored. Required in other cases.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
|
-
*
|
|
55
|
+
* en
|
|
56
56
|
*/
|
|
57
57
|
targetLanguage?: string;
|
|
58
58
|
/**
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class VideoTranslationResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the asynchronous task
|
|
5
|
+
* The ID of the asynchronous task, which is used for subsequent queries.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 0ea3b66e88a543658520c994f08896a0
|
|
@@ -30,12 +30,12 @@ export declare class VideoTranslationResponseBody extends $dara.Model {
|
|
|
30
30
|
code?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The result of the asynchronous task
|
|
33
|
+
* The submission result of the asynchronous task.
|
|
34
34
|
*/
|
|
35
35
|
data?: VideoTranslationResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The description.
|
|
38
|
+
* The description message.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* Translation processing
|
|
@@ -51,7 +51,7 @@ export declare class VideoTranslationResponseBody extends $dara.Model {
|
|
|
51
51
|
requestId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* Indicates whether the call is successful. Valid values:
|
|
54
|
+
* Indicates whether the call is successful. Valid values: true: The call is successful. false: The call fails.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* True
|