@alicloud/aidge20260428 5.12.2 → 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 +774 -630
- package/dist/client.js +863 -630
- 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 +65 -8
- package/dist/models/AiTryOnRequest.js +10 -0
- package/dist/models/AiTryOnRequest.js.map +1 -1
- package/dist/models/AiTryOnResponseBody.d.ts +8 -8
- 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/DocumentTranslateRequest.d.ts +10 -7
- package/dist/models/DocumentTranslateRequest.js.map +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
- 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 +62 -0
- package/dist/models/ProductVideoGenerationRequest.js +71 -0
- package/dist/models/ProductVideoGenerationRequest.js.map +1 -0
- package/dist/models/ProductVideoGenerationResponse.d.ts +19 -0
- package/dist/models/ProductVideoGenerationResponse.js +69 -0
- package/dist/models/ProductVideoGenerationResponse.js.map +1 -0
- package/dist/models/ProductVideoGenerationResponseBody.d.ts +86 -0
- package/dist/models/ProductVideoGenerationResponseBody.js +92 -0
- package/dist/models/ProductVideoGenerationResponseBody.js.map +1 -0
- package/dist/models/ProductVideoGenerationShrinkRequest.d.ts +62 -0
- package/dist/models/ProductVideoGenerationShrinkRequest.js +68 -0
- package/dist/models/ProductVideoGenerationShrinkRequest.js.map +1 -0
- 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/VirtualTryOnResponseBody.d.ts +7 -6
- package/dist/models/VirtualTryOnResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +23 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +882 -630
- package/src/models/AddDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/AiTryOnRequest.ts +75 -8
- package/src/models/AiTryOnResponseBody.ts +8 -8
- package/src/models/CategoryAttributeMatchResponseBody.ts +3 -0
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/DocumentTranslateRequest.ts +10 -7
- package/src/models/DocumentTranslateResponseBody.ts +3 -3
- 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 +88 -0
- package/src/models/ProductVideoGenerationResponse.ts +40 -0
- package/src/models/ProductVideoGenerationResponseBody.ts +124 -0
- package/src/models/ProductVideoGenerationShrinkRequest.ts +85 -0
- 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/VirtualTryOnResponseBody.ts +7 -6
- package/src/models/model.ts +9 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The similarity score
|
|
8
|
+
* The similarity score. Valid values: 0 to 1.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 0.53
|
|
@@ -13,7 +13,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara
|
|
|
13
13
|
score?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID of the
|
|
16
|
+
* The ID of the retrieved product.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 123
|
|
@@ -21,10 +21,10 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara
|
|
|
21
21
|
skuId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The name of the
|
|
24
|
+
* The name of the retrieved product.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
*
|
|
27
|
+
* Bright Dairy Milk 500ml
|
|
28
28
|
*/
|
|
29
29
|
skuName?: string;
|
|
30
30
|
static names(): { [key: string]: string } {
|
|
@@ -55,7 +55,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara
|
|
|
55
55
|
export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The
|
|
58
|
+
* The retrieval rank.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 1
|
|
@@ -63,7 +63,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
|
|
|
63
63
|
rank?: number;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The similarity score
|
|
66
|
+
* The similarity score. Valid values: 0 to 1.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* 0.82
|
|
@@ -71,7 +71,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
|
|
|
71
71
|
score?: number;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The ID of the
|
|
74
|
+
* The ID of the retrieved product.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* 123
|
|
@@ -79,10 +79,10 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
|
|
|
79
79
|
skuId?: string;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The name of the
|
|
82
|
+
* The name of the retrieved product.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
|
-
*
|
|
85
|
+
* Bright Dairy Milk 500ml
|
|
86
86
|
*/
|
|
87
87
|
skuName?: string;
|
|
88
88
|
static names(): { [key: string]: string } {
|
|
@@ -115,15 +115,15 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
|
|
|
115
115
|
export class MerchandisePlacementDetectionResponseBodyDataData extends $dara.Model {
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The detection box
|
|
118
|
+
* The coordinates of the detection box in the [x1,y1,x2,y2] format.
|
|
119
119
|
*/
|
|
120
120
|
bbox?: number[];
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The
|
|
123
|
+
* The reason for the failure of the detection box. This parameter is null if the detection is successful.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
|
-
* "
|
|
126
|
+
* "Embedding failed"
|
|
127
127
|
*/
|
|
128
128
|
error?: string;
|
|
129
129
|
/**
|
|
@@ -136,12 +136,12 @@ export class MerchandisePlacementDetectionResponseBodyDataData extends $dara.Mod
|
|
|
136
136
|
idx?: number;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
* The top-1
|
|
139
|
+
* The top-1 retrieved product for the detection box.
|
|
140
140
|
*/
|
|
141
141
|
top1?: MerchandisePlacementDetectionResponseBodyDataDataTop1;
|
|
142
142
|
/**
|
|
143
143
|
* @remarks
|
|
144
|
-
* The list of top-K
|
|
144
|
+
* The list of top-K retrieved products for the detection box.
|
|
145
145
|
*/
|
|
146
146
|
topk?: MerchandisePlacementDetectionResponseBodyDataDataTopk[];
|
|
147
147
|
static names(): { [key: string]: string } {
|
|
@@ -198,7 +198,7 @@ export class MerchandisePlacementDetectionResponseBodyData extends $dara.Model {
|
|
|
198
198
|
data?: MerchandisePlacementDetectionResponseBodyDataData[];
|
|
199
199
|
/**
|
|
200
200
|
* @remarks
|
|
201
|
-
* The usage information
|
|
201
|
+
* The usage information. The key is the usage metric name and the value is the count.
|
|
202
202
|
*
|
|
203
203
|
* @example
|
|
204
204
|
* {"ProcessingCount":1}
|
|
@@ -238,7 +238,7 @@ export class MerchandisePlacementDetectionResponseBodyData extends $dara.Model {
|
|
|
238
238
|
export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
|
|
239
239
|
/**
|
|
240
240
|
* @remarks
|
|
241
|
-
* The error code. This parameter is not returned
|
|
241
|
+
* The error code. This parameter is not returned when the call is successful.
|
|
242
242
|
*
|
|
243
243
|
* @example
|
|
244
244
|
* 200
|
|
@@ -246,12 +246,12 @@ export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
|
|
|
246
246
|
code?: string;
|
|
247
247
|
/**
|
|
248
248
|
* @remarks
|
|
249
|
-
* The display detection
|
|
249
|
+
* The display detection results.
|
|
250
250
|
*/
|
|
251
251
|
data?: MerchandisePlacementDetectionResponseBodyData;
|
|
252
252
|
/**
|
|
253
253
|
* @remarks
|
|
254
|
-
* The error message. This parameter is not returned
|
|
254
|
+
* The error message. This parameter is not returned when the call is successful.
|
|
255
255
|
*
|
|
256
256
|
* @example
|
|
257
257
|
* OK
|
|
@@ -269,7 +269,7 @@ export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
|
|
|
269
269
|
* @remarks
|
|
270
270
|
* Indicates whether the call is successful. Valid values:
|
|
271
271
|
* - true: The call is successful.
|
|
272
|
-
* - false: The call
|
|
272
|
+
* - false: The call fails.
|
|
273
273
|
*
|
|
274
274
|
* @example
|
|
275
275
|
* True
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class MerchandisePriceTagDetectionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The HTTP
|
|
8
|
+
* The HTTP or HTTPS URL of the image to be detected.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -63,7 +63,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultGrounding extends
|
|
|
63
63
|
coverage?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The
|
|
66
|
+
* The list of regions.
|
|
67
67
|
*/
|
|
68
68
|
regions?: MerchandisePriceTagDetectionResponseBodyDataResultGroundingRegions[];
|
|
69
69
|
static names(): { [key: string]: string } {
|
|
@@ -168,7 +168,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags extends
|
|
|
168
168
|
originalPrice?: string;
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
* The selling price, retained as a string
|
|
171
|
+
* The selling price, retained as a string.
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* 5.50
|
|
@@ -176,7 +176,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags extends
|
|
|
176
176
|
price?: string;
|
|
177
177
|
/**
|
|
178
178
|
* @remarks
|
|
179
|
-
* The associated product
|
|
179
|
+
* The code of the associated product.
|
|
180
180
|
*
|
|
181
181
|
* @example
|
|
182
182
|
* 001
|
|
@@ -184,7 +184,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags extends
|
|
|
184
184
|
skuCode?: string;
|
|
185
185
|
/**
|
|
186
186
|
* @remarks
|
|
187
|
-
* The associated product
|
|
187
|
+
* The name of the associated product.
|
|
188
188
|
*
|
|
189
189
|
* @example
|
|
190
190
|
* sku_test
|
|
@@ -225,17 +225,17 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags extends
|
|
|
225
225
|
export class MerchandisePriceTagDetectionResponseBodyDataResult extends $dara.Model {
|
|
226
226
|
/**
|
|
227
227
|
* @remarks
|
|
228
|
-
* The
|
|
228
|
+
* The grounding information.
|
|
229
229
|
*/
|
|
230
230
|
grounding?: MerchandisePriceTagDetectionResponseBodyDataResultGrounding;
|
|
231
231
|
/**
|
|
232
232
|
* @remarks
|
|
233
|
-
* The price
|
|
233
|
+
* The list of price tags. This can be an empty array if no price tags are recognized.
|
|
234
234
|
*/
|
|
235
235
|
priceTags?: MerchandisePriceTagDetectionResponseBodyDataResultPriceTags[];
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
*
|
|
238
|
+
* Fixed to priceTag.
|
|
239
239
|
*
|
|
240
240
|
* @example
|
|
241
241
|
* priceTag
|
|
@@ -275,7 +275,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResult extends $dara.Mo
|
|
|
275
275
|
export class MerchandisePriceTagDetectionResponseBodyData extends $dara.Model {
|
|
276
276
|
/**
|
|
277
277
|
* @remarks
|
|
278
|
-
* The detection and recognition result
|
|
278
|
+
* The details of the detection and recognition result.
|
|
279
279
|
*/
|
|
280
280
|
result?: MerchandisePriceTagDetectionResponseBodyDataResult;
|
|
281
281
|
/**
|
|
@@ -326,12 +326,12 @@ export class MerchandisePriceTagDetectionResponseBody extends $dara.Model {
|
|
|
326
326
|
code?: string;
|
|
327
327
|
/**
|
|
328
328
|
* @remarks
|
|
329
|
-
* The
|
|
329
|
+
* The recognition result.
|
|
330
330
|
*/
|
|
331
331
|
data?: MerchandisePriceTagDetectionResponseBodyData;
|
|
332
332
|
/**
|
|
333
333
|
* @remarks
|
|
334
|
-
* The
|
|
334
|
+
* The returned message or failure description.
|
|
335
335
|
*
|
|
336
336
|
* @example
|
|
337
337
|
* Success
|
|
@@ -347,7 +347,7 @@ export class MerchandisePriceTagDetectionResponseBody extends $dara.Model {
|
|
|
347
347
|
requestId?: string;
|
|
348
348
|
/**
|
|
349
349
|
* @remarks
|
|
350
|
-
* Indicates whether the call
|
|
350
|
+
* Indicates whether the call was successful.
|
|
351
351
|
*
|
|
352
352
|
* @example
|
|
353
353
|
* True
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class MerchandiseSceneDetectionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The HTTP
|
|
8
|
+
* The HTTP or HTTPS URL of the display image to be detected.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -6,6 +6,9 @@ export class MerchandiseSceneDetectionResponseBodyDataResultGroundingRegions ext
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* 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.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* [0,130,1000,850]
|
|
9
12
|
*/
|
|
10
13
|
bbox2d?: number[];
|
|
11
14
|
/**
|
|
@@ -21,7 +24,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultGroundingRegions ext
|
|
|
21
24
|
* The recognized text.
|
|
22
25
|
*
|
|
23
26
|
* @example
|
|
24
|
-
* Multi-
|
|
27
|
+
* Multi-layer product display shelf
|
|
25
28
|
*/
|
|
26
29
|
text?: string;
|
|
27
30
|
static names(): { [key: string]: string } {
|
|
@@ -95,7 +98,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultGrounding extends $d
|
|
|
95
98
|
export class MerchandiseSceneDetectionResponseBodyDataResultScenesSceneLocation extends $dara.Model {
|
|
96
99
|
/**
|
|
97
100
|
* @remarks
|
|
98
|
-
* The x-coordinate of the
|
|
101
|
+
* The x-coordinate of the area point.
|
|
99
102
|
*
|
|
100
103
|
* @example
|
|
101
104
|
* 0.431
|
|
@@ -103,7 +106,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenesSceneLocation
|
|
|
103
106
|
x?: number;
|
|
104
107
|
/**
|
|
105
108
|
* @remarks
|
|
106
|
-
* The y-coordinate of the
|
|
109
|
+
* The y-coordinate of the area point.
|
|
107
110
|
*
|
|
108
111
|
* @example
|
|
109
112
|
* 0.973
|
|
@@ -143,7 +146,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenes extends $dara
|
|
|
143
146
|
areaRate?: number;
|
|
144
147
|
/**
|
|
145
148
|
* @remarks
|
|
146
|
-
* Optional. The purity metric for proprietary products. The specific business
|
|
149
|
+
* Optional. The purity metric for proprietary products. The specific business definition is subject to the recognition service.
|
|
147
150
|
*
|
|
148
151
|
* @example
|
|
149
152
|
* 0
|
|
@@ -151,7 +154,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenes extends $dara
|
|
|
151
154
|
ownPurity?: number;
|
|
152
155
|
/**
|
|
153
156
|
* @remarks
|
|
154
|
-
* Optional. The display
|
|
157
|
+
* Optional. The display fullness metric.
|
|
155
158
|
*
|
|
156
159
|
* @example
|
|
157
160
|
* 0
|
|
@@ -162,17 +165,20 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenes extends $dara
|
|
|
162
165
|
* The display name of the scene. If omitted, the value is an empty string.
|
|
163
166
|
*
|
|
164
167
|
* @example
|
|
165
|
-
*
|
|
168
|
+
* Refrigerated display cabinet
|
|
166
169
|
*/
|
|
167
170
|
sceneActualName?: string;
|
|
168
171
|
/**
|
|
169
172
|
* @remarks
|
|
170
173
|
* The center point of the scene, which retains the original normalized coordinates. If omitted, the value is an empty array.
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* [0.501,0.493]
|
|
171
177
|
*/
|
|
172
178
|
sceneCenter?: number[];
|
|
173
179
|
/**
|
|
174
180
|
* @remarks
|
|
175
|
-
* The list of
|
|
181
|
+
* 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.
|
|
176
182
|
*/
|
|
177
183
|
sceneLocation?: MerchandiseSceneDetectionResponseBodyDataResultScenesSceneLocation[];
|
|
178
184
|
/**
|
|
@@ -185,7 +191,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenes extends $dara
|
|
|
185
191
|
sceneName?: string;
|
|
186
192
|
/**
|
|
187
193
|
* @remarks
|
|
188
|
-
* Optional. The shelf distribution proportion metric. The specific business
|
|
194
|
+
* Optional. The shelf distribution proportion metric. The specific business definition is subject to the recognition service.
|
|
189
195
|
*
|
|
190
196
|
* @example
|
|
191
197
|
* 0
|
|
@@ -245,7 +251,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResult extends $dara.Model
|
|
|
245
251
|
scenes?: MerchandiseSceneDetectionResponseBodyDataResultScenes[];
|
|
246
252
|
/**
|
|
247
253
|
* @remarks
|
|
248
|
-
* Fixed value: scene.
|
|
254
|
+
* The type. Fixed value: scene.
|
|
249
255
|
*
|
|
250
256
|
* @example
|
|
251
257
|
* scene
|
|
@@ -341,7 +347,7 @@ export class MerchandiseSceneDetectionResponseBody extends $dara.Model {
|
|
|
341
347
|
data?: MerchandiseSceneDetectionResponseBodyData;
|
|
342
348
|
/**
|
|
343
349
|
* @remarks
|
|
344
|
-
* The
|
|
350
|
+
* The return message or failure description.
|
|
345
351
|
*
|
|
346
352
|
* @example
|
|
347
353
|
* Success
|
|
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGroundingRegions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The bounding box coordinates in the format of `[top-left x, top-left y, bottom-right x, bottom-right y]`.
|
|
8
|
+
* 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.
|
|
9
9
|
*/
|
|
10
10
|
bbox2d?: number[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The target category. For
|
|
13
|
+
* The target category. For enumerations, see the following table.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* milk_powder
|
|
@@ -102,7 +102,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult
|
|
|
102
102
|
grounding?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGrounding;
|
|
103
103
|
/**
|
|
104
104
|
* @remarks
|
|
105
|
-
*
|
|
105
|
+
* Indicates whether the image is recaptured.
|
|
106
106
|
*
|
|
107
107
|
* @example
|
|
108
108
|
* true
|
|
@@ -110,7 +110,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult
|
|
|
110
110
|
isFake?: boolean;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The detection type
|
|
113
|
+
* The detection type, which is fixed to canBottom.
|
|
114
114
|
*
|
|
115
115
|
* @example
|
|
116
116
|
* canBottom
|
|
@@ -152,7 +152,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyData exten
|
|
|
152
152
|
result?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult;
|
|
153
153
|
/**
|
|
154
154
|
* @remarks
|
|
155
|
-
* The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, an empty object
|
|
155
|
+
* The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, the value is an empty object.
|
|
156
156
|
*
|
|
157
157
|
* @example
|
|
158
158
|
* {"ProcessingCount":1}
|
|
@@ -203,7 +203,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBody extends $
|
|
|
203
203
|
data?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyData;
|
|
204
204
|
/**
|
|
205
205
|
* @remarks
|
|
206
|
-
* The
|
|
206
|
+
* The return message or failure description.
|
|
207
207
|
*
|
|
208
208
|
* @example
|
|
209
209
|
* Success
|
|
@@ -219,7 +219,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBody extends $
|
|
|
219
219
|
requestId?: string;
|
|
220
220
|
/**
|
|
221
221
|
* @remarks
|
|
222
|
-
*
|
|
222
|
+
* Indicates whether the call is successful. A valid business conclusion does not mean the review is passed.
|
|
223
223
|
*
|
|
224
224
|
* @example
|
|
225
225
|
* True
|
|
@@ -5,12 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The bounding box coordinates.
|
|
9
|
+
* - `[top-left x, top-left y, bottom-right x, bottom-right y]`
|
|
10
|
+
* - Value range: 0 to 1000.
|
|
11
|
+
* - The left value must be less than the right value, and the top value must be less than the bottom value.
|
|
9
12
|
*/
|
|
10
13
|
bbox2d?: number[];
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
13
|
-
* The category
|
|
16
|
+
* The target category. For valid values, see the following table.
|
|
14
17
|
*
|
|
15
18
|
* @example
|
|
16
19
|
* milk_powder
|
|
@@ -18,7 +21,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGro
|
|
|
18
21
|
label?: string;
|
|
19
22
|
/**
|
|
20
23
|
* @remarks
|
|
21
|
-
* The confirmed short name or text,
|
|
24
|
+
* The confirmed short name or text, up to 24 characters. If the text is unclear, an empty string is returned.
|
|
22
25
|
*
|
|
23
26
|
* @example
|
|
24
27
|
* Milk powder
|
|
@@ -55,7 +58,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGro
|
|
|
55
58
|
export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding extends $dara.Model {
|
|
56
59
|
/**
|
|
57
60
|
* @remarks
|
|
58
|
-
* The coverage
|
|
61
|
+
* The coverage. Valid values:
|
|
59
62
|
* - `complete`: The relevant visible targets are complete.
|
|
60
63
|
* - `partial`: Only some targets are valid or recognizable.
|
|
61
64
|
*
|
|
@@ -65,7 +68,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGro
|
|
|
65
68
|
coverage?: string;
|
|
66
69
|
/**
|
|
67
70
|
* @remarks
|
|
68
|
-
* The array
|
|
71
|
+
* The target array, containing up to 12 items. This array can be empty if no relevant targets are found.
|
|
69
72
|
*/
|
|
70
73
|
regions?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions[];
|
|
71
74
|
static names(): { [key: string]: string } {
|
|
@@ -97,7 +100,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGro
|
|
|
97
100
|
export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult extends $dara.Model {
|
|
98
101
|
/**
|
|
99
102
|
* @remarks
|
|
100
|
-
* The supplementary element grounding
|
|
103
|
+
* The supplementary element grounding result.
|
|
101
104
|
*/
|
|
102
105
|
grounding?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding;
|
|
103
106
|
/**
|
|
@@ -129,7 +132,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult ex
|
|
|
129
132
|
photoStatus?: number;
|
|
130
133
|
/**
|
|
131
134
|
* @remarks
|
|
132
|
-
* The confidence score
|
|
135
|
+
* The recapture confidence score.
|
|
133
136
|
*
|
|
134
137
|
* @example
|
|
135
138
|
* 0.89
|
|
@@ -137,7 +140,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult ex
|
|
|
137
140
|
score?: number;
|
|
138
141
|
/**
|
|
139
142
|
* @remarks
|
|
140
|
-
*
|
|
143
|
+
* Fixed to `boxCode`.
|
|
141
144
|
*
|
|
142
145
|
* @example
|
|
143
146
|
* boxCode
|
|
@@ -185,7 +188,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyData extends
|
|
|
185
188
|
result?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult;
|
|
186
189
|
/**
|
|
187
190
|
* @remarks
|
|
188
|
-
* The usage information.
|
|
191
|
+
* The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, the value is an empty object.
|
|
189
192
|
*
|
|
190
193
|
* @example
|
|
191
194
|
* {"ProcessingCount":1}
|
|
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class PrepaidTextTranslateRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or
|
|
8
|
+
* 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.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* Alibaba
|
|
11
|
+
* Alibaba-Product
|
|
12
12
|
*/
|
|
13
13
|
bizName?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format
|
|
16
|
+
* 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).
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* text
|
|
@@ -21,7 +21,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
21
21
|
formatType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The intervention glossary
|
|
24
|
+
* 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.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* custom_glossary
|
|
@@ -29,7 +29,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
29
29
|
glossary?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The source language code. This parameter is optional. If not
|
|
32
|
+
* 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.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* auto
|
|
@@ -37,7 +37,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
37
37
|
sourceLanguage?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The list of
|
|
40
|
+
* 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.
|
|
41
41
|
*
|
|
42
42
|
* This parameter is required.
|
|
43
43
|
*
|
|
@@ -47,7 +47,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
47
47
|
sourceTextList?: string[];
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The target language code. This parameter is required. More than 100 language
|
|
50
|
+
* The target language code. This parameter is required. More than 100 language pairs are supported. For details, see the supported language pairs list.
|
|
51
51
|
*
|
|
52
52
|
* This parameter is required.
|
|
53
53
|
*
|
|
@@ -57,7 +57,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
57
57
|
targetLanguage?: string;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The format of the
|
|
60
|
+
* 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).
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* e-commerce-title
|
|
@@ -24,7 +24,7 @@ export class PrepaidTextTranslateResponseBodyDataTranslations extends $dara.Mode
|
|
|
24
24
|
* The translated text.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
* Hello
|
|
27
|
+
* Hello world
|
|
28
28
|
*/
|
|
29
29
|
translatedText?: string;
|
|
30
30
|
static names(): { [key: string]: string } {
|
|
@@ -55,12 +55,15 @@ export class PrepaidTextTranslateResponseBodyDataTranslations extends $dara.Mode
|
|
|
55
55
|
export class PrepaidTextTranslateResponseBodyData extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The translation
|
|
58
|
+
* The list of translation results. Each element corresponds to a translation result for an item in the input text list.
|
|
59
59
|
*/
|
|
60
60
|
translations?: PrepaidTextTranslateResponseBodyDataTranslations[];
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The usage information,
|
|
63
|
+
* The usage information, which includes the number of input characters.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* {"InputCharacterCount":5}
|
|
64
67
|
*/
|
|
65
68
|
usageMap?: { [key: string]: number };
|
|
66
69
|
static names(): { [key: string]: string } {
|
|
@@ -95,7 +98,7 @@ export class PrepaidTextTranslateResponseBodyData extends $dara.Model {
|
|
|
95
98
|
export class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
96
99
|
/**
|
|
97
100
|
* @remarks
|
|
98
|
-
* The response code.
|
|
101
|
+
* The response code. If the call is successful, success is returned.
|
|
99
102
|
*
|
|
100
103
|
* @example
|
|
101
104
|
* success
|
|
@@ -103,12 +106,12 @@ export class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
|
103
106
|
code?: string;
|
|
104
107
|
/**
|
|
105
108
|
* @remarks
|
|
106
|
-
* The translation result data,
|
|
109
|
+
* The translation result data, which includes the translation list and usage information.
|
|
107
110
|
*/
|
|
108
111
|
data?: PrepaidTextTranslateResponseBodyData;
|
|
109
112
|
/**
|
|
110
113
|
* @remarks
|
|
111
|
-
* The error message.
|
|
114
|
+
* The error message. If the call is successful, Success is returned. If an exception occurs, a specific error message is returned, such as "The parameter contains sensitive information. Try another input".
|
|
112
115
|
*
|
|
113
116
|
* @example
|
|
114
117
|
* Success
|
|
@@ -116,7 +119,7 @@ export class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
|
116
119
|
message?: string;
|
|
117
120
|
/**
|
|
118
121
|
* @remarks
|
|
119
|
-
* The request
|
|
122
|
+
* The ID of the request, which is used to identify a unique API call.
|
|
120
123
|
*
|
|
121
124
|
* @example
|
|
122
125
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -124,7 +127,7 @@ export class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
|
124
127
|
requestId?: string;
|
|
125
128
|
/**
|
|
126
129
|
* @remarks
|
|
127
|
-
* Indicates whether the call is successful. A value of true indicates success
|
|
130
|
+
* Indicates whether the call is successful. A value of true indicates success, and a value of false indicates failure.
|
|
128
131
|
*
|
|
129
132
|
* @example
|
|
130
133
|
* True
|