@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
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The similarity score
|
|
5
|
+
* The similarity score. Valid values: 0 to 1.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 0.53
|
|
@@ -10,7 +10,7 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTop1 exten
|
|
|
10
10
|
score?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The ID of the
|
|
13
|
+
* The ID of the retrieved product.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 123
|
|
@@ -18,10 +18,10 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTop1 exten
|
|
|
18
18
|
skuId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The name of the
|
|
21
|
+
* The name of the retrieved product.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
|
-
*
|
|
24
|
+
* Bright Dairy Milk 500ml
|
|
25
25
|
*/
|
|
26
26
|
skuName?: string;
|
|
27
27
|
static names(): {
|
|
@@ -38,7 +38,7 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTop1 exten
|
|
|
38
38
|
export declare class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The
|
|
41
|
+
* The retrieval rank.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* 1
|
|
@@ -46,7 +46,7 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTopk exten
|
|
|
46
46
|
rank?: number;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The similarity score
|
|
49
|
+
* The similarity score. Valid values: 0 to 1.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* 0.82
|
|
@@ -54,7 +54,7 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTopk exten
|
|
|
54
54
|
score?: number;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The ID of the
|
|
57
|
+
* The ID of the retrieved product.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* 123
|
|
@@ -62,10 +62,10 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTopk exten
|
|
|
62
62
|
skuId?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The name of the
|
|
65
|
+
* The name of the retrieved product.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
|
-
*
|
|
68
|
+
* Bright Dairy Milk 500ml
|
|
69
69
|
*/
|
|
70
70
|
skuName?: string;
|
|
71
71
|
static names(): {
|
|
@@ -82,15 +82,15 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTopk exten
|
|
|
82
82
|
export declare class MerchandisePlacementDetectionResponseBodyDataData extends $dara.Model {
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The detection box
|
|
85
|
+
* The coordinates of the detection box in the [x1,y1,x2,y2] format.
|
|
86
86
|
*/
|
|
87
87
|
bbox?: number[];
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The
|
|
90
|
+
* The reason for the failure of the detection box. This parameter is null if the detection is successful.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
|
-
* "
|
|
93
|
+
* "Embedding failed"
|
|
94
94
|
*/
|
|
95
95
|
error?: string;
|
|
96
96
|
/**
|
|
@@ -103,12 +103,12 @@ export declare class MerchandisePlacementDetectionResponseBodyDataData extends $
|
|
|
103
103
|
idx?: number;
|
|
104
104
|
/**
|
|
105
105
|
* @remarks
|
|
106
|
-
* The top-1
|
|
106
|
+
* The top-1 retrieved product for the detection box.
|
|
107
107
|
*/
|
|
108
108
|
top1?: MerchandisePlacementDetectionResponseBodyDataDataTop1;
|
|
109
109
|
/**
|
|
110
110
|
* @remarks
|
|
111
|
-
* The list of top-K
|
|
111
|
+
* The list of top-K retrieved products for the detection box.
|
|
112
112
|
*/
|
|
113
113
|
topk?: MerchandisePlacementDetectionResponseBodyDataDataTopk[];
|
|
114
114
|
static names(): {
|
|
@@ -138,7 +138,7 @@ export declare class MerchandisePlacementDetectionResponseBodyData extends $dara
|
|
|
138
138
|
data?: MerchandisePlacementDetectionResponseBodyDataData[];
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The usage information
|
|
141
|
+
* The usage information. The key is the usage metric name and the value is the count.
|
|
142
142
|
*
|
|
143
143
|
* @example
|
|
144
144
|
* {"ProcessingCount":1}
|
|
@@ -160,7 +160,7 @@ export declare class MerchandisePlacementDetectionResponseBodyData extends $dara
|
|
|
160
160
|
export declare class MerchandisePlacementDetectionResponseBody extends $dara.Model {
|
|
161
161
|
/**
|
|
162
162
|
* @remarks
|
|
163
|
-
* The error code. This parameter is not returned
|
|
163
|
+
* The error code. This parameter is not returned when the call is successful.
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
166
|
* 200
|
|
@@ -168,12 +168,12 @@ export declare class MerchandisePlacementDetectionResponseBody extends $dara.Mod
|
|
|
168
168
|
code?: string;
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
* The display detection
|
|
171
|
+
* The display detection results.
|
|
172
172
|
*/
|
|
173
173
|
data?: MerchandisePlacementDetectionResponseBodyData;
|
|
174
174
|
/**
|
|
175
175
|
* @remarks
|
|
176
|
-
* The error message. This parameter is not returned
|
|
176
|
+
* The error message. This parameter is not returned when the call is successful.
|
|
177
177
|
*
|
|
178
178
|
* @example
|
|
179
179
|
* OK
|
|
@@ -191,7 +191,7 @@ export declare class MerchandisePlacementDetectionResponseBody extends $dara.Mod
|
|
|
191
191
|
* @remarks
|
|
192
192
|
* Indicates whether the call is successful. Valid values:
|
|
193
193
|
* - true: The call is successful.
|
|
194
|
-
* - false: The call
|
|
194
|
+
* - false: The call fails.
|
|
195
195
|
*
|
|
196
196
|
* @example
|
|
197
197
|
* True
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MerchandisePriceTagDetectionRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The HTTP
|
|
5
|
+
* The HTTP or HTTPS URL of the image to be detected.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -43,7 +43,7 @@ export declare class MerchandisePriceTagDetectionResponseBodyDataResultGrounding
|
|
|
43
43
|
coverage?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The list of regions.
|
|
47
47
|
*/
|
|
48
48
|
regions?: MerchandisePriceTagDetectionResponseBodyDataResultGroundingRegions[];
|
|
49
49
|
static names(): {
|
|
@@ -117,7 +117,7 @@ export declare class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags
|
|
|
117
117
|
originalPrice?: string;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The selling price, retained as a string
|
|
120
|
+
* The selling price, retained as a string.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* 5.50
|
|
@@ -125,7 +125,7 @@ export declare class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags
|
|
|
125
125
|
price?: string;
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The associated product
|
|
128
|
+
* The code of the associated product.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* 001
|
|
@@ -133,7 +133,7 @@ export declare class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags
|
|
|
133
133
|
skuCode?: string;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The associated product
|
|
136
|
+
* The name of the associated product.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
139
|
* sku_test
|
|
@@ -153,17 +153,17 @@ export declare class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags
|
|
|
153
153
|
export declare class MerchandisePriceTagDetectionResponseBodyDataResult extends $dara.Model {
|
|
154
154
|
/**
|
|
155
155
|
* @remarks
|
|
156
|
-
* The
|
|
156
|
+
* The grounding information.
|
|
157
157
|
*/
|
|
158
158
|
grounding?: MerchandisePriceTagDetectionResponseBodyDataResultGrounding;
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* The price
|
|
161
|
+
* The list of price tags. This can be an empty array if no price tags are recognized.
|
|
162
162
|
*/
|
|
163
163
|
priceTags?: MerchandisePriceTagDetectionResponseBodyDataResultPriceTags[];
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
*
|
|
166
|
+
* Fixed to priceTag.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* priceTag
|
|
@@ -183,7 +183,7 @@ export declare class MerchandisePriceTagDetectionResponseBodyDataResult extends
|
|
|
183
183
|
export declare class MerchandisePriceTagDetectionResponseBodyData extends $dara.Model {
|
|
184
184
|
/**
|
|
185
185
|
* @remarks
|
|
186
|
-
* The detection and recognition result
|
|
186
|
+
* The details of the detection and recognition result.
|
|
187
187
|
*/
|
|
188
188
|
result?: MerchandisePriceTagDetectionResponseBodyDataResult;
|
|
189
189
|
/**
|
|
@@ -218,12 +218,12 @@ export declare class MerchandisePriceTagDetectionResponseBody extends $dara.Mode
|
|
|
218
218
|
code?: string;
|
|
219
219
|
/**
|
|
220
220
|
* @remarks
|
|
221
|
-
* The
|
|
221
|
+
* The recognition result.
|
|
222
222
|
*/
|
|
223
223
|
data?: MerchandisePriceTagDetectionResponseBodyData;
|
|
224
224
|
/**
|
|
225
225
|
* @remarks
|
|
226
|
-
* The
|
|
226
|
+
* The returned message or failure description.
|
|
227
227
|
*
|
|
228
228
|
* @example
|
|
229
229
|
* Success
|
|
@@ -239,7 +239,7 @@ export declare class MerchandisePriceTagDetectionResponseBody extends $dara.Mode
|
|
|
239
239
|
requestId?: string;
|
|
240
240
|
/**
|
|
241
241
|
* @remarks
|
|
242
|
-
* Indicates whether the call
|
|
242
|
+
* Indicates whether the call was successful.
|
|
243
243
|
*
|
|
244
244
|
* @example
|
|
245
245
|
* True
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MerchandiseSceneDetectionRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The HTTP
|
|
5
|
+
* The HTTP or HTTPS URL of the display image to be detected.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -3,6 +3,9 @@ export declare class MerchandiseSceneDetectionResponseBodyDataResultGroundingReg
|
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
5
|
* The 2D bounding box in the format of [top-left x, top-left y, bottom-right x, bottom-right y]. Valid values: 0 to 1000. The left coordinate must be less than the right coordinate, and the top coordinate must be less than the bottom coordinate.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* [0,130,1000,850]
|
|
6
9
|
*/
|
|
7
10
|
bbox2d?: number[];
|
|
8
11
|
/**
|
|
@@ -18,7 +21,7 @@ export declare class MerchandiseSceneDetectionResponseBodyDataResultGroundingReg
|
|
|
18
21
|
* The recognized text.
|
|
19
22
|
*
|
|
20
23
|
* @example
|
|
21
|
-
* Multi-
|
|
24
|
+
* Multi-layer product display shelf
|
|
22
25
|
*/
|
|
23
26
|
text?: string;
|
|
24
27
|
static names(): {
|
|
@@ -60,7 +63,7 @@ export declare class MerchandiseSceneDetectionResponseBodyDataResultGrounding ex
|
|
|
60
63
|
export declare class MerchandiseSceneDetectionResponseBodyDataResultScenesSceneLocation extends $dara.Model {
|
|
61
64
|
/**
|
|
62
65
|
* @remarks
|
|
63
|
-
* The x-coordinate of the
|
|
66
|
+
* The x-coordinate of the area point.
|
|
64
67
|
*
|
|
65
68
|
* @example
|
|
66
69
|
* 0.431
|
|
@@ -68,7 +71,7 @@ export declare class MerchandiseSceneDetectionResponseBodyDataResultScenesSceneL
|
|
|
68
71
|
x?: number;
|
|
69
72
|
/**
|
|
70
73
|
* @remarks
|
|
71
|
-
* The y-coordinate of the
|
|
74
|
+
* The y-coordinate of the area point.
|
|
72
75
|
*
|
|
73
76
|
* @example
|
|
74
77
|
* 0.973
|
|
@@ -96,7 +99,7 @@ export declare class MerchandiseSceneDetectionResponseBodyDataResultScenes exten
|
|
|
96
99
|
areaRate?: number;
|
|
97
100
|
/**
|
|
98
101
|
* @remarks
|
|
99
|
-
* Optional. The purity metric for proprietary products. The specific business
|
|
102
|
+
* Optional. The purity metric for proprietary products. The specific business definition is subject to the recognition service.
|
|
100
103
|
*
|
|
101
104
|
* @example
|
|
102
105
|
* 0
|
|
@@ -104,7 +107,7 @@ export declare class MerchandiseSceneDetectionResponseBodyDataResultScenes exten
|
|
|
104
107
|
ownPurity?: number;
|
|
105
108
|
/**
|
|
106
109
|
* @remarks
|
|
107
|
-
* Optional. The display
|
|
110
|
+
* Optional. The display fullness metric.
|
|
108
111
|
*
|
|
109
112
|
* @example
|
|
110
113
|
* 0
|
|
@@ -115,17 +118,20 @@ export declare class MerchandiseSceneDetectionResponseBodyDataResultScenes exten
|
|
|
115
118
|
* The display name of the scene. If omitted, the value is an empty string.
|
|
116
119
|
*
|
|
117
120
|
* @example
|
|
118
|
-
*
|
|
121
|
+
* Refrigerated display cabinet
|
|
119
122
|
*/
|
|
120
123
|
sceneActualName?: string;
|
|
121
124
|
/**
|
|
122
125
|
* @remarks
|
|
123
126
|
* The center point of the scene, which retains the original normalized coordinates. If omitted, the value is an empty array.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* [0.501,0.493]
|
|
124
130
|
*/
|
|
125
131
|
sceneCenter?: number[];
|
|
126
132
|
/**
|
|
127
133
|
* @remarks
|
|
128
|
-
* The list of
|
|
134
|
+
* The list of area points. Each item is in the format of {x,y} and retains the original normalized coordinates. If omitted, the value is an empty array.
|
|
129
135
|
*/
|
|
130
136
|
sceneLocation?: MerchandiseSceneDetectionResponseBodyDataResultScenesSceneLocation[];
|
|
131
137
|
/**
|
|
@@ -138,7 +144,7 @@ export declare class MerchandiseSceneDetectionResponseBodyDataResultScenes exten
|
|
|
138
144
|
sceneName?: string;
|
|
139
145
|
/**
|
|
140
146
|
* @remarks
|
|
141
|
-
* Optional. The shelf distribution proportion metric. The specific business
|
|
147
|
+
* Optional. The shelf distribution proportion metric. The specific business definition is subject to the recognition service.
|
|
142
148
|
*
|
|
143
149
|
* @example
|
|
144
150
|
* 0
|
|
@@ -168,7 +174,7 @@ export declare class MerchandiseSceneDetectionResponseBodyDataResult extends $da
|
|
|
168
174
|
scenes?: MerchandiseSceneDetectionResponseBodyDataResultScenes[];
|
|
169
175
|
/**
|
|
170
176
|
* @remarks
|
|
171
|
-
* Fixed value: scene.
|
|
177
|
+
* The type. Fixed value: scene.
|
|
172
178
|
*
|
|
173
179
|
* @example
|
|
174
180
|
* scene
|
|
@@ -228,7 +234,7 @@ export declare class MerchandiseSceneDetectionResponseBody extends $dara.Model {
|
|
|
228
234
|
data?: MerchandiseSceneDetectionResponseBodyData;
|
|
229
235
|
/**
|
|
230
236
|
* @remarks
|
|
231
|
-
* The
|
|
237
|
+
* The return message or failure description.
|
|
232
238
|
*
|
|
233
239
|
* @example
|
|
234
240
|
* Success
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MerchandiseSceneDetectionResponseBody.js","sourceRoot":"","sources":["../../src/models/MerchandiseSceneDetectionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+DAAgE,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"MerchandiseSceneDetectionResponseBody.js","sourceRoot":"","sources":["../../src/models/Merchandise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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,sFAoEC"}
|
|
@@ -2,12 +2,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGroundingRegions extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The bounding box coordinates in the format of `[top-left x, top-left y, bottom-right x, bottom-right y]`.
|
|
5
|
+
* The bounding box coordinates in the format of `[top-left x, top-left y, bottom-right x, bottom-right y]`. The value range is 0 to 1000. The left coordinate is less than the right coordinate, and the top coordinate is less than the bottom coordinate.
|
|
6
6
|
*/
|
|
7
7
|
bbox2d?: number[];
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The target category. For
|
|
10
|
+
* The target category. For enumerations, see the following table.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* milk_powder
|
|
@@ -67,7 +67,7 @@ export declare class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDa
|
|
|
67
67
|
grounding?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGrounding;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
*
|
|
70
|
+
* Indicates whether the image is recaptured.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* true
|
|
@@ -75,7 +75,7 @@ export declare class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDa
|
|
|
75
75
|
isFake?: boolean;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The detection type
|
|
78
|
+
* The detection type, which is fixed to canBottom.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* canBottom
|
|
@@ -100,7 +100,7 @@ export declare class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDa
|
|
|
100
100
|
result?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult;
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, an empty object
|
|
103
|
+
* The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, the value is an empty object.
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
106
|
* {"ProcessingCount":1}
|
|
@@ -135,7 +135,7 @@ export declare class MilkPowderCanBottomCodeRephotographyDetectionResponseBody e
|
|
|
135
135
|
data?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyData;
|
|
136
136
|
/**
|
|
137
137
|
* @remarks
|
|
138
|
-
* The
|
|
138
|
+
* The return message or failure description.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* Success
|
|
@@ -151,7 +151,7 @@ export declare class MilkPowderCanBottomCodeRephotographyDetectionResponseBody e
|
|
|
151
151
|
requestId?: string;
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
*
|
|
154
|
+
* Indicates whether the call is successful. A valid business conclusion does not mean the review is passed.
|
|
155
155
|
*
|
|
156
156
|
* @example
|
|
157
157
|
* True
|
|
@@ -2,12 +2,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The bounding box coordinates.
|
|
6
|
+
* - `[top-left x, top-left y, bottom-right x, bottom-right y]`
|
|
7
|
+
* - Value range: 0 to 1000.
|
|
8
|
+
* - The left value must be less than the right value, and the top value must be less than the bottom value.
|
|
6
9
|
*/
|
|
7
10
|
bbox2d?: number[];
|
|
8
11
|
/**
|
|
9
12
|
* @remarks
|
|
10
|
-
* The category
|
|
13
|
+
* The target category. For valid values, see the following table.
|
|
11
14
|
*
|
|
12
15
|
* @example
|
|
13
16
|
* milk_powder
|
|
@@ -15,7 +18,7 @@ export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataR
|
|
|
15
18
|
label?: string;
|
|
16
19
|
/**
|
|
17
20
|
* @remarks
|
|
18
|
-
* The confirmed short name or text,
|
|
21
|
+
* The confirmed short name or text, up to 24 characters. If the text is unclear, an empty string is returned.
|
|
19
22
|
*
|
|
20
23
|
* @example
|
|
21
24
|
* Milk powder
|
|
@@ -35,7 +38,7 @@ export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataR
|
|
|
35
38
|
export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding extends $dara.Model {
|
|
36
39
|
/**
|
|
37
40
|
* @remarks
|
|
38
|
-
* The coverage
|
|
41
|
+
* The coverage. Valid values:
|
|
39
42
|
* - `complete`: The relevant visible targets are complete.
|
|
40
43
|
* - `partial`: Only some targets are valid or recognizable.
|
|
41
44
|
*
|
|
@@ -45,7 +48,7 @@ export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataR
|
|
|
45
48
|
coverage?: string;
|
|
46
49
|
/**
|
|
47
50
|
* @remarks
|
|
48
|
-
* The array
|
|
51
|
+
* The target array, containing up to 12 items. This array can be empty if no relevant targets are found.
|
|
49
52
|
*/
|
|
50
53
|
regions?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions[];
|
|
51
54
|
static names(): {
|
|
@@ -62,7 +65,7 @@ export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataR
|
|
|
62
65
|
export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult extends $dara.Model {
|
|
63
66
|
/**
|
|
64
67
|
* @remarks
|
|
65
|
-
* The supplementary element grounding
|
|
68
|
+
* The supplementary element grounding result.
|
|
66
69
|
*/
|
|
67
70
|
grounding?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding;
|
|
68
71
|
/**
|
|
@@ -94,7 +97,7 @@ export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataR
|
|
|
94
97
|
photoStatus?: number;
|
|
95
98
|
/**
|
|
96
99
|
* @remarks
|
|
97
|
-
* The confidence score
|
|
100
|
+
* The recapture confidence score.
|
|
98
101
|
*
|
|
99
102
|
* @example
|
|
100
103
|
* 0.89
|
|
@@ -102,7 +105,7 @@ export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataR
|
|
|
102
105
|
score?: number;
|
|
103
106
|
/**
|
|
104
107
|
* @remarks
|
|
105
|
-
*
|
|
108
|
+
* Fixed to `boxCode`.
|
|
106
109
|
*
|
|
107
110
|
* @example
|
|
108
111
|
* boxCode
|
|
@@ -127,7 +130,7 @@ export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyData
|
|
|
127
130
|
result?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult;
|
|
128
131
|
/**
|
|
129
132
|
* @remarks
|
|
130
|
-
* The usage information.
|
|
133
|
+
* The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, the value is an empty object.
|
|
131
134
|
*
|
|
132
135
|
* @example
|
|
133
136
|
* {"ProcessingCount":1}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MilkPowderCartonCodeRephotographyDetectionResponseBody.js","sourceRoot":"","sources":["../../src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gFAAiF,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"MilkPowderCartonCodeRephotographyDetectionResponseBody.js","sourceRoot":"","sources":["../../src/models/MilkPowderCartonCodeRephot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slateRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* 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
|
|
5
|
+
* The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, and game. If this parameter is not specified or is invalid, the general translation policy is used by default.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
|
-
* Alibaba
|
|
8
|
+
* Alibaba-Product
|
|
9
9
|
*/
|
|
10
10
|
bizName?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format
|
|
13
|
+
* The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format, which retains HTML tags).
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* text
|
|
@@ -18,7 +18,7 @@ export declare class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
18
18
|
formatType?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The intervention glossary
|
|
21
|
+
* The ID of the intervention glossary. This parameter is optional. You must create the glossary in the console and provide its ID. If the provided intervention glossary ID is empty, the translation results are not modified.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* custom_glossary
|
|
@@ -26,7 +26,7 @@ export declare class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
26
26
|
glossary?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The source language code. This parameter is optional. If not
|
|
29
|
+
* The source language code. This parameter is optional. If you do not specify this parameter, the language is automatically detected. You can set this parameter to auto for language detection.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* auto
|
|
@@ -34,7 +34,7 @@ export declare class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
34
34
|
sourceLanguage?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The list of
|
|
37
|
+
* The list of text to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
|
|
38
38
|
*
|
|
39
39
|
* This parameter is required.
|
|
40
40
|
*
|
|
@@ -44,7 +44,7 @@ export declare class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
44
44
|
sourceTextList?: string[];
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* The target language code. This parameter is required. More than 100 language
|
|
47
|
+
* The target language code. This parameter is required. More than 100 language pairs are supported. For details, see the supported language pairs list.
|
|
48
48
|
*
|
|
49
49
|
* This parameter is required.
|
|
50
50
|
*
|
|
@@ -54,7 +54,7 @@ export declare class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
54
54
|
targetLanguage?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The format of the
|
|
57
|
+
* The format of the translated text. Valid values: html (web page format. Setting this parameter processes the source and translated text in HTML format) and text (text format. Setting this parameter processes the source and translated text as plain text without format processing).
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* e-commerce-title
|