@alicloud/aidge20260428 5.2.0 → 5.3.1
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 +186 -26
- package/dist/client.js.map +1 -1
- package/dist/models/DiduiAreaDeductionRequest.d.ts +127 -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 +202 -0
- package/dist/models/DiduiAreaDeductionResponseBody.js +159 -0
- package/dist/models/DiduiAreaDeductionResponseBody.js.map +1 -0
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +46 -0
- package/dist/models/DiduiAreaDeductionShrinkRequest.js +64 -0
- package/dist/models/DiduiAreaDeductionShrinkRequest.js.map +1 -0
- package/dist/models/ImageRemoveRequest.d.ts +15 -0
- package/dist/models/ImageRemoveRequest.js +12 -0
- package/dist/models/ImageRemoveRequest.js.map +1 -1
- package/dist/models/ImageRemoveShrinkRequest.d.ts +15 -0
- package/dist/models/ImageRemoveShrinkRequest.js +6 -0
- package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
- 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 +204 -26
- package/src/models/DiduiAreaDeductionRequest.ts +180 -0
- package/src/models/DiduiAreaDeductionResponse.ts +40 -0
- package/src/models/DiduiAreaDeductionResponseBody.ts +287 -0
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +65 -0
- package/src/models/ImageRemoveRequest.ts +27 -0
- package/src/models/ImageRemoveShrinkRequest.ts +21 -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,202 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The floor display area, in square meters.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 1.5334
|
|
9
|
+
*/
|
|
10
|
+
areaM2?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The left edge length, in meters.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 1.025
|
|
17
|
+
*/
|
|
18
|
+
leftEdgeM?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The right edge length, in meters.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 1.419
|
|
25
|
+
*/
|
|
26
|
+
rightEdgeM?: number;
|
|
27
|
+
static names(): {
|
|
28
|
+
[key: string]: string;
|
|
29
|
+
};
|
|
30
|
+
static types(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
validate(): void;
|
|
34
|
+
constructor(map?: {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
export declare class DiduiAreaDeductionResponseBodyDataResult extends $dara.Model {
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The stage 4 area label.
|
|
42
|
+
*/
|
|
43
|
+
stage4AreaLabel?: DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel;
|
|
44
|
+
static names(): {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
static types(): {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
validate(): void;
|
|
51
|
+
constructor(map?: {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
export declare class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The number of downstream call attempts.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 1
|
|
62
|
+
*/
|
|
63
|
+
attempts?: number;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The workflow error code.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* success
|
|
70
|
+
*/
|
|
71
|
+
code?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The downstream HTTP status code.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* OK
|
|
78
|
+
*/
|
|
79
|
+
httpStatus?: number;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The downstream call latency, in milliseconds.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* 1000
|
|
86
|
+
*/
|
|
87
|
+
latencyMs?: number;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The workflow description.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* Success
|
|
94
|
+
*/
|
|
95
|
+
message?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The model request ID.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* model_req_id_xx
|
|
102
|
+
*/
|
|
103
|
+
modelRequestId?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The business request ID.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* 643913D2-063F-599C-B3DF-B8D415CE171F
|
|
110
|
+
*/
|
|
111
|
+
reqId?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The area calculation result.
|
|
115
|
+
*/
|
|
116
|
+
result?: DiduiAreaDeductionResponseBodyDataResult;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The workflow status.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* COMPLETED
|
|
123
|
+
*/
|
|
124
|
+
status?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The workflow business status.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* True
|
|
131
|
+
*/
|
|
132
|
+
success?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* @remarks
|
|
135
|
+
* The usage information.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* {"ProcessingCount":1}
|
|
139
|
+
*/
|
|
140
|
+
usageMap?: {
|
|
141
|
+
[key: string]: number;
|
|
142
|
+
};
|
|
143
|
+
static names(): {
|
|
144
|
+
[key: string]: string;
|
|
145
|
+
};
|
|
146
|
+
static types(): {
|
|
147
|
+
[key: string]: any;
|
|
148
|
+
};
|
|
149
|
+
validate(): void;
|
|
150
|
+
constructor(map?: {
|
|
151
|
+
[key: string]: any;
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
export declare class DiduiAreaDeductionResponseBody extends $dara.Model {
|
|
155
|
+
/**
|
|
156
|
+
* @remarks
|
|
157
|
+
* The error code.
|
|
158
|
+
*
|
|
159
|
+
* @example
|
|
160
|
+
* success
|
|
161
|
+
*/
|
|
162
|
+
code?: string;
|
|
163
|
+
/**
|
|
164
|
+
* @remarks
|
|
165
|
+
* The floor display area inference result.
|
|
166
|
+
*/
|
|
167
|
+
data?: DiduiAreaDeductionResponseBodyData;
|
|
168
|
+
/**
|
|
169
|
+
* @remarks
|
|
170
|
+
* The error message.
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* Success
|
|
174
|
+
*/
|
|
175
|
+
message?: string;
|
|
176
|
+
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* Id of the request
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
182
|
+
*/
|
|
183
|
+
requestId?: string;
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* Indicates whether the call was successful.
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* True
|
|
190
|
+
*/
|
|
191
|
+
success?: boolean;
|
|
192
|
+
static names(): {
|
|
193
|
+
[key: string]: string;
|
|
194
|
+
};
|
|
195
|
+
static types(): {
|
|
196
|
+
[key: string]: any;
|
|
197
|
+
};
|
|
198
|
+
validate(): void;
|
|
199
|
+
constructor(map?: {
|
|
200
|
+
[key: string]: any;
|
|
201
|
+
});
|
|
202
|
+
}
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uDAAwD,SAAQ,KAAK,CAAC,KAAK;IAyBtF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;SACrB,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;AAhDD,0HA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 +1,46 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DiduiAreaDeductionShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The list of products and their detection boxes.
|
|
6
|
+
*
|
|
7
|
+
* This parameter is required.
|
|
8
|
+
*/
|
|
9
|
+
productsShrink?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @remarks
|
|
12
|
+
* The ID of the customer-specific SKU vector database that determines which database is used for retrieval. The database must be created in advance through the database creation process.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* rag_xxx
|
|
16
|
+
*/
|
|
17
|
+
ragId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The optional business request ID used for Tracing Analysis.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* didui-request-001
|
|
24
|
+
*/
|
|
25
|
+
reqId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The HTTPS URL of the overall floor display image.
|
|
29
|
+
*
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* https://example.com/didui.jpg
|
|
34
|
+
*/
|
|
35
|
+
targetImageUrl?: string;
|
|
36
|
+
static names(): {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
static types(): {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
validate(): void;
|
|
43
|
+
constructor(map?: {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
@@ -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;IAkC9D,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;AA3DD,0EA2DC"}
|
|
@@ -46,6 +46,21 @@ export declare class ImageRemoveRequest extends $dara.Model {
|
|
|
46
46
|
* [1,2]
|
|
47
47
|
*/
|
|
48
48
|
objectRemoveElements?: number[];
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* [10,10,100,100]
|
|
52
|
+
*/
|
|
53
|
+
position?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* ["https://img.alicdn.com/bao/uploaded/i2/xxx.jpg"]
|
|
57
|
+
*/
|
|
58
|
+
userImage?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* ["xx","yy"]
|
|
62
|
+
*/
|
|
63
|
+
userText?: string[];
|
|
49
64
|
static names(): {
|
|
50
65
|
[key: string]: string;
|
|
51
66
|
};
|
|
@@ -43,6 +43,9 @@ class ImageRemoveRequest extends $dara.Model {
|
|
|
43
43
|
mask: 'Mask',
|
|
44
44
|
nonObjectRemoveElements: 'NonObjectRemoveElements',
|
|
45
45
|
objectRemoveElements: 'ObjectRemoveElements',
|
|
46
|
+
position: 'Position',
|
|
47
|
+
userImage: 'UserImage',
|
|
48
|
+
userText: 'UserText',
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
static types() {
|
|
@@ -51,6 +54,9 @@ class ImageRemoveRequest extends $dara.Model {
|
|
|
51
54
|
mask: 'string',
|
|
52
55
|
nonObjectRemoveElements: { 'type': 'array', 'itemType': 'number' },
|
|
53
56
|
objectRemoveElements: { 'type': 'array', 'itemType': 'number' },
|
|
57
|
+
position: 'string',
|
|
58
|
+
userImage: { 'type': 'array', 'itemType': 'string' },
|
|
59
|
+
userText: { 'type': 'array', 'itemType': 'string' },
|
|
54
60
|
};
|
|
55
61
|
}
|
|
56
62
|
validate() {
|
|
@@ -60,6 +66,12 @@ class ImageRemoveRequest extends $dara.Model {
|
|
|
60
66
|
if (Array.isArray(this.objectRemoveElements)) {
|
|
61
67
|
$dara.Model.validateArray(this.objectRemoveElements);
|
|
62
68
|
}
|
|
69
|
+
if (Array.isArray(this.userImage)) {
|
|
70
|
+
$dara.Model.validateArray(this.userImage);
|
|
71
|
+
}
|
|
72
|
+
if (Array.isArray(this.userText)) {
|
|
73
|
+
$dara.Model.validateArray(this.userText);
|
|
74
|
+
}
|
|
63
75
|
super.validate();
|
|
64
76
|
}
|
|
65
77
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRemoveRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kBAAmB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRemoveRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kBAAmB,SAAQ,KAAK,CAAC,KAAK;IA8DjD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,uBAAuB,EAAE,yBAAyB;YAClD,oBAAoB,EAAE,sBAAsB;YAC5C,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,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,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACpD,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SACpD,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,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzGD,gDAyGC"}
|
|
@@ -46,6 +46,21 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
46
46
|
* [1,2]
|
|
47
47
|
*/
|
|
48
48
|
objectRemoveElementsShrink?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* [10,10,100,100]
|
|
52
|
+
*/
|
|
53
|
+
position?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* ["https://img.alicdn.com/bao/uploaded/i2/xxx.jpg"]
|
|
57
|
+
*/
|
|
58
|
+
userImageShrink?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* ["xx","yy"]
|
|
62
|
+
*/
|
|
63
|
+
userTextShrink?: string;
|
|
49
64
|
static names(): {
|
|
50
65
|
[key: string]: string;
|
|
51
66
|
};
|
|
@@ -43,6 +43,9 @@ class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
43
43
|
mask: 'Mask',
|
|
44
44
|
nonObjectRemoveElementsShrink: 'NonObjectRemoveElements',
|
|
45
45
|
objectRemoveElementsShrink: 'ObjectRemoveElements',
|
|
46
|
+
position: 'Position',
|
|
47
|
+
userImageShrink: 'UserImage',
|
|
48
|
+
userTextShrink: 'UserText',
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
static types() {
|
|
@@ -51,6 +54,9 @@ class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
51
54
|
mask: 'string',
|
|
52
55
|
nonObjectRemoveElementsShrink: 'string',
|
|
53
56
|
objectRemoveElementsShrink: 'string',
|
|
57
|
+
position: 'string',
|
|
58
|
+
userImageShrink: 'string',
|
|
59
|
+
userTextShrink: 'string',
|
|
54
60
|
};
|
|
55
61
|
}
|
|
56
62
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRemoveShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRemoveShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IA8DvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,WAAW;YAC5B,cAAc,EAAE,UAAU;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,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;AA7FD,4DA6FC"}
|
|
@@ -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
|
+
}
|