@alicloud/aidge20260428 5.10.0 → 5.11.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 +201 -186
- package/dist/client.js +282 -186
- package/dist/client.js.map +1 -1
- package/dist/models/GenerateProductContentRequest.d.ts +85 -0
- package/dist/models/GenerateProductContentRequest.js +80 -0
- package/dist/models/GenerateProductContentRequest.js.map +1 -0
- package/dist/models/GenerateProductContentResponse.d.ts +19 -0
- package/dist/models/GenerateProductContentResponse.js +69 -0
- package/dist/models/GenerateProductContentResponse.js.map +1 -0
- package/dist/models/GenerateProductContentResponseBody.d.ts +71 -0
- package/dist/models/GenerateProductContentResponseBody.js +109 -0
- package/dist/models/GenerateProductContentResponseBody.js.map +1 -0
- package/dist/models/ImageMattingAsyncRequest.d.ts +9 -1
- package/dist/models/ImageMattingAsyncRequest.js +2 -0
- package/dist/models/ImageMattingAsyncRequest.js.map +1 -1
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +33 -25
- package/dist/models/ImageRecognitionAsyncRequest.js +2 -0
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +6 -6
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +33 -25
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js +2 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +10 -1
- package/dist/models/ImageRemovalProAsyncRequest.js +2 -0
- package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +7 -5
- package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncRequest.d.ts +25 -6
- package/dist/models/ImageRemoveAsyncRequest.js +2 -0
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +6 -4
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +25 -6
- package/dist/models/ImageRemoveAsyncShrinkRequest.js +2 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +17 -9
- package/dist/models/ImageTranslationPlusAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +15 -7
- package/dist/models/ImageTranslationProAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +4 -4
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +10 -2
- package/dist/models/ImageTranslationStandardAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +4 -4
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +13 -7
- package/dist/models/QueryAsyncTaskResultResponseBody.js +2 -0
- package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +9 -1
- package/dist/models/SizeChartExtractAsyncRequest.js +2 -0
- package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +5 -5
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +9 -1
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js +2 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +12 -12
- package/dist/models/VideoTranslationResponseBody.d.ts +4 -4
- package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +15 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +308 -190
- package/src/models/GenerateProductContentRequest.ts +120 -0
- package/src/models/GenerateProductContentResponse.ts +40 -0
- package/src/models/GenerateProductContentResponseBody.ts +124 -0
- package/src/models/ImageMattingAsyncRequest.ts +11 -1
- package/src/models/ImageMattingAsyncResponseBody.ts +5 -5
- package/src/models/ImageRecognitionAsyncRequest.ts +35 -25
- package/src/models/ImageRecognitionAsyncResponseBody.ts +6 -6
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +35 -25
- package/src/models/ImageRemovalProAsyncRequest.ts +12 -1
- package/src/models/ImageRemovalProAsyncResponseBody.ts +7 -5
- package/src/models/ImageRemoveAsyncRequest.ts +27 -6
- package/src/models/ImageRemoveAsyncResponseBody.ts +6 -4
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +27 -6
- package/src/models/ImageTranslationPlusAsyncRequest.ts +19 -9
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +5 -5
- package/src/models/ImageTranslationProAsyncRequest.ts +17 -7
- package/src/models/ImageTranslationProAsyncResponseBody.ts +4 -4
- package/src/models/ImageTranslationStandardAsyncRequest.ts +12 -2
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +4 -4
- package/src/models/QueryAsyncTaskResultResponseBody.ts +15 -7
- package/src/models/SizeChartExtractAsyncRequest.ts +11 -1
- package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
- package/src/models/VideoTranslationRequest.ts +12 -12
- package/src/models/VideoTranslationResponseBody.ts +4 -4
- package/src/models/VideoTranslationShrinkRequest.ts +12 -12
- package/src/models/model.ts +4 -0
|
@@ -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.GenerateProductContentResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const GenerateProductContentResponseBody_1 = require("./GenerateProductContentResponseBody");
|
|
40
|
+
class GenerateProductContentResponse 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: GenerateProductContentResponseBody_1.GenerateProductContentResponseBody,
|
|
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.GenerateProductContentResponse = GenerateProductContentResponse;
|
|
69
|
+
//# sourceMappingURL=GenerateProductContentResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenerateProductContentResponse.js","sourceRoot":"","sources":["../../src/models/GenerateProductContentResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6FAA0F;AAG1F,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAI7D,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,uEAAkC;SACzC,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,wEAiCC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class GenerateProductContentResponseBodyData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* title
|
|
6
|
+
*/
|
|
7
|
+
contentType?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 54
|
|
11
|
+
*/
|
|
12
|
+
length?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* ru
|
|
16
|
+
*/
|
|
17
|
+
outputLanguage?: string;
|
|
18
|
+
pointLengths?: number[];
|
|
19
|
+
points?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* @example
|
|
22
|
+
* Чашка Для Мороженого Из Нержавеющей Стали 14,5x10,8 см
|
|
23
|
+
*/
|
|
24
|
+
text?: string;
|
|
25
|
+
usageMap?: {
|
|
26
|
+
[key: string]: number;
|
|
27
|
+
};
|
|
28
|
+
static names(): {
|
|
29
|
+
[key: string]: string;
|
|
30
|
+
};
|
|
31
|
+
static types(): {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
validate(): void;
|
|
35
|
+
constructor(map?: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
export declare class GenerateProductContentResponseBody extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* success
|
|
43
|
+
*/
|
|
44
|
+
code?: string;
|
|
45
|
+
data?: GenerateProductContentResponseBodyData;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* OK
|
|
49
|
+
*/
|
|
50
|
+
message?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
54
|
+
*/
|
|
55
|
+
requestId?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* True
|
|
59
|
+
*/
|
|
60
|
+
success?: boolean;
|
|
61
|
+
static names(): {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
static types(): {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
};
|
|
67
|
+
validate(): void;
|
|
68
|
+
constructor(map?: {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
});
|
|
71
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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.GenerateProductContentResponseBody = exports.GenerateProductContentResponseBodyData = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class GenerateProductContentResponseBodyData extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
contentType: 'ContentType',
|
|
43
|
+
length: 'Length',
|
|
44
|
+
outputLanguage: 'OutputLanguage',
|
|
45
|
+
pointLengths: 'PointLengths',
|
|
46
|
+
points: 'Points',
|
|
47
|
+
text: 'Text',
|
|
48
|
+
usageMap: 'UsageMap',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static types() {
|
|
52
|
+
return {
|
|
53
|
+
contentType: 'string',
|
|
54
|
+
length: 'number',
|
|
55
|
+
outputLanguage: 'string',
|
|
56
|
+
pointLengths: { 'type': 'array', 'itemType': 'number' },
|
|
57
|
+
points: { 'type': 'array', 'itemType': 'string' },
|
|
58
|
+
text: 'string',
|
|
59
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
validate() {
|
|
63
|
+
if (Array.isArray(this.pointLengths)) {
|
|
64
|
+
$dara.Model.validateArray(this.pointLengths);
|
|
65
|
+
}
|
|
66
|
+
if (Array.isArray(this.points)) {
|
|
67
|
+
$dara.Model.validateArray(this.points);
|
|
68
|
+
}
|
|
69
|
+
if (this.usageMap) {
|
|
70
|
+
$dara.Model.validateMap(this.usageMap);
|
|
71
|
+
}
|
|
72
|
+
super.validate();
|
|
73
|
+
}
|
|
74
|
+
constructor(map) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.GenerateProductContentResponseBodyData = GenerateProductContentResponseBodyData;
|
|
79
|
+
class GenerateProductContentResponseBody extends $dara.Model {
|
|
80
|
+
static names() {
|
|
81
|
+
return {
|
|
82
|
+
code: 'Code',
|
|
83
|
+
data: 'Data',
|
|
84
|
+
message: 'Message',
|
|
85
|
+
requestId: 'RequestId',
|
|
86
|
+
success: 'Success',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
static types() {
|
|
90
|
+
return {
|
|
91
|
+
code: 'string',
|
|
92
|
+
data: GenerateProductContentResponseBodyData,
|
|
93
|
+
message: 'string',
|
|
94
|
+
requestId: 'string',
|
|
95
|
+
success: 'boolean',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
validate() {
|
|
99
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
100
|
+
this.data.validate();
|
|
101
|
+
}
|
|
102
|
+
super.validate();
|
|
103
|
+
}
|
|
104
|
+
constructor(map) {
|
|
105
|
+
super(map);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.GenerateProductContentResponseBody = GenerateProductContentResponseBody;
|
|
109
|
+
//# sourceMappingURL=GenerateProductContentResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenerateProductContentResponseBody.js","sourceRoot":"","sources":["../../src/models/GenerateProductContentResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAwBrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACvD,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACjD,IAAI,EAAE,QAAQ;YACd,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,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,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,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;AAhED,wFAgEC;AAED,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAsBjE,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,sCAAsC;YAC5C,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;AApDD,gFAoDC"}
|
|
@@ -22,7 +22,15 @@ export declare class ImageMattingAsyncRequest extends $dara.Model {
|
|
|
22
22
|
bgColor?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The
|
|
25
|
+
* The business order ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous task.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* order-20260928-001
|
|
29
|
+
*/
|
|
30
|
+
bizId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 100 × 100 and 3000 × 3000 pixels, and the file size must not exceed 10 MB.
|
|
26
34
|
*
|
|
27
35
|
* This parameter is required.
|
|
28
36
|
*
|
|
@@ -41,6 +41,7 @@ class ImageMattingAsyncRequest extends $dara.Model {
|
|
|
41
41
|
return {
|
|
42
42
|
backGroundType: 'BackGroundType',
|
|
43
43
|
bgColor: 'BgColor',
|
|
44
|
+
bizId: 'BizId',
|
|
44
45
|
imageUrl: 'ImageUrl',
|
|
45
46
|
targetHeight: 'TargetHeight',
|
|
46
47
|
targetWidth: 'TargetWidth',
|
|
@@ -50,6 +51,7 @@ class ImageMattingAsyncRequest extends $dara.Model {
|
|
|
50
51
|
return {
|
|
51
52
|
backGroundType: 'string',
|
|
52
53
|
bgColor: 'string',
|
|
54
|
+
bizId: 'string',
|
|
53
55
|
imageUrl: 'string',
|
|
54
56
|
targetHeight: 'number',
|
|
55
57
|
targetWidth: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageMattingAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageMattingAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageMattingAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageMattingAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAuDvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,OAAO,EAAE,QAAQ;YACjB,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;SACtB,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;AApFD,4DAoFC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageMattingAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The task ID used to query the result of the asynchronous task.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -22,7 +22,7 @@ export declare class ImageMattingAsyncResponseBodyData extends $dara.Model {
|
|
|
22
22
|
export declare class ImageMattingAsyncResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The status code, such as success.
|
|
25
|
+
* The status code, such as "success". This parameter is not returned for normal calls.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* success
|
|
@@ -30,12 +30,12 @@ export declare class ImageMattingAsyncResponseBody extends $dara.Model {
|
|
|
30
30
|
code?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The
|
|
33
|
+
* The submission result of the asynchronous task for intelligent image matting.
|
|
34
34
|
*/
|
|
35
35
|
data?: ImageMattingAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message. This parameter is not returned
|
|
38
|
+
* The error message. This parameter is not returned for normal calls.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -43,7 +43,7 @@ export declare class ImageMattingAsyncResponseBody extends $dara.Model {
|
|
|
43
43
|
message?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The ID of the request
|
|
46
|
+
* The ID of the request. It is used to identify a unique request.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRecognitionAsyncRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The business ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous task.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* order-20260928-001
|
|
9
|
+
*/
|
|
10
|
+
bizId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The image URL. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
|
|
6
14
|
*
|
|
7
15
|
* This parameter is required.
|
|
8
16
|
*
|
|
@@ -12,29 +20,29 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
|
|
|
12
20
|
imageUrl?: string;
|
|
13
21
|
/**
|
|
14
22
|
* @remarks
|
|
15
|
-
*
|
|
16
|
-
* - 1:
|
|
17
|
-
* - 2:
|
|
18
|
-
* - 3:
|
|
19
|
-
* - 4:
|
|
20
|
-
* You can specify multiple
|
|
23
|
+
* The types of elements to detect outside the image subject. Valid values:
|
|
24
|
+
* - 1: watermark
|
|
25
|
+
* - 2: logo
|
|
26
|
+
* - 3: text
|
|
27
|
+
* - 4: text-containing color block
|
|
28
|
+
* You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
|
|
21
29
|
*/
|
|
22
30
|
nonObjectDetectElements?: number[];
|
|
23
31
|
/**
|
|
24
32
|
* @remarks
|
|
25
|
-
*
|
|
26
|
-
* - 1:
|
|
27
|
-
* - 2:
|
|
28
|
-
* - 3:
|
|
29
|
-
* - 4:
|
|
30
|
-
* You can specify multiple
|
|
33
|
+
* The types of elements to detect on the image subject. Valid values:
|
|
34
|
+
* - 1: watermark
|
|
35
|
+
* - 2: logo
|
|
36
|
+
* - 3: text
|
|
37
|
+
* - 4: text-containing color block
|
|
38
|
+
* You can specify multiple values.
|
|
31
39
|
*/
|
|
32
40
|
objectDetectElements?: number[];
|
|
33
41
|
/**
|
|
34
42
|
* @remarks
|
|
35
43
|
* Specifies whether to return the marginalization distance of the subject. Valid values:
|
|
36
|
-
* - 1:
|
|
37
|
-
* - 0:
|
|
44
|
+
* - 1: yes
|
|
45
|
+
* - 0: no
|
|
38
46
|
* Default value: 0.
|
|
39
47
|
*
|
|
40
48
|
* @example
|
|
@@ -43,9 +51,9 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
|
|
|
43
51
|
returnBorderPixel?: number;
|
|
44
52
|
/**
|
|
45
53
|
* @remarks
|
|
46
|
-
* Specifies whether to return the OCR
|
|
47
|
-
* - 1:
|
|
48
|
-
* - 0:
|
|
54
|
+
* Specifies whether to return the OCR result of the text in the recognized area. Valid values:
|
|
55
|
+
* - 1: yes
|
|
56
|
+
* - 0: no
|
|
49
57
|
* Default value: 0.
|
|
50
58
|
*
|
|
51
59
|
* @example
|
|
@@ -55,12 +63,12 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
|
|
|
55
63
|
/**
|
|
56
64
|
* @remarks
|
|
57
65
|
* Specifies whether to return the text proportion. Valid values:
|
|
58
|
-
* - 1:
|
|
59
|
-
* - 0:
|
|
66
|
+
* - 1: yes
|
|
67
|
+
* - 0: no
|
|
60
68
|
* Default value: 0.
|
|
61
69
|
* This parameter takes effect only when the following two conditions are met:
|
|
62
70
|
* 1. ReturnCharacter is set to 1.
|
|
63
|
-
* 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text
|
|
71
|
+
* 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text needs to be recognized.
|
|
64
72
|
*
|
|
65
73
|
* @example
|
|
66
74
|
* 1
|
|
@@ -69,8 +77,8 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
|
|
|
69
77
|
/**
|
|
70
78
|
* @remarks
|
|
71
79
|
* Specifies whether to return the number of subjects. Valid values:
|
|
72
|
-
* - 1:
|
|
73
|
-
* - 0:
|
|
80
|
+
* - 1: yes
|
|
81
|
+
* - 0: no
|
|
74
82
|
* Default value: 0.
|
|
75
83
|
*
|
|
76
84
|
* @example
|
|
@@ -80,8 +88,8 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
|
|
|
80
88
|
/**
|
|
81
89
|
* @remarks
|
|
82
90
|
* Specifies whether to return the area proportion of the subject. Valid values:
|
|
83
|
-
* - 1:
|
|
84
|
-
* - 0:
|
|
91
|
+
* - 1: yes
|
|
92
|
+
* - 0: no
|
|
85
93
|
* Default value: 0.
|
|
86
94
|
*
|
|
87
95
|
* @example
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ImageRecognitionAsyncRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
bizId: 'BizId',
|
|
42
43
|
imageUrl: 'ImageUrl',
|
|
43
44
|
nonObjectDetectElements: 'NonObjectDetectElements',
|
|
44
45
|
objectDetectElements: 'ObjectDetectElements',
|
|
@@ -51,6 +52,7 @@ class ImageRecognitionAsyncRequest extends $dara.Model {
|
|
|
51
52
|
}
|
|
52
53
|
static types() {
|
|
53
54
|
return {
|
|
55
|
+
bizId: 'string',
|
|
54
56
|
imageUrl: 'string',
|
|
55
57
|
nonObjectDetectElements: { 'type': 'array', 'itemType': 'number' },
|
|
56
58
|
objectDetectElements: { 'type': 'array', 'itemType': 'number' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRecognitionAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRecognitionAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAiG3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,uBAAuB,EAAE,yBAAyB;YAClD,oBAAoB,EAAE,sBAAsB;YAC5C,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;YAClC,mBAAmB,EAAE,qBAAqB;YAC1C,gBAAgB,EAAE,kBAAkB;YACpC,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAClE,oBAAoB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC/D,iBAAiB,EAAE,QAAQ;YAC3B,eAAe,EAAE,QAAQ;YACzB,mBAAmB,EAAE,QAAQ;YAC7B,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAAE,CAAC;YAC/C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAC1D,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,CAAC;YAC5C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACvD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1ID,oEA0IC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRecognitionAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID
|
|
5
|
+
* The task ID used to query the result of the asynchronous task.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -22,7 +22,7 @@ export declare class ImageRecognitionAsyncResponseBodyData extends $dara.Model {
|
|
|
22
22
|
export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The error code. This parameter is not returned
|
|
25
|
+
* The error code. This parameter is not returned for normal calls.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 200
|
|
@@ -30,7 +30,7 @@ export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
|
|
|
30
30
|
code?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The returned recognition result
|
|
33
|
+
* The struct information of the returned recognition result.
|
|
34
34
|
*/
|
|
35
35
|
data?: ImageRecognitionAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
@@ -43,7 +43,7 @@ export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
|
|
|
43
43
|
message?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The ID
|
|
46
|
+
* The request ID, which is used to identify a unique request.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -52,8 +52,8 @@ export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
|
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
54
|
* Indicates whether the call is successful. Valid values:
|
|
55
|
-
* - true:
|
|
56
|
-
* - false:
|
|
55
|
+
* - true: successful
|
|
56
|
+
* - false: failed
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* True
|
|
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The business ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous task.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* order-20260928-001
|
|
9
|
+
*/
|
|
10
|
+
bizId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The image URL. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
|
|
6
14
|
*
|
|
7
15
|
* This parameter is required.
|
|
8
16
|
*
|
|
@@ -12,29 +20,29 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
12
20
|
imageUrl?: string;
|
|
13
21
|
/**
|
|
14
22
|
* @remarks
|
|
15
|
-
*
|
|
16
|
-
* - 1:
|
|
17
|
-
* - 2:
|
|
18
|
-
* - 3:
|
|
19
|
-
* - 4:
|
|
20
|
-
* You can specify multiple
|
|
23
|
+
* The types of elements to detect outside the image subject. Valid values:
|
|
24
|
+
* - 1: watermark
|
|
25
|
+
* - 2: logo
|
|
26
|
+
* - 3: text
|
|
27
|
+
* - 4: text-containing color block
|
|
28
|
+
* You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
|
|
21
29
|
*/
|
|
22
30
|
nonObjectDetectElementsShrink?: string;
|
|
23
31
|
/**
|
|
24
32
|
* @remarks
|
|
25
|
-
*
|
|
26
|
-
* - 1:
|
|
27
|
-
* - 2:
|
|
28
|
-
* - 3:
|
|
29
|
-
* - 4:
|
|
30
|
-
* You can specify multiple
|
|
33
|
+
* The types of elements to detect on the image subject. Valid values:
|
|
34
|
+
* - 1: watermark
|
|
35
|
+
* - 2: logo
|
|
36
|
+
* - 3: text
|
|
37
|
+
* - 4: text-containing color block
|
|
38
|
+
* You can specify multiple values.
|
|
31
39
|
*/
|
|
32
40
|
objectDetectElementsShrink?: string;
|
|
33
41
|
/**
|
|
34
42
|
* @remarks
|
|
35
43
|
* Specifies whether to return the marginalization distance of the subject. Valid values:
|
|
36
|
-
* - 1:
|
|
37
|
-
* - 0:
|
|
44
|
+
* - 1: yes
|
|
45
|
+
* - 0: no
|
|
38
46
|
* Default value: 0.
|
|
39
47
|
*
|
|
40
48
|
* @example
|
|
@@ -43,9 +51,9 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
43
51
|
returnBorderPixel?: number;
|
|
44
52
|
/**
|
|
45
53
|
* @remarks
|
|
46
|
-
* Specifies whether to return the OCR
|
|
47
|
-
* - 1:
|
|
48
|
-
* - 0:
|
|
54
|
+
* Specifies whether to return the OCR result of the text in the recognized area. Valid values:
|
|
55
|
+
* - 1: yes
|
|
56
|
+
* - 0: no
|
|
49
57
|
* Default value: 0.
|
|
50
58
|
*
|
|
51
59
|
* @example
|
|
@@ -55,12 +63,12 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
55
63
|
/**
|
|
56
64
|
* @remarks
|
|
57
65
|
* Specifies whether to return the text proportion. Valid values:
|
|
58
|
-
* - 1:
|
|
59
|
-
* - 0:
|
|
66
|
+
* - 1: yes
|
|
67
|
+
* - 0: no
|
|
60
68
|
* Default value: 0.
|
|
61
69
|
* This parameter takes effect only when the following two conditions are met:
|
|
62
70
|
* 1. ReturnCharacter is set to 1.
|
|
63
|
-
* 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text
|
|
71
|
+
* 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text needs to be recognized.
|
|
64
72
|
*
|
|
65
73
|
* @example
|
|
66
74
|
* 1
|
|
@@ -69,8 +77,8 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
69
77
|
/**
|
|
70
78
|
* @remarks
|
|
71
79
|
* Specifies whether to return the number of subjects. Valid values:
|
|
72
|
-
* - 1:
|
|
73
|
-
* - 0:
|
|
80
|
+
* - 1: yes
|
|
81
|
+
* - 0: no
|
|
74
82
|
* Default value: 0.
|
|
75
83
|
*
|
|
76
84
|
* @example
|
|
@@ -80,8 +88,8 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
80
88
|
/**
|
|
81
89
|
* @remarks
|
|
82
90
|
* Specifies whether to return the area proportion of the subject. Valid values:
|
|
83
|
-
* - 1:
|
|
84
|
-
* - 0:
|
|
91
|
+
* - 1: yes
|
|
92
|
+
* - 0: no
|
|
85
93
|
* Default value: 0.
|
|
86
94
|
*
|
|
87
95
|
* @example
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
bizId: 'BizId',
|
|
42
43
|
imageUrl: 'ImageUrl',
|
|
43
44
|
nonObjectDetectElementsShrink: 'NonObjectDetectElements',
|
|
44
45
|
objectDetectElementsShrink: 'ObjectDetectElements',
|
|
@@ -51,6 +52,7 @@ class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
51
52
|
}
|
|
52
53
|
static types() {
|
|
53
54
|
return {
|
|
55
|
+
bizId: 'string',
|
|
54
56
|
imageUrl: 'string',
|
|
55
57
|
nonObjectDetectElementsShrink: 'string',
|
|
56
58
|
objectDetectElementsShrink: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRecognitionAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRecognitionAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAiGjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;YAClC,mBAAmB,EAAE,qBAAqB;YAC1C,gBAAgB,EAAE,kBAAkB;YACpC,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,iBAAiB,EAAE,QAAQ;YAC3B,eAAe,EAAE,QAAQ;YACzB,mBAAmB,EAAE,QAAQ;YAC7B,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,QAAQ;SAC5B,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;AApID,gFAoIC"}
|