@alicloud/aidge20260428 5.13.0 → 5.14.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 +703 -618
- package/dist/client.js +733 -618
- package/dist/client.js.map +1 -1
- package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/AiTryOnRequest.d.ts +30 -11
- package/dist/models/AiTryOnRequest.js.map +1 -1
- package/dist/models/AiTryOnResponseBody.d.ts +9 -11
- package/dist/models/AiTryOnResponseBody.js.map +1 -1
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +3 -0
- package/dist/models/CategoryAttributeMatchResponseBody.js.map +1 -1
- package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/EcomVideoRecreationRequest.d.ts +11 -17
- package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
- package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +4 -4
- package/dist/models/GenerateProductContentRequest.d.ts +11 -13
- package/dist/models/GenerateProductContentRequest.js.map +1 -1
- package/dist/models/GenerateProductContentResponseBody.d.ts +9 -7
- package/dist/models/GenerateProductContentResponseBody.js.map +1 -1
- package/dist/models/ImageMattingAsyncRequest.d.ts +1 -1
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +14 -11
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +14 -11
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +1 -1
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +5 -7
- package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemovalProResponseBody.d.ts +3 -0
- package/dist/models/ImageRemovalProResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncRequest.d.ts +19 -8
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +8 -6
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +19 -8
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +11 -11
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +4 -4
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +5 -5
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +1 -1
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +1 -1
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +3 -3
- package/dist/models/ImageTranslationStandardRequest.d.ts +4 -4
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +10 -10
- package/dist/models/ImageUpscaleRequest.d.ts +1 -1
- package/dist/models/ImageUpscaleResponseBody.d.ts +7 -7
- package/dist/models/MaterialInspectionRequest.d.ts +4 -4
- package/dist/models/MaterialInspectionResponseBody.d.ts +9 -9
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +15 -12
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +5 -5
- package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +6 -6
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +7 -7
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +19 -19
- package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +1 -1
- package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +11 -11
- package/dist/models/MerchandiseSceneDetectionRequest.d.ts +1 -1
- package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +16 -10
- package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -1
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +7 -7
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +12 -9
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -1
- package/dist/models/PrepaidTextTranslateRequest.d.ts +8 -8
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +11 -8
- package/dist/models/PrepaidTextTranslateResponseBody.js.map +1 -1
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +8 -8
- package/dist/models/ProductVideoGenerationRequest.d.ts +3 -3
- package/dist/models/ProductVideoGenerationResponseBody.d.ts +2 -2
- package/dist/models/ProductVideoGenerationShrinkRequest.d.ts +3 -3
- package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +3 -3
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +7 -5
- package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +3 -3
- package/dist/models/StorefrontSceneRecognitionRequest.d.ts +1 -1
- package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +9 -6
- package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -1
- package/dist/models/SubmitProductMatchRequest.d.ts +8 -8
- package/dist/models/SubmitProductMatchResponseBody.d.ts +7 -7
- package/dist/models/TextTranslateAsyncRequest.d.ts +9 -9
- package/dist/models/TextTranslateAsyncResponseBody.d.ts +6 -6
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +9 -9
- package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/VacancyDetectionRequest.d.ts +39 -0
- package/dist/models/VacancyDetectionRequest.js +62 -0
- package/dist/models/VacancyDetectionRequest.js.map +1 -0
- package/dist/models/VacancyDetectionResponse.d.ts +19 -0
- package/dist/models/VacancyDetectionResponse.js +69 -0
- package/dist/models/VacancyDetectionResponse.js.map +1 -0
- package/dist/models/VacancyDetectionResponseBody.d.ts +83 -0
- package/dist/models/VacancyDetectionResponseBody.js +93 -0
- package/dist/models/VacancyDetectionResponseBody.js.map +1 -0
- package/dist/models/VideoGenerationRequest.d.ts +18 -17
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +2 -2
- package/dist/models/VideoTranslationRequest.d.ts +8 -17
- package/dist/models/VideoTranslationRequest.js.map +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +4 -6
- package/dist/models/VideoTranslationResponseBody.js.map +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +8 -17
- package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
- package/dist/models/VirtualTryOnRequest.d.ts +2 -2
- package/dist/models/VirtualTryOnResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +13 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +738 -618
- package/src/models/AddDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/AiTryOnRequest.ts +30 -11
- package/src/models/AiTryOnResponseBody.ts +9 -11
- package/src/models/CategoryAttributeMatchResponseBody.ts +3 -0
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/EcomVideoRecreationRequest.ts +11 -17
- package/src/models/EcomVideoRecreationResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
- package/src/models/GeneralRephotographyDetectionResponseBody.ts +4 -4
- package/src/models/GenerateProductContentRequest.ts +11 -13
- package/src/models/GenerateProductContentResponseBody.ts +9 -7
- package/src/models/ImageMattingAsyncRequest.ts +1 -1
- package/src/models/ImageMattingAsyncResponseBody.ts +2 -2
- package/src/models/ImageRecognitionAsyncRequest.ts +14 -11
- package/src/models/ImageRecognitionAsyncResponseBody.ts +5 -5
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +14 -11
- package/src/models/ImageRemovalProAsyncRequest.ts +1 -1
- package/src/models/ImageRemovalProAsyncResponseBody.ts +5 -7
- package/src/models/ImageRemovalProResponseBody.ts +3 -0
- package/src/models/ImageRemoveAsyncRequest.ts +19 -8
- package/src/models/ImageRemoveAsyncResponseBody.ts +8 -6
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +19 -8
- package/src/models/ImageTranslationPlusAsyncRequest.ts +11 -11
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +4 -4
- package/src/models/ImageTranslationProAsyncRequest.ts +5 -5
- package/src/models/ImageTranslationProAsyncResponseBody.ts +1 -1
- package/src/models/ImageTranslationStandardAsyncRequest.ts +1 -1
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +3 -3
- package/src/models/ImageTranslationStandardRequest.ts +4 -4
- package/src/models/ImageTranslationStandardResponseBody.ts +10 -10
- package/src/models/ImageUpscaleRequest.ts +1 -1
- package/src/models/ImageUpscaleResponseBody.ts +7 -7
- package/src/models/MaterialInspectionRequest.ts +4 -4
- package/src/models/MaterialInspectionResponseBody.ts +9 -9
- package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +15 -12
- package/src/models/MerchandisePlacementDetectionProRequest.ts +5 -5
- package/src/models/MerchandisePlacementDetectionProResponseBody.ts +6 -6
- package/src/models/MerchandisePlacementDetectionRequest.ts +7 -7
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +19 -19
- package/src/models/MerchandisePriceTagDetectionRequest.ts +1 -1
- package/src/models/MerchandisePriceTagDetectionResponseBody.ts +11 -11
- package/src/models/MerchandiseSceneDetectionRequest.ts +1 -1
- package/src/models/MerchandiseSceneDetectionResponseBody.ts +16 -10
- package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +7 -7
- package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +12 -9
- package/src/models/PrepaidTextTranslateRequest.ts +8 -8
- package/src/models/PrepaidTextTranslateResponseBody.ts +11 -8
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +8 -8
- package/src/models/ProductVideoGenerationRequest.ts +3 -3
- package/src/models/ProductVideoGenerationResponseBody.ts +2 -2
- package/src/models/ProductVideoGenerationShrinkRequest.ts +3 -3
- package/src/models/QueryDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/SizeChartExtractAsyncRequest.ts +3 -3
- package/src/models/SizeChartExtractAsyncResponseBody.ts +7 -5
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +3 -3
- package/src/models/StorefrontSceneRecognitionRequest.ts +1 -1
- package/src/models/StorefrontSceneRecognitionResponseBody.ts +9 -6
- package/src/models/SubmitProductMatchRequest.ts +8 -8
- package/src/models/SubmitProductMatchResponseBody.ts +7 -7
- package/src/models/TextTranslateAsyncRequest.ts +9 -9
- package/src/models/TextTranslateAsyncResponseBody.ts +6 -6
- package/src/models/TextTranslateAsyncShrinkRequest.ts +9 -9
- package/src/models/UpdateDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/VacancyDetectionRequest.ts +56 -0
- package/src/models/VacancyDetectionResponse.ts +40 -0
- package/src/models/VacancyDetectionResponseBody.ts +120 -0
- package/src/models/VideoGenerationRequest.ts +18 -17
- package/src/models/VideoGenerationResponseBody.ts +2 -2
- package/src/models/VideoTranslationRequest.ts +8 -17
- package/src/models/VideoTranslationResponseBody.ts +4 -6
- package/src/models/VideoTranslationShrinkRequest.ts +8 -17
- package/src/models/VirtualTryOnRequest.ts +2 -2
- package/src/models/VirtualTryOnResponseBody.ts +3 -3
- package/src/models/model.ts +4 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SizeChartExtractAsyncResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The task ID used to query the asynchronous task
|
|
8
|
+
* The task ID, which is used to query the result of the asynchronous task.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -35,7 +35,7 @@ export class SizeChartExtractAsyncResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class SizeChartExtractAsyncResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error code. This parameter is not returned for
|
|
38
|
+
* The error code. This parameter is not returned for successful calls.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* success
|
|
@@ -48,7 +48,7 @@ export class SizeChartExtractAsyncResponseBody extends $dara.Model {
|
|
|
48
48
|
data?: SizeChartExtractAsyncResponseBodyData;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The error message. This parameter is not returned for
|
|
51
|
+
* The error message. This parameter is not returned for successful calls.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* OK
|
|
@@ -56,7 +56,7 @@ export class SizeChartExtractAsyncResponseBody extends $dara.Model {
|
|
|
56
56
|
message?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The request ID
|
|
59
|
+
* The request ID. It is used to identify a unique request.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -64,7 +64,9 @@ export class SizeChartExtractAsyncResponseBody extends $dara.Model {
|
|
|
64
64
|
requestId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Indicates whether the call is successful.
|
|
67
|
+
* Indicates whether the call is successful. Valid values:
|
|
68
|
+
* - true: The call is successful.
|
|
69
|
+
* - false: The call fails.
|
|
68
70
|
*
|
|
69
71
|
* @example
|
|
70
72
|
* True
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The business
|
|
8
|
+
* The business ID of the caller. It is recorded when the request is accepted and returned as-is when you query the result of the asynchronous task.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* order-20260928-001
|
|
@@ -18,7 +18,7 @@ export class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
|
|
|
18
18
|
columnNameListShrink?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The image URL. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
|
|
21
|
+
* 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.
|
|
22
22
|
*
|
|
23
23
|
* This parameter is required.
|
|
24
24
|
*
|
|
@@ -28,7 +28,7 @@ export class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
|
|
|
28
28
|
imageUrl?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The output language. If you do not specify this parameter, the original language is
|
|
31
|
+
* The output language format. If you do not specify this parameter, the original language of the image is retained. If the original language of the image is Chinese or English, set this parameter to en to output English, or set it to cn to output Chinese.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* en
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class StorefrontSceneRecognitionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The HTTP(S) URL of the image to be
|
|
8
|
+
* The HTTP(S) URL of the image to be checked.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -8,12 +8,12 @@ export class StorefrontSceneRecognitionResponseBodyDataResultDetails extends $da
|
|
|
8
8
|
* The non-empty category name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* oppo vivo smartphone
|
|
11
|
+
* oppo vivo smartphone store
|
|
12
12
|
*/
|
|
13
13
|
clazz?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* A finite numerical value. The source document does not specify
|
|
16
|
+
* A finite numerical value. The source document does not specify the value range.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 0.99
|
|
@@ -46,6 +46,9 @@ export class StorefrontSceneRecognitionResponseBodyDataResultGroundingRegions ex
|
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
48
|
* The bounding box coordinates.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* [0,0,456,398]
|
|
49
52
|
*/
|
|
50
53
|
bbox2d?: number[];
|
|
51
54
|
/**
|
|
@@ -103,7 +106,7 @@ export class StorefrontSceneRecognitionResponseBodyDataResultGrounding extends $
|
|
|
103
106
|
coverage?: string;
|
|
104
107
|
/**
|
|
105
108
|
* @remarks
|
|
106
|
-
* The
|
|
109
|
+
* The list of regions.
|
|
107
110
|
*/
|
|
108
111
|
regions?: StorefrontSceneRecognitionResponseBodyDataResultGroundingRegions[];
|
|
109
112
|
static names(): { [key: string]: string } {
|
|
@@ -135,7 +138,7 @@ export class StorefrontSceneRecognitionResponseBodyDataResultGrounding extends $
|
|
|
135
138
|
export class StorefrontSceneRecognitionResponseBodyDataResult extends $dara.Model {
|
|
136
139
|
/**
|
|
137
140
|
* @remarks
|
|
138
|
-
* The classification details
|
|
141
|
+
* The classification details, which can be an empty array.
|
|
139
142
|
*/
|
|
140
143
|
details?: StorefrontSceneRecognitionResponseBodyDataResultDetails[];
|
|
141
144
|
/**
|
|
@@ -145,7 +148,7 @@ export class StorefrontSceneRecognitionResponseBodyDataResult extends $dara.Mode
|
|
|
145
148
|
grounding?: StorefrontSceneRecognitionResponseBodyDataResultGrounding;
|
|
146
149
|
/**
|
|
147
150
|
* @remarks
|
|
148
|
-
* The non-empty scene
|
|
151
|
+
* The non-empty array of scene classifications.
|
|
149
152
|
*/
|
|
150
153
|
scenes?: string[];
|
|
151
154
|
static names(): { [key: string]: string } {
|
|
@@ -185,7 +188,7 @@ export class StorefrontSceneRecognitionResponseBodyDataResult extends $dara.Mode
|
|
|
185
188
|
export class StorefrontSceneRecognitionResponseBodyData extends $dara.Model {
|
|
186
189
|
/**
|
|
187
190
|
* @remarks
|
|
188
|
-
* The scene recognition result
|
|
191
|
+
* The details of the scene recognition result.
|
|
189
192
|
*/
|
|
190
193
|
result?: StorefrontSceneRecognitionResponseBodyDataResult;
|
|
191
194
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SubmitProductMatchRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The product brand. If
|
|
8
|
+
* The product brand. If missing, the service attempts to extract it from the shop name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* FILA
|
|
@@ -13,15 +13,15 @@ export class SubmitProductMatchRequest extends $dara.Model {
|
|
|
13
13
|
brandName?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The Miaojie product category
|
|
16
|
+
* The Miaojie product category, which is currently used for extension and auditing.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
* Children\\"s
|
|
19
|
+
* Children\\"s shoes
|
|
20
20
|
*/
|
|
21
21
|
category?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The HTTP
|
|
24
|
+
* The HTTP/HTTPS URL of the product main image.
|
|
25
25
|
*
|
|
26
26
|
* This parameter is required.
|
|
27
27
|
*
|
|
@@ -41,7 +41,7 @@ export class SubmitProductMatchRequest extends $dara.Model {
|
|
|
41
41
|
itemId?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The HTTP
|
|
44
|
+
* The HTTP/HTTPS URL of the product detail page.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* https://example.com/items/228516909
|
|
@@ -49,12 +49,12 @@ export class SubmitProductMatchRequest extends $dara.Model {
|
|
|
49
49
|
productUrl?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The shop name
|
|
52
|
+
* The shop name, which is also used as the extraction source when the brand is missing.
|
|
53
53
|
*
|
|
54
54
|
* This parameter is required.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
|
-
* FILA
|
|
57
|
+
* FILA Official Flagship Store
|
|
58
58
|
*/
|
|
59
59
|
shopName?: string;
|
|
60
60
|
/**
|
|
@@ -64,7 +64,7 @@ export class SubmitProductMatchRequest extends $dara.Model {
|
|
|
64
64
|
* This parameter is required.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
|
-
* FILA
|
|
67
|
+
* FILA children\\"s training shoes
|
|
68
68
|
*/
|
|
69
69
|
title?: string;
|
|
70
70
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SubmitProductMatchResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The task
|
|
8
|
+
* The time when the task was accepted, in ISO 8601 UTC format.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2026-08-20T09:30:00Z
|
|
@@ -13,7 +13,7 @@ export class SubmitProductMatchResponseBodyData extends $dara.Model {
|
|
|
13
13
|
submittedAt?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The asynchronous task
|
|
16
|
+
* The ID of the asynchronous task used to query the task result by calling QueryAsyncTaskResult.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* b7ea15cb609f47b7999d2d68dfbf3c90
|
|
@@ -45,7 +45,7 @@ export class SubmitProductMatchResponseBodyData extends $dara.Model {
|
|
|
45
45
|
export class SubmitProductMatchResponseBody extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The error code. This parameter is not returned
|
|
48
|
+
* The error code. This parameter is not returned for normal calls.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 200
|
|
@@ -53,12 +53,12 @@ export class SubmitProductMatchResponseBody extends $dara.Model {
|
|
|
53
53
|
code?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The
|
|
56
|
+
* The submission result of the asynchronous task for identical product identification.
|
|
57
57
|
*/
|
|
58
58
|
data?: SubmitProductMatchResponseBodyData;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The error message. This parameter is not returned
|
|
61
|
+
* The error message. This parameter is not returned for normal calls.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* OK
|
|
@@ -75,8 +75,8 @@ export class SubmitProductMatchResponseBody extends $dara.Model {
|
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
77
|
* Indicates whether the call is successful. Valid values:
|
|
78
|
-
* - true:
|
|
79
|
-
* - false:
|
|
78
|
+
* - true: Successful.
|
|
79
|
+
* - false: Failed.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* True
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class TextTranslateAsyncRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The caller business ID.
|
|
8
|
+
* The caller business ID. The ID can be up to 128 characters in length and is passed through in the translation results. This parameter is used only for asynchronous text translation and is returned as is in the task results.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* order-20260928-001
|
|
@@ -13,7 +13,7 @@ export class TextTranslateAsyncRequest extends $dara.Model {
|
|
|
13
13
|
bizId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* This field represents your identity and facilitates communication for various issues. If you are an internal Alibaba organization, we recommend that you specify this
|
|
16
|
+
* This field represents your identity and facilitates communication for various issues. If you are an internal Alibaba organization, we recommend that you specify this field based on the actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, we recommend that you specify the full name of your company. The company name must be the same as the one you used when registering your Alibaba Cloud account.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* BUxxx-chat
|
|
@@ -62,13 +62,13 @@ export class TextTranslateAsyncRequest extends $dara.Model {
|
|
|
62
62
|
targetLanguage?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The business scenario identifier. You can specify only one of the following values. After you specify a value, the translation engine uses the terminology library and style policy of the corresponding industry to output industry-specific translations. If this field is not specified or
|
|
66
|
-
* - e-commerce-title:
|
|
67
|
-
* - e-commerce-description:
|
|
68
|
-
* - e-commerce-chat:
|
|
69
|
-
* - e-commerce-cpv:
|
|
70
|
-
* - novel:
|
|
71
|
-
* - game:
|
|
65
|
+
* The business scenario identifier. You can specify only one of the following values. After you specify a value, the translation engine uses the terminology library and style policy of the corresponding industry to output industry-specific translations. If this field is not specified or is invalid, the general translation policy is used. Valid values:
|
|
66
|
+
* - e-commerce-title: Cross-border e-commerce product title translation.
|
|
67
|
+
* - e-commerce-description: Cross-border e-commerce product description translation.
|
|
68
|
+
* - e-commerce-chat: Cross-border e-commerce conversation translation.
|
|
69
|
+
* - e-commerce-cpv: Cross-border e-commerce product CPV attribute translation.
|
|
70
|
+
* - novel: Novel translation.
|
|
71
|
+
* - game: Game translation.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* e-commerce-title
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class TextTranslateAsyncResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the asynchronous task
|
|
8
|
+
* The ID of the asynchronous task, which is used for result queries and notification association. Do not use the example prefix as a business validation rule.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -35,7 +35,7 @@ export class TextTranslateAsyncResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class TextTranslateAsyncResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The response code
|
|
38
|
+
* The response code of the submission call. Example of a successful call: success.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* success
|
|
@@ -43,12 +43,12 @@ export class TextTranslateAsyncResponseBody extends $dara.Model {
|
|
|
43
43
|
code?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The commit result of the text translation asynchronous node.
|
|
47
47
|
*/
|
|
48
48
|
data?: TextTranslateAsyncResponseBodyData;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The call description.
|
|
51
|
+
* The call description. Example of a successful call: Success. If the call fails, read the actual error message.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* success
|
|
@@ -56,7 +56,7 @@ export class TextTranslateAsyncResponseBody extends $dara.Model {
|
|
|
56
56
|
message?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The ID of the submission request
|
|
59
|
+
* The ID of the submission request, which is used for troubleshooting.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -64,7 +64,7 @@ export class TextTranslateAsyncResponseBody extends $dara.Model {
|
|
|
64
64
|
requestId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Indicates whether the submission call is successful.
|
|
67
|
+
* Indicates whether the submission call is successful. A successful call does not mean that the translation is complete.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* True
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class TextTranslateAsyncShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The caller business ID.
|
|
8
|
+
* The caller business ID. The ID can be up to 128 characters in length and is passed through in the translation results. This parameter is used only for asynchronous text translation and is returned as is in the task results.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* order-20260928-001
|
|
@@ -13,7 +13,7 @@ export class TextTranslateAsyncShrinkRequest extends $dara.Model {
|
|
|
13
13
|
bizId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* This field represents your identity and facilitates communication for various issues. If you are an internal Alibaba organization, we recommend that you specify this
|
|
16
|
+
* This field represents your identity and facilitates communication for various issues. If you are an internal Alibaba organization, we recommend that you specify this field based on the actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, we recommend that you specify the full name of your company. The company name must be the same as the one you used when registering your Alibaba Cloud account.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* BUxxx-chat
|
|
@@ -62,13 +62,13 @@ export class TextTranslateAsyncShrinkRequest extends $dara.Model {
|
|
|
62
62
|
targetLanguage?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The business scenario identifier. You can specify only one of the following values. After you specify a value, the translation engine uses the terminology library and style policy of the corresponding industry to output industry-specific translations. If this field is not specified or
|
|
66
|
-
* - e-commerce-title:
|
|
67
|
-
* - e-commerce-description:
|
|
68
|
-
* - e-commerce-chat:
|
|
69
|
-
* - e-commerce-cpv:
|
|
70
|
-
* - novel:
|
|
71
|
-
* - game:
|
|
65
|
+
* The business scenario identifier. You can specify only one of the following values. After you specify a value, the translation engine uses the terminology library and style policy of the corresponding industry to output industry-specific translations. If this field is not specified or is invalid, the general translation policy is used. Valid values:
|
|
66
|
+
* - e-commerce-title: Cross-border e-commerce product title translation.
|
|
67
|
+
* - e-commerce-description: Cross-border e-commerce product description translation.
|
|
68
|
+
* - e-commerce-chat: Cross-border e-commerce conversation translation.
|
|
69
|
+
* - e-commerce-cpv: Cross-border e-commerce product CPV attribute translation.
|
|
70
|
+
* - novel: Novel translation.
|
|
71
|
+
* - game: Game translation.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* e-commerce-title
|
|
@@ -165,6 +165,9 @@ export class UpdateDisplayKnowledgeResponseBodyData extends $dara.Model {
|
|
|
165
165
|
/**
|
|
166
166
|
* @remarks
|
|
167
167
|
* The usage information. This parameter is empty for free API operations.
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* {"ProcessedImageCount":1}
|
|
168
171
|
*/
|
|
169
172
|
usageMap?: { [key: string]: number };
|
|
170
173
|
static names(): { [key: string]: string } {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class VacancyDetectionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The HTTPS URL of the single image to be detected. Arrays or other image encodings are not supported.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* https://example.com/shelf.jpg
|
|
14
|
+
*/
|
|
15
|
+
imageUrl?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The optional system prompt.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* You are a helpful assistant.
|
|
22
|
+
*/
|
|
23
|
+
systemPrompt?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The optional user prompt. If this parameter is empty, the complete vacancy detection prompt is used. Plain text and JSON containing only text in messages or content are supported.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* Detect vacancies and underfilled areas on the shelf
|
|
30
|
+
*/
|
|
31
|
+
userPrompt?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
imageUrl: 'ImageUrl',
|
|
35
|
+
systemPrompt: 'SystemPrompt',
|
|
36
|
+
userPrompt: 'UserPrompt',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
imageUrl: 'string',
|
|
43
|
+
systemPrompt: 'string',
|
|
44
|
+
userPrompt: 'string',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { VacancyDetectionResponseBody } from "./VacancyDetectionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class VacancyDetectionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: VacancyDetectionResponseBody;
|
|
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: VacancyDetectionResponseBody,
|
|
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,120 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class VacancyDetectionResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the asynchronous task. You can use this ID to call QueryAsyncTaskResult to query the result later.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 518c7318185d4db694236f79d672c156
|
|
12
|
+
*/
|
|
13
|
+
taskId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The usage details. This parameter is left empty during asynchronous commit and is populated by scheduling after the node reaches the desired state.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* {"ProcessingCount":1}
|
|
20
|
+
*/
|
|
21
|
+
usageMap?: { [key: string]: number };
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
taskId: 'TaskId',
|
|
25
|
+
usageMap: 'UsageMap',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
taskId: 'string',
|
|
32
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
if(this.usageMap) {
|
|
38
|
+
$dara.Model.validateMap(this.usageMap);
|
|
39
|
+
}
|
|
40
|
+
super.validate();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
constructor(map?: { [key: string]: any }) {
|
|
44
|
+
super(map);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class VacancyDetectionResponseBody extends $dara.Model {
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The error code.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* success
|
|
55
|
+
*/
|
|
56
|
+
code?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The submission result of the asynchronous task.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* {\\"TaskId\\": \\"TID_2f567233-78dd-4226-8b69-ac9288a66da0\\"}
|
|
63
|
+
*/
|
|
64
|
+
data?: VacancyDetectionResponseBodyData;
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The returned message or failure description.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* Success
|
|
71
|
+
*/
|
|
72
|
+
message?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The unique ID of the request.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* 70CBEFDF-BB17-1EB3-8A21-569F3124738F
|
|
79
|
+
*/
|
|
80
|
+
requestId?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Indicates whether the call is successful.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* True
|
|
87
|
+
*/
|
|
88
|
+
success?: boolean;
|
|
89
|
+
static names(): { [key: string]: string } {
|
|
90
|
+
return {
|
|
91
|
+
code: 'Code',
|
|
92
|
+
data: 'Data',
|
|
93
|
+
message: 'Message',
|
|
94
|
+
requestId: 'RequestId',
|
|
95
|
+
success: 'Success',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
static types(): { [key: string]: any } {
|
|
100
|
+
return {
|
|
101
|
+
code: 'string',
|
|
102
|
+
data: VacancyDetectionResponseBodyData,
|
|
103
|
+
message: 'string',
|
|
104
|
+
requestId: 'string',
|
|
105
|
+
success: 'boolean',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
validate() {
|
|
110
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
111
|
+
(this.data as any).validate();
|
|
112
|
+
}
|
|
113
|
+
super.validate();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
constructor(map?: { [key: string]: any }) {
|
|
117
|
+
super(map);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|