@alicloud/aidge20260428 5.7.0 → 5.8.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 +286 -78
- package/dist/client.js +405 -78
- package/dist/client.js.map +1 -1
- package/dist/models/AiTryOnRequest.d.ts +11 -2
- package/dist/models/AiTryOnRequest.js.map +1 -1
- package/dist/models/AiTryOnResponseBody.d.ts +35 -1
- package/dist/models/AiTryOnResponseBody.js.map +1 -1
- package/dist/models/DiduiAreaDeductionProRequest.d.ts +33 -0
- package/dist/models/DiduiAreaDeductionProRequest.js +60 -0
- package/dist/models/DiduiAreaDeductionProRequest.js.map +1 -0
- package/dist/models/DiduiAreaDeductionProResponse.d.ts +19 -0
- package/dist/models/DiduiAreaDeductionProResponse.js +69 -0
- package/dist/models/DiduiAreaDeductionProResponse.js.map +1 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.d.ts +70 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.js +88 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionRequest.d.ts +23 -0
- package/dist/models/GeneralRephotographyDetectionRequest.js +58 -0
- package/dist/models/GeneralRephotographyDetectionRequest.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionResponse.d.ts +19 -0
- package/dist/models/GeneralRephotographyDetectionResponse.js +69 -0
- package/dist/models/GeneralRephotographyDetectionResponse.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +170 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.js +172 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +1 -1
- package/dist/models/ImageTranslationProRequest.d.ts +3 -3
- package/dist/models/ImageTranslationStandardRequest.d.ts +10 -10
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
- package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +39 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.js +62 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.d.ts +19 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.js +69 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +118 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.js +124 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +13 -5
- package/dist/models/MerchandisePlacementDetectionRequest.js +2 -0
- package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +7 -7
- package/dist/models/PetHealthAnalysisRequest.d.ts +36 -0
- package/dist/models/PetHealthAnalysisRequest.js +65 -0
- package/dist/models/PetHealthAnalysisRequest.js.map +1 -0
- package/dist/models/PetHealthAnalysisResponse.d.ts +19 -0
- package/dist/models/PetHealthAnalysisResponse.js +69 -0
- package/dist/models/PetHealthAnalysisResponse.js.map +1 -0
- package/dist/models/PetHealthAnalysisResponseBody.d.ts +70 -0
- package/dist/models/PetHealthAnalysisResponseBody.js +88 -0
- package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +36 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.js +62 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +6 -6
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +6 -6
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +46 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +424 -78
- package/src/models/AiTryOnRequest.ts +11 -2
- package/src/models/AiTryOnResponseBody.ts +35 -1
- package/src/models/DiduiAreaDeductionProRequest.ts +48 -0
- package/src/models/DiduiAreaDeductionProResponse.ts +40 -0
- package/src/models/DiduiAreaDeductionProResponseBody.ts +104 -0
- package/src/models/GeneralRephotographyDetectionRequest.ts +36 -0
- package/src/models/GeneralRephotographyDetectionResponse.ts +40 -0
- package/src/models/GeneralRephotographyDetectionResponseBody.ts +259 -0
- package/src/models/ImageTranslationPlusResponseBody.ts +1 -1
- package/src/models/ImageTranslationProRequest.ts +3 -3
- package/src/models/ImageTranslationStandardRequest.ts +10 -10
- package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
- package/src/models/MerchandisePlacementDetectionProRequest.ts +56 -0
- package/src/models/MerchandisePlacementDetectionProResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionProResponseBody.ts +177 -0
- package/src/models/MerchandisePlacementDetectionRequest.ts +15 -5
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +7 -7
- package/src/models/PetHealthAnalysisRequest.ts +56 -0
- package/src/models/PetHealthAnalysisResponse.ts +40 -0
- package/src/models/PetHealthAnalysisResponseBody.ts +104 -0
- package/src/models/PetHealthAnalysisShrinkRequest.ts +53 -0
- package/src/models/TextTranslateRequest.ts +6 -6
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +6 -6
- package/src/models/model.ts +21 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationPlusResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The asynchronous task ID. Use this ID to poll for results through the queryTaskResult
|
|
5
|
+
* The asynchronous task ID. Use this ID to poll for results through the queryTaskResult operation.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* task-abc123
|
|
@@ -42,7 +42,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
42
42
|
includingProductArea?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The source language code. This parameter is required. For supported language directions, see [Language
|
|
45
|
+
* The source language code. This parameter is required. For supported language directions, see [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
46
46
|
*
|
|
47
47
|
* This parameter is required.
|
|
48
48
|
*
|
|
@@ -52,7 +52,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
52
52
|
sourceLanguage?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The target language code. This parameter is required. For supported language directions, see [Language
|
|
55
|
+
* The target language code. This parameter is required. For supported language directions, see [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
56
56
|
*
|
|
57
57
|
* This parameter is required.
|
|
58
58
|
*
|
|
@@ -62,7 +62,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
62
62
|
targetLanguage?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* Specifies whether to translate brand names on
|
|
65
|
+
* Specifies whether to translate brand names on the image. This parameter is optional. Default value: false. This helps you protect brand name information from being translated.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* false
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The intervention glossary ID.
|
|
5
|
+
* The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* glossary_1
|
|
@@ -10,10 +10,10 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
10
10
|
glossary?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* - Image URL:
|
|
14
|
-
* - Format: png, jpeg, jpg, bmp, webp
|
|
15
|
-
* - Pixels:
|
|
16
|
-
* - File size:
|
|
13
|
+
* - Image URL: The URL must be publicly accessible.
|
|
14
|
+
* - Format: png, jpeg, jpg, bmp, or webp.
|
|
15
|
+
* - Pixels: The width and height must not exceed 4000 pixels each.
|
|
16
|
+
* - File size: The original file must be 10 MB or smaller.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -23,7 +23,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
23
23
|
imageUrl?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* Specifies whether to translate text on the product area of
|
|
26
|
+
* Specifies whether to translate text on the product area of the image. This parameter is optional. Default value: false. This helps protect information by preventing translation of embedded content such as product names.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* false
|
|
@@ -31,7 +31,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
31
31
|
includingProductArea?: boolean;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The source language code.
|
|
34
|
+
* The source language code. This parameter is required. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
35
35
|
*
|
|
36
36
|
* This parameter is required.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
41
41
|
sourceLanguage?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The target language code.
|
|
44
|
+
* The target language code. This parameter is required. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
45
45
|
*
|
|
46
46
|
* This parameter is required.
|
|
47
47
|
*
|
|
@@ -51,7 +51,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
51
51
|
targetLanguage?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* Specifies whether to translate brand names on
|
|
54
|
+
* Specifies whether to translate brand names on the image. This parameter is optional. Default value: false. This helps protect brand name information from being translated.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* false
|
|
@@ -59,7 +59,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
59
59
|
translatingBrandInTheProduct?: boolean;
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* Specifies whether to return layer information such as text position, font, and color. If you set this parameter to true, layer information is returned
|
|
62
|
+
* Specifies whether to return layer information such as text position, font, and color. If you set this parameter to true, layer information is returned for secondary editing through an image editor. Default value: false.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* false
|
|
@@ -150,7 +150,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfoTextAreasTe
|
|
|
150
150
|
language?: string;
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
|
-
* The
|
|
153
|
+
* The number of lines.
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
156
|
* 1
|
|
@@ -231,7 +231,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfoTextAreas e
|
|
|
231
231
|
horizontalLayout?: string;
|
|
232
232
|
/**
|
|
233
233
|
* @remarks
|
|
234
|
-
* The
|
|
234
|
+
* The number of lines.
|
|
235
235
|
*
|
|
236
236
|
* @example
|
|
237
237
|
* 2
|
|
@@ -272,12 +272,12 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $d
|
|
|
272
272
|
font?: string[];
|
|
273
273
|
/**
|
|
274
274
|
* @remarks
|
|
275
|
-
* The product area
|
|
275
|
+
* The rectangle of the product area.
|
|
276
276
|
*/
|
|
277
277
|
goodsRects?: ImageTranslationStandardResponseBodyDataEditInfoGoodsRects;
|
|
278
278
|
/**
|
|
279
279
|
* @remarks
|
|
280
|
-
* The product image
|
|
280
|
+
* The URL of the product image.
|
|
281
281
|
*
|
|
282
282
|
* @example
|
|
283
283
|
* https://xiuxiu-pro.meitudata.com/posters/34d78f9157e5560a4d612949ca6f6485.jpg
|
|
@@ -293,7 +293,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $d
|
|
|
293
293
|
languages?: string[];
|
|
294
294
|
/**
|
|
295
295
|
* @remarks
|
|
296
|
-
* The original image
|
|
296
|
+
* The URL of the original image.
|
|
297
297
|
*
|
|
298
298
|
* @example
|
|
299
299
|
* https://xiuxiu-pro.meitudata.com/posters/34d78f9157e5560a4d612949ca6f6485.jpg
|
|
@@ -301,7 +301,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $d
|
|
|
301
301
|
pictUrl?: string;
|
|
302
302
|
/**
|
|
303
303
|
* @remarks
|
|
304
|
-
* The repaired image
|
|
304
|
+
* The URL of the repaired image.
|
|
305
305
|
*
|
|
306
306
|
* @example
|
|
307
307
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.png
|
|
@@ -385,7 +385,7 @@ export declare class ImageTranslationStandardResponseBodyData extends $dara.Mode
|
|
|
385
385
|
export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
386
386
|
/**
|
|
387
387
|
* @remarks
|
|
388
|
-
* The response code.
|
|
388
|
+
* The response code. 200 indicates a successful call. For other response codes, refer to the error code information.
|
|
389
389
|
*
|
|
390
390
|
* @example
|
|
391
391
|
* 200
|
|
@@ -393,7 +393,7 @@ export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
393
393
|
code?: string;
|
|
394
394
|
/**
|
|
395
395
|
* @remarks
|
|
396
|
-
* The translation result data, including the translated image
|
|
396
|
+
* The translation result data, including the URL of the translated image and usage information.
|
|
397
397
|
*/
|
|
398
398
|
data?: ImageTranslationStandardResponseBodyData;
|
|
399
399
|
/**
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class MerchandisePlacementDetectionProRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The HTTPS URL of the display image to detect.
|
|
6
|
+
*
|
|
7
|
+
* This parameter is required.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* https://example.com/image.jpg
|
|
11
|
+
*/
|
|
12
|
+
imageUrl?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The detection rule. When non-empty, this value takes priority as the model prompt.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* Identify all Genki Forest beverages on the shelf and mark their positions
|
|
19
|
+
*/
|
|
20
|
+
rule?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The product type. This parameter must be set to Genki Forest when Rule is empty.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* 元气森林
|
|
27
|
+
*/
|
|
28
|
+
type?: string;
|
|
29
|
+
static names(): {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
static types(): {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
};
|
|
35
|
+
validate(): void;
|
|
36
|
+
constructor(map?: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.MerchandisePlacementDetectionProRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class MerchandisePlacementDetectionProRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
imageUrl: 'ImageUrl',
|
|
43
|
+
rule: 'Rule',
|
|
44
|
+
type: 'Type',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
imageUrl: 'string',
|
|
50
|
+
rule: 'string',
|
|
51
|
+
type: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.MerchandisePlacementDetectionProRequest = MerchandisePlacementDetectionProRequest;
|
|
62
|
+
//# sourceMappingURL=MerchandisePlacementDetectionProRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MerchandisePlacementDetectionProRequest.js","sourceRoot":"","sources":["../../src/models/MerchandisePlacementDetectionProRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IA2BtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlDD,0FAkDC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { MerchandisePlacementDetectionProResponseBody } from "./MerchandisePlacementDetectionProResponseBody";
|
|
3
|
+
export declare class MerchandisePlacementDetectionProResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: MerchandisePlacementDetectionProResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.MerchandisePlacementDetectionProResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const MerchandisePlacementDetectionProResponseBody_1 = require("./MerchandisePlacementDetectionProResponseBody");
|
|
40
|
+
class MerchandisePlacementDetectionProResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: MerchandisePlacementDetectionProResponseBody_1.MerchandisePlacementDetectionProResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.MerchandisePlacementDetectionProResponse = MerchandisePlacementDetectionProResponse;
|
|
69
|
+
//# sourceMappingURL=MerchandisePlacementDetectionProResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MerchandisePlacementDetectionProResponse.js","sourceRoot":"","sources":["../../src/models/MerchandisePlacementDetectionProResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iHAA8G;AAG9G,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAIvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2FAA4C;SACnD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4FAiCC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class MerchandisePlacementDetectionProResponseBodyDataData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The normalized bounding box coordinates [x1,y1,x2,y2], with values in the range 0–1000.
|
|
6
|
+
*/
|
|
7
|
+
bbox2d?: number[];
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* The detected product name. The value is unknown if the name cannot be determined.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* unknown
|
|
14
|
+
*/
|
|
15
|
+
detectedSkuName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The bounding box index, starting from 1.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
23
|
+
idx?: number;
|
|
24
|
+
static names(): {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
27
|
+
static types(): {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
validate(): void;
|
|
31
|
+
constructor(map?: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
export declare class MerchandisePlacementDetectionProResponseBodyData extends $dara.Model {
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The number of valid bounding boxes.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 3
|
|
42
|
+
*/
|
|
43
|
+
boxCount?: number;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The list of per-box detection details.
|
|
47
|
+
*/
|
|
48
|
+
data?: MerchandisePlacementDetectionProResponseBodyDataData[];
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The usage information.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* {"ProcessingCount":1}
|
|
55
|
+
*/
|
|
56
|
+
usageMap?: {
|
|
57
|
+
[key: string]: number;
|
|
58
|
+
};
|
|
59
|
+
static names(): {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
static types(): {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
};
|
|
65
|
+
validate(): void;
|
|
66
|
+
constructor(map?: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
export declare class MerchandisePlacementDetectionProResponseBody extends $dara.Model {
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The error code.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* success
|
|
77
|
+
*/
|
|
78
|
+
code?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The detection result of product display detection Pro.
|
|
82
|
+
*/
|
|
83
|
+
data?: MerchandisePlacementDetectionProResponseBodyData;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The response message or failure description.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* Success
|
|
90
|
+
*/
|
|
91
|
+
message?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The request ID.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* 70CBEFDF-BB17-1EB3-8A21-569F3124738F
|
|
98
|
+
*/
|
|
99
|
+
requestId?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* Indicates whether the call is successful.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* True
|
|
106
|
+
*/
|
|
107
|
+
success?: boolean;
|
|
108
|
+
static names(): {
|
|
109
|
+
[key: string]: string;
|
|
110
|
+
};
|
|
111
|
+
static types(): {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
};
|
|
114
|
+
validate(): void;
|
|
115
|
+
constructor(map?: {
|
|
116
|
+
[key: string]: any;
|
|
117
|
+
});
|
|
118
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.MerchandisePlacementDetectionProResponseBody = exports.MerchandisePlacementDetectionProResponseBodyData = exports.MerchandisePlacementDetectionProResponseBodyDataData = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class MerchandisePlacementDetectionProResponseBodyDataData extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
bbox2d: 'Bbox2d',
|
|
43
|
+
detectedSkuName: 'DetectedSkuName',
|
|
44
|
+
idx: 'Idx',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
bbox2d: { 'type': 'array', 'itemType': 'number' },
|
|
50
|
+
detectedSkuName: 'string',
|
|
51
|
+
idx: 'number',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
if (Array.isArray(this.bbox2d)) {
|
|
56
|
+
$dara.Model.validateArray(this.bbox2d);
|
|
57
|
+
}
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
constructor(map) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.MerchandisePlacementDetectionProResponseBodyDataData = MerchandisePlacementDetectionProResponseBodyDataData;
|
|
65
|
+
class MerchandisePlacementDetectionProResponseBodyData extends $dara.Model {
|
|
66
|
+
static names() {
|
|
67
|
+
return {
|
|
68
|
+
boxCount: 'BoxCount',
|
|
69
|
+
data: 'Data',
|
|
70
|
+
usageMap: 'UsageMap',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
static types() {
|
|
74
|
+
return {
|
|
75
|
+
boxCount: 'number',
|
|
76
|
+
data: { 'type': 'array', 'itemType': MerchandisePlacementDetectionProResponseBodyDataData },
|
|
77
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
validate() {
|
|
81
|
+
if (Array.isArray(this.data)) {
|
|
82
|
+
$dara.Model.validateArray(this.data);
|
|
83
|
+
}
|
|
84
|
+
if (this.usageMap) {
|
|
85
|
+
$dara.Model.validateMap(this.usageMap);
|
|
86
|
+
}
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
constructor(map) {
|
|
90
|
+
super(map);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.MerchandisePlacementDetectionProResponseBodyData = MerchandisePlacementDetectionProResponseBodyData;
|
|
94
|
+
class MerchandisePlacementDetectionProResponseBody extends $dara.Model {
|
|
95
|
+
static names() {
|
|
96
|
+
return {
|
|
97
|
+
code: 'Code',
|
|
98
|
+
data: 'Data',
|
|
99
|
+
message: 'Message',
|
|
100
|
+
requestId: 'RequestId',
|
|
101
|
+
success: 'Success',
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
static types() {
|
|
105
|
+
return {
|
|
106
|
+
code: 'string',
|
|
107
|
+
data: MerchandisePlacementDetectionProResponseBodyData,
|
|
108
|
+
message: 'string',
|
|
109
|
+
requestId: 'string',
|
|
110
|
+
success: 'boolean',
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
validate() {
|
|
114
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
115
|
+
this.data.validate();
|
|
116
|
+
}
|
|
117
|
+
super.validate();
|
|
118
|
+
}
|
|
119
|
+
constructor(map) {
|
|
120
|
+
super(map);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.MerchandisePlacementDetectionProResponseBody = MerchandisePlacementDetectionProResponseBody;
|
|
124
|
+
//# sourceMappingURL=MerchandisePlacementDetectionProResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MerchandisePlacementDetectionProResponseBody.js","sourceRoot":"","sources":["../../src/models/MerchandisePlacementDetectionProResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oDAAqD,SAAQ,KAAK,CAAC,KAAK;IAsBnF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,iBAAiB;YAClC,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACjD,eAAe,EAAE,QAAQ;YACzB,GAAG,EAAE,QAAQ;SACd,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,oHAgDC;AAED,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;IAsB/E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,oDAAoD,EAAE;YAC3F,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;SACxE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnDD,4GAmDC;AAED,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAsC3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,gDAAgD;YACtD,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,oGAoEC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specify this parameter to use a custom API version. If you created a custom API during the trial phase, you can find the corresponding ApiId in the product console under
|
|
5
|
+
* Specify this parameter to use a custom API version. If you created a custom API during the trial phase, you can find the corresponding ApiId in the product console under Intelligent Inspection > API Management > My API.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* api_xxx
|
|
@@ -10,7 +10,7 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
10
10
|
apiId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The URL of the shelf or floor
|
|
13
|
+
* The URL of the original shelf or floor stack image to be recognized (accessible over the Internet or through OSS).
|
|
14
14
|
*
|
|
15
15
|
* This parameter is required.
|
|
16
16
|
*
|
|
@@ -20,7 +20,7 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
20
20
|
imageUrl?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The ID of the customer-specific SKU vector library, which determines which library is used for
|
|
23
|
+
* The ID of the customer-specific SKU vector library, which determines which library is used for retrieval. The library must be created in advance through the library creation process.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* rag_xxx
|
|
@@ -28,10 +28,18 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
28
28
|
ragId?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The
|
|
31
|
+
* The custom rule. Enter a detection prompt as the workflow input parameter rule. When this parameter is specified, the type parameter is not required (a dedicated rule branch is used). If Rule is empty, you must specify Type to start detection.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
|
-
*
|
|
34
|
+
* Please identify all visible beverage products in the image and return only a JSON array. Output format example: [{"bbox_2d":[100,200,250,600],"sku_name":"Coca-Cola"}]
|
|
35
|
+
*/
|
|
36
|
+
rule?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The business type (reserved for future routing by business line). The current release supports skincare & lotion.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* 水乳
|
|
35
43
|
*/
|
|
36
44
|
type?: string;
|
|
37
45
|
static names(): {
|