@alicloud/aidge20260428 5.2.0 → 5.3.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 +98 -26
- package/dist/client.js +171 -26
- package/dist/client.js.map +1 -1
- package/dist/models/DiduiAreaDeductionRequest.d.ts +105 -0
- package/dist/models/DiduiAreaDeductionRequest.js +116 -0
- package/dist/models/DiduiAreaDeductionRequest.js.map +1 -0
- package/dist/models/DiduiAreaDeductionResponse.d.ts +19 -0
- package/dist/models/DiduiAreaDeductionResponse.js +69 -0
- package/dist/models/DiduiAreaDeductionResponse.js.map +1 -0
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +139 -0
- package/dist/models/DiduiAreaDeductionResponseBody.js +159 -0
- package/dist/models/DiduiAreaDeductionResponseBody.js.map +1 -0
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +36 -0
- package/dist/models/DiduiAreaDeductionShrinkRequest.js +64 -0
- package/dist/models/DiduiAreaDeductionShrinkRequest.js.map +1 -0
- package/dist/models/ProductHotspotDetectionRequest.d.ts +38 -0
- package/dist/models/ProductHotspotDetectionRequest.js +65 -0
- package/dist/models/ProductHotspotDetectionRequest.js.map +1 -0
- package/dist/models/ProductHotspotDetectionResponse.d.ts +19 -0
- package/dist/models/ProductHotspotDetectionResponse.js +69 -0
- package/dist/models/ProductHotspotDetectionResponse.js.map +1 -0
- package/dist/models/ProductHotspotDetectionResponseBody.d.ts +154 -0
- package/dist/models/ProductHotspotDetectionResponseBody.js +147 -0
- package/dist/models/ProductHotspotDetectionResponseBody.js.map +1 -0
- package/dist/models/ProductHotspotDetectionShrinkRequest.d.ts +38 -0
- package/dist/models/ProductHotspotDetectionShrinkRequest.js +62 -0
- package/dist/models/ProductHotspotDetectionShrinkRequest.js.map +1 -0
- package/dist/models/VideoGenerationRequest.d.ts +42 -0
- package/dist/models/VideoGenerationRequest.js +31 -1
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +17 -0
- package/dist/models/model.js +43 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +184 -26
- package/src/models/DiduiAreaDeductionRequest.ts +158 -0
- package/src/models/DiduiAreaDeductionResponse.ts +40 -0
- package/src/models/DiduiAreaDeductionResponseBody.ts +224 -0
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +55 -0
- package/src/models/ProductHotspotDetectionRequest.ts +58 -0
- package/src/models/ProductHotspotDetectionResponse.ts +40 -0
- package/src/models/ProductHotspotDetectionResponseBody.ts +227 -0
- package/src/models/ProductHotspotDetectionShrinkRequest.ts +55 -0
- package/src/models/VideoGenerationRequest.ts +63 -0
- package/src/models/VideoGenerationResponseBody.ts +3 -3
- package/src/models/model.ts +17 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 1.5334
|
|
6
|
+
*/
|
|
7
|
+
areaM2?: number;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 1.025
|
|
11
|
+
*/
|
|
12
|
+
leftEdgeM?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 1.419
|
|
16
|
+
*/
|
|
17
|
+
rightEdgeM?: number;
|
|
18
|
+
static names(): {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
static types(): {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
validate(): void;
|
|
25
|
+
constructor(map?: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
export declare class DiduiAreaDeductionResponseBodyDataResult extends $dara.Model {
|
|
30
|
+
stage4AreaLabel?: DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel;
|
|
31
|
+
static names(): {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
static types(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
validate(): void;
|
|
38
|
+
constructor(map?: {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
export declare class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
43
|
+
/**
|
|
44
|
+
* @example
|
|
45
|
+
* 1
|
|
46
|
+
*/
|
|
47
|
+
attempts?: number;
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* success
|
|
51
|
+
*/
|
|
52
|
+
code?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* OK
|
|
56
|
+
*/
|
|
57
|
+
httpStatus?: number;
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* 1000
|
|
61
|
+
*/
|
|
62
|
+
latencyMs?: number;
|
|
63
|
+
/**
|
|
64
|
+
* @example
|
|
65
|
+
* Success
|
|
66
|
+
*/
|
|
67
|
+
message?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @example
|
|
70
|
+
* model_req_id_xx
|
|
71
|
+
*/
|
|
72
|
+
modelRequestId?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @example
|
|
75
|
+
* 643913D2-063F-599C-B3DF-B8D415CE171F
|
|
76
|
+
*/
|
|
77
|
+
reqId?: string;
|
|
78
|
+
result?: DiduiAreaDeductionResponseBodyDataResult;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* COMPLETED
|
|
82
|
+
*/
|
|
83
|
+
status?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* True
|
|
87
|
+
*/
|
|
88
|
+
success?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* {"ProcessingCount":1}
|
|
92
|
+
*/
|
|
93
|
+
usageMap?: {
|
|
94
|
+
[key: string]: number;
|
|
95
|
+
};
|
|
96
|
+
static names(): {
|
|
97
|
+
[key: string]: string;
|
|
98
|
+
};
|
|
99
|
+
static types(): {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
};
|
|
102
|
+
validate(): void;
|
|
103
|
+
constructor(map?: {
|
|
104
|
+
[key: string]: any;
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
export declare class DiduiAreaDeductionResponseBody extends $dara.Model {
|
|
108
|
+
/**
|
|
109
|
+
* @example
|
|
110
|
+
* success
|
|
111
|
+
*/
|
|
112
|
+
code?: string;
|
|
113
|
+
data?: DiduiAreaDeductionResponseBodyData;
|
|
114
|
+
/**
|
|
115
|
+
* @example
|
|
116
|
+
* Success
|
|
117
|
+
*/
|
|
118
|
+
message?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @example
|
|
121
|
+
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
122
|
+
*/
|
|
123
|
+
requestId?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @example
|
|
126
|
+
* True
|
|
127
|
+
*/
|
|
128
|
+
success?: boolean;
|
|
129
|
+
static names(): {
|
|
130
|
+
[key: string]: string;
|
|
131
|
+
};
|
|
132
|
+
static types(): {
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
};
|
|
135
|
+
validate(): void;
|
|
136
|
+
constructor(map?: {
|
|
137
|
+
[key: string]: any;
|
|
138
|
+
});
|
|
139
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
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.DiduiAreaDeductionResponseBody = exports.DiduiAreaDeductionResponseBodyData = exports.DiduiAreaDeductionResponseBodyDataResult = exports.DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
areaM2: 'AreaM2',
|
|
43
|
+
leftEdgeM: 'LeftEdgeM',
|
|
44
|
+
rightEdgeM: 'RightEdgeM',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
areaM2: 'number',
|
|
50
|
+
leftEdgeM: 'number',
|
|
51
|
+
rightEdgeM: 'number',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel = DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel;
|
|
62
|
+
class DiduiAreaDeductionResponseBodyDataResult extends $dara.Model {
|
|
63
|
+
static names() {
|
|
64
|
+
return {
|
|
65
|
+
stage4AreaLabel: 'Stage4AreaLabel',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
static types() {
|
|
69
|
+
return {
|
|
70
|
+
stage4AreaLabel: DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
validate() {
|
|
74
|
+
if (this.stage4AreaLabel && typeof this.stage4AreaLabel.validate === 'function') {
|
|
75
|
+
this.stage4AreaLabel.validate();
|
|
76
|
+
}
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
constructor(map) {
|
|
80
|
+
super(map);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.DiduiAreaDeductionResponseBodyDataResult = DiduiAreaDeductionResponseBodyDataResult;
|
|
84
|
+
class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
85
|
+
static names() {
|
|
86
|
+
return {
|
|
87
|
+
attempts: 'Attempts',
|
|
88
|
+
code: 'Code',
|
|
89
|
+
httpStatus: 'HttpStatus',
|
|
90
|
+
latencyMs: 'LatencyMs',
|
|
91
|
+
message: 'Message',
|
|
92
|
+
modelRequestId: 'ModelRequestId',
|
|
93
|
+
reqId: 'ReqId',
|
|
94
|
+
result: 'Result',
|
|
95
|
+
status: 'Status',
|
|
96
|
+
success: 'Success',
|
|
97
|
+
usageMap: 'UsageMap',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
static types() {
|
|
101
|
+
return {
|
|
102
|
+
attempts: 'number',
|
|
103
|
+
code: 'string',
|
|
104
|
+
httpStatus: 'number',
|
|
105
|
+
latencyMs: 'number',
|
|
106
|
+
message: 'string',
|
|
107
|
+
modelRequestId: 'string',
|
|
108
|
+
reqId: 'string',
|
|
109
|
+
result: DiduiAreaDeductionResponseBodyDataResult,
|
|
110
|
+
status: 'string',
|
|
111
|
+
success: 'boolean',
|
|
112
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
validate() {
|
|
116
|
+
if (this.result && typeof this.result.validate === 'function') {
|
|
117
|
+
this.result.validate();
|
|
118
|
+
}
|
|
119
|
+
if (this.usageMap) {
|
|
120
|
+
$dara.Model.validateMap(this.usageMap);
|
|
121
|
+
}
|
|
122
|
+
super.validate();
|
|
123
|
+
}
|
|
124
|
+
constructor(map) {
|
|
125
|
+
super(map);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.DiduiAreaDeductionResponseBodyData = DiduiAreaDeductionResponseBodyData;
|
|
129
|
+
class DiduiAreaDeductionResponseBody extends $dara.Model {
|
|
130
|
+
static names() {
|
|
131
|
+
return {
|
|
132
|
+
code: 'Code',
|
|
133
|
+
data: 'Data',
|
|
134
|
+
message: 'Message',
|
|
135
|
+
requestId: 'RequestId',
|
|
136
|
+
success: 'Success',
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
static types() {
|
|
140
|
+
return {
|
|
141
|
+
code: 'string',
|
|
142
|
+
data: DiduiAreaDeductionResponseBodyData,
|
|
143
|
+
message: 'string',
|
|
144
|
+
requestId: 'string',
|
|
145
|
+
success: 'boolean',
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
validate() {
|
|
149
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
150
|
+
this.data.validate();
|
|
151
|
+
}
|
|
152
|
+
super.validate();
|
|
153
|
+
}
|
|
154
|
+
constructor(map) {
|
|
155
|
+
super(map);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
exports.DiduiAreaDeductionResponseBody = DiduiAreaDeductionResponseBody;
|
|
159
|
+
//# sourceMappingURL=DiduiAreaDeductionResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiduiAreaDeductionResponseBody.js","sourceRoot":"","sources":["../../src/models/DiduiAreaDeductionResponseBody.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DiduiAreaDeductionShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* This parameter is required.
|
|
6
|
+
*/
|
|
7
|
+
productsShrink?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* rag_xxx
|
|
11
|
+
*/
|
|
12
|
+
ragId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* didui-request-001
|
|
16
|
+
*/
|
|
17
|
+
reqId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* https://example.com/didui.jpg
|
|
24
|
+
*/
|
|
25
|
+
targetImageUrl?: string;
|
|
26
|
+
static names(): {
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
};
|
|
29
|
+
static types(): {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
validate(): void;
|
|
33
|
+
constructor(map?: {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
});
|
|
36
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.DiduiAreaDeductionShrinkRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DiduiAreaDeductionShrinkRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
productsShrink: 'Products',
|
|
43
|
+
ragId: 'RagId',
|
|
44
|
+
reqId: 'ReqId',
|
|
45
|
+
targetImageUrl: 'TargetImageUrl',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
productsShrink: 'string',
|
|
51
|
+
ragId: 'string',
|
|
52
|
+
reqId: 'string',
|
|
53
|
+
targetImageUrl: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
constructor(map) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.DiduiAreaDeductionShrinkRequest = DiduiAreaDeductionShrinkRequest;
|
|
64
|
+
//# sourceMappingURL=DiduiAreaDeductionShrinkRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiduiAreaDeductionShrinkRequest.js","sourceRoot":"","sources":["../../src/models/DiduiAreaDeductionShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAwB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,UAAU;YAC1B,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,KAAK,EAAE,QAAQ;YACf,KAAK,EAAE,QAAQ;YACf,cAAc,EAAE,QAAQ;SACzB,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;AAjDD,0EAiDC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ProductHotspotDetectionRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The HTTPS URLs of reference images that define the SKU whitelist. A maximum of 20 images are supported.
|
|
6
|
+
*
|
|
7
|
+
* This parameter is required.
|
|
8
|
+
*/
|
|
9
|
+
referenceImageUrls?: string[];
|
|
10
|
+
/**
|
|
11
|
+
* @remarks
|
|
12
|
+
* The unique business ID for this single-scene call.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* hotspot-request-001
|
|
16
|
+
*/
|
|
17
|
+
reqId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The HTTPS OSS or CDN URL of the target image to be annotated with bounding boxes.
|
|
21
|
+
*
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* https://example.com/scene.jpg
|
|
26
|
+
*/
|
|
27
|
+
targetImageUrl?: string;
|
|
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
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.ProductHotspotDetectionRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ProductHotspotDetectionRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
referenceImageUrls: 'ReferenceImageUrls',
|
|
43
|
+
reqId: 'ReqId',
|
|
44
|
+
targetImageUrl: 'TargetImageUrl',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
referenceImageUrls: { 'type': 'array', 'itemType': 'string' },
|
|
50
|
+
reqId: 'string',
|
|
51
|
+
targetImageUrl: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
if (Array.isArray(this.referenceImageUrls)) {
|
|
56
|
+
$dara.Model.validateArray(this.referenceImageUrls);
|
|
57
|
+
}
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
constructor(map) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ProductHotspotDetectionRequest = ProductHotspotDetectionRequest;
|
|
65
|
+
//# sourceMappingURL=ProductHotspotDetectionRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductHotspotDetectionRequest.js","sourceRoot":"","sources":["../../src/models/ProductHotspotDetectionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IA0B7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC7D,KAAK,EAAE,QAAQ;YACf,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAC1C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QACrD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApDD,wEAoDC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { ProductHotspotDetectionResponseBody } from "./ProductHotspotDetectionResponseBody";
|
|
3
|
+
export declare class ProductHotspotDetectionResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: ProductHotspotDetectionResponseBody;
|
|
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.ProductHotspotDetectionResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const ProductHotspotDetectionResponseBody_1 = require("./ProductHotspotDetectionResponseBody");
|
|
40
|
+
class ProductHotspotDetectionResponse 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: ProductHotspotDetectionResponseBody_1.ProductHotspotDetectionResponseBody,
|
|
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.ProductHotspotDetectionResponse = ProductHotspotDetectionResponse;
|
|
69
|
+
//# sourceMappingURL=ProductHotspotDetectionResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductHotspotDetectionResponse.js","sourceRoot":"","sources":["../../src/models/ProductHotspotDetectionResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,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,yEAAmC;SAC1C,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,0EAiCC"}
|